@keyframes homeCopyIn{0%{opacity:0;transform:translateY(7px);filter:blur(5px)}55%{opacity:.72;filter:blur(1px)}100%{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes homeBrandShimmer{0%,100%{background-position:0% 50%;filter:drop-shadow(0 0 0 rgba(63,173,255,0))}50%{background-position:100% 50%;filter:drop-shadow(0 0 15px rgba(73,182,255,.16))}}
@keyframes homeBrandFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes homeCaretBlink{0%,42%{opacity:.9}43%,100%{opacity:.12}}
@keyframes homeSendPulse{0%,100%{transform:translateX(0);box-shadow:0 0 0 rgba(85,181,255,0)}50%{transform:translateX(1px);box-shadow:0 0 18px rgba(85,181,255,.12)}}
.home-greeting{position:fixed;z-index:8;top:calc(var(--app-content-safe-top,0px) + 34vh);left:50%;width:min(680px,calc(100% - 40px));min-height:58px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;text-align:center;pointer-events:none}.home-greeting.is-hidden{display:none}.home-greeting-title{margin:0;max-width:100%;font-size:clamp(26px,6vw,38px);line-height:1.12;font-weight:760;letter-spacing:-.045em;text-wrap:balance;animation:homeCopyIn .72s cubic-bezier(.2,.8,.2,1) both}.home-brand-title{display:inline-flex;align-items:baseline;justify-content:center;gap:.24em;animation:homeBrandFloat 5.8s ease-in-out .8s infinite}.home-brand-med,.home-brand-rest{display:inline-block;background:linear-gradient(104deg,#ffffff 0%,#dcecff 28%,#7cc9ff 49%,#58e0d6 64%,#b8e6ff 82%,#ffffff 100%);background-size:210% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:homeBrandShimmer 7s ease-in-out 1.1s infinite}.home-brand-med{font-weight:840}.home-brand-rest{font-weight:690}
.chats-start-area{top:calc(var(--app-content-safe-top,0px) + 34vh + 62px);bottom:auto!important;width:min(760px,calc(100% - 28px));padding:0;background:transparent;backdrop-filter:none}.chats-start-area>.web-search-row,.chats-start-area>form.start-composer.prompt-bar,.chats-start-area .model-meta-row{display:none!important}
.home-tools-cta-row{display:none!important}.home-main-actions{display:grid;gap:12px;width:100%}.home-scroll-content{display:grid;gap:12px}.home-new-chat-button{position:sticky;top:0;z-index:5;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:44px minmax(0,1fr) 40px;align-items:center;gap:11px;width:100%;min-height:64px;padding:9px 10px 9px 11px;border:1px solid rgba(112,162,255,.28);border-radius:18px;color:#eef6ff;background:linear-gradient(145deg,rgba(14,29,53,.94),rgba(7,18,35,.97));box-shadow:0 16px 38px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045);font:inherit;cursor:pointer;text-align:left;transition:transform .18s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}.home-new-chat-button::before{content:"";position:absolute;z-index:-1;inset:-1px;background:linear-gradient(105deg,transparent 16%,rgba(82,183,255,.05) 39%,rgba(108,224,222,.08) 50%,rgba(82,183,255,.04) 61%,transparent 84%);transform:translateX(-58%);transition:transform .7s cubic-bezier(.2,.75,.2,1);pointer-events:none}.home-new-chat-button::after{content:"";position:absolute;z-index:-1;width:180px;height:180px;right:-100px;top:-112px;border-radius:50%;background:radial-gradient(circle,rgba(70,174,255,.16),rgba(70,174,255,0) 70%);pointer-events:none}.home-new-chat-button:hover{transform:translateY(-1px);border-color:rgba(110,190,255,.52);background:linear-gradient(145deg,rgba(16,34,61,.97),rgba(8,21,40,.98));box-shadow:0 18px 42px rgba(0,0,0,.22),0 0 28px rgba(70,174,255,.09),inset 0 1px 0 rgba(255,255,255,.07)}.home-new-chat-button:hover::before{transform:translateX(52%)}.home-new-chat-button:active{transform:translateY(0) scale(.997)}.home-new-chat-button:focus-visible{outline:none;border-color:rgba(125,202,255,.78);box-shadow:0 0 0 3px rgba(74,158,255,.14),0 18px 42px rgba(0,0,0,.22)}.home-new-chat-button:disabled{opacity:.66;cursor:wait;animation:none}.home-new-chat-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(124,183,255,.18);border-radius:13px;background:linear-gradient(145deg,rgba(49,111,196,.13),rgba(29,80,142,.08));color:#9fd2ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.home-new-chat-icon svg{width:21px;height:21px}.home-new-chat-field{min-width:0;display:flex;align-items:center;gap:5px;overflow:hidden}.home-new-chat-placeholder{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fb0c8;font-size:15px;line-height:1.2;font-weight:520;letter-spacing:.002em;transition:opacity .18s ease,transform .18s ease,filter .18s ease}.home-new-chat-placeholder.is-entering{animation:homeCopyIn .68s cubic-bezier(.2,.8,.2,1) both}.home-new-chat-placeholder.is-leaving{opacity:0;transform:translateY(-5px);filter:blur(3px)}.home-new-chat-caret{flex:0 0 1.5px;width:1.5px;height:17px;border-radius:1px;background:linear-gradient(#8dd9ff,#5ab7ff);box-shadow:0 0 8px rgba(90,183,255,.45);animation:homeCaretBlink 1.15s steps(1,end) infinite}.home-new-chat-send{display:grid;width:36px;height:36px;place-items:center;justify-self:end;border:1px solid rgba(110,184,255,.2);border-radius:11px;background:rgba(52,120,212,.1);color:#9ed2ff;font-size:20px;line-height:1;font-weight:550;transition:background .2s ease,border-color .2s ease,color .2s ease;animation:homeSendPulse 3.1s ease-in-out infinite}.home-new-chat-button:hover .home-new-chat-send{border-color:rgba(119,199,255,.42);background:rgba(57,137,233,.17);color:#d7efff}.home-new-chat-button[aria-busy="true"] .home-new-chat-caret{display:none}.home-new-chat-button[aria-busy="true"] .home-new-chat-send{animation:homeSendPulse .8s ease-in-out infinite}.home-new-chat-button[aria-busy="true"] .home-new-chat-placeholder{opacity:.5}
.home-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-nav-card{min-width:0;min-height:86px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(112,162,255,.22);border-radius:17px;background:linear-gradient(145deg,rgba(17,31,55,.96),rgba(8,20,39,.97));box-shadow:0 12px 30px rgba(0,0,0,.17);color:#f4f8ff!important;text-decoration:none!important;text-align:center;transition:transform .16s ease,border-color .16s ease,background .16s ease}.home-nav-trainer{border-color:rgba(255,150,52,.28)}.home-nav-trainer:hover{border-color:rgba(255,158,61,.52)}.home-nav-button{font:inherit;cursor:pointer}.home-nav-card:hover{transform:translateY(-1px);border-color:rgba(112,162,255,.45);background:linear-gradient(145deg,rgba(22,40,70,.98),rgba(9,24,46,.98))}.home-nav-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(130,176,255,.22);border-radius:12px;background:rgba(61,128,240,.12);color:#acd0ff}.home-nav-icon svg{width:21px;height:21px}.home-nav-card strong{font-size:12.5px;line-height:1.15;font-weight:760;overflow-wrap:anywhere}.home-nav-ecg .home-nav-icon{color:#ffafc1;background:rgba(225,70,106,.09);border-color:rgba(247,122,151,.32)}.home-nav-wallet .home-nav-icon{color:#ffd77d;background:rgba(255,190,72,.09);border-color:rgba(255,200,92,.18)}.home-nav-updates .home-nav-icon{color:#b6f2db;background:rgba(55,211,164,.08);border-color:rgba(71,220,175,.18)}.home-nav-profile .home-nav-icon{color:#d0c7ff;background:rgba(137,114,255,.08);border-color:rgba(145,125,255,.18)}
@media(max-width:520px){.home-greeting{top:calc(var(--app-content-safe-top,0px) + 29vh);width:calc(100% - 28px)}.chats-start-area{top:calc(var(--app-content-safe-top,0px) + 29vh + 58px);width:calc(100% - 22px)}.home-greeting-title{font-size:clamp(24px,7vw,31px)}.home-main-actions{gap:9px}.home-new-chat-button{min-height:58px;grid-template-columns:38px minmax(0,1fr) 36px;gap:9px;padding:8px 9px;border-radius:16px}.home-new-chat-icon{width:38px;height:38px;border-radius:11px}.home-new-chat-icon svg{width:19px;height:19px}.home-new-chat-placeholder{font-size:13.5px}.home-new-chat-caret{height:15px}.home-new-chat-send{width:34px;height:34px;border-radius:10px;font-size:18px}.home-nav-grid{gap:7px}.home-nav-card{min-height:72px;padding:8px 5px;border-radius:14px}.home-nav-icon{width:34px;height:34px;border-radius:10px}.home-nav-icon svg{width:19px;height:19px}.home-nav-card strong{font-size:11px}}
@media(max-height:650px){.home-greeting{top:calc(var(--app-content-safe-top,0px) + 23vh)}.chats-start-area{top:calc(var(--app-content-safe-top,0px) + 23vh + 54px)}.home-nav-card{min-height:64px}.home-nav-icon{width:31px;height:31px}.home-new-chat-button{min-height:54px}}
@media(prefers-reduced-motion:reduce){.home-greeting-title,.home-brand-title,.home-brand-med,.home-brand-rest,.home-new-chat-button,.home-new-chat-placeholder.is-entering,.home-new-chat-caret,.home-new-chat-send,.home-new-chat-button::before{transition:none}.home-new-chat-placeholder{transition:none}}

/* Tests use one standard navigation cell in both site themes. */
.home-nav-tests .home-nav-icon{color:#86eee0;background:rgba(41,195,173,.13);border-color:rgba(69,216,194,.3)}
html[data-site-theme="day"] .home-nav-tests .home-nav-icon{color:#138278!important;background:#e0f6f0!important;border-color:#b5dfd4!important}

/* Shared animated update label for the clinical trainer and browser extension. */
.home-nav-card.home-nav-trainer,
.home-nav-card.home-nav-extension{
    position:relative;
    overflow:visible;
    border-color:rgba(40,198,142,.30);
}
.home-nav-card.home-nav-trainer:hover,
.home-nav-card.home-nav-extension:hover{
    border-color:rgba(55,221,163,.56);
}
.home-feature-update-badge{
    position:absolute;
    z-index:2;
    top:-10px;
    right:-6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    box-sizing:border-box;
    padding:5px 10px;
    border:1px solid rgba(163,255,212,.42);
    border-radius:999px;
    background:linear-gradient(125deg,#13a978 0%,#087451 100%);
    color:#fff;
    font:inherit;
    font-size:10.5px;
    line-height:1.25;
    font-weight:850;
    letter-spacing:.025em;
    white-space:nowrap;
    text-shadow:0 1px 2px rgba(0,55,38,.38);
    pointer-events:none;
    transform:rotate(7deg);
    transform-origin:50% 70%;
    box-shadow:0 4px 15px rgba(12,185,120,.25),0 0 0 0 rgba(41,216,146,.30);
    animation:homeFeatureUpdatePulse 2.2s ease-in-out infinite;
}
.home-feature-update-badge::before{
    content:"";
    display:block;
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:#d1ffe6;
    box-shadow:0 0 7px rgba(209,255,230,.72);
    animation:homeFeatureUpdateDot 2.2s ease-in-out infinite;
}
@keyframes homeFeatureUpdatePulse{
    0%,100%{
        transform:rotate(7deg) scale(1);
        box-shadow:0 4px 15px rgba(12,185,120,.25),0 0 0 0 rgba(41,216,146,.28);
    }
    50%{
        transform:rotate(7deg) scale(1.065);
        box-shadow:0 6px 18px rgba(12,185,120,.36),0 0 0 6px rgba(41,216,146,0);
    }
}
@keyframes homeFeatureUpdateDot{
    0%,100%{opacity:.8;transform:scale(.85)}
    50%{opacity:1;transform:scale(1.22)}
}
html[data-site-theme="day"] .home-nav-card.home-nav-trainer,
html[data-site-theme="day"] .home-nav-card.home-nav-extension{
    border-color:rgba(19,142,96,.28)!important;
}
html[data-site-theme="day"] .home-nav-card.home-nav-trainer:hover,
html[data-site-theme="day"] .home-nav-card.home-nav-extension:hover{
    border-color:rgba(19,142,96,.46)!important;
}
html[data-site-theme="day"] .home-feature-update-badge{
    background:linear-gradient(125deg,#138a61 0%,#075e45 100%);
    border-color:rgba(224,255,238,.78);
    color:#fff;
    text-shadow:0 1px 2px rgba(0,52,34,.35);
}
@media(max-width:520px){
    .home-feature-update-badge{
        top:-9px;
        right:-3px;
        padding:4px 7px;
        gap:4px;
        font-size:9px;
        letter-spacing:0;
    }
    .home-feature-update-badge::before{width:5px;height:5px;flex-basis:5px}
}
@media(prefers-reduced-motion:reduce){
    .home-feature-update-badge,
    .home-feature-update-badge::before{
        animation:none;
    }
}
