/* Adapts the supplied V7 designs to real Razor forms; never loads their demo pages. */
body.v7-theme{font-family:Vazirmatn,Tahoma,sans-serif;font-size:15px;--bs-body-color:var(--ink);--bs-body-bg:var(--ivory);--bs-secondary-color:var(--muted);--bs-link-color:var(--ink);--saz-navy:var(--navy);--saz-gold:var(--gold);--blue:var(--navy);--blue2:var(--navy2);--surface:var(--ivory)}
body.v7-theme :is(.container-xl,.container){max-width:1200px;width:calc(100% - 42px);margin-inline:auto}
body.v7-theme :is(h1,h2,h3,h4,h5){color:inherit;overflow-wrap:anywhere}
body.v7-theme .btn{width:auto;height:auto;min-height:44px;max-width:100%;white-space:normal;line-height:1.7;padding:10px 16px;box-shadow:none}
body.v7-theme .btn-primary{background:var(--navy);border-color:var(--line);color:#fff}
body.v7-theme .btn-soft{background:transparent;border-color:var(--line);color:var(--ink)}
body.v7-theme .btn-gold{background:var(--gold);border-color:var(--gold);color:#091427}
body.v7-theme .site-header :is(.brand,.nav-link,.btn-link,.btn-soft){color:#e9edf5}
body.v7-theme .site-header :is(.brand span,.brand strong,.brand small,.nav-link){color:#e9edf5!important}
body.v7-theme .site-header .brand small{display:block!important;padding:0;border:0;letter-spacing:.1em}
body.v7-theme .site-header .nav-link:is(:hover,.active){color:var(--gold)!important}
body.v7-theme .site-header .btn-primary{background:var(--gold);color:#091427;border-color:var(--gold)}
body.v7-theme .site-header .brand img{width:45px;height:45px;border-radius:12px}
body.v7-theme .site-header .brand small{font-size:9px;color:inherit}
body.v7-theme .auth-actions{gap:8px;display:flex;align-items:center;flex-wrap:wrap;margin:0!important}
body.v7-theme .auth-actions form{margin:0}
body.v7-theme .auth-actions .btn{font-size:12px;padding:8px 11px}
body.v7-theme .menu-toggle{color:#e9edf5;min-width:44px;min-height:44px}
body.v7-theme .mobile-nav{background:var(--navy);color:#f5f6fa}
body.v7-theme .page-head{background:var(--ivory);color:var(--ink);border-color:var(--line);padding:48px 0}
body.v7-theme .page-head h1{font-size:clamp(26px,3vw,42px)}
body.v7-theme :is(.page-content,.portal-shell){background:var(--ivory);color:var(--ink)}
body.v7-theme :is(.form-card,.panel-card,.content-card,.module-card,.stat,.table-wrap,.notice,.daily-guidance,.daily-guidance-empty,.pc-day-detail,.dx-card){background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:18px;box-shadow:var(--shadow)}
body.v7-theme .module-card{padding:23px;min-width:0}
body.v7-theme .module-card.service-card{display:flex;gap:18px}
body.v7-theme .module-card h2{font-size:17px}
body.v7-theme .detail-summary{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:18px}
body.v7-theme .detail-hero h1 .saz-module-icon{width:40px;height:40px;color:var(--gold)}
body.v7-theme .module-card p{color:var(--muted);font-size:13px}
body.v7-theme .service-icon :is(svg){width:28px;height:28px}
body.v7-theme .module-price{color:var(--ink);font-size:16px}
body.v7-theme :is(.module-meta,.module-actions,.hero-actions){flex-wrap:wrap;gap:10px}
body.v7-theme :is(.tag,.badge.text-bg-light){background:var(--ivory)!important;color:var(--ink)!important;border:1px solid var(--line)}
body.v7-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font:inherit;background:var(--paper);color:var(--ink);border:1px solid var(--line);max-width:100%;min-height:44px}
body.v7-theme :is(input,select,textarea):disabled{opacity:.75}
body.v7-theme :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
body.v7-theme :is(.form-text,.text-muted,.small.text-muted,.daily-guidance-date){color:var(--muted)!important}
body.v7-theme .table{--bs-table-bg:var(--paper);--bs-table-color:var(--ink);--bs-table-border-color:var(--line);color:var(--ink)}
body.v7-theme .table-wrap{overflow:auto;max-width:100%}
body.v7-theme .table th{background:var(--ivory);color:var(--ink)}
body.v7-theme .form-card a:not(.btn){color:var(--ink);text-decoration:underline;text-underline-offset:4px}
body.v7-theme :is(.alert-info,.alert-success,.alert-warning){color:#14213a}
body.v7-theme .site-footer{background:var(--navy);color:#d4dcea;border-color:var(--line)}
body.v7-theme .site-footer h2{font-size:15px;color:var(--gold)}
body.v7-theme .site-footer a{color:#c8d1e1}
body.v7-theme .site-footer .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px}
body.v7-theme :is(.portal-main,.detail-main,.form-card,.panel-card,.card-grid>*){min-width:0}
body.v7-theme .portal-brand{display:flex;align-items:center;gap:12px;padding:8px 5px 22px;color:#f5f6fa}
body.v7-theme .portal-brand img{width:44px;height:44px;border-radius:12px}
body.v7-theme .portal-brand strong{font-family:Georgia,serif;font-size:21px}
body.v7-theme.v7-account .site-header,body.v7-theme.v7-account .site-footer{margin-inline-start:260px}
body.v7-theme.v7-account .main-nav{display:none}
body.v7-theme[data-offline-notice]{background:var(--ivory);color:var(--ink)}
body.v7-theme[data-offline-notice] main{background:var(--paper);border-color:var(--line)}
body.v7-theme[data-offline-notice] h1{color:var(--ink)}
body.v7-theme.v7-account .portal-grid{display:block;width:100%;max-width:none;margin:0;padding:0}
body.v7-theme.v7-account .portal-shell{padding:0}
body.v7-theme.v7-account .portal-main{margin-inline-start:260px;padding:30px 32px 48px}
body.v7-theme .portal-nav{position:fixed;inset:0 0 0 auto;width:260px;border:0;border-radius:0;background:#07172c;color:#bdcadc;padding:20px 16px;overflow:auto;z-index:30;box-shadow:none}
body.v7-theme .portal-nav h2{font-size:12px;color:#aebbd0;padding:8px}
body.v7-theme .portal-nav a{color:#c8d4e5;display:flex;align-items:center;gap:8px;min-height:44px;margin:4px 0;padding:10px;border:1px solid transparent;border-radius:11px;font-size:13px}
body.v7-theme .portal-nav a:is(:hover,[aria-current=page]){background:#d7b56d22;color:#f3e4ba;border-color:#d7b56d44}
body.v7-theme .portal-nav .saz-action-icon{color:var(--gold)}
body.v7-theme :is(.dx-welcome h1,.dx-card h2,.pc-top h2){color:var(--ink)}
body.v7-theme .daily-experience{--dx-ink:var(--ink);--dx-muted:var(--muted);--dx-gold:var(--gold)}
body.v7-theme :is(.dx-profile,.dx-history-row,.dx-tool,.dx-domains details,.dx-balance-note){background:var(--paper);color:var(--ink);border-color:var(--line)}
body.v7-theme .dx-hero{background:linear-gradient(115deg,#09172c,#274363);color:#f5f6fa;border-color:#30415b}
body.v7-theme .dx-hero :is(h2,p,small,summary){color:#e9edf5}
body.v7-theme .dx-shortcuts a{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px;min-height:44px;padding:9px 12px}
body.v7-theme .dx-shortcuts [aria-current=page]{background:var(--gold);color:#091427;border-color:var(--gold)}
body.v7-theme .dx-chakra{background:var(--paper);border-color:var(--line);border-inline-start-color:var(--chakra)}
body.v7-theme .dx-check,body.v7-theme .dx-tool strong{color:var(--ink)}
body.v7-theme .personal-calendar{background:var(--paper);color:var(--ink);border-color:var(--line)}
body.v7-theme :is(.pc-profile,.pc-monthbar,.pc-live){background:var(--ivory);color:var(--ink);border-color:var(--line)}
body.v7-theme .pc-day{background:var(--paper);color:var(--ink);border-color:var(--line)}
body.v7-theme .pc-day.is-today{border-color:var(--gold)}
body.v7-theme.theme-solar .dx-chakra h3{color:var(--chakra)}
body.v7-theme.theme-solar :is(.dx-check,.dx-chakra label){color:#e9edf5}
body.v7-theme.theme-solar :is(.dx-chakra details,.dx-history-row p,.dx-tool span,.dx-history-status,.dx-save-status){color:var(--muted)}
body.v7-theme.theme-solar .btn-primary{background:var(--gold);color:#091427;border-color:var(--gold)}
body.v7-theme.theme-solar .dx-balance-total{color:var(--gold)}
body.v7-theme [data-daily-workspace] [hidden]{display:none!important}
body.v7-theme [data-daily-workspace] .dx-grid{display:contents}
body.v7-theme [data-daily-workspace] :is(#dx-today,#dx-cycle){margin-block:16px}
body.v7-theme [data-daily-workspace] .pc-profile{display:none}
body.v7-theme .dx-mobile-view{display:none}
body.v7-theme :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
body.v7-theme .service-empty{padding:26px;text-align:center;border:1px dashed var(--line);border-radius:16px}
body.v7-theme .dash-welcome h2{font-size:29px;color:#fff;margin:8px 0}
body.v7-theme .dash-welcome .dash-orbit{flex-shrink:0;margin-inline:25px}
body.v7-theme .v7-dashboard-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-block:22px}
body.v7-theme .widget{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:20px;min-width:0;padding:24px}
body.v7-theme .widget h2{font-size:19px;border-bottom:1px solid var(--line);padding-bottom:16px}
body.v7-theme .quick-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--ink);min-height:105px;padding:14px;border:1px solid var(--line);border-radius:14px}
body.v7-theme .quick-item svg{color:var(--gold)}
body.v7-theme .v7-recent-orders{list-style:none;margin:0 0 16px;padding:0}
body.v7-theme .v7-recent-orders a{display:flex;gap:14px;align-items:center;min-height:70px;border-bottom:1px solid var(--line);padding-block:12px;color:var(--ink)}
body.v7-theme .v7-recent-orders small{display:block;color:var(--muted);margin-top:5px}
@media(min-width:1101px){body.v7-theme .menu-toggle,body.v7-theme .mobile-nav{display:none}}
@media(max-width:1100px){body.v7-theme .main-nav,body.v7-theme .nav-actions{display:none}body.v7-theme .menu-toggle{display:inline-flex;align-items:center;justify-content:center}body.v7-theme .hero-grid{gap:24px}}
@media(max-width:900px){body.v7-theme.v7-account .site-header,body.v7-theme.v7-account .site-footer,body.v7-theme.v7-account .portal-main{margin-inline-start:0}body.v7-theme.v7-account .portal-main{padding:22px 16px}body.v7-theme .portal-nav{position:relative;width:auto;inset:auto;margin:12px 16px;border-radius:14px;padding:10px 14px;max-height:none}body.v7-theme .portal-nav .portal-brand{display:none}body.v7-theme .portal-menu-toggle{color:#f3e4ba;border-color:#d7b56d66;background:transparent}body.v7-theme .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.v7-theme .site-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){body.v7-theme :is(.container-xl,.container,.shell){width:calc(100% - 28px)}body.v7-theme .service-grid,body.v7-theme .card-grid{grid-template-columns:1fr}body.v7-theme .page-head{padding:30px 0}body.v7-theme .form-card{padding:18px}body.v7-theme .service-card{padding:18px}body.v7-theme .module-meta{align-items:stretch}body.v7-theme .site-footer .footer-grid{grid-template-columns:1fr}body.v7-theme [data-daily-workspace] .dx-shortcuts{display:none}body.v7-theme .dx-mobile-view{display:grid;gap:8px;margin:12px 0}body.v7-theme .dx-mobile-view select{width:100%;border-radius:11px;padding:8px}body.v7-theme [data-daily-workspace]:not([data-daily-view=today]) .dx-welcome :is(p,.dx-date){display:none}body.v7-theme .btn{overflow-wrap:anywhere}body.v7-theme .hero-actions .btn{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){body.v7-theme *,body.v7-theme *::before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:1100px){body.v7-theme .v7-dashboard-panels{grid-template-columns:1fr}}
@media(max-width:560px){body.v7-theme .dash-welcome{padding:22px;gap:14px;min-height:180px}body.v7-theme .dash-welcome h2{font-size:24px}body.v7-theme .dash-welcome .dash-orbit{width:64px;height:64px;font-size:32px;margin:10px}body.v7-theme .quick-grid{grid-template-columns:1fr 1fr}body.v7-theme .widget{padding:18px}}
