/* Shared visual review: stable gutters, restrained paper and compact controls. */
body:has(.shell) { --workspace-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%236b6251' opacity='.022' filter='url(%23paper)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
body:has(.shell) .shell main#main { width:100%; max-width:1360px; box-sizing:border-box; margin:0 auto; padding:28px 32px 40px; }
body:has(.shell) .shell .page-head { margin-bottom:24px; }
.shell .publisher-evidence-head { background-color:#fff; background-image:none; }
.shell .publisher-evidence-body .inline-setup-comparison { margin-top:0; padding-top:0; border-top:0; }
.shell .publisher-evidence-body .inline-setup-comparison > summary { margin-bottom:0; }
.shell .inline-setup-body { padding-top:8px; }
.shell .inline-setup-exact,.shell .inline-setup-scope-detail { margin-top:8px; padding-top:8px; }
.shell .inline-setup-exact > summary,.shell .inline-setup-scope-detail > summary { margin-bottom:0; }
.shell .relationship-subject-sources { margin-top:8px; padding-top:8px; }
.shell .dt-table .secure-site-actions { flex-direction:row; flex-wrap:wrap; gap:8px; align-items:center; }
.shell #feature-feedback { display:grid; gap:12px; max-width:640px; }
.shell #feature-feedback label { display:block; margin:0; line-height:1.5; }
.shell #feature-feedback label .quiet { display:inline; margin-left:6px; }
.shell #feature-feedback textarea { width:100%; max-width:100%; min-width:0; box-sizing:border-box; margin:0; }
.shell #feature-feedback > button { justify-self:start; }
.shell #feature-feedback > .quiet { margin:0; }
/* A failed or unavailable logo immediately restores the domain fallback. */
[data-entity-label]:has(img[data-entity-logo]:not([hidden])) > [data-entity-domain] { display:none; }
@media(max-width:700px) {
 body:has(.shell) .shell main#main { padding:24px 16px 32px; }
 body:has(.shell) .rail .rail-brand { margin:8px 0; }
 body:has(.shell) .rail .rail-bottom { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px; padding:8px 0; }
 body:has(.shell) .rail .rail-bottom .partner-brand { margin:0; padding:0; border:0; gap:4px; }
 body:has(.shell) .rail .rail-bottom .partner-brand img { width:96px; max-width:100%; }
 body:has(.shell) .rail .rail-bottom .admin-entry { margin:0; min-height:44px; display:flex; align-items:center; max-width:68px; font-size:12px; line-height:1.4; }
 body:has(.shell) .rail .rail-bottom button { min-height:44px; padding:8px 10px; font-size:12px; white-space:nowrap; }
 body:has(.shell) .shell .topbar { padding:12px 18px; gap:8px; align-items:center; }
 body:has(.shell) .shell .topbar > span { flex:1; min-width:0; font-size:12px; }
 body:has(.shell) .shell .secure-topbar-actions { flex-wrap:nowrap; flex:0 0 auto; gap:8px; }
 .shell .publisher-evidence-body { padding-top:16px; }
 .shell h1 .entity-logo, .shell h1 .entity-monogram { width:36px; height:36px; flex-basis:36px; }
}
