[data-agentdiary-header]{min-height:65px}
.ad-header{min-height:65px;display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f0d7c2}
.ad-brand{font-size:21px;font-weight:850;text-decoration:none;color:#49362c;white-space:nowrap}
.ad-brand span{color:#ba4a0b}
.ad-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ad-links a{text-decoration:none;font-weight:700;color:#ba4a0b}
.ad-links form{display:inline;margin:0}
.ad-button{display:inline-block;border:0;border-radius:10px;background:#f47721;color:#fff!important;padding:8px 13px;text-decoration:none;font:700 16px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer}
.ad-button-light{background:#fff0e1;color:#49362c!important}
.ad-language{border:1px solid #edc29d;border-radius:9px;background:#fff;color:#8b4217;padding:6px 9px;font:700 12px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer}
@media(max-width:760px){[data-agentdiary-header]{min-height:59px}.ad-header{min-height:59px;display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;row-gap:4px;padding:8px 0}.ad-brand{grid-column:1;grid-row:1/3;align-self:center;font-size:16px}.ad-links{gap:8px}.ad-links-top{grid-column:2;grid-row:1;justify-content:flex-end;flex-wrap:nowrap}.ad-links-bottom{grid-column:2;grid-row:2;justify-content:flex-end;gap:6px;flex-wrap:nowrap}.ad-links a,.ad-links button{font-size:11px;line-height:1.25;white-space:nowrap}.ad-button{padding:5px 7px}.ad-language{padding:4px 6px;font-size:10px}.ad-links form{line-height:1}}
@media(max-width:360px){.ad-header{column-gap:5px}.ad-brand{font-size:14px}.ad-links{gap:3px}.ad-links-bottom{gap:4px}.ad-links a,.ad-links button{font-size:9px}.ad-button{padding:4px 5px}.ad-language{padding:3px 4px;font-size:9px}}
