/* Log Activity panel (lead page + My day drawer), look of docs/prototypes/activity/flow-1-drawer.html: type switcher, result tiles,
   WhatsApp after the call, feedback card + big picker, Next follow-up card with calendar, stage confirmation, one Save. */
:root {
  --la-font-ar: Cairo, var(--font);
  --la-ease: cubic-bezier(.2, .8, .2, 1);
  --la-spring: cubic-bezier(.34, 1.56, .64, 1);
  --la-soft: var(--c-select); --la-soft-2: var(--c-select); --la-hair: var(--c-line);
  --la-red: var(--c-danger); --la-red-soft: var(--c-danger-soft);
  --la-wa: #25d366; --la-wa-ink: #1faa53; --la-wa-soft: #eef8f2; --la-wa-line: #cfe9db;
  /* result tile colours */
  --la-o-green: #12925a; --la-o-red: var(--c-danger); --la-o-orange: #e0663a; --la-o-rose: #b84a7a; --la-o-plum: #8f2d56; --la-o-slate: var(--c-muted);
  --la-o-gold: #c99400; --la-o-teal: #0f9d8a; --la-o-gray: var(--c-faint); --la-o-purple: var(--c-ink); --la-o-amber: var(--c-warning); --la-o-blue: #255fee;
  /* interests (blue, prototype .ic / .vi) */
  --la-int: #255fee; --la-int-ink: #1d4bb8; --la-int-soft: #F4F7FE; --la-int-tint: #FAFBFF; --la-int-line: #E6ECFB; --la-int-line-2: #CBD8F5;
}
.logact { margin-bottom: 20px; }
.logact-body { display: grid; gap: 0; }
.logact [lang="ar"] { font-family: var(--la-font-ar); font-size: var(--fs-table); font-weight: var(--fw-medium); line-height: 1.6; letter-spacing: 0; }
/* current plan: stays at the top of the drawer while it scrolls */
.la-plan-wrap { position: sticky; top: 0; z-index: 4; padding: 10px 16px 6px; background: var(--c-card); border-radius: var(--r-lg) var(--r-lg) 0 0; }
/* in the drawer the scroll area has its own padding (16 / 24): stick flush to its top edge and cover the full width */
.md-dw .logact > .la-plan-wrap { top: -16px; margin: 0 -24px; padding: 16px 24px 8px; border-radius: 0; }
/* phones: the drawer body padding is 12 / 16 (home.css, 720px), so pull out by 16, not 24 (it stuck out 8px) */
@media (max-width: 720px) { .md-dw .logact > .la-plan-wrap { top: -12px; margin: 0 -16px; padding: 12px 16px 8px; } }
.la-plan { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-lg); background: var(--c-card); box-shadow: 0 0 0 1px var(--c-line) inset; color: var(--la-int-ink); }
.la-plan-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-page); color: var(--la-int); }
.la-plan-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.la-plan-txt small { font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); }
.la-plan-txt b { font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.la-plan-pill { flex: none; padding: 4px 11px; border-radius: var(--r-pill); background: var(--c-card); box-shadow: 0 0 0 1px var(--la-int-line-2) inset; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--la-int-ink); white-space: nowrap; }
.la-plan.late { background: var(--c-card); box-shadow: 0 0 0 1px var(--c-danger-line) inset; } /* only the Late pill is red (quiet look B) */
.la-plan.late .la-plan-ic { color: var(--la-red); }
.la-plan-pill.late { background: var(--la-red); box-shadow: none; color: var(--c-card); }
.req { color: var(--la-red); font-weight: var(--fw-semibold); margin-inline-start: 2px; }

/* type switcher: segmented, the white pill slides under the picked tab */
.la-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: var(--r-lg); background: var(--la-soft-2); }
.la-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: var(--r-md); background: var(--c-card); box-shadow: 0 1px 2px rgba(28, 27, 37, .08), 0 4px 12px -4px rgba(28, 27, 37, .14); transition: transform .32s var(--la-ease); }
.la-tabs:has(> :nth-child(2).on)::before { transform: translateX(100%); }
.la-tabs:has(> :nth-child(3).on)::before { transform: translateX(200%); }
.la-tabs button { position: relative; z-index: 1; height: 40px; border: 0; border-radius: var(--r-md); background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-muted); cursor: pointer; }
.la-tabs button:hover { color: var(--c-ink); }
.la-tabs button.on { color: var(--c-ink); font-weight: var(--fw-semibold); }
.la-tab-ic { display: grid; opacity: .75; transition: opacity .2s, transform .25s var(--la-spring); }
.la-tabs .t-blue .la-tab-ic { color: var(--la-o-blue); }
.la-tabs .t-wa .la-tab-ic { color: var(--la-wa-ink); }
.la-tabs .t-purple .la-tab-ic { color: var(--c-ink); }
.la-tabs button.on .la-tab-ic { opacity: 1; transform: scale(1.08); }

/* steps */
.la-sec { padding-top: 24px; }
.la-sec-h { display: flex; align-items: center; gap: 8px; min-height: 20px; margin-bottom: 12px; }
.la-sec-h h4, .la-said-h { margin: 0; font-size: var(--fs-hint); font-weight: var(--fw-semibold); letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); }
.la-sec.done > .la-sec-h h4 { color: var(--c-ink); }
.la-sec-h h4 .req, .la-card-h h4 .req { font-size: var(--fs-table); letter-spacing: 0; }
.la-sec-n { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-success); color: var(--c-card); }
.la-flabel { display: flex; align-items: center; gap: 6px; margin: 16px 0 8px; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-in { animation: laIn .25s var(--la-ease); }
@keyframes laIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* result tiles: icon in a tinted circle, label under it, 3 per row; picked = filled with its colour */
.la-outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.la-out { --oc: var(--la-o-gray); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 104px; padding: 16px 8px 14px; border: 1px solid var(--la-hair); border-radius: var(--r-lg); background: var(--c-card); text-align: center; font: inherit; cursor: pointer; transition: transform .18s var(--la-ease), box-shadow .18s, border-color .18s, background .18s, opacity .2s; }
.la-out.o-green { --oc: var(--la-o-green); } .la-out.o-red { --oc: var(--la-o-red); } .la-out.o-orange { --oc: var(--la-o-orange); }
.la-out.o-rose { --oc: var(--la-o-rose); } .la-out.o-plum { --oc: var(--la-o-plum); } .la-out.o-slate { --oc: var(--la-o-slate); }
.la-out.o-gold { --oc: var(--la-o-gold); } .la-out.o-teal { --oc: var(--la-o-teal); } .la-out.o-purple { --oc: var(--la-o-purple); }
.la-out.o-amber { --oc: var(--la-o-amber); } .la-out.o-blue { --oc: var(--la-o-blue); }
.la-out:not(.on) { --oc: var(--c-muted); } /* grey until picked: colour only for the outcome you picked (quiet look B, DECISIONS #238) */
.la-out-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--oc); background: color-mix(in srgb, var(--oc) 11%, var(--c-card)); transition: background .18s, color .18s, transform .25s var(--la-spring); }
.la-out b { font-size: var(--fs-table); font-weight: var(--fw-semibold); line-height: 1.2; color: var(--c-ink); }
.la-out:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--oc) 35%, var(--c-card)); background: color-mix(in srgb, var(--oc) 4%, var(--c-card)); }
.la-out:hover .la-out-ic { transform: scale(1.06); }
.la-out:active { transform: scale(.97); }
.la-out:focus-visible { outline: 2px solid var(--oc); outline-offset: 2px; }
.la-out.on { background: var(--oc); border-color: var(--oc); }
.la-out.pop { animation: laPop .42s var(--la-spring); }
.la-out.on b { color: var(--c-card); }
.la-out.on .la-out-ic { background: rgba(255, 255, 255, .2); color: var(--c-card); }
.la-out-ck { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c-card); color: var(--oc); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.la-outs:has(.on) .la-out:not(.on) { opacity: .62; }
.la-outs:has(.on) .la-out:not(.on):hover, .la-outs:has(.on) .la-out:not(.on):focus-visible { opacity: 1; }
@keyframes laPop { 0% { transform: scale(.92); } 60% { transform: scale(1.04); } 100% { transform: none; } }
/* planned meeting: its result tiles (Held, Still on, Postponed, Canceled before the meeting time; No-show instead of Still on after) */
.la-outs:has(> .la-out:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.la-sec-sub { margin-inline-start: auto; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-via { margin-bottom: 0; }
.la-via button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.la-via button.on svg { flex: none; }
/* Still on: Call / WhatsApp switcher above the result tiles */
.la-via.la-ctab { margin-bottom: 12px; }
.la-other { margin-top: 10px; font-family: var(--la-font-ar); }
.la-fbs-auto { margin-bottom: 10px; }
/* The Sold question (DECISIONS #435) sits apart from the feedback pills under it. */
.la-soldq { padding-bottom: 14px; border-bottom: 1px dashed var(--c-line); }
.la-soldq .la-flabel { margin-top: 4px; }
.la-soldq .la-sq-line { margin-top: 6px; }
.la-fb.locked, .la-fb.locked:hover { cursor: default; background: var(--c-select); color: var(--c-text); border: 1px dashed var(--c-select-line); box-shadow: none; }
.tl-ar { font-family: var(--la-font-ar); font-weight: var(--fw-medium); }

/* WhatsApp after the call */
.la-wa { margin-top: 24px; }
.la-wa-logo { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--la-wa); color: var(--c-card); box-shadow: 0 2px 6px -2px rgba(37, 211, 102, .7); }
.la-wa.done .la-sec-h h4 { color: var(--c-ink); }
.la-waq { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-lg); background: var(--la-soft); }
.la-wa.todo .la-waq { background: var(--la-wa-soft); box-shadow: 0 0 0 1px var(--la-wa-line) inset; }
.la-waq.bad, .la-wa.todo .la-waq.bad { box-shadow: 0 0 0 1px var(--la-red) inset, 0 0 0 3px var(--la-red-soft); }
.la-waq button { --wc: var(--la-o-green); flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 38px; padding: 0 6px; border: 1px solid var(--la-hair); border-radius: var(--r-md); background: var(--c-card); box-shadow: 0 1px 2px rgba(28, 27, 37, .05); font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-semibold); white-space: nowrap; color: var(--c-ink); cursor: pointer; transition: transform .18s var(--la-ease), border-color .18s, background .18s, opacity .2s; }
.la-waq button.n { --wc: #4a4b55; }
.la-waq button svg { flex: none; color: var(--wc); }
.la-waq button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--wc) 35%, var(--c-card)); }
.la-waq button:focus-visible { outline: 2px solid var(--wc); outline-offset: 2px; }
.la-waq button.on { background: var(--wc); border-color: var(--wc); color: var(--c-card); }
.la-waq button.pop { animation: laPop .3s var(--la-spring); }
.la-waq button.on svg { color: var(--c-card); }
.la-waq:has(.on) button:not(.on) { opacity: .62; }
.la-waq:has(.on) button:not(.on):hover { opacity: 1; }

/* what the customer said: the Feedback card */
.la-said { display: grid; gap: 12px; padding-top: 24px; }
.la-card { padding: 16px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-card); }
.la-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.la-card-h h4 { margin: 0; font-size: var(--fs-body); font-weight: var(--fw-semibold); letter-spacing: -.01em; color: var(--c-ink); }
.la-card-ic { width: 30px; height: 30px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--c-select); color: var(--c-ink); transition: background .2s, color .2s; }
/* One colour language on this screen (Sami 2026-11-11, DECISIONS #192): black = what you picked, green = a step that is done,
   blue = the button waiting for you. A card's own icon is a label, so it stays quiet whatever is picked under it. */
.la-ok { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-success); color: var(--c-card); }
.la-fbs { display: flex; flex-wrap: wrap; gap: 8px; }
.la-fb { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 15px 7px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--la-soft-2); color: var(--c-ink); font: inherit; cursor: pointer; transition: background .15s, color .15s, transform .15s var(--la-spring); }
.la-fb:hover { background: var(--c-select-line); }
.la-fb:active { transform: scale(.97); }
.la-fb:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.la-fb.on { background: var(--c-ink); color: var(--c-card); box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .9); }
.la-fb.on [lang="ar"] { font-weight: var(--fw-semibold); }
.la-fb.on:hover { background: var(--c-text); }
.la-fb.pop { animation: laPop .38s var(--la-spring); }
.la-fb.blocked, .la-fb.blocked:hover { background: transparent; border: 1px dashed #d9d6e1; color: var(--c-faint); cursor: not-allowed; }
.la-fb.blocked [lang="ar"] { text-decoration: line-through; text-decoration-color: rgba(165, 163, 177, .6); }
.la-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.la-link { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: transparent; font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-text); cursor: pointer; }
.la-link:hover { text-decoration: underline; }
.la-note-solo { margin-top: 8px; }
.la-ferr { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--la-red); animation: laIn .18s ease-out; }
.la-ferr svg { flex: none; }
.la-txt { width: 100%; padding: 8px 10px; border: 1px solid #e4e2ea; border-radius: var(--r-lg); background: var(--c-card); font: inherit; font-size: var(--fs-table); }
textarea.la-txt { min-height: 64px; resize: vertical; }
.la-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.la-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: var(--r-pill); background: var(--btn2-bg); box-shadow: inset 0 0 0 1px var(--btn2-border); font: inherit; font-size: var(--fs-table); color: var(--c-ink); cursor: pointer; transition: background .15s, color .15s; }
.la-pill:hover { background: var(--btn2-hover-bg); }
.la-pill.on { background: var(--c-ink); color: var(--c-card); }
.la-pill:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }

/* what the customer said: the Interests card (blue), quick chips, the editor inside a chip, projects of interest */
.la-card-int { background: linear-gradient(180deg, var(--c-tile), var(--c-card) 64px); }
.la-card-int .la-card-ic { background: var(--la-int-soft); color: var(--la-int); }
.la-card-int.done .la-card-ic { background: var(--la-int); color: var(--c-card); box-shadow: 0 6px 12px -6px rgba(37, 95, 238, .7); }
.la-card-h .la-sec-sub { font-weight: var(--fw-semibold); }
.la-ics { display: flex; flex-wrap: wrap; gap: 8px; }
.la-gi { flex: none; }
.la-ic { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px 7px; border: 1px solid var(--la-int-line); border-radius: var(--r-pill); background: var(--la-int-tint); color: #2b4fae; font: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .15s var(--la-spring); }
.la-ic:hover { border-color: var(--la-int-line-2); background: #eef3ff; }
.la-ic:active { transform: scale(.97); }
.la-ic:focus-visible { outline: 2px solid var(--la-int); outline-offset: 2px; }
.la-ic .la-gi { color: #7d97de; }
.la-ic.on { border-color: var(--la-int); background: var(--la-int-soft); color: var(--la-int-ink); }
.la-ic.on [lang="ar"] { font-weight: var(--fw-semibold); }
.la-ic.pop { animation: laPop .38s var(--la-spring); }
.la-ic b, .la-ft b, .la-vi b { font-weight: var(--fw-semibold); color: var(--c-ink); white-space: nowrap; }
.la-ic i, .la-ft i { font-style: normal; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-warning); background: var(--c-warning-soft); border-radius: var(--r-sm); padding: 1px 6px; white-space: nowrap; }
.la-icw:not(.editing) { display: inline-flex; align-items: stretch; border-radius: var(--r-pill); transition: box-shadow .15s; }
.la-icw:not(.editing) .la-ic { border-radius: var(--r-pill) 0 0 999px; border-inline-end: 0; }
.la-ic-x { width: 30px; padding: 0 4px 0 0; display: grid; place-items: center; border: 1px solid var(--la-int); border-inline-start: 0; border-radius: 0 999px 999px 0; background: var(--la-int-soft); color: var(--la-int-ink); cursor: pointer; }
.la-ic-x:hover { background: #dfe9fd; }
.la-ic-x:focus-visible { outline: 2px solid var(--la-int); outline-offset: 2px; }
.la-icw.bad:not(.editing) { box-shadow: 0 0 0 2px #f0b8b9; }
.la-icw.bad:not(.editing) .la-ic, .la-icw.bad:not(.editing) .la-ic-x { border-color: var(--la-red); }
.la-icw.editing { flex: 1 1 100%; min-width: 0; padding: 8px 10px 10px; border: 1px solid var(--la-int); border-radius: var(--r-lg); background: var(--la-int-soft); }
.la-icw.editing.bad { border-color: var(--la-red); box-shadow: 0 0 0 3px var(--la-red-soft); }
.la-idet-h { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--la-int); }
.logact .la-idet-n, .la-fp .la-idet-n { font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-idet-x { margin-inline-start: auto; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-md); background: transparent; color: var(--c-faint); cursor: pointer; }
.la-idet-x:hover { background: rgba(255, 255, 255, .7); color: var(--c-ink); }
.la-idet-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.la-idet-in > .la-txt { flex: 1; min-width: 0; font-family: var(--la-font-ar); }
.la-numrow { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.la-in-num { width: 104px; height: 34px; flex: none; font-variant-numeric: tabular-nums; }
.la-dash { font-size: var(--fs-hint); color: var(--c-faint); }
.la-unit { font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-muted); }
.la-seg2 { display: inline-flex; flex: none; gap: 2px; padding: 2px; border-radius: var(--r-md); background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px var(--la-int-line) inset; }
.la-seg2 button { height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-md); background: transparent; font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); cursor: pointer; }
.la-seg2 button [lang="ar"] { font-size: var(--fs-hint); line-height: 1; }
.la-seg2 button.on { background: var(--c-card); color: var(--la-int-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.la-seg2 button:not(.on):hover { background: var(--c-select-line); color: var(--c-ink); } /* hover (said-once #4, 2026-11-14) */
.la-seg2 button:focus-visible { outline: 2px solid var(--la-int); outline-offset: 1px; }
.la-idet-msg { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--la-red); }
.la-vprojs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-select); }
.la-vprojs .la-flabel { margin-top: 0; }
.la-vprojs .la-pill svg { flex: none; }

/* a saved interest / project of interest (lead timeline, My day rows) */
.la-vchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.la-vi { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 9px 3px 8px; border: 1px solid #cbd9fa; border-radius: var(--r-md); background: var(--c-card); color: #24479f; }
.la-vi .la-gi { color: #6f8de0; }
.la-vi [lang="ar"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--la-font-ar); font-size: var(--fs-table); font-weight: var(--fw-medium); line-height: 1.55; }
.la-vi b { color: #16337e; }
.la-vi.sm { gap: 4px; padding: 0 7px 1px 6px; border-radius: var(--r-md); }
.la-vi.sm [lang="ar"] { font-size: var(--fs-hint); }
.la-vf { display: inline-flex; align-items: center; max-width: 100%; padding: 2px 10px 3px; border-radius: var(--r-pill); background: var(--c-select); color: var(--c-text); font-family: var(--la-font-ar); font-size: var(--fs-hint); font-weight: var(--fw-medium); line-height: 1.55; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.la-vp { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: var(--r-md); background: var(--c-neutral-soft); font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); white-space: nowrap; }

/* Next follow-up: its own card under a "Next" divider */
.la-next-div { display: flex; align-items: center; gap: 10px; margin: 28px 0 14px; }
.la-next-div::before, .la-next-div::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--c-select-line) 40%); }
.la-next-div::after { background: linear-gradient(90deg, var(--c-select-line) 60%, transparent); }
.la-next-div span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 11px 0 9px; border-radius: var(--r-pill); background: var(--c-select); color: var(--c-text); font-size: var(--fs-hint); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; }
.la-nextc { padding: 16px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--c-select), var(--c-tile)); box-shadow: 0 0 0 1px var(--c-line) inset; }
.la-nc-ic { width: 30px; height: 30px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--c-card); color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-select-line) inset; transition: background .2s, color .2s; }
.la-nextc .la-flabel:first-of-type { margin-top: 4px; }
.la-nextc .la-pill:not(.on), .la-nextc .la-qd:not(.on) { background: var(--c-card); box-shadow: 0 0 0 1px var(--c-line) inset; }
.la-nextc .la-pill:not(.on):hover, .la-nextc .la-qd:not(.on):hover { background: var(--c-select); }
.la-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; margin-bottom: 12px; border-radius: var(--r-lg); background: var(--la-soft-2); }
.la-seg button { height: 36px; border: 0; border-radius: var(--r-md); background: transparent; font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); cursor: pointer; }
.la-seg button.on { background: var(--c-card); color: var(--c-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.la-seg button:not(.on):hover { background: var(--c-select-line); color: var(--c-ink); }
.la-qdates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.la-qd { display: grid; gap: 1px; min-height: 46px; padding: 7px 10px; border: 0; border-radius: var(--r-lg); background: var(--la-soft); font: inherit; text-align: start; cursor: pointer; transition: background .15s; }
.la-qd b { font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-qd span { font-size: var(--fs-hint); color: var(--c-faint); font-variant-numeric: tabular-nums; }
.la-qd.on { background: var(--c-ink); box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .9); }
.la-qd:not(.on):hover { filter: brightness(.95); }
.la-qd.on b, .la-qd.on span { color: var(--c-card); }
.la-qd.wide { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; }
.la-nextc .la-qd.wide.on { background: var(--c-select); box-shadow: 0 0 0 1.5px var(--c-ink) inset; }
.la-qd.wide.on b, .la-qd.wide.on svg { color: var(--c-text); }
.la-qd:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.la-due { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--fs-hint); color: var(--c-muted); }
.la-due b { color: var(--c-ink); }
.la-due-lock { margin: 0 0 4px; }
.la-closed { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-md); background: var(--c-card); font-size: var(--fs-hint); color: var(--c-muted); }
.la-closed b { display: block; color: var(--c-ink); }

/* Pick date: month calendar (Saturday first) + 30-minute time chips */
.la-dp { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 14px; margin-top: 10px; padding: 14px; border: 1px solid var(--c-select-line); border-radius: var(--r-lg); background: var(--c-card); box-shadow: 0 12px 28px -20px rgba(28, 27, 37, .35); }
.la-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.la-dp-head b { font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-dp-nav { width: 30px; height: 30px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--c-muted); cursor: pointer; }
.la-dp-nav:hover { background: var(--la-soft); color: var(--c-ink); }
.la-dp-nav:disabled { opacity: .3; cursor: default; background: transparent; }
.la-dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.la-dp-wd { padding: 2px 0 6px; text-align: center; font-size: var(--fs-hint); font-weight: var(--fw-semibold); letter-spacing: .05em; text-transform: uppercase; color: var(--c-faint); }
.la-dp-d { justify-self: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-ink); font-variant-numeric: tabular-nums; cursor: pointer; }
.la-dp-d:hover { background: var(--c-select); }
.la-dp-d.today { box-shadow: inset 0 0 0 1.5px var(--c-ink); color: var(--c-text); }
.la-dp-d.on { background: var(--c-ink); color: var(--c-card); }
.la-dp-d:disabled { background: transparent; color: var(--c-line-strong); cursor: default; }
.la-dp-d.today:disabled { box-shadow: inset 0 0 0 1.5px var(--c-line-strong); color: var(--c-faint); }
.la-dp-times { contain: size; min-height: 100%; overflow-y: auto; display: grid; align-content: start; gap: 4px; padding: 2px 4px 2px 0; }
.la-dp-t { height: 32px; border: 0; border-radius: var(--r-md); background: var(--la-soft); font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-ink); font-variant-numeric: tabular-nums; cursor: pointer; }
.la-dp-t:hover { background: var(--c-select-line); }
.la-dp-t.on { background: var(--c-ink); color: var(--c-card); }
.la-dp-t:disabled { background: transparent; color: var(--c-line-strong); cursor: default; }
.la-dp-d:focus-visible, .la-dp-t:focus-visible, .la-dp-nav:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 1px; }

/* stage: always a question to answer before Save (DECISIONS #40) */
.la-sq { padding: 14px 14px 12px; border: 1px solid color-mix(in srgb, var(--c-ink) 24%, var(--c-card)); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--c-tile), var(--c-card) 85%); }
.la-sq.bad { border-color: var(--la-red); box-shadow: 0 0 0 3px var(--la-red-soft); }
.la-sq.reset, .la-sq-line.reset { animation: laReset 1.2s ease-out; }
@keyframes laReset { 0%, 30% { box-shadow: 0 0 0 3px rgba(16, 24, 40, .3); } 100% { box-shadow: 0 0 0 3px rgba(16, 24, 40, 0); } }
.la-sq-h { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-sq-move { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.la-sq-arr { display: grid; color: var(--c-ink); }
.la-stage .badge { white-space: nowrap; }
.la-stage.big .badge { padding: 4px 11px; font-size: var(--fs-hint); }
.la-sq-why { margin-top: 8px; font-size: var(--fs-hint); color: var(--c-muted); }
.la-sq-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.la-sq-acts .btn { height: 34px; border-radius: var(--r-md); padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.la-sq-acts .la-sq-yes { background: var(--c-btn); border-color: var(--c-btn); color: var(--c-card); font-weight: var(--fw-semibold); box-shadow: var(--btn-shadow); }
.la-sq-acts .la-sq-yes:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); }
.la-sq-acts .btn.on { background: var(--c-select); border-color: var(--c-ink); color: var(--c-text); }
.la-sq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-line); animation: laIn .18s ease-out; }
.la-sq-p { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid var(--la-hair); border-radius: var(--r-md); background: var(--c-card); font: inherit; font-size: var(--fs-hint); font-weight: var(--fw-medium); color: var(--c-ink); text-align: start; cursor: pointer; }
.la-sq-p:first-child { grid-column: 1 / -1; }
.la-sq-p:hover { border-color: var(--c-select-line); background: var(--c-select); }
.la-sq-p:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.la-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c-neutral); }
.la-dot.c-green { background: var(--c-success); } .la-dot.c-red { background: var(--c-danger); } .la-dot.c-amber { background: var(--c-warning); }
.la-dot.c-blue { background: var(--c-info); } .la-dot.c-purple { background: var(--c-ink); } .la-dot.c-pink { background: var(--pink); }
.la-dot.c-teal { background: var(--teal); }
.la-sq-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-height: 26px; font-size: var(--fs-hint); color: var(--c-muted); border-radius: var(--r-md); }
.la-sq-done { padding: 8px 12px; background: color-mix(in srgb, var(--c-success-soft) 60%, var(--c-card)); }
.la-sq-ck { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-success); color: var(--c-card); }
.la-sq-chg { margin-inline-start: auto; font-size: var(--fs-hint); }

/* footer: the missing-step hint + one strong primary; sticks to the bottom while the form scrolls */
.la-foot { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 0 4px; background: var(--c-card); box-shadow: 0 -1px 0 var(--c-line), 0 -12px 24px -18px rgba(28, 27, 37, .18); }
.la-hint { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: var(--fs-hint); color: var(--c-muted); }
.la-hint svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--c-warning-soft); color: var(--c-warning); }
.la-hint span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.la-hint.shake { animation: laShake .32s; }
@keyframes laShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.la-save { flex: none; height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-lg); background: var(--c-btn); color: var(--c-card); font: inherit; font-size: var(--fs-body); font-weight: var(--fw-semibold); cursor: pointer; box-shadow: var(--btn-shadow); transition: transform .18s var(--la-spring), background .18s; }
.la-save:hover { background: var(--c-btn-hover); transform: translateY(-1px); }
.la-save:active { transform: scale(.98); }
.la-save[aria-disabled="true"], .la-save[aria-disabled="true"]:hover { background: var(--c-line-strong); box-shadow: none; transform: none; }
.la-save:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* "Show all feedback" (look C, Sami 2026-11-11, DECISIONS #198): the interests pop-up's family (one header row, a fixed strip of picks,
   the section list on the right, picked = black, a blue Done); the log's own chips, sections without boxes, colours by meaning. */
.la-fp { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(28, 27, 37, .32); backdrop-filter: blur(6px); animation: laFade .2s ease-out; }
@keyframes laFade { from { opacity: 0; } }
.la-fp-box { position: relative; width: 820px; max-width: 100%; height: min(86vh, 760px); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--c-card); box-shadow: 0 32px 90px -24px rgba(28, 27, 37, .45); animation: laFpIn .26s var(--la-spring); }
@keyframes laFpIn { from { opacity: 0; transform: scale(.96) translateY(6px); } }
.la-fp .k-blue { --k: var(--tint-blue); --kl: var(--tint-blue-line); }
.la-fp .k-amber { --k: color-mix(in srgb, var(--tint-amber) 88%, #000); --kl: var(--tint-amber-line); }
.la-fp .k-orange { --k: var(--tint-orange); --kl: var(--tint-orange-line); }
.la-fp .k-green { --k: var(--tint-green); --kl: var(--tint-green-line); }
.la-fp .k-pink { --k: var(--tint-pink); --kl: var(--tint-pink-line); }
.la-fp .k-ink { --k: var(--c-text); --kl: var(--c-line); }
.la-fp .k-red { --k: var(--c-danger); --kl: var(--c-danger-soft); }
.la-fp-head { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 18px 12px 20px; border-bottom: 1px solid var(--c-line); }
.la-fp-hic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--c-ink); color: var(--c-card); box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .9); }
.la-fp-ht h3 { margin: 0; font-size: var(--fs-section); font-weight: var(--fw-semibold); line-height: 1.2; color: var(--c-ink); }
.la-fp-ht div { font-size: var(--fs-hint); color: var(--c-muted); }
.la-fp-srch { margin-inline-start: auto; width: 260px; max-width: 40%; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--c-line-strong); border-radius: var(--r-lg); background: var(--c-card); color: var(--c-muted); }
.la-fp-srch:focus-within { border-color: var(--c-ink); box-shadow: var(--focus-ring); }
.la-fp-srch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0; background: transparent; font-family: var(--la-font-ar); font-size: var(--fs-table); color: var(--c-ink); box-shadow: none; }
.la-fp-srch kbd { padding: 1px 6px; border: 1px solid var(--c-line-strong); border-radius: 5px; background: var(--c-tile); font-family: var(--font); font-size: var(--fs-hint); color: var(--c-muted); }
.la-fp-x { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--c-line-strong); border-radius: var(--r-lg); background: var(--c-card); color: var(--c-text); cursor: pointer; }
.la-fp-x:hover { border-color: var(--c-ink); }
/* the strip of picks: fixed, each with its section's dot */
.la-fp-tray { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 52px; max-height: 100px; overflow-y: auto; padding: 10px 20px; border-bottom: 1px solid var(--c-line); background: var(--c-tile); font-family: var(--la-font-ar); }
.la-fp-trk { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-card); font-size: var(--fs-hint); font-weight: 700; }
.la-fpc { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 5px 0 12px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-card); font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-ink); }
.la-fpc i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.la-fpc button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--c-select); color: var(--c-muted); cursor: pointer; }
.la-fpc button:hover { background: var(--c-ink); color: var(--c-card); }
.la-fp-none { font-size: var(--fs-table); color: var(--c-faint); }
/* the section list on the right + the list */
.la-fp-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.la-fp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 26px; overscroll-behavior: contain; }
.la-fp-grp + .la-fp-grp { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--c-line); } /* a little heavier, so sections read apart (Sami 2026-11-11) */
.la-fp-gh { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 2px; }
/* titles in the list are plain black; colour lives only in the rail (Sami 2026-11-11) */
.la-fp-gi { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--c-card); color: var(--k); box-shadow: inset 0 0 0 1px var(--kl); } /* like the rail's icons: a coloured line, no fill */
.la-fp-gt { font-family: var(--la-font-ar); font-size: var(--fs-table); font-weight: 700; color: var(--c-ink); }
.la-fp-gh b { padding: 1px 9px; border-radius: var(--r-pill); background: var(--c-ink); font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-card); }
/* answers: the log's own chips */
.la-fp-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 2px 10px; }
.la-ft { display: inline-flex; align-items: center; gap: 0; min-height: 40px; padding: 6px 16px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--c-select); font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-ink); cursor: pointer; transition: background .12s, color .12s; }
.la-ft:hover { background: var(--c-select-line); }
.la-ft:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.la-ft-c { width: 0; height: 18px; flex: none; overflow: hidden; display: grid; place-items: center; border-radius: 50%; background: var(--c-card); color: var(--c-ink); transition: width .15s; }
.la-ft.on { gap: 6px; background: var(--c-ink); color: var(--c-card); box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .9); }
.la-ft.on .la-ft-c { width: 18px; }
.la-ft.blocked, .la-ft.blocked:hover { gap: 6px; background: transparent; border: 1px dashed var(--c-line-strong); color: var(--c-faint); cursor: not-allowed; }
.la-ft.blocked .la-ft-c { width: 14px; background: transparent; color: var(--c-faint); }
.la-ft-i { flex: none; display: grid; place-items: center; margin-inline-start: 6px; color: var(--c-faint); }
.la-ft.on .la-ft-i { color: rgba(255, 255, 255, .6); }
.la-fp [lang="ar"] { font-family: var(--la-font-ar); letter-spacing: 0; }
.la-nores { padding: 28px 0; text-align: center; font-size: var(--fs-table); color: var(--c-muted); }
/* the note bubble (hover, or a tap on a tablet) */
.la-fp-tip { position: fixed; z-index: 96; max-width: 280px; padding: 8px 12px; border-radius: 10px; background: var(--c-ink); color: var(--c-card); font-family: var(--la-font-ar); font-size: var(--fs-hint); font-weight: var(--fw-semibold); line-height: 1.6; text-align: start; direction: rtl; box-shadow: 0 10px 24px -10px rgba(16, 24, 40, .7); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.la-fp-tip.show { opacity: 1; transform: none; }
.la-fp-tip::after { content: ""; position: absolute; top: 100%; inset-inline-start: var(--ax, 24px); border: 6px solid transparent; border-top-color: var(--c-ink); }
.la-fp-tip.below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--c-ink); }
.la-fp-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 14px 20px; border-top: 1px solid var(--c-line); }
.la-fp-foot span { font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-muted); }
.la-fp-foot b { color: var(--c-ink); }
.la-fp-done { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px; border: 0; border-radius: var(--r-lg); background: var(--c-btn); color: var(--c-card); font: inherit; font-size: var(--fs-body); font-weight: var(--fw-semibold); cursor: pointer; box-shadow: var(--btn-shadow); }
.la-fp-done:hover { background: var(--c-btn-hover); }
.la-fp-done:focus-visible, .la-fp-x:focus-visible, .la-fpc button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (max-width: 900px) {
  .la-fp-srch { order: 3; width: 100%; max-width: none; margin-inline-start: 0; }
  .la-fp-x { margin-inline-start: auto; }
}

@media (max-width: 640px) {
  .la-dp { grid-template-columns: 1fr; }
  .la-dp-times { contain: none; min-height: 0; max-height: 152px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .la-out { min-height: 92px; padding: 12px 6px; }
  .la-outs:has(> .la-out:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-fp { padding: 0; align-items: flex-end; }
  .la-fp-box { height: 94vh; border-radius: 22px 22px 0 0; }
  .la-idet-in { flex-direction: column; align-items: flex-start; }
  .la-numrow { width: 100%; }
  .la-in-num { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .logact *, .la-fp, .la-fp * { animation: none !important; transition: none !important; }
}

/* round 2 (2026-11-03) */
/* anything that scrolls into view stops short of the sticky plan (top) and the Save bar (bottom) */
.logact [data-sec], .logact [data-icw], .logact .la-dp, .logact .la-sq-grid { scroll-margin-top: 84px; scroll-margin-bottom: 96px; }
/* the auto, locked meeting-result chip: never changes on hover or click (it used to turn dark-on-dark) */
.la-fb.on.locked, .la-fb.on.locked:hover, .la-fb.on.locked:active, .la-fb.on.locked:focus { cursor: default; background: var(--c-select); color: var(--c-text); border: 1px dashed var(--c-select-line); box-shadow: none; transform: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.la-fb.on.locked [lang="ar"] { color: inherit; font-weight: var(--fw-semibold); }
/* "Feedback by group" / "Interests by group": a real button with an icon and the count */
.la-all { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 12px; border: 1px solid var(--c-select-line); border-radius: var(--r-lg); background: var(--c-select); font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-text); cursor: pointer; transition: background .15s, border-color .15s; }
.la-all:hover { background: var(--c-select-line); border-color: var(--c-ink); }
.la-all:focus-visible, .la-btn-o:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.la-all em { min-width: 22px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--c-ink); font-style: normal; font-size: var(--fs-hint); font-weight: var(--fw-semibold); line-height: 1.5; text-align: center; color: var(--c-card); font-variant-numeric: tabular-nums; }
.la-card-int .la-all { border-color: var(--la-int-line-2); background: var(--la-int-soft); color: var(--la-int-ink); }
.la-card-int .la-all:hover { background: #dce7fd; border-color: var(--la-int); }
.la-card-int .la-all em { background: var(--la-int); }
/* "Add a note": an outlined button after the interests */
.la-btn-o { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line-strong, var(--c-line-strong)); border-radius: var(--r-lg); background: var(--c-card); font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-ink); cursor: pointer; transition: background .15s, border-color .15s; }
.la-btn-o:hover { background: var(--la-soft); border-color: var(--c-ink); color: var(--c-text); }
.la-noteblock { margin-top: 12px; }
.la-noteblock .la-flabel:first-child { margin-top: 0; }
/* interest detail: Exact number / From - To as two clear buttons, the field outlined in red when its detail is missing */
.la-seg2.wide { display: flex; flex: 1 1 100%; align-self: stretch; width: 100%; padding: 3px; }
.la-seg2.wide button { flex: 1; height: 34px; font-size: var(--fs-table); white-space: nowrap; }
.la-seg2.wide button [lang="ar"] { font-size: var(--fs-table); font-weight: var(--fw-semibold); }
.la-icw.editing.bad .la-txt { border-color: var(--la-red); box-shadow: 0 0 0 3px var(--la-red-soft); }
.la-idet-msg { font-size: var(--fs-hint); }
/* calendar: the Time label, the chosen day and time, and Done */
.la-dp-tl { grid-column: 1 / -1; position: sticky; top: 0; z-index: 1; padding: 0 0 4px; background: var(--c-card); font-size: var(--fs-hint); font-weight: var(--fw-semibold); color: var(--c-muted); }
.la-dp-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--c-line); }
.la-dp-done { height: 38px; padding: 0 24px; border: 0; border-radius: var(--r-lg); background: var(--c-ink); font: inherit; font-size: var(--fs-table); font-weight: var(--fw-semibold); color: var(--c-card); cursor: pointer; }
.la-dp-done:hover { background: var(--c-text); }
.la-dp-done:disabled { opacity: .45; cursor: not-allowed; background: var(--c-ink); }
.la-dp-done:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
/* drawer header: the "1 of N" counter sits next to the lead name */
.md-dw-head .md-dw-nav { justify-content: flex-end; min-height: 0; margin-bottom: 6px; }
.md-dw-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.md-dw-name h2 { min-width: 0; }
/* rule 10: the closing word the client said, above the stage suggestion (DECISIONS #169) */
.la-sq-warn { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--c-warning-soft); color: var(--c-warning); font-size: var(--fs-hint); }
.la-sq-warn svg { flex: none; margin-top: 2px; }
/* A closing word: Lost is in play, so the line is red (Sami 2026-11-20, DECISIONS #447) */
.la-sq-warn.lost { background: var(--c-danger-soft); color: var(--c-danger); border: 1px solid var(--c-danger-line); font-weight: var(--fw-semibold); }
/* Date-and-time foot (DECISIONS #215): Clear + Today on the left (shared .dp-pre look), Done on the right */
.la-dp-quick { display: flex; gap: 6px; }
.la-dp-quick .dp-pre.clear { margin-inline-start: 0; }
