/* Pawero Shared UI 2.0 — native Pinna shell + compatibility layer.
   Original Pinna compiled stylesheet loaded first. No demo JavaScript. */
:root{--font-sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--color-brand:#a13e00;--color-brand-strong:#803100;--color-on-brand:#fff;--pw2-nav:56px;--pw2-pad:clamp(16px,2vw,32px);--pw2-ink:#191919;--pw2-muted:#575757;--pw2-bg:#f7f7f7;--pw2-card:#fff;--pw2-line:#dedede;--color-bg:var(--pw2-bg);--color-fg:var(--pw2-ink);--color-fg-muted:var(--pw2-muted);--color-surface:var(--pw2-card);--color-surface-2:#ededed;--color-surface-3:#dedede;--color-line:var(--pw2-line)}
[data-unit=legal],[data-unit=client]{--color-brand:#805519;--color-brand-strong:#684410}
[data-unit=institute]{--color-brand:#103980;--color-brand-strong:#0c2b62}
[data-unit=digital]{--color-brand:#17647e;--color-brand-strong:#124d60}
[data-theme=dark]{--pw2-bg:#111;--pw2-card:#191919;--pw2-ink:#f7f7f7;--pw2-muted:#bbb;--pw2-line:#444;--color-surface-2:#292929;--color-surface-3:#393939;--color-brand:#ffad72;--color-on-brand:#191919;--color-brand-strong:#ffd2a9}
[data-theme=dark][data-unit=legal],[data-theme=dark][data-unit=client]{--color-brand:#f0be65;--color-brand-strong:#ffe1a9}
[data-theme=dark][data-unit=institute]{--color-brand:#91b5fb;--color-brand-strong:#c5d7ff}
[data-theme=dark][data-unit=digital]{--color-brand:#75d5ef;--color-brand-strong:#b8ebf7}
html{scroll-padding-top:88px;scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom));font-family:var(--font-sans)}
body.pw-body,body.pw2-foundation{font-family:var(--font-sans);font-size:var(--text-base,16px);line-height:1.55;color:var(--pw2-ink);background:var(--pw2-bg)}
.pw-wrap{width:min(calc(100% - 2 * var(--pw2-pad)),72rem);margin-inline:auto}
.pw-header,.legal-header,.pw2-foundation>header{position:sticky;top:0;z-index:30;background:var(--pw2-card);background:color-mix(in srgb,var(--pw2-card) 88%,transparent);backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid var(--pw2-line);box-shadow:none}
.pw-head,.legal-head,.pw2-foundation>header{min-height:64px;gap:12px}
.pw-brand,.pw2-foundation .brand{font-family:var(--font-sans);font-size:clamp(16px,1.5vw,20px);font-weight:700;letter-spacing:-.035em;gap:10px;line-height:1.18;min-width:0}
.pw-brand small{display:none}.pw-brand span,.pw2-foundation .brand span{min-width:0}
.pw-head nav,.legal-head nav{gap:4px;flex-wrap:wrap}.pw-head nav a:not(.pw-btn),.legal-head nav a:not(.pw-btn){display:inline-flex;align-items:center;min-height:40px;padding:8px 11px;border-radius:999px;font-size:var(--text-sm,14px);border-bottom:0}
.pw-head nav a:not(.pw-btn):hover,.legal-head nav a:not(.pw-btn):hover,.legal-head nav a[aria-current=page]{background:var(--color-surface-2);border-bottom:0}
.legal-group{display:none}
.pw-btn,.legal-gold,.legal-outline,.pw2-foundation button,.portal-main button,.pw-card form button{font-family:var(--font-sans);border-radius:999px;min-height:44px;box-shadow:none;font-weight:600;font-size:var(--text-sm,14px)}
.pw-btn.primary,.pw2-foundation button,.pw-card form button:not(.tab){background:var(--color-brand);color:var(--color-on-brand);border-color:transparent;box-shadow:none}
.pw-btn.primary:hover,.pw2-foundation button:hover{background:var(--color-brand-strong)}
.pw-card,.service,.practice-grid article,.unit-empty,.account-panel,.unit-account,.portal-banner,.portal-panel,.empty-state,.contact-panel{border-radius:var(--radius-lg,16px);box-shadow:none}
.pw-card,.service,.account-panel,.unit-account{padding:clamp(18px,2.5vw,28px)}
.pw-section,.legal-section{padding-top:clamp(32px,5vw,56px)}
.pw-hero,.corp-hero,.unit-hero,.legal-hero{min-height:0;padding:clamp(24px,5vw,56px);border-radius:var(--radius-xl,24px);border-bottom-width:0;gap:clamp(18px,3vw,36px)}
.pw-hero h1,.corp-hero h1,.unit-hero h1,.hero-copy h1,.legal-inner h1,.portal-banner h1{font-family:var(--font-sans);font-size:var(--text-display,clamp(36px,4vw,52px));line-height:1.1;letter-spacing:-.035em;font-weight:700;text-wrap:balance}
.pw-section-head h2,.legal-section h2,.empty-state h2,.about h2,.account-panel h2,.contact h2,.unit-account h2{font-family:var(--font-sans);font-size:var(--text-3xl,32px);font-weight:650;letter-spacing:-.025em;line-height:1.2}
.service h3,.practice-grid h3,.pw-card h3{font-family:var(--font-sans);font-size:var(--text-xl,21px);font-weight:600}
.pw-kicker,.legal-eyebrow{letter-spacing:.08em;font-size:var(--text-xs,12px)}
.pw-lead,.hero-copy>p:not(.legal-eyebrow){font-size:var(--text-base,16px)}
.pw-card input,.pw-card select,.pw-card textarea,.pw2-foundation input:not([type=checkbox]):not([type=hidden]),.pw2-foundation select,.pw2-foundation textarea{border-radius:var(--radius-md,12px);min-height:44px;font-size:16px}
.unit-card{grid-template-rows:auto 56px auto 1fr auto;min-height:0;border-top:1px solid var(--pw2-line)}
.orb{width:auto;aspect-ratio:auto;border:0;box-shadow:none;background:none}.corp-art>span{display:none}
.pw2-tabs.tabbar{display:none}.pw2-sheet{color:var(--pw2-ink)}.pw2-sheet h2{font-family:var(--font-sans);font-size:20px;margin:0;border:0;padding:0}.pw2-sheet nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0;padding:0}.pw2-sheet .menu-item{font-size:14px;overflow-wrap:anywhere;text-decoration:none}.pw2-sheet .btn{padding:0;min-width:44px;width:44px;color:var(--pw2-ink);background:var(--color-surface-2);border:0}.pw2-tabs .tab{padding:4px 2px;background:transparent;border:0;box-shadow:none;min-width:0;width:auto;white-space:normal;text-decoration:none;font-size:12px;line-height:1.2;border-radius:0;color:var(--pw2-muted)}.pw2-tabs .tab[aria-current=page]{color:var(--color-brand);font-weight:650}.pw2-tabs .tab .icon{width:23px;height:23px}.pw2-tabs .tab:focus-visible{outline-offset:-3px}.pw2-tabs .tab:hover{background:var(--color-surface-2)}
.pw2-foundation>header{padding:8px max(16px,calc((100% - 1152px)/2));flex-wrap:wrap}.pw2-account-desktop{margin-left:auto;gap:4px}.pw2-foundation main{width:min(1152px,calc(100% - 2 * var(--pw2-pad)));margin:clamp(24px,4vw,48px) auto}.pw2-foundation main section{border:1px solid var(--pw2-line);box-shadow:none;max-width:560px;padding:clamp(20px,4vw,36px)}.pw2-foundation main section:has(article),.pw2-foundation main section:has(table){max-width:none}.pw2-foundation h1{font-size:var(--text-3xl,32px);font-weight:700;letter-spacing:-.03em}.pw2-foundation h2{font-size:var(--text-2xl,26px);font-weight:650}.pw2-foundation article{border-radius:16px}.pw2-foundation .metrics article{background:#f7f7f7;border:1px solid var(--pw2-line);color:var(--pw2-muted)}.pw2-foundation .metrics strong{color:var(--pw2-ink)}.pw2-foundation .stage{letter-spacing:.04em}.pw2-foundation>footer{width:min(1152px,calc(100% - 2 * var(--pw2-pad)))}
@media(max-width:1023px){
 @supports selector(:popover-open){body.pw2-has-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.pw2-has-nav .pw2-tabs.tabbar{display:grid;background:color-mix(in srgb,var(--pw2-card) 90%,transparent);grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:column;z-index:40}.pw2-has-nav .pw-head>nav,.pw2-has-nav .legal-head>nav,.pw2-has-nav .pw2-account-desktop,.pw2-has-nav .portal-nav{display:none}.pw2-has-nav .portal-shell{grid-template-columns:1fr}.pw2-has-nav .portal-main{min-width:0}}
 .pw-head,.legal-head,.pw2-foundation>header{min-height:60px}.pw2-foundation>header{padding:8px 16px}.pw-head,.legal-head{flex-wrap:wrap}.legal-head .pw-btn{margin-left:auto}.pw2-sheet .menu-item{min-height:48px}
}
@media(max-width:560px){.pw-head,.legal-head,.pw2-foundation>header{min-height:56px}.pw-brand,.pw2-foundation .brand{font-size:16px}.legal-brand{max-width:calc(100% - 105px)}.legal-head .pw-btn{font-size:12px;padding:8px 12px}.pw2-sheet nav{grid-template-columns:1fr}.pw2-foundation .stage{font-size:10px;padding:4px 7px}.pw-hero,.corp-hero,.legal-hero,.unit-hero{padding:24px 20px;grid-template-columns:1fr}.pw2-foundation .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.pw2-foundation .metrics article{padding:10px 8px;font-size:11px;overflow-wrap:anywhere}.pw2-foundation .metrics strong{font-size:23px}.pw-footer{margin-top:32px}.pw-card{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pw2-sheet,.pw2-tabs .tab{transition:none}}
/* narrow screens and fallback for browsers without Popover API */
@media(max-width:560px){.practice-grid{grid-template-columns:minmax(0,1fr)}.practice-grid h3{overflow-wrap:anywhere}.legal-head{padding-block:8px}.legal-brand{max-width:none}.legal-head>.pw-btn{margin-left:auto}}
@supports not selector(:popover-open){.pw2-tabs.tabbar,.pw2-sheet{display:none}.pw2-has-nav .pw-head nav a.pw-navlink{display:inline-flex}.pw2-has-nav .pw-head nav{display:flex;flex-wrap:wrap}}
