/* Projects (projects.js), next-step chips and the greeting. Quiet: type, hairlines, one accent. */
.pj-page { --pj-line: rgba(22,24,27,.08); --pj-sub: #6B716D; --pj-tile: #F6F7F3; }
html[data-theme="dark"] .pj-page, html[data-theme="dark"] .pj-side-sec { --pj-line: rgba(255,255,255,.08); --pj-sub: #9A9F9B; --pj-tile: rgba(255,255,255,.04); }
.pj-top { display: flex; align-items: center; gap: 10px; margin: 6px 0 22px; }
.pj-top h1 { margin: 0; font: 600 26px/1.2 var(--display); letter-spacing: -.01em; }
.pj-top .grow { flex: 1; }
.pj-search { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--pj-line); color: var(--pj-sub); }
.pj-search input { border: 0; background: none; font: inherit; font-size: 13.5px; width: 170px; outline: 0; color: inherit; }
.pj-search svg { width: 15px; height: 15px; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.pj-card { position: relative; display: flex; align-items: center; border-radius: 12px; background: var(--pj-tile); transition: background var(--t-quick); }
.pj-card:hover { background: color-mix(in srgb, var(--pj-tile) 60%, var(--chalk)); }
.pj-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.pj-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--pj-line); color: var(--pj-sub); flex: none; }
.pj-ic svg { width: 16px; height: 16px; }
.pj-ic.lg { width: 44px; height: 44px; border-radius: 12px; }
.pj-tx { display: grid; min-width: 0; }
.pj-tx b { font: 600 14px/1.3 var(--ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-tx small { font-size: 12px; color: var(--pj-sub); }
.pj-pin { display: grid; place-items: center; width: 30px; height: 30px; margin-inline-end: 8px; border: 0; border-radius: 8px; background: none; color: var(--pj-sub); opacity: 0; cursor: pointer; }
.pj-card:hover .pj-pin, .pj-pin.on, .pj-pin:focus-visible { opacity: 1; }
.pj-pin.on { color: var(--graphite); background: color-mix(in srgb, var(--graphite) 7%, transparent); }
.pj-pin svg { width: 15px; height: 15px; }
.pj-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 60px 20px; color: var(--pj-sub); }
.pj-empty b { color: var(--graphite); font: 600 17px var(--ui); }
.pj-empty span { max-width: 380px; font-size: 14px; line-height: 1.5; }
.pj-crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--pj-sub); margin: 0 0 18px; }
.pj-crumb a { color: var(--pj-sub); text-decoration: none; }
.pj-crumb a:hover { color: var(--graphite); }
.pj-crumb .grow { flex: 1; }
.pj-crumb .pj-pin { opacity: 1; margin: 0; }
.pj-crumb-name { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 6px; border-radius: 7px; font: 500 13px var(--ui); color: var(--graphite); cursor: pointer; }
.pj-crumb-name:hover { background: var(--pj-tile); }
.pj-crumb-name svg { width: 13px; height: 13px; opacity: .6; }
.pj-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; align-items: start; }
.pj-title { margin: 0 0 6px; font: 600 26px/1.2 var(--display); letter-spacing: -.01em; }
.pj-about { margin: 0 0 18px; color: var(--pj-sub); font-size: 14px; line-height: 1.55; }
.pj-about summary { list-style: none; cursor: pointer; }
.pj-about summary::-webkit-details-marker { display: none; }
.pj-comp { margin: 14px 0 26px; }
.pj-comp .w-cw { max-width: none; margin: 0; }
.pj-sec { font: 500 12.5px var(--ui); color: var(--pj-sub); margin: 0 0 6px; }
.pj-recents { display: grid; }
.pj-chat { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--pj-line); color: inherit; text-decoration: none; font-size: 14px; }
.pj-chat:hover { background: var(--pj-tile); }
.pj-chat span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-chat time { flex: none; font-size: 12.5px; color: var(--pj-sub); }
.pj-none { color: var(--pj-sub); font-size: 13.5px; }
.pj-panel { position: sticky; top: 16px; display: grid; gap: 2px; }
.pj-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 13.5px; }
.pj-row > svg { width: 16px; height: 16px; color: var(--pj-sub); flex: none; }
.pj-rl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-rl small { color: var(--pj-sub); margin-inline-start: 4px; }
.pj-ra { border: 0; background: none; font: 500 13px var(--ui); color: var(--pj-sub); padding: 4px 6px; border-radius: 7px; cursor: pointer; }
.pj-ra:hover { color: var(--graphite); background: var(--pj-tile); }
.pj-files { justify-self: start; border: 0; background: none; font: 500 12.5px var(--ui); color: var(--pj-sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 2px; }
.pj-phone .pj-panel { position: static; margin: 4px 0 18px; padding: 4px 12px; border-radius: 14px; background: var(--pj-tile); }
@media (max-width: 900px) { .pj-wrap { grid-template-columns: 1fr; gap: 10px; } .pj-panel { position: static; order: -1; } }
/* the sidebar's pinned projects */
.pj-side-sec { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.pj-side-h { font: 500 11.5px var(--ui); color: var(--stone); padding: 4px 10px 2px; }
.pj-side-row svg { width: 16px; height: 16px; }
/* "Project /" above a chat's title */
.pj-bc { display: inline-flex; align-items: center; gap: 4px; font: 500 11.5px var(--ui); color: var(--stone); text-decoration: none; margin-bottom: 1px; }
.pj-bc:hover { color: var(--graphite); }
.pj-bc svg { width: 12px; height: 12px; }
.w-run .who > div { display: grid; }
/* project settings: labels */
.fl-labels { border: 0; padding: 0; margin: 0 0 12px; }
.fl-labels legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.fl-labels legend small { font-weight: 400; color: var(--stone); }
.fl-check { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 12px 6px 0 !important; font-weight: 500 !important; }
.fl-check input { width: auto !important; }
/* two next steps under an answer */
.sw-next { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.sw-next-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 13px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 500 13px var(--ui); color: var(--graphite); cursor: pointer; text-align: start; transition: background var(--t-quick), box-shadow var(--t-quick); }
.sw-next-chip:hover { background: var(--chalk); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--graphite) 22%, transparent); }
.sw-next-chip svg { width: 13px; height: 13px; color: var(--stone); flex: none; }
.sw-next-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="dark"] .sw-next-chip { color: var(--chalk); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
html[data-theme="dark"] .sw-next-chip:hover { background: rgba(255,255,255,.06); }
/* the home greeting */
.w-hero h1.w-greet { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; }

/* GenZ in the task box (owner 2026-12-03): the icon and the word, no frame and no dot; on is green. */
.w-bropill.genz { border-color: transparent; padding: 0 8px; }
.w-bropill.genz:hover { background: var(--chalk, rgba(0,0,0,.04)); border-color: transparent; }
.w-bropill.genz.on { background: transparent; color: var(--green); }
.w-bropill.genz.on:hover { background: var(--mint-tint); }

/* Project pickers and screens (owner 2026-12-03): small, quiet, one action each. */
.fl-sheet.sm { width: min(400px, calc(100% - 28px)); }
.fl-sub { margin: -6px 0 14px; color: var(--stone); font-size: 13.5px; line-height: 1.45; }
.fl-link { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }
.fl-link:hover { color: var(--graphite); }
.fl-inline { border: 0; background: none; padding: 0; font: inherit; color: var(--graphite); text-decoration: underline; cursor: pointer; }
.fl-sheet .fl-pick button.on { background: var(--chalk); font-weight: 600; }
.fl-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--chalk); margin-bottom: 14px; }
.fl-seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--stone); cursor: pointer; }
.fl-seg button[aria-selected="true"] { background: var(--paper); color: var(--graphite); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.fl-mem, .fl-sites { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 0; max-height: 300px; overflow: auto; }
.fl-mem li, .fl-sites li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fl-mem li small { grid-column: 1; color: var(--stone); font-size: 12px; }
.fl-mem li .fl-mem-x { grid-row: 1 / span 2; grid-column: 2; }
.fl-sites li { grid-template-columns: auto 1fr auto; }
.fl-sites li svg { width: 16px; height: 16px; color: var(--stone); }
.fl-sites a { color: var(--graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-mem-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--stone); display: grid; place-items: center; cursor: pointer; }
.fl-mem-x:hover { background: var(--chalk); color: var(--graphite); }
.fl-mem-x svg { width: 14px; height: 14px; }
.fl-sheet form.fl-mem-add { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.fl-sheet form.fl-mem-add input { flex: 1; min-width: 0; }
.fl-sheet form.fl-mem-add .btn { flex: none; }
.fl-sheet .fl-field { display: grid; gap: 6px; margin-top: 12px; font-weight: 600; font-size: 14px; }
.fl-toggle { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; text-align: start; font: inherit; color: inherit; cursor: pointer; }
.fl-toggle > span:first-child { flex: 1; display: grid; gap: 2px; }
.fl-toggle small { color: var(--stone); font-size: 12.5px; }
.fl-sheet .w-sec { margin: 16px 0 8px; }
.fl-ctx { display: grid; gap: 0; max-height: 340px; overflow: auto; margin-bottom: 12px; }
.fl-sheet form .fl-ctx label { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 12px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 13px; }
.fl-ctx label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--graphite); }
.fl-sheet .fl-ctx input { padding: 6px 9px; font-size: 13px; }
@media (max-width: 560px) { .fl-sheet form .fl-ctx label { grid-template-columns: 1fr; gap: 4px; } }
.pj-agents { display: grid; gap: 2px; margin: 2px 0 6px 28px; }
.pj-agent { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; text-align: start; cursor: pointer; color: inherit; }
.pj-agent:hover { background: var(--chalk); }
.pj-agent small { color: var(--stone); white-space: nowrap; }
.pj-agent b { font-weight: 500; }
.fl-sheet .w-sec { font: 600 12.5px/1.3 var(--body, inherit); color: var(--stone); letter-spacing: .01em; margin: 18px 0 6px; }
.fl-sheet form.fl-mem-add input { padding: 7px 10px; font-size: 13.5px; }
/* The two next steps (owner 2026-12-03): one pink, one green, quiet tints with the brand colours. */
.sw-next-chip:nth-child(1) { background: color-mix(in srgb, var(--pink, #FF4F8B) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pink, #FF4F8B) 30%, transparent); color: color-mix(in srgb, var(--pink, #FF4F8B) 70%, var(--graphite)); }
.sw-next-chip:nth-child(1) svg { color: var(--pink, #FF4F8B); }
.sw-next-chip:nth-child(1):hover { background: color-mix(in srgb, var(--pink, #FF4F8B) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pink, #FF4F8B) 45%, transparent); }
.sw-next-chip:nth-child(2) { background: var(--mint-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 28%, transparent); color: var(--green); }
.sw-next-chip:nth-child(2) svg { color: var(--green); }
.sw-next-chip:nth-child(2):hover { background: color-mix(in srgb, var(--green) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 45%, transparent); }
html[data-theme="dark"] .sw-next-chip:nth-child(1) { color: #FF8DB5; }
html[data-theme="dark"] .sw-next-chip:nth-child(2) { color: var(--green); }

/* Add screen: a drop zone first (owner 2026-12-03). */
.fl-drop { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; margin-bottom: 12px; border: 1.5px dashed var(--line); border-radius: 14px; text-align: center; cursor: pointer; color: var(--graphite); transition: background var(--t-quick), border-color var(--t-quick); }
.fl-sheet form label.fl-drop, .fl-drop { font-weight: 400; }
.fl-drop svg { width: 22px; height: 22px; color: var(--stone); }
.fl-drop small { color: var(--stone); font-size: 12.5px; }
.fl-drop:hover, .fl-drop.over { background: var(--chalk); border-color: color-mix(in srgb, var(--graphite) 35%, transparent); }
/* Project memory: a real box, with the mic. */
.fl-sheet form.fl-mem-write { display: grid; gap: 8px; margin-top: 6px; }
.fl-sheet form.fl-mem-write textarea { min-height: 84px; font-size: 14px; line-height: 1.5; }
.fl-mem-tools { display: flex; align-items: center; gap: 8px; }
.fl-mem-tools .grow { flex: 1; }
.fl-mic { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--chalk); display: grid; place-items: center; cursor: pointer; color: var(--graphite); }
.fl-mic svg { width: 17px; height: 17px; }
.fl-mic.on { background: var(--pink, #FF4F8B); color: #fff; animation: breathe 1.4s ease-in-out infinite; }
.fl-mic.busy { opacity: .55; pointer-events: none; }
/* Merge picker. */
.fl-sheet form .fl-merge { max-height: 300px; overflow: auto; margin-bottom: 4px; }
.fl-sheet form .fl-merge label.fl-check { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 10px; font-weight: 400; cursor: pointer; }
.fl-sheet form .fl-merge label.fl-check:hover { background: var(--chalk); }
.fl-sheet form .fl-merge input { width: auto; }
/* Where an imported project came from: the product's initial on its own colour. */
.pj-src { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 700 11px/1 var(--ui, system-ui); color: #fff; background: var(--stone); }
.pj-src.lg { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.pj-src[data-src="claude"] { background: #D97757; }
.pj-src[data-src="chatgpt"] { background: #10A37F; }
.pj-src[data-src="gemini"] { background: #4C8DF6; }
.pj-src[data-src="perplexity"] { background: #20808D; }
.pj-from { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 10px; font-size: 13px; color: var(--stone); }
.pj-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fl-pick button > span:not(.pj-src) { display: grid; gap: 2px; }
.fl-pick button small { color: var(--stone); font-size: 12px; font-weight: 400; }
.fl-sheet .fl-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fl-sheet .fl-ways .fl-gh { grid-column: 1 / -1; }
.fl-sheet .fl-gh input { padding: 7px 10px !important; font-size: 13.5px; margin-top: 6px; }
.fl-sheet .fl-gh > span { display: grid; grid-template-columns: 1fr 160px auto; gap: 0 8px; align-items: end; }
.fl-sheet .fl-gh > span > b, .fl-sheet .fl-gh > span > small { grid-column: 1 / -1; }
@media (max-width: 560px) { .fl-sheet .fl-ways { grid-template-columns: 1fr; } .fl-sheet .fl-gh > span { grid-template-columns: 1fr; } }
.fl-sheet .fl-drive > span { grid-template-columns: 1fr auto; }

/* Saywork hosting card under a hosting question (hostcard.js): one surface, hairline, the brand mark, two buttons. */
.sw-hostcard { margin: 10px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--paper, #fff); box-shadow: inset 0 0 0 1px var(--line); max-width: 520px; }
.sw-hc-top { display: flex; align-items: center; gap: 10px; }
.sw-hc-top > span:last-child { display: grid; gap: 1px; }
.sw-hc-top small { font: 600 11px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.sw-hc-top b { font-size: 15px; }
.sw-hc-mark { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--graphite); color: var(--paper, #fff); font: 700 15px/1 var(--display, var(--ui)); }
.sw-hostcard ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.sw-hostcard li { position: relative; padding-inline-start: 18px; font-size: 13.5px; color: var(--graphite); line-height: 1.45; }
.sw-hostcard li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.sw-hc-acts { display: flex; gap: 8px; flex-wrap: wrap; }
html[data-theme="dark"] .sw-hostcard { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* Source marks are the products' own logos now: a white tile, the logo in its colour. */
.pj-src { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line); color: inherit; }
.pj-src svg { width: 62%; height: 62%; }
html[data-theme="dark"] .pj-src[data-src="chatgpt"] svg { fill: #000; }
.ps-repo:empty, .ps-repo:has(#repo-chip:empty) { display: none; } .ps-repo { padding: 0 4px 8px; display: flex; }

/* "Your memory" inside a project: the person's facts, grouped by business; dimmed while the project uses only its own. */
.fl-sheet:has(.fl-seg) { min-height: 360px; }
.fl-mine { max-height: 320px; overflow: auto; margin-bottom: 12px; }
.fl-mine.off { opacity: .45; }
.fl-memg { margin-bottom: 10px; }
.fl-memg > b { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0; }
.fl-memg > b svg { width: 15px; height: 15px; color: var(--stone); }
.fl-memg > b small { color: var(--stone); font-weight: 400; }
.fl-memg .fl-mem li { grid-template-columns: 1fr; font-size: 13.5px; padding: 7px 0; }
/* Settings: where Kit emails you. */
.km-card { padding: 14px 16px; display: grid; gap: 4px; }
.km-head { display: grid; gap: 2px; margin-bottom: 6px; }
.km-head small { color: var(--stone); font-size: 12.5px; line-height: 1.45; }
.km-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.km-row small { color: var(--stone); font-size: 12px; margin-inline-start: auto; }
.km-x { margin-inline-start: auto; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--stone); display: grid; place-items: center; cursor: pointer; }
.km-x:hover { background: var(--chalk); }
.km-x svg { width: 14px; height: 14px; }
.km-add { display: flex; gap: 8px; margin-top: 8px; }
.km-add input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper, #fff); color: inherit; }
