@layer theme,base,components;@layer utilities{.mira-deck{flex-direction:column;gap:.75rem;min-width:0;display:flex}.mira-deck__title{letter-spacing:.01em;color:hsl(var(--muted-foreground));margin:0 0 .1rem;font-size:.8rem;font-weight:600}.mira-deck__cards{grid-template-columns:repeat(auto-fill,minmax(min(228px,100%),1fr));gap:.75rem;min-width:0;display:grid}.mira-card{appearance:none;perspective:1200px;cursor:pointer;text-align:left;border-radius:calc(var(--radius) + .15rem);background:0 0;border:0;min-width:0;min-height:9.75rem;padding:0;animation:.26s cubic-bezier(.22,1,.36,1) both mira-card-enter}.mira-card:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.mira-card__inner{width:100%;height:100%;min-height:9.75rem;transform-style:preserve-3d;transition:transform .22s cubic-bezier(.34,1.36,.64,1);display:block;position:relative}.mira-card[aria-pressed=true] .mira-card__inner{transform:rotateY(180deg)}.mira-card__inner.is-flipping{animation:.22s cubic-bezier(.34,1.36,.64,1) mira-card-apex}.mira-card__face{border-radius:calc(var(--radius) + .15rem);border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--card-foreground));backface-visibility:hidden;overflow-wrap:anywhere;min-width:0;box-shadow:inset 0 1px 0 0 hsl(var(--card-foreground) / .04), 0 1px 2px 0 #0000000f, 0 6px 16px -6px #00000024;flex-direction:column;gap:.4rem;padding:1.05rem 1.15rem;transition:box-shadow .2s,transform .2s,border-color .2s;display:flex;position:absolute;inset:0}.mira-card__front{justify-content:flex-start}.mira-card__back{background:hsl(var(--muted));border-color:hsl(var(--border));justify-content:flex-start;animation:90ms linear .13s both mira-card-back-in;transform:rotateY(180deg)}.mira-card[aria-pressed=false] .mira-card__back{animation:none}@media (hover:hover){.mira-card{transition:transform .2s cubic-bezier(.22,1,.36,1)}.mira-card:hover{transform:translateY(-3px)}.mira-card:hover .mira-card__face{border-color:hsl(var(--ring) / .5);box-shadow:inset 0 1px 0 0 hsl(var(--card-foreground) / .05), 0 2px 4px 0 #00000014, 0 14px 28px -8px #0000003d}}.mira-card__term{letter-spacing:-.01em;color:hsl(var(--foreground));font-size:1.08rem;font-weight:650;line-height:1.2}.mira-card__hint{letter-spacing:.03em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin-top:auto;font-size:.68rem;font-weight:500}.mira-card__gloss{color:hsl(var(--foreground));font-size:.92rem;line-height:1.4}.mira-card__phonetic{color:hsl(var(--foreground) / .78);font-size:.8rem;font-style:italic}.mira-card__note{color:hsl(var(--foreground) / .72);border-top:1px solid hsl(var(--foreground) / .16);margin-top:auto;padding-top:.4rem;font-size:.76rem;line-height:1.35}@keyframes mira-card-apex{0%{transform:scale(1)}50%{transform:scale(1.035)}to{transform:scale(1)}}@keyframes mira-card-enter{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes mira-card-back-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.mira-card{animation:.18s ease-out both mira-card-fade}.mira-card__inner,.mira-card__inner.is-flipping{transition:none;animation:none;transform:none}.mira-card__face{transition:opacity .18s ease-out}.mira-card,.mira-card:hover{transition:none;transform:none}.mira-card__back{opacity:0;pointer-events:none;animation:none;transform:none}.mira-card[aria-pressed=true] .mira-card__front{opacity:0;pointer-events:none}.mira-card[aria-pressed=true] .mira-card__back{opacity:1;pointer-events:auto}@keyframes mira-card-fade{0%{opacity:0}to{opacity:1}}}.mira-deck__disclosure>summary.mira-deck__summary{cursor:pointer;border:1px solid hsl(var(--input));background:hsl(var(--surface));border-radius:.65rem;justify-content:space-between;align-items:center;gap:.75rem;min-height:44px;padding:.65rem .85rem;list-style:none;display:flex}.mira-deck__disclosure>summary.mira-deck__summary::-webkit-details-marker{display:none}.mira-deck__summary .mira-deck__count{color:hsl(var(--muted-foreground));white-space:nowrap;font-size:.8125rem}.mira-deck__disclosure[open]>summary.mira-deck__summary{margin-bottom:.5rem}.mira-deck__summary:hover{background:hsl(var(--secondary))}.mira-deck__summary:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.mira-deck__title{overflow-wrap:anywhere;flex:1;min-width:0}.mira-deck__toggle{align-items:center;gap:.3rem;font-size:.8rem;display:flex}.mira-deck__disclosure[open] .mira-deck__show,.mira-deck__disclosure:not([open]) .mira-deck__hide{display:none}.mira-deck__disclosure[open] .mira-deck__toggle svg{transform:rotate(180deg)}.mira-quiz{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) + .15rem);background:hsl(var(--card));color:hsl(var(--card-foreground));box-shadow:inset 0 1px 0 0 hsl(var(--card-foreground) / .04), 0 1px 2px 0 #0000000f, 0 6px 16px -6px #00000024;flex-direction:column;gap:.85rem;min-width:0;padding:1.1rem 1.15rem;display:flex}.mira-quiz__prompt{align-items:baseline;gap:.5rem;min-width:0;display:flex}.mira-quiz__again{text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));border-radius:999px;flex:none;padding:.08rem .45rem;font-size:.62rem;font-weight:600}.mira-quiz__question{letter-spacing:-.005em;color:hsl(var(--foreground));overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:600;line-height:1.35}.mira-quiz__options{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.mira-quiz__letter{min-width:1.4em;color:hsl(var(--muted-foreground));margin-right:.15em;font-weight:700;display:inline-block}.mira-quiz__option{text-align:left;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - .05rem);background:hsl(var(--card));width:100%;color:hsl(var(--foreground));cursor:pointer;overflow-wrap:anywhere;min-width:0;padding:.65rem .85rem;font-size:.9rem;line-height:1.3;transition:background .12s,border-color .12s,transform .12s}@media (hover:hover){.mira-quiz__option:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-color:hsl(var(--ring) / .5)}}.mira-quiz__option:active{transform:translateY(1px)}.mira-quiz__option:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.mira-quiz__recall{gap:.5rem;min-width:0;display:flex}.mira-quiz__input{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - .05rem);background:hsl(var(--input) / .5);min-width:0;color:hsl(var(--foreground));flex:auto;padding:.6rem .75rem;font-size:.9rem}.mira-quiz__input:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px;border-color:hsl(var(--ring) / .6)}.mira-quiz__submit{border:1.5px solid hsl(var(--ink));color:hsl(var(--ink));cursor:pointer;background:0 0;border-radius:.55rem;flex:none;padding:.6rem 1rem;font-size:.85rem;font-weight:600;transition:filter .12s,transform .12s}.mira-quiz__submit:hover:not(:disabled){background:hsl(var(--ink));color:hsl(var(--background))}.mira-quiz__submit:active{transform:translateY(1px)}.mira-quiz__feedback{border-radius:calc(var(--radius) - .1rem);margin:0;padding:.55rem .75rem;font-size:.9rem;font-weight:500;animation:.14s ease-out both mira-quiz-feedback-in}.mira-quiz__feedback.is-correct{color:hsl(var(--success-foreground));background:hsl(var(--success))}.mira-quiz__feedback.is-miss{color:hsl(var(--foreground));background:hsl(var(--destructive) / .12);border:1px solid hsl(var(--destructive) / .45)}.mira-quiz__feedback.is-miss strong{color:hsl(var(--foreground))}.mira-quiz__endcap{color:hsl(var(--foreground));margin:0;font-size:1rem}.mira-quiz__carry{color:hsl(var(--muted-foreground));margin:0;font-size:.82rem;line-height:1.35}.mira-quiz__progress{letter-spacing:.03em;font-variant-numeric:tabular-nums;color:hsl(var(--muted-foreground));align-self:flex-end;margin:.15rem 0 0;font-size:.72rem;font-weight:600}.mira-quiz__hold{flex-direction:column;gap:.6rem;animation:.14s ease-out both mira-quiz-feedback-in;display:flex}.mira-quiz__options--frozen{pointer-events:none}.mira-quiz__frozen-option{text-align:left;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - .05rem);background:hsl(var(--card));width:100%;color:hsl(var(--foreground));overflow-wrap:anywhere;padding:.65rem .85rem;font-size:.9rem;line-height:1.3;display:block}.mira-quiz__frozen-option.is-correct{border-color:hsl(var(--success));background:hsl(var(--success) / .16);color:hsl(var(--foreground));font-weight:600}.mira-quiz__frozen-option.is-chosen-wrong{border-color:hsl(var(--destructive));background:hsl(var(--destructive) / .14);color:hsl(var(--foreground));text-decoration:line-through;-webkit-text-decoration-color:hsl(var(--destructive));text-decoration-color:hsl(var(--destructive))}.mira-quiz__yours{color:hsl(var(--foreground));margin:0;font-size:.9rem}.mira-quiz__yours .is-chosen-wrong{color:hsl(var(--destructive));text-decoration:line-through;-webkit-text-decoration-color:hsl(var(--destructive) / .6);text-decoration-color:hsl(var(--destructive) / .6)}.mira-quiz__next,.mira-quiz__retake{border:1.5px solid hsl(var(--ink));color:hsl(var(--ink));cursor:pointer;background:0 0;border-radius:.55rem;align-self:flex-start;padding:.6rem 1.1rem;font-size:.85rem;font-weight:600;transition:filter .12s,transform .12s}.mira-quiz__retake{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border:1px solid hsl(var(--border));margin-top:.3rem}.mira-quiz__next:hover,.mira-quiz__retake:hover{background:hsl(var(--ink));color:hsl(var(--background))}.mira-quiz__next:active,.mira-quiz__retake:active{transform:translateY(1px)}.mira-quiz__next:focus-visible,.mira-quiz__retake:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}@keyframes mira-quiz-feedback-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.mira-quiz__feedback,.mira-quiz__hold{animation:none}.mira-quiz__option,.mira-quiz__submit,.mira-quiz__next,.mira-quiz__retake{transition:none}.mira-quiz__option:active,.mira-quiz__submit:active,.mira-quiz__next:active,.mira-quiz__retake:active{transform:none}}.mira-activity-mark{width:38px;height:38px;color:hsl(var(--primary));flex:0 0 38px;justify-content:center;align-items:center;display:inline-flex}.mira-activity-mark svg{width:34px;height:34px;overflow:visible}.mira-ily{transform-origin:50% 62%;animation:3.2s ease-in-out infinite mira-ily-turn}.mira-ink{stroke-dasharray:1;stroke-dashoffset:1px;animation:2.4s ease-in-out infinite mira-ink-write}.mira-pen{animation:2.4s ease-in-out infinite mira-pen-write}@keyframes mira-ily-turn{0%,to{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}@keyframes mira-ink-write{0%,8%{stroke-dashoffset:1px;opacity:1}72%,86%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes mira-pen-write{0%,8%{transform:translate(-5px,5px)}26%{transform:translate(2px,1px)}42%{transform:translate(7px,6px)}57%{transform:translate(13px)}72%,86%{opacity:1;transform:translate(21px,3px)}to{opacity:0;transform:translate(21px,-3px)}}@media (prefers-reduced-motion:reduce){.mira-ily,.mira-pen,.mira-ink{animation:none}.mira-ink{stroke-dashoffset:0}}.library-page{width:100%}.library-page h1{font-family:var(--font-display);font-optical-sizing:auto;letter-spacing:-.02em;margin:0;font-size:clamp(2.05rem,4.3vw,2.9rem);font-weight:400;line-height:1.1}.library-page h1:focus{outline:none}.library-search{border:1px solid hsl(var(--input));background:hsl(var(--background));width:100%;min-height:48px;font:inherit;color:hsl(var(--foreground));border-radius:.75rem;margin:1.5rem 0 0;padding:.5rem .95rem;font-size:.95rem;display:block}.library-search:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px}.library-pill{border:1px solid hsl(var(--input));background:hsl(var(--surface));min-height:44px;color:hsl(var(--foreground));font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.5rem 1.25rem;font-size:.9rem;font-weight:500;display:inline-flex}.library-pill:hover{background:hsl(var(--secondary));border-color:hsl(var(--primary))}.library-pill:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.library-group{margin-top:1.75rem;animation:.36s cubic-bezier(.16,1,.3,1) both library-rise}.library-group:nth-child(2){animation-delay:40ms}.library-group:nth-child(3){animation-delay:80ms}.library-group:nth-child(4){animation-delay:.12s}.library-group:nth-child(n+5){animation-delay:.16s}.library-client{letter-spacing:-.02em;color:hsl(var(--foreground));overflow-wrap:anywhere;justify-content:space-between;align-items:baseline;gap:.75rem;margin:0 0 .6rem;font-size:1.2rem;font-weight:600;line-height:1.3;display:flex}.library-client small{color:hsl(var(--muted-foreground));background:hsl(var(--secondary));border-radius:999px;flex-shrink:0;padding:.15rem .6rem;font-size:.78rem;font-weight:600}.library-segments+.library-list,.library-segments~.library-list{margin-top:1.5rem}.library-list{border:1px solid hsl(var(--border));background:hsl(var(--surface));border-radius:1rem;overflow:hidden}.library-list>*+*{border-top:1px solid hsl(var(--border))}.library-list>.journey-saved-item{align-items:center;gap:.25rem;padding-right:.35rem;display:flex}.library-list>.journey-saved-item>.library-row{flex:1;min-width:0}.library-row{width:100%;min-height:72px;color:hsl(var(--foreground));font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.1rem;transition:background .18s;display:flex}.library-row:hover{background:hsl(var(--secondary) / .6)}.library-row:hover>svg{color:hsl(var(--primary));transform:translate(3px)}.library-row[aria-expanded=true]:hover>svg{transform:rotate(90deg)}.library-row:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.library-row>span{flex:1;min-width:0}.library-row strong{overflow-wrap:anywhere;font-size:1.03rem;font-weight:600;line-height:1.4;display:block}.library-row small{color:hsl(var(--muted-foreground));margin-top:.2rem;font-size:.87rem;line-height:1.5;display:block}.library-row>svg{color:hsl(var(--muted-foreground));flex-shrink:0;transition:transform .2s}.library-row[aria-expanded=true]>svg{transform:rotate(90deg)}.library-detail{background:hsl(var(--background) / .6);gap:.85rem;padding:.25rem 1.1rem 1.25rem;animation:.28s cubic-bezier(.16,1,.3,1) both library-rise;display:grid}.library-detail p{margin:0;font-size:.95rem;line-height:1.55}.library-cues{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.library-cues li{border:1px solid hsl(var(--border));background:hsl(var(--surface));border-radius:.75rem;gap:.15rem;padding:.65rem .85rem;font-size:.93rem;line-height:1.45;display:grid}.library-kind{letter-spacing:.08em;text-transform:uppercase;color:hsl(var(--muted-foreground));font-size:.7rem;font-weight:600}.library-notes{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.library-notes li{color:hsl(var(--muted-foreground));font-size:.93rem;line-height:1.5}.library-segments{background:hsl(var(--secondary) / .6);border-radius:999px;gap:.25rem;margin-top:1.5rem;padding:.2rem;display:inline-flex}.library-segment{min-height:40px;font:inherit;color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.35rem 1rem;font-size:.9rem;font-weight:500}.library-segment:hover{color:hsl(var(--foreground))}.library-segment[aria-pressed=true]{background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:0 1px 2px #00000014}.library-segment:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.library-note{color:hsl(var(--muted-foreground));margin:.75rem 0 0;font-size:.9rem;line-height:1.5}.library-tags{flex-wrap:wrap;gap:.35rem;margin-top:.2rem;display:flex}.library-tag{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--muted-foreground));border-radius:999px;align-items:center;padding:.15rem .6rem;font-size:.78rem;display:inline-flex}.library-empty{color:hsl(var(--muted-foreground));margin:1.5rem 0 0;font-size:1rem;line-height:1.6}.library-block{justify-items:start;gap:.45rem;display:grid}.library-label,.library-detail p.library-label{letter-spacing:.12em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:.25rem 0 .45rem;font-size:.7rem;font-weight:600}.library-textbutton{min-height:36px;font:inherit;color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;align-items:center;gap:.3rem;padding:.25rem 0;font-size:.9rem;font-weight:500;transition:color .15s;display:inline-flex}.library-textbutton:hover{color:hsl(var(--foreground))}.library-textbutton:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px;border-radius:.4rem}.library-textbutton>svg{transition:transform .2s}.library-textbutton[aria-expanded=true]>svg{transform:rotate(90deg)}.library-record{gap:.5rem;width:100%;margin:0;animation:.28s cubic-bezier(.16,1,.3,1) both library-rise;display:grid}.library-record div{border:1px solid hsl(var(--border) / .7);background:hsl(var(--surface));border-radius:.75rem;padding:.55rem .8rem}.library-record dt{letter-spacing:.06em;text-transform:uppercase;color:hsl(var(--muted-foreground));font-size:.7rem;font-weight:600}.library-record dd{overflow-wrap:anywhere;margin:.15rem 0 0;font-size:.92rem;line-height:1.45}.library-export-menu{max-width:18rem}.library-export-note{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));margin:.25rem 0 0;padding:.55rem .75rem .45rem;font-size:.8rem;line-height:1.45}.library-fade{animation:.3s both library-fade}@keyframes library-fade{0%{opacity:0}to{opacity:1}}.library-searchrow{align-items:center;gap:1rem;margin-top:1.5rem;display:flex}.library-searchrow>.library-search{flex:1;min-width:0;margin:0}.library-count{color:hsl(var(--muted-foreground));white-space:nowrap;flex-shrink:0;font-size:.87rem}.library-chips{scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:.4rem;margin-top:.9rem;padding:.1rem;display:flex;overflow-x:auto}.library-chips::-webkit-scrollbar{display:none}.library-chip{border:1px solid hsl(var(--border));background:hsl(var(--secondary) / .6);min-height:40px;font:inherit;color:hsl(var(--muted-foreground));cursor:pointer;white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:.45rem;padding:.35rem .95rem;font-size:.88rem;font-weight:500;transition:background .18s,color .18s,box-shadow .18s;display:inline-flex}.library-chip>span{opacity:.75;font-size:.78rem;font-weight:600}.library-chip:hover{color:hsl(var(--foreground))}.library-chip[aria-pressed=true]{background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:0 1px 2px #00000014}.library-chip:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.library-terms{margin-top:1rem;overflow:clip}.library-terms ul{margin:0;padding:0;list-style:none}.library-letter{z-index:1;letter-spacing:.08em;color:hsl(var(--muted-foreground));background:hsl(var(--secondary));border-bottom:1px solid hsl(var(--border));margin:0;padding:.35rem 1.1rem;font-size:.75rem;font-weight:600;position:sticky;top:0}.library-term{gap:.25rem;padding:.9rem 1.1rem;display:grid}.library-term+.library-term{border-top:1px solid hsl(var(--border))}.library-term strong{font-size:1rem;font-weight:600}.library-term span{font-size:.93rem;line-height:1.5}.library-more{justify-content:center;margin-top:1rem;display:flex}.library-skeleton{gap:.75rem;margin-top:1.5rem;display:grid}.library-skeleton>span{background:linear-gradient(90deg, hsl(var(--secondary) / .5), hsl(var(--secondary)), hsl(var(--secondary) / .5));background-size:200% 100%;border-radius:1rem;height:72px;animation:1.4s ease-in-out infinite library-shimmer;display:block}.library-enter{animation:.32s cubic-bezier(.16,1,.3,1) both library-rise}@keyframes library-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes library-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.library-group,.library-detail,.library-record,.library-enter,.library-fade,.library-skeleton>span{animation:none}.library-row,.library-row>svg,.library-textbutton,.library-textbutton>svg,.library-chip{transition:none}}@media (width<=600px){.library-row{padding:.85rem .9rem}.library-term,.library-letter{padding-inline:.9rem}.library-segments{width:100%}.library-segment{flex:1;padding-inline:.4rem}}.workspace-shell.journey-workspace{--background:40 33% 97%;--foreground:167 24% 19%;--surface:45 50% 99%;--surface-elevated:45 50% 99%;--primary:163 38% 25%;--primary-foreground:0 0% 100%;--secondary:155 20% 92%;--secondary-foreground:167 24% 19%;--muted-foreground:154 8% 35%;--border:120 9% 84%;--input:120 9% 74%;--ring:163 38% 25%;font-family:Instrument Sans Variable,sans-serif}.journey-workspace .workspace-main-surface{box-shadow:none;background:hsl(var(--background));border-radius:0}.journey-shell{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.journey-topbar{flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem clamp(1rem,4vw,3rem);display:flex}.journey-brand{letter-spacing:-.035em;font-size:1.05rem;font-weight:600}.journey-entry{width:100%;max-width:760px;margin:auto;padding:clamp(1.5rem,4vw,3rem);animation:.32s cubic-bezier(.16,1,.3,1) both journey-screen-in;overflow-y:auto}.journey-entry--list{margin:0 auto}@keyframes journey-screen-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.journey-account-menu{transform-origin:100% 0;border-radius:.9rem;min-width:11rem;padding:.35rem;animation:.15s cubic-bezier(.16,1,.3,1) both account-menu-pop}.journey-account-menu [role=menuitem]{cursor:pointer;border-radius:.6rem;padding:.55rem .75rem;font-size:.92rem;transition:background .15s,transform .15s}.journey-account-menu [role=menuitem]:hover,.journey-account-menu [role=menuitem][data-highlighted]{background:hsl(var(--secondary));transform:translate(2px)}@media (prefers-reduced-motion:reduce){.journey-entry,.journey-account-menu{animation:none}}.journey-eyebrow{color:hsl(var(--muted-foreground));letter-spacing:.14em;margin-bottom:1rem;font-size:.7rem;font-weight:600}.journey-entry h1{font-family:var(--font-display);font-optical-sizing:auto;letter-spacing:-.02em;font-size:clamp(2.05rem,4.3vw,2.9rem);font-weight:400;line-height:1.1}.journey-intro{color:hsl(var(--muted-foreground));margin:1rem 0 1.75rem;font-size:1rem;line-height:1.6}.journey-choices{gap:.75rem;display:grid}.journey-choice{background:hsl(var(--surface));white-space:normal;text-align:left;width:100%;height:auto;min-height:94px;box-shadow:none;border-radius:1rem;justify-content:start;gap:1.2rem;padding:1.15rem 1.4rem;display:flex}.journey-choice:hover{border-color:hsl(var(--primary));background:hsl(var(--secondary))}.journey-choice>svg{flex-shrink:0;width:21px}.journey-choice>svg:last-child{width:17px;margin-left:auto}.journey-choice>span,.journey-saved-row>span{min-width:0}.journey-choice strong,.journey-saved-row strong{overflow-wrap:anywhere;font-size:1.03rem;font-weight:600;line-height:1.4;display:block}.journey-choice small,.journey-saved-row small{color:hsl(var(--muted-foreground));margin-top:.25rem;font-size:.87rem;font-weight:400;line-height:1.5;display:block}.journey-new{gap:2rem;min-height:48px;margin-bottom:1.5rem}.journey-search{min-height:48px;margin-bottom:.75rem}.journey-saved-row{text-align:left;white-space:normal;border:0;border-bottom:1px solid hsl(var(--border));width:100%;height:auto;min-height:72px;color:hsl(var(--foreground));font:inherit;cursor:pointer;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem .25rem;display:flex}.journey-saved-row:hover{background:hsl(var(--secondary) / .5)}.journey-saved-row:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px;border-radius:.5rem}.journey-saved-row svg{color:hsl(var(--muted-foreground));flex-shrink:0}.journey-archived-toggle{min-height:44px;color:hsl(var(--muted-foreground));border-radius:999px;margin-top:1.25rem}.journey-context{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;flex-shrink:0;align-items:center;gap:1rem;padding:1rem clamp(1rem,4vw,3rem);display:flex}.journey-identity{flex:1;min-width:0;margin:0}.journey-identity>p:first-child{letter-spacing:.13em;margin-bottom:.4rem;font-size:.65rem}.journey-identity h1{letter-spacing:-.025em;overflow-wrap:anywhere;font-size:clamp(1.25rem,3vw,1.8rem);font-weight:500}.journey-work{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.journey-conversation{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.journey-tools{flex:1;min-height:0;padding:1.5rem;overflow-y:auto}.journey-tools>.assignment-flow{background:0 0;border:0;max-width:780px;margin:auto}.journey-resource-bar{border-bottom:1px solid hsl(var(--border));justify-content:flex-end;gap:.5rem;padding:.5rem 1rem;display:flex}.journey-conversation .nature-start-point{max-width:760px;margin:auto;padding:clamp(1.5rem,5vh,3rem) 0}.journey-conversation .nature-start-point h2{letter-spacing:-.03em;margin-bottom:.75rem;font-size:1.75rem;font-weight:500}.journey-conversation .nature-start-point p{color:hsl(var(--muted-foreground));line-height:1.6}@media (width<=600px){.journey-topbar{padding:.5rem}.journey-entry{padding:1.25rem}.journey-choice{gap:.75rem;padding:1rem}.journey-choice small{font-size:.82rem}.journey-tools{padding:.75rem}}.journey-shell h1:focus{outline:none}.journey-tools[hidden],.journey-workspace:before,.journey-workspace:after{display:none}.journey-workspace .workspace-main-surface{background:hsl(var(--background))}html:not(.light):not(.theme-readiness) .workspace-shell.journey-workspace{--background:166 20% 10%;--foreground:45 30% 94%;--surface:165 18% 13%;--surface-elevated:165 18% 16%;--primary:150 28% 73%;--primary-foreground:165 25% 12%;--secondary:165 15% 20%;--secondary-foreground:45 30% 94%;--muted-foreground:150 12% 73%;--border:160 12% 30%;--input:160 12% 40%;--ring:150 28% 73%}.journey-saved-item{align-items:center;gap:.5rem;min-width:0;display:flex}.journey-saved-item>.journey-saved-row{flex:1;min-width:0}.journey-choices{margin-top:2rem}.journey-progress{justify-content:space-between;align-items:center;gap:1rem;margin:0 0 0 auto;display:flex}.journey-progress p{color:hsl(var(--muted-foreground));font-size:.9rem}.journey-progress button{white-space:normal;border-radius:999px;gap:.5rem;min-height:44px;font-size:.85rem}@media (width<=600px){.journey-context{gap:.75rem;padding:.75rem}.journey-progress{gap:.5rem;margin-left:auto}.journey-progress p{font-size:.8rem}}.journey-account{background:hsl(var(--surface));border-color:hsl(var(--input));border-radius:999px;min-height:44px;padding-inline:1.25rem}.journey-home{background:hsl(var(--surface));border-color:hsl(var(--input));border-radius:999px;gap:.5rem;min-height:44px;padding-inline:1rem}.journey-conversation .nature-start-point .journey-mira-label{color:hsl(var(--primary));margin-bottom:.75rem;font-size:.85rem;font-weight:600}.journey-composer textarea{min-height:7rem}.journey-context>[role=alert]{flex-basis:100%}@media (width<=600px){.journey-context{grid-template-columns:auto minmax(0,1fr);display:grid}.journey-progress{justify-content:flex-end}.journey-identity+.journey-progress{grid-column:1/-1;width:100%}.journey-context>[role=alert]{grid-column:1/-1}}.journey-conversation [data-testid=conversation-message][data-message-role=user]{box-shadow:none;border:0;border-left:2px solid hsl(var(--border));background:hsl(var(--secondary) / .45);background:hsl(var(--primary) / .16);border-left:0;border:1px solid hsl(var(--primary) / .28);border-radius:1rem 1rem .35rem}.prep-progress-bar{background:hsl(var(--primary) / .18);border:1px solid hsl(var(--primary) / .3);border-radius:999px;width:8rem;height:.6rem;display:inline-block;overflow:hidden}.prep-progress-bar>span{background:hsl(var(--primary));border-radius:999px;height:100%;transition:width .4s;display:block}.prep-check{border:1px solid hsl(var(--border));border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.15rem;height:1.15rem;display:inline-flex}.prep-check-have{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.prep-check-skipped{background:hsl(var(--secondary));color:hsl(var(--muted-foreground))}.prep-check-missing{color:hsl(var(--foreground));border-color:hsl(var(--primary) / .5)}.journey-progress button{color:hsl(var(--ink));border:1.5px solid hsl(var(--ink));background:0 0;border-radius:.55rem}.journey-progress button:hover:not(:disabled){background:hsl(var(--ink));color:hsl(var(--background))}.journey-progress button:disabled{opacity:.55}.review-screen .journey-mira-label{color:hsl(var(--primary));font-size:.85rem;font-weight:600}.journey-fade{pointer-events:none;background:linear-gradient(to bottom, hsl(var(--background) / 0), hsl(var(--background) / .85) 65%, hsl(var(--background)));height:3.5rem;position:absolute;bottom:100%;left:0;right:0}.prep-float{justify-content:center;margin-bottom:.5rem;font-size:.875rem;display:flex;position:relative}.prep-pill{text-align:left;background:linear-gradient(135deg, hsl(var(--surface) / .72), hsl(var(--surface) / .45));-webkit-backdrop-filter:blur(18px)saturate(170%);backdrop-filter:blur(18px)saturate(170%);border:1px solid hsl(var(--border) / .55);border-radius:999px;flex-wrap:wrap;align-items:center;gap:.3rem .7rem;max-width:100%;padding:.4rem .6rem .4rem .8rem;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s;display:inline-flex;box-shadow:inset 0 1px #ffffff38,0 10px 28px -14px #0e152573}.prep-pill:hover{transform:translateY(-1px);box-shadow:inset 0 1px #ffffff42,0 14px 32px -14px #0e152580}.prep-pill:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.prep-dots{gap:3px;display:inline-flex}.prep-dot{border:1.5px solid hsl(var(--primary) / .45);border-radius:999px;flex:none;justify-content:center;align-items:center;width:.95rem;height:.95rem;font-size:.6rem;font-weight:700;line-height:1;transition:background .3s,border-color .3s,transform .3s cubic-bezier(.2,.9,.25,1.3);display:inline-flex}.prep-dot-have{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.prep-dot-skipped{background:hsl(var(--secondary));border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.prep-dot-two{color:#9b5608;background:#f59f0a2e;border-color:#dc8f09}.prep-pill-count{font-variant-numeric:tabular-nums;font-weight:500}.prep-pill-next{color:hsl(var(--muted-foreground));align-items:center;gap:.35rem;display:inline-flex}.prep-pill-chev{color:hsl(var(--muted-foreground))}@media (width<=600px){.prep-dots{display:none}}.prep-pill-note{color:hsl(var(--muted-foreground))}.prep-pill-action{color:hsl(var(--muted-foreground));align-items:center;gap:.25rem;font-size:.75rem;display:inline-flex}.prep-pop{z-index:30;overscroll-behavior:contain;background:linear-gradient(160deg, hsl(var(--surface) / .78), hsl(var(--surface) / .58));-webkit-backdrop-filter:blur(28px)saturate(180%);backdrop-filter:blur(28px)saturate(180%);border:1px solid hsl(var(--border) / .5);transform-origin:bottom;opacity:0;visibility:hidden;filter:blur(2px);border-radius:1.25rem;width:min(100%,36rem);max-height:min(62vh,36rem);margin-left:calc(min(100%,36rem)/-2);transition:opacity .2s,transform .28s cubic-bezier(.2,.9,.25,1.05),filter .2s,visibility 0s linear .28s;position:absolute;bottom:calc(100% + .6rem);left:50%;overflow:auto;transform:translateY(10px)scale(.96);box-shadow:inset 0 1px #ffffff40,inset 0 0 0 1px #ffffff0a,0 30px 70px -24px #0b111e8c}.prep-pop[data-open=true]{opacity:1;visibility:visible;filter:none;transition:opacity .22s,transform .32s cubic-bezier(.2,.9,.25,1.05),filter .22s,visibility;transform:none}.prep-pop-head{z-index:1;background:linear-gradient(to bottom, hsl(var(--surface) / .9), hsl(var(--surface) / 0));align-items:center;gap:.6rem;padding:.7rem .8rem .5rem 1rem;display:flex;position:sticky;top:0}.prep-pop-head .prep-progress-bar{width:4.5rem;height:.45rem}.prep-pop-close{width:1.75rem;height:1.75rem;color:hsl(var(--muted-foreground));border-radius:999px;justify-content:center;align-items:center;margin-left:auto;transition:background .15s,color .15s;display:inline-flex}.prep-pop-close:hover{background:hsl(var(--foreground) / .08);color:hsl(var(--foreground))}.prep-pop .prep-detail{border-radius:.6rem;padding:.4rem .25rem}.prep-pop .prep-detail+.prep-detail{border-top:1px solid hsl(var(--border) / .35)}@media (prefers-reduced-motion:reduce){.prep-pop,.prep-pop[data-open=true],.prep-pill{filter:none;transition:none}}.journey-identity h1{letter-spacing:-.02em;font-size:1.35rem;font-weight:600;line-height:1.2}.journey-identity p{color:hsl(var(--muted-foreground));margin-top:.15rem;font-size:.9rem}.journey-progress{justify-content:flex-end;gap:.5rem}.journey-confirm{background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:999px;align-items:center;gap:.5rem;padding:.3rem .3rem .3rem .8rem;font-size:.9rem;display:inline-flex}.journey-progress .journey-stepback{background:hsl(var(--surface));color:hsl(var(--foreground));border:1px solid hsl(var(--border));box-shadow:none}.journey-progress .journey-stepback:hover{background:hsl(var(--secondary));border-color:hsl(var(--input))}.library-row>span.journey-stage{flex:none;min-width:0}.journey-stage{white-space:nowrap;border:1px solid #0000;border-radius:999px;flex-shrink:0;align-items:center;gap:.4rem;margin-left:auto;padding:.25rem .7rem;font-size:.78rem;font-weight:600;line-height:1.2;transition:transform .15s;display:inline-flex}.journey-stage>span[aria-hidden]{background:currentColor;border-radius:999px;width:.45rem;height:.45rem}.journey-stage--prep{color:#206f4a;background:#dff6e9;border-color:#b8e0cb}.journey-stage--live{color:#b42222;background:#fde7e7;border-color:#f4c2c2}.journey-stage--live>span[aria-hidden]{animation:1.8s ease-in-out infinite journey-stage-pulse}.journey-stage--debrief{color:#a52766;background:#fce8f2;border-color:#f1c6db}.library-row:hover .journey-stage{transform:translate(-2px)}@keyframes journey-stage-pulse{0%,to{opacity:1}50%{opacity:.35}}html:not(.light):not(.theme-readiness) .journey-stage--prep{color:#94dbb2;background:#1b3729;border-color:#2e5642}html:not(.light):not(.theme-readiness) .journey-stage--live{color:#f39191;background:#401c1c;border-color:#673232}html:not(.light):not(.theme-readiness) .journey-stage--debrief{color:#eea0c7;background:#3e1e2e;border-color:#63364d}@media (prefers-reduced-motion:reduce){.journey-stage--live>span[aria-hidden]{animation:none}.journey-stage{transition:none}}@media (width<=600px){.journey-stage{padding:.2rem .55rem;font-size:.72rem}}.journey-identity h1{font-family:var(--font-display);font-optical-sizing:auto;letter-spacing:-.015em;font-weight:450}.journey-brand{letter-spacing:-.01em;font-family:var(--font-display)!important;font-size:1.3rem!important;font-weight:500!important}.prep-checklist-values{overscroll-behavior:contain;max-height:min(32vh,22rem);overflow-y:auto}.prep-value{overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;line-height:1.4;display:-webkit-box;overflow:hidden}.prep-tag{background:hsl(var(--secondary));color:hsl(var(--muted-foreground));border-radius:999px;padding:.05rem .4rem;font-size:.7rem;line-height:1.2}.prep-tag-warn{color:#81440e;background:#fdecce}.prep-check-two{color:#81440e;background:#fdecce;border-color:#ebaf47;font-size:.7rem;font-weight:700}.prep-edit{border:1px solid hsl(var(--border));color:hsl(var(--foreground));cursor:pointer;background:0 0;border-radius:.4rem;align-items:center;gap:.25rem;padding:.1rem .45rem;font-size:.75rem;display:inline-flex}.prep-edit:hover:not(:disabled){border-color:hsl(var(--ink))}.prep-edit-save{border-color:hsl(var(--ink));font-weight:600}.prep-edit-save:hover:not(:disabled){background:hsl(var(--ink));color:hsl(var(--background))}.prep-edit-input{width:100%;font:inherit;border:1px solid hsl(var(--border));background:hsl(var(--background));resize:vertical;border-radius:.45rem;padding:.35rem .5rem;font-size:.875rem}.prep-edit-input:focus{outline:2px solid hsl(var(--ink) / .5);outline-offset:1px}.journey-home-title>span{display:block}.journey-home-title .journey-home-sub{color:hsl(var(--muted-foreground))}.journey-choices .journey-choice.journey-choice--primary{border:1.5px solid hsl(var(--ink));background:hsl(var(--surface));min-height:104px;box-shadow:0 10px 30px -18px #0e152559}.journey-choice--primary strong{font-size:1.12rem}.journey-choice:not(.journey-choice--primary){background:hsl(var(--surface) / .55);border-color:hsl(var(--border) / .7);min-height:72px}.journey-choice:not(.journey-choice--primary) strong{font-weight:500}.journey-choices .journey-choice{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.journey-choices .journey-choice:hover{border-color:hsl(var(--primary));background:hsl(var(--secondary));transform:translateY(-1px)}.journey-choices .journey-choice.journey-choice--primary:hover{border-color:hsl(var(--ink));background:hsl(var(--secondary));box-shadow:0 16px 36px -18px #0e152573}.journey-choices .journey-choice:active{transform:translateY(0)}@media (prefers-reduced-motion:reduce){.journey-choices .journey-choice{transition:none}.journey-choices .journey-choice:hover{transform:none}}}
