.brand-story-copy[hidden], .brand-owner-link[hidden] { display: none !important; }
.topbar .brand-brain-button { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 42px; padding: 10px 13px; border: 1px solid #222; border-radius: 14px; color: #fff; background: #171717; font: 600 12px/1.3 Inter, sans-serif; cursor: pointer; }
.brand-brain-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.topbar .brand-owner-link { margin-left: 0 !important; }
.topbar .brand-owner-link span { display: none; }
.brand-brain-button:focus-visible { outline: 3px solid #777; outline-offset: 3px; }
@media (max-width: 600px) { .topbar .lab-studio-label { display: none; } .topbar .brand-brain-button { padding-inline: 10px; } }
.brand-story-copy { margin: 0 0 20px; padding: 20px; border: 1px solid #e4dfec; border-radius: 20px; background: #fff; color: #282438; text-align: left; }
.brand-story-copy h3 { margin: 0 0 8px; font: 700 19px/1.3 Inter, sans-serif; }
.brand-story-copy .brand-copy-note { color: #696274; font: 400 13px/1.5 Inter, sans-serif; margin: 8px 0 14px; }
.brand-story-copy label { display: grid; gap: 7px; font: 600 13px/1.4 Inter, sans-serif; margin: 12px 0; }
.brand-story-copy textarea { box-sizing: border-box; resize: vertical; min-width: 0; width: 100%; background: #faf9fc; color: #282438; border: 1px solid #dcd7e4; border-radius: 12px; padding: 12px; font: 400 16px/1.4 Inter, sans-serif; }
.brand-story-copy button { min-height: 42px; padding: 10px 16px; border-radius: 12px; font: 600 13px/1.4 Inter, sans-serif; cursor: pointer; }
.brand-story-copy .brand-copy-primary { background: #7151dd; border: 1px solid #7151dd; color: #fff; }
.brand-story-copy .brand-copy-link { background: transparent; border: 0; color: #63507c; }
.brand-story-copy button:disabled { opacity: .45; cursor: default; }
.brand-story-copy .brand-copy-status { font: 400 13px/1.5 Inter, sans-serif; }
.brand-story-copy :focus-visible { outline: 3px solid #c9b8f8; outline-offset: 3px; }
.brand-copy-preview { border-top: 1px solid #eee9f3; margin-top: 16px; }
.topbar .brand-owner-link { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #e4dfec; border-radius: 12px; color: #655b73; text-decoration: none; font: 500 12px/1.3 Inter, sans-serif; background: #fff; }
.brand-owner-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.brand-owner-dialog { width: min(420px, calc(100vw - 40px)); box-sizing: border-box; padding: 26px; border: 1px solid #e4dfec; border-radius: 22px; background: #fff; color: #282438; font: 400 14px/1.6 Inter, sans-serif; }
.brand-owner-dialog::backdrop { background: #20182b66; }
.brand-owner-dialog h2 { margin: 0; font-size: 23px; }
.brand-owner-dialog label { display: grid; gap: 6px; margin: 18px 0; font-weight: 600; }
.brand-owner-dialog input { width: 100%; min-width: 0; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid #ddd6e8; background: #faf8fd; color: #282438; font-size: 16px; }
.brand-owner-dialog button { min-height: 44px; padding: 10px 15px; border: 0; border-radius: 10px; background: #7151dd; color: #fff; cursor: pointer; }
.brand-owner-dialog #brand-owner-close { background: #f0ecf6; color: #63507c; }
.brand-owner-dialog :focus-visible { outline: 3px solid #c9b8f8; outline-offset: 3px; }
@media (max-width: 560px) { .brand-story-copy { padding: 15px; } .topbar .lab-studio-label:has(+ .brand-owner-link:not([hidden])) { display: none; } .brand-owner-link span { display: none; } }
