/* ============================================================
   Bright Sky — Connect Claude (/connect-claude, PRD 017; batch 4,
   2026-11-17). Signed in: loaded by _nav.html after bright.css +
   bright-children.css. Signed out (the public guide): the page loads
   the same three sheets itself.
   Colour rules: blue = action / state ("Works today", Connected, the
   steps); saffron = attention (a token shown once). No green here:
   green is for correct answers only.
   ============================================================ */
main.cc { max-width: 1120px; padding-bottom: 2rem; }
.cc-head { justify-content: flex-start; gap: .7rem; margin-bottom: .5rem; }
.st-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 99px; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.st-tag svg { width: .95rem; height: .95rem; flex: none; }
.t-done2 { background: var(--act-wash); color: var(--act-ink); }
.t-sched { background: none; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--outline-soft); }
.t-warn { background: var(--kite-wash); color: var(--kite-ink); }
.cc-lead { margin: 0 0 1rem; max-width: 64ch; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.cc-lead strong { color: var(--ink); }

/* on this page: pill links; one swipeable row on a phone */
.toc { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1.3rem; padding: 0; list-style: none; }
.toc-label { font-size: .82rem; color: var(--pencil); margin-right: .15rem; }
.toc a { display: inline-flex; align-items: center; min-height: 36px; padding: .25rem .85rem; border-radius: 99px; border: 1.5px solid var(--outline-soft);
  background: var(--surface); color: var(--act-ink); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.toc a:hover { background: var(--act-wash); border-color: var(--act); }
.toc a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.doc-sec, .howto-head, #start, .cc-conns-card { scroll-margin-top: 1.2rem; }

.cc-note { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 14px;
  background: var(--act-wash); color: var(--act-ink); font-weight: 600; }
.cc-note svg { width: 1.1rem; height: 1.1rem; flex: none; }

/* cards */
.cc-card { padding: 1.15rem 1.3rem 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.cc-card h2 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.cc-ch { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.cc-count { font-size: .9rem; color: var(--ink-soft); }
.cc-kick { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); }
.cc-soft { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.cc-soft code { font-size: .86rem; background: var(--paper-2); padding: .05rem .3rem; border-radius: 6px; }
.token { margin: .2rem 0; padding: .7rem .8rem; border-radius: 12px; background: var(--paper-2); color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.cc-token { border-left: 5px solid var(--kite); }

/* where Claude is signed in */
.cc-conns { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.cc-conns li { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap;
  padding: .65rem .9rem; border-radius: 14px; background: var(--paper-2); }
.cc-cn { display: flex; flex-direction: column; min-width: 0; }
.cc-cn b { color: var(--ink); font-size: 1rem; }
.cc-cn small { color: var(--ink-soft); font-size: .86rem; font-variant-numeric: tabular-nums; }
.cc-conns form { margin: 0; }
.cc-conns .btn { min-height: 40px; }
.cc-empty { margin: 0; color: var(--ink); font-weight: 600; }
.cc-empty span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .93rem; }

/* start here: the address, Copy, and Copy and open Claude */
.start { border-left: 5px solid var(--act); }
.urlrow { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: .3rem; }
.urlrow .field { flex: 1 1 260px; min-width: 0; }
.urlrow input { width: 100%; min-height: 44px; padding: .55rem .8rem; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper-2);
  color: var(--ink); font: 500 .95rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.urlrow .btn { min-height: 44px; }
.go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 46px; margin-top: .3rem; font-family: var(--display); font-size: 1.05rem;
  padding: .6rem 1.3rem; text-decoration: none; }
.go-note { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* documentation sections */
.doc-sec { margin: 2rem 0 0; }
.doc-sec > h2 { margin: .15rem 0 .4rem; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; color: var(--ink); }
.doc-sec > .intro { margin: 0 0 1rem; max-width: 66ch; color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.three { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.three .card { padding: 1.05rem 1.15rem 1.15rem; box-shadow: var(--shadow); }
.three h3 { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.three p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }
.aside-note { margin: .9rem 0 0; max-width: 72ch; color: var(--ink-soft); font-size: .92rem; }
.need { max-width: 84ch; margin-top: 2rem; padding: .8rem 1rem; border-radius: 14px; background: var(--act-wash); color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.need b { color: var(--act-ink); }

/* the six steps, each with its drawing */
.howto-head { margin: 1.3rem 0 .8rem; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; color: var(--ink); }
.howto { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); list-style: none; margin: 0; padding: 0; }
.howto li { display: flex; flex-direction: column; padding: 1rem 1.05rem 1.1rem; box-shadow: var(--shadow); }
.step-title { display: flex; gap: .6rem; align-items: center; margin: 0 0 .3rem; font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.num { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--act); color: #fff;
  font: 800 .95rem/1 var(--display); }
.step-text { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.scr { margin-top: auto; min-height: 158px; display: flex; flex-direction: column; gap: .45rem; padding: .75rem; border-radius: 12px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--hair); font-size: .8rem; color: var(--ink-soft); }
.scr b { color: var(--ink); font-weight: 600; }
.scr-title { display: flex; align-items: center; gap: .35rem; font: 700 .95rem var(--display); color: var(--ink); }
.scr-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.fake { padding: .3rem .5rem; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fake-label { margin-bottom: -.3rem; font-size: .7rem; color: var(--pencil); }
.pill { padding: .22rem .6rem; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; }
.pill.here { background: var(--act); color: #fff; box-shadow: none; font-weight: 700; }
.pill.alt { background: var(--surface); color: var(--act-ink); box-shadow: inset 0 0 0 1.5px var(--outline); font-weight: 600; }
.pill.right { align-self: flex-end; margin-top: auto; }
.menu { align-self: flex-end; display: flex; flex-direction: column; gap: .2rem; padding: .3rem; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.menu span { padding: .25rem .5rem; border-radius: 6px; }
.menu .here { background: var(--act); color: #fff; font-weight: 700; }
.bubble { align-self: flex-end; max-width: 88%; padding: .4rem .6rem; border-radius: 12px 12px 3px 12px; background: var(--act-wash); color: var(--ink); }
.reply { max-width: 92%; }
.mini-mark { width: 1rem; height: 1rem; flex: none; }
/* worksheets.css styles a form .opt (a bordered choice): the drawing's options are plain lines */
.scr .opt { display: flex; align-items: center; gap: .4rem; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: default; }
.opt i { flex: none; width: .72rem; height: .72rem; border-radius: 99px; border: 1px solid var(--pencil); background: var(--surface); }
.opt.on i { border: .22rem solid var(--act); }
.opt.gap { margin-top: .35rem; }
.det { flex: none; padding: 0 .4rem; border-radius: 99px; background: var(--act-wash); color: var(--act-ink); font-size: .66rem; font-weight: 700; }
.caption { margin: .7rem 0 0; color: var(--pencil); font-size: .82rem; }

.side { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; margin-top: 1.6rem; }
.side .cc-card { margin-bottom: 0; }

/* what to ask */
.asks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ask { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.05rem 1.1rem; box-shadow: var(--shadow); }
.ask .you { align-self: flex-start; max-width: 100%; padding: .5rem .75rem; border-radius: 14px 14px 14px 4px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font-weight: 500; font-size: .95rem; }
.ask .st { align-self: flex-start; }
.ask .what { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

/* the tools */
.tools-card { padding: .2rem 0; box-shadow: var(--shadow); }
.tools { list-style: none; margin: 0; padding: 0; }
.tools li { display: grid; grid-template-columns: minmax(170px, 230px) 1fr minmax(120px, auto); gap: .25rem 1.1rem; align-items: baseline;
  padding: .85rem 1.3rem; border-top: 1px solid var(--hair); }
.tools li:first-child { border-top: 0; }
.tools .t-name { font: 700 1.02rem var(--display); color: var(--ink); }
.tools .t-what { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.tools .t-acc { justify-self: start; padding: .12rem .55rem; border-radius: 99px; font-size: .78rem; font-weight: 700; white-space: nowrap;
  color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--outline-soft); }
.tools .t-acc.t-save { color: var(--act-ink); background: var(--act-wash); box-shadow: none; }

/* limits, problems, help */
.limits { padding: 1.1rem 1.35rem; box-shadow: var(--shadow); }
.limits ul { margin: 0; padding-left: 1.1rem; }
.limits li { margin: .5rem 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.limits li b { color: var(--ink); }
.limits li::marker { color: var(--act); }
.faq-list { padding: .2rem 1.3rem; box-shadow: var(--shadow); }
.faq { border-top: 1px solid var(--hair); }
.faq:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: .6rem; align-items: center; min-height: 44px; padding: .55rem 0; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--act); font-size: 1.3rem; line-height: 1; font-weight: 700; }
.faq[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.faq p { margin: 0 0 .85rem; max-width: 72ch; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.help { padding: 1.1rem 1.35rem; box-shadow: var(--shadow); }
.help p { margin: .35rem 0; font-size: .95rem; color: var(--ink-soft); }
.help .mail { font: 800 1.2rem var(--display); }
.help .mail a { color: var(--act-ink); }
.foot { margin: 1.4rem 0 2rem; font-size: .85rem; color: var(--pencil); }
.foot a { color: var(--act-ink); }

@media (max-width: 760px) { .tools li { grid-template-columns: 1fr; padding: .8rem 1rem; } }
@media (max-width: 700px) {
  .cc-head { margin-top: .9rem; }
  .cc-head h1 { font-size: 2rem; }
  .toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4vw; padding: 0 4vw .2rem; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .toc::-webkit-scrollbar { display: none; }
  .toc-label { display: none; }
  .cc-card { padding: 1rem 1rem 1.1rem; border-radius: 16px; }
  .go { align-self: stretch; justify-content: center; }
  .urlrow .btn { flex: 1 1 100%; }
  .cc-conns .btn { flex: 1 1 100%; }
  .cc-conns form { flex: 1 1 100%; }
  .three, .asks, .howto { grid-template-columns: 1fr; }
}
