/* ========================================================================== 
   SUNARROW V17 — exact portrait, theme-aware logos, semantic profile markers
   ========================================================================== */
.operator-photo-wrap {
  background: radial-gradient(circle at 50% 34%, rgba(244,187,105,.16), transparent 33%), linear-gradient(180deg,rgba(255,255,255,.035),rgba(4,20,13,.18));
}
.operator-photo-wrap img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 28px rgba(0,0,0,.24)); }
html[data-theme="light"] .operator-photo-wrap { background: radial-gradient(circle at 50% 34%,rgba(236,154,73,.18),transparent 34%),linear-gradient(180deg,rgba(255,252,246,.88),rgba(236,222,199,.50)); }
html[data-theme="light"] .operator-photo-wrap img { filter: drop-shadow(0 22px 28px rgba(70,49,28,.17)); }
.themed-logo { display:grid; width:100%; min-width:0; }
.themed-logo-panel { width:100%; height:100%; min-width:0; display:grid; place-items:center; overflow:hidden; }
.themed-logo-panel img { display:block; width:auto; max-width:100%; height:auto; max-height:100%; object-fit:contain; opacity:1!important; filter:none!important; }
.themed-logo-dark { display:none!important; }
html:not([data-theme="dark"]) .themed-logo-light { display:grid!important; }
html:not([data-theme="dark"]) .themed-logo-dark { display:none!important; }
html[data-theme="dark"] .themed-logo-light { display:none!important; }
html[data-theme="dark"] .themed-logo-dark { display:grid!important; }
.themed-logo-panel.mode-transparent { background:transparent; }
.themed-logo-panel.mode-plate { background:color-mix(in srgb,var(--surface) 92%,transparent); }
.themed-logo-panel.mode-light { background:#fff9ef; }
.themed-logo-panel.mode-dark { background:#0b1d14; }
.themed-logo-panel.mode-mono-light img { filter:grayscale(1) brightness(2.5) contrast(1.15)!important; }
.themed-logo-panel.mode-mono-dark img { filter:grayscale(1) brightness(.32) contrast(1.5)!important; }
.project-tab-logo { width:100%; min-height:54px; margin:0 0 7px; padding:0; border:0; border-radius:13px; background:transparent; overflow:hidden; }
.project-tab-logo .themed-logo-panel { min-height:54px; padding:8px 12px; border:1px solid rgba(255,244,221,.11); border-radius:13px; }
.project-tab-logo img { max-height:36px; }
.project-tab strong { margin-top:1px; }
.project-brand-badge-host { display:block; max-width:min(380px,100%); }
.project-brand-badge { width:100%; min-height:66px; padding:0; border:0; border-radius:16px; background:transparent; overflow:hidden; }
.project-brand-badge .themed-logo-panel { min-height:66px; padding:11px 18px; border:1px solid rgba(255,244,221,.12); border-radius:16px; }
.project-brand-badge img { max-height:43px; }
.trust-logo-visual { width:100%; min-height:104px; padding:0; border:0; border-radius:15px; background:transparent!important; overflow:hidden; }
.trust-logo-visual .themed-logo-panel { min-height:104px; padding:17px 20px; border:1px solid var(--line); border-radius:15px; }
.trust-logo-visual img { max-height:68px; }
.trust-logo { min-height:226px; }
.trust-logo-copy strong { font-size:17px; }
.trust-logo-copy small { font-size:13px; line-height:1.48; }
.trust-reference-note { grid-template-columns:72px minmax(0,1fr)!important; align-items:center; gap:24px; padding:28px 32px; }
.trust-reference-note>i { display:none!important; }
.reference-mark { width:64px; height:52px; display:grid; place-items:center; border-left:3px solid var(--orange); background:linear-gradient(135deg,color-mix(in srgb,var(--orange) 12%,transparent),color-mix(in srgb,var(--green) 9%,transparent)); }
.reference-mark svg { width:38px; height:38px; fill:none; stroke:var(--orange-soft); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.profile-card .card-code i { width:24px; height:2px; border:0; border-radius:0; background:linear-gradient(90deg,var(--orange),var(--green-bright)); box-shadow:none; }
.profile-card .card-icon { width:106px; height:72px; margin:36px 0 30px; padding:10px 14px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--orange) 32%,var(--line)); border-radius:15px 4px 15px 4px; color:var(--orange-soft); background:linear-gradient(135deg,color-mix(in srgb,var(--orange) 9%,transparent),transparent 58%),color-mix(in srgb,var(--surface-2) 82%,transparent); box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 30px rgba(0,0,0,.08); transform:none!important; }
.profile-card .card-icon svg { width:78px; height:54px; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.profile-card:hover .card-icon { transform:translateY(-3px)!important; border-color:var(--orange-soft); box-shadow:0 14px 36px color-mix(in srgb,var(--orange) 14%,transparent); }
.profile-card h3 { max-width:18ch; }
.formula-panel.has-profile-photo { position:relative; min-height:210px; padding-right:min(34vw,420px); overflow:hidden; }
.formula-copy { position:relative; z-index:2; }
.profile-photo-accent { position:absolute; right:clamp(18px,4vw,64px); bottom:-42px; width:min(330px,31vw); height:270px; margin:0; pointer-events:none; }
.profile-photo-accent img { width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 24px 28px rgba(0,0,0,.20)); }
.finance-education-head { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.34fr); align-items:end; gap:30px; }
.finance-photo-accent { height:300px; margin:-32px 0 -18px; display:grid; align-items:end; justify-items:center; overflow:hidden; }
.finance-photo-accent img { width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 26px 32px rgba(0,0,0,.20)); }
.finance-education-copy { max-width:920px; }
@media(max-width:1024px){.project-tab-logo{min-height:48px}.project-tab-logo .themed-logo-panel{min-height:48px;padding:7px 10px}.project-tab-logo img{max-height:31px}.trust-logo-visual .themed-logo-panel{min-height:94px;padding:15px 16px}.trust-logo-visual img{max-height:60px}.formula-panel.has-profile-photo{padding-right:300px}.profile-photo-accent{width:270px}}
@media(max-width:820px){.project-tab-logo{min-height:44px}.project-tab-logo .themed-logo-panel{min-height:44px}.project-tab-logo img{max-height:28px}.profile-card .card-icon{width:94px;height:64px;margin:28px 0 24px}.profile-card .card-icon svg{width:68px;height:46px}.formula-panel.has-profile-photo{min-height:240px;padding-right:230px}.profile-photo-accent{right:0;width:230px;height:250px}.finance-education-head{grid-template-columns:1fr}.finance-photo-accent{height:250px;margin:-10px 0 -12px;justify-items:end}.finance-photo-accent img{width:min(360px,70vw)}}
@media(max-width:640px){.project-tab-logo{display:none}.trust-logo-visual{min-height:88px}.trust-logo-visual .themed-logo-panel{min-height:88px;padding:13px 15px}.trust-logo-visual img{max-height:54px}.trust-reference-note{grid-template-columns:1fr!important;gap:16px;padding:24px}.reference-mark{width:58px;height:46px}.formula-panel.has-profile-photo{min-height:390px;padding-right:24px;padding-bottom:215px}.profile-photo-accent{left:50%;right:auto;bottom:-24px;width:250px;height:250px;transform:translateX(-50%)}.finance-photo-accent{height:215px}.finance-photo-accent img{width:min(300px,82vw)}}
