/* =============================================================================
 * GAUTENG TOURISM CI LOOK - loaded after style.css and portal.css when the portal
 * renders in the CI-guide design (inc/layout_ci.php). Source: Gauteng Tourism Brand
 * Guidelines v01 (GTA-CI-GUIDE.pdf).
 *
 *   Primary   Pantone 120 gold #E5D06B · white · black
 *   Secondary Cool Grey 1 #F0EFE8 · 7418 rose #B14E58 · 7412 copper #BA7433 ·
 *             136 amber #EBB937 · 583 olive #B1BC47 · 556 sage #6A9578 · 660 blue #5073B5
 *             (the guide prints the 7418/7412 digital values against each other's
 *             swatch; the values here follow the swatches)
 *   Type      ITC Avant Garde Bold, capitals, for headlines; Swiss (Helvetica) for body
 *             copy - Arimo is its metric-compatible web stand-in
 *   Graphics  circles: uniform, varied in size, or overlapping
 *
 * Gold is a fill, never a text colour on white: #E5D06B on white is about 1.5:1.
 * Everything here is scoped to body.ci so the classic look is untouched.
 * ============================================================================= */

@font-face{font-family:'GTA Avant Garde';font-weight:700;font-style:normal;font-display:swap;
  src:url('fonts/avantgarde-bold.woff2') format('woff2'),url('fonts/avantgarde-bold.woff') format('woff')}
@font-face{font-family:'GTA Avant Garde';font-weight:500;font-style:normal;font-display:swap;
  src:url('fonts/avantgarde-medium.woff2') format('woff2'),url('fonts/avantgarde-medium.woff') format('woff')}
@font-face{font-family:'GTA Avant Garde';font-weight:400;font-style:normal;font-display:swap;
  src:url('fonts/avantgarde-book.woff2') format('woff2'),url('fonts/avantgarde-book.woff') format('woff')}

body.ci{
  --gold:#E5D06B; --gold-tint:#F7F0CC; --gold-wash:#FBF8E8;
  --grey:#F0EFE8;                       /* Cool Grey 1 */
  --paper:#ffffff; --paper2:#F0EFE8;
  --ink:#141414; --ink2:#000000;
  --muted:#5b5a53; --faint:#6b6a62;     /* warm greys, AA on white and on Cool Grey */
  --line:#E1DFD5; --line2:#CFCCBF;
  /* The six marks that used to be the gauteng.net spectrum, now the CI secondaries. */
  --c1:#BA7433; --c2:#6A9578; --c3:#5073B5; --c4:#EBB937; --c5:#B14E58; --c6:#B1BC47;
  --accent:#000000;                     /* links are black, underlined in gold */
  --green:#3B6A4B; --red:#963641; --blue-ink:#2F4E8C;
  --disp:'GTA Avant Garde','Avant Garde','Century Gothic','Jost',system-ui,sans-serif;
  --body:'Arimo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --mono:'Arimo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --radius:16px;
  background:#fff;color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.55;
}

/* ---------- type ---------- */
body.ci h1,body.ci h2,body.ci h3{font-family:var(--disp);font-weight:700;color:#000;letter-spacing:0}
body.ci h1{text-transform:uppercase;line-height:1.08}
body.ci h2{text-transform:none}
body.ci a{color:var(--accent);text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px}
body.ci a:hover{text-decoration-color:#000}
body.ci ::selection{background:var(--gold);color:#000}
body.ci a:focus-visible,body.ci button:focus-visible,body.ci input:focus-visible,body.ci select:focus-visible,
body.ci textarea:focus-visible,body.ci summary:focus-visible,body.ci label:focus-visible{outline:3px solid #000;outline-offset:2px;border-radius:6px}
body.ci .wrap{max-width:1180px;padding:0 32px}

/* ---------- shell ---------- */
.ci-shell{display:grid;grid-template-columns:268px minmax(0,1fr);min-height:100vh;
  background:linear-gradient(to right,var(--grey) 0 267px,var(--line) 267px 268px,#fff 268px)}  /* sidebar colour runs the full page height */
.ci-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ci-skip{position:absolute;left:-9999px;top:10px;z-index:200;background:#000;color:#fff!important;padding:10px 16px;border-radius:999px;font:700 12px/1 var(--disp);text-transform:uppercase;letter-spacing:.06em;text-decoration:none}
.ci-skip:focus{left:12px}

.ci-side{position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--grey);border-right:1px solid var(--line);
  display:flex;flex-direction:column;padding:20px 14px 14px;z-index:60}
.ci-brand{display:flex;align-items:center;gap:13px;padding:2px 8px 18px;margin-bottom:12px;border-bottom:1px solid var(--line2);text-decoration:none;color:#000}
.ci-brand img{width:46px;height:auto;flex:0 0 auto;display:block}
.ci-brand span{display:flex;flex-direction:column;line-height:1;min-width:0}
.ci-brand b{font-family:var(--disp);font-weight:700;font-size:19px;text-transform:uppercase;letter-spacing:.01em}
.ci-brand em{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:7px}

.ci-nav{display:flex;flex-direction:column;gap:16px;flex:1}
.ci-grp{display:flex;flex-direction:column;gap:1px}
.ci-grp-h{font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);padding:0 12px 5px}
.ci-nav a{display:flex;align-items:center;gap:11px;padding:8px 12px;border-radius:999px;text-decoration:none;color:#1a1a1a;
  font-family:var(--disp);font-weight:500;font-size:14px;line-height:1.2}
.ci-nav a .ico{width:19px;height:19px;flex:0 0 auto;color:#45443e}
.ci-nav a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ci-nav a:hover{background:#fff}
.ci-nav a.on{background:#000;color:#fff;font-weight:700}
.ci-nav a.on .ico{color:var(--gold)}
.ci-count{margin-left:auto;font-style:normal;background:var(--gold);color:#000;font:700 11px/1 var(--body);
  min-width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}

.ci-side-foot{border-top:1px solid var(--line2);padding-top:12px;margin-top:16px;display:flex;flex-direction:column;gap:2px}
.ci-me{display:flex;align-items:center;gap:11px;padding:7px 8px;border-radius:14px;text-decoration:none;color:#000}
.ci-me:hover,.ci-me.on{background:#fff}
.ci-me i{font-style:normal;flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:#000;color:var(--gold);
  display:flex;align-items:center;justify-content:center;font:700 13px/1 var(--disp)}
.ci-me span{display:flex;flex-direction:column;min-width:0}
.ci-me b{font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ci-me em{font-style:normal;font-size:11.5px;color:var(--muted);white-space:nowrap}
.ci-out{display:flex;align-items:center;gap:11px;padding:8px 12px;border-radius:999px;text-decoration:none;color:var(--muted);font-size:13px}
.ci-out .ico{width:18px;height:18px}
.ci-out:hover{background:#fff;color:#000}

.ci-main{display:flex;flex-direction:column;min-width:0;min-height:100vh}
.ci-main > main{flex:1;min-width:0}
.ci-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;padding:12px 32px;
  background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.ci-top-fill{flex:1}
.ci-burger,.ci-top-brand,.ci-scrim{display:none}
.ci-search{flex:1;max-width:640px;display:flex;align-items:center;gap:6px;height:46px;padding:0 5px 0 16px;
  background:var(--grey);border:1px solid var(--grey);border-radius:999px;transition:background .12s,border-color .12s}
.ci-search:focus-within{background:#fff;border-color:#000}
.ci-search > .ico{width:18px;height:18px;color:var(--muted);flex:0 0 auto}
body.ci .ci-search input{flex:1;min-width:0;height:44px;border:0!important;background:transparent!important;box-shadow:none!important;
  padding:0 6px!important;font-size:14.5px;outline:none!important;border-radius:0!important}
.ci-search button{flex:0 0 auto;height:36px;border:0;border-radius:999px;background:#000;color:#fff;cursor:pointer;
  font:700 11.5px/1 var(--disp);text-transform:uppercase;letter-spacing:.07em;padding:0 17px}
.ci-search button:hover{background:#2a2a2a}
.ci-bell{position:relative;margin-left:auto;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#000;text-decoration:none}
.ci-bell .ico{width:22px;height:22px}
.ci-bell:hover,.ci-bell.on{background:var(--grey)}
.ci-bell em{position:absolute;top:3px;right:2px;font-style:normal;background:var(--gold);color:#000;font:700 10px/18px var(--body);
  min-width:18px;height:18px;border-radius:9px;text-align:center;padding:0 4px;box-shadow:0 0 0 2px #fff}
.ci-avatar{flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:#000;color:var(--gold)!important;display:flex;align-items:center;justify-content:center;
  font:700 13px/1 var(--disp);text-decoration:none}

/* ---------- footer ---------- */
.ci-foot{margin-top:72px;background:var(--grey);border-top:1px solid var(--line);position:relative}
.ci-dots{position:absolute;top:-8px;left:32px;display:flex;gap:7px}
.ci-dots i{width:15px;height:15px;border-radius:50%;display:block}
.ci-dots i:nth-child(1){background:var(--c5)}.ci-dots i:nth-child(2){background:var(--c1)}.ci-dots i:nth-child(3){background:var(--c4)}
.ci-dots i:nth-child(4){background:var(--c6)}.ci-dots i:nth-child(5){background:var(--c2)}.ci-dots i:nth-child(6){background:var(--c3)}
.ci-foot-in{max-width:1180px;padding:32px 32px 38px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px 40px;flex-wrap:wrap}
.ci-foot b{display:block;font-family:var(--disp);font-weight:700;text-transform:uppercase;font-size:14px;line-height:1.35;color:#000}
.ci-foot span{display:block;margin-top:8px;font-size:12.5px;color:var(--muted)}
.ci-foot nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.ci-foot nav a{font-size:13px;color:#000}

/* ---------- page headers: white, with the circle cluster from the guide ---------- */
body.ci .hero{background:#fff;color:#000;padding:58px 0 46px;margin:0;border-bottom:1px solid var(--line);overflow:hidden;isolation:isolate}
body.ci .hero::before{content:"";position:absolute;z-index:-1;inset:auto;top:-120px;right:-60px;width:360px;height:360px;border-radius:50%;
  background:#000}
body.ci .hero::after{content:"";position:absolute;z-index:-1;top:118px;right:210px;width:150px;height:150px;border-radius:50%;
  background:var(--gold);box-shadow:250px 30px 0 -60px #000}
body.ci .hero:not(.simple)::before{background:#000 url('gn/sandton.webp') center 45%/cover no-repeat;width:420px;height:420px;top:-70px;right:-40px}
body.ci .hero:not(.simple)::after{top:250px;right:330px;width:170px;height:170px}
body.ci .hero .wrap > *{max-width:min(660px,calc(100% - 300px))}
body.ci .hero:not(.simple) .wrap > *{max-width:min(620px,calc(100% - 400px))}
body.ci .hero h1{color:#000;font-size:44px;line-height:1.04;text-shadow:none;max-width:18ch;letter-spacing:0}
body.ci .hero h1 span{background-image:linear-gradient(var(--gold),var(--gold));background-repeat:no-repeat;background-position:0 86%;background-size:100% .34em;padding:0 2px}
body.ci .hero .sub{color:var(--muted);font-size:16px}
body.ci .hero .motto{color:#000}
body.ci .hero .badge{background:var(--grey);border-color:var(--line);color:#000}
body.ci .eyebrow{color:#000;font-family:var(--body);font-weight:700;font-size:11.5px;letter-spacing:.16em}
body.ci .eyebrow::before{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:12px 0 0 #000,24px 0 0 #000;margin-right:22px;flex:0 0 auto}

/* Section headers: a black circle, the title in capitals, and a hairline to the edge. */
body.ci .sect{font-family:var(--disp);font-weight:700;font-size:15px;letter-spacing:.04em;color:#000;margin:46px 0 14px;align-items:center;gap:12px}
body.ci .sect::before{width:13px;height:13px;border-radius:50%;background:#000;align-self:center}
body.ci .sect::after{content:"";flex:1 1 40px;height:1px;background:var(--line);align-self:center;min-width:24px}
body.ci .sect small{padding-left:25px;font-family:var(--body);text-transform:none;letter-spacing:0}

/* ---------- surfaces ---------- */
body.ci .card,body.ci .tile,body.ci .kpi,body.ci .fact,body.ci .metric,body.ci .obj{border-radius:var(--radius);border-color:var(--line)}
body.ci .card{padding:24px}
body.ci .card h2{font-size:17px;margin-bottom:6px}
body.ci .tile{padding:22px 22px 20px}
body.ci .tile:hover{border-color:#000;transform:translateY(-2px);box-shadow:0 10px 26px -18px rgba(0,0,0,.45)}
body.ci .tile b{font-size:16px}
body.ci .tile .go{color:#000;font-family:var(--disp);font-weight:700;font-size:11.5px;letter-spacing:.08em}
body.ci .kpi::before{top:22px;left:auto;right:20px;width:12px;height:12px;border-radius:50%}
body.ci .kpi .v{font-family:var(--disp);font-weight:700;letter-spacing:-.01em}
body.ci .metric{border-left:4px solid var(--gold)}
body.ci .caveat{background:var(--gold-wash);border-color:var(--line);border-left:4px solid var(--gold);border-radius:12px;color:#3d3c37}
body.ci .await{color:#5a4a08;background:var(--gold-tint);border-color:#d9c35a}
body.ci .photo,body.ci .sectortile,body.ci .sechero{border-radius:var(--radius)}
body.ci ul.clean li::before{border-radius:50%}
body.ci footer .dots span{border-radius:50%}
body.ci .portal-hi{font-family:var(--disp);text-transform:uppercase;font-size:28px;letter-spacing:0}
body.ci .portal-hi span{color:#000;background:linear-gradient(var(--gold),var(--gold)) 0 88%/100% .34em no-repeat}
body.ci .muted-line{font-family:var(--body);font-size:12.5px}
body.ci .login-box{border-radius:20px}
body.ci .login-box::before{height:8px;background:var(--gold)}
body.ci .login-box h1{font-size:24px}
body.ci .login-box button{border-radius:999px;font-family:var(--disp);text-transform:uppercase;letter-spacing:.07em;font-size:13px;background:#000}

/* ---------- buttons: black pills, capitals ---------- */
body.ci .btn{background:#000;color:#fff;border:1.5px solid #000;border-radius:999px;padding:11px 22px;
  font-family:var(--disp);font-weight:700;font-size:12.5px;text-transform:uppercase;letter-spacing:.07em;line-height:1.2}
body.ci .btn:hover{background:#2a2a2a;border-color:#2a2a2a;color:#fff}
body.ci .btn.sm{padding:8px 14px;font-size:11px}
body.ci .btn.ghost{background:#fff;color:#000;border:1.5px solid #000;font-family:var(--disp);font-weight:700;font-size:12px}
body.ci .btn.ghost.sm{font-size:11px}
body.ci .btn.ghost:hover{background:var(--gold);border-color:#000;color:#000}
body.ci .btn.gold{background:var(--gold);border-color:var(--gold);color:#000}
body.ci .btn.gold:hover{background:#d9c25a;border-color:#d9c25a;color:#000}
body.ci .btn.danger{background:#fff;color:var(--red);border:1.5px solid #d8a9ae;font-family:var(--disp);font-weight:700}
body.ci .btn.danger:hover{background:#f8eaec;border-color:var(--red)}
body.ci .btn.go{background:var(--green);border-color:var(--green);color:#fff}
body.ci .btn.go:hover{background:#2f5a3e;border-color:#2f5a3e}
body.ci .subnav a,body.ci .calview,body.ci .etab{border-radius:999px;font-family:var(--disp);font-weight:700;letter-spacing:.06em}
body.ci .subnav a.on,body.ci .calview.on,body.ci .etab.on{background:#000;border-color:#000;color:#fff;box-shadow:none}
body.ci .ebadge{background:var(--gold);color:#000}

/* ---------- forms ---------- */
body.ci input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
body.ci select,body.ci textarea{border-color:var(--line2);border-radius:12px}
body.ci input:focus,body.ci select:focus,body.ci textarea:focus{border-color:#000;box-shadow:0 0 0 3px rgba(229,208,107,.55)}
body.ci input[type="checkbox"],body.ci input[type="radio"]{accent-color:#000}
body.ci .form label,body.ci .filterbar label{font-family:var(--body);font-weight:700;font-size:11px;letter-spacing:.1em;color:#3f3e39}
/* ...but not the label of a tick box or radio option, which reads as normal text. */
body.ci .form label.chkrow,body.ci .form .chkrow,
body.ci .form label:has(> input[type="checkbox"]),body.ci .form label:has(> input[type="radio"]){
  font-size:13.5px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--ink)}
body.ci .filterbar input[type="text"],body.ci .filterbar input[type="search"],body.ci .filterbar select{border-color:var(--line2);border-radius:12px}
body.ci .chkrow{border-radius:12px;background:var(--grey)}
body.ci .chkrow:has(input:checked){border-color:#000;background:var(--gold-wash)}
body.ci input[type="file"]{border-color:var(--line2);border-radius:12px;background:var(--grey)}
body.ci input[type="file"]::file-selector-button{border-radius:999px;border-color:#000;font-family:var(--disp);font-weight:700}

/* ---------- messages & badges ---------- */
body.ci .flash{border-radius:12px;border-left-width:4px;font-size:13.5px}
body.ci .flash.ok{background:#6A957817;border-color:var(--c2);color:var(--green)}
body.ci .flash.err{background:#B14E5814;border-color:var(--c5);color:var(--red)}
body.ci .flash.info{background:#5073B512;border-color:var(--c3);color:var(--blue-ink)}
body.ci .rolebadge{border-radius:999px;font-family:var(--body);font-weight:700}
body.ci .rolebadge.r-editor{color:var(--green);background:#6A957818;border-color:#6A957855}
body.ci .count-pill{border-radius:999px}
body.ci .echanged{background:var(--gold-tint);border-color:#c9b24c;color:#4a3d06}
body.ci code.temp{color:#000}

/* ---------- tables ---------- */
body.ci table.data th,body.ci .evlist th{font-family:var(--body);font-weight:700;letter-spacing:.1em;color:#45443e}
body.ci table.data tr:hover td,body.ci .evlist tbody tr:hover,body.ci table.contacts tr:hover{background:var(--gold-wash)}
body.ci .evlist{border-radius:var(--radius)}

/* ---------- calendar ---------- */
body.ci .evm-grid{border-radius:var(--radius)}
body.ci .evm-now{background:var(--gold-wash);box-shadow:inset 0 0 0 2px #000}
body.ci .evm-now .evm-n{color:#000}
/* Tinted chips with black text: amber and olive cannot carry white text. */
body.ci .evm-ev{color:#000;background:#e9e7de;border-left:3px solid #8d8b82;border-radius:4px}
body.ci .evm-ev.t-campaign{background:color-mix(in srgb,var(--c1) 24%,#fff);border-left-color:var(--c1)}
body.ci .evm-ev.t-tradeshow{background:color-mix(in srgb,var(--c3) 22%,#fff);border-left-color:var(--c3)}
body.ci .evm-ev.t-seasonal{background:color-mix(in srgb,var(--c2) 24%,#fff);border-left-color:var(--c2)}
body.ci .evm-ev.t-forum{background:color-mix(in srgb,var(--c6) 34%,#fff);border-left-color:var(--c6)}
body.ci .evm-ev.t-event{background:color-mix(in srgb,var(--c5) 22%,#fff);border-left-color:var(--c5)}
body.ci .evm-ev.t-other{background:#ecebe5;border-left-color:#8d8b82}
body.ci .evm-ev.evm-cont{border-left-width:0}
body.ci .evint-n{background:#000}
body.ci .evint[open] .evint-n{background:#000;color:var(--gold)}
body.ci .evfile-k{background:#000;border-radius:999px}
body.ci .secev-i{border-left:4px solid var(--gold)}
body.ci .secev-d{color:#000}

/* ---------- profiles ---------- */
body.ci a.pav:hover{box-shadow:0 0 0 3px var(--gold)}
body.ci .prof-role{color:#000}

/* =============================================================================
 * New components for the member home page and search.
 * ============================================================================= */

/* Greeting band: big capitals beside the overlapping circles from the guide's
   "HELLO." spread. */
.ci-hello{position:relative;overflow:hidden;isolation:isolate;padding:46px 0 40px;border-bottom:1px solid var(--line)}
.ci-hello::before{content:"";position:absolute;z-index:-1;top:-150px;right:-90px;width:400px;height:400px;border-radius:50%;
  background:#000 url('gn/sandton.webp') center 45%/cover no-repeat}
.ci-hello::after{content:"";position:absolute;z-index:-1;top:150px;right:230px;width:132px;height:132px;border-radius:50%;background:var(--gold);
  box-shadow:118px 74px 0 -42px #000}
.ci-hello .wrap > *{max-width:min(640px,calc(100% - 340px))}
.ci-hello h1{font-size:46px;margin:0}
.ci-hello p{color:var(--muted);font-size:16px;margin-top:10px;max-width:56ch}
.ci-hello .ci-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.ci-fact{display:inline-flex;align-items:center;gap:10px;padding:7px 15px 7px 7px;border-radius:999px;background:var(--grey);
  text-decoration:none;color:#000;font-size:13px;line-height:1.25;border:1px solid transparent}
a.ci-fact:hover{border-color:#000;background:#fff}
.ci-fact b{flex:0 0 auto;min-width:32px;height:32px;padding:0 6px;border-radius:16px;background:#000;color:var(--gold);display:inline-flex;align-items:center;justify-content:center;
  font:700 14px/1 var(--disp)}
.ci-fact.is-zero b{background:#fff;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line2)}

/* Numbered section marker - the guide's "A1." paragraph header. */
.ci-h{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.ci-h i{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;
  font:700 12px/1 var(--disp);font-style:normal;letter-spacing:.02em}
.ci-h h2{font-size:16px;text-transform:uppercase;letter-spacing:.04em;margin:0;line-height:1.2}
.ci-h a{margin-left:auto;font-size:12.5px;font-weight:700;white-space:nowrap}

.ci-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-top:30px}
.ci-span-4{grid-column:span 4}.ci-span-5{grid-column:span 5}.ci-span-6{grid-column:span 6}.ci-span-7{grid-column:span 7}
.ci-span-8{grid-column:span 8}.ci-span-12{grid-column:1 / -1}
.ci-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 18px;min-width:0}
.ci-panel.grey{background:var(--grey);border-color:var(--grey)}
.ci-panel.black{background:#000;border-color:#000;color:#fff}
.ci-panel.black h2,.ci-panel.black a{color:#fff}
.ci-panel.black .ci-h i{background:var(--gold);color:#000}
.ci-empty{color:var(--muted);font-size:13.5px;padding:6px 0 4px}

/* Rows with a date in a circle. */
.ci-list{list-style:none;margin:0;padding:0}
.ci-list li{border-top:1px solid var(--line)}
.ci-list li:first-child{border-top:0}
.ci-row{display:flex;align-items:center;gap:14px;padding:11px 2px;text-decoration:none;color:#000;min-width:0}
a.ci-row:hover .ci-row-t{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px}
.ci-date{flex:0 0 auto;width:50px;height:50px;border-radius:50%;background:var(--grey);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.ci-date b{font:700 17px/1 var(--disp)}
.ci-date em{font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-top:2px;color:#45443e}
.ci-date.on{background:#000;color:#fff}
.ci-date.on em{color:var(--gold)}
.ci-date.soon{background:var(--gold)}
.ci-row-b{display:flex;flex-direction:column;min-width:0;gap:2px}
.ci-row-t{font-family:var(--disp);font-weight:700;font-size:14.5px;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
.ci-row-m{font-size:12.5px;color:var(--muted);line-height:1.35;overflow:hidden;text-overflow:ellipsis}
.ci-row-x{margin-left:auto;flex:0 0 auto}
.ci-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--muted);margin-right:6px;vertical-align:1px}

/* Category pill. */
.ci-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:var(--grey);
  font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2b2a26;white-space:nowrap}
.ci-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pc,#000)}

/* Featured document (latest newsletter). */
.ci-feature{display:flex;gap:18px;align-items:center}
.ci-feature .ci-disc{flex:0 0 auto;width:96px;height:96px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;
  position:relative}
.ci-feature .ci-disc::after{content:"";position:absolute;right:-6px;bottom:2px;width:30px;height:30px;border-radius:50%;background:#000}
.ci-feature .ci-disc .ico{width:38px;height:38px;color:#000;position:relative;z-index:1}
.ci-feature h3{font-size:18px;line-height:1.25;margin:0}
.ci-feature p{font-size:13.5px;color:var(--muted);margin:6px 0 12px}
.ci-btns{display:flex;flex-wrap:wrap;gap:8px}

/* Quick links - circular icons in the guide's icon style. */
.ci-quick{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.ci-q{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border-radius:var(--radius);border:1px solid var(--line);
  background:#fff;text-decoration:none;color:#000;min-width:0;transition:border-color .12s,transform .12s}
.ci-q:hover{border-color:#000;transform:translateY(-2px)}
.ci-q i{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--grey)}
.ci-q:nth-child(6n+1) i{background:color-mix(in srgb,var(--gold) 70%,#fff)}
.ci-q:nth-child(6n+2) i{background:color-mix(in srgb,var(--c2) 30%,#fff)}
.ci-q:nth-child(6n+3) i{background:color-mix(in srgb,var(--c3) 26%,#fff)}
.ci-q:nth-child(6n+4) i{background:color-mix(in srgb,var(--c5) 24%,#fff)}
.ci-q:nth-child(6n+5) i{background:color-mix(in srgb,var(--c1) 28%,#fff)}
.ci-q:nth-child(6n+6) i{background:color-mix(in srgb,var(--c6) 40%,#fff)}
.ci-q .ico{width:22px;height:22px;color:#000}
.ci-q b{font:700 14px/1.25 var(--disp)}
.ci-q span{font-size:12px;color:var(--muted);line-height:1.4}

/* Search results. */
.ci-results{display:flex;flex-direction:column;gap:20px;margin-top:24px}
.ci-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
.ci-tabs a{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;border:1px solid var(--line2);text-decoration:none;color:#000;
  font:700 11.5px/1 var(--disp);text-transform:uppercase;letter-spacing:.06em}
.ci-tabs a:hover{border-color:#000}
.ci-tabs a.on{background:#000;border-color:#000;color:#fff}
.ci-tabs a em{font-style:normal;background:var(--grey);color:#000;border-radius:9px;padding:2px 7px;font-size:10.5px}
.ci-tabs a.on em{background:var(--gold)}
.ci-hit mark{background:var(--gold-tint);color:inherit;padding:0 1px;border-radius:2px}
.ci-bigsearch{display:flex;gap:8px;margin-top:22px;max-width:760px}
body.ci .ci-bigsearch input{flex:1;height:54px;border-radius:999px;padding:0 22px;font-size:16px;border:1.5px solid #000}
.ci-bigsearch .btn{height:54px;padding:0 26px}

/* ---------- mobile ---------- */
@media (max-width:1100px){
  /* :not(.simple) variants too: the base rules for the photo header out-rank plain ones. */
  body.ci .hero .wrap > *,body.ci .hero:not(.simple) .wrap > *{max-width:calc(100% - 200px)}
  body.ci .hero::before,body.ci .hero:not(.simple)::before{width:280px;height:280px;right:-110px}
  body.ci .hero::after,body.ci .hero:not(.simple)::after{right:120px;width:110px;height:110px}
  .ci-hello .wrap > *{max-width:calc(100% - 240px)}
  .ci-hello::before{width:320px;height:320px;right:-140px}
  .ci-hello::after{right:150px;width:100px;height:100px}
  .ci-span-4,.ci-span-5,.ci-span-6,.ci-span-7,.ci-span-8{grid-column:1 / -1}
}
@media (max-width:1000px){
  .ci-shell{display:block;background:#fff}
  .ci-side{position:fixed;top:0;left:0;bottom:0;height:auto;width:300px;max-width:86vw;transform:translateX(-102%);transition:transform .2s ease;
    box-shadow:0 0 40px rgba(0,0,0,.25)}
  .navtoggle:checked ~ .ci-shell .ci-side{transform:none}
  .ci-scrim{display:none}
  .navtoggle:checked ~ .ci-shell .ci-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:55}
  .ci-top{padding:10px 16px;flex-wrap:wrap;gap:8px}
  .ci-burger{display:flex;flex-direction:column;justify-content:center;gap:4px;width:44px;height:44px;padding:0 11px;border-radius:50%;cursor:pointer;background:var(--grey)}
  .ci-burger span{display:block;height:2px;background:#000;border-radius:2px}
  .ci-top-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#000;font:700 14px/1 var(--disp);text-transform:uppercase}
  .ci-top-brand img{width:26px;height:auto}
  .ci-bell{margin-left:auto}
  .ci-search{order:9;flex:1 1 100%;max-width:none;height:44px}
  .ci-search button{display:none}
  body.ci .wrap{padding:0 18px}
  .ci-foot-in{padding:28px 18px 32px}
  .ci-dots{left:18px}
}
@media (max-width:700px){
  body.ci{font-size:14.5px}
  body.ci .hero{padding:40px 0 30px}
  /* Circles stay in the top corner on a phone, clear of the title. */
  body.ci .hero{padding:40px 0 30px}
  body.ci .hero::before,body.ci .hero:not(.simple)::before{width:120px;height:120px;top:-52px;right:-38px}
  body.ci .hero::after,body.ci .hero:not(.simple)::after{width:46px;height:46px;top:-10px;right:66px;box-shadow:none}
  body.ci .hero .wrap > *,body.ci .hero:not(.simple) .wrap > *{max-width:100%}
  body.ci .hero .eyebrow{max-width:calc(100% - 120px)}
  body.ci .hero h1{font-size:29px}
  .ci-hello{padding:34px 0 28px}
  .ci-hello::before{width:120px;height:120px;top:-52px;right:-38px}
  .ci-hello::after{width:46px;height:46px;top:-10px;right:66px;box-shadow:none}
  .ci-hello .wrap > *{max-width:100%}
  .ci-hello h1{font-size:31px}
  .ci-hello .eyebrow{max-width:calc(100% - 120px)}
  .ci-grid{gap:14px;margin-top:20px}
  .ci-panel{padding:18px 16px 14px}
  .ci-feature{gap:14px;align-items:flex-start}
  .ci-feature .ci-disc{width:60px;height:60px}
  .ci-feature .ci-disc .ico{width:26px;height:26px}
  .ci-feature .ci-disc::after{width:20px;height:20px;right:-4px}
  .ci-hello .ci-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ci-fact{font-size:12px;padding:6px 10px 6px 6px}
  .ci-fact b{min-width:28px;height:28px;font-size:13px}
  .ci-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-bigsearch{flex-direction:column}
  body.ci .sect{margin-top:34px}
}
@media (prefers-reduced-motion:reduce){.ci-side{transition:none}.ci-q:hover,body.ci .tile:hover{transform:none}}

/* Icon in a circle, for search results and other non-dated rows. */
.ci-ico{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--grey);display:flex;align-items:center;justify-content:center}
.ci-ico .ico{width:20px;height:20px;color:#000}
.ci-hit .ci-row{align-items:flex-start}
.ci-hit .ci-row-m + .ci-row-m{margin-top:2px;color:#3f3e39}

/* ---------- navigation details ---------- */
.ci-fold > summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;user-select:none}
.ci-fold > summary::-webkit-details-marker{display:none}
.ci-fold > summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-left:2px;transition:transform .15s}
.ci-fold[open] > summary::after{transform:rotate(45deg)}
.ci-fold > summary:hover{color:#000}
.ci-burger:focus-visible{outline:3px solid #000;outline-offset:2px}
@media (max-width:1000px){
  /* Closed: out of view AND out of the tab order (and no shadow band at the edge). */
  .ci-side{visibility:hidden;box-shadow:none;transition:transform .2s ease,visibility 0s linear .2s}
  .navtoggle:checked ~ .ci-shell .ci-side{visibility:visible;box-shadow:0 0 40px rgba(0,0,0,.25);transition:transform .2s ease}
}

/* ---------- avatars: black circle, gold initials (the old palette failed contrast) ---------- */
body.ci .pav-i{background:#000!important;color:var(--gold)!important}

/* ---------- the assistant button: brand colours, and out of the way on a phone ---------- */
body.ci .cb-fab{width:50px;height:50px;background:#000;color:var(--gold);box-shadow:0 6px 18px rgba(0,0,0,.25)}
body.ci .cb-fab.open{background:#000;box-shadow:0 0 0 3px var(--gold)}
/* On a phone the assistant stays (members have no other way in), smaller and tucked into the corner. */
@media (max-width:700px){ body.ci .cb-fab{width:44px;height:44px;right:12px;bottom:12px} }

/* =============================================================================
 * Page group: admin-auth (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * CI look - account journey, notifications, Contribute and the Secretariat/Manage
 * admin pages (login, register, forgot, reset, pending, onboarding, verify,
 * unsubscribe, notifications, submit, admin_*). Loaded after ci.css in the CI look
 * only; every rule is scoped to body.ci so the classic look is untouched.
 * ============================================================================= */

/* ---------- account journey: one centred card on a field of circles ----------
   .auth wraps every journey page; the card is .login-box (sign in, register, reset,
   review, verify, unsubscribe) or .auth-card (onboarding, which needs more width). */
body.ci .auth{position:relative;isolation:isolate;overflow:hidden;max-width:none;padding:60px 32px 64px;min-height:460px}
body.ci .auth::before{content:"";position:absolute;z-index:-1;top:18px;left:calc(50% + 120px);width:300px;height:300px;border-radius:50%;background:#000}
body.ci .auth::after{content:"";position:absolute;z-index:-1;top:190px;left:calc(50% - 320px);width:140px;height:140px;border-radius:50%;background:var(--gold);
  box-shadow:-62px 108px 0 -48px #000}
body.ci .auth .login-box,body.ci .auth .auth-card{position:relative;max-width:460px;margin:0 auto;padding:40px 40px 32px;background:#fff;
  border:1px solid var(--line);border-radius:28px;box-shadow:0 40px 70px -46px rgba(0,0,0,.4);overflow:visible}
body.ci .auth.auth-wide .auth-card{max-width:640px}
body.ci .auth.auth-wide::before{left:calc(50% + 200px)}
body.ci .auth.auth-wide::after{left:calc(50% - 420px)}
body.ci .auth .login-box::before{display:none}
body.ci .auth .login-box > img{width:auto;height:64px;margin:0 auto 18px}
body.ci .auth .login-box h1{font-size:26px;line-height:1.12;text-align:center;margin:0 0 8px}
body.ci .auth .login-box p.hint{font-size:14px;line-height:1.55;color:var(--muted);max-width:36ch;margin:0 auto 20px}
body.ci .auth .flash{margin:16px 0}

/* Fields: one label style whether or not the card is a .form, and phone-sized targets.
   16px text stops iOS zooming the page when a field takes focus. */
body.ci .auth .login-box label{font-family:var(--body);font-weight:700;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#3f3e39;margin:18px 0 7px}
body.ci .auth .login-box input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){height:52px;padding:0 16px;font-size:16px;border-radius:14px}
body.ci .auth .login-box button{height:54px;margin-top:26px;padding:0 20px;font-size:13.5px;letter-spacing:.08em}

/* Ways out of the form: "forgot" sits right under the button, "request access" is a
   full-width secondary button under a hairline. */
body.ci .auth .notice{font-size:13px;color:var(--muted);line-height:1.55}
body.ci .auth .notice a{font-weight:700}
body.ci .auth .auth-forgot{margin-top:18px;font-size:14px}
body.ci .auth .auth-forgot a,body.ci .auth .auth-back a{display:inline-block;padding:6px 4px}
body.ci .auth .auth-new{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
body.ci .auth .auth-new p{margin:0 0 12px;font-size:13.5px;color:var(--muted)}
body.ci .auth .auth-new .btn,body.ci .auth .auth-cta .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;font-size:12.5px}
body.ci .auth .auth-cta{margin-top:22px}
body.ci .auth .auth-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}
body.ci .auth .auth-actions .btn{flex:1 1 150px;min-height:46px;display:inline-flex;align-items:center;justify-content:center}
body.ci .auth .auth-back{margin-top:14px}

/* The journey's steps as numbered circles: black with a gold tick when done, gold for
   where the member is now, grey for what is still to come. */
body.ci .auth-steps{counter-reset:astep;margin:4px 0 8px;text-align:left}
body.ci .auth-steps li{counter-increment:astep;position:relative;padding:11px 0 11px 46px;min-height:52px;font-size:13.5px;line-height:1.5;color:var(--ink);border-bottom:1px solid var(--line)}
body.ci .auth-steps li:last-child{border-bottom:0}
body.ci .auth-steps li::before{content:counter(astep);top:10px;left:0;width:32px;height:32px;border-radius:50%;background:var(--grey);color:#45443e;
  display:flex;align-items:center;justify-content:center;font:700 12.5px/1 var(--disp)}
body.ci .auth-steps li.is-now::before{background:var(--gold);color:#000}
body.ci .auth-steps li.is-done::before{content:"";background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5D06B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat}
body.ci .auth-steps li b{font-family:var(--disp);font-weight:700;font-size:14px}
body.ci .auth-steps .pill{margin-left:4px;vertical-align:1px}
body.ci .auth-steps .muted-line{margin:4px 0 0;font-size:13px;line-height:1.5}
body.ci .auth-steps form{margin-top:10px}
body.ci .auth-steps li .btn.sm{height:auto;min-height:40px;width:auto;margin-top:0;padding:8px 16px;font-size:11px}

/* Onboarding: same card, numbered gold/black circles for the two steps. */
body.ci .auth-card h2{font-size:22px;text-transform:uppercase;letter-spacing:.01em;line-height:1.15;margin-bottom:6px}
body.ci .auth-card .muted-line{font-size:13.5px;margin-bottom:6px}
body.ci .auth-card .onb-dot{width:34px;height:34px;background:var(--grey);color:#45443e;font:700 13px/1 var(--disp)}
body.ci .auth-card .onb-dot.active{background:#000;color:var(--gold)}
body.ci .auth-card .onb-line{width:40px;height:1px;background:var(--line2)}
body.ci .auth-card .form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){height:50px;font-size:16px}
/* Team choices are options, not field captions: undo ci.css's small tracked .form label. */
body.ci .auth-card .form .onb-chk{border-radius:14px;background:var(--grey);border-color:var(--grey);min-height:52px;
  font-family:var(--body);font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink)}
body.ci .auth-card .form .onb-chk:hover{background:#fff;border-color:#000}
body.ci .auth-card .form .onb-chk:has(input:checked){background:var(--gold-wash);border-color:#000;box-shadow:inset 0 0 0 1px #000}
body.ci .auth-card .form .onb-chk input[type="checkbox"]{accent-color:#000}
body.ci .auth-card .onb-actions .btn{min-height:48px}
body.ci .auth-card .btn-link{color:var(--muted);text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700}
body.ci .auth-card .btn-link:hover{color:#000}

@media (max-width:700px){
  body.ci .auth{padding:46px 14px 44px;min-height:0}
  body.ci .auth::before{top:-92px;left:auto;right:-60px;width:160px;height:160px}
  body.ci .auth::after{top:10px;left:auto;right:92px;width:40px;height:40px;box-shadow:none}
  body.ci .auth .login-box,body.ci .auth .auth-card{padding:28px 20px 24px;border-radius:22px;box-shadow:0 30px 50px -40px rgba(0,0,0,.4)}
  body.ci .auth .login-box > img{height:54px;margin-bottom:14px}
  body.ci .auth .login-box h1{font-size:23px}
  body.ci .auth-card h2{font-size:19px}
}

/* ---------- notifications: unread rows on a gold wash with a black circle ---------- */
body.ci .nt-sum{font-size:14px}
body.ci .nt-card{padding:6px;border-radius:var(--radius)}
body.ci .nt-item a{border-radius:12px;padding:14px}
body.ci .nt-item a:hover{background:var(--grey)}
body.ci .nt-ico{width:42px;height:42px;background:var(--grey);color:#000}
body.ci .nt-ico .ico{width:19px;height:19px}
body.ci .nt-title{font-size:15px}
body.ci .nt-text{font-size:13.5px}
body.ci .nt-when{font-size:12.5px}
body.ci .nt-item.is-unread a{background:var(--gold-wash);box-shadow:inset 3px 0 0 var(--gold)}
body.ci .nt-item.is-unread a:hover{background:var(--gold-tint)}
body.ci .nt-item.is-unread .nt-ico{background:#000;color:var(--gold)}
body.ci .nt-item.is-unread .nt-when{color:#000;font-weight:700}
body.ci .nt-item .pill{--pc:var(--gold)}
body.ci .nt-empty{border-radius:var(--radius);background:var(--grey);border-color:var(--grey);color:#3f3e39}
body.ci .nt-empty .nt-ico{background:var(--gold);color:#000;flex:0 0 auto}
body.ci .nt-compose{padding:16px 22px}
body.ci .nt-compose > summary{font-size:14px;text-transform:uppercase;letter-spacing:.05em;list-style:none;display:flex;align-items:center;gap:8px}
body.ci .nt-compose > summary::-webkit-details-marker{display:none}
body.ci .nt-compose[open] > summary{margin-bottom:6px}
@media (max-width:600px){
  body.ci .nt-item a{padding:12px 10px}
  body.ci .nt-ico{width:36px;height:36px}
}
/* h2.sect: the section rule is a real heading here, and ci.css un-capitalises h2s. */
body.ci .nt h2.sect{text-transform:uppercase}

/* ---------- Manage and Secretariat pages (.ad): tables, pills, disclosure headers ---------- */
body.ci .ad .portal-hi{margin-top:34px}
body.ci .ad p + .portal-hi{margin-top:6px}          /* under an "All issues" back link */
body.ci .ad > .muted-line{margin-bottom:18px}
/* Wide tables scroll inside their card on a phone instead of widening the whole page. */
body.ci .ad-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.ci .ad table.data td .pill{vertical-align:1px}
body.ci .ad-kv tr:hover td{background:none}
body.ci .ad-kv td:first-child{color:var(--muted)}
body.ci .ad-kv td:last-child{text-align:right;white-space:nowrap}
body.ci .ad-role{height:38px;min-width:150px;padding:0 34px 0 14px;font-size:13px;border-radius:999px}
body.ci .ad .ad-file .ico{width:18px;height:18px;vertical-align:-4px;margin-right:4px}
/* "+ Create a user", "+ New issue", "+ Add channel": capitals, like the other section heads. */
body.ci .ad details > summary{font-size:13.5px;text-transform:uppercase;letter-spacing:.05em}
@media (max-width:700px){
  body.ci .ad .portal-hi{font-size:24px;margin-top:24px}
  body.ci .ad-scroll table.data{min-width:600px}
}
/* Option labels inside a .form (newsletter audience and body format): ci.css gives every
   .form label the small tracked caption style, which is for field names, not choices. */
body.ci .form .nlt-g label,body.ci .form label.ad-opt{font-weight:400;font-size:13.5px;letter-spacing:0;text-transform:none;color:var(--ink)}
body.ci .nlt-g{border-radius:14px;background:var(--grey);border-color:var(--grey)}
/* Field captions in the small inline filter/status forms. */
body.ci .ad label.ad-cap{display:block;margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#3f3e39}

/* Phone: the main Manage lists (users, contributions, training, newsletter issues,
   digests, articles) become one card per row, so role pickers, statuses and the
   Open/Edit buttons are on screen instead of off the right edge of a scrolling table.
   Cells name themselves through data-label; .ad-lead moves the title to the top. */
@media (max-width:700px){
  body.ci .ad-scroll table.data.ad-stack{min-width:0}
  body.ci table.ad-stack,body.ci table.ad-stack tbody,body.ci table.ad-stack td{display:block;width:auto}
  body.ci table.ad-stack tr{display:flex;flex-direction:column;padding:12px 0;border-bottom:1px solid var(--line)}
  body.ci table.ad-stack tr:has(> th){display:none}
  body.ci table.ad-stack tr:has(> th) + tr{padding-top:0}
  body.ci table.ad-stack tr:last-child{border-bottom:0}
  body.ci table.ad-stack tr:hover td{background:none}
  body.ci table.ad-stack td{padding:2px 0;border:0;text-align:left!important;white-space:normal!important;font-size:14px}
  body.ci table.ad-stack td.ad-lead{order:-1;font-size:15px;line-height:1.35;padding-bottom:4px}
  body.ci table.ad-stack td[data-label]{display:flex;align-items:baseline;gap:10px}
  body.ci table.ad-stack td[data-label]::before{content:attr(data-label);flex:0 0 96px;font:700 10.5px/1.6 var(--body);
    letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  body.ci table.ad-stack td:last-child:not([data-label]){padding-top:10px}
  body.ci table.ad-stack td[colspan]{padding:6px 0}
  body.ci table.ad-stack .ad-role{min-width:0;width:auto}
}

/* A ticked option inside a .form (Social "Show on page"): ci.css's bold .form label
   caption style would otherwise make the explanatory note bold too. */
body.ci .ad .form .chkrow{font-weight:400;font-size:13.5px;letter-spacing:0;color:var(--ink)}
body.ci .ad .form .chkrow .note{font-weight:400}

/* Newsletter audience groups: a floated legend sits inside the grey box instead of
   straddling its top edge. */
body.ci .nlt-g{padding:12px 16px 14px}
body.ci .nlt-g legend{float:left;width:100%;padding:0;margin:0 0 6px}
body.ci .nlt-g legend + *{clear:both}

/* =============================================================================
 * Page group: calendar (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * CALENDAR - calendar.php and admin_calendar.php, CI look only.
 * Loaded after ci.css by inc/layout_ci.php; every rule is scoped to body.ci, so the
 * classic look (which keeps its inline styles, see event_classic_style() in
 * inc/events.php) is untouched.
 * ============================================================================= */

/* Type colours: the CI secondaries, mapped as the month grid in ci.css maps them, so a
   type is the same colour on a card, in a list row, in the grid and in the key. */
body.ci :is(.evtype,.evdot,.evkey-i).t-campaign{--pc:var(--c1)}
body.ci :is(.evtype,.evdot,.evkey-i).t-tradeshow{--pc:var(--c3)}
body.ci :is(.evtype,.evdot,.evkey-i).t-seasonal{--pc:var(--c2)}
body.ci :is(.evtype,.evdot,.evkey-i).t-forum{--pc:var(--c6)}
body.ci :is(.evtype,.evdot,.evkey-i).t-event{--pc:var(--c5)}
body.ci :is(.evtype,.evdot,.evkey-i).t-other{--pc:#8d8b82}

/* Type tag: a grey pill with the type's colour as a dot - the text stays black, because
   amber and olive cannot carry text on white. */
body.ci .evtype{display:inline-flex;align-items:center;gap:6px;margin:0;padding:3px 10px 3px 8px;border:0;border-radius:999px;
  background:var(--grey);font:700 10.5px/1.35 var(--body);letter-spacing:.06em;text-transform:uppercase;color:#2b2a26;white-space:nowrap}
body.ci .evtype::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pc,#000);flex:0 0 auto}
body.ci .evdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--pc,#8d8b82);margin-right:6px;vertical-align:1px}

/* ---------- colour key (doubles as the type filter) ---------- */
body.ci .evkey{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:14px 0 0}
body.ci .evkey-l{font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-right:2px}
body.ci .evkey .evkey-i{display:inline-flex;align-items:center;gap:7px;padding:4px 5px 4px 10px;min-height:30px;border:1px solid var(--line2);
  border-radius:999px;background:#fff;color:#000;font:700 10.5px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase;
  white-space:nowrap;text-decoration:none}
/* The swatch is a month-grid chip (that is how classic colours it); here it is the type's dot. */
body.ci .evkey .evkey-sw.evm-ev{display:block;width:9px;height:9px;padding:0;border:0;border-radius:50%;background:var(--pc);flex:0 0 auto}
body.ci .evkey .evkey-i:hover{border-color:#000}
body.ci .evkey .evkey-i.on{background:#000;border-color:#000;color:#fff}
body.ci .evkey-n{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--grey);color:#000;font-size:10.5px;letter-spacing:0;
  display:inline-flex;align-items:center;justify-content:center}
body.ci .evkey .on .evkey-n{background:var(--gold)}
body.ci .evkey-ss{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:0 4px}
body.ci .evkey-s{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
body.ci .evkey-c{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--grey)}
body.ci .evkey-c.on{background:#000}
body.ci .evkey-c.soon{background:var(--gold)}

/* ---------- card view ---------- */
body.ci .evgrid{gap:16px;margin-top:4px}
/* Month headings at every width. In the three-column grid a heading ends a month's row
   early, but without them 33 cards ran over six screens with nothing to show where a
   month starts - finding "December" was the hard part. */
body.ci .evgrp{display:flex;margin:22px 0 0;grid-column:1 / -1;align-items:center;gap:10px;font:700 12.5px/1.2 var(--disp);
  letter-spacing:.1em;text-transform:uppercase;color:#000}
body.ci .evgrp::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--gold);flex:0 0 auto}
body.ci .evgrp::after{content:"";flex:1;height:1px;background:var(--line)}

/* The date circle sits beside the type and title; when and where, and everything after,
   take the card's full width. The body wrapper steps aside (display:contents) so its
   parts can join the card's grid. */
body.ci .evgrid > .evcard{display:grid;grid-template-columns:50px minmax(0,1fr);column-gap:14px;row-gap:3px;
  align-items:start;align-content:start;padding:20px 20px 18px;margin:0}
body.ci .evcard > .evc-date{grid-row:1 / span 2}
body.ci .evcard .evc-b{display:contents}
body.ci .evcard .evc-tags,body.ci .evcard .evc-t{grid-column:2}
body.ci .evcard .evc-when,body.ci .evcard .evc-x{grid-column:1 / -1}
body.ci .evcard .evc-when{margin-top:6px}
body.ci .evcard{scroll-margin-top:96px}
body.ci .evcard:target{border-color:#000;box-shadow:0 0 0 3px var(--gold)}
body.ci .evc-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:22px}
body.ci .evc-t{font:700 16px/1.3 var(--disp);color:#000;margin-top:4px}
body.ci .evc-when{font-size:13px;line-height:1.45;color:#3f3e39;letter-spacing:0;margin:0}
body.ci .evc-x{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:6px}
body.ci .evc-x > *{max-width:100%}
body.ci .evc-x .note{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
body.ci .evc-venue .ico{width:14px;height:14px;color:#45443e}
body.ci .evc-desc{color:#3f3e39}
body.ci .evc-link{font-size:12.5px;font-weight:700}
body.ci .evc-by b{color:#000}
body.ci .evc-act{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}
body.ci .evc-x .evatt,body.ci .evc-x .evint{margin-top:0;align-self:stretch}

/* "More" - a phone shows it once the page script has run (body.evjs); see below. */
body.ci .evc-more{margin-left:auto;align-items:center;gap:7px;height:32px;padding:0 12px 0 13px;border:1px solid var(--line2);border-radius:999px;
  background:#fff;color:#000;font:700 10.5px/1 var(--body);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
body.ci .evc-more::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg)}
body.ci .evcard.open .evc-more::after{transform:translateY(1px) rotate(-135deg)}
body.ci .evc-more:hover{border-color:#000}

body.ci .evpast-more a{font-weight:700;font-size:13px}

/* ---------- list view ---------- */
body.ci .evlist tr[id]{scroll-margin-top:96px}
body.ci .evlist tr:target td{background:var(--gold-wash)}
body.ci .evlist .pill{margin-left:6px;vertical-align:1px}

/* ---------- month view ---------- */
body.ci .evm-ev[id]{scroll-margin-top:96px}

/* ---------- admin_calendar.php (Submit an event / My events) ---------- */
body.ci .evtable .pill{vertical-align:middle}
body.ci .evtable .evt-date{white-space:nowrap;color:var(--muted)}
body.ci .evtable .evt-type,body.ci .evtable .evt-by{color:var(--muted)}
body.ci .evtable .evt-int{text-align:center;color:var(--muted)}
body.ci .evtable .evt-act{text-align:right;white-space:nowrap}
body.ci .evtable .evt-ev a{color:#000;text-decoration:none}
body.ci .evtable .evt-ev a:hover{text-decoration:underline;text-decoration-color:var(--gold)}

@media (max-width:1000px){
  /* The sticky top bar is two rows here (menu and search), so an anchored entry needs
     more room above it or it lands underneath. */
  body.ci .evcard,body.ci .evlist tr[id],body.ci .evm-ev[id]{scroll-margin-top:132px}
}

@media (max-width:700px){
  body.ci .evtop .btn{padding:9px 15px;font-size:11px}
  /* Filters two to a row, so the card is not a screen tall before the first event. */
  body.ci .calfilter{padding:16px;gap:12px}
  body.ci .calfilter .fb-field,body.ci .calfilter .fb-field.grow{flex:1 1 140px}
  body.ci .calfilter .fb-actions{flex:1 1 100%}
  body.ci .calfilter .fb-actions .btn{flex:1;justify-content:center}
  body.ci .evkey{gap:6px}
  body.ci .evkey-ss{padding:0}

  /* Cards become an agenda: rows on hairlines under their month, the detail folded and
     indented under the title, beside the date circle. */
  body.ci .evgrid{display:block;margin-top:0}
  body.ci .evgrid > .evcard{display:flex;flex-direction:row;align-items:flex-start;border:0;border-top:1px solid var(--line);border-radius:0;
    padding:14px 0;gap:12px;box-shadow:none}
  body.ci .evcard .evc-b{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
  body.ci .evcard .evc-when{margin-top:0}
  body.ci .evgrp + .evcard,body.ci .evgrid > .evcard:first-child{border-top:0}
  body.ci .evgrp{display:flex;margin:24px 0 6px}
  body.ci .evgrp:first-child{margin-top:4px}
  body.ci .evgrid > .evcard:target{box-shadow:none;background:var(--gold-wash);border-radius:12px;padding:14px 10px;margin:0 -10px}
  body.ci .evcard .ci-date{width:46px;height:46px}
  body.ci .evc-t{font-size:15px}
  body.ci .evc-when{font-size:12.5px}
  body.ci.evjs .evcard:not(.open) .evc-x{display:none}
  /* "More" keeps the same top-right spot on every row, so it can be found by scanning down
     the list; the tags wrap beside it instead of pushing it onto a line of its own. */
  body.ci.evjs .evcard .evc-b{position:relative}
  body.ci.evjs .evc-tags{min-height:32px;padding-right:84px}
  body.ci.evjs .evc-more{display:inline-flex;position:absolute;top:0;right:0}

  /* List view: each row a short stack instead of a 760px table scrolled sideways. */
  body.ci .evlist{border:0;border-radius:0;overflow:visible;margin-top:0}
  body.ci .evlist table{min-width:0}
  body.ci .evlist thead{display:none}
  body.ci .evlist tbody,body.ci .evlist tr,body.ci .evlist td{display:block}
  body.ci .evlist tr{padding:13px 0;border-bottom:1px solid var(--line)}
  body.ci .evlist td{padding:0;border:0}
  body.ci .evlist td + td{margin-top:5px}
  body.ci .evlist tbody tr:hover{background:none}
  body.ci .evlist tr:target{background:var(--gold-wash);border-radius:12px;padding:13px 10px;margin:0 -10px}
  body.ci .evlist tr:target td{background:none}
  body.ci .evlist .evl-date{font-weight:700;font-size:12px;white-space:normal}
  body.ci .evlist td[data-label]::before{content:attr(data-label) ": ";font-weight:700;color:#3f3e39}
  body.ci .evlist .evl-none{display:none}
  body.ci .evlist .evl-int{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px}
  body.ci .evlist .evl-int .evint{margin:0;flex:1 1 auto}

  /* admin_calendar.php: each row a small block - date and status, title, type and owner,
     then its actions - rather than a seven-column table scrolled sideways. */
  body.ci table.evtable,body.ci table.evtable tbody{display:block}
  body.ci table.evtable{margin:0}
  body.ci table.evtable tr:has(> th){display:none}
  body.ci table.evtable tr:has(> th) + tr{padding-top:0}
  body.ci table.evtable tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:4px;
    padding:13px 0;border-bottom:1px solid var(--line)}
  body.ci table.evtable tr:last-child{border-bottom:0;padding-bottom:0}
  body.ci table.evtable tr:hover td{background:none}
  body.ci table.evtable td{display:block;padding:0;border:0;min-width:0}
  body.ci table.evtable .evt-date{grid-column:1;grid-row:1;font-size:12px;font-weight:700;color:#3f3e39}
  body.ci table.evtable .evt-st{grid-column:2;grid-row:1}
  body.ci table.evtable .evt-ev{grid-column:1 / -1;font-size:14.5px;line-height:1.35}
  body.ci table.evtable .evt-type,body.ci table.evtable .evt-by,body.ci table.evtable .evt-int{grid-column:1 / -1;font-size:12.5px;text-align:left}
  body.ci table.evtable .evt-by::before{content:"Listed by ";color:#3f3e39}
  body.ci table.evtable .evt-int::before{content:"Interested: ";color:#3f3e39}
  body.ci table.evtable .evt-act{grid-column:1 / -1;text-align:left;white-space:normal;margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  body.ci table.evtable .evt-na,body.ci table.evtable .evt-none{grid-column:1 / -1}
  body.ci table.evtable .evt-na{display:none}
}

/* =============================================================================
 * Page group: insights (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * Insights pages in the CI look: the performance dashboard and its admin editor,
 * training, and the photo & brand asset library.
 *
 * Every rule is scoped to body.ci AND to the page's own wrapper class (.dash,
 * .dash-admin, .train, .asset-lib, .asset-admin), so nothing here reaches another
 * page. Styles both looks need live in a small <style> block in each page.
 * ============================================================================= */

/* ---------- Performance dashboard (dashboard.php) ---------- */

/* Section headers: the description drops under the title instead of squeezing in
   beside it, after the hairline. */
body.ci .dash .sect{flex-wrap:wrap;row-gap:4px}
body.ci .dash .sect small{flex:1 1 100%;max-width:880px;margin-top:0}

/* Section tabs: tight enough for all ten to sit on one row on a laptop. A pillar with
   no figures yet has a dashed tab with a hollow circle, so members can see it is still
   being compiled before they open it. */
body.ci .dash .subnav{gap:5px;margin:20px 0 8px}
body.ci .dash .subnav a{padding:8px 11px;font-size:10.5px;color:#000}
body.ci .dash .subnav a:hover{border-color:#000}
body.ci .dash .subnav a.on{color:#fff}
body.ci .dash .subnav a.is-pending{border-style:dashed;border-color:#b9b6a8;color:var(--muted)}
body.ci .dash .subnav a.is-pending::after{content:"";flex:0 0 auto;width:6px;height:6px;border-radius:50%;border:1.5px solid currentColor;margin-left:7px}
body.ci .dash .subnav a.is-pending.on{border-style:solid;color:#fff}

/* KPI tiles: a capitals label, the figure in Avant Garde, the change with an arrow (so
   the trend is not carried by colour alone), the source in grey. One gold circle marks
   each tile, rather than six colours that meant nothing. */
body.ci .dash .kpis{gap:14px;margin:22px 0}
@media (min-width:701px){
  /* 3, 5, 6 or 9 tiles sit in rows of three rather than leaving a ragged last row. */
  body.ci .dash .kpis:has(> .kpi:nth-child(3n):last-child),
  body.ci .dash .kpis:has(> .kpi:nth-child(5):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
body.ci .dash .kpi{padding:20px 22px 18px}
body.ci .dash .kpi::before,
body.ci .dash .kpi:nth-child(n)::before{top:22px;right:20px;width:11px;height:11px;background:var(--gold);box-shadow:none}
body.ci .dash .kpi .l:first-child{font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#45443e;padding-right:26px;line-height:1.4}
body.ci .dash .kpi .v{font-size:31px;line-height:1.05;margin:12px 0 8px;color:#000}
body.ci .dash .kpi .d{font-family:var(--body);font-size:12.5px;font-weight:700;letter-spacing:0;color:#3f3e39;margin-top:0}
body.ci .dash .kpi .d.up{color:var(--green)}
body.ci .dash .kpi .d.down{color:var(--red)}
body.ci .dash .kpi .d.up::before{content:"\2191\00a0"}
body.ci .dash .kpi .d.down::before{content:"\2193\00a0"}
body.ci .dash .kpi .l:not(:first-child){font-family:var(--body);font-size:11.5px;margin-top:4px;letter-spacing:0}

/* Charts sit in plain white cards; the chart colours themselves are set in the page script. */
body.ci .dash .card h2{font-size:16px}
body.ci .dash .fact b{font-size:15px}

/* Links that read as plain bold text with the black link colour. */
body.ci .dash .dash-ext,
body.ci .dash .src a{color:#000;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px}
body.ci .dash .dash-ext:hover,
body.ci .dash .src a:hover{text-decoration-color:#000}
body.ci .dash .dash-send{color:#3f3e39}

/* Partly reported pillars (regions): the figure stands out from the description, and
   the "awaiting" notes read as sentences, not shouted capitals. */
body.ci .dash .pillar-progress{margin:14px 0 0;font-weight:700;color:#3f3e39}
body.ci .dash .metric .val-badge{font-family:var(--disp);font-size:24px;font-weight:700;line-height:1.1;color:#000;margin-top:14px}
body.ci .dash .metric .val-badge em{display:block;margin:4px 0 0;font-family:var(--body);font-size:11.5px;font-weight:700;color:var(--green)}
body.ci .dash .metric .await{text-transform:none;letter-spacing:0;font-family:var(--body);font-size:12px;font-weight:700;line-height:1.4;border-radius:10px;padding:5px 10px}

/* A pillar with no figures yet: one grey panel with a circle cluster (the hollow circle
   is the one still to be filled), the indicators to come on white, then the route for
   sending a figure. */
body.ci .dash .pillar-wait{position:relative;overflow:hidden;background:var(--grey);border-color:var(--grey);padding:30px 30px 24px;margin-top:18px}
body.ci .dash .pillar-wait .pw-mark{display:block;position:absolute;top:24px;right:28px;width:118px;height:76px}
body.ci .dash .pillar-wait .pw-mark i{position:absolute;border-radius:50%}
body.ci .dash .pillar-wait .pw-mark i:nth-child(1){width:62px;height:62px;right:34px;top:0;background:var(--gold)}
body.ci .dash .pillar-wait .pw-mark i:nth-child(2){width:42px;height:42px;right:0;top:30px;background:#000}
body.ci .dash .pillar-wait .pw-mark i:nth-child(3){width:20px;height:20px;right:98px;top:50px;border:2px solid #000}
body.ci .dash .pillar-wait h2{font-size:21px;line-height:1.2;text-transform:uppercase;letter-spacing:.01em;max-width:calc(100% - 150px);margin-bottom:8px}
body.ci .dash .pillar-wait > .note{max-width:64ch;font-size:14px;color:#3f3e39;margin-bottom:0}
body.ci .dash .pw-list{background:#fff;border-radius:12px;padding:2px 18px;margin-top:18px}
body.ci .dash .pw-list li:first-child{border-top:0}
body.ci .dash .pw-list b{font-weight:700;font-size:15px;color:#000}
body.ci .dash .pw-cta{border-top:0;padding-top:4px;margin-top:14px;color:#3f3e39}

@media (max-width:700px){
  body.ci .dash .subnav{gap:5px}
  body.ci .dash .subnav a{padding:7px 11px;font-size:10.5px}
  /* Two figures per row on a phone: six tiles in one column ran to a full screen each. */
  body.ci .dash .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
  body.ci .dash .kpi{padding:14px 14px 13px}
  body.ci .dash .kpi::before,
  body.ci .dash .kpi:nth-child(n)::before{top:16px;right:13px;width:8px;height:8px}
  body.ci .dash .kpi .l:first-child{font-size:10px;letter-spacing:.06em;padding-right:20px}
  body.ci .dash .kpi .v{font-size:22px;margin:8px 0 6px;overflow-wrap:anywhere}
  body.ci .dash .kpi .d{font-size:11.5px}
  body.ci .dash .kpi .l:not(:first-child){font-size:11px}
  body.ci .dash .card{padding:18px 16px}
  body.ci .dash .pillar-wait{padding:22px 18px 18px}
  body.ci .dash .pillar-wait .pw-mark{top:16px;right:14px;transform:scale(.62);transform-origin:top right}
  body.ci .dash .pillar-wait h2{font-size:17px;max-width:calc(100% - 84px)}
  body.ci .dash .pw-list{padding:2px 14px}
}

/* ---------- Dashboard data editor (admin_dashboard.php) ---------- */
body.ci .dash-admin .subnav{gap:6px;margin:20px 0 4px}
body.ci .dash-admin .subnav a{padding:8px 13px;font-size:11px;color:#000}
body.ci .dash-admin .card{padding:20px 24px 22px}
/* The row just saved or added: the page lands on it, in the gold wash. */
body.ci .dash-admin .dm-row:target{background:var(--gold-wash);box-shadow:-24px 0 0 var(--gold-wash),24px 0 0 var(--gold-wash)}
body.ci .dash-admin .chkrow .note{font-weight:400}
@media (max-width:700px){
  body.ci .dash-admin .card{padding:16px 16px 18px}
  body.ci .dash-admin .dm-row:target{box-shadow:-16px 0 0 var(--gold-wash),16px 0 0 var(--gold-wash)}
}

/* ---------- Training (training.php) ---------- */
/* Track tabs carry their count in a small circle, like the search tabs. */
body.ci .train .subnav{gap:6px;margin:22px 0 4px}
body.ci .train .subnav a{color:#000}
body.ci .train .subnav a.on{color:#fff}
body.ci .train .subnav .tr-n{margin-left:8px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--grey);color:#000;
  display:inline-flex;align-items:center;justify-content:center;font:700 10.5px/1 var(--body);letter-spacing:0}
body.ci .train .subnav a.on .tr-n{background:var(--gold)}
/* Each session shows its date in a circle (black once it is coming up), the guide's
   date marker; the written date stays in the card for screen readers. */
body.ci .train .tr-card{position:relative}
body.ci .train .tr-card .tr-cal{display:flex;position:absolute;top:18px;right:18px;width:54px;height:54px;border-radius:50%;background:var(--grey);
  flex-direction:column;align-items:center;justify-content:center;line-height:1}
body.ci .train .tr-cal b{font:700 18px/1 var(--disp);color:#000;margin:0}
body.ci .train .tr-cal em{font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#45443e;margin-top:3px}
body.ci .train .tr-card.is-next .tr-cal{background:#000}
body.ci .train .tr-card.is-next .tr-cal b{color:#fff}
body.ci .train .tr-card.is-next .tr-cal em{color:var(--gold)}
body.ci .train .tr-card .tr-pills{padding-right:66px;min-height:54px;align-content:flex-start}
body.ci .train .tr-card > b{font-size:16.5px;line-height:1.3}
body.ci .train .tile .tr-when{font-size:12.5px;color:#000}
/* Nothing to show yet: a grey panel with the circle cluster, not a blue alert. */
body.ci .train .tr-empty{position:relative;overflow:hidden;background:var(--grey);border-color:var(--grey);padding:32px 32px 28px}
body.ci .train .tr-empty .tr-mark{display:block;position:absolute;top:24px;right:30px;width:150px;height:96px}
body.ci .train .tr-empty .tr-mark i{position:absolute;border-radius:50%}
body.ci .train .tr-empty .tr-mark i:nth-child(1){width:80px;height:80px;right:46px;top:0;background:var(--gold)}
body.ci .train .tr-empty .tr-mark i:nth-child(2){width:54px;height:54px;right:0;top:40px;background:#000}
body.ci .train .tr-empty .tr-mark i:nth-child(3){width:22px;height:22px;right:128px;top:64px;border:2px solid #000}
body.ci .train .tr-empty h2{font-size:22px;text-transform:uppercase;line-height:1.2;max-width:calc(100% - 190px);margin-bottom:10px}
body.ci .train .tr-empty .note{font-size:14px;color:#3f3e39}
body.ci .train .tr-empty .pill{background:#fff}
@media (max-width:700px){
  body.ci .train .tr-empty{padding:24px 18px 20px}
  body.ci .train .tr-empty .tr-mark{transform:scale(.55);transform-origin:top right;top:14px;right:12px}
  body.ci .train .tr-empty h2{font-size:18px;max-width:calc(100% - 92px)}
}

/* ---------- Training session (training_session.php) ---------- */
body.ci .hero h1.tr-long{font-size:34px;max-width:24ch}
body.ci .train-s .tr-back{font-weight:700}
body.ci .train-s .tr-body p{font-size:15px}
/* Resources: each one an icon in a circle, gold once hovered. */
body.ci .train-s .tr-ico{background:var(--grey)}
body.ci .train-s .tr-ico .ico{color:#000}
body.ci .train-s .tr-res a:hover .tr-ico{background:var(--gold)}
body.ci .train-s .tr-res a:hover b{text-decoration-color:var(--gold);text-decoration-thickness:2px}
body.ci .train-s .tr-res-b b{font-family:var(--disp);font-weight:700;font-size:14.5px}
body.ci .train-s .tr-res-x{color:#000}
body.ci .train-s .tr-side .card{padding:16px 20px}
body.ci .train-s .tr-facts span{font-weight:700;color:#45443e}
@media (max-width:700px){ body.ci .hero h1.tr-long{font-size:24px} }

/* Section headers on these pages: the description goes under the title. */
body.ci .train .sect,body.ci .train-s .sect,body.ci .asset-lib .sect{flex-wrap:wrap;row-gap:4px}
body.ci .train .sect small,body.ci .train-s .sect small,body.ci .asset-lib .sect small{flex:1 1 100%;margin-top:0}

/* ---------- Photos & brand assets (assets.php) ---------- */
body.ci .asset-lib .af-crumb{font-weight:700}
body.ci .asset-lib .subnav{gap:6px}
body.ci .asset-lib .subnav a{color:#000}
body.ci .asset-lib .subnav a.on{color:#fff}
body.ci .asset-lib .subnav .af-n{margin-left:8px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--grey);color:#000;
  display:inline-flex;align-items:center;justify-content:center;font:700 10.5px/1 var(--body);letter-spacing:0}
body.ci .asset-lib .subnav a.on .af-n{background:var(--gold)}
body.ci .asset-lib .af-find{height:42px;border-radius:999px;padding:0 18px}
/* Folder cards: a few of the folder's photos cropped in overlapping circles - the
   guide's photography treatment, used here where cropping hides nothing that matters.
   The photos themselves stay rectangular in the grid below. */
body.ci .asset-lib .af-folder{padding:24px 24px 20px}
body.ci .asset-lib .af-stack{gap:0;min-height:88px;margin-bottom:18px}
body.ci .asset-lib .af-stack img{width:88px;height:88px;border-radius:50%;border:3px solid #fff;margin-left:-24px;box-shadow:0 0 0 1px var(--line)}
body.ci .asset-lib .af-stack img:first-child{margin-left:0}
body.ci .asset-lib .af-stack-ico{width:88px;height:88px;border-radius:50%;background:var(--gold)}
body.ci .asset-lib .af-stack-ico .ico{width:30px;height:30px;color:#000}
body.ci .asset-lib .af-folder b{font-size:18px}
body.ci .asset-lib .tile .af-mix{color:#000;font-size:13px}
/* Notes said once for the whole folder: the CI caveat style. */
body.ci .asset-lib .af-notes{background:var(--gold-wash);border-left:4px solid var(--gold);border-radius:12px;padding:10px 16px;color:#3d3c37;margin-top:16px}
body.ci .asset-lib .af-notes b{color:#000}
/* Asset cards: the photo fills the top of the card, rounded; text sits under it. */
body.ci .asset-lib .af-grid{gap:18px}
body.ci .asset-lib .af-grid:not(.af-folders){grid-template-columns:repeat(auto-fill,minmax(225px,1fr))}
body.ci .asset-lib .af-norights{color:#5a4a08}
body.ci .asset-lib .af-norights::before{background:var(--c4);box-shadow:0 0 0 1px #9c7c14}
body.ci .asset-lib .af-recent{gap:16px}
body.ci .asset-lib .af-recent .af-thumb{border-radius:12px}
body.ci .asset-lib .af-recent a:hover .af-thumb img{transform:scale(1.04)}
body.ci .asset-lib .af-recent-t{font-family:var(--disp);font-weight:700}
body.ci .asset-lib .af-card{padding:10px 10px 14px;border-radius:18px}
body.ci .asset-lib .af-card > :not(.af-thumb){margin-left:8px;margin-right:8px}
body.ci .asset-lib .af-thumb{border-radius:12px;margin-bottom:14px;background:var(--grey)}
body.ci .asset-lib .af-thumb img{transition:transform .25s ease}
body.ci .asset-lib .af-thumb:hover img{transform:scale(1.04)}
body.ci .asset-lib .af-nothumb .ico{width:60px;height:60px;padding:16px;border-radius:50%;background:#fff;color:#000}
body.ci .asset-lib .af-card h3{font-size:15.5px}
body.ci .asset-lib .af-meta{color:#5b5a53}
body.ci .asset-lib .af-card:target{box-shadow:0 0 0 3px var(--gold),0 0 0 5px #000}
body.ci .asset-lib .af-foot a{color:#000;font-weight:700}
@media (prefers-reduced-motion:reduce){ body.ci .asset-lib .af-thumb img{transition:none} }
@media (max-width:700px){
  /* Two photos per row on a phone: a library of 45 in one column was 45 screens long. */
  body.ci .asset-lib .af-grid:not(.af-folders){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.ci .asset-lib .af-card{padding:6px 6px 10px;border-radius:14px}
  body.ci .asset-lib .af-card > :not(.af-thumb){margin-left:4px;margin-right:4px}
  body.ci .asset-lib .af-thumb{border-radius:10px;margin-bottom:10px}
  body.ci .asset-lib .af-card h3{font-size:13.5px}
  body.ci .asset-lib .af-meta{font-size:11px}
  body.ci .asset-lib .af-desc{display:none}
  body.ci .asset-lib .af-rights{font-size:11px}
  body.ci .asset-lib .af-recent{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.ci .asset-lib .af-actions{flex-direction:column;align-items:stretch;gap:5px;padding-top:10px}
  body.ci .asset-lib .af-actions .btn{text-align:center;padding:8px 6px;font-size:10px}
  body.ci .asset-lib .af-find{flex:1 1 100%}
  body.ci .asset-lib .af-folder{padding:20px 18px 18px}
}

/* ---------- Asset library admin (admin_assets.php) ---------- */
body.ci .asset-admin .aa-h{font-size:16px;text-transform:uppercase;letter-spacing:.03em}
body.ci .asset-admin .aa-preview img{border-radius:12px}
/* Row thumbnails are only for recognising a photo, so they take the guide's circle crop. */
body.ci .asset-admin .aa-t img,body.ci .asset-admin .aa-t .aa-noimg{border-radius:50%}
body.ci .asset-admin .aa-t .aa-noimg{background:var(--grey);color:#000}
body.ci .asset-admin .aa-t b{font-family:var(--disp);font-weight:700}
body.ci .asset-admin .aa-count a{color:#000;font-weight:700}
body.ci .asset-admin .aa-folder .btn{height:auto}

/* =============================================================================
 * Page group: library (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * CI look for the library group: library.php, newsletter.php, admin_library.php,
 * digest.php and article.php. Loaded after ci.css in the CI look only, so every rule
 * is scoped to body.ci; the classic look renders the same markup from style.css and
 * portal.css alone. A few rules need !important because they override a spacing or
 * colour the markup sets inline for the classic look.
 * ============================================================================= */

/* ---------- library: search card ---------- */
body.ci .lib-filter{padding:18px 22px 14px}
body.ci .lib-filter .filterbar{gap:12px}
/* "More filters": a quiet disclosure row under the search field. It borrows .evint for
   the classic look; here it gets the CI chevron and type. */
body.ci .lib-more{margin-top:14px;padding-top:10px;border-top:1px solid var(--line)}
body.ci .lib-more > summary{display:inline-flex;align-items:center;gap:8px;min-height:30px;color:#000;
  font:700 11.5px/1 var(--disp);text-transform:uppercase;letter-spacing:.08em}
body.ci .lib-more > summary::after{content:"";width:6px;height:6px;margin:0 0 3px 2px;font-size:0;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}
body.ci .lib-more[open] > summary::after{transform:rotate(-135deg);margin:3px 0 0 2px}
body.ci .lib-more > summary:hover{color:#000;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px}
body.ci .lib-more .evint-n,body.ci .lib-more[open] .evint-n{background:var(--gold);color:#000;font-family:var(--body)}

/* ---------- library: icon circles ---------- */
/* Tinted with the document's category colour (set inline as --pc), like the quick-link
   circles on the home page. */
body.ci .lib-doc .ci-ico,body.ci .lib-tile .ci-ico{background:color-mix(in srgb,var(--pc,#8d8b82) 24%,#fff)}
body.ci .lib-folder .ci-ico{background:var(--grey)}
body.ci .lib-folder:hover .ci-ico{background:var(--gold)}

/* ---------- library: "just added" and folders ---------- */
body.ci .lib-recent{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:18px 0 0}
body.ci .lib-tile .ci-ico{margin-bottom:14px}
body.ci .lib-tile b{line-height:1.3}

/* Folders are short horizontal cards: circle, name and count, then the arrow. */
body.ci .lib-folders{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:18px 0 0}
body.ci .lib-folder{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;column-gap:14px;padding:14px 16px}
body.ci .lib-folder .ci-ico{grid-row:1 / span 2}
body.ci .lib-folder b{grid-column:2;margin:0!important;font-size:15px;line-height:1.25}
body.ci .lib-folder .lib-n{grid-column:2;margin:2px 0 0!important;font-size:12.5px;font-weight:400!important;color:var(--muted)!important}
body.ci .lib-folder .go{grid-column:3;grid-row:1 / span 2;margin:0;font-size:0;width:30px;height:30px;border-radius:50%;
  display:flex;align-items:center;justify-content:center}
body.ci .lib-folder .go::after{content:"";width:7px;height:7px;border-right:2px solid #000;border-top:2px solid #000;transform:rotate(45deg);margin-left:-3px}
body.ci .lib-folder:hover .go{background:#000}
body.ci .lib-folder:hover .go::after{border-color:var(--gold)}
/* Editors only: a folder with nothing in it yet, shown so they can fill it. */
body.ci .lib-folder.is-empty{border-style:dashed;border-color:var(--line2);background:#fff}
body.ci .lib-folder.is-empty b{color:#45443e}
body.ci .lib-folder.is-empty .ci-ico .ico{color:var(--muted)}

/* ---------- library: document cards ---------- */
body.ci .lib-docs{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px;margin:16px 0 0}
body.ci .lib-doc{display:flex;flex-direction:column;border-left:1px solid var(--line);padding:20px 20px 18px}
body.ci .lib-doc:hover{border-color:var(--line2)}
body.ci .lib-doc-h{display:flex;align-items:flex-start;gap:14px}
body.ci .lib-doc-ht{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding-top:2px}
body.ci .lib-doc b{font-size:16px;line-height:1.3;margin:0;overflow-wrap:anywhere}
body.ci .lib-doc b a{color:#000}
body.ci .lib-doc b a:hover{text-decoration:underline!important;text-decoration-color:var(--gold)!important;text-decoration-thickness:2px!important}
body.ci .lib-pills{display:flex;flex-wrap:wrap;gap:6px}
/* Category pills are grey with a coloured dot (the CI category pill); status pills keep
   their tint. */
body.ci .pill.lib-cat{background:var(--grey);border-color:var(--grey);color:#2b2a26}
body.ci .lib-doc-d{margin-top:14px!important;font-size:13.5px;line-height:1.6;color:#3f3e39}
body.ci .lib-meta{margin-top:10px!important;font-size:12px;line-height:1.45;color:var(--muted)}
/* Buttons sit on the card's bottom edge, so a row of cards lines its buttons up. */
body.ci .lib-btns{margin-top:auto!important;padding-top:16px}

/* ---------- phones ---------- */
@media (max-width:700px){
  body.ci .lib-filter{padding:14px 14px 10px}
  /* Search field and button share one row. */
  body.ci .lib-filter > .filterbar{flex-wrap:nowrap;gap:8px}
  body.ci .lib-filter > .filterbar .fb-field{flex:1 1 auto}
  body.ci .lib-filter > .filterbar .fb-actions{flex:0 0 auto;margin-left:0;gap:6px}
  body.ci .lib-filter > .filterbar .fb-actions .btn{flex:0 0 auto;padding:0 14px}
  body.ci .lib-more{margin-top:10px;padding-top:6px}
  body.ci .lib-more-f{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  body.ci .lib-more-f .lib-f-org{grid-column:1 / -1}

  /* "Just added" and the folders become one bordered list of rows. */
  body.ci .lib-recent,body.ci .lib-folders{grid-template-columns:minmax(0,1fr);gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
  body.ci .lib-recent .tile,body.ci .lib-folders .tile{border:0;border-top:1px solid var(--line);border-radius:0;padding:11px 14px}
  body.ci .lib-recent .tile:first-child,body.ci .lib-folders .tile:first-child{border-top:0}
  body.ci .lib-recent .tile:hover,body.ci .lib-folders .tile:hover{transform:none;box-shadow:none;background:var(--gold-wash)}
  body.ci .lib-folder,body.ci .lib-tile{grid-template-columns:38px minmax(0,1fr) auto;column-gap:12px}
  body.ci .lib-tile{display:grid;align-items:center}
  body.ci .lib-tile .ci-ico{grid-row:1 / span 2;margin:0}
  body.ci .lib-tile b{grid-column:2;margin:0!important;font-size:14.5px}
  body.ci .lib-tile .lib-tile-m{grid-column:2;margin:2px 0 0!important;font-size:12px}
  body.ci .lib-tile .go{display:none}
  body.ci .lib-folder .ci-ico,body.ci .lib-tile .ci-ico{width:38px;height:38px}
  body.ci .lib-folder .ci-ico .ico,body.ci .lib-tile .ci-ico .ico{width:18px;height:18px}

  body.ci .lib-docs{grid-template-columns:minmax(0,1fr);gap:12px}
  body.ci .lib-doc{padding:16px 16px 14px}
  body.ci .lib-doc .ci-ico{width:40px;height:40px}
}

/* ---------- newsletters ---------- */
/* The newest edition: the home page's featured-document card, larger. */
body.ci .nl-latest{padding:28px 28px 26px;margin:16px 0 0}
body.ci .nl-latest .ci-feature{gap:26px}
body.ci .nl-latest .ci-disc{width:120px;height:120px}
body.ci .nl-latest .ci-disc .ico{width:44px;height:44px}
body.ci .nl-latest .ci-disc::after{width:36px;height:36px}
body.ci .nl-latest .muted-line{margin:0;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:11px;color:#45443e}
body.ci .nl-latest h2{font-size:24px;line-height:1.2;margin:8px 0 0;max-width:30ch}
body.ci .nl-latest h2 a{color:#000}
body.ci .nl-latest .nl-desc{margin:10px 0 0;font-size:14px;color:#3f3e39;max-width:62ch}
body.ci .nl-latest .ci-btns{margin-top:18px!important}
body.ci .nl-eds{margin-top:16px}
body.ci .nl-eds .lib-doc-ht > span{font-size:12.5px;color:var(--muted)}
body.ci .nl-lede{font-size:13.5px;margin:-4px 0 0;color:var(--muted)}
body.ci .nl-empty{font-size:13.5px;margin:8px 0 0;color:#3f3e39}
body.ci .nl-issues{margin-top:16px!important}
body.ci .nl-issues .pill{margin-bottom:6px}
@media (max-width:700px){
  body.ci .nl-latest{padding:20px 18px}
  body.ci .nl-latest .ci-feature{flex-direction:column;align-items:flex-start;gap:16px}
  body.ci .nl-latest .ci-disc{width:72px;height:72px}
  body.ci .nl-latest .ci-disc .ico{width:30px;height:30px}
  body.ci .nl-latest .ci-disc::after{width:24px;height:24px}
  body.ci .nl-latest h2{font-size:20px}
  body.ci .nl-latest .ci-btns .btn{flex:1 1 auto;text-align:center}
}

/* ---------- digest and article pages: a readable column of text ---------- */
body.ci .rd-body{max-width:820px;padding:28px 32px;font-size:15.5px;line-height:1.75;color:#1f1f1e}
body.ci .rd-lead{background:var(--grey);border-color:var(--grey);font-size:16.5px}
body.ci .rd-back a{font-weight:700;font-size:13px}
@media (max-width:700px){ body.ci .rd-body{padding:20px 18px;font-size:15px} }

/* ---------- manage library ---------- */
body.ci .al-docs table.data td b a:hover{text-decoration:underline!important;text-decoration-color:var(--gold)!important;text-decoration-thickness:2px!important}
/* On a phone the list keeps what an editor acts on - title, status, Edit - and drops
   the descriptive columns (the title opens the full entry). */
@media (max-width:700px){
  body.ci .al-docs{padding:14px 12px}
  body.ci .al-docs .al-opt{display:none}
  body.ci .al-docs table.data td,body.ci .al-docs table.data th{padding:10px 4px}
  body.ci .al-docs .pill{font-size:10px;letter-spacing:0;padding:2px 7px 2px 6px}
  body.ci .al-docs .btn.sm{padding:6px 10px}
}

/* =============================================================================
 * Page group: meetings (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * Meetings group, CI look only: meetings.php, meeting.php, actions.php,
 * peer_exchange.php, the dashboard's "My outstanding actions" panel and the two
 * meeting admin pages. The markup uses classes the classic look already styles
 * (.tile, .card, table.data, .evfile, .pill); everything here only refines them
 * for the CI guide, so the classic look is unaffected.
 * ============================================================================= */

/* ---------- meetings list: one meeting per row, the date in a circle ---------- */
body.ci .mt-tiles{grid-template-columns:minmax(0,1fr);gap:12px}
body.ci .mt-tile{display:flex;align-items:flex-start;gap:20px}
/* Black figures: style.css greys every span in a .tile, which leaves the day at 4.4:1 on the gold "next" circle. */
body.ci .mt-tile .ci-date{width:64px;height:64px;margin-top:2px;color:#000}
body.ci .mt-tile .ci-date b{font-size:22px}
body.ci .mt-tile .ci-date em{font-size:10px}
body.ci .mt-tile-b{flex:1;min-width:0}
body.ci .mt-tile .count-pill{margin-left:0;font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2b2a26;background:var(--grey);border-color:var(--grey)}
body.ci .mt-tile b{margin:10px 0 4px!important;font-size:18px;line-height:1.25}
body.ci .mt-tile .muted-line{color:#3f3e39;font-weight:700;margin-bottom:8px}
body.ci .mt-tile-x{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:78ch}
body.ci .mt-tile .go{margin-top:12px}
body.ci .mt-tools .btn{margin:0}

/* ---------- meeting page ---------- */
/* Minutes are the long read, so they get the wider column. */
body.ci .mt-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:24px;align-items:start}
@media (max-width:900px){ body.ci .mt-grid{grid-template-columns:minmax(0,1fr)} }

/* Papers: two to a row on a wide screen, each a grey pill-ended row. */
body.ci .mt-papers{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px;margin:0}
body.ci .mt-papers .evfile{background:var(--grey);border-color:var(--grey);border-radius:var(--radius);padding:12px 12px 12px 14px;gap:14px}
body.ci .mt-papers .evfile-k{min-width:56px;padding:6px 8px;font-family:var(--body);font-size:10px;letter-spacing:.08em}
/* Paper names wrap to two lines rather than cut off: they are how members tell decks apart. */
body.ci .mt-papers .evfile-n a{font-family:var(--disp);font-weight:700;font-size:14.5px;line-height:1.3;text-decoration:none;
  white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.ci .mt-papers .evfile-n a:hover{text-decoration:underline;text-decoration-color:var(--gold)}
body.ci .mt-fbtns{display:flex;gap:6px;flex:0 0 auto}
body.ci .mt-fbtns .btn{background:#fff}
body.ci .mt-fbtns .btn:hover{background:var(--gold)}

/* Minutes: each numbered agenda item is a heading with its number in a black circle -
   the guide's numbered paragraph header. */
body.ci .mt-text{font-size:15px;color:#1f1f1f}
body.ci .mt-text b{font-weight:700;color:#000}
body.ci h3.mt-mh{display:flex;align-items:center;gap:12px;margin:6px 0 8px;font-size:15px;line-height:1.3;
  text-transform:uppercase;letter-spacing:.03em;white-space:normal}
body.ci h3.mt-mh:first-child{margin-top:0}
body.ci .mt-mn{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:#000;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font:700 12px/1 var(--disp);letter-spacing:0}
/* Numbered lines that are not headings (and the agenda): a smaller grey circle, with the
   text hung clear of it when it wraps. white-space:normal folds away the line break the
   span carries for the classic look. */
body.ci .mt-al{display:block;padding-left:36px;text-indent:-36px;white-space:normal;margin:3px 0}
body.ci .mt-an{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:8px;
  border-radius:50%;background:var(--grey);font:700 11px/1 var(--disp);text-indent:0;vertical-align:1px}

/* ---------- action tables (meeting.php, actions.php) ---------- */
body.ci .mt-tablecard{padding:8px 24px 18px}
body.ci .mt-actions td{vertical-align:top}
body.ci .mt-actions .mt-cell-t{font-weight:700;color:#000}
body.ci .mt-actions .mt-cell-t a{font-weight:700}
body.ci .mt-actions td .pill{vertical-align:1px}
body.ci .mt-actions td[data-label="Meeting"]{font-size:13px;min-width:150px}
/* Status selects styled as ghost pills: .btn's background shorthand drops the select arrow,
   so it is put back - including on hover, where the pill turns gold. The selectors carry
   .btn.ghost so they outrank ci.css's "body.ci .btn.ghost(:hover){background:...}". */
body.ci select.btn.ghost.mt-select,body.ci select.btn.ghost.mt-select:hover{padding:7px 30px 7px 12px;height:auto;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.6 6 6.4 11 1.6' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 11px center;background-size:10px 7px}
/* The member's own rows carry a gold edge, and a row reached by its #a<id> link is lit. */
body.ci .mt-actions tr.mt-mine td:first-child{box-shadow:inset 3px 0 0 var(--gold)}
body.ci .mt-actions tr{scroll-margin-top:96px}
body.ci .mt-actions tr:target td{background:var(--gold-tint)}
body.ci .mt-filters .btn{margin:0}

/* Phones: each row becomes a block - title first, then labelled facts. */
@media (max-width:700px){
  body.ci .mt-tablecard{padding:4px 16px 14px;overflow:visible!important}
  body.ci .mt-stack,body.ci .mt-stack tbody,body.ci .mt-stack td{display:block;width:100%}
  body.ci .mt-stack thead{display:none}
  /* A column so the title cell can lead the block wherever it sits in the row. */
  body.ci .mt-stack tr{display:flex;flex-direction:column;width:100%;padding:12px 0;border-bottom:1px solid var(--line)}
  body.ci .mt-stack td.mt-cell-t{order:-1}
  body.ci .mt-stack tr:last-child{border-bottom:0}
  /* With the header row hidden, the first block starts at the card's own padding. */
  body.ci table.data.mt-stack{margin:0}
  body.ci .mt-stack tbody tr:first-child{padding-top:4px}
  body.ci .mt-stack td{border:0;padding:3px 0;display:flex;gap:10px;align-items:baseline;white-space:normal!important}
  body.ci .mt-stack td.mt-cell-t{display:block;font-size:14.5px;padding-bottom:6px}
  /* 92px fits the longest label ("Attendance") so every value starts on the same line. */
  body.ci .mt-stack td[data-label]::before{content:attr(data-label);flex:0 0 92px;font-size:10.5px;font-weight:700;
    letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  body.ci .mt-stack td.is-none{display:none}
  body.ci .mt-stack tr.mt-mine td:first-child{box-shadow:none}
  body.ci .mt-stack tr.mt-mine{box-shadow:inset 3px 0 0 var(--gold);padding-left:12px}
  body.ci table.data.mt-stack tr:hover td{background:transparent}
  body.ci .mt-papers{grid-template-columns:minmax(0,1fr)}
  /* Buttons drop to their own line under the name. */
  body.ci .mt-papers .evfile{flex-wrap:wrap;row-gap:10px;align-items:flex-start}
  body.ci .mt-papers .evfile-k{margin-top:2px}
  body.ci .mt-fbtns{flex-basis:100%;padding-left:70px}
  body.ci .mt-papers .evfile-n a{-webkit-line-clamp:3}
  body.ci h3.mt-mh{font-size:14px;gap:10px}
  body.ci .mt-mn{width:30px;height:30px;font-size:11px}
  body.ci .mt-tile{gap:14px}
  body.ci .mt-tile .ci-date{width:50px;height:50px}
  body.ci .mt-tile .ci-date b{font-size:17px}
  body.ci .mt-tile b{font-size:16px}
}

/* =============================================================================
 * Page group: people (from the October 2026 page pass)
 * ============================================================================= */
/* =============================================================================
 * CI look for the "people" pages: the member directory (members.php), profiles
 * (member.php), sector pages (sector.php), the account page, GTA channels (social.php),
 * About (about.php) and the public landing page (index.php).
 *
 * Loaded on every page in the CI look, so every rule is scoped to body.ci AND to the
 * page's own wrapper class (pg-members, pg-member, pg-sector, acct, pg-social,
 * pg-about, pg-home) or to a class only these pages use. The classic look never loads
 * this file; the markup hooks it relies on (data-ini, data-type, c-* cell classes,
 * ci-grid wrappers) are invisible there.
 * ============================================================================= */

/* ---------- shared by index.php and about.php: link tiles with an icon in a circle ---------- */
body.ci .linktiles .tile{display:flex;flex-direction:column;gap:8px}
body.ci .linktiles .tile b{display:flex;align-items:center;gap:12px;margin:0 0 2px;line-height:1.25}
body.ci .linktiles .tile b .ico{width:44px;height:44px;padding:11px;border-radius:50%;flex:0 0 auto;color:#000;
  background:color-mix(in srgb,var(--gold) 70%,#fff)}
body.ci .linktiles .tile:nth-child(4n+2) b .ico{background:color-mix(in srgb,var(--c2) 30%,#fff)}
body.ci .linktiles .tile:nth-child(4n+3) b .ico{background:color-mix(in srgb,var(--c3) 26%,#fff)}
body.ci .linktiles .tile:nth-child(4n+4) b .ico{background:color-mix(in srgb,var(--c5) 24%,#fff)}
/* The call to action sits on its own line at the foot of the tile; as an inline-block
   after an inline description it ran on from the last word ("...2026).READ THE MANDATE"). */
body.ci .linktiles .tile .go{display:block;margin-top:auto;padding-top:8px}
/* The <br> before .go does that job in the classic look; the flex column here does not need it. */
body.ci .linktiles .tile > br{display:none}

/* ---------- members.php: the directory ---------- */
body.ci .pg-members .dir-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:28px 0 0;padding:12px;
  background:var(--grey);border-radius:28px}
/* By id: portal.css's input baseline is ten :not()s deep (0,10,1) and would win. */
body.ci .pg-members #contactSearch{flex:1 1 340px;max-width:none;margin:0;height:50px;border-radius:999px;background-color:#fff;
  padding:0 18px 0 46px;font-size:15px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5a53' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:17px 50%;background-size:19px 19px}
/* The select carries inline sizing for the classic look; here it sits in the row. */
body.ci .pg-members .dir-tools select.search{flex:0 1 270px;max-width:none!important;margin:0!important;height:50px;border-radius:999px;background-color:#fff}
body.ci .pg-members .dir-tools .dir-all{height:50px;padding:0 20px}
body.ci .pg-members .dir-count{margin:12px 6px 14px;min-height:1.2em;font-size:13px;color:var(--ink)}
body.ci .pg-members .dir-count:empty{margin:8px 0}

body.ci .pg-members .dir-sectors{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.ci .pg-members .dir-sectors .muted-line{margin:0 4px 0 2px;font-weight:700;color:var(--ink)}
body.ci .pg-members .dir-sectors a.count-pill{margin:0;padding:5px 12px;background:#fff;border:1px solid var(--line2);color:#000;text-decoration:none;
  font:700 11.5px/1.2 var(--body);letter-spacing:.02em}
body.ci .pg-members .dir-sectors a.count-pill:hover{border-color:#000;background:var(--gold-wash)}
body.ci .pg-members details.org-block{border:1px solid var(--line);border-radius:var(--radius);margin:0 0 10px;background:#fff;overflow:hidden;
  transition:border-color .12s}
body.ci .pg-members details.org-block[open]{border-color:#000}
body.ci .pg-members summary.org{font-family:var(--disp);font-size:15.5px;font-weight:700;letter-spacing:0;text-transform:none;color:#000;
  margin:0;padding:12px 18px 12px 12px;gap:14px;line-height:1.25}
body.ci .pg-members summary.org:hover{color:#000;background:var(--gold-wash)}
/* The classic triangle becomes the organisation's initials in a circle (CI: circles).
   The second content value gives the initials an empty alternative text, so a screen
   reader announces the organisation once rather than "GTA Gauteng Tourism Authority";
   browsers without that syntax drop it and keep the first. */
body.ci .pg-members summary.org::before,
body.ci .pg-members details.org-block[open] > summary.org::before{content:attr(data-ini);content:attr(data-ini) / "";width:46px;height:46px;border:0;border-radius:50%;
  background:var(--grey);color:#000;display:flex;align-items:center;justify-content:center;transform:none;
  font:700 12.5px/1 var(--disp);letter-spacing:.03em}
body.ci .pg-members details.org-block[open] > summary.org::before{background:#000;color:var(--gold)}
body.ci .pg-members summary.org::after{content:"";flex:0 0 auto;width:8px;height:8px;border-right:2px solid #000;border-bottom:2px solid #000;
  transform:rotate(45deg);margin:0 4px 4px 6px;transition:transform .15s}
body.ci .pg-members details.org-block[open] > summary.org::after{transform:rotate(-135deg);margin:4px 4px 0 6px}
body.ci .pg-members .org-n{display:flex;flex-direction:column;min-width:0}
body.ci .pg-members .org-n::after{content:attr(data-type);font:400 12.5px/1.3 var(--body);color:var(--muted);margin-top:3px}
body.ci .pg-members .org-n[data-type=""]::after{content:none}
body.ci .pg-members summary.org .count-pill{margin-left:auto;min-width:32px;height:32px;padding:0 8px;border-radius:16px;border:0;
  background:var(--grey);color:#000;display:inline-flex;align-items:center;justify-content:center;font:700 13px/1 var(--disp)}
body.ci .pg-members details.org-block[open] > summary.org .count-pill{background:var(--gold)}

/* What the organisation offers, between the summary and its people. */
body.ci .pg-members .cap-row{background:var(--grey);border-top:1px solid var(--line);border-bottom:0!important}
body.ci .pg-members .cap-row .count-pill{background:#fff;border-color:var(--line2);color:var(--ink);font-family:var(--body);font-weight:700;
  font-size:11px;letter-spacing:.04em;padding:4px 10px;margin:2px 6px 2px 0!important}
body.ci .pg-members .cap-row summary{font-weight:700;color:#000!important}

body.ci .pg-members table.contacts{margin:0}
/* The wrapper's inline bottom margin is for the classic look; here the block's border
   closes directly under the last person. */
body.ci .pg-members .contacts-wrap{margin:0!important}
body.ci .pg-members table.contacts th{padding:10px 12px;border-bottom:1px solid var(--line);font-size:10.5px;background:#fff}
body.ci .pg-members table.contacts td{padding:10px 12px;font-size:14px}
body.ci .pg-members table.contacts th:first-child,body.ci .pg-members table.contacts td:first-child{padding-left:18px}
body.ci .pg-members table.contacts tr:last-child td{border-bottom:0}
body.ci .pg-members .contacts .c-who a.c-name{font-family:var(--disp);font-weight:700;color:#000}
body.ci .pg-members .contacts .c-who a.c-name:hover{color:#000;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px}
body.ci .pg-members table.contacts td.e a{color:#000;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px}
body.ci .pg-members table.contacts td.c-r{font-size:13px}
body.ci .pg-members .dir-none{margin:6px 0 0}
body.ci .pg-members .dir-help{margin-top:30px}

/* Phone width: each person becomes a block - avatar and name, then role, email and
   phone under the name - instead of a 600px table scrolling the whole page sideways.
   app.js still hides rows with an inline display:none, which wins over this. */
@media (max-width:700px){
  body.ci .pg-members .dir-tools{border-radius:var(--radius);padding:10px}
  body.ci .pg-members #contactSearch,body.ci .pg-members .dir-tools select.search{flex:1 1 100%}
  body.ci .pg-members .dir-tools .dir-all{flex:1 1 100%}
  body.ci .pg-members summary.org{padding:10px 14px 10px 10px;gap:11px;font-size:14.5px}
  body.ci .pg-members summary.org::before,
  body.ci .pg-members details.org-block[open] > summary.org::before{width:40px;height:40px;font-size:11.5px}
  body.ci .pg-members table.contacts,body.ci .pg-members table.contacts tbody{display:block}
  body.ci .pg-members table.contacts tr:has(th){display:none}
  body.ci .pg-members table.contacts tr{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-top:1px solid var(--line)}
  body.ci .pg-members table.contacts td,body.ci .pg-members table.contacts td:first-child{display:block;padding:0 0 0 49px;border:0;
    font-size:13.5px;min-width:0;overflow-wrap:anywhere;text-align:left!important;white-space:normal!important}
  body.ci .pg-members table.contacts td.c-n{padding-left:0;order:1}
  body.ci .pg-members table.contacts td.c-r{order:2;margin-top:-6px}
  body.ci .pg-members table.contacts td.e{order:3}
  body.ci .pg-members table.contacts td.c-t{order:4}
  body.ci .pg-members table.contacts td.c-x{order:5;margin-top:6px}
  body.ci .pg-members table.contacts td:has(> .note:only-child){display:none}
  body.ci .pg-members .cap-row{padding:10px 14px!important}
}

/* ---------- member.php: a profile ---------- */
body.ci .pg-member .prof-more a{font-weight:700}
body.ci .pg-member .profperson{border-radius:999px;padding:7px 18px 7px 7px}
/* Phone width: a smaller photograph leaves the name room (the size is set inline). */
@media (max-width:700px){
  body.ci .pg-member .prof-head{gap:16px}
  body.ci .pg-member .prof-head > .pav,body.ci .pg-member .prof-head > .pav > *{width:72px!important;height:72px!important;font-size:27px!important}
  body.ci .pg-member .prof-id h1{font-size:23px}
}

/* ---------- account.php: profile beside password ---------- */
body.ci .acct .ci-grid{align-items:start;margin-top:22px}
body.ci .acct .ci-grid .card{margin:0}
body.ci .acct .ci-grid h2{text-transform:uppercase;letter-spacing:.04em;font-size:16px}

/* ---------- sector.php: page header with the photograph cropped in a circle ---------- */
body.ci .pg-sector .sechero{height:auto;min-height:280px;margin-top:18px;background:var(--grey);border:0;border-radius:var(--radius);
  display:flex;align-items:center;padding:36px 330px 36px 36px;isolation:isolate}
body.ci .pg-sector .sechero img{inset:auto;top:50%;right:36px;width:236px;height:236px;transform:translateY(-50%);border-radius:50%;z-index:-1;
  box-shadow:0 0 0 8px #fff}
body.ci .pg-sector .sechero::after{content:"";position:absolute;z-index:-1;right:236px;bottom:22px;width:64px;height:64px;border-radius:50%;background:var(--gold)}
body.ci .pg-sector .sechero .sh-body{position:static;padding:0;background:none;color:#000}
body.ci .pg-sector .sechero h1{color:#000;text-shadow:none;font-size:40px;line-height:1.05}
body.ci .pg-sector .sechero .sh-tag{color:var(--muted);text-shadow:none;font-family:var(--body);font-size:15px;letter-spacing:0;margin-top:10px}
body.ci .pg-sector .orgcards .card{padding:20px}
body.ci .pg-sector .orgcards .org-t a{color:#000}
body.ci .pg-sector .orgcards ul.clean a{color:#000}
@media (max-width:700px){
  body.ci .pg-sector .sechero{min-height:0;padding:26px 20px 24px;display:block}
  body.ci .pg-sector .sechero img{top:-24px;right:-24px;width:132px;height:132px;transform:none;box-shadow:none}
  body.ci .pg-sector .sechero::after{right:92px;bottom:auto;top:78px;width:34px;height:34px}
  body.ci .pg-sector .sechero .sh-body{padding-right:118px}
  body.ci .pg-sector .sechero h1{font-size:26px}
  body.ci .pg-sector .sechero .sh-tag{font-size:13.5px}
}

/* ---------- sector tiles (index.php, sector.php): photographs cropped in circles ---------- */
body.ci .pg-home .sectorgrid,body.ci .pg-sector .sectorgrid{gap:30px 20px;margin-top:22px}
body.ci .pg-home .sectortile,body.ci .pg-sector .sectortile{height:auto!important;background:none;border:0;border-radius:0;overflow:visible;
  color:#000;display:flex;flex-direction:column;align-items:center;text-align:center}
body.ci .pg-home .sectortile img,body.ci .pg-sector .sectortile img{position:static;width:100%;max-width:210px;height:auto;aspect-ratio:1;border-radius:50%;
  transition:box-shadow .15s}
body.ci .pg-sector .sectortile img{max-width:150px}
body.ci .pg-home .sectortile:hover img,body.ci .pg-sector .sectortile:hover img{transform:none;box-shadow:0 0 0 5px var(--gold)}
body.ci .pg-home .sectortile .st-body,body.ci .pg-sector .sectortile .st-body{position:static;background:none;padding:14px 4px 0}
body.ci .pg-home .sectortile .st-body b,body.ci .pg-sector .sectortile .st-body b{font-size:14.5px!important;text-transform:uppercase;letter-spacing:.03em;color:#000}
body.ci .pg-home .sectortile .st-body em{color:var(--muted);font-family:var(--body);font-size:12.5px;letter-spacing:0;margin-top:5px}
body.ci .pg-home .sectortile:hover .st-body b,body.ci .pg-sector .sectortile:hover .st-body b{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px}
@media (max-width:520px){
  body.ci .pg-home .sectorgrid,body.ci .pg-sector .sectorgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
}

/* ---------- index.php: public landing ---------- */
/* Keep the gold circle clear of the introduction: at 1366 it sat under the end of every
   line of the paragraph. Below 701px ci.css moves the circles to the corner. */
@media (min-width:1101px){
  body.ci .hero.home:not(.simple)::after{top:auto;bottom:-46px;right:160px;width:150px;height:150px;box-shadow:none}
}
/* 701-1100px: ci.css's tablet sizes lose to its own :not(.simple) rule, which kept the
   420px photo and squeezed the title into a 290px column at 1024. */
@media (min-width:701px) and (max-width:1100px){
  body.ci .hero.home:not(.simple) .wrap > *{max-width:calc(100% - 230px)}
  body.ci .hero.home:not(.simple)::before{width:280px;height:280px;top:-80px;right:-90px}
  body.ci .hero.home:not(.simple)::after{top:150px;right:40px;width:90px;height:90px;box-shadow:none}
}
/* Two figures a row on a phone rather than four full-width cards. */
@media (max-width:700px){
  body.ci .pg-home .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.ci .pg-home .kpi{padding:16px 14px 14px}
  body.ci .pg-home .kpi::before{top:16px;right:14px;width:10px;height:10px}
  body.ci .pg-home .kpi > .l:first-child{padding-right:14px}
  body.ci .pg-home .kpi .v{font-size:22px;line-height:1.15}
}

/* ---------- about.php ---------- */
body.ci .pg-about .vision b{background:linear-gradient(var(--gold),var(--gold)) 0 88%/100% .38em no-repeat;padding:0 1px}

/* ---------- social.php ---------- */
/* The note under "Channels & handles" belongs on its own line; without wrapping it
   squeezed the heading into two lines beside it. */
body.ci .pg-social .sect{flex-wrap:wrap}
/* "Tap a handle to open the channel": the handles carry an inline text-decoration:none
   for the classic look, which left them looking like plain text here. */
body.ci .pg-social .fact a[href]{text-decoration:underline!important;text-decoration-color:var(--gold)!important;text-decoration-thickness:2px!important}


/* =============================================================================
 * Final review fixes (October 2026)
 * ============================================================================= */
/* Anything a link or the keyboard brings into view clears the sticky top bar: 71px on a
   desktop, 117px on a phone where search takes a second row. */
body.ci [id],body.ci a,body.ci button,body.ci input,body.ci select,body.ci textarea,body.ci summary{scroll-margin-top:96px}
@media (max-width:1000px){
  body.ci [id],body.ci a,body.ci button,body.ci input,body.ci select,body.ci textarea,body.ci summary,
  body.ci .mt-actions tr[id],body.ci .evcard,body.ci .evlist tr[id],body.ci .evm-ev[id]{scroll-margin-top:132px}
}
/* Numbered section titles are sub-headlines: BOLD / CAPS in the guide. */
body.ci .ci-h h2{text-transform:uppercase}
body.ci .sect{text-transform:uppercase}
/* Placeholders and empty field edges readable against white and Cool Grey. */
body.ci ::placeholder{color:#67655c;opacity:1}
body.ci input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
body.ci select,body.ci textarea{border-color:#8f8c80}
body.ci .ci-search{border-color:#8f8c80}
body.ci .ci-search:focus-within{border-color:#000}
/* The guide's primary logo: the mark and wordmark on a black holding shape. */
.ci-tile{flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:#000;border-radius:9px}
.ci-brand .ci-tile{width:58px;height:72px;padding:7px 6px}
.ci-brand .ci-tile img{width:100%;height:auto}
.ci-top-brand .ci-tile{width:30px;height:38px;padding:4px 3px;border-radius:6px}
.ci-top-brand .ci-tile img{width:100%!important;height:auto}
/* Phones: primary small buttons get a comfortable 40px target. */
@media (max-width:700px){ body.ci .btn.sm{padding:12px 16px;font-size:11.5px} }
/* One document opened on its own reads at a comfortable width, not as a third of a grid. */
body.ci .lib-docmode .lib-docs{grid-template-columns:minmax(0,680px)}
body.ci .lib-docmode{padding-top:18px}
/* Public landing on a phone: the eyebrow stops short of the photo circle in the corner. */
@media (max-width:700px){ body.ci .hero.home:not(.simple) .wrap > .eyebrow{max-width:calc(100% - 130px)} }

/* The new look draws a hairline after the title, so its headings get the third track. */
body.ci .sect{grid-template-columns:auto minmax(0,max-content) minmax(24px,1fr)}
/* Controls in the sticky bar and sidebar are always in view: no scroll jump on focus. */
body.ci .ci-top *,body.ci .ci-side *{scroll-margin-top:0}
/* Stacked cards on the account page keep their gap in the two-column grid. */
body.ci .acct .ci-grid .card + .card{margin-top:16px}
/* Phones: small buttons, and the calendar's top buttons, get a 44px touch target. */
@media (max-width:700px){
  body.ci .btn.sm,body.ci .evtop .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px}
}
