/* web/app-skin.css: made by control/landing-cards/build.py from app/skin.html. Edit the sources, not this file. */
/* app/skin.html */
/* ---- the app skin (pl-): the signed-in app at /me and the sign-in (web/index.html, also at /app/sign-in) in the website's look: the
   landing at / (website/) and the new link page. build.py makes web/app-skin.css from this style and web/app-skin.js from the script
   below; index.html loads both in its head, after the shared base (/theme.js, /tokens.css: the site's tokens, --color-paper,
   --color-ink, ..., and Geist) and its own style, which makes the app's names from those tokens. The app keeps its markup, ids and behaviour: this layer
   only restyles them.
   Rules: paper behind everything, white surfaces on the line colour with the site's radii (16 for a card, 20 for a pane, 24 for the
   sign-in), ink type in Geist; lime is the primary button (ink on #a0da00, a lime-edge ring and the key light), every other button is
   quiet; the theme is the site's (localStorage "theme" and html.dark, light by default); focus is a moss ring, 2 px; press feedback is a
   .97 scale on the site's ease, and nothing moves for someone who asked for less motion. ---- */

/* Geist is the shared base's (/tokens.css names /fonts/, self-hosted); while it loads, Arial sized to Geist's metrics holds its place,
   as the website's own fallback face does */
@font-face{font-family:"Geist Fallback";src:local("Arial");ascent-override:94.56%;descent-override:27.76%;line-gap-override:0%;size-adjust:106.28%}

/* the skin's own tones, beside the site's tokens */
:root{--pl-tint:rgba(13,17,23,.05);--pl-tint-2:rgba(13,17,23,.08);--pl-ring:rgba(13,17,23,.08);--pl-btn-line:rgba(13,17,23,.14);--pl-key-lo:rgba(13,17,23,.06);
  --pl-key-hi:rgba(255,255,255,.7);--pl-card-shadow:0 1px 2px rgba(13,17,23,.03);--pl-bubble:#edece7;--pl-track:#949389;
  --pl-tile:0 3px 3px rgba(0,0,0,.1),0 11px 5.5px rgba(0,0,0,.09),0 25px 7.5px rgba(0,0,0,.05),0 44px 9px rgba(0,0,0,.01);
  --pl-t:background-color .2s,border-color .2s,color .2s,box-shadow .2s,opacity .2s}
:root.dark{--pl-tint:rgba(241,241,236,.06);--pl-tint-2:rgba(241,241,236,.1);--pl-ring:rgba(241,241,236,.09);--pl-btn-line:rgba(241,241,236,.14);--pl-key-lo:rgba(0,0,0,.35);
  --pl-key-hi:rgba(255,255,255,.05);--pl-card-shadow:none;--pl-bubble:#26282d;--pl-track:#6a6d74}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}

/* ---- the page ---- */
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font-family:var(--sans);font-feature-settings:"ss01" off;-moz-osx-font-smoothing:grayscale}
::selection{background:rgba(160,218,0,.45);color:var(--text)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.i{stroke-width:1.6}
.mono,code,pre,kbd{font-family:var(--mono)}
a{text-underline-offset:3px}
.desc{color:var(--text-2)}

/* the wordmark, as the site's header writes it (website/src/components/logo.tsx): text only, semibold, tight */
.wordmark{display:inline-flex;align-items:center;color:var(--text);font-size:24px;line-height:1;font-weight:600;letter-spacing:-.05em;text-decoration:none;white-space:nowrap;border-radius:8px}
.wordmark .t{display:inline}
/* the theme button: the site's sun and moon (theme-toggle.tsx); the icon that leaves turns, shrinks and blurs */
.theme-btn{position:relative;display:inline-grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text);cursor:pointer;-webkit-tap-highlight-color:transparent}
.theme-btn .i{grid-area:1/1;width:19px;height:19px;stroke-width:1.5;transition:opacity .3s var(--ease-out),rotate .3s var(--ease-out),scale .3s var(--ease-out),filter .3s var(--ease-out)}
.theme-btn .t-moon{width:18px;height:18px;opacity:0;scale:.5;rotate:90deg;filter:blur(2px)}
.dark .theme-btn .t-sun{opacity:0;scale:.5;rotate:-90deg;filter:blur(2px)}
.dark .theme-btn .t-moon{opacity:1;scale:1;rotate:0deg;filter:none}
.page-h>.page-theme{display:none}

/* ---- controls ---- */
.btn{border:1px solid var(--pl-btn-line);border-radius:8px;background:var(--surface);color:var(--text);font-weight:600;letter-spacing:-.01em;
  box-shadow:inset 0 1px 0 var(--pl-key-hi),inset 0 -1px 0 var(--pl-key-lo),0 1px 2px rgba(13,17,23,.04)}
.btn:hover{background:color-mix(in srgb,var(--surface),var(--text) 4%);border-color:color-mix(in srgb,var(--text) 22%,transparent)}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--pl-btn-line);box-shadow:inset 0 1px 0 var(--pl-key-hi),inset 0 -1px 0 var(--pl-key-lo)}
.btn:disabled{opacity:.5;background:var(--surface);border-color:var(--pl-btn-line)}
.btn.primary{background:var(--color-lime);border-color:var(--color-lime-edge);color:#0d1117;font-weight:650;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(13,17,23,.14),0 1px 2px rgba(13,17,23,.06)}
.btn.primary:hover{background:#a9e40a;border-color:var(--color-lime-edge)}
.btn.primary:focus-visible{border-color:var(--color-lime-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(13,17,23,.14)}
.btn.primary:disabled{opacity:1;background:var(--subtle);border-color:var(--border);color:var(--muted);box-shadow:none}
.btn.ghost,.btn.danger-t{border-color:transparent;background:transparent;box-shadow:none;color:var(--text-2)}
.btn.ghost:hover{border-color:transparent;background:var(--pl-tint);color:var(--text)}
.btn.danger{color:var(--bad)}
.btn.danger:hover{background:var(--bad-bg);border-color:color-mix(in srgb,var(--bad) 45%,transparent)}
.btn.danger-t{color:var(--bad)}.btn.danger-t:hover{background:var(--bad-bg);color:var(--bad)}
.btn.danger-solid{background:var(--bad);border-color:var(--bad);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(13,17,23,.18)}
.btn.danger-solid:hover{background:color-mix(in srgb,var(--bad),#000 8%)}
.btn.danger-solid:disabled{background:var(--subtle);border-color:var(--border);color:var(--muted);box-shadow:none;opacity:1}
.btn.done{color:var(--ok)}
.btn .i{width:15px;height:15px}
.icon-btn{border-radius:8px;color:var(--text-2)}
.icon-btn:hover{background:var(--pl-tint);color:var(--text)}
.field{border:1px solid var(--border-2);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:inset 0 1px 1px rgba(13,17,23,.03)}
.field::placeholder{color:var(--muted)}
.field:focus{outline:none;border-color:var(--accent);box-shadow:var(--ring)}
@media (hover:hover) and (pointer:fine){.field:hover:not(:focus):not(:disabled){border-color:color-mix(in srgb,var(--border-2),var(--text) 22%)}}
label.lbl,.lbl{font-weight:600;letter-spacing:-.01em}
select.field{background:var(--surface)}
.badge{height:20px;padding:0 8px;border:1px solid var(--border);background:var(--subtle);color:var(--text-2);font-size:11px;font-weight:500;letter-spacing:.02em}
.badge.ok{background:var(--ok-bg);color:var(--ok);border-color:transparent}
.seg{gap:2px;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--subtle)}
.seg button{border-radius:7px;color:var(--text-2);font-weight:500}
.seg button:hover{color:var(--text)}
.seg button[aria-selected=true],.seg button[aria-pressed=true],.seg button[aria-checked=true],.ppl-seg a[aria-current=page]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 0 0 1px var(--pl-ring),0 1px 2px rgba(13,17,23,.06)}
.switch span{background:var(--pl-track)}
.switch span::after{box-shadow:0 1px 2px rgba(13,17,23,.3),0 0 0 .5px rgba(13,17,23,.06)}
.switch input:checked+span{background:#6aa000}
.dark .switch input:checked+span{background:var(--color-lime)}
.switch input:focus-visible+span{box-shadow:none;outline:2px solid var(--accent);outline-offset:2px}
.info-btn{border-color:var(--border-2);background:var(--surface);color:var(--text-2)}
.linky{color:var(--text-2)}
.form-msg.ok{color:var(--ok)}
.empty,.vstate{color:var(--muted)}
.vstate b{font-weight:600;letter-spacing:-.01em}
.alert{border-radius:10px}

/* ---- cards and rows: white on paper, the line colour, 16 px ---- */
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--pl-card-shadow)}
.card-h h2{font-size:15px;font-weight:600;letter-spacing:-.015em}
.card-h .count{color:var(--muted)}
.rows>li,.card-h.line,.card-f{border-color:var(--border)}
.card-f{color:var(--muted)}
.danger-card{border-color:color-mix(in srgb,var(--bad) 30%,var(--border))}
.acc-head:hover,.act:hover{background:var(--pl-tint)}
.reveal{border-radius:12px;border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.snip,.copyfield code,.mcp-box,.secret-note,.token-card,.state,.cd-pre,.ya-doc,.pb-free,.pb-note,.setup-steps,.pack{border-color:var(--border)}
.snip,.mcp-box{border-radius:12px}
.copyfield code{border-radius:8px}
.kv dt,.facts-grid dt{color:var(--muted)}
.home-card{background:var(--surface);border-color:var(--border);border-radius:20px}
.hc-t h2,.hero h1,.hero .hero-title{letter-spacing:-.03em;font-weight:600}
.circle-key{background:var(--surface);border-color:var(--border);border-radius:16px}
.circle-key li+li{border-color:var(--border)}
.avatar{background:var(--subtle);border-color:var(--border);color:var(--text-2)}
.avatar.close{background:var(--accent-bg);border-color:color-mix(in srgb,var(--accent) 30%,transparent);color:var(--accent)}
.ya-ico,.nv-ic{border-color:var(--border);background:var(--surface)}
.ya-on{background:var(--ok-bg);color:var(--ok)}
.ya-form{border-color:var(--border);border-radius:12px}
.ya-links a,.ya-links button{border-color:var(--border);background:var(--surface);color:var(--text-2);font-weight:500}
.ya-links a:hover,.ya-links button:hover{background:var(--pl-tint);color:var(--text)}
.pl-card-row{border-color:var(--border)}
.pl-card-row b{font-weight:600;letter-spacing:-.01em}
/* one place for each thing (the owner, "make it clean"): your link is the rail's on desktop and Settings' on phones (the People and
   Friends pages and the chat do not repeat it); Change handle lives in Settings, on desktop too (the account card there shows only it,
   since the account menu has the rest) */
.ppl-link,.ppl-hd,.rail-hd,#fr-linkbox{display:none!important}
.fr-top{grid-template-columns:minmax(0,1fr)}
@media (min-width:821px){
  .rail~main .ya-acct{display:block}
  .rail~main .ya-acct .ya-links>:not([data-hd]){display:none}
  .ya-link>.pl-card-link{display:none}}
/* the link card's two rows under it are footnotes; Copy link is its one boxed action */
.pl-card-link{font-size:16px;padding:12px 14px}
.share-row{gap:6px}
.pl-card-row b{font-size:13.5px}.pl-card-row p{font-size:13px;color:var(--text-2)}
/* concentric corners: a pill's round avatar sits as far in from the side as from the top; a friend row's focus takes its 8 px */
.feed-chip:has(.feed-av){padding-left:4px}
.pend-q{padding-right:12px}
.fr-main{border-radius:8px}
/* rows of one kind repeat their actions: the row's name leads; the destructive one turns red under the pointer or focus only */
.devices .btn.danger{border-color:transparent;background:transparent;box-shadow:none;color:var(--text-2)}
.devices .btn.danger:hover,.devices .btn.danger:focus-visible{background:var(--bad-bg);color:var(--bad)}

/* ---- the shell: on paper, a rail with the site's wordmark and theme button; the current page a white pill, like the site's Sign In ---- */
.rail{background:var(--bg);padding:14px 12px 12px;gap:2px}
.rail-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0 18px 10px}
.rail .brand{display:inline-flex;padding:2px 0;font-size:22px;font-weight:600;letter-spacing:-.05em;gap:0}
.nav{height:40px;border-radius:10px;color:var(--text-2);font-weight:500;letter-spacing:-.01em}
.nav:hover{background:var(--pl-tint);color:var(--text)}
.nav[aria-current=page]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 0 0 1px var(--pl-ring),0 1px 2px rgba(13,17,23,.04),inset 0 -1px 0 var(--pl-key-lo)}
.nav .i{width:19px;height:19px}
.nav-pup{background:#f3e6d6;box-shadow:inset 0 0 0 1px rgba(13,17,23,.08);object-position:50% 30%}
.nav-n,.ppl-c,.ib-n,.pl-feed-n{background:var(--text);color:var(--bg);font:600 11px/1 var(--sans);letter-spacing:0}
.nav-n,.pl-feed-n{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;margin-left:auto}
.rail .mylink{margin:0 0 12px;border-radius:12px}
.mylink{border:1px solid var(--border);background:var(--surface);box-shadow:var(--pl-card-shadow)}
.mylink:hover{background:var(--surface);border-color:var(--border-2)}
.mylink small{font-size:11.5px;font-weight:500;color:var(--muted);letter-spacing:0}
.mylink code{font:500 13px/1.4 var(--mono);letter-spacing:-.01em}
.mylink .label{padding:4px 10px;border-radius:6px;border:1px solid var(--pl-btn-line);background:var(--surface);color:var(--text);font-weight:600;box-shadow:inset 0 -1px 0 var(--pl-key-lo)}
.mylink.done .label{background:var(--color-lime);border-color:var(--color-lime-edge);color:#0d1117}
.me-btn{border-radius:10px}
.me-btn:hover,.me-btn[aria-expanded=true]{background:var(--pl-tint)}
.me-av{background:var(--accent);color:var(--on-accent);font-weight:600}
.me-t b{font-weight:600;letter-spacing:-.01em}
.acct-menu,.feed-menu,.share-menu,.pl-pop{border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-lg)}
.am-who{border-color:var(--border)}
.am-item,a.am-who,.feed-menu button,.pl-pop button,.share-menu>.btn{border-radius:8px}
.am-item:hover,.am-item:focus-visible,a.am-who:hover,a.am-who:focus-visible,.feed-menu button:hover,.pl-pop button:hover,.share-menu>.btn:hover{background:var(--pl-tint)}
.share-menu>.btn{box-shadow:none}
footer.foot{color:var(--muted);font-size:13px;letter-spacing:-.01em}
footer.foot a:hover{color:var(--text)}
.splash{background:var(--bg)}
.splash p{color:var(--text-2)}
@media (min-width:821px){
  main.app{padding:12px 12px 0 0}
  .sheet{background:transparent;border:0;border-radius:0;padding:40px 40px 72px;min-height:calc(100dvh - 12px)}
  .sheet.chat{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:0;min-height:0;box-shadow:var(--pl-card-shadow)}
  .pl{height:calc(100dvh - 26px)}
}
@media (max-width:820px){
  .sheet{background:transparent}
  .tabbar{background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border-top:1px solid var(--border)}
  .tb{color:var(--muted)}
  .tb[aria-current=page]{color:var(--text);font-weight:600}
  .tb[aria-current=page] .i{stroke-width:2}
  .sheet.chat{background:var(--surface)}
  /* cards stay inset and round on phones, as the link page has them */
  #ib-card,#my-agents,#fr-requests,#fr-circles,#fr-empty,.ya .card,.ya-s{margin-left:0;margin-right:0;border-left-width:1px;border-right-width:1px;border-radius:16px}
  .page-h>.page-theme{display:inline-grid;align-self:flex-start;margin:-4px -6px 0 0}
}

/* ---- page headings, in the site's voice: semibold, tight ---- */
.page-h h1{font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.04em}
.page-h p{font-size:15px;line-height:1.5;max-width:62ch}
.sec-h,.adv-head h2,.step-h h2{font-weight:600;letter-spacing:-.03em}
.adv-back{color:var(--text-2)}.adv-back:hover{background:var(--pl-tint)}
@media (max-width:820px){.page-h h1{font-size:26px}}
@media (max-width:600px){.page-h h1{font-size:26px}}

/* ---- sign in: the site's header over the page, one card (24 px) beside Pilot's print ---- */
.auth{position:relative;background:var(--bg);padding:96px 20px 48px}
.auth-top{position:absolute;left:0;right:0;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1412px;height:80px;margin:0 auto;padding:0 24px}
.auth-top .wordmark{font-size:27px}
.auth .card{border:1px solid rgba(13,17,23,.07);border-radius:24px;padding:36px 32px 28px;box-shadow:0 20px 12px rgba(0,0,0,.04),0 1px 2px rgba(13,17,23,.04)}
.dark .auth .card{border-color:rgba(255,255,255,.08)}
.auth h1{font-size:28px;line-height:1.1;font-weight:600;letter-spacing:-.04em;margin-top:18px;text-wrap:balance}
.auth .sub{font-size:15px;line-height:1.5;margin-top:10px}
.auth .sub a{color:var(--text);text-decoration-color:var(--border-2)}
.auth .sub a:hover{text-decoration-color:currentColor}
.auth form{gap:14px;margin-top:24px}
.auth .btn{height:44px;font-size:14.5px}
.auth .field{height:44px;font-size:15px;padding:0 13px}
.hi-say{background:var(--subtle);border-color:var(--border);border-radius:12px;font-weight:500}
.hi-say::after{background:var(--subtle);border-color:var(--border)}
/* the one lime action of the sign-in: the landing's CtaButton (48 px, its arrow out to the north-east) */
.auth #text-start{height:48px;font-size:15px;gap:8px;border-radius:8px;box-shadow:0 0 0 1px var(--color-lime-edge),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(13,17,23,.14),0 6px 16px -6px rgba(120,178,0,.55)}
.auth #text-start::after{content:"";width:16px;height:16px;flex:none;background:currentColor;transition:translate .3s var(--ease-out);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M5 11L11 5M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M5 11L11 5M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat}
@media (hover:hover) and (pointer:fine){.auth #text-start:hover::after{translate:1px -1px}}
/* while texting Pilot leads, the email form under "Already have an account?" is the quiet way */
#auth:has(#textfirst:not([hidden])) #f-email .btn.primary{background:var(--surface);border-color:var(--pl-btn-line);color:var(--text);font-weight:600;box-shadow:inset 0 1px 0 var(--pl-key-hi),inset 0 -1px 0 var(--pl-key-lo),0 1px 2px rgba(13,17,23,.04)}
#auth:has(#textfirst:not([hidden])) #f-email .btn.primary:hover{background:color-mix(in srgb,var(--surface),var(--text) 4%)}
.divider{color:var(--muted)}.divider::before,.divider::after{border-color:var(--border)}
.signin-more>summary,.more-ways summary{display:flex;align-items:center;justify-content:center;gap:4px;min-height:32px;border-radius:8px;color:color-mix(in srgb,var(--text) 80%,transparent);font-size:14px;letter-spacing:-.01em}
.signin-more>summary:hover,.more-ways summary:hover{color:var(--text)}
.signin-more>summary::after,.more-ways summary::after{content:"";width:14px;height:14px;background:currentColor;opacity:.7;transition:rotate .3s var(--ease-out);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.signin-more[open]>summary::after,.more-ways[open] summary::after{rotate:90deg}
.textfirst{gap:12px;margin-top:24px}
.fine{color:var(--muted);font-size:12.5px;line-height:1.6}
.fine a{color:var(--text-2)}
.btn.google{border-color:#d9d8d2}
.btn.apple,.btn.github,.btn.google{font-weight:600;box-shadow:none}
.portrait .print{background:#fbfaf7;border-color:rgba(13,17,23,.06);border-radius:8px;box-shadow:var(--pl-tile)}
.portrait figcaption b{font-weight:600;letter-spacing:-.02em}
@media (max-width:600px){
  .auth{padding:76px 14px 28px;place-items:start center}
  .auth-top{height:64px;padding:0 16px}
  .auth-top .wordmark{font-size:24px}
  .auth .card{padding:26px 20px 22px;border-radius:20px}
  .auth h1{font-size:26px}
}

/* ---- dialogs: a white pane (20 px) on a dimmed page ---- */
dialog{border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-lg)}
.dark dialog{border-color:rgba(255,255,255,.08)}
dialog::backdrop{background:rgba(13,17,23,.38)}
.dark dialog::backdrop{background:rgba(0,0,0,.6)}
.dlg-h{padding:18px 20px 0}
.dlg-h h2{font-size:17px;font-weight:600;letter-spacing:-.025em}
.dlg-f{background:var(--surface);border-top:1px solid var(--border);border-radius:0 0 19px 19px}
.state{border-radius:10px;background:var(--subtle)}
.checks,#entry details{border-color:var(--border);border-radius:12px}
.checks li+li{border-color:var(--border)}
dialog.pm{border-radius:20px}
.pm-art{background:var(--subtle);border-color:var(--border)}
.pm-body h2,.pm-body b{font-weight:600;letter-spacing:-.025em}
dialog.copied::backdrop{background:rgba(13,17,23,.14)}
dialog.pl-sheet{border-radius:0;border-width:0 0 0 1px}
.pl-sheet-h{border-color:var(--border)}
.agent-dlg .dlg-h h2{font-size:19px;font-weight:600;letter-spacing:-.03em}
.ag-dots span{background:var(--border-2)}
.ag-dots span.on{background:var(--text)}
.ag-dots span.done{background:var(--accent)}

/* ---- the chat: one white pane; Pilot's lines on the bubble grey, yours in lime, as the landing's conversation has them ---- */
.pl-h{border-color:var(--border)}
.pl-av{background:#f3e6d6;border:0;box-shadow:inset 0 0 0 1px rgba(13,17,23,.08);object-position:50% 30%}
.pl-who b{font-weight:600;letter-spacing:-.02em}
.pl-who>span{color:var(--muted)}
.pl-m p{border:0;border-radius:18px;background:var(--pl-bubble);color:var(--text);letter-spacing:-.01em}
.pl-m.me p{background:var(--color-lime);color:#0d1117}
.pl-m.me p a{color:#0d1117}
.pl-day,.pl-meta{color:var(--muted)}
.pl-img{border-color:var(--border)}
.pl-chip{border-color:var(--pl-btn-line);background:var(--surface);color:var(--text);font-weight:500;box-shadow:inset 0 -1px 0 var(--pl-key-lo)}
.pl-chip:hover{background:color-mix(in srgb,var(--surface),var(--text) 4%)}
.pl-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}
.pl-composer{border-color:var(--border);background:var(--surface)}
.pl-composer form{border-color:var(--border-2);background:var(--surface);box-shadow:0 1px 2px rgba(13,17,23,.04)}
.pl-composer form:focus-within{border-color:var(--accent);box-shadow:var(--ring)}
.pl-composer textarea::placeholder{color:var(--muted)}
.pl-send{background:var(--color-lime);color:#0d1117;box-shadow:0 0 0 1px var(--color-lime-edge),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(13,17,23,.14)}
.pl-send:hover:not(:disabled){background:#a9e40a}
.pl-send:disabled{opacity:1;background:var(--subtle);color:var(--muted);box-shadow:0 0 0 1px var(--border)}
.pl-send:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pl-card{border-color:var(--border);border-radius:16px}
.pl-card h2{font-weight:600;letter-spacing:-.025em}
.pl-card-link{font:500 15px/1.4 var(--mono);background:var(--subtle);border-radius:10px}
.pl-start h2,.pl-empty h2{font-weight:600;letter-spacing:-.035em}
.pl-code{border-color:var(--border-2);border-radius:16px;background:var(--subtle)}
.pl-act>li,.ya-tl li{border-color:var(--border)}
/* Activity: a day's entries sit inside their card (.ya-tl's own padding:0 came after .hist-list's and pressed them to the edge) */
.ya-tl.hist-list{padding:18px 20px}
.pa-list li{border-color:var(--border);border-radius:12px}

/* ---- People: the list, then one conversation ---- */
.ib-pane{border-color:var(--border)}
.ib-h,.thread-h,.reply,.ib-list button{border-color:var(--border)}
.ib-list button:hover{background:var(--pl-tint)}
.ib-list button[aria-current="true"]{background:var(--subtle);box-shadow:inset 3px 0 0 var(--text)}
.ib-list .unread .ib-dot{background:var(--accent)}
.msg p{border:0;border-radius:16px;background:var(--pl-bubble);letter-spacing:-.01em}
.msg.out p{background:var(--color-lime);color:#0d1117}
.msg.out p a{color:#0d1117}
.msg.failed p{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--bad) 55%,transparent)}
.jump{border-color:var(--border);background:var(--surface)}
.ppl-seg a{border-radius:7px;color:var(--text-2)}
.fr-main:hover b{text-decoration-color:var(--border-2)}
.pend-q{border-color:var(--border-2)}
.circ{border-color:var(--border);background:var(--subtle)}
.circ button[aria-checked=true]{background:var(--surface);box-shadow:0 0 0 1px var(--pl-ring)}

/* ---- Feed: a white card per thing; its actions quiet, boxless, aligned to the text ---- */
.feed-i{border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--pl-card-shadow);padding:16px 18px}
.feed-i.update{border-color:var(--border)}
.feed-h b{font-weight:600;letter-spacing:-.01em}
.feed-h time{color:var(--muted)}
.feed-src{color:var(--muted)}
.feed-acts{gap:2px;margin:10px 0 0 -8px}
.feed-b,.feed-remind summary{height:30px;padding:0 9px;border-color:transparent;background:transparent;color:var(--muted);font-size:12.5px;border-radius:8px}
.feed-b:hover,.feed-remind summary:hover{background:var(--pl-tint);color:var(--text)}
.feed-b.on{border-color:transparent;background:transparent;color:var(--text);font-weight:600}
.feed-remind[open] summary{color:var(--text);background:var(--pl-tint)}
@media (hover:hover) and (pointer:fine){.feed-i:is(:hover,:focus-within) :is(.feed-b:not(.on),.feed-remind summary){color:var(--text-2)}}
/* Like and Save, and the Saved filter: one glyph each, the heart and the star (Nucleo UI, 18 px at 1.5 px, as the level icons): its
   outline when off, the same glyph filled in ink when on; the one just tapped on pops once (a scale tap), not for less motion */
.feed-b{gap:5px}
.feed-b .i,.feed-chip>.i{width:18px;height:18px;stroke-width:1.5;flex:none;fill:transparent;transition:fill .2s var(--ease-out),color .2s}
.feed-b.on .i,.feed-chip[aria-pressed=true]>.i{fill:currentColor}
.feed-b.tap .i{animation:pl-like .42s var(--ease-out)}
@keyframes pl-like{0%{scale:.55}55%{scale:1.2}100%{scale:1}}
.feed-chip{gap:6px}
.feed-chip{border-color:var(--border);background:var(--surface);color:var(--text-2)}
.feed-chip:hover{border-color:var(--border-2);color:var(--text)}
.feed-chip[aria-pressed=true]{border-color:var(--text);color:var(--text);font-weight:600;box-shadow:inset 0 0 0 .5px var(--text)}
.feed-av.logo{border-color:var(--border)}
.feed-img img,.feed-file{border-color:var(--border)}
.feed-file:hover{background:var(--pl-tint)}
.pl-new{display:inline-flex;align-items:center;height:18px;padding:0 7px;margin-left:2px;border-radius:999px;background:rgba(160,218,0,.2);color:var(--accent);font-size:11px;font-weight:600;letter-spacing:.01em}
@media (max-width:820px){.feed-i{border-radius:14px}}

/* ---- how independent the agent is: Settings' three cards (a radiogroup of buttons) and the chat header's menu of the same three. Each
   level has its icon in a quiet tile (paper-2, ink); the level bar shows how much it handles on its own (the site's 4 px rounded
   indicator, moss or lime on paper-2); its points carry checks. The chosen one wears the moss ring with a soft lime halo, a lime tile and
   a check badge; the keyboard's focus ring stands apart, outside the halo. On wide screens the cards share rows (subgrid), so the tiles,
   the names, the bars and the points line up and the cards are one height; on phones they stack, the tile beside the words, and the
   points now show there too, under the bar. ---- */
.levels{gap:12px;margin-top:16px}
.level{position:relative;gap:0;padding:16px 16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--pl-card-shadow)}
@media (hover:hover) and (pointer:fine){.level:hover{background:color-mix(in srgb,var(--surface),var(--text) 2%);border-color:var(--border-2)}}
.level .lv-ic{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:10px;background:var(--subtle);box-shadow:inset 0 0 0 1px var(--border);color:var(--text);transition:background-color .2s,box-shadow .2s,color .2s}
.level .lv-ic .i{width:18px;height:18px;stroke-width:1.5}
.level>b{font-size:15px;line-height:1.3;font-weight:600;letter-spacing:-.015em;padding-right:28px}
.level .lv-say{margin-top:4px;font-size:13px;line-height:1.5;color:var(--text-2)}
.level .bar{height:4px;margin:14px 0 0;border:0;border-radius:999px;background:var(--subtle);box-shadow:inset 0 0 0 1px var(--pl-ring)}
.level .bar i{border-radius:inherit;background:var(--accent)}
.level ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:7px;align-content:start;font-size:12.5px;line-height:1.45;color:var(--text-2)}
.level li{position:relative;padding-left:21px}
.level li::before{content:"";position:absolute;left:0;top:1.5px;width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat}
.level[aria-checked=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 0 0 4px rgba(160,218,0,.22)}
.level[aria-checked=true] .lv-ic{background:var(--color-lime);box-shadow:inset 0 0 0 1px var(--color-lime-edge);color:#0d1117}
.level[aria-checked=true]::after{content:"";position:absolute;top:14px;right:14px;width:20px;height:20px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat}
.dark .level[aria-checked=true]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230d1117' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E")}
.level:focus-visible{outline:2px solid var(--accent);outline-offset:6px}
@media (min-width:621px){
  .levels{grid-template-rows:repeat(5,auto);row-gap:0}
  .level{grid-row:span 5;grid-template-rows:subgrid}}
@media (max-width:620px){
  .levels{gap:10px}
  .level{grid-template-columns:34px minmax(0,1fr);column-gap:12px;align-items:start;padding:14px 14px 16px}
  .level .lv-ic{grid-column:1;grid-row:1/4;margin:0}
  .level>b,.level .lv-say,.level .bar,.level ul{grid-column:2}
  .level .bar{margin-top:10px}
  .level ul{display:grid;margin-top:12px}
  .level[aria-checked=true]::after{top:12px;right:12px}}
/* the chat header's menu: the same icons, the chosen one's tile lime, its check in the accent */
.pl-pop button[role=menuitemradio]{grid-template-columns:30px minmax(0,1fr);column-gap:10px;align-items:start;padding:9px 10px}
.pl-pop button[role=menuitemradio]>.i{grid-row:1/3;width:30px;height:30px;padding:6px;border-radius:8px;background:var(--subtle);box-shadow:inset 0 0 0 1px var(--border);color:var(--text);stroke-width:1.5}
.pl-pop button[role=menuitemradio][aria-checked=true]>.i{background:var(--color-lime);box-shadow:inset 0 0 0 1px var(--color-lime-edge);color:#0d1117}
.pl-pop button[aria-checked=true] b::after{content:"";width:15px;height:15px;margin-left:auto;background:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat}
@media (min-width:821px){.pl-pop{width:320px}}

/* ---- Profile: its pages down the side (the current one the white pill), each a column of cards ---- */
.nv-ic{border-radius:8px;color:var(--text-2)}
.nv-t small{color:var(--muted)}
@media (min-width:900px){
  .adv-nav a{color:var(--text-2)}
  .adv-nav a:hover{background:var(--pl-tint);color:var(--text)}
  .adv-nav a[aria-current=page]{background:var(--surface);color:var(--text);box-shadow:0 0 0 1px var(--pl-ring),0 1px 2px rgba(13,17,23,.04),inset 0 -1px 0 var(--pl-key-lo)}
}
@media (max-width:899px){
  .adv-nav ul{border-color:var(--border);border-radius:16px;background:var(--surface)}
  .adv-nav li+li a{border-color:var(--border)}
  .adv-nav a:hover{background:var(--pl-tint)}
}
.chart .v{font-weight:600;letter-spacing:-.03em}
.tip{border-radius:8px}
.pq-msg,.pb-terms,.cd-list>li{border-color:var(--border);border-radius:12px}

/* ---- connect and the welcome: the agent dialog ---- */
.apps-grid button,.ob-app,.ob-goal{border-color:var(--border);border-radius:10px}
.apps-grid button:hover,.ob-app:hover,.ob-goal:hover{background:var(--pl-tint)}
#clients .apps-grid button{border-color:var(--border)}
#clients .apps-grid button:hover{border-color:var(--border-2);background:var(--pl-tint)}
#clients .apps-grid button.on,#clients .apps-grid button[aria-pressed=true]{border-color:var(--text);background:var(--surface);box-shadow:0 0 0 1px var(--text);color:var(--text)}
.apps-grid button[aria-pressed=true],.ob-app[aria-pressed=true],.ob-goal[aria-pressed=true]{border-color:var(--text);box-shadow:0 0 0 1px var(--text)}
#clients .apps-grid button .on-dot{background:var(--color-lime);color:#0d1117}
.snip-h{border-color:var(--border)}
.cnum{background:var(--text);color:var(--bg)}
.step-n,.cr-n,.steps li::before{border-color:var(--border-2)}
.creds{border-color:var(--border)}
.creds li{border-color:var(--border)}
.creds li.done .cr-n{background:var(--color-lime);border-color:var(--color-lime-edge);color:#0d1117}
.callout{border-radius:12px}
.callout.say{border-color:color-mix(in srgb,var(--color-lime-deep) 40%,transparent);background:var(--accent-bg)}
.try-say .bubble,.ob-say .bubble{border:0;background:var(--pl-bubble)}
.try-say:hover .bubble{background:color-mix(in srgb,var(--pl-bubble),var(--text) 6%)}
/* the connect step: copying is the task, so Copy is the one lime button and Next follows it, quiet */
.agent-dlg:has(.snip-h .btn.primary) #ag-next{background:var(--surface);border-color:var(--pl-btn-line);color:var(--text);font-weight:600;box-shadow:inset 0 1px 0 var(--pl-key-hi),inset 0 -1px 0 var(--pl-key-lo)}
.agent-dlg:has(.snip-h .btn.primary) #ag-next:hover{background:color-mix(in srgb,var(--surface),var(--text) 4%)}
.path span{border-color:var(--border);background:var(--subtle)}
.path span.go{background:var(--color-lime);border-color:var(--color-lime-edge);color:#0d1117}

/* ---- the service's status under Settings' heading: the site footer's pill ---- */
.pl-status{display:inline-flex;align-items:center;gap:8px;justify-self:start;height:26px;margin-top:6px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:var(--subtle);
  color:var(--text-2);font-size:12px;font-weight:500;letter-spacing:.01em;text-decoration:none;white-space:nowrap}
.pl-status:hover{border-color:color-mix(in srgb,var(--text) 15%,transparent)}
.pl-status i{position:relative;width:6px;height:6px;border-radius:50%;background:var(--color-lime-deep)}
.pl-status.warn i{background:var(--warn)}
.pl-status i::after{content:"";position:absolute;inset:0;border-radius:50%;background:inherit;animation:pl-pulse 2.4s var(--ease-out) 3}
@keyframes pl-pulse{0%{opacity:.6;transform:scale(1)}80%,100%{opacity:0;transform:scale(2.4)}}

/* ---- press feedback: every pressable thing answers the finger (the site's .pressable: .97 on its ease) ---- */
:is(.btn,.icon-btn,.theme-btn,.pl-chip,.feed-chip,.feed-b,.feed-remind summary,.seg button,.ppl-seg a,.ya-links a,.ya-links button,.apps-grid button,.ob-app,.ob-goal,.level,.info-btn,
  .pl-send,.mylink,.nav,.tb,.me-btn,.am-item,.ag-row,.adv-nav a,.adv-back,.feed-file,.try-say,.callout.say,.wordmark,.signin-more>summary,.more-ways summary,.hd-change,.linky,.jump,.circ button){
  transition:var(--pl-t),scale .16s var(--ease-out)}
:is(.btn,.icon-btn,.theme-btn,.pl-chip,.feed-chip,.feed-b,.feed-remind summary,.seg button,.ppl-seg a,.ya-links a,.ya-links button,.apps-grid button,.ob-app,.ob-goal,.level,.info-btn,
  .pl-send,.mylink,.nav,.tb,.me-btn,.am-item,.ag-row,.adv-nav a,.adv-back,.feed-file,.try-say,.callout.say,.wordmark,.signin-more>summary,.more-ways summary,.hd-change,.linky,.circ button):active:not(:disabled){scale:.97}
@media (hover:hover) and (pointer:fine){.theme-btn:hover{background:var(--pl-tint)}.wordmark:hover{opacity:.8}}

/* ---- arrivals: a page fades up 6 px as it shows; a dialog and a menu land on the site's ease. No fill: a moved ancestor would hold
   the fixed panes inside it (the phone's open conversation), so nothing stays applied once it has landed, and that page never moves. ---- */
.sheet-in>section:not([hidden]):not(.open){animation:pl-rise .32s var(--ease-out)}
.auth-in .card{animation:pl-rise .5s var(--ease-out)}
@keyframes pl-rise{from{opacity:0;translate:0 6px}}
dialog:not(.pm):not(.pl-sheet)[open]{animation:pl-dlg .26s var(--ease-out)}
@keyframes pl-dlg{from{opacity:0;translate:0 8px;scale:.985}}
.acct-menu:not([hidden]),.feed-menu:not([hidden]),.share-menu,.pl-pop:not([hidden]){animation:pl-menu .2s var(--ease-out)}
@keyframes pl-menu{from{opacity:0;translate:0 4px;scale:.98}}

/* ---- less motion: everything at once; colours still change ---- */
@media (prefers-reduced-motion:reduce){
  .sheet-in>section,.auth-in .card,dialog[open],.acct-menu,.feed-menu,.share-menu,.pl-pop{animation:none!important}
  :is(.btn,.icon-btn,.theme-btn,.pl-chip,.feed-chip,.feed-b,.seg button,.apps-grid button,.level,.pl-send,.mylink,.nav,.tb,.me-btn,.am-item,.ag-row,.adv-nav a,.wordmark,.circ button){scale:none!important}
  .theme-btn .i,.signin-more>summary::after,.more-ways summary::after,.auth #text-start::after{transition:none}
  .pl-status i::after{animation:none}
  .feed-b.tap .i{animation:none}
}
