
/* Photon finish: quiet panels, generous edges and restrained gold details. */
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] body.photon-theme{isolation:isolate;background:linear-gradient(145deg,var(--ph-bg,#060e1f),var(--ph-bg2,#13243a))!important;background-attachment:fixed!important;min-height:100vh}
.photon-scene{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict}
.photon-canvas{display:block;width:100%;height:100%;pointer-events:none}
/* The motion control participates in menu/footer layout; it never floats over content. */
.photon-motion-controls{margin-block-start:14px;padding-block-start:14px;border-top:1px solid var(--fv-line)}
.photon-motion-controls--inline{display:flex;justify-content:center;margin:20px auto;padding:12px 16px;max-width:100%;box-sizing:border-box}
.photon-motion-toggle{position:static;display:block;width:100%;min-height:44px;border:1px solid var(--fv-line);border-radius:12px;background:var(--fv-surface);color:var(--fv-ink);padding:9px 14px;font:13px/1.7 Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.photon-motion-controls--inline .photon-motion-toggle{width:auto;max-width:100%}
/* Redirect landing pages reserve bottom space and keep the control at the viewport corner. */
.photon-theme.uvd-public-redirect-page .uvd-public-utility-shell{padding-block:24px calc(88px + env(safe-area-inset-bottom,0px))}
.photon-theme.uvd-public-redirect-page .photon-motion-controls--inline{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:20;max-width:calc(100vw - 32px);margin:0;padding:0;border:0}
.photon-theme.uvd-public-redirect-page .photon-motion-toggle{width:auto;box-shadow:0 6px 24px #0003}
.photon-motion-toggle:focus-visible{outline:2px solid var(--fv-accent);outline-offset:3px}
.photon-motion-toggle:disabled{opacity:.7;cursor:default}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(header[data-uvd-component="site-header"],.photon-bottom-nav){background:var(--fv-surface)!important;border-color:var(--fv-line)!important;box-shadow:0 1px 0 var(--fv-line)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-wrap{padding:64px 32px 40px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-container{max-width:1200px;gap:32px!important;align-items:stretch;grid-template-columns:minmax(0,1.45fr) minmax(250px,.65fr)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-hero{background:linear-gradient(135deg,var(--ph-card-surface),var(--ph-card-raised))!important;border-radius:30px!important;box-shadow:0 20px 70px #0002!important;border-color:color-mix(in srgb,var(--fv-accent) 28%,var(--fv-line))!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-hero-inner{padding:42px!important;text-align:right!important}
.photon-intro-mark{display:flex;align-items:center;gap:12px;color:var(--fv-accent);font-size:11px;letter-spacing:2px;margin-bottom:22px;direction:ltr;justify-content:flex-end}
.photon-intro-mark:before{content:"";width:38px;height:1px;background:currentColor}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-title{font-size:clamp(27px,3vw,40px)!important;letter-spacing:-.9px;line-height:1.75!important;margin:0 0 18px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-sub--lead{max-width:510px;font-size:15px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-cta{justify-content:flex-start!important;margin:26px 0!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(.home-btn-primary,.photon-primary){border-radius:14px!important;box-shadow:0 5px 22px color-mix(in srgb,var(--fv-accent) 14%,transparent)!important;min-height:48px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .btn-andishe{background:transparent!important;color:var(--fv-accent)!important;border-color:var(--fv-line)!important;font-size:12px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-badges{justify-content:flex-start!important;margin-bottom:24px}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-badge{background:transparent!important;border-width:0!important;padding:3px 0 3px 15px!important;color:var(--fv-muted)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-images{border-radius:30px!important;padding:16px!important;background:var(--ph-card-surface)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-img{background:radial-gradient(ellipse at top,var(--fv-raised),var(--fv-surface))!important;border-radius:20px!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(.photon-welcome,.photon-hero,.photon-recent,.photon-card){border-color:var(--fv-line)!important;box-shadow:var(--fv-shadow)!important}
@media(min-width:1000px){html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] body.uvd-page-key-dashboard-home main{padding-top:42px!important}}
@media(max-width:760px){html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-wrap{padding:30px 16px!important}html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-container{grid-template-columns:1fr!important;gap:18px!important}html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-hero-inner{padding:25px!important}html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-images-inner{grid-template-columns:1fr 1fr!important}html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .home-img img{max-height:210px!important}.photon-intro-mark{font-size:10px}}
@media print{.photon-scene,.photon-motion-toggle{display:none!important}}

html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(.home-wrap,.uvd-public-shell){background:transparent!important;background-image:none!important}

/* Result/attendance modules keep their data-driven score/status colors. */
html[data-uvd-skin="photon"] .ex-app{--ex-ink:var(--fv-ink);--ex-muted:var(--fv-muted);--ex-card:var(--fv-surface);--ex-soft:var(--fv-raised);--ex-line:var(--fv-line);--ex-blue:var(--fv-accent)}
html[data-uvd-skin="photon"] :is(.ex-primary,.ex-tabs .active,.ex-subtabs .active){background:var(--fv-accent);color:var(--fv-on);border-color:var(--fv-accent)}
html[data-uvd-skin="photon"] .ex-table th{background:var(--fv-raised);color:var(--fv-ink)}
html[data-uvd-skin="photon"] .ex-hero-icon{background:var(--fv-raised);color:var(--fv-accent)}
html[data-uvd-skin="photon"] .att-app{--att-ink:var(--fv-ink);--att-muted:var(--fv-muted);--att-panel:var(--fv-surface);--att-stroke:var(--fv-line);--att-brand:var(--fv-accent)}
html[data-uvd-skin="photon"] .att-app :is(.att-hero,.att-session-info){background:var(--fv-raised);color:var(--fv-ink)}
html[data-uvd-skin="photon"] .att-app :is(.att-hero-icon,.att-tabs .active,.att-btn){background:var(--fv-accent);color:var(--fv-on);border-color:var(--fv-accent)}
html[data-uvd-skin="photon"] .att-app :is(.att-tabs button:not(.active),.att-table th,.att-stats,.att-chip){background:var(--fv-raised);color:var(--fv-ink);border-color:var(--fv-line)}
html[data-uvd-skin="photon"] .att-app :is(label,.att-top a){color:var(--fv-ink)}
html[data-uvd-skin="photon"] .att-app :is(input,select){background:var(--fv-raised);color:var(--fv-ink);border-color:var(--fv-line)}

/* Transparency affects only card backgrounds, never text, controls or modal surfaces. */
html[data-uvd-skin="photon"]{--ph-card-surface:color-mix(in srgb,var(--fv-surface) var(--ph-card-opacity,80%),transparent);--ph-card-raised:color-mix(in srgb,var(--fv-raised) var(--ph-card-opacity,80%),transparent)}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(.photon-recent,.photon-card,.user-info-section,.notification-card,.home-slider-wrap,.file-item,.uvd-user-card,.uvd-public-static-card,.uvd-public-utility-card,.uvd-media-card,.live-card,.register-card,.login-card,.pr-card,.uvd-maintenance-card,.device-gate-card,.uvd-user-upload-card,.uvd-user-upload-panel,.ex-panel,.att-panel){background:var(--ph-card-surface)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is([data-uvd-page="downloads"],.uvd-user-file-browser-shell) .card{background:var(--ph-card-surface)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] .welcome-section--profile{background:linear-gradient(120deg,var(--ph-card-raised),var(--ph-card-surface) 80%)!important}
html[data-uvd-skin="photon"][data-uvd-skin][data-uvd-skin] :is(.notification-container,.login-head,.pr-head,.live-hero,.uvd-user-page-head,.uvd-public-utility-card-head){background:var(--ph-card-raised)!important}
