/*
Theme Name: CIF Connect
Theme URI: https://b2bmatch.cif.cm
Description: Custom coded theme for CIF 2026 Business Connect, the B2B matchmaking platform of the Cameroon Investment Forum 2026. Navy, orange and white brand system, bilingual (EN/FR), mobile-first.
Version: 1.0.0
Author: CIF 2026 Business Connect team
Requires PHP: 8.0
Text Domain: cif-connect
*/

/* ============ Tokens ============ */
:root {
  --navy: #101C31; --navy-2: #172746; --navy-3: #22375F; --navy-soft: #E9EDF5;
  --orange: #E88715; --orange-600: #C66F0A; --orange-700: #A85C08; --orange-soft: #FDF1E3; --gold: #F5B041;
  --ink: #1B2433; --slate: #5B6577; --muted: #7A8496; --line: #E4E8EF; --surface: #F6F7FA; --white: #FFFFFF;
  --success: #1E8E5A; --success-soft: #E3F5EC; --danger: #C0392B; --danger-soft: #FCE9E7; --warn: #9A6400; --warn-soft: #FFF4DD; --info: #2458C6; --info-soft: #E8EFFD;
  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif; --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --sh-sm: 0 1px 2px rgba(16,28,49,.06), 0 1px 3px rgba(16,28,49,.05);
  --sh: 0 4px 14px rgba(16,28,49,.07), 0 1px 3px rgba(16,28,49,.05);
  --sh-lg: 0 18px 50px rgba(16,28,49,.14);
  --container: 1200px; --gutter: 20px; --header-h: 72px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--orange-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--white); padding: 10px 14px; border-radius: var(--r-sm); box-shadow: var(--sh); clip: auto; width: auto; height: auto; }
.cif-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.cif-muted { color: var(--slate); }
.cif-small { font-size: .85rem; }
.cif-grow { flex: 1; }
.cif-eyebrow { display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: .6rem; }
.cif-lead { font-size: 1.15rem; color: var(--slate); }
.cif-icon { flex: none; vertical-align: middle; }

/* ============ Buttons ============ */
.cif-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.25rem; border-radius: 10px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.cif-btn:hover { transform: translateY(-1px); }
.cif-btn:disabled { opacity: .6; cursor: default; transform: none; }
.cif-btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(232,135,21,.28); }
.cif-btn--primary:hover { background: var(--orange-600); color: var(--white); }
.cif-btn--secondary { background: var(--navy); color: var(--white); }
.cif-btn--secondary:hover { background: var(--navy-3); color: var(--white); }
.cif-btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.cif-btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.cif-btn--light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.cif-btn--light:hover { background: rgba(255,255,255,.16); color: var(--white); }
.cif-btn--success { background: var(--success); color: var(--white); }
.cif-btn--success:hover { background: #17744A; color: var(--white); }
.cif-btn--danger { background: var(--danger); color: var(--white); }
.cif-btn--danger-ghost { background: transparent; color: var(--danger); border-color: #F0C4BE; }
.cif-btn--danger-ghost:hover { background: var(--danger-soft); color: var(--danger); }
.cif-btn--sm { min-height: 36px; padding: .45rem .9rem; font-size: .85rem; border-radius: 8px; }
.cif-btn--lg { min-height: 54px; padding: .9rem 1.7rem; font-size: 1.02rem; }
.cif-btn--block { width: 100%; margin-top: .5rem; }
.cif-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; text-decoration: none; }
.cif-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--slate); cursor: pointer; }
.cif-iconbtn:hover { color: var(--orange-700); border-color: var(--orange); }
.cif-iconbtn.is-on { color: var(--white); background: var(--orange); border-color: var(--orange); }
.cif-iconbtn.is-on svg { fill: currentColor; }

/* ============ Tags, statuses, alerts ============ */
.cif-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .22rem .6rem; border-radius: 99px; background: var(--navy-soft); color: var(--navy-2); font-size: .78rem; font-weight: 500; line-height: 1.4; }
.cif-tag--accent { background: var(--orange-soft); color: var(--orange-700); }
.cif-tag--vip { background: linear-gradient(135deg, var(--orange), var(--gold)); color: var(--white); font-weight: 700; font-size: .68rem; letter-spacing: .06em; }
.cif-taglist { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.cif-status { display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: 99px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: var(--navy-soft); color: var(--navy-2); }
.cif-status.s-pending, .cif-status.s-submitted { background: var(--warn-soft); color: var(--warn); }
.cif-status.s-action { background: var(--orange); color: var(--white); }
.cif-status.s-confirmed, .cif-status.s-completed, .cif-status.s-prequalified, .cif-status.s-presented, .cif-status.s-closed { background: var(--success-soft); color: var(--success); }
.cif-status.s-declined, .cif-status.s-cancelled, .cif-status.s-no_show, .cif-status.s-rejected { background: var(--danger-soft); color: var(--danger); }
.cif-status.s-expired { background: var(--surface); color: var(--muted); }
.cif-status.s-negotiation { background: var(--info-soft); color: var(--info); }
.cif-alert { padding: .85rem 1.1rem; border-radius: var(--r); margin: 0 0 1rem; font-size: .95rem; border: 1px solid transparent; }
.cif-alert--success { background: var(--success-soft); color: #145C3B; border-color: #BFE6D2; }
.cif-alert--error { background: var(--danger-soft); color: #8E2A20; border-color: #F3C7C1; }
.cif-alert--warning { background: var(--warn-soft); color: #6E4A00; border-color: #F4DFAE; }
.cif-alert--info { background: var(--info-soft); color: #1C438F; border-color: #CADAF9; }
.cif-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); margin-bottom: 20px; }
.cif-banner p { margin: .25rem 0 0; font-size: .92rem; }
.cif-banner--pending { background: linear-gradient(135deg, #FFF6E6, #FDF1E3); color: #6E4A00; border: 1px solid #F4DFAE; }
.cif-banner--pending svg { color: var(--orange); }
.cif-banner--error { background: var(--danger-soft); color: #8E2A20; }

/* ============ Header ============ */
.cif-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .cif-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cif-header { top: 0; } }
.cif-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.cif-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.cif-brand img { width: 44px; height: 44px; }
.cif-brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.cif-brand__top { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.cif-brand__top b { color: var(--orange); font-weight: 700; }
.cif-brand__sub { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.cif-nav { flex: 1; }
.cif-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.cif-nav a { display: block; white-space: nowrap; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.cif-nav a:hover { background: var(--surface); color: var(--navy); }
.cif-nav .current-menu-item > a, .cif-nav a[aria-current] { color: var(--orange-700); background: var(--orange-soft); }
.cif-header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.cif-lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 99px; padding: 2px; }
.cif-lang a { padding: .28rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 700; color: var(--slate); text-decoration: none; letter-spacing: .04em; }
.cif-lang a.is-current { background: var(--navy); color: var(--white); }
.cif-burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--white); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
@media (max-width: 1240px) {
  .cif-burger { display: inline-flex; }
  .cif-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); padding: 12px var(--gutter) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .admin-bar .cif-nav { top: calc(var(--header-h) + 46px); }
  body.menu-open .cif-nav { display: block; }
  .cif-nav ul { flex-direction: column; }
  .cif-nav a { padding: .8rem 1rem; font-size: 1rem; }
  .cif-header__cta .cif-btn--ghost { display: none; }
}
@media (max-width: 560px) { .cif-brand__sub { display: none; } .cif-header__cta .cif-btn { padding: .5rem .8rem; font-size: .85rem; } .cif-header__in { gap: 12px; } }

/* ============ Hero ============ */
.cif-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 85% -10%, rgba(232,135,21,.28), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(245,176,65,.12), transparent 60%), var(--navy); color: #DCE3EF; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 100px); }
.cif-hero::after { content: ''; position: absolute; right: -180px; top: 50%; width: 720px; height: 720px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02), inset 0 -120px 160px -80px rgba(232,135,21,.35); pointer-events: none; }
.cif-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.cif-hero h1 { color: var(--white); margin-bottom: .35em; }
.cif-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--orange), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cif-hero .cif-eyebrow { color: var(--gold); }
.cif-hero__lead { font-size: 1.15rem; max-width: 40em; color: #C9D3E4; }
.cif-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.cif-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: #DCE3EF; }
.cif-hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.cif-hero__facts svg { color: var(--gold); }
.cif-hero__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: 28px; backdrop-filter: blur(6px); }
.cif-hero__card img.logo { display: block; width: 88px; margin: 0 auto 18px; }
.cif-hero__card h2 { color: var(--white); font-size: 1.1rem; text-align: center; margin-bottom: 18px; font-weight: 600; }
.cif-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cif-stat { background: rgba(255,255,255,.06); border-radius: var(--r); padding: 16px; }
.cif-stat b { display: block; font-family: var(--font-head); font-size: 1.35rem; white-space: nowrap; color: var(--white); line-height: 1.1; }
.cif-stat b small { font-size: .8rem; color: var(--gold); font-weight: 600; margin-left: 2px; }
.cif-stat span { font-size: .8rem; color: #AEB9CC; }
@media (max-width: 900px) { .cif-hero__grid { grid-template-columns: 1fr; gap: 36px; } .cif-hero::after { display: none; } }

/* ============ Sections ============ */
.cif-sec { padding: clamp(56px, 7vw, 96px) 0; }
.cif-sec--alt { background: var(--surface); }
.cif-sec--navy { background: var(--navy); color: #C9D3E4; }
.cif-sec--navy h2, .cif-sec--navy h3 { color: var(--white); }
.cif-sec__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.cif-sec__head p { color: var(--slate); font-size: 1.08rem; }
.cif-sec--navy .cif-sec__head p { color: #AEB9CC; }
.cif-sec__head--left { margin-left: 0; text-align: left; }
.cif-grid { display: grid; gap: 20px; }
.cif-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cif-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cif-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cif-grid--3, .cif-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cif-grid--2, .cif-grid--3, .cif-grid--4 { grid-template-columns: 1fr; } }
.cif-feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cif-feature:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: #D6DCE6; }
.cif-feature h3 { margin: 14px 0 8px; }
.cif-feature p { color: var(--slate); margin: 0; font-size: .95rem; }
.cif-feature__ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange-700); }
.cif-feature__ic--navy { background: var(--navy-soft); color: var(--navy); }
.cif-feature__num { font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--orange-700); letter-spacing: .08em; }
.cif-sec--navy .cif-feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.cif-sec--navy .cif-feature p { color: #AEB9CC; }
.cif-sec--navy .cif-feature__ic { background: rgba(232,135,21,.16); color: var(--gold); }
.cif-steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.cif-steprow { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.cif-steprow::before { counter-increment: st; content: counter(st); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.cif-steprow:nth-child(4)::before { background: var(--orange); }
.cif-steprow h3 { font-size: 1.05rem; }
.cif-steprow p { color: var(--slate); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .cif-steps-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cif-steps-row { grid-template-columns: 1fr; } }
.cif-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cif-sector { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; color: var(--navy); }
.cif-sector svg { color: var(--orange); flex: none; }
@media (max-width: 900px) { .cif-sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cif-sectors { grid-template-columns: 1fr; } }
.cif-timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cif-edition { padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cif-edition b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); }
.cif-edition h3 { font-size: .95rem; color: var(--white); margin: 2px 0 10px; }
.cif-edition ul { margin: 0; padding-left: 1.1em; font-size: .9rem; color: #AEB9CC; }
.cif-edition--now { background: linear-gradient(160deg, rgba(232,135,21,.22), rgba(232,135,21,.06)); border-color: rgba(232,135,21,.5); }
@media (max-width: 900px) { .cif-timeline-h { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cif-timeline-h { grid-template-columns: 1fr; } }
.cif-ctaband { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #C9D3E4; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cif-ctaband::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232,135,21,.45), transparent 65%); }
.cif-ctaband h2 { color: var(--white); margin-bottom: .3em; }
.cif-ctaband > * { position: relative; z-index: 1; }
.cif-ctaband__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .cif-ctaband { grid-template-columns: 1fr; } }
.cif-faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin-bottom: 10px; }
.cif-faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--font-head); font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.cif-faq summary::-webkit-details-marker { display: none; }
.cif-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange); font-weight: 400; }
.cif-faq details[open] summary::after { content: '\2212'; }
.cif-faq details > div { padding: 0 20px 18px; color: var(--slate); }
.cif-quote-hero { border-left: 4px solid var(--orange); padding: 6px 0 6px 22px; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); line-height: 1.45; }
.cif-quote-hero cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: .9rem; font-style: normal; color: var(--slate); }
.cif-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .cif-split { grid-template-columns: 1fr; gap: 32px; } }
.cif-checklist { list-style: none; padding: 0; margin: 0; }
.cif-checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.cif-checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A85C08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.cif-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cif-kv > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.cif-kv b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); }
.cif-kv span { color: var(--slate); font-size: .88rem; }
@media (max-width: 700px) { .cif-kv { grid-template-columns: 1fr 1fr; } }

/* ============ Programme ============ */
.cif-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cif-day { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cif-day header { padding: 18px 20px; background: var(--navy); color: var(--white); }
.cif-day header b { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.cif-day header span { font-size: .85rem; color: var(--gold); }
.cif-day ul { list-style: none; margin: 0; padding: 14px 20px 18px; }
.cif-day li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.cif-day li:last-child { border-bottom: 0; }
.cif-day li.is-b2b { color: var(--orange-700); font-weight: 600; }
.cif-day--pre header { background: var(--navy-3); }
@media (max-width: 960px) { .cif-days { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cif-days { grid-template-columns: 1fr; } }

/* ============ Page hero & content ============ */
.cif-pagehero { background: radial-gradient(700px 300px at 90% 0%, rgba(232,135,21,.25), transparent 60%), var(--navy); color: #C9D3E4; padding: clamp(40px, 6vw, 72px) 0; }
.cif-pagehero h1 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: .25em; }
.cif-pagehero p { margin: 0; max-width: 44em; font-size: 1.08rem; }
.cif-crumbs { font-size: .85rem; margin-bottom: 12px; color: #AEB9CC; }
.cif-crumbs a { color: #DCE3EF; text-decoration: none; }
.cif-page { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 90px); }
.cif-page--narrow .cif-container { max-width: 860px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.entry-content th, .entry-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content th { font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--surface); }
.cif-tablewrap { overflow-x: auto; }
.cif-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ============ Footer ============ */
.cif-footer { background: var(--navy); color: #AEB9CC; padding: 64px 0 28px; font-size: .93rem; }
.cif-footer a { color: #DCE3EF; text-decoration: none; }
.cif-footer a:hover { color: var(--gold); }
.cif-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.cif-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.cif-footer ul { list-style: none; margin: 0; padding: 0; }
.cif-footer li { margin-bottom: 8px; }
.cif-footer__brand img { width: 70px; margin-bottom: 14px; }
.cif-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.cif-footer__contact svg { color: var(--gold); margin-top: 3px; }
.cif-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.cif-footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .cif-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cif-footer__grid { grid-template-columns: 1fr; } }

/* ============ Cards (shared) ============ */
.cif-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); margin-bottom: 20px; }
.cif-card > h2, .cif-card__head h2 { font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cif-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cif-card__head h2 { margin: 0; }
.cif-card__head a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.cif-empty { text-align: center; padding: 44px 24px; color: var(--slate); }
.cif-empty svg { color: var(--orange); margin-bottom: 8px; }
.cif-empty h2 { font-size: 1.25rem; justify-content: center; }

/* ============ Forms ============ */
.cif-form { display: block; }
.cif-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.cif-field > label, .cif-field > legend { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; padding: 0; }
.cif-field .req { color: var(--orange-700); }
.cif-field input[type=text], .cif-field input[type=email], .cif-field input[type=tel], .cif-field input[type=url], .cif-field input[type=number], .cif-field input[type=password], .cif-field input[type=search], .cif-field select, .cif-field textarea, .cif-chat textarea, .cif-filter select, .cif-filter input {
  width: 100%; min-height: 46px; padding: .65rem .85rem; border: 1.5px solid #D5DBE5; border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.cif-field textarea { min-height: 96px; resize: vertical; }
.cif-field select, .cif-filter select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6577' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.cif-field input:focus, .cif-field select:focus, .cif-field textarea:focus, .cif-filter select:focus, .cif-filter input:focus, .cif-chat textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,135,21,.15); }
.cif-field input[type=file] { font-size: .9rem; }
.cif-field__help { font-size: .82rem; color: var(--slate); margin: 6px 0 0; }
.cif-field__error { font-size: .84rem; color: var(--danger); margin: 6px 0 0; font-weight: 500; }
.cif-field.has-error input, .cif-field.has-error select, .cif-field.has-error textarea { border-color: var(--danger); }
.cif-field.has-error > legend, .cif-field.has-error > label { color: var(--danger); }
.cif-field--inline { display: flex; align-items: flex-end; }
.cif-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cif-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 640px) { .cif-grid-2, .cif-grid-3 { grid-template-columns: 1fr; } }
.cif-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cif-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cif-chip { position: relative; }
.cif-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cif-chip span { display: inline-flex; align-items: center; gap: 6px; padding: .5rem .9rem; border: 1.5px solid #D5DBE5; border-radius: 99px; font-size: .88rem; color: var(--ink); background: var(--white); transition: all .15s; cursor: pointer; user-select: none; }
.cif-chip:hover span { border-color: var(--navy); }
.cif-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cif-chip input:checked + span::before { content: ''; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B041' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.cif-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.cif-chips.has-error .cif-chip span { border-color: #EAB4AD; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cif-typegrid__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cif-typecard { position: relative; display: block; }
.cif-typecard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cif-typecard__body { display: flex; align-items: center; min-height: 64px; padding: 12px 14px 12px 44px; border: 1.5px solid #D5DBE5; border-radius: var(--r); background: var(--white); font-size: .9rem; font-weight: 500; color: var(--ink); transition: all .15s; position: relative; cursor: pointer; }
.cif-typecard__body::before { content: ''; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #C2CAD6; background: var(--white); }
.cif-typecard input:checked + .cif-typecard__body { border-color: var(--orange); background: var(--orange-soft); color: var(--navy); box-shadow: 0 0 0 3px rgba(232,135,21,.12); }
.cif-typecard input:checked + .cif-typecard__body::before { border: 5px solid var(--orange); }
.cif-typecard input:focus-visible + .cif-typecard__body { outline: 3px solid var(--orange); outline-offset: 2px; }
.cif-toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-bottom: 14px; position: relative; }
.cif-toggle input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.cif-toggle__ui { flex: none; width: 44px; height: 26px; border-radius: 99px; background: #CBD2DD; position: relative; transition: background .15s; }
.cif-toggle__ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-sm); transition: transform .15s; }
.cif-toggle input:checked + .cif-toggle__ui { background: var(--success); }
.cif-toggle input:checked + .cif-toggle__ui::after { transform: translateX(18px); }
.cif-toggle input:focus-visible + .cif-toggle__ui { outline: 3px solid var(--orange); outline-offset: 2px; }
.cif-toggle__text { font-size: .93rem; color: var(--ink); padding-top: 2px; }
.cif-toggle__text small { display: block; color: var(--slate); font-size: .82rem; margin-top: 2px; }
.cif-check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .93rem; }
.cif-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.cif-consent { padding: 16px; background: var(--surface); border-radius: var(--r); border: 1.5px solid transparent; margin-top: 8px; }
.cif-consent.has-error { border-color: var(--danger); }
.cif-pass { position: relative; }
.cif-pass input { padding-right: 48px !important; }
.cif-pass__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--slate); cursor: pointer; border-radius: 8px; }
.cif-pass__toggle.is-on { color: var(--orange-700); }
.cif-meter { height: 5px; background: var(--line); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.cif-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .2s, background .2s; }
.cif-meter span.ok { background: var(--warn); }
.cif-meter span.strong { background: var(--success); }
.cif-logo-current { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.cif-logo-current .cif-toggle { margin: 0; }
.cif-form__foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 10px; }

/* Register & auth */
.cif-authpage { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; min-height: calc(100vh - var(--header-h)); }
.cif-authpage__side { position: relative; overflow: hidden; background: radial-gradient(600px 400px at 100% 0%, rgba(232,135,21,.35), transparent 60%), var(--navy); color: #C9D3E4; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.cif-authpage__side h1 { color: var(--white); font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }
.cif-authpage__side img { width: 76px; margin-bottom: 26px; }
.cif-authpage__side .cif-checklist li { color: #DCE3EF; }
.cif-authpage__side .cif-checklist li::before { background-color: rgba(232,135,21,.25); }
.cif-authpage__main { padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 72px); background: var(--surface); }
.cif-authpage__main > .cif-authpage__inner { max-width: 820px; margin: 0 auto; }
.cif-authpage--login .cif-authpage__main > .cif-authpage__inner { max-width: 460px; }
.cif-authpage__main h2.cif-authtitle { font-size: 1.7rem; margin-bottom: 6px; }
@media (max-width: 900px) { .cif-authpage { grid-template-columns: 1fr; } .cif-authpage__side { padding: 32px var(--gutter); } .cif-authpage__side .cif-checklist { display: none; } }
.cif-stepper { display: flex; list-style: none; margin: 0 0 22px; padding: 0; gap: 6px; counter-reset: none; }
.cif-stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--muted); font-weight: 500; cursor: default; }
.cif-stepper li::before { content: ''; height: 5px; border-radius: 99px; background: var(--line); }
.cif-stepper li.is-done { cursor: pointer; color: var(--navy); }
.cif-stepper li.is-done::before { background: var(--navy); }
.cif-stepper li.is-active { color: var(--orange-700); font-weight: 600; }
.cif-stepper li.is-active::before { background: var(--orange); }
.cif-stepper .n { display: none; }
@media (max-width: 640px) { .cif-stepper .t { display: none; } .cif-stepper li.is-active .t { display: inline; } }
.cif-steps { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--sh); }
.js .cif-step { display: none; }
.cif-step.is-active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cif-step h2 { font-size: 1.35rem; }
.cif-step__lead { color: var(--slate); margin-top: -4px; }
.cif-steps__nav { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 20px; }
.cif-steps__count { flex: 1; text-align: center; font-size: .85rem; color: var(--muted); }
.cif-register__login, .cif-auth__alt { text-align: center; margin-top: 18px; color: var(--slate); }
.cif-auth { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--sh); }
.cif-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; font-size: .9rem; }

/* ============ Live stats ============ */
.cif-live { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cif-live__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-align: center; }
.cif-live__n { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy); }
.cif-live__l { font-size: .85rem; color: var(--slate); }
@media (max-width: 700px) { .cif-live { grid-template-columns: 1fr 1fr; } }

/* ============ App shell ============ */
.page-template-template-app { background: var(--surface); }
.cif-appwrap { padding: 28px 0 60px; }
.cif-appwrap .cif-container { max-width: 1320px; }
.cif-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.cif-app__nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--sh-sm); }
.admin-bar .cif-app__nav { top: calc(var(--header-h) + 52px); }
.cif-app__me { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.cif-app__me > div strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.25; }
.cif-app__me > div span { font-size: .8rem; color: var(--slate); display: block; line-height: 1.3; }
.cif-app__nav ul { list-style: none; margin: 0; padding: 0; }
.cif-app__nav a { display: flex; align-items: center; gap: 12px; padding: .65rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.cif-app__nav a:hover { background: var(--surface); color: var(--navy); }
.cif-app__nav a.is-active { background: var(--navy); color: var(--white); }
.cif-app__nav a.is-active svg { color: var(--gold); }
.cif-app__nav svg { color: var(--slate); }
.cif-app__nav a span:not(.cif-badge) { flex: 1; }
.cif-app__navfoot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.cif-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: var(--white); font-size: .72rem; font-weight: 700; }
.cif-app__main { min-width: 0; }
.cif-app__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cif-app__head h1 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 4px; }
.cif-app__head p { margin: 0; color: var(--slate); }
.cif-app__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cif-back { display: inline-block; margin-bottom: 14px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--slate); }
@media (max-width: 960px) {
  .cif-app { grid-template-columns: 1fr; }
  .cif-appwrap { padding-bottom: 96px; }
  .cif-app__nav { position: fixed; top: auto !important; bottom: 0; left: 0; right: 0; z-index: 90; border-radius: 16px 16px 0 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(16,28,49,.12); }
  .cif-app__me, .cif-app__navfoot { display: none; }
  .cif-app__nav ul { display: grid; grid-template-columns: repeat(6, 1fr); }
  .cif-app__nav a { flex-direction: column; gap: 3px; padding: 8px 2px; font-size: .64rem; text-align: center; position: relative; }
  .cif-app__nav a span:not(.cif-badge) { flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .cif-app__nav .cif-badge { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; font-size: .65rem; }
}
.cif-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; overflow: hidden; font-family: var(--font-head); font-weight: 600; color: var(--white); background: var(--navy); }
.cif-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cif-avatar.has-img { background: var(--white); border: 1px solid var(--line); }
.cif-avatar--md { width: 44px; height: 44px; font-size: .9rem; }
.cif-avatar--lg { width: 60px; height: 60px; font-size: 1.1rem; }
.cif-avatar--xl { width: 96px; height: 96px; font-size: 1.7rem; }
.cif-avatar.tone-1 { background: var(--orange-700); }
.cif-avatar.tone-2 { background: var(--navy-3); }
.cif-avatar.tone-3 { background: #2F6B5A; }
.cif-avatar.tone-4 { background: #6B4E9B; }

/* Dashboard */
.cif-countdown { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: #C9D3E4; border: 0; }
.cif-countdown .cif-eyebrow { color: var(--gold); margin: 0; }
.cif-countdown__n { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.cif-countdown__n span { font-size: 1.8rem; font-weight: 700; }
.cif-countdown__place { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; }
.cif-countdown__place svg { color: var(--gold); }
.cif-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.cif-kpi { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; text-decoration: none; box-shadow: var(--sh-sm); transition: box-shadow .15s, transform .15s; }
.cif-kpi:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.cif-kpi svg { color: var(--orange); margin-bottom: 4px; }
.cif-kpi__n { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.cif-kpi__n small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.cif-kpi__l { font-size: .84rem; color: var(--slate); line-height: 1.35; }
@media (max-width: 1100px) { .cif-kpis { grid-template-columns: 1fr 1fr; } }
.cif-progress-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cif-progress-card > div { flex: 1; min-width: 240px; }
.cif-progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 10px 0 8px; }
.cif-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 99px; }
.cif-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cif-cols { grid-template-columns: 1fr; } }
.cif-section { margin-top: 12px; }
.cif-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cif-section__head h2 { font-size: 1.3rem; margin: 0; }

/* Person cards */
.cif-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.cif-pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm); transition: box-shadow .2s, transform .2s; }
.cif-pcard:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.cif-pcard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.cif-pcard__name { font-size: 1.05rem; margin: 0 0 2px; }
.cif-pcard__name a { color: var(--navy); text-decoration: none; }
.cif-pcard__name a:hover { color: var(--orange-700); }
.cif-pcard__org { font-size: .88rem; color: var(--slate); margin: 0 0 6px; line-height: 1.4; }
.cif-pcard__org strong { color: var(--ink); font-weight: 600; }
.cif-pcard__meta { display: flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.cif-pcard__type { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cif-pcard__actions { margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 12px; }
.cif-pcard__actions .cif-fav { margin-left: auto; }
.cif-fav { margin: 0; }
.cif-reasons { list-style: none; margin: 0 0 6px; padding: 0; font-size: .84rem; color: var(--ink); }
.cif-reasons li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; line-height: 1.4; }
.cif-reasons svg { color: var(--success); margin-top: 2px; }
.cif-ring { position: relative; width: 58px; height: 58px; flex: none; }
.cif-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.cif-ring circle { fill: none; stroke-width: 5; }
.cif-ring .bg { stroke: var(--line); }
.cif-ring .fg { stroke: var(--navy); stroke-linecap: round; }
.cif-ring--excellent .fg { stroke: var(--orange); }
.cif-ring--strong .fg { stroke: #D98A2B; }
.cif-ring--good .fg { stroke: var(--navy-3); }
.cif-ring--low .fg { stroke: #9AA5B8; }
.cif-ring > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); color: var(--navy); }
.cif-ring b { font-size: 1.05rem; }
.cif-ring small { font-size: .62rem; margin-top: 3px; color: var(--slate); }

/* Filters */
.cif-filters { padding: 16px; }
.cif-filter { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--slate); min-width: 0; }
.cif-filter select { min-height: 40px; font-size: .9rem; padding-top: .4rem; padding-bottom: .4rem; }
.cif-filter--search { flex-direction: row; align-items: center; position: relative; margin-bottom: 12px; }
.cif-filter--search svg { position: absolute; left: 14px; color: var(--muted); }
.cif-filter--search input { padding-left: 44px; }
.cif-filters__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1200px) { .cif-filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cif-filters__row { grid-template-columns: 1fr 1fr; } }
.cif-filters__foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 12px; }
.cif-filters--inline { display: flex; gap: 12px; align-items: flex-end; }
.cif-filters--inline .cif-filter { max-width: 320px; flex: 1; }
.cif-count { font-size: .88rem; color: var(--slate); margin: 0 0 12px; }
.cif-pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.cif-pager a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; }
.cif-pager a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cif-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.cif-tabs a { display: inline-flex; gap: 8px; align-items: center; padding: .7rem 1rem; text-decoration: none; color: var(--slate); font-weight: 600; font-size: .93rem; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.cif-tabs a.is-active { color: var(--navy); border-bottom-color: var(--orange); }
.cif-tabs__n { background: var(--surface); color: var(--slate); border-radius: 99px; padding: 0 8px; font-size: .75rem; line-height: 20px; }
.cif-tabs a.is-active .cif-tabs__n { background: var(--orange-soft); color: var(--orange-700); }

/* Meeting rows */
.cif-mlist { display: flex; flex-direction: column; }
.cif-card.cif-mlist { padding: 6px; }
.cif-mrow { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.cif-mrow:hover { background: var(--surface); }
.cif-mrow + .cif-mrow { border-top: 1px solid var(--line); }
.cif-mrow__body { flex: 1; min-width: 0; }
.cif-mrow__body strong { display: block; color: var(--navy); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cif-mrow__body span { display: block; font-size: .84rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cif-mrow__when { display: flex; flex-direction: column; align-items: flex-end; font-size: .84rem; color: var(--ink); font-weight: 500; text-align: right; }
.cif-mrow__when small { color: var(--orange-700); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.cif-mrow > svg:last-child { color: var(--muted); }
@media (max-width: 640px) { .cif-mrow { flex-wrap: wrap; } .cif-mrow__when { order: 3; width: 100%; align-items: flex-start; flex-direction: row; gap: 10px; padding-left: 58px; } .cif-mrow > svg:last-child { display: none; } }

/* Profile / detail layout */
.cif-profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.cif-profile__side { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1100px) { .cif-profile { grid-template-columns: 1fr; } .cif-profile__side { position: static; } }
.cif-profile__head { display: flex; gap: 20px; align-items: flex-start; position: relative; }
.cif-profile__head h1 { font-size: 1.6rem; margin: 4px 0 4px; }
.cif-profile__head p { margin: 0 0 6px; }
.cif-profile__head .cif-fav { position: absolute; top: 20px; right: 20px; }
.cif-profile__role { color: var(--slate); }
.cif-profile__role strong { color: var(--ink); }
@media (max-width: 560px) { .cif-profile__head { flex-direction: column; } }
.cif-prose p:last-child { margin-bottom: 0; }
.cif-dl__row { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cif-dl__row:last-of-type { border-bottom: 0; }
.cif-dl dt { font-weight: 600; font-size: .88rem; color: var(--slate); }
.cif-dl dd { margin: 0; }
@media (max-width: 560px) { .cif-dl__row { grid-template-columns: 1fr; gap: 4px; } }
.cif-links { display: flex; flex-direction: column; gap: 6px; }
.cif-links a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 500; word-break: break-all; }
.cif-matchbox__top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.cif-matchbox__top strong { display: block; font-family: var(--font-head); color: var(--navy); }
.cif-matchbox__top span { font-size: .84rem; }
.cif-plist { display: flex; flex-direction: column; gap: 8px; }
.cif-plist__item { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.cif-plist__item:hover { border-color: var(--orange); }
.cif-plist__item strong { color: var(--navy); }
.cif-plist__item span { font-size: .85rem; color: var(--slate); }
.cif-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cif-mini strong { display: block; color: var(--navy); }
.cif-mini span { font-size: .85rem; color: var(--slate); }

/* Slot picker */
.cif-slots__days { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.cif-slots__day { flex: 1; min-width: 100px; display: flex; flex-direction: column; align-items: center; padding: 10px 8px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.cif-slots__day small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--slate); }
.cif-slots__day.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.cif-slots__day.is-active small { color: var(--gold); }
.cif-slots__panel { display: none; }
.cif-slots__panel.is-active { display: block; }
.cif-slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.cif-slot { position: relative; }
.cif-slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cif-slot span { display: flex; align-items: center; justify-content: center; height: 42px; border: 1.5px solid #D5DBE5; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); background: var(--white); transition: all .12s; }
.cif-slot:hover span { border-color: var(--orange); }
.cif-slot input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--white); }
.cif-slot input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }

/* Meeting detail */
.cif-meeting__head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.cif-meeting__head > div { flex: 1; min-width: 200px; }
.cif-meeting__head h1 { font-size: 1.4rem; margin: 0 0 2px; }
.cif-meeting__head h1 a { color: var(--navy); text-decoration: none; }
.cif-meeting__head p { margin: 0; color: var(--slate); }
.cif-meeting__head .cif-eyebrow { margin-bottom: 2px; }
.cif-meeting__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cif-meeting__facts > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--surface); }
.cif-meeting__facts svg { color: var(--orange); margin-top: 2px; }
.cif-meeting__facts small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cif-meeting__facts strong { display: block; color: var(--navy); font-size: .95rem; }
.cif-meeting__facts em { display: block; font-style: normal; font-size: .82rem; color: var(--slate); }
.cif-meeting__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cif-meeting__actions form { margin: 0; }
.cif-quote { margin: 0 0 14px; padding: 14px 16px; border-left: 3px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; }
.cif-quote small { display: block; font-weight: 600; color: var(--orange-700); margin-bottom: 4px; }
.cif-quote--alt { border-left-color: var(--navy); background: var(--navy-soft); }
.cif-drawer { margin-top: 18px; padding: 18px; border-radius: var(--r); border: 1px dashed #C9D1DD; background: #FBFCFE; }
.cif-drawer h3 { font-size: 1.05rem; }
.cif-chat__list { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 12px; }
.cif-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); align-self: flex-start; }
.cif-msg p { margin: 0; font-size: .92rem; }
.cif-msg time { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.cif-msg.is-mine { align-self: flex-end; background: var(--navy); color: var(--white); border-radius: 14px 14px 4px 14px; }
.cif-msg.is-mine time { color: #AEB9CC; }
.cif-chat__form { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
.cif-chat__form textarea { min-height: 46px; resize: vertical; flex: 1; }

/* Agenda */
.cif-agenda__day h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cif-agenda__day h2 span { font-family: var(--font-body); font-size: .85rem; font-weight: 500; }
.cif-timeline { list-style: none; margin: 0; padding: 0; }
.cif-timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 8px 0; position: relative; }
.cif-timeline time { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; padding-top: 12px; }
.cif-timeline time small { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; }
.cif-timeline__card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--r); text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.cif-timeline__card:hover { box-shadow: var(--sh); }
.cif-timeline__card > span:nth-child(2) { flex: 1; min-width: 160px; }
.cif-timeline__card strong { display: block; color: var(--navy); }
.cif-timeline__card span span { font-size: .85rem; color: var(--slate); }
.cif-timeline__loc { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-700); font-size: .88rem; background: var(--orange-soft); padding: 6px 10px; border-radius: 8px; }
.cif-print-head { display: none; }

/* Projects */
.cif-projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.cif-project-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-sm); transition: box-shadow .2s, transform .2s; }
a.cif-project-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.cif-project-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.cif-project-card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.cif-project-card p { font-size: .9rem; }
.cif-project-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.cif-project-card__facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.cif-project-card__facts dd { margin: 0; font-weight: 600; color: var(--navy); font-size: .92rem; }
.cif-project-card__by { margin: 10px 0 0; font-size: .82rem; color: var(--slate); }
.cif-project-card__need strong { color: var(--navy); }

/* Notifications & misc */
.cif-notifs { padding: 6px; }
.cif-notif { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-size: .93rem; }
.cif-notif:hover { background: var(--surface); }
.cif-notif + .cif-notif { border-top: 1px solid var(--line); }
.cif-notif span:nth-child(2) { flex: 1; }
.cif-notif time { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.cif-notif__dot { width: 9px; height: 9px; border-radius: 50%; background: transparent; flex: none; }
.cif-notif.is-unread { font-weight: 600; }
.cif-notif.is-unread .cif-notif__dot { background: var(--orange); }
.cif-sticky-save { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: flex-end; }
.cif-sticky-save .cif-btn { box-shadow: var(--sh-lg); }
@media (max-width: 960px) { .cif-sticky-save { bottom: 86px; } }
.cif-badgecard { text-align: center; }
.cif-badgecard h2 { justify-content: center; }
.cif-qr { width: 200px; height: 200px; margin: 0 auto 10px; background: var(--white); padding: 8px; border-radius: var(--r); border: 1px solid var(--line); }
.cif-qr svg { width: 100%; height: 100%; display: block; }

/* ============ 404 ============ */
.cif-404 { text-align: center; padding: 96px 0; }
.cif-404 b { display: block; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--orange); }

/* ============ Print ============ */
@media print {
  .cif-header, .cif-footer, .cif-app__nav, .cif-app__actions, .cif-banner, .cif-alert, .cif-back, .cif-btn { display: none !important; }
  body, .page-template-template-app { background: #fff; }
  .cif-app { display: block; }
  .cif-card { box-shadow: none; break-inside: avoid; border-color: #ccc; }
  .cif-print-head { display: block; font-size: 14px; margin-bottom: 12px; }
  .cif-timeline__card { border-left-color: #000; }
  a { color: #000; text-decoration: none; }
}
@media (max-width: 400px) { .cif-brand__txt { display: none; } .cif-lang a { padding: .25rem .45rem; } .cif-header__in { gap: 8px; } }
.cif-nav__lang { display: none; }
@media (max-width: 600px) { .cif-header__cta > .cif-lang { display: none; } .cif-nav__lang { display: block; padding: 12px 1rem 0; } .cif-header__cta .cif-btn { padding: .45rem .7rem; } }
.cif-header__cta { margin-left: auto; }
@media (max-width: 1440px) { .cif-nav a { padding: .5rem .55rem; font-size: .9rem; } .cif-header__in { gap: 16px; } .cif-header__cta .cif-btn--ghost { display: none; } }
