/* ==========================================================================
   GIPMD member pages: "the project plan"
   --------------------------------------------------------------------------
   GIPMD's own look for the affiliation pages (the other six projects each have
   a different one). A membership is shown the way a project is run: a plan bar
   with numbered workstreams and a red / amber / green lamp, a status report
   with a Gantt chart, milestones as diamonds, phases as chevrons.
   Colours and fonts are those of the website (gipmd.css): ink navy, brand blue,
   cyan, Fraunces headings, Manrope text, JetBrains Mono labels.
   ========================================================================== */

.af-root.afg {
  --af-surface: #ffffff;
  --af-surface-2: #f3f8fc;
  --af-line: #dbe6f1;
  --af-line-strong: #b9cbdd;
  --af-text: #0b1b33;
  --af-muted: #66788f;
  --af-primary: #0b1b33;
  --af-primary-ink: #ffffff;
  --af-accent: #1673c4;
  --af-ok: #0d7a5f;        --af-ok-bg: #e3f6ef;
  --af-warn: #a35a00;      --af-warn-bg: #fff2d6;
  --af-bad: #b22234;       --af-bad-bg: #fbe9ec;
  --af-info: #1673c4;      --af-info-bg: #e6f3fb;
  --af-radius: 18px;
  --af-radius-sm: 12px;
  --af-font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --af-display: 'Fraunces', Georgia, serif;
  --af-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --af-shadow: 0 1px 2px rgba(11, 27, 51, .04), 0 12px 40px -18px rgba(11, 27, 51, .18);
  --afg-grad: linear-gradient(100deg, #2679bf 0%, #0aa7d6 55%, #2bc2d8 100%);
  --afg-cyan: #14bfdb;
  --afg-navy: #0d2a52;
  background: #f6f9fc;
  padding-bottom: 72px;
}
[dir="rtl"] .af-root.afg { --af-font: 'IBM Plex Sans Arabic', 'Manrope', sans-serif; --af-display: 'Amiri', 'Fraunces', serif; }

.afg h2, .afg h3 { letter-spacing: -.01em; font-weight: 600; }
.afg .af-eyebrow, .afg .af-kv dt, .afg .af-table th, .afg .af-fee__label { font-family: var(--af-mono); font-size: 11.5px; letter-spacing: .12em; font-weight: 500; color: var(--af-accent); }
.afg .af-kv dt, .afg .af-table th, .afg .af-fee__label { color: var(--af-muted); }
.afg .af-card__title { font-size: 22px; font-weight: 600; }
.afg .af-pill { font-family: var(--af-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 4px 10px; }
.afg .af-step__no { color: #1197d2; }
.afg .af-step__title { font-weight: 600; }

/* buttons: the pills of the site */
.afg .af-btn { border-radius: 999px; font-weight: 700; font-size: 15px; padding: 11px 22px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, border-color .25s; }
.afg .af-btn i { font-size: 13px; }
.afg .af-btn--primary:hover { background: var(--afg-navy); filter: none; box-shadow: 0 14px 30px -14px rgba(11, 27, 51, .6); transform: translateY(-1px); }
.afg .af-btn--ghost { background: #fff; border-color: var(--af-line); }
.afg .af-btn--ghost:hover { border-color: #1197d2; color: var(--af-accent) !important; }
.afg .af-btn--link { border-radius: 0; font-weight: 600; }
.afg .af-btn--sm { padding: 7px 16px; font-size: 13.5px; }

/* inputs */
.afg .af-label { font-size: 13.5px; font-weight: 700; }
.afg .af-input { border-radius: 12px; border-color: var(--af-line); background: #fbfdff; }
.afg .af-input:focus { border-color: #1197d2; background: #fff; box-shadow: 0 0 0 4px rgba(20, 191, 219, .16); }
.afg .af-tile__body { border-color: var(--af-line); border-radius: 14px; }
.afg .af-tile input:checked + .af-tile__body { border-color: #1197d2; background: #eef8fd; box-shadow: inset 0 0 0 1px #1197d2; }
.afg .af-tile input:checked + .af-tile__body i { color: #1197d2; }
.afg .af-choice input, .afg .af-check input { accent-color: #1197d2; }
.afg .af-upload__drop:hover, .afg .af-upload.has-files .af-upload__drop { border-color: #1197d2; color: var(--af-accent); }
.afg .af-fee__amount, .afg .af-pay__amount { font-weight: 600; }

/* ---------- plan bar ---------- */
.afg-bar { background: #fff; border-bottom: 1px solid var(--af-line); box-shadow: 0 10px 30px -24px rgba(11, 27, 51, .5); }
.afg-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.afg-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-inline-start: -14px; }
.afg-tabs::-webkit-scrollbar { display: none; }
.afg-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 20px 14px 18px; font-weight: 700; font-size: 14.5px; color: var(--af-muted) !important; white-space: nowrap; text-decoration: none !important; }
.afg-tab__no { font-family: var(--af-mono); font-size: 11px; font-weight: 500; color: #9db0c5; letter-spacing: .06em; }
.afg-tab::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--afg-grad); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.afg-tab:hover { color: var(--af-text) !important; }
.afg-tab.is-active { color: var(--af-text) !important; }
.afg-tab.is-active .afg-tab__no { color: #1197d2; }
.afg-tab.is-active::after, .afg-tab:hover::after { transform: scaleX(1); }
.afg-tab__flag { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--af-bad); color: #fff; font-size: 11px; font-family: var(--af-mono); display: inline-grid; place-items: center; }
.afg-bar__side { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.afg-rag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--af-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--af-text); padding: 6px 12px; border: 1px solid var(--af-line); border-radius: 999px; background: #fff; }
.afg-rag i, .afg-lamp { width: 9px; height: 9px; border-radius: 50%; background: #9db0c5; flex: none; display: inline-block; }
.afg-rag--green i, .afg-kpi--green .afg-lamp { background: #12a37a; box-shadow: 0 0 0 4px rgba(18, 163, 122, .18); }
.afg-rag--amber i, .afg-kpi--amber .afg-lamp { background: #e29a12; box-shadow: 0 0 0 4px rgba(226, 154, 18, .2); }
.afg-rag--red i, .afg-kpi--red .afg-lamp { background: #b22234; box-shadow: 0 0 0 4px rgba(178, 34, 52, .18); }
.afg-id { font-family: var(--af-mono); font-size: 12px; color: var(--af-muted); letter-spacing: .06em; }
.afg-bar__side form { margin: 0; }
.afg-out { border: 0; background: none; color: var(--af-muted); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 6px 4px; font-family: inherit; }
.afg-out:hover { color: var(--af-bad); }

.afg-page { padding-top: 34px; }
.af-root.af-root .afg-lead { font-size: 17px; color: #34475f; max-width: 780px; margin: 0 0 26px; }

/* ---------- status report ---------- */
.afg-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.afg-kpi { position: relative; background: #fff; border: 1px solid var(--af-line); border-radius: 18px; padding: 20px 22px 18px; box-shadow: var(--af-shadow); display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.afg-kpi::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--afg-grad); }
.afg-kpi--amber::before { background: #e29a12; }
.afg-kpi--red::before { background: #b22234; }
.afg-kpi--grey::before { background: #c7d4e2; }
.afg-kpi__label { font-family: var(--af-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--af-muted); }
.afg-kpi__value { font-family: var(--af-display); font-size: 40px; line-height: 1.05; font-weight: 600; color: var(--af-text); letter-spacing: -.02em; overflow-wrap: anywhere; }
.afg-kpi__value--text { font-size: 24px; line-height: 1.25; display: flex; align-items: center; gap: 12px; min-height: 42px; }
.afg-kpi__value--mono { font-family: var(--af-mono); font-size: 21px; letter-spacing: 0; line-height: 1.3; min-height: 42px; display: flex; align-items: center; }
.afg-kpi__foot { font-size: 13px; color: var(--af-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afg-kpi__meter { height: 6px; border-radius: 3px; background: #e9f0f7; overflow: hidden; margin-top: 6px; }
.afg-kpi__meter i { display: block; height: 100%; background: var(--afg-grad); border-radius: inherit; }

/* ---------- the plan (Gantt) ---------- */
.afg-plan__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.afg-plan__head .af-card__title { margin: 4px 0 0; }
.af-root .afg-legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--af-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--af-muted); }
.afg-legend li { display: inline-flex; align-items: center; gap: 6px; }
.afg-legend li::before { content: ""; width: 18px; height: 8px; border-radius: 4px; background: var(--afg-grad); }
.afg-legend .is-current::before { background: repeating-linear-gradient(135deg, #1197d2 0 4px, #7fd3ee 4px 8px); }
.afg-legend .is-todo::before { background: none; border: 1px dashed #9db0c5; }
.afg-legend .is-problem::before { background: #b22234; }

.afg-gantt { --task: 210px; border: 1px solid var(--af-line); border-radius: 14px; overflow: hidden; }
.afg-gantt__scale, .afg-gantt__row { display: grid; grid-template-columns: var(--task) minmax(0, 1fr); }
.afg-gantt__scale { background: var(--af-surface-2); border-bottom: 1px solid var(--af-line); }
.afg-gantt__scale > div { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.afg-gantt__scale b { font-family: var(--af-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--af-muted); padding: 9px 12px; border-inline-start: 1px solid var(--af-line); }
.afg-gantt__row + .afg-gantt__row { border-top: 1px solid #e9f0f7; }
.afg-gantt__task { display: flex; align-items: center; gap: 10px; padding: 14px 16px; min-width: 0; }
.afg-gantt__task strong { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afg-gantt__wbs { font-family: var(--af-mono); font-size: 11.5px; color: #9db0c5; flex: none; }
.afg-gantt__name { display: grid; min-width: 0; }
.afg-gantt__name small { display: none; font-size: 11.5px; color: var(--af-muted); line-height: 1.3; }
.afg-gantt__lane { position: relative; padding: 10px 0; background-image: linear-gradient(90deg, var(--af-line) 1px, transparent 1px); background-size: calc(100% / var(--n)) 100%; }
.afg-gantt__bar { display: flex; align-items: center; height: 32px; width: calc(100% / var(--n) - 12px); margin-inline-start: calc(var(--i) * (100% / var(--n)) + 6px); border-radius: 8px; padding: 0 12px; background: var(--afg-grad); color: #fff; min-width: 0; }
.afg-gantt__bar em { font-style: normal; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afg-gantt__row.is-current .afg-gantt__bar { background: repeating-linear-gradient(135deg, #1197d2 0 10px, #45b6e2 10px 20px); background-size: 200% 100%; animation: afg-move 2.4s linear infinite; }
.afg-gantt__row.is-todo .afg-gantt__bar { background: #fff; border: 1px dashed #9db0c5; color: var(--af-muted); }
.afg-gantt__row.is-problem .afg-gantt__bar { background: #b22234; }
.afg-gantt__row.is-todo .afg-gantt__task strong { color: var(--af-muted); font-weight: 600; }
@keyframes afg-move { to { background-position: -56.57px 0; } }
@media (prefers-reduced-motion: reduce) { .afg-gantt__row.is-current .afg-gantt__bar { animation: none; } }

.afg-period { margin-top: 22px; padding: 18px 20px 26px; border-radius: 14px; background: var(--af-surface-2); border: 1px solid var(--af-line); }
.afg-period__ends { display: flex; justify-content: space-between; gap: 12px; font-family: var(--af-mono); font-size: 13px; color: var(--af-text); margin-bottom: 12px; }
.afg-period__ends b { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--af-muted); }
.afg-period__ends span:last-child { text-align: end; }
.afg-period__track { position: relative; height: 12px; border-radius: 6px; background: #dfe9f3; }
.afg-period__track > i { display: block; height: 100%; border-radius: inherit; background: var(--afg-grad); }
.afg-period--amber .afg-period__track > i { background: #e29a12; }
.afg-period--red .afg-period__track > i { background: #b22234; }
.afg-period__today { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--af-text); transform: translateX(-1px); }
.afg-period__today em { position: absolute; top: calc(100% + 2px); inset-inline-start: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--af-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--af-text); white-space: nowrap; }
[dir="rtl"] .afg-period__today em { transform: translateX(50%); }
.afg-period__today.is-start em, [dir="rtl"] .afg-period__today.is-start em { inset-inline-start: 0; transform: none; }
.afg-period__today.is-end em, [dir="rtl"] .afg-period__today.is-end em { inset-inline-start: auto; inset-inline-end: 0; transform: none; }

/* ---------- next milestone and deliverables ---------- */
.afg-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; align-items: stretch; }
.afg-split > .af-card { margin-bottom: 0; }
.afg-milestone { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 28px; border-radius: 18px; background: var(--af-text); color: #fff; overflow: hidden; }
.afg-milestone::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 100% 0, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 100% 0, #000 10%, transparent 70%); pointer-events: none; }
.afg-milestone__mark { flex: none; width: 34px; height: 34px; margin-top: 6px; transform: rotate(45deg); border-radius: 6px; background: var(--afg-cyan); box-shadow: 0 0 0 6px rgba(20, 191, 219, .18); }
.afg-milestone--warn .afg-milestone__mark { background: #f0b23a; box-shadow: 0 0 0 6px rgba(240, 178, 58, .2); }
.afg-milestone--bad .afg-milestone__mark { background: #e2566a; box-shadow: 0 0 0 6px rgba(226, 86, 106, .22); }
.afg-milestone--ok .afg-milestone__mark { background: #2fd0a2; box-shadow: 0 0 0 6px rgba(47, 208, 162, .2); }
.afg-milestone__body { position: relative; z-index: 1; min-width: 0; }
.afg-milestone .af-eyebrow { color: #7fd3ee; }
.afg-milestone h2 { color: #fff; font-size: 26px; margin: 6px 0 8px; }
.af-root.af-root .afg-milestone p { color: #c5d3e4; margin-bottom: 18px; }
.afg-milestone .af-btn--primary { background: #fff; color: var(--af-text) !important; }
.afg-milestone .af-btn--primary:hover { background: #e6f3fb; }
.af-root .afg-deliver__list { display: grid; margin-top: 10px; }
.afg-deliver__list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid #e9f0f7; }
.afg-deliver__list li:first-child { border-top: 0; }
.afg-deliver__list span { font-size: 13px; color: var(--af-muted); min-width: 0; }
.afg-deliver__list b { display: block; font-size: 15px; color: var(--af-text); }
.afg-deliver__list li:not(.is-ready) b { color: var(--af-muted); }

/* ---------- workstreams ---------- */
.afg-streams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.afg-stream { position: relative; margin-bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.afg-stream__code { position: absolute; top: 20px; inset-inline-end: 20px; font-family: var(--af-mono); font-size: 11px; color: #9db0c5; letter-spacing: .08em; }
.afg-stream h3 { font-size: 20px; margin: 2px 0 2px; }
.afg-stream > .af-btn { margin-top: auto; }
.af-root.af-root .afg-small { font-size: 14px; color: var(--af-muted); margin: 0 0 6px; }
.af-root.af-root .afg-small--bad { color: var(--af-bad); }
.af-root .afg-lines { display: grid; width: 100%; margin: 4px 0 12px; }
.afg-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 0; border-top: 1px solid #e9f0f7; font-size: 14px; }
.afg-lines li:first-child { border-top: 0; }
.afg-lines a { font-weight: 700; color: var(--af-text); }
.afg-lines span { font-family: var(--af-mono); font-size: 13px; }
.afg-lines__state { grid-column: 1 / -1; font-style: normal; font-family: var(--af-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--af-muted); }
.afg-lines__state--ok { color: var(--af-ok); }
.afg-lines__state--warn { color: var(--af-warn); }
.afg-lines__state--bad { color: var(--af-bad); }
.afg-lines__state--info { color: var(--af-info); }
.afg-lines--plain li { display: block; color: #34475f; overflow-wrap: anywhere; }

/* ---------- forms: the phases of a plan, as chevrons ---------- */
.afg .af-shell { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.afg .af-shell__nav { position: static; }
.afg .af-progress { height: 3px; margin-bottom: 0; border-radius: 3px 3px 0 0; background: #e9f0f7; }
.afg .af-progress::before { background: var(--afg-grad); }
.af-root.afg .af-steps { display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin; background: #fff; border: 1px solid var(--af-line); border-top: 0; border-radius: 0 0 14px 14px; }
.afg .af-steps__item { flex: 1 0 auto; position: relative; align-items: center; gap: 10px; padding: 14px 18px 14px 30px; border-radius: 0; min-width: 150px; }
.afg .af-steps__item:first-child { padding-inline-start: 18px; }
.afg .af-steps__item + .af-steps__item::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(to bottom right, transparent 49%, var(--af-line) 49% 51%, transparent 51%) top / 100% 50% no-repeat, linear-gradient(to top right, transparent 49%, var(--af-line) 49% 51%, transparent 51%) bottom / 100% 50% no-repeat; }
[dir="rtl"] .afg .af-steps__item + .af-steps__item::before { transform: scaleX(-1); }
.afg .af-steps__no { width: auto; height: auto; border: 0; background: none; border-radius: 0; font-size: 11px; color: #9db0c5; letter-spacing: .06em; }
.afg .af-steps__label { font-size: 14px; font-weight: 700; color: var(--af-muted); white-space: nowrap; }
.afg .af-steps__hint { display: none !important; }
.afg .af-steps__item.is-active { background: #eef8fd; }
.afg .af-steps__item.is-active .af-steps__no { background: none; color: #1197d2; }
.afg .af-steps__item.is-active .af-steps__label { color: var(--af-text); }
.afg .af-steps__item.is-done .af-steps__no { background: none; color: var(--af-ok); }
.afg .af-steps__item.is-done .af-steps__label { color: var(--af-text); }
.afg .af-steps__item.is-done .af-steps__label::after { content: " \2713"; color: var(--af-ok); }

/* ---------- registration: the brief ---------- */
.afg-brief { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 26px 34px; align-items: start; padding: 30px; border-radius: 18px; background: var(--af-text); color: #fff; margin-bottom: 22px; position: relative; overflow: hidden; }
.afg-brief::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 0 0, #000 10%, transparent 65%); mask-image: radial-gradient(ellipse at 0 0, #000 10%, transparent 65%); pointer-events: none; }
.afg-brief > * { position: relative; z-index: 1; }
.afg-brief .af-eyebrow { color: #7fd3ee; }
.afg-brief h2 { color: #fff; font-size: 26px; margin: 8px 0 10px; }
.af-root.af-root .afg-brief p { color: #c5d3e4; margin: 0; }
.af-root .afg-brief__flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: afg-flow; }
.afg-brief__flow li { counter-increment: afg-flow; position: relative; padding: 34px 18px 0 0; }
.afg-brief__flow li::before { content: counter(afg-flow, decimal-leading-zero); position: absolute; top: 0; inset-inline-start: 0; font-family: var(--af-mono); font-size: 11.5px; color: #7fd3ee; letter-spacing: .1em; }
.afg-brief__flow li::after { content: ""; position: absolute; top: 22px; inset-inline: 0 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.afg-brief__flow li:first-child::after { background: var(--afg-grad); }
.afg-brief__flow b { display: block; font-family: var(--af-display); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.afg-brief__flow span { font-size: 13.5px; color: #c5d3e4; }
.afg-brief__links { grid-column: 1 / -1; display: flex; gap: 12px 26px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.afg-brief__links a { color: #fff !important; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.afg-brief__links a:hover { color: #7fd3ee !important; }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
  .afg-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afg-split, .afg-streams, .afg-brief { grid-template-columns: minmax(0, 1fr); }
  .afg-bar__side { width: 100%; justify-content: space-between; padding-top: 0; }
}
@media (max-width: 640px) {
  .afg-page { padding-top: 24px; }
  .afg-kpi { padding: 16px; }
  .afg-kpi__value { font-size: 30px; }
  .afg-kpi__value--text { font-size: 18px; }
  .afg-kpi__value--mono { font-size: 15px; }
  .afg-gantt { --task: 118px; }
  .afg-gantt__task { padding: 12px 10px; gap: 6px; }
  .afg-gantt__task strong { font-size: 13px; white-space: normal; }
  .afg-gantt__scale b { padding: 8px 4px; font-size: 9.5px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .afg-gantt__bar { padding: 0 6px; width: calc(100% / var(--n) - 6px); margin-inline-start: calc(var(--i) * (100% / var(--n)) + 3px); }
  .afg-gantt__bar em { display: none; }
  .afg-gantt__name small { display: block; }
  .afg-gantt__scale b span { display: none; }
  .afg-gantt__scale b { text-align: center; }
  .afg-milestone { padding: 22px; flex-direction: column; gap: 14px; }
  .afg-milestone h2, .afg-brief h2 { font-size: 22px; }
  .afg-brief { padding: 22px; }
  .af-root .afg-brief__flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .afg-deliver__list li { flex-wrap: wrap; }
  .afg-out span { display: none; }
}
