/* Denagraph 4.4 — final scoped controls, responsive without theme-wide resets */
body.home .dg38-hero h1.dg44-type-hero{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;min-height:2.3em!important;line-height:1.06!important;overflow:visible!important}
body.home .dg38-hero h1.dg44-type-hero>[data-dg40-typewriter]{display:block!important;position:relative!important;max-width:100%!important;min-width:0!important;line-height:1.12!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body.home .dg38-hero h1.dg44-type-hero>[data-dg40-typewriter="second"]::before{content:attr(data-dg44-full);color:transparent;visibility:hidden;display:block;height:0;pointer-events:none}
body.home .dg38-hero h1.dg44-type-hero>[data-dg40-typewriter="first"]::after{display:none!important}
body.home .dg38-hero h1 .dg44-typing::after{content:'│';font-size:.76em;color:#ffbd55;display:inline-block;animation:dg44-caret .65s steps(1) infinite;padding-inline:4px}
@keyframes dg44-caret{50%{opacity:0}}
body.home .dg44-selected-grid>.studio-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
body.home .dg44-selected-grid .studio-card{width:100%!important;max-width:none!important;min-width:0!important}
body.home .dg44-more-row{display:flex;align-items:center;justify-content:center;gap:18px;margin:26px auto 4px;flex-wrap:wrap}
.dg44-more-button{border:1px solid #d5a047;background:linear-gradient(110deg,#f5b545,#ffd17c);color:#0b2638;border-radius:13px;padding:12px 22px;font:800 15px Vazirmatn,Tahoma,sans-serif;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease;box-shadow:0 8px 20px #dc991a35}
.dg44-more-button:hover,.dg44-more-button:focus-visible{transform:translateY(-3px);box-shadow:0 14px 30px #df92194a}
.dg44-more-row>span{color:#687a8c;font-size:13px}
.dg44-work-dialog{border:none;border-radius:22px;padding:0;width:min(1140px,94vw);max-height:90dvh;overflow:auto;background:#f5f8fc;color:#122b42;box-shadow:0 30px 90px #0007;inset:0;margin:auto}
.dg44-work-dialog::backdrop{background:#041628bc;backdrop-filter:blur(5px)}
.dg44-work-modal-inner{padding:20px 26px 24px;direction:rtl}
.dg44-work-modal-inner>header,.dg44-work-modal-inner>footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.dg44-work-modal-inner>header{padding-bottom:16px;border-bottom:1px solid #dae2eb;margin-bottom:16px}.dg44-work-modal-inner>header small{color:#a47a37}.dg44-work-modal-inner>header h2{margin:5px 0;font-weight:850}
.dg44-modal-close{background:#e4edf4;border:0;border-radius:11px;width:42px;height:42px;font-size:30px;cursor:pointer;color:#0b273a}.dg44-work-results .studio-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.dg44-work-modal-inner>footer{border-top:1px solid #dce4e9;padding-top:15px;margin-top:20px}
.dg36-membership-page .dg38-member-hero,.dg36-membership-page .membership-hero{min-height:0!important;max-height:none!important;padding-block:22px!important;gap:24px!important}
.dg36-membership-page .dg38-member-hero>img,.dg36-membership-page .membership-hero>img{max-height:170px!important;object-fit:cover!important;border-radius:16px!important}
.dg36-membership-page .dg38-member-hero h1{font-size:clamp(25px,2.7vw,40px)!important;line-height:1.22!important;margin-block:5px 12px!important}
.dg44-plan-hero-link{display:inline-flex!important;margin-top:9px!important;padding:10px 18px;border-radius:12px;background:#fcb64c;color:#102b40!important;font-weight:800;text-decoration:none;transition:transform .2s ease,background .2s ease}
.dg44-plan-hero-link:hover{transform:translateY(-3px);background:#ffd07a}
.dg36-membership-page .dg36-plans{gap:18px!important;align-items:stretch}
.dg36-membership-page .dg36-plans>.dg36-plan{min-height:0!important;height:auto!important;padding:17px 20px 19px!important;border-radius:18px!important;transition:transform .25s cubic-bezier(.2,.75,.3,1),background .25s ease,box-shadow .25s ease,border-color .25s ease!important;transform:scale(1)!important;position:relative;z-index:1}
.dg36-membership-page .dg36-plans>.dg36-plan:hover,.dg36-membership-page .dg36-plans>.dg36-plan:focus-within,.dg36-membership-page .dg36-plans>.dg36-plan.dg44-is-preview{transform:scale(1.035) translateY(-4px)!important;z-index:3!important;background:#fff3db!important;border-color:#e9a935!important;box-shadow:0 23px 45px #142e4b27!important;color:#122c43!important}
.dg36-membership-page .dg36-plan h2{font-size:clamp(20px,2vw,27px)!important;margin:8px 0!important}.dg36-membership-page .dg36-plan p{margin:6px 0!important}
.dg36-membership-page .dg36-plan ul{margin:12px 0!important;padding-block:0!important}.dg36-membership-page .dg36-plan li{margin-block:5px!important}
.dg36-membership-page .dg36-plan .plan-price{margin:10px 0!important;font-size:clamp(20px,2vw,29px)!important}
.dg36-membership-page .dg36-plan .dg-plan-select{padding:11px 13px!important;min-height:44px!important;transition:transform .22s,background .22s}
.dg36-membership-page .dg36-plan .dg-plan-select:hover{transform:translateY(-2px);background:#eb9b2f!important}
.dg44-plan-hover-preview{min-height:60px;border:1px solid #e7cf9e;background:#fff8e9;border-radius:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;margin:18px 0;color:#1a3852;line-height:1.6}.dg44-plan-hover-preview strong{font-weight:850}.dg44-plan-hover-preview small{color:#7a725d}
body .dg35-dock button,body .dg41-create-trigger{cursor:pointer!important}
@media(max-width:1000px){body.home .dg44-selected-grid>.studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dg44-work-results .studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.home .dg44-selected-grid>.studio-grid,.dg44-work-results .studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dg44-work-modal-inner{padding:14px}.dg36-membership-page .dg36-plans>.dg36-plan:hover,.dg36-membership-page .dg36-plans>.dg36-plan:focus-within{transform:translateY(-3px)!important}.dg36-membership-page .dg38-member-hero>img{max-height:120px!important}}
@media(max-width:480px){body.home .dg44-selected-grid>.studio-grid,.dg44-work-results .studio-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.dg44-typing::after{animation:none!important}.dg44-more-button,.dg36-membership-page .dg36-plan,.dg44-plan-hero-link{transition:none!important;transform:none!important}}
