@import url("./owner-tooltip.css");
/* Scoped to the shadcn sidebar's shadow root. Original page styles stay intact. */
:host{display:block;height:100%;color:#101828;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased;--nav-ink:#101828;--nav-muted:#667085;--nav-line:#e5e7eb;--nav-hover:#f3f4f6;--nav-active:#fbf6e5;--nav-gold:#936d22;--nav-bg:#fff}
*,*::before,*::after{box-sizing:border-box}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,a:focus-visible{outline:2px solid #ad8c47;outline-offset:3px}
svg{flex-shrink:0;vertical-align:middle}
ul{list-style:none;padding:0;margin:0}
.owner-sidebar-mount,.owner-sidebar-provider,[data-slot=sidebar]{height:100%;width:100%;min-height:0;display:flex;flex-direction:column}
[data-slot=sidebar]{background:var(--nav-bg)}
[data-slot=sidebar-header]{height:104px;min-height:104px;padding:27px 23px 23px;display:flex;align-items:center;justify-content:space-between;gap:4px}
.owner-brand{display:inline-flex;align-items:center;gap:11px;min-height:44px;border-radius:4px;white-space:nowrap}
.owner-brand img{width:29px;height:44px;object-fit:contain;display:block;flex-shrink:0}
.owner-wordmark{display:inline-flex;gap:5px;align-items:baseline;letter-spacing:-.85px;font-size:20px;line-height:1.1;color:var(--nav-ink)}
.owner-wordmark strong{font-weight:650}
.owner-wordmark>span{font-weight:430;color:#535159}
.owner-drawer-close{display:none;width:36px;height:44px;border-radius:7px;color:var(--nav-muted);align-items:center;justify-content:center}
[data-slot=sidebar-content]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#dddde4 transparent;padding:11px 0 16px}
.owner-main-nav{position:relative;isolation:isolate}
.owner-active-indicator{position:absolute;left:13px;right:13px;top:0;border-radius:9px;background:var(--nav-active);border:1px solid #e9e1d2;box-shadow:0 1px 2px #24242b02;pointer-events:none;z-index:-1;transition:transform 420ms cubic-bezier(.22,1,.36,1),height 240ms,opacity 180ms}
[data-slot=sidebar-group]{padding:0 13px;margin:0 0 25px;min-width:0}
[data-slot=sidebar-group]:last-child{margin-bottom:0}
[data-slot=sidebar-menu]{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%}
[data-slot=sidebar-menu-item]{position:relative;min-width:0}
.owner-nav-link,.owner-support-link{display:flex;width:100%;min-height:43px;align-items:center;gap:11px;border-radius:9px;padding:11px 12px;font-size:12.5px;letter-spacing:-.12px;font-weight:450;line-height:20px;color:#73717c;transition:color 180ms,background 180ms,transform 250ms cubic-bezier(.22,1,.36,1)}
.owner-nav-link>svg,.owner-support-link>svg{width:17px;height:17px;color:#85838e;stroke-width:1.65}
.owner-nav-link>span,.owner-support-link>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.owner-nav-link:hover,.owner-support-link:hover{background:var(--nav-hover);color:var(--nav-ink)}
.owner-nav-link:active,.owner-support-link:active{transform:scale(.985)}
.owner-nav-link[data-active=true]{color:var(--nav-ink);font-weight:550;background:transparent}
.owner-nav-link[data-active=true]>svg{color:var(--nav-gold)}
.owner-nav-link:has(+[data-slot=sidebar-menu-badge]){padding-right:42px}
[data-slot=sidebar-menu-badge]{position:absolute;right:12px;top:12px;min-width:19px;height:19px;border-radius:5px;padding:0 5px;background:#eeeef2;color:#6e6a77;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:500;line-height:1;pointer-events:none;font-variant-numeric:tabular-nums}
[data-slot=sidebar-menu-badge].owner-count-unread{background:#eee6d5;color:#977436}
[data-slot=sidebar-footer]{flex-shrink:0;padding:0;display:flex;flex-direction:column;gap:0}
.owner-support-nav{padding:0 13px 17px}
.owner-support-link{min-height:40px;font-size:12px;padding-top:9px;padding-bottom:9px}
.owner-support-link[data-active=true]{background:var(--nav-hover);color:var(--nav-ink);font-weight:500}
.owner-support-arrow{margin-left:auto;width:12px!important;height:12px!important;color:#a4a1ab!important;opacity:0;transition:opacity 180ms,transform 180ms}
.owner-support-link:hover .owner-support-arrow{opacity:1;transform:translate(1px,-1px)}
.owner-account-row{display:flex;align-items:center;gap:7px;border-top:1px solid var(--nav-line);padding:16px 15px 17px;min-height:78px}
.owner-account{display:flex;gap:10px;align-items:center;min-width:0;flex:1;padding:3px 5px;border-radius:8px}
.owner-account:hover{background:var(--nav-hover)}
.owner-account-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:11px;background:#eae6dc;color:#8a7859;font-size:11px;font-weight:600;letter-spacing:-.2px;box-shadow:inset 0 0 0 1px #ded6c7}
.owner-account-details{min-width:0;display:flex;flex-direction:column;gap:3px}
.owner-account-details strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--nav-ink);font-size:11.5px;line-height:16px;font-weight:550;letter-spacing:-.1px}
.owner-account-details>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#797680;font-size:10px;line-height:14px;letter-spacing:0}
.owner-signout{width:32px;height:38px;border-radius:7px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#93919c;transition:background 180ms,color 180ms}
.owner-signout:hover{background:var(--nav-hover);color:var(--nav-ink)}
:host([data-theme=dark]){--nav-bg:#202125;--nav-ink:#efedf3;--nav-muted:#a7a4ae;--nav-line:#35343c;--nav-hover:#2c2b33;--nav-active:#343027;--nav-gold:#d0b274;color:var(--nav-ink)}
:host([data-theme=dark]) .owner-wordmark>span{color:#c0bcc7}
:host([data-theme=dark]) .owner-active-indicator{border-color:#4d4433}
:host([data-theme=dark]) .owner-nav-link,:host([data-theme=dark]) .owner-support-link{color:#aaa6b2}
:host([data-theme=dark]) .owner-nav-link[data-active=true]{color:#f5f1e9}
:host([data-theme=dark]) [data-slot=sidebar-menu-badge]{background:#36343d;color:#b7b1c0}
:host([data-theme=dark]) .owner-account-avatar{background:#3e3629;color:#d3ba8a;box-shadow:inset 0 0 0 1px #51432f}
@media(max-width:760px){[data-slot=sidebar-header]{height:99px;min-height:99px;padding:24px 20px 20px}.owner-drawer-close{display:flex}.owner-brand{gap:10px}.owner-wordmark{font-size:20px}.owner-nav-link{min-height:46px;font-size:13px}.owner-support-link{min-height:44px;font-size:13px}[data-slot=sidebar-menu-badge]{top:13.5px}.owner-account-row{padding-bottom:max(19px,env(safe-area-inset-bottom));padding-top:17px}.owner-signout{width:40px;height:44px}[data-slot=sidebar-content]{padding-top:10px}.owner-account-details strong{font-size:12px}.owner-account-details>span{font-size:10.5px}}
@media(max-height:800px){[data-slot=sidebar-header]{height:88px;min-height:88px;padding-top:20px;padding-bottom:17px}[data-slot=sidebar-content]{padding-top:5px}[data-slot=sidebar-group]{margin-bottom:17px}.owner-nav-link{min-height:40px;padding-top:9px;padding-bottom:9px}[data-slot=sidebar-menu-badge]{top:10.5px}.owner-support-nav{padding-bottom:10px}.owner-account-row{min-height:70px;padding-top:12px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
:host([data-motion=reduced]) *{transition:none!important;animation:none!important}

.owner-collapse-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:32px;border-radius:7px;color:#92909a;transition:color 180ms,background 180ms}
.owner-collapse-toggle:hover{background:var(--nav-hover);color:var(--nav-ink)}

@media(min-width:761px){
 :host([data-collapsed=true]) .owner-brand{gap:0;min-height:42px;justify-content:center}
 :host([data-collapsed=true]) .owner-brand img{width:26px;height:40px}
 :host([data-collapsed=true]) .owner-wordmark,:host([data-collapsed=true]) .owner-nav-link>span,:host([data-collapsed=true]) .owner-support-link>span,:host([data-collapsed=true]) .owner-account-details,:host([data-collapsed=true]) .owner-support-arrow{display:none}
 :host([data-collapsed=true]) .owner-nav-link,:host([data-collapsed=true]) .owner-support-link{justify-content:center;gap:0;padding:0;min-height:43px}
 :host([data-collapsed=true]) .owner-active-indicator{left:12px;right:12px}
 :host([data-collapsed=true]) [data-slot=sidebar-menu-badge]{top:6px;right:5px;width:6px;min-width:6px;height:6px;padding:0;font-size:0;border-radius:50%;background:#a1a0aa;box-shadow:0 0 0 2px var(--nav-bg)}
 :host([data-collapsed=true]) [data-slot=sidebar-menu-badge].owner-count-unread{background:#b8913c}
 :host([data-collapsed=true]) .owner-support-nav{padding:0 12px 12px}
 :host([data-collapsed=true]) .owner-account-row{flex-direction:column;gap:9px;padding:14px 12px;min-height:0}
 :host([data-collapsed=true]) .owner-account{padding:0;flex:none;justify-content:center;width:43px;min-height:38px}
 :host([data-collapsed=true]) .owner-signout{width:43px;height:34px}
}
@media(max-width:760px){.owner-collapse-toggle{display:none}.owner-rail-hint{display:none}}


.owner-topbar-toggle{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#82808a;transition:background 180ms,color 180ms}
.owner-topbar-toggle:hover{background:#f0f0f4;color:#34323b}
.owner-flame-toggle{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;background:transparent;border:0;border-radius:10px;overflow:hidden}
.owner-toggle-flame{display:block;width:26px;height:40px;object-fit:contain;opacity:1;transform:translateX(0) scale(1);transition:opacity 180ms ease,transform 260ms cubic-bezier(.22,1,.36,1)}
.owner-flame-toggle .owner-toggle-expand{position:absolute;width:19px;height:19px;color:var(--nav-muted);opacity:0;transform:translateX(-5px) scale(.85);transition:opacity 180ms ease,transform 260ms cubic-bezier(.22,1,.36,1)}
.owner-flame-toggle:hover,.owner-flame-toggle:focus-visible{background:var(--nav-hover)}
.owner-flame-toggle:is(:hover,:focus-visible) .owner-toggle-flame{opacity:0;transform:translateX(5px) scale(.85)}
.owner-flame-toggle:is(:hover,:focus-visible) .owner-toggle-expand{opacity:1;transform:translateX(0) scale(1)}
.owner-tooltip-layer{position:relative;z-index:1000}
@media(max-width:760px){.owner-shad-tooltip{display:none}}

/* Keep every navigation row at the same vertical position in both widths. */
[data-slot=sidebar-content]{padding-top:8px;padding-bottom:16px}
[data-slot=sidebar-group]{padding:0 13px;margin:0}
[data-slot=sidebar-separator]{display:block;height:1px;min-height:1px;border:0;background:var(--nav-line);margin:11px 11px 12px;width:calc(100% - 22px);flex-shrink:0}
.owner-nav-link{height:43px;min-height:43px;padding-top:0;padding-bottom:0;color:var(--nav-muted)}
@media(min-width:761px){
 :host([data-collapsed=true]) [data-slot=sidebar-header]{height:104px;min-height:104px;padding:27px 14px 23px;flex-direction:row;justify-content:center;gap:0}
 :host([data-collapsed=true]) [data-slot=sidebar-group]{padding:0 13px;margin:0}
 :host([data-collapsed=true]) .owner-nav-link{height:43px;min-height:43px;padding:0}
 :host([data-collapsed=true]) .owner-active-indicator{left:13px;right:13px}
}
@media(max-height:800px){
 [data-slot=sidebar-header]{height:88px;min-height:88px;padding-top:20px;padding-bottom:17px}
 [data-slot=sidebar-group]{margin:0}
 .owner-nav-link{height:40px;min-height:40px}
 :host([data-collapsed=true]) .owner-nav-link{height:40px;min-height:40px}
}
@media(min-width:761px) and (max-height:800px){:host([data-collapsed=true]) [data-slot=sidebar-header]{height:88px;min-height:88px;padding-top:20px;padding-bottom:17px}}
@media(max-width:760px){.owner-nav-link{height:46px;min-height:46px}}

.owner-account { width:100%; text-align:left; }
.owner-account[data-state=open] { background:var(--nav-hover); }
.owner-account-chevron { margin-left:auto; flex-shrink:0; color:var(--nav-muted); }
.owner-account-menu { min-width:245px; width:max(var(--radix-dropdown-menu-trigger-width),245px); max-width:calc(100vw - 32px); padding:6px; border:1px solid var(--nav-line); border-radius:12px; background:white; box-shadow:0 12px 36px #1018281a,0 2px 5px #10182808; z-index:1001; transform-origin:var(--radix-dropdown-menu-content-transform-origin); }
.owner-account-menu[data-state=open] { animation:owner-account-menu-in 180ms cubic-bezier(.22,1,.36,1); }
.owner-account-menu[data-state=closed] { animation:owner-account-menu-out 120ms ease-in; }
.owner-account-menu-label { display:grid; gap:4px; padding:10px 10px 12px; }
.owner-account-menu-label strong { font-size:13px; font-weight:600; color:var(--nav-ink); }
.owner-account-menu-label span { font-size:11px; color:var(--nav-muted); overflow-wrap:anywhere; }
.owner-account-menu-separator { height:1px; background:var(--nav-line); margin:4px 2px; }
.owner-account-menu .dropdown-menu-item { display:flex; align-items:center; gap:11px; min-height:40px; padding:9px 11px; border-radius:7px; color:var(--nav-ink); font-size:12px; outline:none; cursor:pointer; user-select:none; }
.owner-account-menu .dropdown-menu-item svg { color:var(--nav-muted); flex-shrink:0; }
.owner-account-menu .dropdown-menu-item[data-highlighted] { background:var(--nav-hover); }
.owner-account-menu .owner-account-menu-signout { color:#b13e35; }
.owner-account-menu .owner-account-menu-signout svg { color:inherit; }
@keyframes owner-account-menu-in { from { opacity:0; transform:translateY(5px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes owner-account-menu-out { from { opacity:1; } to { opacity:0; transform:translateY(3px) scale(.98); } }
@media(min-width:761px) { :host([data-collapsed=true]) .owner-account-chevron { display:none; } }
