.brand-library-tools,.brand-search-sort,.brand-context-row,.brand-context-actions,.brand-research-status{align-items:center;gap:12px;display:flex}.brand-library-tools{flex-wrap:wrap;justify-content:space-between;margin:8px 0 28px;font-size:13px}.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.brand-card{border:1px solid var(--border);background:var(--card);border-radius:12px;flex-direction:column;min-width:0;transition:border-color .16s,box-shadow .16s;display:flex;overflow:hidden}.brand-card:hover{border-color:#b7bac4;box-shadow:0 5px 18px #20212608}@layer base{.brand-card:focus-visible,.brand-library :is(button,select,input):focus-visible{outline:2px solid var(--primary);outline-offset:3px}}.brand-card-shot{background:var(--muted);border-bottom:1px solid var(--border);height:164px;overflow:hidden}.brand-card-shot img{object-fit:cover;object-position:top;width:100%;height:100%}.brand-shot-empty{height:100%;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.brand-card-body{flex-direction:column;flex:1;padding:20px;display:flex}.brand-card-title{justify-content:space-between;align-items:start;gap:12px;display:flex}.brand-card-title svg{color:var(--muted-foreground);flex-shrink:0}.brand-card-title h2{text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:600;line-height:1.35;overflow:hidden}.brand-domain{color:var(--muted-foreground);margin-top:5px;font-size:12px}.brand-card-body>p{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:45px;margin:14px 0 20px;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.brand-stats{border-top:1px solid var(--border);flex-wrap:wrap;gap:16px;margin:auto 0 0;padding-top:16px;display:flex}.brand-stats>div{flex-direction:row-reverse;justify-content:start;gap:5px;font-size:13px;display:flex}.brand-stats dt{color:var(--muted-foreground);font-weight:400}.brand-stats dd{margin:0;font-weight:550}.brand-card-foot{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:16px;font-size:11px;display:flex}.brand-state{text-transform:capitalize;color:var(--muted-foreground);align-items:center;gap:6px;font-size:12px;display:inline-flex}.brand-state:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.brand-state.running,.brand-state.queued{color:var(--primary)}.brand-loading{color:var(--muted-foreground);padding:60px 0}.brand-context-row{justify-content:space-between;margin:2px 0 20px}.brand-back{color:var(--muted-foreground);align-items:center;gap:7px;font-size:13px;display:inline-flex}.brand-history{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:16px;padding:6px 0 14px;font-size:13px;display:flex}.brand-history label{align-items:center;gap:10px;display:flex}@media (min-width:1900px){.brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:1100px){.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.brand-grid{grid-template-columns:1fr;gap:18px}.brand-library-tools{flex-direction:column;align-items:stretch}.brand-search-sort,.brand-context-row,.brand-history{flex-wrap:wrap}.brand-context-actions{flex-wrap:wrap;gap:8px}.brand-history label{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){.brand-card{transition:none}}.brand-detail .brand-heading-identity{align-items:flex-start;gap:20px;display:flex}.brand-detail .brand-heading-identity .brand-heading-icon{margin-top:2px}.brand-heading-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.brand-heading-icon{color:#fff;width:72px;height:72px;font-family:var(--font-brand);letter-spacing:.04em;background:#17181d;border-radius:16px;flex:0 0 72px;justify-content:center;align-items:center;font-size:18px;font-weight:700;display:flex;overflow:hidden}.brand-heading-icon img{object-fit:contain;width:100%;height:100%}.brand-detail .page-heading{font-family:var(--font-brand);letter-spacing:-.02em;overflow-wrap:anywhere;max-width:none;font-size:40px;font-weight:700;line-height:44px}.brand-heading-copy .page-subtitle.brand-meta{flex-wrap:wrap;align-items:center;gap:10px;margin:0;font-size:14px;line-height:20px;display:flex}.brand-meta a{color:var(--primary);align-items:center;gap:3px;font-weight:500;display:inline-flex}.brand-meta a:hover{text-underline-offset:3px;text-decoration:underline}.brand-meta i{color:#c3c7d0;font-style:normal}.brand-meta .brand-state{font-size:14px}.brand-detail .brand-hero-row{align-items:center;min-height:0;margin-bottom:20px}.brand-detail .brand-hero-row>div:first-child{max-width:65%}.brand-description{color:#3a3e4b;max-width:760px;margin:0 0 18px;font-size:17px;line-height:26px}.brand-detail .brand-back{margin:0 0 18px}@media (min-width:1200px){.brand-detail .brand-back{margin-top:52px}.brand-detail .brand-back+.brand-hero-row{padding-top:0}}.brand-detail .brand-history{color:var(--muted-foreground);align-items:center;gap:8px;padding:0;font-size:13px;display:flex}@media (min-width:1200px){.brand-detail .brand-hero-row{padding-top:64px}}@media (max-width:900px){.brand-detail .brand-hero-row{flex-wrap:wrap;align-items:flex-start}.brand-detail .brand-hero-row>div:first-child{max-width:100%}.brand-detail .page-heading{font-size:30px;line-height:34px}.brand-heading-icon{border-radius:12px;flex-basis:56px;width:56px;height:56px;font-size:14px}}@media (max-width:640px){.brand-detail .page-heading-row>.brand-heading-identity{max-width:100%}.brand-context-actions{width:100%}.brand-context-actions>*{flex:1}}.brand-tags{flex-wrap:wrap;gap:6px;margin:-6px 0 20px;padding:0;list-style:none;display:flex}.brand-tags li{border:1px solid var(--border);background:var(--card);color:var(--foreground);border-radius:999px;align-items:center;padding:2px 9px;font-size:12px;font-weight:500;line-height:18px;display:inline-flex}
