/* First visit: choose a real activity, without a quiz or a decorative score goal. */
.header-actions{display:flex;align-items:center;gap:14px}.header-help{font-size:.875rem;white-space:nowrap}
.welcome-intro{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:20px;align-items:center;margin:12px 0 27px}
.welcome-intro .label{color:#6346a5;display:block;margin-bottom:13px;font-size:.875rem}.welcome-intro h1{font-size:clamp(2rem,4.7vw,3rem);line-height:1.1;margin:0 0 16px;letter-spacing:-.045em}
.welcome-intro p{color:var(--muted);line-height:1.6;font-size:1rem;max-width:49ch}.welcome-intro img{width:100%;height:auto;max-height:190px;object-fit:contain}.welcome-tour-link{margin-top:7px;font-size:.94rem}
.welcome-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.welcome-choice{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:270px;padding:23px 19px 21px;text-align:left;border:1px solid #e0d8ed;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 5px 18px #3b275609;transition:border-color .16s,transform .16s}
.welcome-choice:hover{border-color:#aa91d7;transform:translateY(-2px)}.welcome-symbol{display:grid;place-items:center;width:45px;height:45px;margin-bottom:20px;border-radius:14px;background:#ede6fa;color:#62459f;font-size:1.35rem;font-weight:650}
.welcome-mocks .welcome-symbol{background:#fff0d9;color:#8f6236;font-size:.875rem}.welcome-essay .welcome-symbol{background:#e6f4ed;color:#2b7654}
.welcome-choice h2{font-size:1.23rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 11px;font-weight:650}.welcome-choice p{font-size:1rem;color:var(--muted);line-height:1.5;margin-bottom:23px}.welcome-action{margin-top:auto;font-size:.875rem;font-weight:600;color:#60449c}
.welcome-tutor{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px;border:1px solid #ded3f1;border-radius:23px;background:#eee8fa;margin-top:20px}.welcome-tutor h2{font-size:1.3rem;line-height:1.3;font-weight:600}.welcome-tutor p{margin-top:8px;color:var(--muted);font-size:1rem;line-height:1.55;max-width:47ch}.welcome-tutor .primary{flex:none}
.welcome-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;color:var(--muted);font-size:.875rem}.welcome-footer .link{font-size:.875rem}
/* Only the surrounding page is darkened. The guide itself is always opaque. */
body.site-tour-open{overflow:hidden}
dialog.site-tour{position:fixed;inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:transparent;color:#292236;overflow:hidden}
dialog.site-tour::backdrop{background:transparent}
.tour-spotlight{position:fixed;pointer-events:none;z-index:1;border:2px solid #c6afff;border-radius:28px;box-shadow:0 0 0 4px #c2a4ff30,0 0 0 150vmax #241933a6}
.tour-card{position:fixed;z-index:2;isolation:isolate;background:#fff;opacity:1;color:#292236;border:1px solid #dfd7ec;border-radius:25px;box-shadow:0 22px 65px #1d102842,0 3px 12px #1d10281f;padding:23px;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:visible}
.tour-card::before{content:'';position:absolute;z-index:-1;top:-8px;left:var(--tour-nib,30px);width:15px;height:15px;transform:rotate(45deg);background:#fff;border-left:1px solid #dfd7ec;border-top:1px solid #dfd7ec}
.tour-card.tour-above::before{top:auto;bottom:-8px;transform:rotate(225deg)}.tour-card.tour-no-arrow::before{display:none}
.tour-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.tour-counter{color:#6447ae;font-size:.875rem;font-weight:700;letter-spacing:.025em}
.tour-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#796d8a;font-size:1.7rem;line-height:1}
.tour-card h2{font-size:1.5rem;font-weight:700;line-height:1.22;letter-spacing:-.035em;margin:0 0 15px}.tour-card>p{font-size:1rem;color:#706580;line-height:1.6;margin:0}
.tour-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.tour-dots{display:flex;align-items:center;gap:5px}.tour-dots i{width:5px;height:5px;border-radius:50%;background:#e7def4}.tour-dots i.current{width:18px;border-radius:8px;background:#6245a5}
.tour-actions{display:flex;align-items:center;gap:9px}.tour-actions .primary{background:#6245a5;font-size:.94rem;padding:11px 15px;min-height:44px}.tour-actions .primary:hover{background:#53398f}.tour-actions .link{padding:10px 0;font-size:.94rem;min-height:44px;color:#6245a5}
.tour-skip{display:block;margin:17px 0 0;padding:4px 0;border:0;background:transparent;color:#796d8a;font-size:.875rem;line-height:1.5;min-height:35px;text-align:left}
.tour-card button:focus-visible{outline:3px solid #9f7dd5;outline-offset:3px}
.site-tour .tour-close,.site-tour .tour-actions button{margin:0}.site-tour .tour-skip{margin:17px 0 0}
.tour-card.tour-scroll{overflow:auto}
@media(max-width:650px){.welcome-intro{grid-template-columns:minmax(0,1fr) 120px;gap:10px}.welcome-choices{grid-template-columns:1fr}.welcome-choice{position:relative;min-height:0;padding:21px 22px 21px 85px}.welcome-symbol{position:absolute;left:21px;top:23px;margin:0}.welcome-choice h2{font-size:1.3rem}.welcome-choice p{margin-bottom:12px}.welcome-tutor{align-items:flex-start;flex-direction:column;gap:16px}.welcome-tutor .primary{width:100%}.welcome-footer{align-items:flex-start;flex-direction:column;gap:0}.header-help{font-size:.875rem;white-space:normal;max-width:100px;text-align:right}.header-actions{gap:8px}}
@media(max-width:400px){.header{flex-wrap:wrap}.header-actions{margin-left:auto}.welcome-intro{grid-template-columns:1fr}.welcome-intro img{display:none}.tour-card{padding:20px}.tour-card h2{font-size:1.4rem}.tour-actions{gap:10px}.tour-controls{gap:12px}.tour-actions .primary{font-size:.875rem;padding:11px 12px}.tour-counter{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.welcome-choice{transition:none}}
