/* Offscript for your role. Step 1 asks the role in a text box; step 2 shows two app screens set up for
   it: Today (the .app-demo styles) and the Team page (the .team-app styles), from styles.css and tactile.css. */

/* Step 1: the question */
.role-ask{grid-template-columns:minmax(0,1fr);gap:28px;align-items:start;padding-bottom:48px;scroll-margin-top:calc(var(--nav-height) + 8px)}
.role-ask h1{margin:0}
.role-form{display:flex;gap:10px;width:min(100%,720px)}
.role-form input{flex:1;min-width:0;min-height:60px;padding:0 22px;border:1px solid var(--edge);border-radius:var(--r-pill);background:#fff;box-shadow:var(--shKeyLo);color:var(--ink);font:500 1.25rem/1.3 var(--site-ui);letter-spacing:-.01em}
.role-form input::placeholder{color:var(--ink4)}
.role-form input:focus{outline:none;border-color:var(--accInk);box-shadow:0 0 0 4px var(--accTint)}
.resource-page .role-form .button{flex-shrink:0;min-height:60px;padding-inline:26px;border-radius:var(--r-pill);gap:14px;font-weight:600}
.role-noscript{margin:0;font-size:1rem;line-height:1.6;color:var(--ink2)}
.role-noscript a{text-decoration:underline;text-underline-offset:4px}

/* Step 2: the role's day */
.role-show{padding:8px 0 40px;scroll-margin-top:calc(var(--nav-height) + 8px);animation:role-in .35s ease-out}
@keyframes role-in{from{opacity:0;translate:0 12px}}
.role-show h2{margin:0 0 36px;font:700 clamp(2rem,4vw,3.4rem)/1.05 var(--site-ui);letter-spacing:-.04em;text-wrap:balance;outline:none}
.role-show h2 span{color:var(--accInk)}
.role-stage-label{display:flex;align-items:baseline;gap:12px;margin:0 0 14px;font:700 clamp(1.4rem,2.2vw,1.8rem)/1.1 var(--site-ui);letter-spacing:-.03em}
.role-stage-label .mono{font:700 clamp(2.4rem,4vw,3.4rem)/.9 var(--site-display);letter-spacing:-.05em;color:var(--accInk)}
#role-today{margin-bottom:56px}
.role-today .app-sources.role-sources{grid-template-columns:minmax(0,1fr)}
.role-today .app-waiting-bar{cursor:default}
.role-today .app-queue{min-height:100%}
.role-today .app-group span:last-child{font-family:var(--site-ui)}
.role-team .ta-open{font:inherit;font-weight:700}
.role-again{margin:28px 0 0}
.role-again a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:var(--r-pill);background:var(--key);box-shadow:var(--shKeyLo);font-weight:600}
.role-again a:hover{box-shadow:var(--shKeyHover);color:var(--accInk)}

@media(max-width:640px){
  .role-form{flex-direction:column}
  .resource-page .role-form .button{justify-content:space-between}
  .role-show h2{margin-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.role-show{animation:none}}
