/* Public visual theme: original assets, frosted desktop panels, mobile photo header. */
body:is(.public-portal,.public-programare){background:#101d27!important;position:relative;isolation:isolate}
body:is(.public-portal,.public-programare)::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#06131d26,#101d2740 55%,#101d27),url('../img/gentrom-statie-user-sunset.png') center/cover no-repeat;pointer-events:none}
body:is(.public-portal,.public-programare) .portal-shell{gap:16px!important;overflow:visible!important}
body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero{height:auto!important;min-height:0!important;padding:18px 24px 24px!important;margin:0!important;background:linear-gradient(180deg,#06131dcc,#06131d66,transparent)!important;overflow:visible!important;border:0!important}
body:is(.public-portal,.public-programare) .hero-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:min(1120px,100%)!important;gap:12px!important;height:auto!important;padding:0!important}
body:is(.public-portal,.public-programare) .hero-top{display:flex!important;order:0!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0!important}
body:is(.public-portal,.public-programare) .hero-brand{display:inline-flex;flex:none;border-radius:10px;transition:filter .25s,transform .25s}
body:is(.public-portal,.public-programare) .hero-brand .portal-brand-logo{display:block!important;content:normal!important;width:170px!important;height:60px!important;max-width:100%!important;object-fit:contain!important;filter:drop-shadow(0 0 6px #ff950055) drop-shadow(0 0 17px #ff850033)}
body:is(.public-portal,.public-programare) .hero-copy{order:1!important;position:static!important;transform:none!important;max-width:100%!important;margin:0!important}
body:is(.public-portal,.public-programare) .hero-copy h1{font-size:clamp(28px,3vw,40px)!important;text-shadow:0 2px 18px #0009}
body:is(.public-portal,.public-programare) .portal-shell>.p-card{background:rgba(255,255,255,.84)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);border:1px solid #ffffffb3!important;box-shadow:0 18px 55px #0004!important;margin:0 auto!important}
body:is(.public-portal,.public-programare) .gc-layout,body:is(.public-portal,.public-programare) .gc-month,body:is(.public-portal,.public-programare) .gc-side{background:transparent!important}
body:is(.public-portal,.public-programare) .p-card :is(input,select,textarea){background:#fff!important}
body.public-portal.step-wrong #corrections{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:600px!important;margin:0 auto!important}
body.public-portal.step-wrong #corrections :is(input,textarea,button){width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;margin:0 0 8px!important}
body.public-portal.step-wrong #corrections textarea{min-height:90px}
body:is(.public-portal,.public-programare) .portal-shell .p-card.calendar-card .gc-grid .gc-cell{height:40px!important;min-height:40px!important;padding:3px 0 13px!important;line-height:20px!important;margin:0!important;box-sizing:border-box!important}
body:is(.public-portal,.public-programare) .gc-grid .gc-cell i{bottom:4px!important;width:5px!important;height:5px!important}
body:is(.public-portal,.public-programare) :is(button,a,input,select,textarea){transition:box-shadow .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease!important}
body:is(.public-portal,.public-programare) :is(input,select,textarea):focus-visible{outline:2px solid #ff8500!important;outline-offset:2px;box-shadow:0 0 0 5px #ff85001c!important}
@keyframes gentromEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
body:is(.public-portal,.public-programare) .hero-top{animation:gentromEnter .45s ease-out}
body:is(.public-portal,.public-programare) .portal-shell>.p-card{animation:gentromEnter .55s ease-out}
body:is(.public-portal,.public-programare) dialog[open]{animation:gentromEnter .2s ease-out}
@media(hover:hover){body:is(.public-portal,.public-programare) .hero-brand:hover{filter:drop-shadow(0 0 12px #ff850066);transform:translateY(-2px)}body:is(.public-portal,.public-programare) .footer-inner a:hover{transform:translateY(-2px)}}
@media(max-width:760px){
 body:is(.public-portal,.public-programare)::before{display:none}
 body:is(.public-portal,.public-programare){background:#101d27!important}
 body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero{width:100%!important;min-height:270px!important;padding:16px 16px 32px!important;box-sizing:border-box!important;background:linear-gradient(180deg,#06131d44 0%,#101d2722 50%,#101d27 100%),url('../img/gentrom-statie-user-sunset.png') center/cover no-repeat!important}
 body:is(.public-portal,.public-programare) .hero-top{flex-wrap:wrap!important;gap:12px!important}
 body:is(.public-portal,.public-programare) .hero-brand .portal-brand-logo{width:145px!important;height:52px!important}
 body:is(.public-portal,.public-programare) .hero-links{flex-wrap:wrap!important;gap:8px!important}
 body:is(.public-portal,.public-programare) .hero-links a{min-height:40px!important;box-sizing:border-box!important;padding:10px!important}
 body:is(.public-portal,.public-programare) .hero-links a strong{font-size:13px!important}
 body:is(.public-portal,.public-programare) .hero-inner{gap:16px!important}
 body:is(.public-portal,.public-programare) .portal-shell>.p-card{background:#fff!important;backdrop-filter:none;-webkit-backdrop-filter:none;width:calc(100% - 24px)!important;margin:0 auto!important}
 body:is(.public-portal,.public-programare) .gentrom-footer{margin-top:12px!important}
}
/* A full, uncropped photograph introduces the page before revealing the interface. */
@media(min-width:761px) and (max-height:850px){
 body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero{padding:12px 24px!important}
 body:is(.public-portal,.public-programare) .hero-inner{display:grid!important;grid-template-columns:150px 1fr auto!important;align-items:center!important;gap:18px!important}
 body:is(.public-portal,.public-programare) .hero-top{display:contents!important}
 body:is(.public-portal,.public-programare) .hero-brand{grid-column:1;grid-row:1}
 body:is(.public-portal,.public-programare) .hero-brand .portal-brand-logo{width:150px!important;height:52px!important}
 body:is(.public-portal,.public-programare) .hero-copy{grid-column:2;grid-row:1}
 body:is(.public-portal,.public-programare) .hero-copy h1{font-size:30px!important}
 body:is(.public-portal,.public-programare) .hero-links{grid-column:3;grid-row:1}
 body:is(.public-portal,.public-programare) .portal-shell{gap:12px!important}
 body:is(.public-portal,.public-programare) .portal-shell>.p-card{padding:18px 24px!important}
}
@keyframes gentromPhotoIntro{0%,74.074%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
body:is(.public-portal,.public-programare)::after{content:"";position:fixed;inset:0;z-index:10000;background:#101d27 url('../img/gentrom-statie-user-sunset.png') center/contain no-repeat;pointer-events:none;animation:gentromPhotoIntro 2.7s ease-in-out both}
body:is(.public-portal,.public-programare) .hero-top,body:is(.public-portal,.public-programare) .hero-copy,body:is(.public-portal,.public-programare) .portal-shell>.p-card{animation-delay:2s;animation-fill-mode:backwards}
html.gentrom-intro-seen body::after{display:none!important}
html.gentrom-intro-seen body:is(.public-portal,.public-programare) .hero-top,html.gentrom-intro-seen body:is(.public-portal,.public-programare) .hero-copy,html.gentrom-intro-seen body:is(.public-portal,.public-programare) .portal-shell>.p-card{animation-delay:0s!important}
@media(prefers-reduced-motion:reduce){body:is(.public-portal,.public-programare)::after{display:none}body:is(.public-portal,.public-programare) *,body:is(.public-portal,.public-programare) *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
