/* Try Juno: the band and the rail around Fernhill. Copied from the approved drawings, not new design: first run A and
   limits A in design/try-juno/src/shared/try.css, and the wordmark, button and key cap from the site's look
   (design/try-juno/first-a/index.html). Only rules first-a's page uses are here. */
.wm{display:inline-flex;align-items:baseline;font:800 27px/1 var(--disp);letter-spacing:-.04em;text-decoration:none;color:inherit}
.wm .oo{display:inline-flex;gap:.06em;margin:0 .03em;translate:0 .045em}
.wm .oo i{width:.6em;height:.6em;border-radius:50%;border:.15em solid currentColor;position:relative;animation:wm-blink 5.2s infinite}
.wm .oo i::after{content:"";position:absolute;left:50%;top:50%;width:.17em;height:.17em;margin:-.085em;border-radius:50%;background:currentColor;translate:var(--px,0) var(--py,0);transition:translate .12s ease-out}
@keyframes wm-blink{0%,94%,100%{scale:1 1}97%{scale:1 .12}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 24px;border-radius:25px;background:var(--amber);color:var(--ink);font:600 16px/1 var(--sans);text-decoration:none;border:2px solid var(--ink);cursor:pointer;box-shadow:0 4px 0 var(--ink);transition:translate .15s,box-shadow .15s}
.btn:hover{translate:0 -2px;box-shadow:0 6px 0 var(--ink)}
.btn:active{translate:0 3px;box-shadow:0 1px 0 var(--ink)}
.btn.sm{height:40px;padding:0 18px;font-size:14.5px;box-shadow:0 3px 0 var(--ink)}
.ix-kbd{font:600 10.5px/1 Inter,system-ui,sans-serif;border:1px solid currentColor;border-radius:5px;padding:3px 5px;opacity:.75;white-space:nowrap}
@media (hover:none){.only-mouse{display:none}}

/* ---- The band: where you are, that it is a sandbox, the way out */
.tj-band{display:flex;align-items:center;gap:18px;padding:9px 14px 9px 20px;border-bottom:2px solid var(--ink);background:var(--cream);position:relative;z-index:5}
.tj-band .wm{font-size:22px;flex:none}
.tj-band p{margin:0;font:400 14.5px/1.35 var(--sans);color:var(--mute);min-width:0;flex:1;max-width:none}
.tj-band p b{color:var(--ink);font-weight:600}
.tj-spent-line{display:none}
.tj-spent .tj-where{display:none}.tj-spent .tj-spent-line{display:block}
.tj-reset{all:unset;cursor:pointer;font:600 14px/1 var(--sans);text-decoration:underline;text-underline-offset:4px;white-space:nowrap;flex:none}
.tj-reset:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}
.tj-band .btn{flex:none}

/* ---- First run A: the jobs sit beside the app */
.tj-rail h2{font:800 30px/1 var(--disp);letter-spacing:-.04em;margin:0;max-width:none}
.tj-how{margin:0;font:400 15px/1.4 var(--sans);max-width:none}
.tj-how .ix-kbd{font-size:11.5px;padding:4px 7px;margin-right:5px;opacity:1}
.tj-jobs{display:grid;gap:8px}
.tj-job{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:11px 13px;border-radius:14px;background:#fff;border:2px solid var(--ink);transition:translate .15s,box-shadow .15s,background .2s}
.tj-job:hover{translate:0 -2px;box-shadow:0 4px 0 var(--ink)}
.tj-job:active{translate:0 1px;box-shadow:none}
.tj-job:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}
.tj-job small{grid-column:1;font:700 11px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--cobalt)}
.tj-job b{grid-column:1;font:600 15px/1.3 var(--sans)}
.tj-job i{grid-column:2;grid-row:1/3;width:22px;height:22px;border-radius:50%;border:2px solid var(--ink);position:relative;flex:none}
.tj-job.tried{background:var(--butter)}
.tj-job.tried i{background:var(--ink)}
.tj-job.tried i::after{content:"";position:absolute;left:5px;top:3px;width:5px;height:9px;border:solid var(--cream);border-width:0 2.5px 2.5px 0;rotate:45deg}
.tj-type{display:flex;gap:6px;height:46px;padding:0 5px 0 14px;border-radius:23px;background:#fff;border:2px solid var(--ink);align-items:center;margin:0}
.tj-type input{all:unset;flex:1;min-width:0;font:400 15px/1 var(--sans)}
.tj-type input::placeholder{color:var(--mute)}
.tj-type button{all:unset;cursor:pointer;height:34px;padding:0 15px;border-radius:17px;background:var(--ink);color:var(--cream);font:600 14px/34px var(--sans)}
.tj-left{margin:0;font:600 14px/1.3 var(--sans);display:none}
.tj-left.on{display:block}
.tj-win,.tj-close{display:none;padding:14px 15px;border-radius:16px;background:var(--cobalt);color:var(--cream);border:2px solid var(--ink)}
.tj-win.on{display:block;animation:tj-in .45s cubic-bezier(.3,1.4,.5,1)}
@keyframes tj-in{from{opacity:0;translate:0 10px;scale:.97}}
.tj-win b,.tj-close b{display:block;font:800 21px/1.08 var(--disp);letter-spacing:-.03em}
.tj-win p,.tj-close p{margin:7px 0 12px;font-size:14.5px;line-height:1.4;max-width:none}
.tj-close a.tj-alt{display:inline-block;margin:12px 0 0;font:600 14px/1.3 var(--sans);text-underline-offset:4px;color:inherit}
.tj-capped .tj-close,.tj-spent .tj-close{display:block;animation:tj-in .45s cubic-bezier(.3,1.4,.5,1)}
.tj-capped .tj-jobs,.tj-capped .tj-type,.tj-capped .tj-how,.tj-capped .tj-win,.tj-capped .tj-left,.tj-spent .tj-jobs,.tj-spent .tj-type,.tj-spent .tj-how,.tj-spent .tj-win,.tj-spent .tj-left{display:none}
.tj-close .c-spent{display:none}.tj-spent .tj-close .c-spent{display:block}.tj-spent .tj-close .c-cap{display:none}
.tj-fine{margin:auto 0 0;padding-top:8px;font:400 12.5px/1.45 var(--sans);color:var(--mute);max-width:none}
/* The win card sits above the jobs, so it is seen without scrolling the rail. */
.tj-rail h2{order:-3}.tj-rail .tj-win{order:-1}

/* Not drawn: the site's month spent. The drawn lines say "tomorrow", so they stay hidden; a neutral card keeps only
   Book a pilot and the link to the six jobs, and the band keeps its first line. A Fable round decides the words. */
.tj-month .tj-close .c-spent,.tj-month .tj-spent-line{display:none}
.tj-month .tj-band .tj-where{display:block}

@media (max-width:860px){
  .tj-band{flex-wrap:wrap;gap:6px 14px;padding:8px 12px}
  .tj-band p{order:5;flex:1 0 100%;font-size:13px}
  .tj-band p span{display:none}
  .tj-band .wm{margin-right:auto}
  /* The rail becomes a strip under the app: the jobs scroll sideways and the field stays. */
  .tj-rail h2,.tj-how{display:none}
  .tj-jobs{display:flex;overflow-x:auto;gap:8px;margin:0 -12px;padding:0 12px 4px;scroll-snap-type:x mandatory}
  .tj-job{flex:none;width:236px;scroll-snap-align:start;padding:9px 11px}
  .tj-job b{font-size:14px}
  .tj-type{height:42px}
  .tj-fine{margin:0;padding:0;font-size:11.5px}
  .tj-win.on{display:none}
}
@media (prefers-reduced-motion:reduce){.tj-win.on,.tj-capped .tj-close,.tj-spent .tj-close{animation:none}}
