@font-face{font-family:Vazirmatn;src:url('../fonts/Vazirmatn[wght].woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.tm-public-body{margin:0;background:#f5f8fa;color:#20313a;font-family:Vazirmatn,Tahoma,sans-serif;direction:rtl}
.tm-public-header{min-height:66px;background:#fff;box-shadow:0 2px 14px #0c344010;display:flex;align-items:center;gap:24px;padding:0 max(20px,calc((100% - 1180px)/2))}
.tm-public-brand{font-weight:900;color:#087681;font-size:23px;text-decoration:none;margin-left:12px}
.tm-public-header>a:not(.tm-public-brand){color:#42545c;text-decoration:none}
.tm-public-page{max-width:1080px;margin:40px auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 8px 30px #173e4b0c}
.tm-public-page h1{margin-top:0;color:#075d68}
.tm-horizontal-wrap{width:100%;position:relative;z-index:30;background:#fff;border-bottom:1px solid #e8eef0}
.tm-horizontal-menu{overflow-x:auto;white-space:nowrap;scrollbar-width:thin;max-width:100%;font-family:Vazirmatn,Tahoma,sans-serif}
.tm-horizontal-menu>ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:7px 18px;min-height:44px}
.tm-horizontal-menu li{position:relative;list-style:none}
.tm-menu-link{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:9px;color:inherit;text-decoration:none;font:inherit;transition:background .15s,color .15s;white-space:nowrap}
.tm-menu-link:hover{background:var(--tm-item-hover-bg,var(--tm-menu-hover-bg,#e9f4f5));color:var(--tm-item-hover-color,var(--tm-menu-hover-color,#075d68))}
.tm-menu-chevron{font-size:12px;margin-right:3px}
.tm-submenu{display:none;position:absolute;top:100%;right:0;min-width:210px;max-width:320px;background:#fff;border:1px solid #e5ecee;border-radius:12px;box-shadow:0 12px 35px #173e4b20;padding:7px;z-index:60;white-space:normal}
.tm-horizontal-menu li:hover>.tm-submenu,.tm-horizontal-menu li:focus-within>.tm-submenu{display:block}
.tm-submenu li{position:relative}
.tm-submenu .tm-submenu{right:100%;top:0}
.tm-submenu .tm-menu-link{white-space:normal}
.tm-menu-heading{display:block;padding:9px 12px;font-weight:800;color:#49636b}
.tm-menu-separator{display:block;height:1px;background:#dce5e8;margin:8px 10px}
.tm-sidebar-toggle{position:fixed;right:14px;top:82px;z-index:70;border:0;border-radius:11px;background:#087681;color:#fff;width:44px;height:44px;font-size:22px;cursor:pointer;box-shadow:0 5px 16px #075d6833}
.tm-sidebar-panel{position:fixed;z-index:90;right:0;top:0;bottom:0;width:min(320px,86vw);overflow-y:auto;background:#fff;box-shadow:-12px 0 35px #132f3c25;transform:translateX(110%);transition:transform .22s ease;padding:16px;font-family:Vazirmatn,Tahoma,sans-serif}
.tm-sidebar-panel.is-open{transform:translateX(0)}
.tm-sidebar-backdrop{position:fixed;inset:0;background:#102a33a0;z-index:80;opacity:0;visibility:hidden;transition:.2s}
.tm-sidebar-backdrop.is-visible{opacity:1;visibility:visible}
.tm-sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:8px 4px 16px;border-bottom:1px solid #e9eef0}
.tm-sidebar-head button{border:0;background:#f0f4f5;border-radius:8px;width:34px;height:34px;font-size:22px;cursor:pointer}
.tm-sidebar-menu ul{list-style:none;padding:0;margin:10px 0}
.tm-sidebar-menu li{list-style:none}
.tm-sidebar-menu .tm-menu-link{width:100%;box-sizing:border-box}
.tm-sidebar-menu .tm-submenu{display:block;position:static;box-shadow:none;border:0;border-right:1px solid #dce8e9;border-radius:0;margin:0 12px 0 0;padding:0 8px;min-width:0;max-width:none}
.tm-sidebar-menu .tm-menu-heading{padding:12px 10px 5px}
.tm-sidebar-menu .tm-menu-separator{margin:10px 5px}
.tm-sidebar-menu .tm-submenu .tm-submenu{margin-right:9px}
.tm-menu-icon{font-size:13px}
.tm-card{background:#fff;border:1px solid #e7edef;border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 7px 25px #173e4b08}
.tm-title{font-size:23px;margin:0 0 8px;color:#124d57}
.tm-heading{font-size:17px;margin:0 0 16px;color:#164f59}
.tm-muted{color:#71838a;font-size:13px}
.tm-actions,.tm-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tm-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:#087681;color:#fff;padding:10px 16px;text-decoration:none;font:inherit;cursor:pointer}
.tm-btn-light{background:#edf5f6;color:#075d68}
.tm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tm-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#40545c}
.tm-grid input:not([type=checkbox]),.tm-grid select,.tm-grid textarea{width:100%;box-sizing:border-box;border:1px solid #dce5e8;border-radius:9px;padding:10px 11px;background:#fff;color:#24363d;font:inherit;min-height:42px}
.tm-grid input[type=color]{width:70px!important;height:40px;padding:3px}
.tm-full{grid-column:1/-1}
.tm-check{display:flex!important;flex-direction:row!important;align-items:center}
.tm-check input{width:17px;height:17px}
.tm-table-wrap{overflow-x:auto}
.tm-table{border-collapse:collapse;width:100%;min-width:640px}
.tm-table th,.tm-table td{text-align:right;padding:12px;border-bottom:1px solid #edf1f2;font-size:13px}
.tm-table th{background:#f7fafb;color:#51656c}
.tm-table small{display:block}
.tm-link{color:#087681;text-decoration:none;font-weight:700}
.tm-tree{border:1px solid #e7edef;border-radius:12px;overflow:hidden}
.tm-tree-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #edf1f2;background:#fff}
.tm-tree-row:last-child{border-bottom:0}
.tm-tree-row[style*="--tm-level:1"],.tm-tree-row[style*="--tm-level:2"]{background:#fbfcfd}
.tm-tree-main{display:flex;align-items:center;gap:9px;min-width:0}
.tm-tree-grip{color:#94a6ac;white-space:pre}
.tm-tree-main strong{font-size:13px}
.tm-tree-main small{font-size:11px;color:#7a8b91}
.tm-tree-actions{display:flex;gap:5px;flex-wrap:wrap}
.tm-tree-actions form{display:inline}
.tm-tree-actions button,.tm-tree-actions a{font:inherit;font-size:11px;border:1px solid #dce6e8;border-radius:7px;padding:5px 7px;background:#fff;color:#40565d;text-decoration:none;cursor:pointer}
.tm-tree-actions .tm-danger{color:#b42318}
.tm-tag{background:#fff4d9;border-radius:6px;padding:3px 6px}
.tm-separator-preview{height:1px;width:100px;background:#cbd5d9}
.tm-public-page p{line-height:2}
@media(max-width:720px){.tm-public-page{margin:18px 12px;padding:20px}.tm-grid{grid-template-columns:1fr}.tm-full{grid-column:auto}.tm-tree-row{align-items:flex-start;flex-direction:column}.tm-tree-actions{padding-right:25px}.tm-title{font-size:20px}.tm-horizontal-menu>ul{padding-right:10px}.tm-sidebar-toggle{top:75px}}

.tm-page-content{font-size:15px;line-height:2.2;white-space:normal;color:#34474f}


/* v2: WordPress-like mega menu trigger and universal menu presentation */
.tm-horizontal-wrap{display:flex;align-items:stretch;gap:8px;padding:0 14px;flex-wrap:nowrap}
.tm-mega-toggle{align-self:center;display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;border:0;border-radius:10px;background:#087681;color:#fff;padding:9px 15px;font:600 14px Vazirmatn,Tahoma,sans-serif;cursor:pointer;box-shadow:0 3px 12px #075d6820}
.tm-mega-toggle>span:first-child{font-size:20px;line-height:1}
.tm-mega-toggle-chevron{font-size:12px;transition:transform .18s}
.tm-mega-toggle[aria-expanded="true"] .tm-mega-toggle-chevron{transform:rotate(180deg)}
.tm-mega-panel{position:absolute;top:100%;right:12px;left:12px;z-index:100;max-height:min(72vh,680px);overflow:auto;background:#fff;border:1px solid #e2eaec;border-radius:0 0 16px 16px;box-shadow:0 18px 45px #102f3b25;padding:12px}
.tm-mega-panel[hidden]{display:none!important}
.tm-mega-menu{font-family:Vazirmatn,Tahoma,sans-serif}
.tm-mega-menu+.tm-mega-menu{border-top:1px solid #e8eef0;margin-top:12px;padding-top:10px}
.tm-mega-title{font-weight:800;color:#075d68;padding:7px 12px 10px}
.tm-mega-menu>ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:5px;list-style:none;padding:0;margin:0}
.tm-mega-menu>ul>li{list-style:none;min-width:0}
.tm-mega-menu .tm-menu-link{white-space:normal}
.tm-mega-menu .tm-submenu{display:block;position:static;min-width:0;max-width:none;box-shadow:none;border:0;border-right:1px solid #e0e9eb;border-radius:0;margin:0 12px 0 0;padding:0 8px}
.tm-mega-menu .tm-submenu .tm-submenu{margin-right:8px}
.tm-sidebar-toggle{position:fixed;right:14px;bottom:20px;top:auto;z-index:71}
.tm-public-header{position:relative}
@media(max-width:720px){
 .tm-horizontal-wrap{padding:0 8px;gap:5px}
 .tm-mega-toggle{padding:8px 11px}
 .tm-mega-panel{right:5px;left:5px;max-height:75vh}
 .tm-mega-menu>ul{grid-template-columns:1fr}
}
