:root {--ds-brand-width: 64px; --ds-brand-height: 36px; --ds-brand-gap: 8px; --ds-brand-surface: #fff; --ds-brand-radius: 8px;}
.ds-brand-identity {display: flex !important; align-items: center; gap: var(--ds-brand-gap); min-width: 0; max-width: 100%; flex-wrap: wrap;}
.ds-brand-mark {display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--ds-brand-width); width: var(--ds-brand-width); height: var(--ds-brand-height); padding: 5px; border-radius: var(--ds-brand-radius); background: var(--ds-brand-surface); box-sizing: border-box; border: 1px solid #e8e7e3; overflow: hidden;}
.ds-brand-mark img {display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: contain !important; filter: none !important; mix-blend-mode: normal !important; transform: none !important; margin: 0 !important; border-radius: 0 !important;}
.ds-brand-mark[hidden] {display: none !important;}
.ds-brand-mark[data-brand-plate="dark"] {background: #391d23; border-color: #391d23;}
.smart-stub .ds-brand-identity,.r24-stub .ds-brand-identity {justify-content: center; gap: 4px;}
.smart-stub .ds-brand-mark,.r24-stub .ds-brand-mark {--ds-brand-width: 48px; --ds-brand-height: 28px;}

/* Canonical JayT identity: original approved monogram, wordmark, place and tagline. */
.site-top .header>a.brand{display:grid;grid-template-columns:40px max-content max-content;grid-template-rows:30px auto;column-gap:6px;row-gap:0;align-items:center;min-width:0;min-height:52px;padding:0;max-width:240px;line-height:1.2}
.site-top .header>a.brand>img.brand-logo-r5{display:block;grid-area:1/1/3/2;width:40px;height:40px;object-fit:contain;opacity:1;visibility:visible;filter:none;transform:none}
.site-top .header>a.brand>.brand-word{display:block;grid-area:1/2;font:700 28px/1.1 "Playfair Display",Georgia,serif;letter-spacing:-.04em;color:var(--text)}
.site-top .header>a.brand>.brand-place{display:block;grid-area:1/3;padding:0;margin:0;border:0;font:500 15px/1.25 "Playfair Display",Georgia,serif;letter-spacing:0;color:var(--text)}
.site-top .header>a.brand>small{display:block;grid-area:2/2/3/4;position:static;font:400 12px/1.4 "Be Vietnam Pro",sans-serif;letter-spacing:0;white-space:normal;color:var(--muted)}
footer .footer-brand>img{display:block;width:36px;height:36px;object-fit:contain;opacity:1;visibility:visible}
@media(max-width:767px){.site-top .header>a.brand{grid-template-columns:28px max-content minmax(0,1fr);grid-template-rows:26px auto;column-gap:4px;max-width:170px;min-height:56px}.site-top .header>a.brand>img.brand-logo-r5{width:28px;height:36px}.site-top .header>a.brand>.brand-word{font-size:24px}.site-top .header>a.brand>.brand-place{font-size:12px}.site-top .header>a.brand>small{font-size:12px}}

@media(max-width:767px){.site-top .header>a.brand{width:100%;max-width:100%;grid-template-columns:28px max-content minmax(0,1fr);column-gap:2px}.site-top .header>a.brand>.brand-word{font-size:22px}.site-top .header>a.brand>img.brand-logo-r5{grid-area:1/1/2/2;height:28px}.site-top .header>a.brand>small{grid-area:2/1/3/4}.site-top .header .head-actions{gap:4px}.site-top .header .head-actions .account-entry{font-size:12px;min-width:48px;padding-inline:0}.site-top .header .head-actions .saved-entry{padding-inline:4px}}
