/* Approved Roo Test compact bar. Scope every rule to the shared header. */
body>header.compact-header{position:relative;z-index:35;max-width:1240px;width:100%;margin:0 auto;padding:15px 28px;display:flex;align-items:center;gap:24px;background:#0a2036f5;border-bottom:1px solid #8bdac526;color:#edf6f1;isolation:isolate;overflow:visible;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body>header.compact-header>.brand{display:flex;align-items:center;flex:none;gap:0;margin:0;color:#edf6f1;font-size:0;line-height:1;text-decoration:none;background:none;min-height:0;max-width:none;white-space:nowrap}
body>header.compact-header>.brand .brand-logo{display:block;width:158px;height:59px;max-width:100%;object-fit:contain}
body>header.compact-header>.brand .edition,body>header.compact-header>.brand>span,body>header.compact-header>:not(.brand):not(.compact-account){display:none}
.compact-header .account-bar.compact-account{display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0;gap:18px;padding:0;margin:0;max-width:none;border:0;background:none;font-size:12px;position:static}
.compact-header .compact-nav{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;flex:none}
.compact-header .compact-nav a,.compact-header .compact-profile-panel nav a,.compact-header .compact-profile-panel nav button{display:flex;align-items:center;gap:9px;padding:10px 12px;min-height:42px;border:0;border-radius:10px;background:transparent;color:#c0d6d9;font-size:12px;font-weight:500;line-height:1.35;text-decoration:none;letter-spacing:0;white-space:nowrap;text-align:left;box-shadow:none;cursor:pointer}
.compact-header svg{display:block;width:18px;height:18px;flex-shrink:0;pointer-events:none}
.compact-header .compact-nav a:hover,.compact-header .compact-profile-panel nav a:hover,.compact-header .compact-profile-panel nav button:hover{background:#9bdfc51a;color:#fff;text-decoration:none}
.compact-header .compact-nav a[aria-current=page]{background:#87d9bd14;color:#8fe8d2}
.compact-header .compact-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto;min-width:0}
.compact-header .compact-wallet,.compact-header .compact-signin{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin:0;padding:9px 13px;border:1px solid #efd48855;border-radius:10px;background:#bda15812;color:#f1d68c;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap;text-decoration:none;box-shadow:none}
.compact-header .compact-wallet:hover,.compact-header .compact-signin:hover{background:#bea06426;text-decoration:none;color:#ffe4a7}
.compact-header .compact-wallet svg{width:17px;height:17px}
.compact-header .compact-profile{position:relative;flex-shrink:0;min-width:0}
.compact-header .compact-profile-trigger{display:flex;align-items:center;justify-content:start;gap:10px;min-height:44px;margin:0;padding:5px 10px 5px 5px;border:1px solid #b9e2db30;border-radius:10px;background:transparent;color:#c0d6d9;line-height:1.3;font-size:12px;box-shadow:none;text-align:left;cursor:pointer}
.compact-header .compact-profile-trigger:hover,.compact-header .compact-profile-trigger[aria-expanded=true]{background:#80d0b714}
.compact-header .compact-profile-trigger>.roo-avatar,.compact-header .compact-guest-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-width:36px;max-width:36px;min-height:36px;max-height:36px;margin:0;border-radius:9px;background-color:#2b4652;overflow:hidden}
.compact-header .compact-guest-avatar svg{width:21px;height:21px;color:#a3cfcb}
.compact-header .compact-profile-copy{display:block;min-width:58px;max-width:130px}
.compact-header .compact-profile-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f3f4e9;font-size:12px;font-weight:650;line-height:1.3}
.compact-header .compact-profile-copy small{display:block;margin:3px 0 0;font-size:10px;line-height:1.2;color:#8ec2b7}
.compact-header .compact-profile-trigger>svg{width:13px;height:13px}
.compact-header .compact-profile-panel{position:absolute;z-index:60;right:0;top:calc(100% + 12px);width:252px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain;padding:9px;border:1px solid #65958d80;border-radius:14px;background:#102b3e;box-shadow:0 16px 40px #06151db3;color:#e8f2eb}
.compact-header .compact-profile-panel[hidden]{display:none!important}
.compact-header .compact-profile-intro{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:12px;border-bottom:1px solid #6b9a912b;margin-bottom:6px;font-size:10px;color:#93b9b6;line-height:1.5}
.compact-header .compact-profile-intro strong{display:block;flex:1 1 auto;overflow-wrap:anywhere;min-width:0;max-width:100%;font-size:14px;font-weight:650;color:#ebf0e6}
.compact-header .compact-profile-intro small{flex-basis:100%;font-size:10px;color:#93b9b6;margin:0;line-height:1.5}
.compact-header .compact-profile-intro .account-level-link{display:block;font-size:10px;line-height:1.4;color:#9ce3c9;margin:0;padding:3px 0;text-decoration:none;white-space:nowrap}
.compact-header .compact-profile-panel nav{display:flex;flex-direction:column;gap:1px;margin:0;padding:0}
.compact-header .compact-profile-panel nav a,.compact-header .compact-profile-panel nav button{width:100%;white-space:normal;min-height:44px;font-size:12px;margin:0;opacity:1}
.compact-header #account-logout{border-top:1px solid #72988b25;border-radius:0;margin-top:5px;padding-top:13px;color:#d1aaa4}
.compact-header a:focus-visible,.compact-header button:focus-visible{outline:3px solid #f3d795;outline-offset:3px}
.compact-header [inert]{cursor:progress}
@media(max-width:850px){body>header.compact-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:12px 18px}body>header.compact-header>.brand{grid-column:1;grid-row:1}body>header.compact-header>.brand .brand-logo{width:126px;height:47px}.compact-header .account-bar.compact-account{display:contents}.compact-header .compact-actions{grid-column:2;grid-row:1;gap:9px}.compact-header .compact-nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:center;gap:12px;border-top:1px solid #a2d2bf1c;padding-top:7px}.compact-header .compact-nav a{justify-content:center;flex:1;max-width:160px;min-height:42px;padding:8px 12px;font-size:11px}.compact-header .compact-profile-copy,.compact-header .compact-profile-trigger>svg{display:none}.compact-header .compact-profile-trigger{padding:3px;min-height:42px}.compact-header .compact-profile-trigger>.roo-avatar,.compact-header .compact-guest-avatar{width:34px;height:34px;min-width:34px;max-width:34px;min-height:34px;max-height:34px}.compact-header .compact-wallet,.compact-header .compact-signin{min-height:40px;font-size:11px;padding:9px 11px;gap:7px}.compact-header .compact-profile-panel{top:calc(100% + 10px);max-height:calc(100dvh - 100px)}}
@media(max-width:360px){body>header.compact-header{padding-inline:12px}.compact-header .compact-nav{gap:4px}.compact-header .compact-nav a{padding-inline:8px}.compact-header .compact-actions{gap:7px}body>header.compact-header>.brand .brand-logo{width:112px;height:42px}}
