/* TASK650: native content keeps its business styles; shared Information CSS owns workspace geometry. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .information-detail-panel > .svoa-frozen-header > .atosy-subject-detail-v5-hero{flex:0 0 auto;position:relative;top:auto;margin:0;border-radius:0;padding:14px 16px}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) [data-original-view] > :is(main,form){height:auto!important;max-height:none!important;overflow:visible!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;width:100%!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .information-detail-content{padding:0!important}
/* Canonical header track: 149px desktop / 139px narrow, including native actions and identity. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .information-detail-panel > .svoa-frozen-header > .atosy-subject-detail-v5-hero{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:12px!important;height:149px!important;min-height:149px!important;flex-basis:149px!important;padding:14px 16px!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-topline{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 40px!important;margin:0!important;padding:0!important;gap:8px!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-profile{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;min-width:0!important;gap:16px!important;flex:1 1 auto!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-profile > :last-child{min-width:0!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-name{font-size:22px!important;line-height:30px!important;margin:0!important;white-space:nowrap!important;overflow:auto!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-avatar{width:52px!important;height:52px!important;flex:0 0 52px!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important}
@media(max-width:600px){
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .information-detail-panel > .svoa-frozen-header > .atosy-subject-detail-v5-hero{height:139px!important;min-height:139px!important;flex-basis:139px!important;padding:12px!important;gap:10px!important}
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-avatar{width:40px!important;height:40px!important;flex-basis:40px!important}
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-eyebrow{font-size:9px!important;letter-spacing:.5px!important;white-space:nowrap!important}
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-name{font-size:20px!important;line-height:28px!important}
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-actions button{padding-inline:8px!important;min-width:32px!important;white-space:nowrap!important}
}
/* Match the canonical host's measured inherited text fill inside its ShadowRoot. */
.svoa-native-profile > .information-liquid-diamond{-webkit-text-fill-color:#fff}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-meta{margin:4px 0 0!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;min-width:0!important;gap:8px!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-object-hero-copy-v354a{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:4px 8px!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-object-hero-copy-v354a h2{grid-column:1/-1!important;grid-row:1!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-object-hero-label-v354a{grid-column:1!important;grid-row:2!important;margin:0!important;align-self:center!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-object-summary-chips-v354a{grid-column:2!important;grid-row:2!important;margin:0!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-avatar{min-width:52px!important;min-height:52px!important;max-height:52px!important}
@media(max-width:600px){html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .atosy-subject-detail-v5-avatar{min-width:40px!important;min-height:40px!important;max-height:40px!important}}
/* TASK651: navigation is a nonshrinking header sibling, never a scroll body. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation{flex:0 0 auto!important;min-height:56px!important;position:static!important;margin:0!important;padding:0 16px!important;overflow:hidden!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .information-detail-content{position:relative!important;isolation:isolate}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile [data-original-view]{display:flow-root;border-radius:var(--information-inner-radius);overflow:clip}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile :is(.atosy-subject-detail-v5-edit-section,.atosy-subject-detail-v5-section,.atosy-subject-detail-v5-edit-message){border-radius:var(--information-inner-radius)}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile [data-original-view] > main{border-radius:var(--information-inner-radius)}
/* Native Object's legacy modal layer covered the application navigation. */
html body :is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay).svoa-native-profile.svoa-native-profile.svoa-native-profile{z-index:80!important}
/* Keep all profile modes below the established application header/menu layer. */
html body #information-detail-overlay#information-detail-overlay#information-detail-overlay.information-diamond-enabled{z-index:80!important}

/* TASK652: the Information shell owns the continuous painted glass surface.
   Native controls/cards keep their semantic colors and original handlers. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) .svoa-frozen-header > .atosy-subject-detail-v5-hero {
 background:transparent!important;border:0!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-header > .atosy-subject-detail-v5-hero::after {display:none!important}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile:is(#atosy-object-create-v347a,.atosy-subject-detail-v5-overlay) [data-original-view] > :is(main,form) {
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;border-radius:var(--information-inner-radius)!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation {
 padding:0 16px 8px!important;min-height:0!important;overflow:visible!important;
}

/* V1017NAV — Profile navigation visual parity with V1015 Discussion/SVOA switch.
   Scope: existing frozen native profile tablist only; tab routing remains unchanged. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 display:flex!important;
 align-items:stretch!important;
 gap:2px!important;
 padding:2px!important;
 margin:0!important;
 border:1px solid #315f91!important;
 border-radius:15px!important;
 background:linear-gradient(155deg,#133762,#0b2b56)!important;
 box-shadow:none!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:thin;
 scrollbar-color:#315f91 transparent;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
 flex:1 0 0!important;
 box-sizing:border-box!important;
 min-width:92px!important;
 min-height:46px!important;
 height:46px!important;
 margin:0!important;
 padding:0 10px!important;
 border:1px solid transparent!important;
 border-radius:13px!important;
 background:transparent!important;
 color:#bdd2ed!important;
 font:750 13px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 white-space:nowrap!important;
 text-align:center!important;
 cursor:pointer!important;
 box-shadow:none!important;
 transition:background .16s ease,color .16s ease,box-shadow .16s ease!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"][aria-selected="true"]{
 color:#fff!important;
 border-color:#4cbdff!important;
 background:linear-gradient(120deg,#15b7f6,#1264f8)!important;
 box-shadow:0 3px 14px #0caaf47a,inset 0 1px 0 #ffffff44!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:not([aria-selected="true"]):hover{
 background:rgba(56,121,192,.2)!important;
 color:#f0f7ff!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:focus-visible{
 outline:2px solid #a7e8ff!important;
 outline-offset:-3px!important;
}
@media(max-width:720px){
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
  min-width:96px!important;
  font-size:12px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
  transition:none!important;
 }
}

/* V1018GRID — lock every native profile tab to an equal-width grid track.
   Prevent selected SVOA tab from consuming the row and clipping following tabs. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 grid-auto-flow:column!important;
 gap:2px!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 box-sizing:border-box!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs:has(> button[data-tab="5"]){
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 grid-column:auto!important;
 min-width:0!important;
 width:100%!important;
 max-width:100%!important;
 flex:none!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
@media(max-width:680px){
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
  grid-template-columns:repeat(5,minmax(94px,1fr))!important;
 }
 html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs:has(> button[data-tab="5"]){
  grid-template-columns:repeat(6,minmax(94px,1fr))!important;
 }
}

/* V1020ROUND — inset every profile tab from its outer rail border.
   Keep V1018 equal grid columns and existing tab routing intact. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 padding:6px!important;
 gap:5px!important;
 border-radius:23px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
 border-radius:17px!important;
}
/* Active glow stays inside the rounded rail instead of touching its frame. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"][aria-selected="true"]{
 box-shadow:0 2px 10px rgba(12,170,244,.43),inset 0 1px 0 rgba(255,255,255,.25)!important;
}

/* V1021EDGE — independent physical edge gutters for the first/last tab.
   V1020's rail padding alone did not produce enough visual separation.
   Size the edge buttons within their own grid tracks: no transform,
   no overflow, no displacement of the central three buttons. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 padding:8px 10px!important;
 column-gap:5px!important;
 border-radius:25px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:first-child{
 justify-self:end!important;
 width:calc(100% - 8px)!important;
 max-width:calc(100% - 8px)!important;
 margin-left:8px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:last-child{
 justify-self:start!important;
 width:calc(100% - 8px)!important;
 max-width:calc(100% - 8px)!important;
 margin-right:8px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
 border-radius:19px!important;
}


/* V2047 — Full pill outline and tabs in the native SVOA profile toolbar. */
html body .svoa-native-profile .svoa-tabs,
html body .svoa-native-profile .svoa-tabs > button[role="tab"]{
 border-radius:9999px!important;
}


/* V2049 — Outrank the triple-class frozen-navigation rules from V1021EDGE.
   The visible outer rail and every individual tab must be full pills. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs,
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]{
 border-radius:9999px!important;
}


/* V2050 — Equal visual inset on all four sides of the profile tab rail.
   V1021EDGE adds an extra 8px left/right offset to edge buttons; remove
   those offsets while preserving the five equal grid tracks and routing. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 padding:8px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:first-child,
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:last-child{
 width:100%!important;
 max-width:100%!important;
 margin-left:0!important;
 margin-right:0!important;
 justify-self:stretch!important;
}


/* V2052 — Match horizontal inset to 8px top/bottom inset on profile tab rail.
   Keep fully rounded V2049 pills and 8px vertical padding. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs{
 padding:8px!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:first-child,
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:last-child{
 width:100%!important;
 max-width:100%!important;
 margin:0!important;
 justify-self:stretch!important;
 border-radius:9999px!important;
}

/* V2053 — Physically reserve side gutters inside the native profile tab rail.
   A separate first/last track inset prevents the active pill from touching
   the rounded frame even when competing grid/button rules override padding. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:first-child{
 width:calc(100% - 8px)!important;
 max-width:calc(100% - 8px)!important;
 margin-left:8px!important;
 margin-right:0!important;
 justify-self:end!important;
}
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:last-child{
 width:calc(100% - 8px)!important;
 max-width:calc(100% - 8px)!important;
 margin-right:8px!important;
 margin-left:0!important;
 justify-self:start!important;
}

/* V2054 — Slightly reduce the physical left inset of the Overview pill. */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:first-child{
 width:calc(100% - 4px)!important;
 max-width:calc(100% - 4px)!important;
 margin-left:4px!important;
}

/* V2055 — Match Settings right inset to Overview left inset (4px). */
html body .svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation .svoa-tabs > button[role="tab"]:last-child{
 width:calc(100% - 4px)!important;
 max-width:calc(100% - 4px)!important;
 margin-right:4px!important;
 margin-left:0!important;
 justify-self:start!important;
}
