/* AxioraX New: Axio Tutor (js/tutor.js), interactive courses with a live voice tutor, in the app's green and gold.
   Every rule sits under .tut (Tailored for You, the course page, the end of a session and the tutor's sheets) or
   .tut-live (the voice session), so no approved screen is touched. Logical sides throughout, so Arabic mirrors by itself. */

/* ---------- Tailored for You: the suggestions, the member's tutor courses, today's allowance ---------- */
.tut .tut-lab{display:flex;align-items:center;gap:7px}
.tut .tut-lab svg{flex:none}
.tut .tut-sugs{display:flex;flex-direction:column;gap:12px}
.tut .tut-sug{display:grid;grid-template-columns:52px minmax(0,1fr) auto;column-gap:14px;align-items:start;width:100%;padding:15px 12px 15px 15px;text-align:start;color:var(--ink);border-radius:24px;transition:transform .15s}
html[dir=rtl] .tut .tut-sug{padding:15px 15px 15px 12px}
.tut .tut-sug:active{transform:scale(.985)}
.tut .tut-sug.live{background:linear-gradient(160deg,#EEF6F0 0%,#F3F3F3 62%)}
.tut .tut-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(150deg,#1E6B45,#135333);box-shadow:0 6px 16px rgba(19,83,51,.22)}
.tut .tut-ic.ots{background-color:#2A302C;background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:none}
.tut .tut-st{display:flex;flex-direction:column;min-width:0}
.tut .tut-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:5px}
.tut .tut-badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border-radius:11px;background:var(--green);color:#fff;font-size:12px;font-weight:600;white-space:nowrap}
.tut .tut-kind{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:11px;background:#fff;color:var(--green);font-size:12px;font-weight:600;white-space:nowrap}
.tut .tut-kind.ots{background:var(--gold-soft);color:var(--gold-ink)}
.tut .tut-st b{font-size:17px;line-height:23px;font-weight:600}
.tut .tut-why{display:flex;align-items:flex-start;gap:6px;margin-top:5px;font-size:14px;line-height:20px;color:var(--gold-ink);font-weight:500}
.tut .tut-why svg{flex:none;margin-top:2px}
.tut .tut-why span{min-width:0;text-wrap:pretty}
.tut .tut-meta{margin-top:5px;font-size:13.5px;line-height:19px;color:var(--sub)}
.tut .tut-sug > .chev{align-self:center}
.tut .tut-sk{display:block;height:128px;border-radius:24px}
.tut .tut-sk + .tut-sk{margin-top:12px}
/* the one small line under the courses on the free plan, set in from the edge like the labels; the link stays whole */
.tut .tut-up{margin:10px 0 0;padding-inline:18.667px;font-size:13.5px;line-height:19px;color:var(--sub);text-wrap:balance}
.tut .tut-up .tut-link{display:inline;position:relative;color:var(--green);font-weight:600;font-size:inherit;line-height:inherit;padding:0;white-space:nowrap}
.tut .tut-up .tut-link::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:38px;transform:translate(-50%,-50%)}
.tut .tut-invite{display:flex;flex-direction:column;padding:18px}
.tut .tut-invh{display:flex;align-items:center;gap:12px}
.tut .tut-invh .tut-ic{width:44px;height:44px;border-radius:14px;box-shadow:none}
.tut .tut-invh b{font-size:17px;line-height:23px;font-weight:600;min-width:0}
.tut .tut-invite p{margin:10px 0 0;font-size:14.5px;line-height:21px;color:var(--sub)}
.tut .tut-invite .grid2{margin-top:14px;gap:10px}
.tut .tut-invite .bs{height:46px;border-radius:23px;background:#fff;font-size:15.5px}
.tut .tut-allow{display:flex;align-items:center;gap:13px;margin-top:18px;padding:14px 16px;border-radius:22px;background:var(--gold-soft)}
.tut .tut-allow .i{flex:none;width:40px;height:40px;border-radius:13px;background:#fff;display:grid;place-items:center}
.tut .tut-allow .tx{flex:1;min-width:0}
.tut .tut-allow b{display:block;font-size:15.5px;line-height:21px;font-weight:600;color:var(--ink)}
.tut .tut-allow .tx > span{display:block;font-size:13.5px;line-height:19px;color:var(--sub);margin-top:2px;text-wrap:pretty}
.tut .tut-allow .tut-link{display:inline;color:var(--green);font-weight:600;font-size:inherit;line-height:inherit;padding:0;text-align:start}
.tut .tut-allow .skel{display:block;height:14px;border-radius:7px;width:72%;margin:4px 0}
.tut .tut-allow .skel + .skel{width:88%;height:11px;margin-top:8px}
.tut .tut-mines{display:flex;flex-direction:column;gap:12px}
.tut .tut-mine{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;column-gap:13px;width:100%;padding:13px 12px 13px 14px;text-align:start;color:var(--ink);border-radius:24px;transition:transform .15s}
html[dir=rtl] .tut .tut-mine{padding:13px 14px 13px 12px}
.tut .tut-mine:active{transform:scale(.985)}
.tut .tut-mine .tut-ic{width:48px;height:48px;border-radius:15px;box-shadow:0 4px 12px rgba(19,83,51,.18)}
.tut .tut-mt{display:flex;flex-direction:column;min-width:0}
.tut .tut-mt b{font-size:16px;line-height:22px;font-weight:600}
.tut .tut-mt > span{display:flex;align-items:center;gap:5px;font-size:13.5px;line-height:18px;color:var(--sub);margin-top:3px}
.tut .tut-mt > span.ok{color:var(--green);font-weight:600}
.tut .tut-mt .ot-bar{margin-top:7px;height:5px}
.tut .tut-mine > .chev{align-self:center}

/* ---------- the course page ---------- */
.tut .tut-hero{position:relative;margin-top:8px;padding:20px 20px 18px;border-radius:28px;background:linear-gradient(150deg,#1E6B45 0%,#135333 70%);color:#fff;overflow:hidden}
.tut .tut-hero::after{content:"";position:absolute;inset-inline-end:-40px;top:-50px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(228,190,63,.30),rgba(228,190,63,0) 70%);pointer-events:none}
.tut .tut-hrow{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.tut .tut-orb{position:relative;display:grid;place-items:center;border-radius:50%}
.tut .tut-orb.s{flex:none;width:52px;height:52px;background:rgba(255,255,255,.14)}
.tut .tut-orb .bars{display:flex;align-items:center;gap:3px;height:24px}
.tut .tut-orb .bars i{display:block;width:4px;border-radius:2px;background:#fff}
.tut .tut-orb .bars i:nth-child(1){height:9px}
.tut .tut-orb .bars i:nth-child(2){height:17px}
.tut .tut-orb .bars i:nth-child(3){height:24px}
.tut .tut-orb .bars i:nth-child(4){height:14px}
.tut .tut-orb .bars i:nth-child(5){height:20px}
.tut .tut-kick{font-size:13.5px;line-height:18px;font-weight:600;color:#E9D98A;min-width:0}
.tut .tut-done-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:12px;background:rgba(255,255,255,.16);color:#fff;font-size:12.5px;font-weight:600;margin-inline-start:auto;flex:none}
.tut .tut-htitle{position:relative;z-index:1;margin-top:14px;font-size:27px;line-height:33px;font-weight:700;letter-spacing:-.01em;overflow-wrap:anywhere}
.tut .tut-facts{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.tut .tut-facts span{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px;border-radius:15px;background:rgba(255,255,255,.14);font-size:13.5px;font-weight:600;white-space:nowrap}
.tut .tut-whyt{margin-top:12px;padding:15px 17px;border-radius:22px;background:var(--gold-soft)}
.tut .tut-whyt b{display:flex;align-items:center;gap:6px;font-size:14px;line-height:20px;color:var(--gold-ink);font-weight:600}
.tut .tut-whyt b svg{flex:none}
.tut .tut-whyt p{margin:5px 0 0;font-size:15px;line-height:22px;color:#333;text-wrap:pretty}
.tut .tut-voices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tut .tut-voice{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px 14px 13px;border-radius:22px;background:var(--row);border:2px solid transparent;text-align:start;cursor:pointer;transition:background .15s,border-color .15s}
.tut .tut-voice.on{background:var(--green-soft);border-color:var(--green)}
.tut .tut-voice b{font-size:16px;line-height:22px;font-weight:600;color:var(--ink);padding-inline-end:26px}
.tut .tut-voice > span{font-size:13px;line-height:18px;color:var(--sub)}
.tut .tut-voice .pl{display:inline-flex;align-items:center;gap:6px;margin-top:9px;height:30px;padding:0 12px 0 10px;border-radius:15px;background:#fff;color:var(--green);font-size:13px;font-weight:600;position:relative}
html[dir=rtl] .tut .tut-voice .pl{padding:0 10px 0 12px}
.tut .tut-voice .pl::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);border-radius:inherit}
.tut .tut-voice .pl .spin{width:12px;height:12px;border-width:2px}
.tut .tut-voice .ck{position:absolute;top:12px;inset-inline-end:12px;width:22px;height:22px;border-radius:50%;background:var(--green);display:grid;place-items:center}
.tut .tut-sess .row{padding-inline-start:60px}
.tut .tut-sess .row .ri.num{display:grid;place-items:center;width:30px;height:30px;margin-top:-15px;inset-inline-start:15px;border-radius:50%;background:#fff;font-size:13.5px;font-weight:700;color:var(--green);font-family:"PJS",sans-serif}
.tut .tut-sess .row .ri.num.done{background:var(--green);color:#fff}
.tut .tut-sess .row .t.wrap{line-height:22px}
.tut .tut-sess .row .rt .chip{gap:4px}
.tut .tut-prep{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 20px 20px;border-radius:24px;background:var(--row)}
.tut .tut-prep .tut-orb.s{width:56px;height:56px;background:linear-gradient(150deg,#1E6B45,#135333);box-shadow:0 8px 20px rgba(19,83,51,.22)}
.tut .tut-prep .tut-orb.s .bars i{animation:tutWave 1.2s ease-in-out infinite}
.tut .tut-prep .tut-orb.s .bars i:nth-child(2){animation-delay:-.2s}
.tut .tut-prep .tut-orb.s .bars i:nth-child(3){animation-delay:-.4s}
.tut .tut-prep .tut-orb.s .bars i:nth-child(4){animation-delay:-.6s}
.tut .tut-prep .tut-orb.s .bars i:nth-child(5){animation-delay:-.8s}
.tut .tut-prep b{margin-top:14px;font-size:16.5px;line-height:22px;font-weight:600;color:var(--ink)}
.tut .tut-prep > span{margin-top:3px;font-size:14px;line-height:20px;color:var(--sub);max-width:300px}
.tut .tut-prep.fail .tut-orb.s{background:var(--red-soft);box-shadow:none}
.tut .tut-prep .bs{margin-top:14px;width:auto;height:44px;padding:0 20px;border-radius:22px;background:#fff}
.tut .tut-prep + .tut-psk{margin-top:12px}
.tut .tut-psk{display:flex;flex-direction:column;gap:2.333px}
.tut .tut-psk .skel{display:block;height:74px;border-radius:4px}
.tut .tut-psk .skel:first-child{border-top-left-radius:26px;border-top-right-radius:26px}
.tut .tut-psk .skel:last-child{border-bottom-left-radius:26px;border-bottom-right-radius:26px}
.tut .tut-fin{display:flex;align-items:center;gap:13px;margin-top:12px;padding:14px 16px;border-radius:22px;background:var(--green-soft)}
.tut .tut-fin .i{flex:none;width:40px;height:40px;border-radius:13px;background:#fff;display:grid;place-items:center}
.tut .tut-fin b{display:block;font-size:15.5px;line-height:21px;font-weight:600;color:var(--green)}
.tut .tut-fin span{display:block;font-size:13.5px;line-height:19px;color:var(--sub);margin-top:2px}
.tut .tut-dockb .spin{width:20px;height:20px}

/* ---------- the end of a session ---------- */
.tut .tut-seal{margin:18px auto 0;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#2F8B5D,#135333 72%);display:grid;place-items:center;box-shadow:0 0 0 7px #FAF4E1,0 0 0 9px #E4BE3F,0 14px 30px rgba(19,83,51,.25)}
.tut .tut-center{text-align:center}
.tut .h1.tut-center{margin-top:24px}
.tut .sub.tut-center{max-width:360px;margin-left:auto;margin-right:auto;margin-top:6px;text-wrap:balance}
.tut .tut-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:22px}
.tut .tut-stats > div{padding:14px 6px 12px;border-radius:20px;background:var(--row);text-align:center;min-width:0}
.tut .tut-stats b{display:block;font-size:21px;line-height:27px;font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}
.tut .tut-stats span{display:block;font-size:12.5px;line-height:17px;color:var(--sub);margin-top:2px}
.tut .tut-mast{margin-top:12px;padding:15px 17px;border-radius:22px;background:var(--row)}
.tut .tut-mast .mh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;line-height:21px;font-weight:600}
.tut .tut-mast .mh span{min-width:0}
.tut .tut-mast .mh em{flex:none;font-style:normal;color:var(--green)}
.tut .tut-mast .ot-bar{margin-top:10px}
.tut .tut-mast p{margin:10px 0 0;font-size:14.5px;line-height:21px;color:#333;text-wrap:pretty}
.tut .tut-mast bdi,.tut .tut-whyt bdi{white-space:nowrap}

/* ---------- the tutor's sheets: typing an answer, and today's allowance used ---------- */
.tut.tut-type .ta{min-height:104px;margin-top:6px;font-size:17px}
.tut.tut-type .bp{margin-top:12px}
.tut.tut-lsh{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:4px}
.tut.tut-lsh .tut-lsi{width:56px;height:56px;border-radius:18px;background:var(--gold-soft);display:grid;place-items:center;margin-bottom:12px}
.tut.tut-lsh h3{margin-left:0;margin-right:0}
.tut.tut-lsh .sh-sub{max-width:330px;margin-left:auto;margin-right:auto}
.tut.tut-lsh .grid2,.tut.tut-lsh > .bp{width:100%;margin-top:4px}

/* ---------- the voice session ---------- */
.tut-live{position:absolute;inset:0;background:linear-gradient(180deg,#F6F9F7 0%,#FFFFFF 46%)}
.tut-live .tut-body{position:absolute;left:17.333px;right:17.333px;top:calc(var(--sat) + 72px);bottom:calc(var(--sab) + 136px);display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.tut-live .tut-body::-webkit-scrollbar{display:none}
.tut-live .tut-sname{flex:none;font-size:14px;line-height:20px;font-weight:600;color:var(--sub);text-align:center;padding:0 6px}
.tut-live .tut-stage{flex:none;display:flex;flex-direction:column;align-items:center;margin-top:30px;transition:margin .3s var(--ease)}
.tut-live .tut-orb{position:relative;width:112px;height:112px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#2F8B5D,#135333 72%);display:grid;place-items:center;box-shadow:0 16px 36px rgba(19,83,51,.26);transition:background .3s,box-shadow .3s,width .3s var(--ease),height .3s var(--ease)}
.tut-live .tut-orb::before,.tut-live .tut-orb::after{content:"";position:absolute;inset:-13px;border-radius:50%;border:2px solid rgba(19,83,51,.13);transition:opacity .3s}
.tut-live .tut-orb::after{inset:-28px;border-color:rgba(19,83,51,.06)}
.tut-live .tut-orb .bars{display:flex;align-items:center;gap:5px;height:44px}
.tut-live .tut-orb .bars i{display:block;width:6px;border-radius:3px;background:#fff;transform-origin:center;transition:height .25s}
.tut-live .tut-orb .bars i:nth-child(1){height:16px}
.tut-live .tut-orb .bars i:nth-child(2){height:30px}
.tut-live .tut-orb .bars i:nth-child(3){height:44px}
.tut-live .tut-orb .bars i:nth-child(4){height:26px}
.tut-live .tut-orb .bars i:nth-child(5){height:38px}
.tut-live .tut-orb .bars i:nth-child(6){height:18px}
.tut-live .tut-orb.talk .bars i{animation:tutTalk .9s ease-in-out infinite}
.tut-live .tut-orb.talk .bars i:nth-child(2){animation-delay:-.3s}
.tut-live .tut-orb.talk .bars i:nth-child(3){animation-delay:-.55s}
.tut-live .tut-orb.talk .bars i:nth-child(4){animation-delay:-.15s}
.tut-live .tut-orb.talk .bars i:nth-child(5){animation-delay:-.7s}
.tut-live .tut-orb.talk .bars i:nth-child(6){animation-delay:-.4s}
.tut-live .tut-orb.quiet,.tut-live .tut-orb.still{background:radial-gradient(circle at 34% 28%,#5E8F75,#2E5C45 72%);box-shadow:0 10px 24px rgba(19,83,51,.16)}
.tut-live .tut-orb.quiet::before,.tut-live .tut-orb.quiet::after,.tut-live .tut-orb.still::before,.tut-live .tut-orb.still::after{opacity:0}
.tut-live .tut-orb.quiet .bars i,.tut-live .tut-orb.still .bars i{height:10px}
.tut-live .tut-orb.quiet .bars i:nth-child(2),.tut-live .tut-orb.still .bars i:nth-child(2){height:14px}
.tut-live .tut-orb.quiet .bars i:nth-child(3),.tut-live .tut-orb.still .bars i:nth-child(3){height:18px}
.tut-live .tut-orb.quiet .bars i:nth-child(4),.tut-live .tut-orb.still .bars i:nth-child(4){height:12px}
.tut-live .tut-orb.quiet .bars i:nth-child(5),.tut-live .tut-orb.still .bars i:nth-child(5){height:16px}
.tut-live .tut-orb.quiet .bars i:nth-child(6),.tut-live .tut-orb.still .bars i:nth-child(6){height:10px}
.tut-live .tut-orb.quiet.hear .bars i{animation:tutTalk .7s ease-in-out infinite}
.tut-live .tut-orb.quiet.hear .bars i:nth-child(2n){animation-delay:-.35s}
.tut-live .tut-orb.think .bars i{animation:tutWave 1.4s ease-in-out infinite}
.tut-live .tut-orb.think .bars i:nth-child(2){animation-delay:-.2s}
.tut-live .tut-orb.think .bars i:nth-child(3){animation-delay:-.4s}
.tut-live .tut-orb.think .bars i:nth-child(4){animation-delay:-.6s}
.tut-live .tut-orb.think .bars i:nth-child(5){animation-delay:-.8s}
.tut-live .tut-orb.think .bars i:nth-child(6){animation-delay:-1s}
.tut-live .tut-orb.still{opacity:.82}
@keyframes tutTalk{0%,100%{transform:scaleY(.42)}50%{transform:scaleY(1)}}
@keyframes tutWave{0%,100%{transform:scaleY(.5);opacity:.7}50%{transform:scaleY(.95);opacity:1}}
.tut-live .tut-state{transition:margin .3s var(--ease);margin-top:34px;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 13px;border-radius:15px;background:var(--green-soft);color:var(--green);font-size:13.5px;font-weight:600;white-space:nowrap}
.tut-live .tut-state.gold{background:var(--gold-soft);color:var(--gold-ink)}
.tut-live .tut-state.grey{background:#ECECEC;color:var(--sub)}
.tut-live .tut-state.red{background:var(--red-soft);color:var(--red)}
.tut-live .tut-state i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.tut-live .tut-cap{flex:0 1 auto;display:flex;flex-direction:column;min-height:96px;margin-top:22px;padding:15px 17px;border-radius:22px;background:var(--row);overflow:hidden;transition:margin .3s var(--ease)}
.tut-live .tut-capin{position:relative;flex:0 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.tut-live .tut-capin::-webkit-scrollbar{display:none}
.tut-live .tut-capin.ft{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 20px);mask-image:linear-gradient(180deg,transparent 0,#000 20px)}
.tut-live .tut-capin.fb{-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 20px);mask-image:linear-gradient(0deg,transparent 0,#000 20px)}
.tut-live .tut-capin.ft.fb{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%)}
.tut-live .tut-cap .prev{font-size:14.5px;line-height:21px;color:var(--ph)}
.tut-live .tut-cap .now{font-size:17.5px;line-height:25px;font-weight:600;color:var(--ink)}
.tut-live .tut-cap .prev + .now{margin-top:5px}
.tut-live .tut-cap .prev + .me{margin-top:12px}
.tut-live .tut-cap .me{display:block;width:fit-content;max-width:88%;margin:0 0 10px;margin-inline-start:auto;padding:9px 14px;border-radius:18px;background:var(--green);color:#fff;font-size:15.5px;line-height:21px;font-weight:500;overflow-wrap:anywhere}
.tut-live .tut-cap .me:last-child{margin-bottom:0}
.tut-live .tut-cap .me.live{background:var(--gold-soft);color:var(--gold-ink);min-width:40px}
.tut-live .tut-cap .me.live::after{content:"";display:inline-block;width:2px;height:16px;margin-inline-start:3px;vertical-align:-3px;background:var(--gold-ink);animation:tutCaret 1s steps(1) infinite}
@keyframes tutCaret{50%{opacity:0}}
.tut-live .tut-cap bdi{white-space:nowrap}
.tut-live .tut-cap .tut-cnote{margin-top:10px;font-size:14px;line-height:20px;color:var(--sub);font-weight:500}
.tut-live .tut-cap .skel{display:block;height:15px;border-radius:8px;width:86%}
.tut-live .tut-cap .skel + .skel{margin-top:10px;width:58%}
.tut-live .tut-again{display:inline-flex;align-items:center;gap:6px;margin-top:12px;height:38px;padding:0 15px;border-radius:19px;background:#fff;color:var(--green);font-size:14.5px;font-weight:600;box-shadow:inset 0 0 0 1.5px var(--green-soft)}
.tut-live .tut-board{flex:none;margin-top:12px;padding:12px 16px 14px;border-radius:22px;border:1.5px solid #E2E8E3;background-color:#fff;background-image:linear-gradient(#EFF3F0 1px,transparent 1px),linear-gradient(90deg,#EFF3F0 1px,transparent 1px);background-size:20px 20px}
.tut-live .tut-bh{display:flex;align-items:center;gap:6px;font-size:13px;line-height:18px;font-weight:600;color:var(--sub)}
.tut-live .tut-bh svg{flex:none}
.tut-live .tut-eq{direction:ltr;unicode-bidi:isolate;text-align:center;font-size:25px;line-height:34px;font-weight:600;color:var(--ink);margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-family:"PJS",system-ui,sans-serif}
.tut-live .tut-eq.ok{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--green)}
.tut-live .tut-eq.q{color:var(--ph)}
.tut-live .tut-stp{text-align:center;font-size:14px;line-height:20px;color:var(--sub);margin-top:1px}
.tut-live .tut-stp bdi{white-space:nowrap}
.tut-live .tut-bempty{text-align:center;font-size:14px;line-height:20px;color:var(--ph);padding:14px 0 6px}
.tut-live .tut-board.many .tut-eq{font-size:21px;line-height:28px;margin-top:2px}
.tut-live .tut-quick{flex:none;display:flex;gap:clamp(4px,1.5vw,6px);justify-content:center;flex-wrap:wrap;margin-top:14px}
.tut-live .tut-quick button{display:inline-flex;align-items:center;gap:clamp(4px,1.2vw,5px);height:34px;padding:0 clamp(8px,2.4vw,11px);border-radius:17px;background:var(--row);font-size:clamp(12px,3.4vw,13.5px);font-weight:600;color:var(--ink);white-space:nowrap;transition:opacity .15s,transform .12s;position:relative}
.tut-live .tut-quick button::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.tut-live .tut-quick button:active{transform:scale(.96)}
.tut-live .tut-quick button[disabled]{opacity:.45}
.tut-live .tut-quick svg{flex:none}
.tut-live .tut-note{flex:none;display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:10px 14px;border-radius:16px;background:var(--gold-soft);font-size:13.5px;line-height:19px;color:#3A3413}
.tut-live .tut-note svg{flex:none;margin-top:1px}
.tut-live .tut-ctrl{position:absolute;left:0;right:0;bottom:calc(var(--sab) + 22px);display:flex;align-items:flex-start;justify-content:center;gap:36px}
.tut-live .tut-cb{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:13px;line-height:17px;font-weight:500;color:var(--sub);min-width:64px;max-width:120px;text-align:center;transition:opacity .15s}
.tut-live .tut-cb .c{width:54px;height:54px;border-radius:50%;background:var(--row);display:grid;place-items:center;margin-top:12px;transition:transform .12s,background .2s,box-shadow .2s}
.tut-live .tut-cb:active .c{transform:scale(.94)}
.tut-live .tut-cb[disabled]{opacity:.45}
.tut-live .tut-mic .c{width:78px;height:78px;margin-top:0;background:linear-gradient(150deg,#1E6B45,#135333);box-shadow:0 10px 24px rgba(19,83,51,.32)}
.tut-live .tut-mic.on .c{background:linear-gradient(150deg,#EBC651,#C9A227);box-shadow:0 0 0 9px rgba(228,190,63,.2),0 0 0 19px rgba(228,190,63,.09);animation:tutHalo 1.8s ease-in-out infinite}
@keyframes tutHalo{0%,100%{box-shadow:0 0 0 9px rgba(228,190,63,.2),0 0 0 19px rgba(228,190,63,.09)}50%{box-shadow:0 0 0 11px rgba(228,190,63,.24),0 0 0 23px rgba(228,190,63,.07)}}
.tut-live .tut-mic.off{opacity:.55}
.tut-live .tut-mic .l{color:var(--ink);font-weight:600}
.tut-live .tb .tb-title{left:auto;right:auto;inset-inline-start:62px;inset-inline-end:104px;padding:0 4px}
.tut-live .tb .tb-title span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;text-align:center;line-height:20px;font-size:16.5px}
.tut-live .tut-timer{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;border-radius:16px;background:var(--gold-soft);color:var(--gold-ink);font-size:14.5px;font-weight:600;font-variant-numeric:tabular-nums;direction:ltr;font-family:"PJS",system-ui,sans-serif}
.tut-live .tut-timer b{font-weight:600}

/* long words: the voice steps back so the caption keeps its room (set by js/tutor.js when the words overflow) */
.tut-live.measure,.tut-live.measure *,.tut-live.measure *::before,.tut-live.measure *::after{transition:none!important}
.tut-live.tight .tut-stage{margin-top:14px}
.tut-live.tight .tut-orb{width:76px;height:76px}
.tut-live.tight .tut-orb::before{inset:-9px}
.tut-live.tight .tut-orb::after{inset:-18px}
.tut-live.tight .tut-orb .bars{transform:scale(.72)}
.tut-live.tight .tut-state{margin-top:20px}
.tut-live.tight .tut-cap{margin-top:14px}

/* shorter phones: a smaller voice and tighter spacing, so the words keep their room */
@media (max-height:780px){
  .tut-live .tut-stage{margin-top:18px}
  .tut-live .tut-orb{width:92px;height:92px}
  .tut-live .tut-orb::before{inset:-10px}
  .tut-live .tut-orb::after{inset:-21px}
  .tut-live .tut-state{margin-top:26px}
  .tut-live .tut-cap{margin-top:16px}
}
@media (max-height:700px){
  .tut-live .tut-body{top:calc(var(--sat) + 68px);bottom:calc(var(--sab) + 124px)}
  .tut-live .tut-stage{margin-top:12px}
  .tut-live .tut-orb{width:68px;height:68px}
  .tut-live .tut-orb::before{inset:-8px}
  .tut-live .tut-orb::after{display:none}
  .tut-live .tut-orb .bars{gap:4px;height:30px;transform:scale(.72)}
  .tut-live .tut-state{margin-top:16px;height:28px}
  .tut-live .tut-cap{margin-top:12px;padding:12px 15px;min-height:84px}
  .tut-live .tut-cap .now{font-size:16.5px;line-height:23px}
  .tut-live .tut-eq{font-size:21px;line-height:28px}
  .tut-live .tut-quick{margin-top:10px}
  .tut-live .tut-ctrl{bottom:calc(var(--sab) + 14px)}
  .tut-live .tut-mic .c{width:70px;height:70px}
  .tut-live .tut-cb .c{width:50px;height:50px;margin-top:10px}
  .tut-live.tight .tut-stage{margin-top:8px}
  .tut-live.tight .tut-orb{width:56px;height:56px}
  .tut-live.tight .tut-orb .bars{transform:scale(.6)}
  .tut-live.tight .tut-state{margin-top:12px}
  .tut-live.tight .tut-cap{margin-top:10px}
}
/* narrow phones: the three quick answers stay on one line */
@media (max-width:374px){
  .tut-live .tut-quick button{height:32px}
  .tut-live .tut-ctrl{gap:26px}
  .tut .tut-htitle{font-size:25px;line-height:31px}
}
@media (prefers-reduced-motion:reduce){
  .tut-live .tut-orb .bars i,.tut-live .tut-mic.on .c,.tut-live .tut-cap .me.live::after,.tut .tut-prep .tut-orb.s .bars i{animation:none!important}
}
