/* Plan2Code Console. Light by default, dark when the system asks. No external fonts: the page must work offline and under a CSP with no 'unsafe-inline'. */ :root { --bg: #f6f3ee; --panel: #ffffff; --panel-2: #fbf9f6; --ink: #1d1a17; --ink-2: #5d564d; --ink-3: #8f8779; --rule: #e4ddd1; --rule-2: #cfc6b6; --accent: #206cc3; --accent-soft: #ecf2f9; --accent-ink: #ffffff; --accent-line: #9ab4d3; --ok: #2f6b45; --ok-soft: #e4f0e8; --stage: #9a6a12; --stage-soft: #fbf0d8; --warn: #9c3327; --warn-soft: #fbe7e3; --focus: #1f6feb; --shadow: 0 1px 2px rgba(29, 26, 23, 0.05), 0 8px 24px rgba(29, 26, 23, 0.06); /* A soft accent halo for the things that want noticing: the update banner and an enabled Send. Built from --accent, so a picked accent glows too. */ --glow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 12px color-mix(in srgb, var(--accent) 35%, transparent); --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --serif: "Iowan Old Style", Charter, Georgia, Cambria, serif; --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace; --radius: 10px; /* The column's width: the card, the pager and the documents. */ --card-width: 880px; } /* The card-width presets. These must agree with CARD_WIDTHS in palette.js, which validates the saved choice and paints data-width on first load. */ :root[data-width="narrow"] { --card-width: 720px; } :root[data-width="wide"] { --card-width: 1080px; } /* Dark is written twice on purpose, and the duplication is the whole mechanism. The first copy follows the system unless the person has explicitly asked for light; the second is the explicit ask. Without the `:not()` a system-dark browser would win over someone who chose light in the settings panel. */ @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #171513; --panel: #201d1a; --panel-2: #262220; --ink: #f0ece5; --ink-2: #b6afa3; --ink-3: #8b8376; --rule: #332e29; --rule-2: #46403a; --accent: #619fe5; --accent-soft: #1a2533; --accent-ink: #0c1117; --accent-line: #3d5978; --ok: #74c28f; --ok-soft: #1c2d22; --stage: #e0ab4c; --stage-soft: #332a17; --warn: #f0897a; --warn-soft: #34201d; --focus: #6aa3ff; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35); --glow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); } } :root[data-theme="dark"] { --bg: #171513; --panel: #201d1a; --panel-2: #262220; --ink: #f0ece5; --ink-2: #b6afa3; --ink-3: #8b8376; --rule: #332e29; --rule-2: #46403a; --accent: #619fe5; --accent-soft: #1a2533; --accent-ink: #0c1117; --accent-line: #3d5978; --ok: #74c28f; --ok-soft: #1c2d22; --stage: #e0ab4c; --stage-soft: #332a17; --warn: #f0897a; --warn-soft: #34201d; --focus: #6aa3ff; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35); --glow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; } :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; } .skip { position: absolute; left: -9999px; top: 0; background: var(--panel); color: var(--ink); padding: 10px 16px; z-index: 50; border-radius: 0 0 var(--radius) 0; } .skip:focus { left: 0; } /* Pin each region to its own row rather than relying on order: the banner is fixed now and never a grid item, but keeping the rows explicit means a future element that hides the same way cannot shuffle the tracks. */ .topbar { grid-row: 1; } .layout { grid-row: 2; } .footer { grid-row: 3; } /* ------------------------------------------------------------- banner */ /* A pill floated over the footer, centred on the bar. It used to be the top grid row, and every time it appeared it pushed the whole page down a track; overlaying it means the message lands without the layout moving under the reader's cursor. It covers the footer's middle while it is up, which is safe: the messages it carries are the reason nothing there needs pressing. */ .banner { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 46; max-width: min(680px, calc(100vw - 32px)); padding: 9px 22px; border: 1px solid var(--rule-2); border-radius: 99px; box-shadow: var(--shadow); text-align: center; font-weight: 600; font-size: 14px; background: var(--warn-soft); color: var(--warn); animation: banner-in 0.22s ease; } @keyframes banner-in { from { opacity: 0; transform: translateX(-50%) translateY(7px); } } .banner.good { background: var(--ok-soft); color: var(--ok); } .banner .banner-hint { font-weight: 400; margin-right: 4px; } .banner .banner-action { margin: 0 0 0 10px; } .banner.info { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); } /* ------------------------------------------------------------- topbar */ .topbar { background: var(--panel); border-bottom: 1px solid var(--rule); padding: 14px 20px 0; } .topbar-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; } .topbar-row.second { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 0; gap: 16px; min-height: 42px; } .row-left { display: flex; align-items: center; gap: 8px; } .brief-btn { border-color: var(--rule-2); color: var(--ink-2); } /* Back to the dashboard: a filled triangle in the highlight color, so it recolors with the swatch like everything else that is the person's to use. */ .home-btn { border-color: var(--rule-2); display: inline-flex; align-items: center; justify-content: center; } /* As tall as Stop session beside it, with an icon's narrower sides. */ .btn.home-btn { padding: 0 6px; align-self: stretch; margin-right: -8px; } .home-btn[hidden] { display: none; } .home-btn svg { width: 16px; height: 16px; display: block; } .home-btn path { fill: var(--accent); } .home-btn:hover:not(:disabled) { border-color: var(--accent-line); background: var(--accent-soft); } .home-btn:disabled path { fill: var(--ink-3); } /* Ending the session. Quiet, because it is the one control on the page that is never the next step, and red only on hover, because it is not dangerous: it saves, then stops. */ .stop-btn { border-color: var(--rule-2); color: var(--ink-2); } .stop-btn:hover:not(:disabled) { color: var(--warn); border-color: var(--warn); } .brief-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent-line); } /* Subagents: an orchestrator and its helpers. Unlit is a hollow outline in the quiet ink; lit fills the nodes with the highlight color. */ .subagents-btn { border-color: var(--rule-2); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; } .btn.subagents-btn { padding: 0 6px; align-self: stretch; } .subagents-btn[hidden] { display: none; } .subagents-btn svg { width: 16px; height: 16px; display: block; } .subagents-btn .sa-link { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-linecap: round; } .subagents-btn .sa-hub { fill: none; stroke: var(--ink-2); stroke-width: 1.4; } .subagents-btn .sa-node { fill: none; stroke: var(--ink-2); stroke-width: 1.2; } .subagents-btn[aria-pressed="true"] .sa-hub, .subagents-btn[aria-pressed="true"] .sa-node { fill: var(--accent); stroke: var(--accent); } .subagents-btn[aria-pressed="true"] .sa-link { stroke: var(--accent); } .subagents-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent-line); } .subagents-btn:hover:not(:disabled) .sa-link, .subagents-btn:hover:not(:disabled) .sa-hub, .subagents-btn:hover:not(:disabled) .sa-node { stroke: var(--accent); } .subagents-btn:disabled .sa-link, .subagents-btn:disabled .sa-hub, .subagents-btn:disabled .sa-node { stroke: var(--ink-3); fill: none; } .ident { display: flex; align-items: baseline; gap: 12px; min-width: 0; } /* The session meter: a ring that fills with the points and a few words, in the level's colour. Green, amber and red are the page's own done / staged / careful colours, so both themes are covered by the variables. */ .meter-slot { position: relative; flex: none; align-self: center; } .meter-pill { --m: var(--ok); display: inline-flex; align-items: center; gap: 7px; padding: 2px 10px 2px 3px; border: 1px solid color-mix(in srgb, var(--m) 40%, transparent); border-radius: 99px; background: var(--panel); color: var(--m); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; } .meter-pill[hidden] { display: none; } .meter-pill[data-level="yellow"] { --m: var(--stage); } .meter-pill[data-level="red"] { --m: var(--warn); background: var(--warn-soft); } .meter-pill:hover { background: color-mix(in srgb, var(--m) 10%, var(--panel)); } .meter-ring { width: 20px; height: 20px; transform: rotate(-90deg); flex: none; } .meter-ring circle { fill: none; stroke-width: 3; } .meter-track { stroke: var(--rule); } .meter-fill { stroke: var(--m); transition: stroke-dashoffset 0.2s ease; } @media (prefers-reduced-motion: reduce) { .meter-fill { transition: none; } } .meter-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 10px 12px; background: var(--panel); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 8px; box-shadow: var(--shadow); } .meter-pop[hidden] { display: none; } .meter-tip { margin: 0 0 6px; font-size: 13px; color: var(--ink-2); } .meter-list { list-style: none; margin: 0 0 8px; padding: 6px 0 0; border-top: 1px solid var(--rule); max-height: 40vh; overflow-y: auto; font-size: 12px; color: var(--ink-2); } .meter-list[hidden] { display: none; } .meter-list li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; } .meter-fresh { margin: 0 0 8px; padding-top: 6px; border-top: 1px solid var(--rule); } .meter-fresh[hidden] { display: none; } .meter-fresh-text { margin: 0 0 6px; font-size: 12px; color: var(--ink-2); } .meter-fresh-row .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; } .meter-item-points { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; } .badge { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 3px 8px; border-radius: 99px; white-space: nowrap; } h1 { font: 600 19px/1.2 var(--serif); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .progress-block { flex: 1 1 260px; min-width: 200px; max-width: 460px; margin-left: auto; } .progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 5px; } #progress-text { font-weight: 600; color: var(--ink); } .confidence { color: var(--ink-3); text-align: right; } .progress-track { height: 7px; background: var(--rule); border-radius: 99px; overflow: hidden; } .progress-fill { height: 100%; width: 0%; background: var(--ok); border-radius: 99px; transition: width 0.5s ease; } .tick { color: var(--ink-3); font-variant-numeric: tabular-nums; } /* Planny's own corner. He was 23px in a title bar, which is a logo, not a guide: too small to read a mood off and too small to look at. Here he has room, he sits above the question list where the eye starts, and his line wraps instead of squeezing the view tabs. */ .dock { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px 16px; border-bottom: 1px solid var(--rule); background: var(--panel-2); text-align: center; position: relative; overflow: hidden; isolation: isolate; } .dock > :not(.sky) { position: relative; z-index: 1; } /* ---------------------------------------------------------- the flight While Plan2Code is thinking, stars stream past and Planny leans into it: tilted forward, bobbing, with speed lines behind him. The motion belongs to him, so it reads as "he is off working on it" rather than as a background effect. Chosen from ten prototypes (prototypes/thinking-starfield.html). The flight and the spinner are one signal: every line that turns the ring also flies. Every other state keeps the dock still, so the motion itself carries meaning. */ .sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.7s ease; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); } .dock.is-flying .sky { opacity: 0.85; } /* Each star rides a track as wide as the dock and moves by a percentage of it, so the field fills whatever width the dock has: 250px, 210px on a narrower window, the full width on a phone. The dot sits at the track's right-hand end. */ .sky .star { position: absolute; left: 0; top: var(--y); width: 100%; height: 0; transform: translateX(calc(var(--p) * -100%)); } .sky .star::before { content: ""; position: absolute; left: 100%; width: var(--s); height: var(--s); border-radius: 50%; background: var(--ink-2); } .sky .star.hot::before { background: var(--accent); } .dock.is-flying .sky .star { animation: star-fly var(--dur) linear var(--delay) infinite; } @keyframes star-fly { from { transform: translateX(10px); } to { transform: translateX(calc(-100% - 20px)); } } .pilot { display: block; flex: none; line-height: 0; } .dock.is-flying .planny { transform: rotate(7deg); transform-origin: 50% 60%; animation: planny-fly 1.7s ease-in-out infinite; } @keyframes planny-fly { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-3px) rotate(6deg); } } /* Speed lines, trailing off his back. Hung off Planny rather than off the dock, so they follow him into the phone layout, where he sits beside the text instead of above it. */ .trail { position: absolute; right: 100%; top: 0; width: 40px; height: 100%; margin-right: 4px; opacity: 0; transition: opacity 0.5s; pointer-events: none; } .dock.is-flying .trail { opacity: 1; } .trail i { position: absolute; right: 0; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, transparent, var(--ink-3)); } .trail i:nth-child(1) { top: 38%; width: 26px; } .trail i:nth-child(2) { top: 52%; width: 36px; } .trail i:nth-child(3) { top: 66%; width: 22px; } .dock.is-flying .trail i { animation: trail-streak 0.7s linear infinite; } .dock.is-flying .trail i:nth-child(2) { animation-delay: -0.25s; } .dock.is-flying .trail i:nth-child(3) { animation-delay: -0.5s; } @keyframes trail-streak { from { transform: translateX(6px); opacity: 1; } to { transform: translateX(-22px); opacity: 0; } } /* The line under him stays readable with stars passing behind it. */ .dock.is-flying .dock-say { text-shadow: 0 0 3px var(--panel-2), 0 0 6px var(--panel-2), 0 0 10px var(--panel-2); } .dock-say { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-wrap: balance; } /* ------------------------------------------------------------ Planny */ /* The mascot is the page's state, not decoration on top of it: his star eye lights up when something is yours and turns while the agent works, his arms take a pose for each mood, and he fades and shuts his eye when the connection drops. One class from app.js switches all of it. */ .planny { width: 46px; height: 63px; flex: none; overflow: visible; } .planny .shell, .planny .smile, .planny .arm path { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; } /* The mouth is a lip, not a grin: at the body's own 1.3 it reads as lipstick. */ .planny .smile { stroke-width: 0.9; } .planny .arm path { stroke-width: 1.2; } .planny .arm circle, .planny .foot { fill: var(--ink-2); stroke: none; } .planny .shell { fill: var(--panel-2); } .planny .eye, .planny .foot { transform-box: fill-box; transform-origin: center; } .planny .eye { fill: var(--ink); stroke: none; animation: planny-blink 6.5s ease-in-out infinite; } /* Arms: one set per mood, and only that set shows. Moods without a set of their own (happy) keep the resting arms; adrift has none at all, which is most of what makes him look lost. Arms that move pivot at the shoulder, so they carry view-box origins rather than their own boxes. */ .planny .arms { display: none; } .planny .a-rest { display: inline; } .planny:is(.is-point, .is-work, .is-done, .is-gone, .is-adrift) .a-rest { display: none; } .planny.is-point .a-point, .planny.is-work .a-work, .planny.is-done .a-done, .planny.is-gone .a-gone { display: inline; } .planny .arm.wave, .planny .arm.pump-l, .planny .arm.pump-r { transform-box: view-box; } .planny .arm.wave { transform-origin: 19px 17.5px; animation: arm-wave 0.55s ease-in-out infinite alternate; } .planny .arm.pump-l { transform-origin: 3px 18px; animation: arm-pump-l 0.7s ease-in-out infinite; } .planny .arm.pump-r { transform-origin: 19px 18px; animation: arm-pump-r 0.7s ease-in-out infinite; } @keyframes planny-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } } @keyframes planny-lean { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } } @keyframes planny-spin { to { transform: rotate(360deg); } } @keyframes arm-wave { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } } @keyframes arm-pump-l { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(18deg); } } @keyframes arm-pump-r { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-20deg); } } @keyframes foot-step-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1px); } } @keyframes foot-step-b { 0%, 100% { transform: translateY(-1.1px); } 50% { transform: translateY(0); } } /* Something for you to do: star lit in the highlight colour, a wave. */ .planny.is-point { animation: planny-lean 2.6s ease-in-out infinite; } .planny.is-point .eye { fill: var(--accent); } /* The agent has it: the star turns, arms pump and his feet walk on the spot. */ .planny.is-work .eye { fill: var(--accent); animation: planny-spin 2.6s linear infinite; } .planny.is-work .foot.f1 { animation: foot-step-a 0.7s ease-in-out infinite; } .planny.is-work .foot.f2 { animation: foot-step-b 0.7s ease-in-out infinite; } /* Nothing outstanding. */ .planny.is-happy .eye { fill: var(--ok); } /* The server is up, but nothing is answering at the other end of it. Not the faded, eye-shut `gone` look: this page is working perfectly, and the thing that is not is somewhere else. Grey, still, and no arms: he has nothing to do with them until someone answers. */ .planny.is-adrift .eye { fill: var(--ink-3); animation: none; } .planny.is-adrift .smile { opacity: 0.6; } /* Finished. Settled rather than switched off: green star, arms up, eye open. The `gone` look below would be wrong here -- the server IS about to go away, and a faded Planny with his eye shut reads as a breakage. */ .planny.is-done .eye { fill: var(--ok); animation: none; } .planny.is-done .smile { stroke-width: 1.5; } /* No server: faded, eye shut in the warning colour, arms hanging. */ .planny.is-gone { opacity: 0.5; } .planny.is-gone .eye { fill: var(--warn); animation: none; transform: scaleY(0.12); } /* ------------------------------------------------------ mood variants Each mood above is a family, not a single drawing: app.js rolls a v0/v1/v2 every time the mood CHANGES, so "your turn" does not look identical every time it comes around. v0 is always the plain version written above; the variants below are the alternates. Rules stay on the parts (arms, eye, feet) rather than on the svg where a variant can help it, so the flight transform can keep owning the svg itself while the agent works. */ /* Parts only the alternates use. Hidden here, woken by the variant. */ .planny .spark { opacity: 0; } .planny .spark path { fill: var(--accent); transform-box: fill-box; transform-origin: center; } .planny .zzz path { fill: none; stroke: var(--ink-3); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform-box: fill-box; } @keyframes eye-dart { 0%, 12%, 32%, 52%, 100% { transform: translateX(0); } 20% { transform: translateX(-1.7px); } 44% { transform: translateX(1.7px); } } @keyframes eye-scan { 0%, 100% { transform: translateX(-1.9px); } 50% { transform: translateX(1.9px); } } @keyframes eye-up { 0%, 30%, 100% { transform: translateY(0); } 50%, 72% { transform: translateY(-1.5px); } } @keyframes planny-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.6px); } } @keyframes planny-sway { 0%, 100% { transform: rotate(-2.6deg); } 50% { transform: rotate(2.6deg); } } @keyframes planny-nod { 0%, 55%, 100% { transform: rotate(0deg); } 65% { transform: rotate(5deg); } 80% { transform: rotate(-2deg); } } @keyframes star-throb { 0%, 100% { scale: 1; } 50% { scale: 1.18; } } @keyframes spark-pop { 0%, 12%, 46%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 22% { opacity: 1; transform: scale(1) rotate(18deg); } 36% { opacity: 0.9; transform: scale(0.7) rotate(38deg); } } @keyframes zzz-rise { 0% { opacity: 0; transform: translate(0, 0); } 25% { opacity: 0.9; } 100% { opacity: 0; transform: translate(2.5px, -5.5px); } } /* point -- something is yours to do. */ /* v1: an eager little hop while he waves. */ .planny.is-point.v1 { animation: planny-float 1.4s ease-in-out infinite; } /* v2: still leaning, but his star darts like he is pointing things out. */ .planny.is-point.v2 { animation: planny-lean 3.2s ease-in-out infinite; } .planny.is-point.v2 .eye { animation: eye-dart 3.4s ease-in-out infinite; } /* work -- the agent has it. The flight already owns the svg, so every work variant plays on his parts only. */ /* v1: reading. The star sweeps back and forth instead of turning. */ .planny.is-work.v1 .eye { animation: eye-scan 1.6s ease-in-out infinite; } /* v2: full tilt. The star turns faster and throbs while he runs. */ .planny.is-work.v2 .eye { animation: planny-spin 1.4s linear infinite, star-throb 0.7s ease-in-out infinite; } .planny.is-work.v2 .arm.pump-l, .planny.is-work.v2 .arm.pump-r, .planny.is-work.v2 .foot { animation-duration: 0.45s; } /* happy -- nothing outstanding. */ /* v1: a quiet float. */ .planny.is-happy.v1 { animation: planny-float 3.6s ease-in-out infinite; } /* v2: sparkles off his corners. */ .planny.is-happy.v2 .spark { opacity: 1; } .planny.is-happy.v2 .spark path { animation: spark-pop 3s ease-in-out infinite; } .planny.is-happy.v2 .spark g + g path { animation-delay: 1.5s; } /* done -- session over. */ /* v1: a small satisfied nod, on a long leash so it reads as occasional. */ .planny.is-done.v1 { animation: planny-nod 4.4s ease-in-out infinite; transform-origin: 50% 92%; } .planny.is-done.v1 .spark { opacity: 1; } .planny.is-done.v1 .spark path { animation: spark-pop 4.4s ease-in-out infinite; } /* adrift -- the page is fine, the other end is not. */ /* v1: a slow lost sway, star drifting up to look for him. */ .planny.is-adrift.v1 { animation: planny-sway 5.4s ease-in-out infinite; transform-origin: 50% 100%; } .planny.is-adrift.v1 .eye { animation: eye-up 5.4s ease-in-out infinite; } /* gone -- no server. */ /* v1: asleep at the post. */ .planny.is-gone.v1 .zzz path { animation: zzz-rise 3.2s ease-in infinite; } .planny.is-gone.v1 .zzz path:nth-of-type(2) { animation-delay: 1.05s; } .planny.is-gone.v1 .zzz path:nth-of-type(3) { animation-delay: 2.1s; } /* ------------------------------------------------------------ wake-up A freshly opened dashboard: Planny powers on centre stage, then glides into the rail (boot.js). Each beat is a keyframe on a delay under `.booting`, one class for the whole run; the glide's target depends on where the rail sits, so boot.js hands it over as --wake-glide. The layer takes clicks so none lands on a card underneath while he wakes. */ .wake { position: fixed; inset: 0; z-index: 45; pointer-events: auto; } /* Solid page colour behind the sleeping bot, following light/dark via --bg. */ .wake::before { content: ""; position: absolute; inset: 0; background: var(--bg); } .wake[hidden] { display: none; } .wake-bot { position: absolute; left: 50%; top: 50%; width: 180px; height: 246px; margin: -123px 0 0 -90px; overflow: visible; transform-origin: 0 0; } .wake-bot .shell, .wake-bot .smile, .wake-bot .limb path { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; } .wake-bot .smile { stroke-width: 0.9; } .wake-bot .limb path { stroke-width: 1.2; } .wake-bot .limb circle { fill: var(--ink-2); } .wake-bot .shell { fill: var(--panel-2); } .wake-bot .foot { fill: var(--ink-3); } .wake-bot .eye { fill: var(--ink); transform-box: fill-box; transform-origin: center; } /* The star and its scan sit in .look, so the glance moves them together without fighting the star's own open-and-light transform. */ .wake-bot .look { transform-box: view-box; } .wake-bot .scan { fill: none; stroke: var(--accent); stroke-width: 0.5; opacity: 0; } .wake-bot .body { transform-box: view-box; transform-origin: 11px 28.8px; } /* Arms pivot at the shoulder, so rotating one swings it from the body. */ .wake-bot .limb { transform-box: view-box; } .wake-bot .limb.l { transform-origin: 3px 18px; } .wake-bot .limb.r { transform-origin: 19px 18px; } /* His Z's sit outside .body, so neither the breathing nor the hop moves them. */ .wake-bot .zzz { transform-box: view-box; transform-origin: 18px 1px; } .wake-bot .zzz path { fill: none; stroke: var(--ink-3); stroke-width: 0.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform-box: fill-box; } /* Dormant, before the first click: the one line telling them to wake him. */ .wake.dormant { cursor: pointer; } .wake-hint { position: absolute; left: 0; right: 0; top: 50%; margin: 147px 0 0; text-align: center; color: var(--ink-3); font-size: 0.95rem; letter-spacing: 0.02em; opacity: 0; transition: opacity 0.3s ease; } .wake.dormant .wake-hint { opacity: 1; } /* Skip: muted, bottom right, so it never competes with the animation. */ .wake-skip { position: absolute; right: 14px; bottom: 14px; padding: 4px 12px; border: 1px solid var(--ink-3); border-radius: 4px; background: transparent; color: var(--ink-3); font: inherit; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; opacity: 0.7; } .wake-skip:hover, .wake-skip:focus-visible { opacity: 1; color: var(--ink); border-color: var(--ink); } /* 0.0 s, powered down: the resting state every beat starts from. Arms hang slack against his sides, the star is shut and the smile not yet drawn. */ .wake-bot { filter: grayscale(1); opacity: 0.55; } .wake-bot .limb.l { transform: rotate(-14deg); } .wake-bot .limb.r { transform: rotate(14deg); } .wake-bot .eye { transform: scaleY(0.1); } .wake-bot .smile { stroke-dasharray: 7; stroke-dashoffset: 7; } @media (prefers-reduced-motion: no-preference) { /* Asleep until the click, on loop: Z's drift up, he breathes, his slack arms sway out of step, and his feet pulse like a standby light. Each stops the moment .booting swaps in and hands the part to its beat below. The Z's keep rising through the pop, so they never jump back. */ .wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path { animation: zzz-rise 3.2s ease-in infinite; } .wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path:nth-of-type(2) { animation-delay: 1.05s; } .wake:is(.dormant, .stirring, .booting) .wake-bot .zzz path:nth-of-type(3) { animation-delay: 2.1s; } .wake.dormant .wake-bot .body { animation: wake-breathe 4s ease-in-out infinite; } .wake:is(.dormant, .stirring) .wake-bot .limb.l { animation: wake-doze-l 3.6s ease-in-out infinite; } .wake:is(.dormant, .stirring) .wake-bot .limb.r { animation: wake-doze-r 4.1s ease-in-out infinite; } .wake:is(.dormant, .stirring) .wake-bot .foot { animation: wake-standby 2.8s ease-in-out infinite; } /* Nudged, for one snore (app.js stir): still asleep, rocked gently side to side about his feet, a pair of rocks then a pause, as if being shaken. */ .wake.stirring .wake-bot .body { animation: wake-nudge 1.3s ease-in-out infinite; } /* Startled awake: the Z's blow outward and are gone. */ .wake.booting .wake-bot .zzz { animation: wake-zzz-pop 0.3s ease-out both; } /* 0.4 s power-on and feet blink · 1.35 s feet plant · 1.5 s / 1.9 s arms lift off his sides · 2.5 s star opens with the scan, lit · 2.85 s he looks left, then right, then ahead · 3.2 s smile · 3.6 s hop, arms up in a cheer, star back to ink. */ .wake.booting .wake-bot { animation: wake-power 0.3s ease 0.4s both; } .wake.booting .wake-bot .foot { animation: wake-feet 0.5s steps(1) 0.4s both, wake-plant 0.2s ease 1.35s both; } .wake.booting .wake-bot .limb.l { animation: wake-lift-l 0.45s cubic-bezier(.3,1.6,.5,1) 1.5s both, wake-cheer-l 0.5s ease-out 3.6s both; } .wake.booting .wake-bot .limb.r { animation: wake-lift-r 0.45s cubic-bezier(.3,1.6,.5,1) 1.9s both, wake-cheer-r 0.5s ease-out 3.6s both; } .wake.booting .wake-bot .eye { animation: wake-eye 0.35s ease-out 2.5s both, wake-star 0.9s ease-in-out 2.5s both; } .wake.booting .wake-bot .scan { animation: wake-scan 0.6s ease-in-out 2.5s both; } .wake.booting .wake-bot .look { animation: wake-look 0.8s ease-in-out 2.85s both; } .wake.booting .wake-bot .smile { animation: wake-smile 0.4s ease-out 3.2s both; } .wake.booting .wake-bot .body { animation: wake-hop 0.5s ease-out 3.6s both; } /* 4.3 s, into the rail. The power-on is long finished by now and holds its last frame, so the transition owns the transform alone. */ .wake.gliding .wake-bot { transform: var(--wake-glide); transition: transform 0.6s cubic-bezier(.6,0,.2,1); } .wake.gliding::before { opacity: 0; transition: opacity 0.6s ease; } /* The menu comes in as he leaves: pre-hidden while he wakes, then each group rises in, a beat after the one above it. */ .dash.waking .dash-group { opacity: 0; transform: translateY(8px); } .dash.waking.is-in .dash-group { animation: dash-rise 0.5s ease both; } .dash.waking.is-in .dash-group:nth-child(2 of .dash-group) { animation-delay: 0.06s; } .dash.waking.is-in .dash-group:nth-child(3 of .dash-group) { animation-delay: 0.12s; } .dash.waking.is-in .dash-group:nth-child(4 of .dash-group) { animation-delay: 0.18s; } .dash.waking.is-in .dash-group:nth-child(5 of .dash-group) { animation-delay: 0.24s; } .dash.waking.is-in .dash-group:nth-child(6 of .dash-group) { animation-delay: 0.3s; } } /* One Planny on screen: the rail's waits out of sight (keeping its place, so the glide can measure it) until the big one lands on it. */ .pilot.is-waking { visibility: hidden; } /* The note types in (app.js revealNote): what it has not reached waits. */ .dash-note .is-untyped { visibility: hidden; } @keyframes wake-power { from { filter: grayscale(1); opacity: 0.55; } to { filter: none; opacity: 1; } } /* Off for the delay, then on-off-on-off-on, like a standby light waking. */ @keyframes wake-feet { 0% { fill: var(--ink-3); } 0.1% { fill: var(--accent); } 25% { fill: var(--ink-3); } 50% { fill: var(--accent); } 75% { fill: var(--ink-3); } 100% { fill: var(--accent); } } @keyframes wake-plant { from { fill: var(--accent); } to { fill: var(--ink-2); } } @keyframes wake-lift-l { from { transform: rotate(-14deg); } to { transform: rotate(0); } } @keyframes wake-lift-r { from { transform: rotate(14deg); } to { transform: rotate(0); } } /* Up and back down: the arms end on the rest pose the rail draws, so the glide hands over to an identical drawing. */ @keyframes wake-cheer-l { 0%, 100% { transform: rotate(0); } 45%, 60% { transform: rotate(116deg); } } @keyframes wake-cheer-r { 0%, 100% { transform: rotate(0); } 45%, 60% { transform: rotate(-116deg); } } @keyframes wake-eye { from { transform: scaleY(0.1); } to { transform: scaleY(1); } } /* The star comes on lit, then settles to ink by the hop. */ @keyframes wake-star { 0%, 60% { fill: var(--accent); } 100% { fill: var(--ink); } } @keyframes wake-scan { 0% { opacity: 0; transform: translateX(-3px); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(3px); } } /* A glance each way, then eyes front before the hop: he ends where the rail draws him, so the glide still lands on an identical drawing. */ @keyframes wake-look { 0%, 100% { transform: translateX(0); } 17.5%, 42.5% { transform: translateX(-2.2px); } 61%, 82.5% { transform: translateX(2.2px); } } @keyframes wake-smile { from { stroke-dashoffset: 7; } to { stroke-dashoffset: 0; } } @keyframes wake-hop { 0%, 100% { transform: translateY(0) scaleY(1); } 20% { transform: translateY(0) scaleY(0.92); } 55% { transform: translateY(-3px) scaleY(1.04); } } @keyframes wake-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.03); } } @keyframes wake-nudge { 0%, 60%, 100% { transform: rotate(0); } 12% { transform: rotate(-4deg); } 27% { transform: rotate(4deg); } 42% { transform: rotate(-3deg); } 52% { transform: rotate(2deg); } } @keyframes wake-doze-l { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(-7deg); } } @keyframes wake-doze-r { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(7deg); } } @keyframes wake-standby { 0%, 100% { fill: var(--ink-3); } 50% { fill: var(--ink); } } @keyframes wake-zzz-pop { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.8); } } @keyframes dash-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } .views { display: flex; gap: 4px; flex-wrap: wrap; } .views-group { display: flex; align-items: flex-start; min-width: 0; } .views-arrow { display: flex; align-items: center; flex: none; margin: 9.5px 18px 0 0; color: var(--accent); pointer-events: none; } .views-arrow:has(+ .views:empty) { visibility: hidden; } .views-arrow svg { width: 10px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.35; } .views-arrow svg:last-child { opacity: 0.55; } @media (prefers-reduced-motion: no-preference) { @keyframes views-runway { 0%, 100% { opacity: 0.25; } 30% { opacity: 0.95; } } .views-arrow svg { animation: views-runway 1.2s ease-in-out 0.5s 3; } .views-arrow svg:nth-child(2) { animation-delay: 0.7s; } .views-arrow svg:nth-child(3) { animation-delay: 0.9s; } } .view-tab { appearance: none; border: 1px solid transparent; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; padding: 6px 13px; border-radius: 99px; cursor: pointer; } .view-tab:hover { background: var(--panel-2); color: var(--ink); } .view-tab[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); font-weight: 600; } .view-tab .tab-count { font-size: 11px; opacity: 0.75; margin-left: 5px; } /* ------------------------------------------------------------- layout */ .layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 320px; min-height: 0; overflow: hidden; } .rail { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--rule); } .sidebar, .main, .aside { overflow-y: auto; padding: 20px; min-height: 0; } .sidebar { flex: 1; } .aside { border-left: 1px solid var(--rule); background: var(--panel-2); } /* The question column does not scroll: the CARD does. A long question used to push Previous / Next below the fold, so the way on disappeared exactly when the question was big enough to need it. The card is the only thing here that shrinks, so it takes the squeeze and scrolls its own contents while its frame, and the pager under it, stay put. */ .main { padding: 24px 28px; overflow: hidden; display: flex; flex-direction: column; align-items: center; } .main > * { width: 100%; max-width: min(var(--card-width), 100%); margin-left: auto; margin-right: auto; } /* The card is the column's only framed child: a page holds ONE, with notes and lulls folded into it as sections. It takes the squeeze and scrolls its own contents while its frame, and the pager under it, stay put. */ .main > .card { flex: 0 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-right: 32px; } /* The dashboard's menu and the launching pane play by the card's rule too: they are not .card, but they are the column's whole contents, so they take the squeeze and scroll themselves while the column frame stays put. Without this the catalog is clipped at the fold with no way to reach it. */ .main > .dash, .main > .launching, .main > .dash-confirm, .main > .waiting-pane { flex: 0 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-right: 32px; } /* The column itself never scrolls; the card does. */ .main > .card:not(.is-primary) { flex-shrink: 100; min-height: 104px; } .main > .card.is-primary { flex-shrink: 1; min-height: 0; } /* A card with a growing answer box takes the column's full height above the pager, and still scrolls its own contents. app.js sizes the box to fill it. */ .main > .card.is-primary.has-grow { flex: 1 1 auto; } .pager { flex: none; } /* A document is read top to bottom and has no pinned furniture, so it goes back to being an ordinary scrolling column. */ /* The tail the column no longer carries: a document IS the scroll, so it wants room after its last line. The question column does not, because the pager is pinned to the bottom of it and anything under the pager is dead space the card could have been scrolling through. */ .main.is-doc { display: block; overflow-y: auto; padding-bottom: 40px; } /* ------------------------------------------------------------ ask pane */ /* The Quick question chat: one card-framed pane that fills the column. The conversation scrolls; the header and the composer stay put, so the counter, New conversation and Send are always in reach. */ .main > .ask-pane { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; } .ask-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 22px 14px; border-bottom: 1px solid var(--rule); } .ask-head h2 { font: 600 21px/1.2 var(--serif); margin: 0; flex: 1; } .ask-counter { font: 700 12px/1 var(--mono); color: var(--ink-3); } .ask-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; } /* An empty conversation's starter questions, centred where the list is empty. */ .ask-starters { display: flex; flex-direction: column; gap: 6px; margin: auto 0; width: 100%; max-width: 520px; align-self: center; } .ask-starters-lead { color: var(--ink-3); font-size: 13.5px; margin: 0 0 4px; text-align: center; } .ask-starter { width: 100%; padding: 9px 13px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); font: inherit; font-size: 13.5px; color: var(--ink-2); text-align: left; cursor: pointer; } .ask-starter:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); } .ask-starter:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .ask-starter:disabled { opacity: 0.55; cursor: not-allowed; } .ask-row { max-width: 86%; border-radius: var(--radius); padding: 10px 14px; font-size: 14px; border: 1px solid var(--rule); } .ask-row.person { align-self: flex-end; background: var(--accent-soft); border-color: var(--accent-line); } .ask-row.pending { border-style: dashed; background: transparent; } .ask-row.agent { align-self: flex-start; background: var(--panel-2); } .ask-row.decision { align-self: flex-end; background: transparent; border-style: dashed; color: var(--ink-2); font-size: 13px; } .ask-row .md { max-width: none; } .ask-row .md > :first-child { margin-top: 0; } .ask-row .md > :last-child { margin-bottom: 0; } .ask-row .attach-tray { margin: 8px 0 0; } .ask-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; } .ask-about { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; color: var(--accent); } .ask-decision { margin: 0; font-weight: 600; } .ask-waiting { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; } .ask-failed { color: var(--warn); } .ask-proposal { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--stage); border-radius: 8px; background: var(--stage-soft); } .ask-proposal .note-kicker { margin-bottom: 4px; } .ask-proposal-files, .ask-changed { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; } .ask-proposal-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; } .ask-proposal-actions input[type="text"] { flex: 1 1 200px; width: auto; padding: 7px 10px; } .ask-decided { margin: 8px 0 0; font-weight: 700; font-size: 13px; } .ask-decided.approve { color: var(--ok); } .ask-decided.decline { color: var(--ink-2); } .ask-changed-count { font: 12px/1 var(--mono); color: var(--ink-3); } .ask-composer { flex: none; padding: 12px 22px 16px; border-top: 1px solid var(--rule); background: var(--panel); } .ask-composer.is-dropping { outline: 2px dashed var(--accent); outline-offset: -6px; background: var(--accent-soft); } .ask-composer textarea { min-height: 64px; max-height: 40vh; } .ask-composer textarea:disabled { opacity: 0.6; cursor: not-allowed; } .ask-about-chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 3px 4px 3px 11px; border: 1px solid var(--accent-line); border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; max-width: 100%; } .ask-about-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ask-about-chip .attach-remove { position: static; flex: none; } .ask-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; } /* + Add context and its menu. It opens upward, over the list: the composer sits at the bottom of a pane that clips anything hanging below it. */ .ask-context { position: relative; } .ask-context-menu { position: absolute; left: 0; bottom: calc(100% + 4px); z-index: 20; display: flex; flex-direction: column; min-width: 220px; max-width: 340px; max-height: 240px; overflow-y: auto; padding: 4px; border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); } .ask-context-item { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-size: 13px; color: var(--ink); text-align: left; cursor: pointer; } .ask-context-item:hover, .ask-context-item:focus-visible { background: var(--accent-soft); outline: none; } .ask-context-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ask-context-kind { flex: none; font-size: 11px; color: var(--ink-3); } .ask-actions .btn.primary { margin-left: auto; } .ask-send-hint { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; } .ask-send-hint + .btn.primary { margin-left: 0; } .ask-count { font: 12px/1 var(--mono); color: var(--ink-3); } .ask-count.is-over { color: var(--warn); font-weight: 700; } .ask-error { color: var(--warn); font-size: 13px; margin: 8px 0 0; } /* The two reasons Send is off read differently, as their wording does: the limit is a plain fact, the missing agent is something to fix. */ .ask-disabled-note { margin: 0; font-size: 12.5px; line-height: 1.35; padding: 6px 10px; border-radius: 8px; } .ask-disabled-note.is-limit, .ask-disabled-note.is-waiting { color: var(--ink-2); background: var(--panel-2); border: 1px solid var(--rule); } .ask-disabled-note.is-offline { color: var(--warn); background: var(--warn-soft); border: 1px solid var(--warn); } /* Waiting on Plan2Code (an Ask answer, or answers sent from Questions): the tiny ring, left of the label. The extra .spinner is for specificity: .spinner.tiny comes later and zeroes the margin otherwise. */ .view-tab .spinner.tab-spin { display: inline-block; margin-right: 7px; vertical-align: -1px; } /* A reply landed while another tab was open. */ .view-tab .tab-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; } /* ------------------------------------------------------------ sidebar */ .rail-group { margin-bottom: 22px; } .rail-title { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; display: flex; justify-content: space-between; gap: 8px; } .rail-item { display: flex; gap: 9px; align-items: flex-start; width: 100%; text-align: left; appearance: none; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; padding: 7px 9px; border-radius: 8px; cursor: pointer; line-height: 1.35; } .rail-item:hover:not(:disabled) { background: var(--panel-2); color: var(--ink); } .rail-item:disabled { cursor: default; } /* The dashboard lists every skill in the rail; the ones the selected spec rules out should read as out of reach at a glance, not as one more link. */ .rail-item.is-unavailable { opacity: 0.35; cursor: not-allowed; } .rail-item.is-unavailable .rail-mark { color: var(--ink-3); } .rail-item[aria-current="true"] { background: var(--accent-soft); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); } .rail-mark { flex: none; width: 15px; text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 1px; } .rail-mark.done { color: var(--ok); } .rail-mark.staged { color: var(--stage); font-weight: 700; } /* Echoes the center pane's "Suggested" pill, which can scroll out of view; the dot keeps the call-out visible while just scanning the rail. The title grows to push the dot flush with the row's right edge. */ .rail-item > span:not(.rail-mark):not(.rail-suggested-dot) { flex: 1 1 auto; } .rail-suggested-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; background: var(--accent); } .rail-item.is-suggested:not([aria-current="true"]) { color: var(--ink); } .rail-mark.open { color: var(--accent); } /* The session's own page, above the topic groups. It names the state it is -- PAUSED, SESSION ENDED -- in the same small caps the group titles use, because it is a peer of theirs, not another question in the list. */ .rail-end-label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; } .rail-empty { color: var(--ink-3); font-size: 13px; font-style: italic; } /* --------------------------------------------------------------- card */ .card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 26px; max-width: min(var(--card-width), 100%); box-shadow: var(--shadow); margin: 0 auto 18px; } .card.is-answered { border-color: var(--ok); } .card.is-staged { border-color: var(--stage); } .card-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; } .card h2 { font: 600 25px/1.22 var(--serif); margin: 0 0 12px; } .card .prompt { color: var(--ink-2); max-width: 62ch; } /* Text inside the card runs the card's width. The prompt carries both classes, so both measure caps come off here; documents keep .md's 68ch. */ .card .md, .card .prompt { max-width: none; } .card .prompt p:first-child { margin-top: 0; } .card-note { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); margin: 14px 0 0; } /* Folded-in sections. A page holds one card; what used to be cards of their own (the "all caught up" lull, the session notes) is a labelled section inside it instead. */ .card-lead { margin: 0 0 16px; } .card-extra { margin: 18px 0 0; } .note-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; } .note-title { font: 600 16px/1.3 var(--serif); color: var(--ink); margin: 0 0 6px; } /* ----------------------------------------------------------- hand-off */ /* The end of the session. Accented edge because it is the one card on the page that is not a question and not a note: it is the way out. */ .card.handoff { border-color: var(--accent-line); } .handoff-step { margin: 20px 0 0; padding: 16px 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); } .handoff-label { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); } .handoff-where { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); } /* The command and its Copy share a row until the row will not take them. The text itself wraps: with the continue-in-the-browser sentence on the end it rarely fits one line, and a sideways scroll would hide exactly the part someone needs to read before pasting. Nobody retypes it; that is what Copy is for. */ .handoff-command { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; } .handoff-code { flex: 1 1 260px; min-width: 0; font: 13px/1.5 var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; } /* Always on show, unlike the Copy on a fenced code block, which waits for a hover it may never get. This one IS the screen's reason to exist. */ .handoff-copy { flex: none; } .handoff-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); } /* A session with nothing left to run. Quieter than a real next step: no accented box, plain body text and a small command, because there is nothing they need to do. */ .handoff-done { margin: 18px 0 0; color: var(--ink-2); } .handoff-done-text p { margin: 0 0 10px; } .handoff-done .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; } /* The review offer on a finished build. Louder than the next step, on purpose: it has to happen here, before they leave, while the next step can wait for a terminal. A solid accent edge and the big button carry that. */ .review-offer { margin: 20px 0 0; padding: 18px 20px; border: 2px solid var(--accent); border-radius: var(--radius); background: var(--panel); } .review-offer-title { margin: 0 0 6px; font-size: 18px; } .review-offer-text { margin: 0; color: var(--ink-2); font-size: 14px; } .review-offer .btn-row { margin-top: 14px; } .review-offer .review-go { padding: 12px 26px; font-size: 15.5px; } .review-offer .handoff-command { margin-top: 10px; } /* The way back to the dashboard on a finished screen. Quieter than the review offer: no box, just the button and a small note about the conversation. */ .dashboard-offer { margin: 20px 0 0; } .dashboard-offer > p:first-child { margin: 0; color: var(--ink-2); font-size: 14px; } .dashboard-offer .handoff-command { margin-top: 10px; } .dashboard-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); } .handoff-fresh { margin: 16px 0 6px; font-size: 12.5px; color: var(--ink-2); } .handoff-fresh-row .handoff-code { flex-basis: 180px; font-size: 12px; padding: 6px 10px; } /* Quick picks under a long multi-select, the review's fix list above all. */ .presets { margin-top: 12px; gap: 8px; } .presets-label { font-size: 12.5px; color: var(--ink-3); } .handoff-close { margin: 16px 0 0; color: var(--ink-2); } .handoff-tools { margin-top: 16px; } .handoff-unsent { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--stage-soft); color: var(--stage); font-size: 13.5px; } /* ------------------------------------------------------------ options */ .options { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; } .option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 13px 15px; cursor: pointer; background: var(--panel); transition: border-color 0.12s, background 0.12s; } .option:hover { border-color: var(--accent-line); background: var(--panel-2); } .option:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; } .option input { margin: 3px 0 0; accent-color: var(--accent); width: 17px; height: 17px; flex: none; } .option.is-picked { border-color: var(--stage); background: var(--stage-soft); } .option.is-recorded { border-color: var(--ok); background: var(--ok-soft); } /* A settled question is a record. Nothing in it may look pressable. */ .option.is-locked { cursor: default; background: var(--panel-2); border-color: var(--rule); opacity: 0.7; } .option.is-locked:hover { border-color: var(--rule); background: var(--panel-2); } .option.is-locked.is-recorded { opacity: 1; border-color: var(--ok); background: var(--ok-soft); } .option.is-locked.is-recorded:hover { border-color: var(--ok); background: var(--ok-soft); } .option-mark { flex: none; width: 17px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--ink-3); margin-top: 2px; } .option-mark.on { color: var(--ok); font-weight: 700; } /* "Something else" is one of the choices, so it sits in the list wearing the same clothes. Only the box inside it is clickable, hence the plain cursor. */ .option.is-other { cursor: default; } .option.is-other .option-label label { cursor: pointer; } .other-text { margin-top: 9px; min-height: 76px; } .option-body { min-width: 0; flex: 1; } .option-label { font-weight: 600; display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; } .option-key { font: 700 12px/1 var(--mono); color: var(--ink-3); border: 1px solid var(--rule-2); border-radius: 4px; padding: 3px 5px; } .option-detail { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; } .pill { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid transparent; border-radius: 99px; padding: 2px 7px; white-space: nowrap; } .pill.suggested { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); } .pill.done { background: var(--ok-soft); color: var(--ok); } .pill.staged { background: var(--stage-soft); color: var(--stage); } /* The Subagents tab: one row per reported helper, newest state in a pill. */ .sa-card h2 { margin: 0 0 6px; } .sa-card > .help { margin: 0 0 16px; } .sa-alone { margin: 0; color: var(--ink-2); } .sa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .sa-row { border: 1px solid var(--rule); border-radius: 8px; background: var(--panel-2); padding: 12px 14px; } .sa-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .sa-title { min-width: 0; overflow-wrap: anywhere; } .sa-ask { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } .sa-result { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 13.5px; } .sa-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; } .sa-pill.is-running { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); } .sa-pill.is-done { background: var(--ok-soft); color: var(--ok); } .sa-pill.is-failed { background: var(--warn-soft); color: var(--warn); } .sa-pill .spinner.tiny { width: 10px; height: 10px; } /* The dialog's number box, themed like the page's other inputs. */ .subagents input[type="number"] { width: 5em; font: inherit; color: var(--ink); background: var(--panel-2); border: 1px solid var(--rule-2); border-radius: 6px; padding: 4px 8px; } /* ------------------------------------------------------ settled answer */ .answered { margin-top: 20px; border: 1px solid var(--ok); border-radius: var(--radius); background: var(--ok-soft); padding: 14px 16px; } .answered-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); } .answered-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: var(--panel); font: 700 11px/18px var(--sans); text-align: center; } .answered-values { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 4px; } .answered-values li { font-weight: 600; font-size: 15.5px; color: var(--ink); } .answered-text { margin: 9px 0 0; padding: 2px 0 2px 13px; border-left: 3px solid var(--ok); color: var(--ink); white-space: pre-wrap; } /* In flight is not settled. Same shape, the color of work in progress. */ .answered.is-sent { border-color: var(--stage); background: var(--stage-soft); } .answered.is-sent .answered-head { color: var(--stage); } .answered.is-sent .answered-mark { background: var(--stage); } .answered.is-sent .answered-text { border-left-color: var(--stage); } .card.is-inflight { border-color: var(--stage); } .card.is-inflight .option.is-locked.is-recorded { border-color: var(--stage); background: var(--stage-soft); } .card.is-inflight .option.is-locked.is-recorded:hover { border-color: var(--stage); background: var(--stage-soft); } .card.is-inflight .option-mark.on { color: var(--stage); } .card.is-inflight .pill.done { background: var(--stage-soft); color: var(--stage); } /* Nothing to show is not an achievement: drop the green. */ .answered.is-empty { border-color: var(--rule); background: var(--panel-2); } .answered.is-empty .answered-head { color: var(--ink-3); } .answered.is-empty .answered-mark { background: var(--ink-3); } .answered-none { margin: 9px 0 0; color: var(--ink-2); font-style: italic; } .answered-lock { margin: 11px 0 0; font-size: 12.5px; color: var(--ink-2); } .step.is-locked { opacity: 0.85; } .step-body { flex: 1; min-width: 0; } .row-item.is-locked { background: var(--panel-2); } .row-title-static { font-weight: 600; margin: 0; } /* -------------------------------------------------------------- pager */ .pager { display: flex; align-items: center; gap: 12px; /* No bottom margin: the pager is the last thing in the column, so a margin here only adds to the column's own bottom padding. */ margin: 0 auto; max-width: min(var(--card-width), 100%); } .pager.one { justify-content: flex-end; } .pager.one .pager-btn { flex: 0 1 auto; } /* The button is as wide as its label, not as wide as its share of the row. Filled accent stretched across half the page read as a banner rather than as a button. The empty slot and the counter take the slack instead. */ .pager-btn { flex: 0 1 auto; min-width: 0; max-width: 42%; display: flex; align-items: center; gap: 10px; } .pager-slot { flex: 1 1 0; min-width: 0; } /* Which end it points at, not where it happens to sit. `:last-of-type` was wrong at the end of the queue, where "Previous" is the only button and so is also the last one: its label drifted into the middle of the row. */ .pager-btn.next { justify-content: flex-end; text-align: right; } .pager-label { display: grid; min-width: 0; } .pager-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); } /* The one the answer just handed you to. Its label is --accent-ink, never a flat white: half the accents are light shades in dark mode, where white on the fill drops to about 2:1 and the kicker above the title disappears. */ .pager-btn.lead { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .pager-btn.lead:hover:not(:disabled) { background: var(--accent); filter: brightness(1.08); } /* 0.9, not the 0.78 that reads as quiet furniture: at 10.5px this is small text, and the lighter fills drop it under 4.5:1 well before it looks faint. */ .pager-btn.lead .pager-kicker { color: var(--accent-ink); opacity: 0.9; } .pager-btn.lead .pager-arrow { color: var(--accent-ink); } .pager-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pager-arrow { flex: none; color: var(--ink-3); font-size: 15px; } .pager-count { flex: 1 1 0; text-align: center; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; } /* -------------------------------------------------------------- forms */ .field { margin-top: 18px; } .field > label, .field-head > label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; } .field .help { color: var(--ink-3); font-size: 13px; margin: 0 0 8px; } /* The label and the offer to fill the box sit on one line. */ .field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; } textarea, input[type="text"] { width: 100%; font: inherit; color: var(--ink); background: var(--panel-2); border: 1px solid var(--rule-2); border-radius: 8px; padding: 11px 13px; resize: vertical; } textarea { min-height: 96px; } /* No max-height: the handle can pull the box past the fill, and the card then scrolls. Its min-height is the fill, written by app.js. */ textarea.grow { resize: vertical; } /* The border going accent IS the focus signal here, so the page-wide blue :focus-visible outline comes off: on a bordered field it reads as a second, clashing ring. */ textarea:focus, input[type="text"]:focus { border-color: var(--accent); outline: none; } input[type="text"].invalid { border-color: var(--warn); } .field-error { color: var(--warn); font-size: 13px; margin-top: 6px; } .field-ok { color: var(--ok); font-size: 13px; margin-top: 6px; } /* Starter templates on a fresh-idea box: Blank plus the skill's set, between the label row and the box. The pressed chip wears the accent. */ .tpl-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; } .tpl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--panel); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; } .tpl-chip:hover { border-color: var(--accent-line); } .tpl-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .tpl-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .tpl-pill { padding: 1px 7px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 600; } /* Swapping over typed text asks first, in the page's staged/careful amber. */ .tpl-replace { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border: 1px solid var(--stage); border-radius: 8px; background: var(--stage-soft); color: var(--stage); font-size: 13px; } .tpl-replace span { margin-right: auto; } .tpl-replace .btn.tiny { margin-bottom: 0; } .btn { appearance: none; font: inherit; font-weight: 600; border-radius: 8px; padding: 10px 18px; cursor: pointer; border: 1px solid var(--rule-2); background: var(--panel); color: var(--ink); transition: filter 0.12s, background 0.12s; } .btn:hover:not(:disabled) { background: var(--panel-2); } .btn:disabled { opacity: 0.45; cursor: not-allowed; } .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .btn.primary:hover:not(:disabled) { filter: brightness(1.08); background: var(--accent); } /* Send glows and breathes while there is something to send: the steady --glow, plus a soft accent ring that spreads and fades. The ring is off under reduced motion, below; the glow stays. */ #btn-send:not(:disabled) { box-shadow: var(--glow); } @keyframes send-pulse { 0% { box-shadow: var(--glow), 0 0 0 0 var(--accent-line); } 100% { box-shadow: var(--glow), 0 0 0 6px transparent; } } #btn-send.primary:not(:disabled) { animation: send-pulse 2.4s ease-out infinite; } .btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); } .btn.ghost:hover { background: var(--panel-2); color: var(--ink); } .btn.danger { border-color: var(--warn); color: var(--warn); } .btn.small { padding: 7px 13px; font-size: 13.5px; } /* Available, but not the step. Reads as a button, does not shout like one. */ .btn.standby { background: transparent; border-color: var(--accent-line); color: var(--accent); } .btn.standby:hover:not(:disabled) { background: var(--accent-soft); } .btn.tiny { padding: 3px 9px; font-size: 12px; font-weight: 600; color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); margin-bottom: 6px; } .btn.tiny:hover:not(:disabled) { background: var(--accent-soft); filter: brightness(1.04); } .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; } .linky { appearance: none; border: 0; background: none; padding: 0; color: var(--ink-3); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; } .linky:hover { color: var(--accent); } /* The beat between "Skip this one" and the move to the next card. */ .skip-flash { display: inline-block; margin: 16px 0 0 12px; font-size: 13px; font-weight: 600; color: var(--stage); animation: skip-flash-in 0.15s ease; } @keyframes skip-flash-in { from { opacity: 0; } } .card.question.is-skip-flash { border-color: var(--stage); } @media (prefers-reduced-motion: reduce) { .skip-flash { animation: none; } } /* ---------------------------------------------------------- checklist */ .steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: step; } .step { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule); border-radius: 8px; padding: 11px 14px; background: var(--panel-2); } .step input { margin-top: 3px; accent-color: var(--ok); width: 17px; height: 17px; flex: none; } .step-num { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 12px/22px var(--sans); text-align: center; } /* --------------------------------------------------------- orderable */ .rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; } .row-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule-2); border-radius: 8px; padding: 12px 14px; background: var(--panel); } .row-item.dragging { opacity: 0.4; } .row-item.drop-target { border-color: var(--accent-line); border-style: dashed; } .row-handle { flex: none; cursor: grab; color: var(--ink-3); font-size: 15px; line-height: 1.4; background: none; border: 0; padding: 2px 4px; } .row-handle:active { cursor: grabbing; } .row-main { flex: 1; min-width: 0; } .row-title { font-weight: 600; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 3px 6px; margin: -3px -6px; color: var(--ink); font-family: inherit; font-size: inherit; } .row-title:hover:not(:disabled) { border-color: var(--rule); } .row-title:focus { border-color: var(--accent); background: var(--panel-2); } .row-title:disabled { opacity: 1; } .row-body { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; } .row-order { font: 700 12px/1 var(--mono); color: var(--ink-3); flex: none; margin-top: 4px; } .row-tools { display: flex; gap: 4px; flex: none; } /* -------------------------------------------------------------- aside */ .aside h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; } .msg { border-radius: 8px; padding: 10px 13px; margin-bottom: 9px; font-size: 13.5px; background: var(--panel); border: 1px solid var(--rule); } .msg.you { background: var(--stage-soft); border-color: transparent; } .msg.staged { border-style: dashed; border-color: var(--stage); background: transparent; } .msg-who { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px; } .aside-empty { color: var(--ink-3); font-size: 13px; font-style: italic; } /* The note box takes whatever height the panel has left, never under 160px. Scoped here so the page-wide textarea minimum still holds everywhere else. */ .aside { display: flex; flex-direction: column; } .aside > .field { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 0; } .aside textarea { flex: 1 1 auto; min-height: 160px; resize: vertical; } .aside.is-dropping { outline: 2px dashed var(--accent); outline-offset: -8px; background: var(--accent-soft); } .attach-row { display: flex; align-items: center; margin: -4px 0 6px -13px; } .attach-row.is-under { margin: 6px 0 4px -13px; } .attach-tray { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; } .attach-thumb { position: relative; width: 72px; height: 72px; margin: 0; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--panel); flex: none; } .attach-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .attach-remove { position: absolute; top: 3px; right: 3px; z-index: 2; width: 20px; height: 20px; padding: 0; display: grid; place-items: center; font: 700 14px/1 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 50%; cursor: pointer; opacity: 0.9; } .attach-remove:hover { opacity: 1; border-color: var(--accent); } .attach-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: color-mix(in srgb, var(--panel) 70%, transparent); } .attach-overlay.failed { background: color-mix(in srgb, var(--panel) 88%, transparent); color: var(--ink-2); font-size: 10.5px; font-weight: 600; text-align: center; } .attach-overlay.failed .btn.tiny { margin: 0; padding: 1px 6px; font-size: 10.5px; } .attach-chip { width: 180px; display: flex; align-items: center; gap: 8px; padding: 0 26px 0 10px; } .attach-chip-icon { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; } .attach-chip-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; } .attach-chip-badge { padding: 0 5px; border-radius: 4px; font: 700 10px/1.5 var(--sans); letter-spacing: 0.04em; font-variant: small-caps; color: var(--ink); background: var(--accent-soft); } .attach-chip-name { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; color: var(--ink); } .attach-chip-size { color: var(--ink-2); font-size: 11.5px; } .attach-link { color: inherit; text-decoration: none; border-radius: 8px; } .attach-link:hover .attach-thumb, .attach-link:focus-visible .attach-thumb { border-color: var(--accent); } .attach-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .msg.pending { border-style: dashed; border-color: var(--stage); background: transparent; } .ask-row .attach-chip { padding-right: 10px; } .footer-held { margin-top: 3px; color: var(--ink-2); font-size: 12.5px; } /* --------------------------------------------------------------- docs */ .doc-head { max-width: min(var(--card-width), 100%); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); } .doc-version { font: 700 12px/1 var(--mono); color: var(--ink-3); } .block { max-width: min(var(--card-width), 100%); border-left: 3px solid transparent; padding: 2px 0 2px 14px; margin: 0 auto 4px; position: relative; } .block.assumed { border-left-color: var(--stage); border-left-style: dashed; background: var(--stage-soft); border-radius: 0 8px 8px 0; } .block.draft { border-left-color: var(--rule-2); opacity: 0.72; } .block.settled { border-left-color: var(--ok-soft); } .block .md { max-width: none; } .block-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--stage); display: block; margin-bottom: 4px; } .doc-empty { color: var(--ink-3); font-style: italic; } /* ----------------------------------------------------------- markdown */ .md { max-width: 68ch; } .md-h { font-family: var(--serif); font-weight: 600; margin: 22px 0 9px; line-height: 1.25; } h2.md-h { font-size: 21px; } h3.md-h { font-size: 17.5px; } h4.md-h, h5.md-h, h6.md-h { font-size: 15px; } .md-p { margin: 0 0 11px; } .md-list { margin: 0 0 11px; padding-left: 22px; } .md-li { margin-bottom: 5px; } .md-task { display: inline-block; width: 16px; color: var(--ink-3); font-weight: 700; } .md-task.is-done { color: var(--ok); } .md-li.is-task { list-style: none; margin-left: -18px; display: grid; grid-template-columns: 16px 1fr; column-gap: 4px; align-items: baseline; } .md-li.is-task > :not(.md-task) { grid-column: 2; } .md-li.is-task > .md-p:last-child { margin-bottom: 0; } .md-quote { margin: 0 0 11px; padding: 2px 0 2px 15px; border-left: 3px solid var(--rule-2); color: var(--ink-2); } .md-code { font: 0.88em var(--mono); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; } .md-pre-wrap { position: relative; margin: 0 0 13px; } .md-pre { font: 13px/1.5 var(--mono); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 0; } .md-copy { position: absolute; top: 8px; right: 8px; font: 600 11.5px var(--sans); background: var(--panel); color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 6px; padding: 4px 9px; cursor: pointer; opacity: 0; transition: opacity 0.12s; } .md-pre-wrap:hover .md-copy, .md-copy:focus { opacity: 1; } /* Run it, on git blocks: Copy's twin, tucked under it so the wider "Press Ctrl+C" fallback label can never collide. */ .md-run { position: absolute; top: 34px; right: 8px; font: 600 11.5px var(--sans); background: var(--panel); color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 6px; padding: 4px 9px; cursor: pointer; opacity: 0; transition: opacity 0.12s; } .md-pre-wrap:hover .md-run, .md-run:focus { opacity: 1; } /* The muted nudge on other command-looking blocks, a caption under the block. */ .md-run-hint { margin: -6px 2px 0; font: 11px var(--sans); color: var(--ink-3); opacity: 0.8; } .md-hr { border: 0; border-top: 1px solid var(--rule); margin: 20px 0; } .md-table-wrap { overflow-x: auto; margin: 0 0 13px; } .md-table { border-collapse: collapse; width: 100%; font-size: 13.5px; } .md-table th, .md-table td { border: 1px solid var(--rule); padding: 8px 11px; text-align: left; } .md-table th { background: var(--panel-2); font-weight: 600; } .md-img { max-width: 100%; border-radius: 8px; } .md a { color: var(--accent); } /* ------------------------------------------------------------- footer */ /* Three columns: summary, where, actions. Equal side tracks keep the middle centred on the bar, and because they are tracks rather than an overlay, a long summary wraps and a wide actions block nudges the centre over instead of either running underneath it. The middle track gives way first: it can shrink to an ellipsis, the summary and Send never do. */ .footer { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 18px; padding: 13px 20px; background: var(--panel); border-top: 1px solid var(--rule); } .footer-summary { min-width: 200px; font-size: 13.5px; color: var(--ink-2); } .footer-summary strong { color: var(--ink); } /* Where this session is running: the workspace label, centred on the bar. A click opens the Workspace dialog. The notification pill sits over the same spot and covers it while it shows. */ .footer-where { max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 6px; border: 0; background: none; font: inherit; font-size: 12px; color: var(--ink-3); cursor: pointer; } .footer-where:hover { text-decoration: underline; } /* The project name, in the person's highlight color. */ .where-project { color: var(--accent); font-weight: 600; } /* A folder is missing or the agent could not read one: the dialog says which. */ .where-alert { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--warn); vertical-align: 1px; } .footer-where:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; } /* One line, so the grid sizes this track to the whole row and takes the room from the middle instead of folding Send in two. */ .footer-actions { display: flex; gap: 10px; align-items: center; grid-column: 3; justify-self: end; white-space: nowrap; } /* The dashboard: no summary, no Send, just the workspace label. */ .footer.is-dash .footer-summary, .footer.is-dash .footer-actions { display: none; } .footer.is-dash .footer-where { grid-column: 2; } .hint { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; } /* A label, not a sentence: the full reason rides in the hint's tooltip, and the dock already carries the ticking clock this would otherwise repeat. */ .hint-text { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; } kbd { font: 11.5px var(--mono); background: var(--panel-2); border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px; } /* ------------------------------------------------------------ waiting */ /* Laid out like the starting screen, so when a session goes from one to the other Planny stays put and only the words under him change. */ .waiting-pane { max-width: 560px; margin: 4vh auto 0 !important; text-align: center; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; } .waiting-pane h2 { font: 600 23px/1.3 var(--serif); color: var(--ink); margin: 0; } .waiting-pane p { margin: 0; } /* The words that open the tasks tab: bold in the highlight color, a button that reads as part of the sentence. */ .waiting-jump { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; } button.waiting-jump { cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; } button.waiting-jump:hover { text-decoration-color: var(--accent); } /* Once the work is under way Planny steps back a size, and the ring in front of the stage name carries the "still going" signal instead. */ .waiting-pane .pose-stage { height: 130px; transition: height 0.35s ease; } .waiting-pane h2 .waiting-spin { display: inline-block; width: 16px; height: 16px; vertical-align: 1px; margin-right: 10px; } .spinner { width: 30px; height: 30px; margin: 0 auto 20px; border: 3px solid var(--rule); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* The footer's "waiting on the agent" tell. Same ring, sized to sit on a line of text. It inherits the reduced-motion exception below, which is deliberate: a frozen spinner reads as a broken app, which is the opposite of the point. */ .spinner.tiny { width: 13px; height: 13px; border-width: 2px; margin: 0; flex: none; } /* The same ring again, in front of Planny's line while the agent has the ball. Inline so it sits on the first line of a wrapped sentence. The [hidden] rule is needed because display here outranks the browser's own. */ .dock-spin { display: inline-block; vertical-align: -2px; margin-right: 6px; } .dock-spin[hidden] { display: none; } .robot { font: 12px/1.25 var(--mono); color: var(--ink-3); white-space: pre; margin: 0 0 16px; } /* ------------------------------------------------------- looks button */ .icon-btn { appearance: none; flex: none; margin-left: 14px; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; } .icon-btn:hover { background: var(--panel-2); border-color: var(--rule); } .icon-btn svg { width: 17px; height: 17px; } .icon-btn .ab-ring { fill: none; stroke: var(--ink-3); stroke-width: 1.4; } .icon-btn .ab-mark { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; } .icon-btn .ab-dot { fill: var(--ink-2); } .icon-btn:hover .ab-ring { stroke: var(--accent); } .icon-btn:hover .ab-mark, .icon-btn:hover .ab-dot { stroke: var(--accent); fill: none; } .icon-btn:hover .ab-dot { fill: var(--accent); } a.icon-btn { box-sizing: border-box; text-decoration: none; } .icon-btn .mg-body { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linejoin: round; } .icon-btn .mg-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; } .icon-btn:hover .mg-body, .icon-btn:hover .mg-line { stroke: var(--accent); } .icon-btn .gr-teeth { fill: none; stroke: var(--ink-3); stroke-width: 2.2; } .icon-btn .gr-ring { fill: none; stroke: var(--ink-3); stroke-width: 1.6; } .icon-btn .gr-hub { fill: none; stroke: var(--ink-2); stroke-width: 1.4; } .icon-btn:hover .gr-teeth, .icon-btn:hover .gr-ring, .icon-btn:hover .gr-hub { stroke: var(--accent); } /* ------------------------------------------------------------ swatches */ /* Thirty-two of them: a fixed sixteen-column grid so they sit in two even rows in the wide dialog, and four even rows of eight on a narrow window, rather than leaving a straggler alone on the last line. */ .swatches { display: grid; grid-template-columns: repeat(16, minmax(0, 34px)); gap: 8px; } @media (max-width: 720px) { .swatches { grid-template-columns: repeat(8, minmax(0, 34px)); } } .swatch { appearance: none; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 50%; border: 2px solid var(--rule-2); cursor: pointer; } .swatch:hover { border-color: var(--ink-3); } .swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--ink); } /* ------------------------------------------------------------ arrival */ /* The beat when new questions land. Covers the whole page, says what just happened, and leaves by itself in under two seconds. Built from the page's own tokens so it follows the theme and the chosen highlight color. */ .arrival { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(3px); cursor: pointer; animation: arrival-in 0.28s ease-out both; } .arrival.is-leaving { animation: arrival-out 0.3s ease-in both; } .arrival-box { text-align: center; padding: 24px; max-width: min(640px, 100vw - 32px); } .arrival-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); animation: arrival-rise 0.45s 0.05s ease-out both; } /* The words themselves are the effect: they sweep in on a band of the highlight color, the way a page turns, rather than anything spinning. */ .arrival-title { margin: 0; font: 600 clamp(38px, 7vw, 64px)/1.05 var(--serif); color: transparent; background: linear-gradient(100deg, var(--ink) 0 40%, var(--accent) 50%, var(--ink) 60% 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: arrival-rise 0.5s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both, arrival-sweep 1.3s 0.25s ease-in-out both; } /* A rule that draws itself under the title, from the middle out. */ .arrival-title::after { content: ""; display: block; height: 3px; width: 96px; margin: 14px auto 0; border-radius: 99px; background: var(--accent); transform-origin: center; animation: arrival-draw 0.5s 0.45s ease-out both; } .arrival-what { margin: 16px 0 0; font-size: 17px; font-weight: 600; color: var(--ink-2); animation: arrival-rise 0.45s 0.35s ease-out both; } .arrival-more { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-3); animation: arrival-rise 0.45s 0.45s ease-out both; } @keyframes arrival-in { from { opacity: 0; } to { opacity: 1; } } @keyframes arrival-out { from { opacity: 1; } to { opacity: 0; transform: scale(1.02); } } @keyframes arrival-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } @keyframes arrival-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } } @keyframes arrival-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } } /* ----------------------------------------------------------- stopping */ .stop-steps { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 10px; } .stop-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); } .stop-steps li.is-done { color: var(--ink); } .stop-steps li.is-later { color: var(--ink-3); } .stop-steps li.is-stuck { color: var(--stage); } .stop-mark { width: 13px; flex: none; text-align: center; font-weight: 700; } .stop-steps li.is-done .stop-mark { color: var(--ok); } .stop-note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); } .stopping .handoff-command { margin-bottom: 4px; } /* --------------------------------------------------------- help dialog */ /* Header and Close stay put; only the panel scrolls. */ .modal.help { width: min(960px, calc(100vw - 32px)); height: min(640px, calc(100vh - 32px)); max-width: none; max-height: none; flex-direction: column; } .modal.help[open] { display: flex; } .modal.help .modal-actions { flex: none; margin-top: 16px; align-items: center; } .help-version { margin-right: auto; font-size: 12.5px; color: var(--ink-3); } .help-version a { color: inherit; } .help-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; flex: 1; min-height: 0; } .help-tabs { display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow-y: auto; padding-right: 4px; } .help-panels { min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; padding-right: 6px; } .help-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-left: 3px solid transparent; border-radius: 6px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; } .help-tab:hover { background: var(--panel-2); color: var(--ink); } .help-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-left-color: var(--accent); font-weight: 600; } .help-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; } .help-tab-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .help-tab:hover .help-tab-icon { stroke: var(--accent); } .help-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; } .help-panel h3 { font: 600 18px/1.3 var(--serif); margin: 0 0 12px; color: var(--accent); } .help-panel p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); } .help-panel p:last-child { margin-bottom: 0; } .help-panel strong { color: var(--ink); } .help-panel .help-lead { font-size: 14.5px; color: var(--ink); margin-bottom: 16px; } .help-panel h4 { font: 600 14px/1.35 var(--sans); margin: 18px 0 6px; color: var(--ink); } .help-panel ul, .help-panel ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); } .help-panel li { margin-bottom: 5px; } .help-panel li:last-child { margin-bottom: 0; } .help-panel table { border-collapse: collapse; width: 100%; margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); } .help-panel th, .help-panel td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; vertical-align: top; } .help-panel th { background: var(--panel-2); font-weight: 600; color: var(--ink); } .help-panel code { font: 0.88em var(--mono); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; } .help-panel .handoff-command { margin: 0 0 12px; } .help-panel .handoff-command:last-child { margin-bottom: 0; } .help-panel .handoff-code { font: 13px/1.5 var(--mono); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 8px; padding: 10px 12px; } /* The icon sheet: present for , never drawn itself. */ .help-icons { position: absolute; width: 0; height: 0; overflow: hidden; } /* The diagrams. Colors only from variables, so each drawing follows the theme and the chosen highlight without a line of script. */ .help-figure { margin: 4px 0 16px; } .help-figure figcaption, .help-moods-title { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); } .help-diagram { display: block; width: 100%; max-width: 560px; height: auto; margin: 8px 0 4px; } .hd-box { fill: var(--panel-2); stroke: var(--rule-2); stroke-width: 1.2; } .hd-line { fill: none; stroke: var(--ink-3); stroke-width: 1.4; } .hd-dash { stroke-dasharray: 4 4; } .hd-label { fill: var(--ink); font: 13px var(--sans); } .hd-label.small { fill: var(--ink-2); font-size: 12px; } .hd-accent { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; } .hd-label.hd-accent { fill: var(--accent); stroke: none; font-weight: 600; } .hd-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; } .hd-arrow { fill: var(--ink-3); } /* Tab 3: six live clones of Planny, one per mood. */ .help-moods-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; max-width: 560px; } @media (min-width: 900px) { .help-moods-row { grid-template-columns: repeat(6, 1fr); } } .help-mood { display: flex; flex-direction: column; align-items: center; gap: 6px; } .help-mood-bot { width: 40px; height: 56px; } .help-mood span { font-size: 12.5px; color: var(--ink-2); text-align: center; } /* The travelling highlight on the flow diagrams: only on the visible panel, only while the dialog is open, and only when the system allows motion. Otherwise the dashes simply sit still. */ @media (prefers-reduced-motion: no-preference) { @keyframes hd-travel { to { stroke-dashoffset: -32; } } .help-panel:not([hidden]) .hd-flow { animation: hd-travel 1.6s linear infinite; } } @media (max-width: 720px) { .help-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; } .help-tabs { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; } .help-tab { width: auto; flex: none; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; } .help-tab[aria-selected="true"] { border-bottom-color: var(--accent); } } .about-live { padding: 9px 12px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--rule); } .about-live.is-good { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); } .about-live.is-bad { background: var(--stage-soft); border-color: var(--stage); color: var(--stage); } /* -------------------------------------------------------------- modal */ .modal { border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--panel); color: var(--ink); padding: 24px 26px; max-width: 440px; width: calc(100vw - 32px); box-shadow: var(--shadow); } .modal::backdrop { background: rgba(0, 0, 0, 0.45); } .modal h2 { font: 600 21px/1.25 var(--serif); margin: 0 0 10px; } /* The Welcome: a dark poster with Planny, four columns, one button. */ .modal.welcome { width: min(840px, calc(100vw - 32px)); max-width: none; padding: 0; overflow: hidden; } .modal.welcome[open] { display: flex; flex-direction: column; max-height: calc(100vh - 96px); } .welcome-poster { position: relative; flex: none; overflow: hidden; padding: 52px 48px 40px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 125%, color-mix(in srgb, var(--accent) 85%, #fff) 0, transparent 58%), linear-gradient(180deg, #16181d, color-mix(in srgb, var(--accent) 50%, #16181d)); } .welcome-sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.55; } .welcome-sky i:nth-child(1) { top: 18%; left: 11%; } .welcome-sky i:nth-child(2) { top: 34%; left: 84%; } .welcome-sky i:nth-child(3) { top: 12%; left: 66%; } .welcome-sky i:nth-child(4) { top: 56%; left: 20%; } .welcome-sky i:nth-child(5) { top: 62%; left: 91%; } .welcome-sky i:nth-child(6) { top: 26%; left: 32%; width: 2px; height: 2px; } .welcome-bot { display: flex; justify-content: center; } /* The dock's own Planny, larger and in light ink for the dark poster. */ .welcome-bot .planny { width: 70px; height: 96px; } .welcome-bot .planny .shell, .welcome-bot .planny .smile, .welcome-bot .planny .arm path { stroke: #f0ece5; } .welcome-bot .planny .shell { fill: #1e2127; } .welcome-bot .planny .arm circle, .welcome-bot .planny .foot { fill: #f0ece5; } .welcome-kicker { margin: 20px 0 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); } .modal.welcome h2 { font: 600 38px/1.15 var(--serif); margin: 0 0 12px; color: #fff; } .welcome-lead { margin: 0 auto; max-width: 52ch; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); } .welcome-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; min-height: 0; overflow-y: auto; padding: 34px 36px 8px; text-align: center; } .welcome-col h3 { font: 600 15px/1.3 var(--sans); margin: 12px 0 4px; color: var(--ink); } .welcome-col p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); } .welcome-col strong { color: var(--ink); } .welcome-col code { font: 600 12px var(--mono); padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); } .welcome-col kbd { font: 600 11.5px var(--mono); padding: 0 6px; border-radius: 5px; border: 1px solid var(--rule-2); border-bottom-width: 2px; background: var(--panel-2); color: var(--ink); } .welcome-dot { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; } .welcome-dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .welcome-dot.is-accent { background: var(--accent-soft); color: var(--accent); } .welcome-dot.is-stage { background: var(--stage-soft); color: var(--stage); } .welcome-dot.is-plain { background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--rule); } .welcome-dot.is-ok { background: var(--ok-soft); color: var(--ok); } .welcome-dot.is-bare { background: none; color: var(--ok); } .welcome-dot.is-bare svg { width: 30px; height: 30px; } .modal.welcome .modal-actions { flex: none; justify-content: center; margin: 0; padding: 24px 36px 36px; } .modal.welcome .modal-actions .btn { padding: 12px 40px; font-size: 15px; border-radius: 999px; } @media (max-width: 720px) { .welcome-poster { padding: 36px 24px 28px; } .modal.welcome h2 { font-size: 28px; } .welcome-cols { grid-template-columns: 1fr 1fr; padding: 24px 20px 8px; } } .help-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; } .help-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; } .modal-blurb { margin: 0 0 18px; color: var(--ink-2); font-size: 13.5px; } .modal-ranges { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; } .modal-ranges legend { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 8px; } .modal-ranges label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rule-2); border-radius: 8px; padding: 10px 13px; cursor: pointer; } .modal-ranges label:hover { border-color: var(--accent-line); } .modal-ranges input[type="radio"], .modal-ranges input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; flex: none; } /* Preferences gets the room the swatch grid needs, and spends it laying each set of choices out side by side instead of stacking them into a tall scroll. Back to a stack on a narrow window. */ .modal.looks { max-width: 720px; } .modal.looks .modal-ranges + .modal-ranges { margin-top: 18px; } .looks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .looks-row .help { grid-column: 1 / -1; } /* The per-cue boxes sit under the master switch, greyed and locked while it is off rather than hidden, so the picks stay visible. */ .looks-sound-events { display: grid; gap: 8px; } .looks-sound-events.is-off { opacity: 0.45; } .looks-sound-events.is-off label { cursor: default; } .looks-sound-events.is-off label:hover { border-color: var(--rule-2); } @media (max-width: 720px) { .looks-row { grid-template-columns: 1fr; } } /* The Workspace dialog: one entry per folder, the original first, then the Add row. Wide enough for a real path; the list scrolls, the Add row and the actions stay put. */ .modal.workspace { max-width: 680px; } .modal.workspace[open] { display: flex; flex-direction: column; max-height: calc(100vh - 48px); } .workspace .modal-blurb { margin-bottom: 6px; } .workspace-scope { margin: 0 0 16px; color: var(--ink-3, var(--ink-2)); font-size: 12.5px; } .workspace-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; overflow-y: auto; min-height: 0; flex: 0 1 auto; } .ws-entry { border: 1px solid var(--rule-2); border-radius: 8px; padding: 12px 14px; background: var(--panel-2); display: grid; gap: 8px; } .ws-entry.is-missing { border-color: var(--warn); } .ws-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; } .ws-chip { font: 600 12.5px var(--mono); color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 99px; padding: 1px 9px; } .ws-original { font-size: 12.5px; color: var(--ink-3); } .ws-path-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ws-path { flex: 1 1 14em; min-width: 0; font: 12.5px var(--mono); color: var(--ink-2); overflow-wrap: anywhere; } .ws-path-row .btn { flex: none; } .ws-field { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; gap: 4px 10px; font-size: 13px; } .ws-field label { color: var(--ink-2); font-weight: 600; } .ws-field input[type="text"] { padding: 6px 10px; font-size: 13.5px; background: var(--panel); } .ws-field .field-error { grid-column: 2; margin: 0; } .ws-mark { margin: 0; font-size: 13px; } .ws-mark.is-missing, .ws-mark.is-issue { color: var(--warn); } .ws-mark.is-nested { color: var(--ink-3); } .ws-hint-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ws-hint-row .btn.tiny { margin-bottom: 0; } .ws-hint, .banner-hint { font: 12.5px var(--mono); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 4px; padding: 1px 6px; user-select: all; overflow-wrap: anywhere; } .ws-confirm { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 8px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 600; } .ws-confirm span { margin-right: auto; } .workspace-add { margin-top: 16px; flex: none; } .workspace-add-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; } .workspace-add-row { display: flex; gap: 8px; align-items: center; } .workspace-add-row input[type="text"] { flex: 1 1 auto; min-width: 0; padding: 8px 11px; } .workspace-add-row .btn { flex: none; } .workspace-add-row .btn[hidden] { display: none; } .workspace-add-msg { margin: 6px 0 0; min-height: 1.4em; font-size: 13px; color: var(--ink-2); } .workspace-add-msg.is-error { color: var(--warn); } .workspace-add-msg.is-good { color: var(--ok); } .workspace-add-msg .btn.tiny { margin: 0 0 0 8px; } .modal.workspace .modal-actions { flex: none; align-items: center; } .workspace-help { margin-right: auto; } @media (max-width: 560px) { .ws-field { grid-template-columns: 1fr; } .ws-field .field-error { grid-column: 1; } .workspace-add-row { flex-wrap: wrap; } } /* The `@name` list under a text box. Fixed to the viewport and placed by app.js from the box's own rectangle, so no scrolling card clips it. */ .mention-pop { position: fixed; z-index: 60; max-width: 420px; max-height: 220px; overflow-y: auto; padding: 4px; background: var(--panel); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 8px; box-shadow: var(--shadow); } .mention-opt { padding: 6px 10px; border-radius: 6px; font: 13px var(--mono); cursor: pointer; } .mention-opt:hover { background: var(--panel-2); } .mention-opt.is-active { background: var(--accent-soft); color: var(--accent); } .mention-empty { padding: 6px 10px; font-size: 13px; color: var(--ink-3); } /* Only meaningful once "Since a date" is the choice, so it is disabled until then rather than sitting there looking like it wants filling in. */ .since-row { margin-left: 27px; } .since-row.is-off { opacity: 0.45; } .since-label { font-size: 12.5px; color: var(--ink-3); } .since-row input[type="date"] { font: inherit; font-size: 13.5px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--rule-2); border-radius: 6px; padding: 5px 8px; } .modal-why { margin: 14px 0 0; font-size: 13px; color: var(--warn); min-height: 1px; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; } /* ----------------------------------------------------------- doc tools */ .doc-tools { display: flex; gap: 8px; margin-left: auto; flex: none; align-items: center; } .doc-saved { font-size: 12px; color: var(--ink-3); } .doc-saved code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); } .doc-head { align-items: center; } /* ------------------------------------------------------------ dashboard */ /* The dashboard replaces the question column with a menu, and the send bar with a click on a card. `hidden` alone loses to the bar's own display rule, so it needs saying here. */ .footer[hidden] { display: none; } .dash { max-width: 860px; padding-top: 8px; } .dash-title { margin: 6px 0 8px; font: 600 clamp(26px, 4vw, 36px)/1.1 var(--serif); } .dash-note { margin: 0 0 26px; font-size: 14.5px; color: var(--ink-2); } /* The first-run role nudge: one line above the title, wrapping on a narrow window, until looks.json carries a role. */ .dash-nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; padding: 10px 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); color: var(--ink); font-size: 14px; } .dash-nudge-text { flex: 1 1 16em; } /* The session meter at red: the same slot, in the careful colour. */ .dash-nudge.meter-banner { background: var(--warn-soft); border-color: var(--warn); border-left-width: 4px; color: var(--ink); } /* A newer release: the same slot, in the accent, with the label as the way into the update modal and a small × that hides it for this session. */ .dash-nudge.update-banner { position: relative; padding-left: 40px; padding-right: 40px; border-left-width: 4px; border-left-color: var(--accent-line); color: var(--ink); box-shadow: var(--glow); } .update-banner-open { flex: 1 1 16em; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; letter-spacing: 0.02em; text-align: center; cursor: pointer; } .update-banner-open:hover { text-decoration: underline; } /* Pinned to the right edge, out of the flow, so the label centres on the whole banner rather than on what the × leaves of it. */ .update-banner-dismiss { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 0 6px; border: 0; border-radius: var(--radius); background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; } .update-banner-dismiss:hover { background: var(--accent-line); } /* Wide enough that the update command sits on one line beside Copy; a narrow window still wraps it rather than overflowing. */ #update-modal { max-width: 720px; } .update-steps { margin: 0 0 12px; padding-left: 1.4em; color: var(--ink); } .update-steps li { margin: 4px 0; } /* The hand-off copy row, in the modal's first step: the command and its Copy side by side. */ .update-command { margin: 6px 0 4px; display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; } .update-command code { flex: 1 1 260px; min-width: 0; font: 13px/1.5 var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; } .dash-nudge-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; } .dash-nudge-actions .btn.tiny { margin-bottom: 0; } .dash-working { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 10px; padding: 7px 14px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 10px; font-weight: 600; } .dash-group { margin-bottom: 30px; } /* A switch, not a checkbox look: it filters the menu live rather than being an answer. The real checkbox stays in the tree (visually hidden) so the keyboard, focus ring and screen readers all work as for any input. */ .dash-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: -12px 0 26px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; } .dash-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; } .dash-toggle-track { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--rule-2); transition: background 0.15s ease, border-color 0.15s ease; } .dash-toggle-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-3); transition: transform 0.15s ease, background 0.15s ease; } .dash-toggle input:checked + .dash-toggle-track { background: var(--accent); border-color: var(--accent); } .dash-toggle input:checked + .dash-toggle-track::after { transform: translateX(14px); background: var(--accent-ink); } .dash-toggle input:focus-visible + .dash-toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; } .dash-toggle:hover .dash-toggle-track { border-color: var(--accent-line); } .dash-empty { margin: 0 0 30px; font-size: 13.5px; color: var(--ink-3); font-style: italic; } .dash-group-title { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); padding-bottom: 8px; } .dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } /* A card IS a button, so it carries the reset the page's other big clickable surfaces do; the look is the panel look with a lift on hover, and the accent border that elsewhere means "the thing in play". */ .dash-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--panel); font: inherit; text-align: left; color: var(--ink); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; } .dash-card:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow); } .dash-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .dash-card:disabled { cursor: default; opacity: 0.55; } .dash-card.is-suggested { border-color: var(--accent); } .dash-card.is-going { border-color: var(--accent); opacity: 1; } .dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .dash-chip { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--rule-2); border-radius: 999px; padding: 2px 8px; } .dash-card.is-suggested .dash-chip { color: var(--accent); border-color: var(--accent-line); } .dash-card-title { font-size: 15px; font-weight: 650; } .dash-card-blurb { font-size: 13px; color: var(--ink-2); flex: 1; } .dash-card-detail { font-size: 12px; color: var(--accent); } .dash-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--rule); } .dash-card-cmd { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dash-card-go { color: var(--accent); font-weight: 700; transition: transform 0.15s ease; } .dash-card:hover:not(:disabled) .dash-card-go { transform: translateX(3px); } /* The reason a card is off. The card greys via :disabled; this line is why, so the menu teaches the pipeline instead of just refusing clicks. */ .dash-card-off { font-size: 12px; color: var(--ink-3); font-style: italic; } /* -------------------------------------------------------- spec picker */ /* The picker's chips are the same vocabulary as the rail's items: a bordered lozenge that lights up on the current one. */ .spec-pick { margin-bottom: 30px; } .spec-row { display: flex; flex-wrap: wrap; gap: 10px; } .spec-chip { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--panel); font: inherit; text-align: left; color: var(--ink); cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .spec-chip:hover { border-color: var(--accent-line); } .spec-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .spec-chip.is-sel { border-color: var(--accent); box-shadow: var(--shadow); } .spec-chip-name { font-size: 13.5px; font-weight: 650; } .spec-chip-state { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); } .spec-chip:not(.is-sel) .spec-chip-state { color: var(--ink-3); } .spec-chip-detail { font-size: 11.5px; color: var(--ink-3); } /* ------------------------------------------------- dashboard confirm */ /* The beat between "I clicked a card" and "it is running": what the pick is, what it will do, and a START that means it. Narrower than the menu, centred like the launching pane it precedes. */ .dash-confirm { max-width: 560px; margin: 3vh auto 0; display: grid; gap: 10px; justify-items: center; text-align: center; } /* A smaller stage than the launching hero: the same sky, a moment shorter. */ .confirm-stage { height: 130px; } .confirm-stage .sky .star { animation: star-fly var(--dur, 5s) linear var(--delay, 0s) infinite; } .confirm-planny { position: absolute; left: 50%; bottom: 12px; width: 58px; height: 80px; transform: translateX(-50%); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35)); } .confirm-head { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .dash-confirm .dash-title { margin: 2px 0 0; } .confirm-about { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); } .confirm-detail { margin: 0; font-size: 13px; color: var(--accent); } .confirm-spec { margin: 0; font-size: 13px; color: var(--ink-2); } .confirm-spec code { font-family: var(--mono); font-size: 12px; } .confirm-cmd { margin: 2px 0 0; } .confirm-cmd code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 6px; padding: 4px 10px; } .confirm-actions { display: flex; gap: 10px; margin-top: 10px; } /* ------------------------------------------------------- launching pane */ .launching { max-width: 560px; margin: 4vh auto 0; text-align: center; display: grid; gap: 12px; justify-items: center; } /* The same sky the dock fills behind Planny, here in a stage sized for a hero: the mask fades the stars at the edges exactly the way it does in the aside. */ .launch-stage { position: relative; width: 100%; height: 180px; overflow: hidden; -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 42%, transparent 78%); mask-image: radial-gradient(120% 100% at 50% 40%, #000 42%, transparent 78%); } .launch-sky { opacity: 0.9; } /* The dock only animates its stars while .is-flying; centre stage they are the show, so the flight runs unconditionally. */ .launch-stage .sky .star { animation: star-fly var(--dur, 5s) linear var(--delay, 0s) infinite; } .launch-planny { position: absolute; left: 50%; bottom: 26px; width: 74px; height: 102px; margin-left: -37px; /* The dock's flight keyframes carry the forward lean; a second, slower bob on top keeps a long wait from reading as a loop on rails. */ animation: planny-fly 1.7s ease-in-out infinite, launch-bob 3.4s ease-in-out infinite; } @keyframes launch-bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 10px; } } .launch-title { margin: 0; font: 600 clamp(24px, 4vw, 34px)/1.12 var(--serif); } .launch-quip { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--accent); /* The line swaps on a timer; a minimum keeps the hint under it from hopping around as the words change length. */ min-height: 1.4em; animation: launch-quip-in 0.35s ease-out; } @keyframes launch-quip-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } } .launch-hint { margin: 0; font-size: 12.5px; color: var(--ink-3); max-width: 46ch; } /* A line, never a banner: no border, no background, no icon. */ .approval-tip { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); } /* ------------------------------------------------------- skill poses The starting and waiting screens of each skill swap the flight for Planny acting the skill out (drawings in