/* Tea.my v0.4 App Experience — full-screen, Flatsome-safe, dependency-free. */
:root{--ta-green:#08795a;--ta-green-dark:#075d46;--ta-ink:#17231f;--ta-muted:#6b7773;--ta-line:#e3e9e6;--ta-soft:#f5f8f7;--ta-side:#f5f7f6;--ta-white:#fff;--ta-shadow:0 10px 36px rgba(14,45,36,.07)}
body.teamy-full-app-page{margin:0!important;background:#fff!important;overflow:hidden!important}
body.teamy-full-app-page .header-wrapper,body.teamy-full-app-page .footer-wrapper,body.teamy-full-app-page .teamy-mobile-nav{display:none!important}
body.teamy-full-app-page #wrapper,body.teamy-full-app-page #main,body.teamy-full-app-page #content{width:100%!important;max-width:none!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:0!important;background:#fff!important;overflow:hidden!important}
body.teamy-full-app-page .teamy-shell{display:block!important}
.teamy-appx{height:100dvh;min-height:100dvh;display:grid;grid-template-rows:64px minmax(0,1fr);background:#fff;color:var(--ta-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;overflow:hidden}
.teamy-appx *{box-sizing:border-box}.teamy-appx button,.teamy-appx textarea,.teamy-appx a{font-family:inherit}
.teamy-appx-topbar{height:64px;border-bottom:1px solid var(--ta-line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;background:#fff;z-index:30}
.teamy-appx-top-left{display:flex;align-items:center;gap:14px;min-width:0}.teamy-appx-menu{display:grid;place-items:center;width:40px;height:40px;border:1px solid #dde7e3;border-radius:12px;background:#fff;color:#3f4d48;font-size:19px;cursor:pointer;box-shadow:0 2px 10px rgba(13,45,36,.03)}.teamy-appx-menu:hover{border-color:#b6d4c8;color:var(--ta-green);background:#f8fbf9}.teamy-appx-brand{display:flex;align-items:center;gap:8px;color:var(--ta-ink)!important;text-decoration:none!important;font-size:23px;font-weight:850;letter-spacing:-.035em;white-space:nowrap}.teamy-appx-brand-mark{color:var(--ta-green);font-size:19px;line-height:1}.teamy-appx-topnav{display:flex;align-items:center;height:64px;gap:24px}.teamy-appx-topnav a{height:64px;display:flex;align-items:center;border-bottom:2px solid transparent;color:#44514c!important;text-decoration:none!important;font-size:13px;font-weight:700}.teamy-appx-topnav a:hover,.teamy-appx-topnav a.is-active{color:var(--ta-green)!important;border-bottom-color:var(--ta-green)}
.teamy-appx-top-actions{display:flex;align-items:center;gap:8px}.teamy-appx-wallet{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #dce6e2;border-radius:11px;background:#fff;color:#34443e!important;text-decoration:none!important;font-size:12px;font-weight:750}.teamy-appx-wallet:hover{border-color:#bcd2c9;color:var(--ta-green)!important}.teamy-appx-wallet b{color:var(--ta-ink);font-size:12px}.teamy-appx-account{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 11px;border:1px solid #dce6e2;border-radius:11px;background:#fff;color:#34443e!important;text-decoration:none!important;font-size:12px;font-weight:750}.teamy-appx-account svg{width:17px;height:17px;fill:currentColor}
.teamy-appx-body{height:calc(100dvh - 64px);display:grid;grid-template-columns:244px minmax(0,1fr);min-height:0}.teamy-appx-sidebar{background:var(--ta-side);border-right:1px solid var(--ta-line);display:flex;flex-direction:column;min-width:0;padding:14px 12px 12px;overflow:hidden;transition:width .18s ease,transform .18s ease}.teamy-appx-side-head{height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 6px 0 9px}.teamy-appx-side-head>div{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;min-width:0}.teamy-appx-side-head strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teamy-appx-collapse{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1px solid transparent;border-radius:10px;background:transparent;color:#66736e;font-size:19px;cursor:pointer}.teamy-appx-collapse:hover{background:#e8eeeb;border-color:#d8e3de;color:var(--ta-green)}.teamy-appx-new-chat{width:100%;min-height:43px;margin:7px 0 10px;border:0;border-radius:8px;background:#e9edeb;color:#1c2824;display:flex;align-items:center;gap:9px;padding:0 13px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.02em;cursor:pointer}.teamy-appx-new-chat:hover{background:#dfe6e3}.teamy-appx-new-chat span{font-size:20px;font-weight:400}.teamy-appx-side-links{display:flex;flex-direction:column;gap:2px;padding-bottom:12px;border-bottom:1px solid #e1e6e3}.teamy-appx-side-links a,.teamy-appx-wallet-side{min-height:39px;display:flex;align-items:center;gap:9px;padding:0 10px;border-radius:10px;color:#28352f!important;text-decoration:none!important;font-size:12px;font-weight:700}.teamy-appx-side-links a:hover,.teamy-appx-wallet-side:hover{background:#e8eeeb}.teamy-appx-side-links a.is-active,.teamy-appx-wallet-side.is-active{background:#fff;border:1px solid #d7e3dd;box-shadow:0 4px 12px rgba(13,45,36,.05)}.teamy-appx-side-links svg,.teamy-appx-wallet-side svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 15px}.teamy-appx-history-wrap{display:flex;flex-direction:column;min-height:0;flex:1;padding-top:14px}.teamy-appx-history-title{display:flex;align-items:center;justify-content:space-between;padding:0 8px 6px;color:#7d8884;font-size:11px}.teamy-appx-history-clear{border:0;background:transparent;color:#9aa29f;font-size:9px;font-weight:800;text-transform:uppercase;cursor:pointer}.teamy-appx-history{display:flex;flex-direction:column;gap:2px;overflow:auto;padding:0 2px}.teamy-appx-history button{width:100%;min-height:35px;border:0;background:transparent;display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:7px;color:#34423d;text-align:left;cursor:pointer}.teamy-appx-history button:hover,.teamy-appx-history button.is-active{background:#e8eeeb}.teamy-appx-history button span{color:#89948f;font-size:12px}.teamy-appx-history button em{font-style:normal;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teamy-appx-history-empty{margin:4px 3px;padding:12px;border:1px solid #dde4e1;border-radius:10px;background:#fff;color:#7b8782;font-size:10.5px;line-height:1.4}.teamy-appx-wallet-side{margin-top:8px;border-top:1px solid #e1e6e3;border-radius:0;padding-top:10px;min-height:45px}.teamy-appx-backdrop{display:none}
.teamy-appx-main{position:relative;min-width:0;min-height:0;overflow:hidden;background:linear-gradient(180deg,#fbfcfb,#f5f8f7)}.teamy-appx-start{height:100%;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:8vh 26px 46px}.teamy-appx-start-inner{width:min(900px,100%);display:flex;flex-direction:column;align-items:center}.teamy-appx-start-logo{display:flex;align-items:center;gap:8px;font-size:30px;font-weight:850;letter-spacing:-.035em;margin-bottom:12px}.teamy-appx-start-logo span{color:var(--ta-green);font-size:24px}.teamy-appx-start h1{margin:0;text-align:center;font-size:clamp(32px,4vw,48px);line-height:1.05;letter-spacing:-.04em;color:var(--ta-ink);font-family:inherit}.teamy-appx-start-copy{max-width:720px;margin:13px auto 22px;text-align:center;color:var(--ta-muted);font-size:14px;line-height:1.55}.teamy-appx-composer{width:min(820px,100%);min-height:126px;border:1.5px solid #d8e0dc;border-radius:22px;background:#fff;padding:15px;box-shadow:0 9px 34px rgba(13,45,36,.055);transition:border-color .16s ease,box-shadow .16s ease}.teamy-appx-composer:focus-within{border-color:#9cc7b6;box-shadow:0 12px 38px rgba(8,121,90,.09)}.teamy-appx-field textarea{display:block;width:100%!important;min-height:62px!important;max-height:150px!important;border:0!important;outline:0!important;box-shadow:none!important;resize:none!important;background:transparent!important;color:#25322d!important;font-size:15px!important;line-height:1.45!important;padding:3px 3px 8px!important;margin:0!important}.teamy-appx-field textarea::placeholder{color:#89938f}.teamy-appx-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px}.teamy-appx-composer-meta{display:flex;align-items:center;gap:7px;min-width:0}.teamy-appx-mode{display:inline-flex;align-items:center;min-height:31px;padding:0 9px;border:1px solid #dfe7e3;border-radius:999px;background:#f8faf9;color:#51605a;font-size:10.5px;font-weight:800}.teamy-appx-credit{display:inline-flex;align-items:center;min-height:31px;padding:0 9px;border-radius:999px;background:#eef7f3;color:var(--ta-green);font-size:10.5px;font-weight:800;text-decoration:none!important;white-space:nowrap}.teamy-appx-composer-actions{display:flex;align-items:center;gap:3px}.teamy-appx-icon-btn,.teamy-appx-send{width:40px;height:40px;min-width:40px;border:0;border-radius:10px;display:grid;place-items:center;cursor:pointer}.teamy-appx-icon-btn{background:transparent;color:#4e5b56}.teamy-appx-icon-btn:hover{background:#f0f4f2;color:var(--ta-green)}.teamy-appx-icon-btn.is-listening{background:#e9f7f1;color:var(--ta-green)}.teamy-appx-icon-btn svg{width:19px;height:19px;fill:currentColor}.teamy-appx-send{margin-left:3px;background:#1e2925;color:#fff;font-size:19px}.teamy-appx-send:hover{background:var(--ta-green)}.teamy-appx-status{min-height:18px;margin-top:7px;color:#7a8681;font-size:10.5px;text-align:center}.teamy-appx-status.is-error{color:#b42318}
.teamy-appx-task-tabs{width:min(820px,100%);display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:20px}.teamy-appx-task-tabs button{min-height:43px;padding:0 14px;border:0;border-radius:8px;background:#fff;color:#6b7470;font-size:11px;font-weight:750;cursor:pointer}.teamy-appx-task-tabs button:hover,.teamy-appx-task-tabs button.is-active{background:#f0f4f2;color:#25332e}.teamy-appx-starters{width:min(820px,100%);margin-top:18px;border-top:1px solid #edf1ef}.teamy-appx-starters button{width:100%;min-height:66px;padding:0 7px;border:0;border-bottom:1px solid #edf1ef;background:#fff;color:#5a6661;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-size:12px;cursor:pointer}.teamy-appx-starters button:hover{color:var(--ta-green)}.teamy-appx-starters button strong{font-size:12px;font-weight:650}.teamy-appx-starters button span{color:#9ca5a1;font-size:18px}
.teamy-appx-chat{position:absolute;inset:0;display:none;background:#fff}.teamy-appx-chat.is-open{display:block}.teamy-appx-chat-scroll{position:absolute;inset:0;overflow:auto;padding:34px max(24px,calc((100% - 900px)/2)) 150px}.teamy-appx-thread{display:flex;flex-direction:column;gap:15px}.teamy-appx-message{display:flex;gap:10px;align-items:flex-start}.teamy-appx-message.is-user{justify-content:flex-end}.teamy-appx-avatar{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;flex:0 0 28px;background:#ecf6f2;color:var(--ta-green);font-size:12px;font-weight:850}.teamy-appx-message.is-user .teamy-appx-avatar{order:2;background:#1f302a;color:#fff}.teamy-appx-bubble{max-width:min(680px,82%);padding:11px 13px;border-radius:14px;background:#f5f7f6;color:#35423d;font-size:13px;line-height:1.55;white-space:pre-wrap}.teamy-appx-message.is-user .teamy-appx-bubble{background:#163a2f;color:#fff;border-bottom-right-radius:5px}.teamy-appx-message.is-assistant .teamy-appx-bubble{border-bottom-left-radius:5px}.teamy-appx-thinking{display:flex;align-items:center;gap:5px;color:#83908b}.teamy-appx-thinking i{width:6px;height:6px;border-radius:50%;background:#81908a;animation:teamyAppDot 1s infinite ease-in-out}.teamy-appx-thinking i:nth-child(2){animation-delay:.16s}.teamy-appx-thinking i:nth-child(3){animation-delay:.32s}@keyframes teamyAppDot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.teamy-appx-chat-composer{position:absolute;left:0;right:0;bottom:0;padding:18px max(22px,calc((100% - 900px)/2)) max(16px,env(safe-area-inset-bottom));background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 26%,#fff);z-index:15}.teamy-appx-chat-composer .teamy-appx-composer{min-height:92px;padding:11px 13px;border-radius:18px;box-shadow:0 8px 28px rgba(13,45,36,.07)}.teamy-appx-chat-composer .teamy-appx-field textarea{min-height:43px!important;max-height:96px!important}

.teamy-appx-page{height:100%;overflow:auto;padding:26px 24px 32px}
.teamy-appx-page-frame{min-height:calc(100% - 2px);border:1px solid #e5ece8;border-radius:26px;background:#fff;box-shadow:0 12px 34px rgba(14,45,36,.05);overflow:hidden}
.teamy-appx-page-frame .teamy-shell{max-width:1060px;padding:40px 28px 74px}
.teamy-appx-page-frame .teamy-hero{max-width:860px}
.teamy-appx-page-frame .teamy-section:first-child,.teamy-appx-page-frame .teamy-panel:first-child,.teamy-appx-page-frame .teamy-wallet-card:first-child{margin-top:0}

.teamy-appx.sidebar-collapsed .teamy-appx-body{grid-template-columns:76px minmax(0,1fr)}.teamy-appx.sidebar-collapsed .teamy-appx-sidebar{padding-left:9px;padding-right:9px}.teamy-appx.sidebar-collapsed .teamy-appx-side-head strong,.teamy-appx.sidebar-collapsed .teamy-appx-side-links b,.teamy-appx.sidebar-collapsed .teamy-appx-wallet-side b,.teamy-appx.sidebar-collapsed .teamy-appx-history-wrap{display:none}.teamy-appx.sidebar-collapsed .teamy-appx-new-chat{font-size:0;justify-content:center;padding:0}.teamy-appx.sidebar-collapsed .teamy-appx-new-chat span{font-size:21px}.teamy-appx.sidebar-collapsed .teamy-appx-side-links a,.teamy-appx.sidebar-collapsed .teamy-appx-wallet-side{justify-content:center;padding-left:0;padding-right:0}.teamy-appx.sidebar-collapsed .teamy-appx-side-head{justify-content:center;padding:0}.teamy-appx.sidebar-collapsed .teamy-appx-side-head>div{display:none}.teamy-appx.sidebar-collapsed .teamy-appx-collapse{transform:none;background:#fff;border-color:#d8e3de}
.teamy-full-app-page .teamy-hi-tea-fab{display:none!important}
@media(max-width:900px){
 .teamy-appx{grid-template-rows:58px minmax(0,1fr)}.teamy-appx-topbar{height:58px;padding:0 10px;gap:8px}.teamy-appx-top-left{gap:5px}.teamy-appx-brand{font-size:19px}.teamy-appx-topnav{display:none}.teamy-appx-account{width:40px;padding:0}.teamy-appx-account span{display:none}.teamy-appx-wallet{min-height:38px;padding:0 9px}.teamy-appx-wallet b{display:none}.teamy-appx-body{height:calc(100dvh - 58px);grid-template-columns:1fr}.teamy-appx-sidebar{position:fixed;left:0;top:58px;bottom:0;width:min(300px,84vw);z-index:60;transform:translateX(-105%);box-shadow:12px 0 40px rgba(0,0,0,.12)}.teamy-appx.sidebar-open .teamy-appx-sidebar{transform:translateX(0)}.teamy-appx.sidebar-open .teamy-appx-backdrop{display:block;position:fixed;inset:58px 0 0;z-index:55;background:rgba(0,0,0,.25)}.teamy-appx.sidebar-collapsed .teamy-appx-body{grid-template-columns:1fr}.teamy-appx.sidebar-collapsed .teamy-appx-sidebar{width:min(300px,84vw);padding:14px 12px 12px}.teamy-appx.sidebar-collapsed .teamy-appx-side-head strong,.teamy-appx.sidebar-collapsed .teamy-appx-side-links b,.teamy-appx.sidebar-collapsed .teamy-appx-wallet-side b,.teamy-appx.sidebar-collapsed .teamy-appx-history-wrap{display:block}.teamy-appx.sidebar-collapsed .teamy-appx-new-chat{font-size:12px;justify-content:flex-start;padding:0 13px}.teamy-appx.sidebar-collapsed .teamy-appx-new-chat span{font-size:20px}.teamy-appx.sidebar-collapsed .teamy-appx-side-links a,.teamy-appx.sidebar-collapsed .teamy-appx-wallet-side{justify-content:flex-start;padding-left:10px;padding-right:10px}.teamy-appx.sidebar-collapsed .teamy-appx-side-head{justify-content:space-between;padding:0 6px 0 9px}.teamy-appx.sidebar-collapsed .teamy-appx-side-head>div{display:flex}.teamy-appx-start{padding:5vh 16px 32px}.teamy-appx-start h1{font-size:30px}.teamy-appx-start-copy{font-size:12.5px;max-width:620px}.teamy-appx-chat-scroll{padding:22px 16px 138px}.teamy-appx-chat-composer{padding:11px 12px max(10px,env(safe-area-inset-bottom))}.teamy-appx-page{padding:14px 10px 20px}.teamy-appx-page-frame{border-radius:20px}.teamy-appx-page-frame .teamy-shell{padding:26px 16px 54px}
}
@media(max-width:560px){
 .teamy-appx-topbar{padding:0 8px}.teamy-appx-menu{width:38px;height:40px}.teamy-appx-brand{font-size:17px}.teamy-appx-brand-mark{font-size:16px}.teamy-appx-wallet{font-size:10.5px}.teamy-appx-account{width:38px;height:38px}.teamy-appx-start{padding:3.5vh 10px 24px;overflow-x:hidden}.teamy-appx-start-logo{font-size:25px}.teamy-appx-start h1{font-size:25px;line-height:1.08}.teamy-appx-start-copy{margin:9px auto 16px;font-size:11.5px;line-height:1.45}.teamy-appx-composer{min-height:116px;padding:10px;border-radius:18px}.teamy-appx-field textarea{min-height:58px!important;font-size:14px!important}.teamy-appx-composer-footer{gap:6px}.teamy-appx-mode{display:none}.teamy-appx-credit{font-size:9.5px;padding:0 8px}.teamy-appx-icon-btn,.teamy-appx-send{width:38px;height:38px;min-width:38px}.teamy-appx-task-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.teamy-appx-task-tabs button{min-height:46px;padding:7px 9px;border:1px solid #e6ebe9;border-radius:11px;text-align:left;justify-content:flex-start;background:#fff;font-size:10.5px}.teamy-appx-task-tabs button.is-active{background:#edf7f3;border-color:#cae2d8;color:var(--ta-green)}.teamy-appx-starters{margin-top:13px}.teamy-appx-starters button{min-height:58px;font-size:11px}.teamy-appx-starters button strong{font-size:11px}.teamy-appx-chat-scroll{padding:15px 8px 128px}.teamy-appx-bubble{max-width:88vw;font-size:12px}.teamy-appx-chat-composer{padding:8px 7px max(8px,env(safe-area-inset-bottom))}.teamy-appx-chat-composer .teamy-appx-composer{min-height:82px;padding:8px;border-radius:16px}.teamy-appx-chat-composer .teamy-appx-field textarea{min-height:40px!important}.teamy-appx-status{text-align:left}.teamy-appx-page{padding:10px 6px 18px}.teamy-appx-page-frame{border-radius:18px}.teamy-appx-page-frame .teamy-shell{padding:22px 12px 44px}
}
@media(prefers-reduced-motion:reduce){.teamy-appx *{animation:none!important;transition:none!important}}

.teamy-appx-wallet--admin,.teamy-appx-credit--admin{cursor:default}.teamy-appx-wallet-side--admin{cursor:default;color:#0a6f54}.teamy-appx-wallet--admin span:last-child{font-size:9px;font-weight:900;letter-spacing:.05em}

/* v0.4.4 — persistent mobile app dock. Desktop deliberately keeps top + side navigation only. */
.teamy-appx-bottomnav{display:none}
@media(max-width:900px){
  .teamy-appx-bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:85;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e0e8e4;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -10px 28px rgba(13,45,36,.07)}
  .teamy-appx-bottomnav a{position:relative;display:flex;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;color:#76827d!important;text-decoration:none!important;font-size:10.5px;font-weight:650;line-height:1.1;-webkit-tap-highlight-color:transparent}
  .teamy-appx-bottomnav a:hover{color:#335348!important;background:#f6faf8}
  .teamy-appx-bottomnav a.is-active{color:var(--ta-green)!important;font-weight:800}
  .teamy-appx-bottomnav a.is-active::before{content:"";position:absolute;top:0;width:28px;height:3px;border-radius:99px;background:var(--ta-green)}
  .teamy-appx-bottomnav svg{width:21px;height:21px;fill:currentColor;display:block}
  .teamy-appx-bottomnav a:last-child svg{width:22px;height:22px}
  .teamy-appx-bottomnav a:last-child{color:#36594d!important}
  .teamy-appx-body{height:calc(100dvh - 58px - 64px - env(safe-area-inset-bottom))}
  .teamy-appx-sidebar{bottom:calc(64px + env(safe-area-inset-bottom))}
  .teamy-appx.sidebar-open .teamy-appx-backdrop{inset:58px 0 calc(64px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
  .teamy-appx-bottomnav{padding-left:4px;padding-right:4px}
  .teamy-appx-bottomnav a{font-size:9.5px}
  .teamy-appx-bottomnav svg{width:20px;height:20px}
}

/* v0.5.0 — unified application shell polish */
.teamy-appx-main{background:#f7f9f8}
.teamy-appx-page{height:100%;overflow:auto;padding:20px 20px 28px;scrollbar-gutter:stable}
.teamy-appx-page-frame{width:100%;min-height:100%;margin:0 auto;border:1px solid #e3ebe7;border-radius:26px;background:#fff;box-shadow:0 10px 34px rgba(13,45,36,.045);overflow:hidden}
.teamy-appx-side-head{margin-bottom:2px}
.teamy-appx-menu,.teamy-appx-collapse{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.teamy-appx-sidebar{width:auto}
.teamy-appx-side-links a,.teamy-appx-new-chat,.teamy-appx-wallet-side{min-height:42px}
.teamy-appx-side-links b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teamy-appx-account,.teamy-appx-wallet{min-height:42px}
.teamy-appx-topnav a{font-size:13px}
.teamy-appx.sidebar-collapsed .teamy-appx-collapse::after{content:'›';font-size:20px}
.teamy-appx.sidebar-collapsed .teamy-appx-collapse{font-size:0}

@media(max-width:900px){
 .teamy-appx-page{padding:10px 8px 18px}
 .teamy-appx-page-frame{border-radius:20px}
 .teamy-appx-sidebar{padding-bottom:14px}
 .teamy-appx-side-links a,.teamy-appx-new-chat,.teamy-appx-wallet-side{min-height:46px}
 .teamy-appx-topbar{box-shadow:0 4px 18px rgba(13,45,36,.035)}
 .teamy-appx-bottomnav{min-height:66px;padding-top:5px}
 .teamy-appx-bottomnav a{min-height:54px;font-size:10px}
 .teamy-appx-bottomnav svg{width:22px;height:22px}
}
@media(max-width:560px){
 .teamy-appx-page{padding:7px 5px 14px}
 .teamy-appx-page-frame{border-radius:17px}
 .teamy-appx-brand{font-size:18px}
 .teamy-appx-menu{border-color:#e1e8e5;box-shadow:none}
 .teamy-appx-bottomnav{padding-left:3px;padding-right:3px}
 .teamy-appx-bottomnav a{font-size:9.5px}
}

/* v0.5.1 — launch navigation and alignment hardening */
.teamy-appx-side-head{padding-right:9px}
.teamy-appx-collapse{display:none!important}
.teamy-appx.sidebar-collapsed .teamy-appx-side-head{display:none}
.teamy-appx.sidebar-collapsed .teamy-appx-sidebar{padding-top:12px}
.teamy-appx-body--no-sidebar{grid-template-columns:minmax(0,1fr)!important}
.teamy-appx--account-guest .teamy-appx-menu,
.teamy-appx--account-guest .teamy-appx-topnav,
.teamy-appx--account-guest .teamy-appx-top-actions{display:none!important}
.teamy-appx--account-guest .teamy-appx-topbar{justify-content:center}
.teamy-appx--account-guest .teamy-appx-top-left{justify-content:center}
.teamy-appx--account-guest .teamy-appx-page{padding:20px}
.teamy-appx--account-guest .teamy-appx-page-frame{min-height:calc(100dvh - 105px);display:flex;align-items:center;justify-content:center}
.teamy-appx--account-guest .teamy-account-page{width:min(1040px,100%)}

@media(max-width:900px){
 .teamy-appx--account-guest .teamy-appx-body{height:calc(100dvh - 58px)!important}
 .teamy-appx--account-guest .teamy-appx-bottomnav{display:none!important}
 .teamy-appx--account-guest .teamy-appx-page{padding:8px}
 .teamy-appx--account-guest .teamy-appx-page-frame{min-height:calc(100dvh - 74px)}
}

/* v0.5.2 — control alignment + crisp navigation iconography */
.teamy-appx-menu{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:0!important;vertical-align:middle!important}
.teamy-appx-menu svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;margin:0!important;transform:none!important}
.teamy-appx-top-left{align-items:center!important}
.teamy-appx-composer-footer{min-height:46px;align-items:center!important}
.teamy-appx-composer-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-height:44px;line-height:0}
.teamy-appx-icon-btn,.teamy-appx-send{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;line-height:1!important;vertical-align:middle!important;border-radius:12px!important}
.teamy-appx-icon-btn svg{display:block!important;width:19px!important;height:19px!important;margin:0!important;transform:none!important}
.teamy-appx-send{font-size:20px!important;font-weight:500!important;padding-bottom:2px!important}
.teamy-appx-composer-meta{min-height:44px;align-items:center!important}
.teamy-appx-mode,.teamy-appx-credit{align-self:center}
@media(max-width:560px){
 .teamy-appx-icon-btn,.teamy-appx-send{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
 .teamy-appx-composer-actions{gap:4px!important}
}
.teamy-appx-send svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin:0!important}
.teamy-appx-send{padding:0!important}

/* v0.5.3 — header/hamburger alignment and safe top spacing */
.teamy-appx{grid-template-rows:72px minmax(0,1fr)}
.teamy-appx-topbar{height:72px;min-height:72px;padding:8px 22px;align-items:center}
.teamy-appx-top-left,.teamy-appx-top-actions{height:100%;align-items:center}
.teamy-appx-menu{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px;align-self:center;margin:0!important}
.teamy-appx-menu svg{width:20px;height:20px}
.teamy-appx-brand{align-self:center;line-height:1}
.teamy-appx-body{height:calc(100dvh - 72px)}

@media(max-width:900px){
  .teamy-appx{grid-template-rows:calc(66px + env(safe-area-inset-top)) minmax(0,1fr)}
  .teamy-appx-topbar{height:calc(66px + env(safe-area-inset-top));min-height:calc(66px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 10px 6px;align-items:center}
  .teamy-appx-top-left,.teamy-appx-top-actions{height:54px;align-items:center}
  .teamy-appx-menu{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  .teamy-appx-body{height:calc(100dvh - 66px - env(safe-area-inset-top) - 64px - env(safe-area-inset-bottom))}
  .teamy-appx-sidebar{top:calc(66px + env(safe-area-inset-top));bottom:calc(64px + env(safe-area-inset-bottom))}
  .teamy-appx.sidebar-open .teamy-appx-backdrop{inset:calc(66px + env(safe-area-inset-top)) 0 calc(64px + env(safe-area-inset-bottom))}
}


/* v0.5.7 — mobile account icon centering */
@media(max-width:900px){
  .teamy-appx-account{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:0!important;line-height:0!important;overflow:hidden}
  .teamy-appx-account svg{display:block!important;width:18px!important;height:18px!important;margin:0!important;transform:none!important;flex:0 0 18px}
  .teamy-appx-account span{display:none!important}
}
@media(max-width:560px){
  .teamy-appx-account{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
}
