/* Full profile PAGE only. Native modal/branch/shell selectors are not changed. */
/* Main-owned, body-mounted native host. It is not a legacy conversation child
   and preserves that pane's feed/composer/scroll rather than reparenting them. */
.native-participant-profile-page-host { width: min(1128px,calc(100vw - 32px)); max-width: none; height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); min-width: 0; min-height: 0; margin: auto; padding: 0; border: 1px solid var(--workspace-line); border-radius: 16px; background: var(--workspace-bg); color: var(--workspace-text); overflow: hidden; }
.native-participant-profile-page-host[hidden] { display: none!important; }
.native-participant-profile-page-host::backdrop { background: rgb(0 0 0 / 45%); }
@media(max-width:560px) { .native-participant-profile-page-host { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; } }
.lacuna-profile-page { color: var(--workspace-text); background: var(--workspace-bg); font: inherit; font-size: 14px; line-height: 1.5; width: 100%; max-width: 1080px; height: 100%; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 auto; padding: 28px; display: grid; align-content: start; gap: 24px; overflow-wrap: anywhere; }
.lacuna-profile-page * { box-sizing: border-box; }
.lacuna-profile-page [hidden] { display: none!important; }
.lacuna-profile-page p { margin: 0; }
.lacuna-profile-page h1 { margin: 0; font-size: 28px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }
.lacuna-profile-page h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.lacuna-profile-page__top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.lacuna-profile-page__back { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; min-height: 36px; font: inherit; color: var(--workspace-blue); background: transparent; border: 1px solid var(--workspace-line); border-radius: 8px; }
.lacuna-profile-page__back:disabled { opacity: .6; cursor: not-allowed; }
.lacuna-profile-page__back:focus-visible,.lacuna-profile-page summary:focus-visible { outline: 2px solid var(--workspace-blue); outline-offset: 3px; }
.lacuna-profile-page h1:focus { outline: 2px solid var(--workspace-blue); outline-offset: 5px; border-radius: 2px; }
.lacuna-profile-page__eyebrow { color: var(--workspace-muted); font-size: 12px; line-height: 1.4; }
.lacuna-profile-page__body { display: grid; gap: 20px; min-width: 0; }
.lacuna-profile-page__hero { display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: center; gap: 24px; padding: 24px; min-width: 0; border: 1px solid var(--workspace-line); border-radius: 16px; background: var(--workspace-panel); }
.lacuna-profile-page__identity { display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: center; gap: 20px; min-width: 0; }
.lacuna-profile-page__avatar { display: grid; justify-items: center; gap: 8px; text-align: center; }
.lacuna-profile-page__initials { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--workspace-line-bright); background: var(--workspace-raised); color: var(--workspace-text); font-size: 28px; font-weight: 500; }
.lacuna-profile-page__avatar small { font-size: 11px; line-height: 1.4; }
.lacuna-profile-page__name { display: grid; gap: 9px; min-width: 0; }
.lacuna-profile-page__account-role { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: var(--workspace-muted); }
.lacuna-profile-page__account-role strong { font-size: 12px; font-weight: 500; color: var(--workspace-text); border: 1px solid var(--workspace-line); background: var(--workspace-raised); border-radius: 6px; padding: 3px 7px; }
.lacuna-profile-page__ctdl { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--workspace-line-bright); border-radius: 12px; background: var(--workspace-raised); }
.lacuna-profile-page__ctdl > .lacuna-profile-page__eyebrow { color: var(--workspace-blue); }
.lacuna-profile-page__ctdl-value { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.lacuna-profile-page__collections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; min-width: 0; }
.lacuna-profile-page__collection { display: grid; align-content: start; gap: 12px; padding: 20px; min-height: 174px; min-width: 0; border: 1px solid var(--workspace-line); border-radius: 12px; background: var(--workspace-panel); }
.lacuna-profile-page__section-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lacuna-profile-page__section-heading svg { color: var(--workspace-blue); flex: 0 0 20px; }
.lacuna-profile-page__state-label { justify-self: start; padding: 3px 7px; font-size: 11px; color: var(--workspace-muted); border: 1px solid var(--workspace-line); border-radius: 5px; }
.lacuna-profile-page__muted { color: var(--workspace-muted); font-size: 13px; line-height: 1.45; }
.lacuna-profile-page__footnote { color: var(--workspace-muted); font-size: 12px; line-height: 1.45; }
.lacuna-profile-page__connection { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--workspace-line); border-radius: 12px; background: var(--workspace-panel); }
.lacuna-profile-page__connection-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,.7fr); gap: 20px; }
.lacuna-profile-page__connection-state,.lacuna-profile-page__origin { display: grid; gap: 5px; min-width: 0; }
.lacuna-profile-page__origin { border-left: 1px solid var(--workspace-line); padding-left: 20px; }
.lacuna-profile-page__technical { border-top: 1px solid var(--workspace-line); padding-top: 8px; }
.lacuna-profile-page__technical summary { min-height: 36px; padding: 6px 0; font-size: 12px; color: var(--workspace-muted); cursor: pointer; }
.lacuna-profile-page__technical > p { padding: 6px 0; }
.lacuna-profile-page__notice { padding: 12px; border: 1px solid var(--workspace-line); border-radius: 8px; color: var(--workspace-amber); font-size: 13px; }
.lacuna-profile-page__unavailable { padding: 28px; min-height: 180px; display: grid; align-content: center; gap: 12px; border: 1px solid var(--workspace-line); border-radius: 16px; background: var(--workspace-panel); }
.lacuna-profile-page__version { font-size: 11px; color: var(--workspace-muted); border-top: 1px solid var(--workspace-line); padding-top: 12px; }
@media(max-width:760px) {
  .lacuna-profile-page { padding: 20px; gap: 20px; }
  .lacuna-profile-page__hero { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 20px; }
  .lacuna-profile-page__ctdl { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 12px; padding: 14px 16px; }
  .lacuna-profile-page__ctdl > p { grid-column: 1 / -1; }
}
@media(max-width:560px) {
  .lacuna-profile-page { padding: 16px; gap: 16px; }
  .lacuna-profile-page__top { gap: 8px; }
  .lacuna-profile-page__top > .lacuna-profile-page__eyebrow { width: 100%; }
  .lacuna-profile-page__back { min-height: 44px; }
  .lacuna-profile-page h1 { font-size: 22px; }
  .lacuna-profile-page__body { gap: 14px; }
  .lacuna-profile-page__hero { padding: 16px; border-radius: 12px; gap: 16px; }
  .lacuna-profile-page__identity { grid-template-columns: 64px minmax(0,1fr); gap: 12px; }
  .lacuna-profile-page__initials { width: 56px; height: 56px; font-size: 22px; }
  .lacuna-profile-page__avatar small { font-size: 10px; }
  .lacuna-profile-page__name { gap: 7px; }
  .lacuna-profile-page__account-role { font-size: 11px; gap: 5px; }
  .lacuna-profile-page__ctdl { padding: 12px; }
  .lacuna-profile-page__ctdl-value { font-size: 22px; }
  .lacuna-profile-page__collections { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .lacuna-profile-page__collection { min-height: 0; padding: 16px; gap: 8px; }
  .lacuna-profile-page__connection { padding: 16px; gap: 12px; }
  .lacuna-profile-page__connection-facts { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .lacuna-profile-page__origin { border-left: 0; border-top: 1px solid var(--workspace-line); padding-left: 0; padding-top: 12px; }
  .lacuna-profile-page__technical summary { min-height: 44px; padding: 10px 0; }
  .lacuna-profile-page__unavailable { padding: 20px; }
}

/* Resident-profile hierarchy from the approved reference, not a generic
   three-empty-panel engineering skeleton. Values still come from parent ports. */
.lacuna-profile-page[data-design=lacuna-r7] { max-width:none;padding:0;gap:0;background:var(--workspace-bg); }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__top { padding:12px 20px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__body { gap:0; }
.lacuna-profile-page__cover { height:170px;background:#08151d url('/assets/ui-design/profile-cover-r7.png?v=808b2b8385d4199c573c') center 40%/cover no-repeat; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__hero { grid-template-columns:minmax(0,1fr) 180px minmax(220px,.65fr);border:0;border-radius:0;padding:0 24px 18px;background:transparent;gap:20px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__identity { grid-template-columns:148px minmax(0,1fr);gap:18px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__avatar { margin-top:-48px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__initials,.lacuna-profile-page__portrait { width:140px;height:140px;border-radius:50%;border:2px solid var(--workspace-blue);background:var(--workspace-raised);object-fit:cover;font-size:42px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__name { padding-top:18px; }
.lacuna-profile-page[data-design=lacuna-r7] h1 { font-size:28px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__ctdl { padding:14px;margin-top:12px; }
.lacuna-profile-page__primary-actions { display:flex;flex-wrap:wrap;gap:10px;padding-top:16px; }
.lacuna-profile-page__primary-actions button { font:inherit;min-height:40px;padding:8px 12px;border:1px solid var(--workspace-line-bright);border-radius:8px;background:var(--workspace-panel);color:var(--workspace-text); }
.lacuna-profile-page__primary-actions button:disabled { opacity:.65; }
.lacuna-profile-page__primary-actions small { flex-basis:100%; }
.lacuna-profile-page__handle { color:var(--workspace-muted);font-size:13px; }
.lacuna-profile-page__refresh { margin-left:auto;min-height:36px;padding:6px 12px;font:inherit;border-radius:8px;background:var(--workspace-panel);color:var(--workspace-blue);border:1px solid var(--workspace-line); }
.lacuna-profile-page__resource-list { display:grid;gap:8px;min-width:0; }
.lacuna-profile-page__resource { display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--workspace-line);border-radius:8px;background:var(--workspace-bg);min-width:0; }
.lacuna-profile-page__resource-mark { display:grid;place-items:center;width:52px;height:52px;border-radius:10px;color:var(--workspace-blue);background:var(--workspace-raised);border:1px solid var(--workspace-line); }
.lacuna-profile-page__resource-content { min-width:0;display:grid;gap:6px; }
.lacuna-profile-page__resource-content h3 { margin:0;font-size:14px;line-height:1.4; }
.lacuna-profile-page__resource-badges { display:flex;align-items:center;flex-wrap:wrap;gap:6px; }
.lacuna-profile-page__badge { padding:3px 8px;border-radius:6px;font-size:11px;border:1px solid var(--workspace-line-bright);color:var(--workspace-text);background:var(--workspace-raised); }
.lacuna-profile-page__badge[data-tone=complete] { color:var(--workspace-blue); }
.lacuna-profile-page__badge[data-tone=active] { color:var(--workspace-amber); }
.lacuna-profile-page__open { min-height:36px;padding:6px 8px;color:var(--workspace-blue);font:inherit;font-size:12px;background:transparent;border:0;text-align:right; }
.lacuna-profile-page__collections[data-single=true] { grid-template-columns:minmax(0,1fr); }
.lacuna-profile-page__contribution { padding:8px 0;border-bottom:1px solid var(--workspace-line);font-size:13px; }
.lacuna-profile-page__top button:disabled,.lacuna-profile-page__open:disabled { opacity:.55;cursor:not-allowed; }
.lacuna-profile-page button:focus-visible { outline:2px solid var(--workspace-blue);outline-offset:2px; }
@media(max-width:1000px){.lacuna-profile-page__resource{grid-template-columns:44px minmax(0,1fr);}.lacuna-profile-page__resource-mark{width:44px;height:44px;}.lacuna-profile-page__open{grid-column:2;text-align:left;justify-self:start;}}
@media(pointer:coarse){.lacuna-profile-page button{min-height:44px;}}
.lacuna-profile-page__tabs { display:flex;gap:8px;padding:0 20px;border-bottom:1px solid var(--workspace-line);overflow-x:auto; }
.lacuna-profile-page__tab { flex:0 0 auto;min-height:44px;padding:10px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--workspace-muted);font:inherit; }
.lacuna-profile-page__tab[aria-selected=true] { border-bottom-color:var(--workspace-blue);color:var(--workspace-text);font-weight:600; }
.lacuna-profile-page[data-design=lacuna-r7] button.lacuna-profile-page__tab { min-height:44px;padding:10px 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--workspace-muted);font:inherit;font-weight:500; }
.lacuna-profile-page[data-design=lacuna-r7] button.lacuna-profile-page__tab[aria-selected=true] { border-bottom-color:var(--workspace-blue);color:var(--workspace-text);font-weight:600; }
.lacuna-profile-page[data-design=lacuna-r7] button.lacuna-profile-page__open { border:0;background:transparent;color:var(--workspace-blue);font-weight:500;min-height:36px;padding:6px 8px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__top button { background:var(--workspace-panel);color:var(--workspace-blue);border:1px solid var(--workspace-line);border-radius:8px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__primary-actions button { min-height:40px;border:1px solid var(--workspace-line-bright);background:var(--workspace-panel);color:var(--workspace-text);padding:8px 12px;border-radius:8px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__badge { border-radius:6px;padding:3px 8px; }
.lacuna-profile-page__tab:focus-visible { outline:2px solid var(--workspace-blue);outline-offset:-4px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__collections { padding:16px 20px 0;gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); }
/* Filtered tabs show one collection. Its rule must outrank the r7 overview
   split, otherwise hiding the sibling leaves an empty desktop grid column. */
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__collections[data-single=true] { grid-template-columns:minmax(0,1fr); }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__collection { min-height:132px;gap:8px;padding:16px; }
.lacuna-profile-page__results,.lacuna-profile-page__history { margin:14px 20px 0;padding:16px;border:1px solid var(--workspace-line);border-radius:8px;background:var(--workspace-panel);display:grid;gap:12px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__connection { margin:14px 20px 0;padding:16px; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__technical { margin:14px 20px 0; }
.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__version { margin:18px 20px;padding-bottom:14px; }
@media(max-width:1000px){.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__hero{grid-template-columns:minmax(0,1fr) 160px;}.lacuna-profile-page__primary-actions{grid-column:1/-1;padding-top:0;}.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__collections{grid-template-columns:minmax(0,1fr);}}
@media(max-width:560px){
  .lacuna-profile-page__cover{height:120px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__top{padding:10px 12px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__top > .lacuna-profile-page__eyebrow{grid-column:1/-1;grid-row:2;width:auto;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__refresh{grid-column:2;grid-row:1;justify-self:end;margin:0;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__hero{grid-template-columns:minmax(0,1fr);padding:0 12px 14px;gap:12px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__identity{grid-template-columns:90px minmax(0,1fr);gap:12px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__initials,.lacuna-profile-page__portrait{width:88px;height:88px;font-size:28px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__avatar{margin-top:-26px;}
  .lacuna-profile-page[data-design=lacuna-r7] h1{font-size:22px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__ctdl{margin:0;grid-template-columns:minmax(0,1fr) auto;}
  .lacuna-profile-page__tabs{padding:0 8px;gap:0;}
  .lacuna-profile-page__tab{padding:10px;}
  .lacuna-profile-page[data-design=lacuna-r7] button.lacuna-profile-page__tab{padding:10px;}
  .lacuna-profile-page[data-design=lacuna-r7] button.lacuna-profile-page__open{min-height:44px;}
  .lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__collections{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px;}
  .lacuna-profile-page__results,.lacuna-profile-page__history,.lacuna-profile-page[data-design=lacuna-r7] .lacuna-profile-page__connection{margin:0 12px 12px;}
}

/* V8.1 geometry and type scale, applied only to this page renderer.
   Public view/admission, borrowed real actions and resource handlers are unchanged. */
.native-participant-profile-page-host:has(.lacuna-profile-page[data-visual-version="v8.1"]){width:min(1380px,calc(100vw - 32px));border-radius:10px}
.lacuna-profile-page[data-visual-version="v8.1"]{font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__cover{height:178px;background-color:var(--workspace-bg);background-position:center 42%}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__top{padding:12px 24px;min-height:60px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__hero{grid-template-columns:minmax(0,1fr) 172px minmax(220px,.6fr);padding:0 24px 20px;gap:20px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__identity{grid-template-columns:132px minmax(0,1fr);gap:18px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__initials,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__portrait{width:132px;height:132px;font-size:40px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__avatar{margin-top:-32px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__name{padding-top:18px;gap:7px}
.lacuna-profile-page[data-visual-version="v8.1"] h1{font-size:28px;line-height:1.25}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__ctdl{padding:14px;border-radius:8px;background:var(--workspace-panel);gap:7px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__ctdl-value{font-size:28px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__primary-actions{gap:8px;min-width:0}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__primary-actions button{min-height:36px;padding:7px 12px;font-size:13px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__tabs{padding:0 24px;gap:18px}
.lacuna-profile-page[data-visual-version="v8.1"] button.lacuna-profile-page__tab{min-height:44px;padding:10px 0;border-bottom-width:2px;font-size:13px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__collections{padding:18px 24px 0;gap:14px;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__collection{border-radius:8px;padding:16px;gap:10px;min-height:0}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource{grid-template-columns:64px minmax(0,1fr) auto;padding:12px;gap:12px;background:var(--workspace-bg)}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource-mark{width:64px;height:64px;border-radius:8px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource-content{gap:6px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource-content h3{font-size:14px;line-height:1.35}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__results,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__history,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__connection{margin:14px 24px 0;padding:16px;border-radius:8px}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__technical{margin:14px 24px 0}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__version{margin:18px 24px;padding-bottom:14px}
@media(max-width:1200px){
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__hero{grid-template-columns:minmax(0,1fr) 172px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__primary-actions{grid-column:1/-1;padding-top:0}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__collections{grid-template-columns:minmax(0,1fr)}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource{grid-template-columns:64px minmax(0,1fr)}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__open{grid-column:2;text-align:left;justify-self:start}
}
.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__collections[data-single=true]{grid-template-columns:minmax(0,1fr)}
@media(max-width:560px){
  .native-participant-profile-page-host:has(.lacuna-profile-page[data-visual-version="v8.1"]){width:calc(100vw - 16px);border-radius:8px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__cover{height:120px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__top{padding:10px 14px;min-height:0}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__hero{grid-template-columns:minmax(0,1fr);padding:0 14px 14px;gap:12px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__identity{grid-template-columns:88px minmax(0,1fr);gap:12px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__initials,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__portrait{width:88px;height:88px;font-size:28px}
  .lacuna-profile-page[data-visual-version="v8.1"] h1{font-size:22px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__ctdl{grid-template-columns:minmax(0,1fr) auto}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__primary-actions button{min-height:44px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__tabs{padding:0 14px;gap:14px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__collections{padding:14px;gap:12px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource{grid-template-columns:44px minmax(0,1fr)}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__resource-mark{width:44px;height:44px}
  .lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__results,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__history,.lacuna-profile-page[data-visual-version="v8.1"] .lacuna-profile-page__connection{margin:0 14px 12px}
}

/* Full-format Native profile. Same admitted API/sections and borrowed controls;
   an overlay presentation, not a local society seed or a second account page. */
.native-participant-profile-page-host { width:min(1184px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:calc(100dvh - 32px); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] { max-width:none;height:100%;padding:0;gap:0;grid-template-columns:minmax(0,1fr);scrollbar-gutter:stable;overflow-x:hidden; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__top { position:sticky;top:0;z-index:2;margin:0;padding:11px 20px;border-bottom:1px solid var(--workspace-line);background:var(--workspace-bg);gap:10px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__back,.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__refresh { min-height:38px;font-size:12px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__notice { margin:12px 20px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__cover { height:150px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__hero { display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(190px,.6fr);align-items:center;padding:0 24px 22px;margin:0;gap:22px;border:0;border-bottom:1px solid var(--workspace-line);background:var(--workspace-panel);border-radius:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__identity { grid-template-columns:88px minmax(0,1fr);gap:16px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__avatar { position:relative;margin-top:-28px;z-index:1; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__initials { width:80px;height:80px;background:var(--workspace-panel);border:3px solid var(--workspace-bg);font-size:24px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__name { min-width:0;gap:6px;padding-top:14px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] h1 { font-size:27px;line-height:1.3;overflow-wrap:anywhere; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__ctdl { margin-top:16px;padding:13px;border-radius:9px;gap:5px;background:var(--workspace-raised);border:1px solid var(--workspace-line); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__ctdl-value { font-size:21px;line-height:1.35;letter-spacing:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__primary-actions { display:grid;gap:7px;padding-top:16px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__primary-actions button { min-height:39px;padding:8px 11px;max-width:100%;white-space:normal;font-size:12px;border-radius:7px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__primary-actions small { font-size:10px;line-height:1.55; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__tabs { display:flex;flex-wrap:nowrap;overflow-x:auto;margin:0 24px 18px;padding:8px 0 0;gap:4px;min-width:0;max-width:100%;scrollbar-width:thin; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__tab { flex:1 0 auto;min-width:88px;min-height:40px;padding:8px 11px;font-size:12px;white-space:nowrap; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__collections { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 24px 18px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__collection { padding:17px;gap:12px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__section-heading { display:flex;gap:8px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] h2 { font-size:16px;line-height:1.4; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__resource { min-width:0;max-width:100%;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__resource-mark { width:34px;height:34px;border-radius:8px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__resource-content { min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] h3 { font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__open { grid-column:2;justify-self:start;min-height:36px;padding:6px 9px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__results,.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__history,.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__connection { margin:0 24px 18px;padding:18px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__muted { font-size:12px;line-height:1.6;overflow-wrap:anywhere; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__footnote { font-size:11px;line-height:1.6; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__technical { margin:0 24px;padding:9px 0 16px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__version { padding:12px 24px;color:var(--workspace-muted);font-size:11px;border-top:1px solid var(--workspace-line); }
@media(max-width:950px){
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__hero { grid-template-columns:minmax(0,1fr) 180px;gap:16px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__primary-actions { grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:0; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__primary-actions small { grid-column:1/-1; }
}
@media(max-width:600px){
  .native-participant-profile-page-host { width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__top { padding:9px 13px;gap:7px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__top>.lacuna-profile-page__eyebrow { order:-1;flex-basis:100%;font-size:10px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__cover { height:94px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__hero { grid-template-columns:minmax(0,1fr);padding:0 14px 16px;gap:13px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__identity { grid-template-columns:64px minmax(0,1fr);gap:12px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__initials { width:60px;height:60px;font-size:20px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__avatar { margin-top:-20px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] h1 { font-size:22px;line-height:1.35; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__ctdl { margin-top:0;display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:11px 13px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__ctdl-value { font-size:18px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__ctdl>.lacuna-profile-page__muted { grid-column:1/-1; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__collections { grid-template-columns:minmax(0,1fr);gap:12px;margin:0 14px 14px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__collection { padding:14px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__tabs { margin-inline:14px;gap:2px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__tab { min-height:44px;min-width:88px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__open { min-height:44px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__results,.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__history,.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__connection { margin:0 14px 14px;padding:14px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true] .lacuna-profile-page__technical { margin-inline:14px; }
}

/* Source S2: RC17/R19 profile composition over the SAME Native DTO/controller.
   Existing decorative asset808b2b... is not an identity or rating projection. */
.native-participant-profile-page-host:has(> .lacuna-profile-page[data-profile-source=s2]) { width:min(1344px,calc(100vw - 32px)); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] {
  --accent:var(--workspace-blue);--line:var(--workspace-line);--raised:var(--workspace-raised);
  container:profile-s2 / inline-size;position:relative;background:var(--workspace-bg);color:var(--workspace-text);
}
.lacuna-profile-page[data-profile-source=s2] [hidden] { display:none!important; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__top { padding:9px 24px;min-height:52px;z-index:5; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__body { min-width:0; }
/* Literal desktop height from original R19; observed166px in the matched
   viewport comparison. This changes composition, not the8/6 motion owner. */
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__cover { position:relative;height:166px;isolation:isolate;overflow:hidden;background-position:center 42%; }
.lacuna-profile-page[data-profile-source=s2] .personal-profile>.profile-cover::before { content:"";position:absolute;inset:-6px;background:inherit;background-size:cover;background-position:center 42%;transform:translate3d(0,0,0);pointer-events:none; }
.lacuna-profile-page[data-profile-source=s2][data-surface-motion=on] .personal-profile>.profile-cover::before { transform:translate3d(var(--surface-x,0px),var(--surface-y,0px),0);transition:transform 180ms cubic-bezier(.2,.7,.3,1)!important; }
.lacuna-profile-page[data-profile-source=s2][data-surface-motion=off] .personal-profile>.profile-cover::before { transform:none!important;transition:none!important; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__hero {
  grid-template-columns:minmax(0,1fr) minmax(170px,240px);grid-template-areas:"identity rating" "actions actions";
  align-items:center;gap:20px 28px;padding:0 32px 26px;background:transparent;
}
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__identity { grid-area:identity;grid-template-columns:148px minmax(0,1fr);align-items:center;gap:24px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__avatar { margin-top:-62px;align-self:start;z-index:2; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] :is(.lacuna-profile-page__initials,.lacuna-profile-page__portrait) { width:144px;height:144px;border:4px solid var(--workspace-bg);outline:1px solid var(--workspace-line-bright);box-shadow:0 0 0 5px color-mix(in srgb,var(--workspace-blue) 8%,transparent);background:var(--workspace-raised);font-size:44px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__avatar>small { font-size:11px;line-height:1.4;margin-top:6px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__name { padding-top:18px;gap:7px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] h1 { font-size:34px;line-height:1.2;letter-spacing:-.025em; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__handle { font-size:14px;color:var(--workspace-muted); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__ctdl { grid-area:rating;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:end;text-align:right;margin:0;padding:16px 0;border:0;background:transparent;gap:5px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__ctdl-value { font-size:16px;line-height:1.5;font-weight:600; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__ctdl>.lacuna-profile-page__muted { font-size:12px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__primary-actions { grid-area:actions;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__primary-actions button { min-height:38px;min-width:120px;padding:9px 16px;font-size:14px;border-radius:10px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__primary-actions small { flex-basis:100%;font-size:12px;line-height:1.5; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tabs { margin:0 32px;padding:0;gap:10px;border-bottom:1px solid var(--workspace-line); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab { flex:0 0 auto;min-width:0;min-height:52px;padding:12px 14px;border:0;border-radius:0;background:transparent;font-size:14px;border-bottom:2px solid transparent; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab[aria-selected=true] { color:var(--workspace-blue);border-bottom-color:var(--workspace-blue); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab-panel:not([hidden]) { display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 32px;min-width:0; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab-panel[data-profile-tab=overview]:not([hidden]) { grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:start; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__collections:not([hidden]) { display:contents; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] :is(.lacuna-profile-page__collection,.lacuna-profile-page__results,.lacuna-profile-page__history,.lacuna-profile-page__connection) { min-width:0;min-height:0;margin:0;padding:22px;border:1px solid var(--workspace-line);border-radius:16px;background:var(--workspace-panel);gap:16px; }
.lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key=projects] { grid-column:1;grid-row:1 / span 2; }
.lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key=history] { grid-column:2;grid-row:1; }
.lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key=chats] { grid-column:2;grid-row:2; }
.lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key=results] { grid-column:1 / -1;grid-row:3; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] h2 { font-size:20px;line-height:1.4;letter-spacing:-.015em; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource-list { display:grid;gap:12px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource { grid-template-columns:72px minmax(0,1fr);align-items:start;gap:16px;padding:16px;min-height:0;border:1px solid var(--workspace-line);border-radius:12px;background:var(--workspace-bg);transition:transform 160ms cubic-bezier(.2,.7,.3,1),border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource-mark { width:72px;height:72px;border:1px solid var(--workspace-line-bright);border-radius:10px;background:var(--workspace-panel);color:var(--workspace-blue); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] h3 { font-size:17px;line-height:1.4; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource-badges { gap:6px 10px;font-size:12px; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__open { grid-column:2;min-height:34px;margin-top:3px;padding:4px 0;border:0;border-radius:0;background:transparent;font-size:13px;color:var(--workspace-blue); }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__muted { font-size:13px;line-height:1.6; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__technical { margin-inline:32px;padding-block:10px 20px; }
.lacuna-profile-page[data-profile-source=s2] :is(button,summary):focus-visible { outline:2px solid var(--workspace-blue);outline-offset:3px; }
.lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__resource:focus-within { border-color:var(--workspace-line-bright); }
.lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__resource:has(.lacuna-profile-page__open:not(:disabled)) { cursor:pointer; }
@media(hover:hover) and (pointer:fine) {
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource:hover { border-color:color-mix(in srgb,var(--workspace-blue) 40%,var(--workspace-line));background:color-mix(in srgb,var(--workspace-raised) 55%,transparent);box-shadow:0 4px 14px #00000014; }
  .lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__resource:hover h3 { color:var(--workspace-blue); }
}
@container profile-s2 (max-width:760px) {
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__cover { height:160px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__hero { grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "rating" "actions";padding:0 20px 20px;gap:12px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__identity { grid-template-columns:104px minmax(0,1fr);gap:18px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] :is(.lacuna-profile-page__initials,.lacuna-profile-page__portrait) { width:100px;height:100px;font-size:32px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__avatar { margin-top:-42px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] h1 { font-size:27px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__ctdl { justify-items:start;text-align:left;padding:0; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tabs { margin-inline:20px;gap:2px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab-panel:not([hidden]) { grid-template-columns:minmax(0,1fr);padding:20px;gap:16px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab-panel[data-profile-tab=overview]:not([hidden]) { grid-template-columns:minmax(0,1fr); }
  .lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key] { grid-column:1;grid-row:auto; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource { grid-template-columns:52px minmax(0,1fr);gap:12px;padding:13px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__resource-mark { width:52px;height:52px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] :is(.lacuna-profile-page__primary-actions button,.lacuna-profile-page__open,.lacuna-profile-page__tab) { min-height:44px; }
}
@supports not (container-type:inline-size) {
 @media(max-width:760px) {
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__hero { grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "rating" "actions";padding:0 20px 20px;gap:12px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__identity { grid-template-columns:104px minmax(0,1fr);gap:18px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] :is(.lacuna-profile-page__initials,.lacuna-profile-page__portrait) { width:100px;height:100px;font-size:32px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__avatar { margin-top:-42px; }
  .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__tab-panel[data-profile-tab=overview]:not([hidden]) { grid-template-columns:minmax(0,1fr);padding:20px;gap:16px; }
  .lacuna-profile-page[data-profile-source=s2] [data-profile-tab=overview] [data-profile-panel-key] { grid-column:1;grid-row:auto; }
 }
}
@media(pointer:coarse) { .lacuna-profile-page[data-profile-source=s2] :is(button,summary) { min-height:44px;touch-action:manipulation; } }
@media(max-width:600px) {
 .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__top { padding-block-start:calc(9px + env(safe-area-inset-top,0px));padding-inline-start:max(16px,env(safe-area-inset-left,0px));padding-inline-end:max(16px,env(safe-area-inset-right,0px)); }
 .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] { padding-block-end:env(safe-area-inset-bottom,0px);scroll-padding-block-start:calc(64px + env(safe-area-inset-top,0px)); }
}
@media(prefers-reduced-motion:reduce) {
  .lacuna-profile-page[data-profile-source=s2]:not([data-motion-mode=on]) .personal-profile>.profile-cover::before { transform:none!important;transition:none!important; }
  .lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__resource { transition:none; }
}

/* One UI presentation mode, not an account/identity/permission mutation. */
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2] .lacuna-profile-page__top { flex-wrap:wrap;gap:8px 12px; }
.lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__motion { display:flex;flex:0 0 auto;align-items:center;gap:6px;min-inline-size:max-content;margin-inline-start:auto;color:var(--workspace-muted);font-size:12px; }
.lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__motion>span { flex:0 0 auto;white-space:nowrap; }
.lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__motion select { min-height:36px;max-width:100%;border:1px solid var(--workspace-line);border-radius:8px;padding:6px 10px;background:var(--workspace-panel);color:var(--workspace-text);font:inherit; }
.native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2][data-motion-mode=off] .lacuna-profile-page__resource { transition:none!important;transform:none!important; }
@media(prefers-reduced-motion:reduce) {
 .native-participant-profile-page-host .lacuna-profile-page[data-native-profile-port=true][data-profile-source=s2]:not([data-motion-mode=on]) .lacuna-profile-page__resource { transition:none!important;transform:none!important; }
}
@media(pointer:coarse),(max-width:600px) {
 .lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__motion select { min-height:44px;font-size:16px; }
}
@media(max-width:600px) {
 .lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__motion>span,
 .lacuna-profile-page[data-profile-source=s2] .lacuna-profile-page__top>.lacuna-profile-page__eyebrow { position:absolute;inline-size:1px;block-size:1px;clip-path:inset(50%);overflow:hidden; }
}
