:root {
  --thp-bg:#f7f7f8;
  --thp-panel:#fff;
  --thp-sidebar:#f7f7f8;
  --thp-text:#0e0e12;
  --thp-muted:#696871;
  --thp-line:#e5e4ea;
  --thp-soft:#f2f3f5;
  --thp-purple:#7d2ae8;
  --thp-purple-dark:#6420bf;
  --thp-shadow:0 8px 28px rgba(35,24,62,.12);
  --thp-font:Vazirmatn,IRANSansX,IRANSans,Tahoma,Arial,sans-serif;
}
html.tesoroz-dark-theme,html.tesoroz-car-dark-theme {
  color-scheme:dark;
  --thp-bg:#18191b;
  --thp-panel:#222326;
  --thp-sidebar:#18191b;
  --thp-text:#f5f5f7;
  --thp-muted:#b1b0b6;
  --thp-line:#38393d;
  --thp-soft:#2c2d31;
  --thp-purple:#a66cff;
  --thp-purple-dark:#8a4ee7;
  --thp-shadow:0 10px 34px rgba(0,0,0,.32);
}
body.tesoroz-education-ui { margin:0; background:var(--thp-bg)!important; color:var(--thp-text); font-family:var(--thp-font); }
.tesoroz-workspace-active .thp-app { width:100%!important; max-width:none; margin:0!important; }
.tesoroz-workspace-active > header,
.tesoroz-workspace-active :is(#site-header,#header,header#masthead,.site-header,.main-header,.ct-header,.tua-header,.tua-site-header,.tua-global-header,[data-tua-header],.tesoroz-header,.tesoroz-topbar,.tesoroz-site-header,.elementor-location-header,.header-area,.header-wrapper,.header-main,.site-footer,#colophon,.elementor-location-footer) { display:none!important; }
.tesoroz-workspace-active :is(.entry-header,.page-header,.wp-block-post-title,.elementor-widget-theme-post-title) { display:none!important; }
.tesoroz-workspace-active :is(.site-content,.content-area,.entry-content,.site-main,article.page) { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
.thp-app,.thp-app * { box-sizing:border-box; }
.thp-app a { color:inherit; text-decoration:none; }
.thp-app button,.thp-app input,.thp-app textarea,.thp-app select { font:inherit; }
.thp-app svg { width:23px; height:23px; display:block; }
.thp-app { --thp-rail-width:76px; min-height:100vh; display:grid; direction:rtl; color:var(--thp-text); }
.thp-rail { position:fixed; top:0; right:0; width:var(--thp-rail-width); height:100vh; z-index:20; padding:12px 6px; display:flex; flex-direction:column; align-items:center; border:0!important; outline:0!important; box-shadow:none!important; background:var(--thp-sidebar); }
.admin-bar .thp-rail { top:32px; height:calc(100vh - 32px); }
.thp-rail__mark { width:32px; height:32px; margin-bottom:11px; padding:0; display:grid; place-items:center; border:0; border-radius:8px; background:transparent; color:#675696!important; cursor:pointer; }
.thp-rail__mark svg { width:19px; height:19px; }
.thp-rail__mark:hover { background:#e9e1fb; color:var(--thp-purple)!important; }
.thp-rail__item { width:64px; min-height:65px; margin:1px 0; padding:5px 2px; border:0; border-radius:12px; background:transparent; color:#675696!important; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; cursor:pointer; }
.thp-rail__item span { width:39px; height:34px; display:grid; place-items:center; border-radius:11px; }
.thp-rail__item b { color:#111116; font-size:9px; font-weight:750; white-space:nowrap; }
.thp-rail__item:hover span,.thp-rail__item.is-active span { background:#e9e1fb; color:var(--thp-purple); }
.thp-rail__create span { width:32px; height:32px; min-width:32px; min-height:32px; flex:0 0 32px; aspect-ratio:1/1; border-radius:50%; background:linear-gradient(135deg,var(--thp-purple),#9c48ff); color:#fff; box-shadow:none; transition:background .16s ease,box-shadow .16s ease; }
.thp-rail__item.thp-rail__create:hover > span { background:linear-gradient(135deg,var(--thp-purple-dark),var(--thp-purple)); color:#fff!important; box-shadow:0 5px 15px rgba(125,42,232,.28); }
.thp-rail__item.thp-rail__create:hover > span svg { color:#fff!important; stroke:#fff!important; opacity:1!important; }
.thp-more-wrap { position:relative; }
.thp-rail__bottom { margin-top:auto; display:grid; gap:10px; justify-items:center; }
.thp-rail__bottom > a { width:37px; height:37px; display:grid; place-items:center; border-radius:50%; color:#68579b; }
.thp-avatar { background:#e0283d; color:#fff!important; font-weight:900; }
.thp-more-menu { position:absolute; right:70px; bottom:0; width:225px; padding:13px; border:1px solid var(--thp-line); border-radius:14px; background:var(--thp-panel); color:var(--thp-text); box-shadow:var(--thp-shadow); z-index:99; }
.thp-more-menu[hidden] { display:none; }
.thp-more-menu > strong { display:block; padding:4px 7px 9px; font-size:12px; }
.thp-more-menu button { width:100%; padding:9px; border:0; border-radius:9px; background:transparent; color:var(--thp-text); display:grid; grid-template-columns:22px 1fr 18px; align-items:center; gap:8px; text-align:right; cursor:pointer; font-size:11px; }
.thp-more-menu button:hover { background:var(--thp-soft); }
.thp-more-menu button > svg { width:19px; height:19px; }
.thp-more-menu button i { opacity:0; color:var(--thp-purple); }
.thp-more-menu button i svg { width:16px; height:16px; }
.thp-more-menu button[aria-pressed="true"] i { opacity:1; }
.thp-theme-toggle { width:38px; height:38px; flex:0 0 auto; padding:0; display:grid; place-items:center; border:1px solid var(--thp-line); border-radius:11px; background:var(--thp-panel); color:var(--thp-text); cursor:pointer; }
.thp-theme-toggle:hover { border-color:var(--thp-purple); color:var(--thp-purple); }
.thp-theme-toggle span { grid-area:1/1; }
.thp-theme-toggle span svg { width:19px; height:19px; }
.thp-theme-toggle__sun { display:none; }
.tesoroz-dark-theme .thp-theme-toggle__moon,.tesoroz-car-dark-theme .thp-theme-toggle__moon { display:none; }
.tesoroz-dark-theme .thp-theme-toggle__sun,.tesoroz-car-dark-theme .thp-theme-toggle__sun { display:block; }
.thp-dashboard { min-width:0; border:0!important; outline:0!important; background:var(--thp-bg); }
.thp-tool-header { min-height:190px; padding:25px 31px; position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:28px; border:1px solid color-mix(in srgb,var(--thp-purple) 13%,var(--thp-line)); border-radius:22px; background:linear-gradient(115deg,#ddf6f4 0%,#f7f6fb 52%,#eee3ff 100%); box-shadow:0 10px 28px rgba(48,34,76,.07); }
.thp-tool-header::before { content:""; position:absolute; width:250px; height:250px; left:-80px; bottom:-155px; border-radius:50%; background:rgba(255,255,255,.6); pointer-events:none; }
.thp-tool-header::after { content:""; position:absolute; width:170px; height:170px; right:-90px; top:-105px; border-radius:50%; background:rgba(125,42,232,.08); pointer-events:none; }
.thp-tool-header__content,.thp-tool-header__side { position:relative; z-index:1; }
.thp-tool-header__content { min-width:0; }
.thp-tool-header__back { width:max-content; display:inline-flex; align-items:center; gap:4px; color:#6821c7!important; font-size:10px; font-weight:850; }
.thp-tool-header__back svg { width:14px; height:14px; transform:rotate(180deg); transition:transform .16s ease; }
.thp-tool-header__back:hover svg { transform:rotate(180deg) translateX(-2px); }
.thp-tool-header__eyebrow { display:block; width:max-content; margin-top:17px; padding:4px 9px; border-radius:999px; background:rgba(125,42,232,.1); color:#6821c7; font-size:9px; line-height:1.6; font-weight:900; }
.thp-tool-header h1 { margin:7px 0 0; color:#28203d; font-size:clamp(27px,3vw,36px); line-height:1.35; font-weight:950; letter-spacing:-.6px; }
.thp-tool-header p { max-width:760px; margin:7px 0 0; color:#565064; font-size:12px; line-height:1.9; font-weight:650; }
.thp-tool-header__side { min-width:235px; align-self:stretch; display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; }
.thp-tool-header__actions { display:flex; align-items:center; gap:9px; }
.thp-tool-private { min-height:34px; padding:0 12px; display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(8,121,79,.1); border-radius:999px; background:rgba(223,246,235,.86); color:#08794f; font-size:9px; font-weight:850; }
.thp-tool-private svg { width:14px; height:14px; }
.thp-tool-header__icon { width:82px; height:82px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.72); border-radius:24px; background:rgba(255,255,255,.76); color:#7d2ae8; box-shadow:0 16px 34px rgba(71,51,108,.13); transform:rotate(-4deg); }
.thp-tool-header__icon svg { width:40px; height:40px; }
.tesoroz-dark-theme .thp-tool-header,.tesoroz-car-dark-theme .thp-tool-header { border-color:rgba(255,255,255,.08); background:linear-gradient(115deg,#1d4141 0%,#25262a 52%,#3b2b51 100%); box-shadow:0 12px 32px rgba(0,0,0,.2); }
.tesoroz-dark-theme .thp-tool-header::before,.tesoroz-car-dark-theme .thp-tool-header::before { background:rgba(255,255,255,.035); }
.tesoroz-dark-theme .thp-tool-header__back,.tesoroz-car-dark-theme .thp-tool-header__back,.tesoroz-dark-theme .thp-tool-header__eyebrow,.tesoroz-car-dark-theme .thp-tool-header__eyebrow { color:#c6a0ff!important; }
.tesoroz-dark-theme .thp-tool-header__eyebrow,.tesoroz-car-dark-theme .thp-tool-header__eyebrow { background:rgba(166,108,255,.14); }
.tesoroz-dark-theme .thp-tool-header h1,.tesoroz-car-dark-theme .thp-tool-header h1 { color:#fff; }
.tesoroz-dark-theme .thp-tool-header p,.tesoroz-car-dark-theme .thp-tool-header p { color:#d5d2dc; }
.tesoroz-dark-theme .thp-tool-private,.tesoroz-car-dark-theme .thp-tool-private { border-color:rgba(120,224,184,.12); background:rgba(8,121,79,.2); color:#8be9c4; }
.tesoroz-dark-theme .thp-tool-header__icon,.tesoroz-car-dark-theme .thp-tool-header__icon { border-color:rgba(255,255,255,.08); background:rgba(34,35,39,.78); color:#bd91ff; }
html body.tesoroz-education-ui .thp-tool-header h1 { color:#28203d!important; -webkit-text-fill-color:#28203d!important; opacity:1!important; text-shadow:none!important; }
html body.tesoroz-education-ui .thp-tool-header p { color:#565064!important; -webkit-text-fill-color:#565064!important; opacity:1!important; }
html body.tesoroz-education-ui .thp-tool-header__back,html body.tesoroz-education-ui .thp-tool-header__eyebrow { color:#6821c7!important; -webkit-text-fill-color:#6821c7!important; opacity:1!important; }
html body.tesoroz-education-ui .thp-tool-private { color:#08794f!important; -webkit-text-fill-color:#08794f!important; opacity:1!important; }
html.tesoroz-dark-theme body.tesoroz-education-ui .thp-tool-header h1,html.tesoroz-car-dark-theme body.tesoroz-education-ui .thp-tool-header h1 { color:#fff!important; -webkit-text-fill-color:#fff!important; }
html.tesoroz-dark-theme body.tesoroz-education-ui .thp-tool-header p,html.tesoroz-car-dark-theme body.tesoroz-education-ui .thp-tool-header p { color:#d5d2dc!important; -webkit-text-fill-color:#d5d2dc!important; }
html.tesoroz-dark-theme body.tesoroz-education-ui .thp-tool-header__back,html.tesoroz-dark-theme body.tesoroz-education-ui .thp-tool-header__eyebrow,html.tesoroz-car-dark-theme body.tesoroz-education-ui .thp-tool-header__back,html.tesoroz-car-dark-theme body.tesoroz-education-ui .thp-tool-header__eyebrow { color:#c6a0ff!important; -webkit-text-fill-color:#c6a0ff!important; }
html.tesoroz-dark-theme body.tesoroz-education-ui .thp-tool-private,html.tesoroz-car-dark-theme body.tesoroz-education-ui .thp-tool-private { color:#8be9c4!important; -webkit-text-fill-color:#8be9c4!important; }
.thp-app :focus-visible { outline:3px solid color-mix(in srgb,var(--thp-purple) 40%,transparent); outline-offset:2px; }
.tesoroz-dark-theme .thp-rail__item b,.tesoroz-car-dark-theme .thp-rail__item b { color:#fff; }

@media (max-width:782px) { .admin-bar .thp-rail{top:46px;height:calc(100vh - 46px)} }
@media (max-width:700px) {
  .thp-app{display:block;padding-bottom:72px}.thp-rail{position:fixed;top:auto!important;right:0;bottom:0;left:0;width:100%;height:68px!important;padding:4px 8px;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--thp-line)!important;z-index:999}.thp-rail__mark,.thp-rail__create,.thp-rail__bottom{display:none}.thp-more-wrap{display:block}.thp-rail__item{width:auto;min-height:58px;margin:0}.thp-rail__item span{width:34px;height:31px}.thp-more-menu{position:fixed;right:12px;bottom:76px;left:12px;width:auto}.thp-tool-header{min-height:165px;padding:20px 18px;grid-template-columns:minmax(0,1fr) auto;gap:14px;border-radius:18px}.thp-tool-header__side{min-width:auto;align-self:center}.thp-tool-header__actions{position:absolute;top:-61px;left:0}.thp-tool-private{display:none}.thp-tool-header__icon{width:62px;height:62px;border-radius:18px}.thp-tool-header__icon svg{width:31px;height:31px}.thp-tool-header__eyebrow{margin-top:13px}.thp-tool-header h1{font-size:25px}.thp-tool-header p{font-size:10px;line-height:1.8}
}
@media (prefers-reduced-motion:reduce){.thp-app *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
