.ut-panel{--ut-ink:#112f54;--ut-blue:#1768e8;--ut-muted:#64758b;direction:rtl;width:100%;max-width:560px;margin:0 auto;position:relative;z-index:2;overflow:hidden;text-align:right;color:var(--ut-ink);font-family:Shabnam-FD,Tahoma,sans-serif;background:#fff;border:1px solid #dce5ee;border-radius:24px;box-shadow:0 24px 60px -20px #1834512e,0 3px 10px #18345105}
.ut-panel *,.ut-panel *::before,.ut-panel *::after{box-sizing:border-box}
.ut-panel [hidden]{display:none!important}
.ut-top{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #eef1f5;background:#fff}
.ut-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:50px;color:#7566c7;font-size:28px;font-weight:700}
.ut-icon img{width:46px;height:50px;object-fit:contain}
.ut-identity{min-width:0}
.ut-title{font-size:16px;font-weight:700;line-height:1.8}
.ut-subtitle{display:flex;flex-wrap:wrap;gap:5px;font-size:10.5px;line-height:1.8;color:var(--ut-muted)}
.ut-identity-dot{color:#b4beca}
.ut-new{margin-right:auto;flex-shrink:0;border:1px solid #e3e9f1!important;background:#fff!important;color:#556a85!important;padding:8px 10px!important;border-radius:10px!important;font:inherit!important;font-size:10.5px!important;white-space:nowrap;cursor:pointer}
.ut-log{height:338px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c8d4e2 transparent;overscroll-behavior:contain;padding:22px;scroll-behavior:smooth;display:flex;flex-direction:column;gap:16px;background:#fafcfe}
.ut-panel:not(.ut-chatting) .ut-log{height:auto;overflow:visible;background:linear-gradient(145deg,#fff 45%,#f8fafc)}
.ut-log::-webkit-scrollbar,.ut-panel textarea::-webkit-scrollbar{width:5px}
.ut-log::-webkit-scrollbar-thumb,.ut-panel textarea::-webkit-scrollbar-thumb{background:#c8d4e2;border-radius:8px}
.ut-log::-webkit-scrollbar-button,.ut-panel textarea::-webkit-scrollbar-button{display:none}
.ut-welcome{width:100%}
.ut-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#52776b;margin:0 0 9px}
.ut-eyebrow span{width:6px;height:6px;border-radius:50%;background:#81c9ae}
.ut-welcome h2{font:inherit;font-size:22px;line-height:1.6;font-weight:700;color:var(--ut-ink);margin:0 0 8px;letter-spacing:-.5px}
.ut-welcome>p{font:inherit;font-size:13px;line-height:1.95;color:var(--ut-muted);margin:0}
.ut-choice-label{font-size:11px;color:#61718a;margin:20px 0 10px}
.ut-suggestions{display:flex;flex-direction:column;gap:8px}
.ut-suggestions button{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:11px;width:100%;text-align:right;font:inherit!important;color:var(--ut-ink)!important;background:#fff!important;border:1px solid #e4eaf2!important;border-radius:13px!important;padding:11px 12px!important;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}
.ut-suggestions button:hover{background:#f8fcfb!important;border-color:#a9cfbf!important;transform:translateX(-2px)}
.ut-choice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#438876;background:#eef7f2}
.ut-suggestions button:nth-child(2) .ut-choice-icon{color:#6673b7;background:#f0f1fa}
.ut-suggestions button:nth-child(3) .ut-choice-icon{color:#377ca1;background:#eff6fa}
.ut-choice-icon svg{width:22px;height:22px}
.ut-choice-copy{display:flex;flex-direction:column;gap:3px}
.ut-choice-copy strong{font-size:13px;line-height:1.7;font-weight:700}
.ut-choice-copy small{font-size:10.5px;line-height:1.7;color:var(--ut-muted)}
.ut-choice-arrow{width:16px;height:16px;color:#93a2b4}
.ut-bubble{max-width:96%;padding:14px 16px;background:#eef3f8;border-radius:14px 4px 14px 14px;line-height:2;font-size:14px;overflow-wrap:anywhere;flex-shrink:0}
.ut-bubble p{margin:0 0 10px;color:inherit;font:inherit}
.ut-bubble p:last-child{margin-bottom:0}
.ut-bubble.ut-user{max-width:88%;align-self:flex-end;color:#fff;background:#1768e8;border-radius:4px 14px 14px 14px;white-space:pre-wrap}
.ut-label{font-size:10px;font-weight:700;color:#5b728d;margin-bottom:8px}
.ut-composer{padding:16px 20px 13px;border-top:1px solid #edf1f5;background:#fff}
.ut-composer-label{display:flex;align-items:center;gap:10px;font-size:10.5px;color:#8a98aa;margin:0 0 12px}
.ut-composer-label::before,.ut-composer-label::after{content:'';height:1px;background:#edf1f5;flex:1}
.ut-input-row{display:flex;align-items:flex-end;gap:8px;border:1px solid #dbe3ee;border-radius:14px;padding:6px;background:#fff;transition:border-color .16s,box-shadow .16s}
.ut-input-row:focus-within{border-color:#77a4ee;box-shadow:0 0 0 3px #1768e810}
.ut-panel textarea{border:0!important;background:transparent!important;padding:10px 8px!important;min-height:44px!important;height:44px;max-height:120px;width:100%;min-width:0;font:inherit!important;font-size:13px!important;line-height:24px!important;color:var(--ut-ink)!important;resize:none;outline:0!important;box-shadow:none!important;overflow-y:hidden;scrollbar-width:thin}
.ut-panel textarea::placeholder{color:#8795a8;opacity:1}
.ut-send{flex-shrink:0;width:42px;height:42px;border:0!important;border-radius:10px!important;background:#1768e8!important;color:#fff!important;padding:10px!important;cursor:pointer;display:grid;place-items:center;transition:background .16s}
.ut-send svg{width:20px;height:20px}
.ut-send:disabled{background:#e9eef5!important;color:#9aaac0!important;cursor:default}
.ut-thinking{display:flex;align-items:center;gap:8px;color:var(--ut-muted);font-size:11px;padding:0 8px}
.ut-thinking::before{content:'';flex-shrink:0;width:12px;height:12px;border:2px solid #d4e3f9;border-top-color:#1768e8;border-radius:50%;animation:ut-spin 1s linear infinite}
@keyframes ut-spin{to{transform:rotate(360deg)}}
.ut-footnote{font-size:10px;text-align:center;color:#7a899c;line-height:1.9;margin:10px 0 0}
.ut-status{font-size:12px;line-height:1.9;margin:0 0 10px;color:#925524;padding:9px 12px;border-radius:10px;background:#fff7ed}
.ut-status:empty{display:none}
.ut-panel button:focus-visible{outline:3px solid #85b2f5;outline-offset:3px}
.ut-panel button:disabled{cursor:default}
.ut-new:disabled{opacity:.5}
.ut-hero .banner__images>*,.ut-hero .banner__images .banner__author{display:none!important}
.ut-hero .banner__images>.ut-panel{display:block!important}
.ut-hero .banner__images{position:relative!important;padding:0!important}
.ut-hero .banner__content{padding-bottom:30px}
.ut-copy-hint{font-size:13px!important;color:#526d94!important;margin-top:18px!important;line-height:2!important}
.ut-preview-badge{padding:6px 20px;background:#fff4da;color:#75561e;font-size:11px;text-align:center}
.ut-reset-dialog{border:1px solid #dce5f1;border-radius:20px;max-width:360px;width:calc(100% - 32px);padding:24px;color:var(--ut-ink);text-align:right;font:inherit;box-shadow:0 22px 64px #082a5e33}
.ut-reset-dialog::backdrop{background:#082a5e66}
.ut-reset-dialog h3{font-size:17px;margin:0 0 12px}
.ut-reset-dialog p{font-size:13px;line-height:2}
.ut-reset-actions{display:flex;gap:10px;margin-top:18px}
.ut-reset-actions button{border:1px solid #dce5f1!important;border-radius:12px!important;padding:10px 12px!important;font:inherit!important;font-size:12px!important;background:#fff!important;color:var(--ut-ink)!important;cursor:pointer}
.ut-reset-actions .ut-reset-accept{background:#1768e8!important;color:#fff!important}
@media(min-width:992px){.ut-hero .row{align-items:center}.ut-hero .banner__images{margin:0!important}.ut-hero{padding-bottom:65px!important}}
@media(max-width:991px){.ut-panel{max-width:560px}.ut-hero .banner__images{margin-top:24px!important}.ut-hero .banner__content{padding-bottom:0}}
@media(max-width:480px){.ut-panel{border-radius:20px}.ut-top{padding:15px 16px;gap:10px}.ut-icon,.ut-icon img{width:38px;height:44px}.ut-title{font-size:15px}.ut-subtitle{font-size:9.5px;gap:4px}.ut-chatting .ut-identity-dot,.ut-chatting .ut-subtitle{display:none}.ut-chatting .ut-title{font-size:13px}.ut-new{padding:8px!important;font-size:10px!important}.ut-log{padding:20px 16px;height:340px}.ut-welcome h2{font-size:21px}.ut-choice-copy strong{font-size:12.5px}.ut-choice-copy small{font-size:10px}.ut-suggestions button{gap:9px;padding:11px 10px!important}.ut-composer{padding:14px 14px 12px}.ut-bubble{max-width:100%;padding:13px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.ut-log{scroll-behavior:auto}.ut-suggestions button{transition:none}.ut-thinking::before{animation:none}}

/* Compact hero proportions, with full content flow on narrow screens. */
.ut-top{padding:12px 22px}
.ut-log{height:314px;padding:18px 22px}
.ut-eyebrow{margin-bottom:6px}
.ut-eyebrow{display:none}
.ut-panel:not(.ut-chatting) .ut-log{padding-top:16px;padding-bottom:16px}
.ut-welcome h2{margin-bottom:6px}
.ut-choice-label{margin:14px 0 8px}
.ut-choice-copy small{display:none}
.ut-suggestions button{padding:8px 12px!important;min-height:50px}
.ut-suggestions{gap:7px}
.ut-composer{padding:12px 20px 10px}
.ut-composer-label{margin-bottom:8px}
.ut-footnote{margin-top:7px}
@media(min-width:992px){.ut-panel:not(.ut-chatting) .ut-log{min-height:312px}}
@media(max-width:480px){.ut-top{padding:12px 16px}.ut-log{padding:18px 16px;height:314px}.ut-composer{padding:12px 14px 10px}.ut-suggestions button{padding:8px 10px!important}}

/* Dedicated tutor section below the original hero. */
.ut-host> :not(.ut-dock){display:none!important}
.ut-host{padding:30px 24px!important;background:#f7fafc}
.ut-dock{width:100%;max-width:1080px;margin:0 auto;direction:rtl}
.ut-dock>.ut-panel{max-width:none}
.ut-dock .ut-panel:not(.ut-chatting) .ut-log{min-height:0;height:auto;padding:20px 24px}
.ut-dock .ut-welcome h2{font-size:23px}
.ut-dock .ut-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ut-dock .ut-composer{padding:14px 24px}
.ut-dock .ut-input-row{max-width:760px;margin:0 auto}
.ut-dock .ut-composer-label{display:none}
.ut-expand,.ut-collapse{border:1px solid #e2e8f0!important;background:white!important;color:#426080!important;width:36px;height:36px;flex-shrink:0;padding:0!important;border-radius:10px!important;font:inherit!important;font-size:24px!important;line-height:1!important;cursor:pointer;display:grid;place-items:center}
.ut-expand{margin-right:auto}
.ut-new:not([hidden])+.ut-expand{margin-right:0}
.ut-collapse{margin-right:auto}
.ut-new:not([hidden])~.ut-collapse{margin-right:0}

/* A distinct, branded entry point for the academy's AI Tutor. */
.ut-host{background:linear-gradient(130deg,#eef8f5,#edf3ff 58%,#f4f1fb)!important;padding:44px 24px!important}
.ut-dock>.ut-panel{border:1px solid #c2d9e5;box-shadow:0 20px 55px -22px #0c315d55}
.ut-panel .ut-top{background:#112f54;color:#fff;padding:18px 24px;border-bottom:3px solid #83d4bc}
.ut-title{display:flex;align-items:baseline;gap:12px;font-size:28px;line-height:1.5;letter-spacing:0}
.ut-title>[dir=ltr]{font-family:Tahoma,sans-serif;font-weight:700;color:#b3eddb}
.ut-brand-name{font-size:17px;color:#fff}
.ut-subtitle{font-size:12px;color:#d2deed;margin-top:4px}
.ut-icon{background:#fff;border-radius:12px;padding:5px;width:50px;height:54px}
.ut-icon img{width:40px;height:44px}
.ut-top .ut-expand,.ut-top .ut-collapse{background:#ffffff12!important;border-color:#ffffff40!important;color:#fff!important}
.ut-dock .ut-panel:not(.ut-chatting) .ut-log{padding:26px 28px;background:#fff}
.ut-dock .ut-welcome h2{font-size:27px;line-height:1.7;margin-bottom:10px}
.ut-welcome>p{font-size:14px;line-height:2;color:#526983}
.ut-welcome>p b{color:#116554}
.ut-choice-label{font-size:12px;margin-top:18px}
.ut-dock .ut-suggestions button{min-height:64px;background:#f7fafc!important;border-color:#d5e3eb!important}
.ut-dock .ut-choice-copy strong{font-size:14px}
.ut-dock .ut-suggestions button:hover{background:#edf8f3!important;border-color:#80bba5!important}
.ut-dock .ut-composer{background:#f4f8fc;padding:20px 28px 16px}
.ut-dock .ut-input-row{border-color:#b8cde1;box-shadow:0 3px 12px #0c315d08;max-width:820px}
.ut-panel textarea{font-size:14px!important}
.ut-footnote{color:#61768e;font-size:11px}
@media(max-width:640px){.ut-host{padding:28px 16px!important}.ut-panel .ut-top{padding:16px;gap:10px}.ut-title{font-size:24px}.ut-brand-name{font-size:14px}.ut-subtitle{font-size:10.5px}.ut-icon{width:42px;height:46px}.ut-icon img{width:34px;height:38px}.ut-dock .ut-welcome h2{font-size:23px}.ut-dock .ut-composer{padding:16px 14px}.ut-expanded .ut-title{font-size:22px}.ut-chatting .ut-title{font-size:20px}.ut-chatting .ut-brand-name{display:none}}
.ut-expanded{width:min(900px,calc(100vw - 48px));height:min(780px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:0;border-radius:24px;background:white;box-shadow:0 32px 90px #082a5e55;overflow:hidden}
.ut-expanded::backdrop{background:#082a5e80;backdrop-filter:blur(5px)}
.ut-expanded .ut-panel{width:100%;height:100%;max-width:none;margin:0;display:flex;flex-direction:column;border:0;box-shadow:none;border-radius:0}
.ut-expanded .ut-top,.ut-expanded .ut-composer{flex-shrink:0}
.ut-expanded .ut-log,.ut-expanded .ut-panel:not(.ut-chatting) .ut-log{flex:1;min-height:0;height:auto;overflow-y:auto;padding:24px 32px}
.ut-expanded .ut-welcome{max-width:620px;margin:auto}
.ut-expanded .ut-choice-copy small{display:block}
.ut-expanded .ut-bubble{font-size:15px;max-width:85%}
.ut-expanded .ut-composer{padding:16px 24px}
@media(max-width:640px){.ut-host{padding:20px 16px!important}.ut-dock .ut-suggestions{grid-template-columns:1fr}.ut-dock .ut-log{padding:18px 16px!important}.ut-dock .ut-composer{padding:12px 14px}.ut-expanded{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.ut-expanded .ut-log,.ut-expanded .ut-panel:not(.ut-chatting) .ut-log{padding:20px 16px}.ut-expanded .ut-bubble{font-size:14px;max-width:96%}.ut-expanded .ut-composer{padding:12px 14px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.ut-expanded .ut-title{font-size:13px}}

/* Match the visual weight of Persian and English in the bilingual title. */
.ut-panel .ut-title{align-items:center;gap:9px;font-size:23px;font-weight:700;line-height:1.7}
.ut-panel .ut-title>[dir=ltr]{font-family:inherit;font-size:21px;line-height:1.7}
.ut-panel .ut-brand-name{font-size:23px;font-weight:700;line-height:1.7}
@media(max-width:640px){.ut-panel .ut-title,.ut-panel .ut-brand-name{font-size:19px}.ut-panel .ut-title>[dir=ltr]{font-size:18px}.ut-panel .ut-title{gap:7px}.ut-panel .ut-top{padding:14px 16px}}
