@import url("./product-foundation.css");
/* Product integration: shared contracts, not a backend replacement. */
html[data-theme] .beta[data-component="BetaBadge"] {border:var(--beta-border) solid var(--rule);border-radius:var(--beta-radius);padding:var(--beta-padding-block) var(--beta-padding-inline);font:600 12px/var(--beta-leading) var(--text);white-space:nowrap;flex:none;color:var(--muted);background:var(--paper)}
html[data-theme] [data-role="RegistryTitle"] {font:700 var(--registry-title)/var(--registry-title-leading) var(--heading);letter-spacing:var(--registry-title-tracking)}
html[data-theme] [data-role="DetailTitle"] {font:700 var(--detail-title-size)/var(--detail-title-leading) var(--heading);letter-spacing:var(--detail-title-tracking)}
html[data-theme] [data-role="SectionTitle"] {font:700 var(--section-title-size)/var(--section-title-leading) var(--heading);letter-spacing:var(--section-title-tracking)}
html[data-theme] [data-role="GroupTitle"] {font:700 var(--group-title-size)/var(--group-title-leading) var(--heading)}
html[data-theme] [data-role="ToolbarLabel"] {font:600 var(--toolbar-label-size)/var(--toolbar-label-leading) var(--text)}
html[data-theme] .family-projects .family-divider {display:none}
html[data-theme] .family-projects {flex:none;position:relative}
html[data-theme] .family-projects-panel {z-index:90}
html[data-theme] .account-identity {min-width:0;gap:8px}
html[data-theme] .account-header .family-projects .button {width:44px;min-width:44px;height:var(--control);min-height:var(--control);padding:0}
html[data-theme] .account-header .family-projects-panel .link-action {font-size:14px}
html[data-theme] .account-header .brand img {width:var(--logo-size);height:var(--logo-size)}
@media(min-width:1081px){html[data-theme] [data-role="RegistryTitle"]{font-size:var(--registry-title-wide)}}
@media(max-width:500px){html[data-theme] [data-role="RegistryTitle"]{font-size:var(--registry-title-narrow)}}
@media(max-width:380px){.account-identity .brand-word{display:none}}

/* Product layouts keep their own workflow; common roles resolve through one contract. */
html[data-theme] .family-divider {display:none}
@media(max-width:679px){html[data-theme="memo"] .account-identity{min-height:calc(var(--mast-height) - 1px)}html[data-theme="memo"] .account-header{padding-top:0}}

/* Preserve the shared narrow shell even when incumbent CSS supplies its own root edge. */
@media(max-width:380px){html[data-theme="memo"] .cabinet{--edge:14px}}
