/* Brand-led motion: decorative layers never cover controls or data. */
:root{--pointer-x:50%;--pointer-y:35%;--easing-pop:cubic-bezier(.2,.8,.2,1)}
body{isolation:isolate;background:#f8fafc;overflow-x:hidden}
.ambient{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse 450px 450px at var(--pointer-x) var(--pointer-y),#2f8cff20,transparent 75%),#f8fafc}
.ambient-orb{position:absolute;border-radius:50%;filter:blur(2px);opacity:.65;will-change:transform}
.orb-one{width:440px;height:440px;left:-170px;top:10%;background:radial-gradient(circle,#2f8cff21,transparent 70%);animation:drift-one 15s ease-in-out infinite alternate}
.orb-two{width:520px;height:520px;right:-200px;top:24%;background:radial-gradient(circle,#35d4c829,transparent 70%);animation:drift-two 18s ease-in-out infinite alternate}
.orb-three{width:400px;height:400px;left:30%;bottom:-220px;background:radial-gradient(circle,#ff3b451b,transparent 70%);animation:drift-one 20s ease-in-out infinite alternate-reverse}
.ambient-grid{position:absolute;inset:-10%;opacity:.22;background-image:radial-gradient(#8ba5b8 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(135deg,transparent 20%,#000 65%,transparent 95%);animation:grid-float 24s ease-in-out infinite alternate}
.top{position:relative;overflow:hidden;background:#24364b;color:white;border:0;min-height:86px;height:auto;padding-top:14px;padding-bottom:14px}
.top:before,.top:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #ffffff16;border-radius:50%;right:17%;top:-125px;pointer-events:none;animation:orbit 16s linear infinite}
.top:after{width:140px;height:140px;right:13%;top:-75px;border-color:#35d4c833;animation-direction:reverse;animation-duration:12s}
.brand{position:relative;z-index:1;font-size:22px;letter-spacing:-.045em;font-weight:500;line-height:1.08}.brand strong{font-weight:800}.brand small{display:inline-block;color:#c7d7e5;letter-spacing:.16em;font-size:10px;margin-top:7px}
.header-right{position:relative;z-index:1;display:flex;align-items:center;gap:20px}.top-note{color:#c7d7e5}.motion-toggle{min-height:42px;border:1px solid #ffffff66;border-radius:999px;background:#ffffff13;color:#fff;padding:9px 14px;font-size:12px;font-weight:700;transition:background .2s,transform .2s}.motion-toggle:hover{background:#ffffff2b;transform:translateY(-2px)}.motion-toggle:disabled{opacity:.8;cursor:default}
.soundwave{height:34px;display:flex;align-items:center;gap:4px}.soundwave i{display:block;width:4px;height:var(--bar-height,16px);border-radius:6px;background:#35d4c8;transform-origin:center;animation:wave 1.15s ease-in-out infinite alternate}.soundwave i:nth-child(3n){background:#78b9ff}.soundwave i:nth-child(4n){background:#ff6971}.soundwave i:nth-child(1),.soundwave i:nth-child(11){--bar-height:9px;animation-delay:-.8s}.soundwave i:nth-child(2),.soundwave i:nth-child(10){--bar-height:17px;animation-delay:-.4s}.soundwave i:nth-child(3),.soundwave i:nth-child(9){--bar-height:25px;animation-delay:-.2s}.soundwave i:nth-child(4),.soundwave i:nth-child(8){--bar-height:15px;animation-delay:-.65s}.soundwave i:nth-child(5),.soundwave i:nth-child(7){--bar-height:29px;animation-delay:-.9s}.soundwave i:nth-child(6){--bar-height:22px;animation-delay:-.1s}
.calendar-tabs{background:#fff;border-color:#dbe5ed;box-shadow:0 6px 22px #24364b0a}.tab{transition:color .2s,background .2s}.tab:hover{background:#f4f8fc}.tab.active::after{height:4px;border-radius:4px 4px 0 0;background:linear-gradient(90deg,#ff3b45 0 50%,#2f8cff 50%)}
.workspace{animation:workspace-in .6s var(--easing-pop) both}.section-heading{position:relative}.section-heading:before{content:'';position:absolute;left:-20px;top:2px;bottom:3px;width:4px;border-radius:9px;background:linear-gradient(#ff3b45 0 45%,#2f8cff 45%);animation:line-in .6s var(--easing-pop) both}
.page-title{color:#20354a}.page-title:after{content:'.';color:#ff3b45}.section-heading .eyebrow{color:#345a78}.search{box-shadow:0 6px 24px #24364b0d;transition:box-shadow .25s,border-color .25s,transform .25s}.search:focus-within{border-color:#2f8cff;box-shadow:0 0 0 4px #2f8cff26;transform:translateY(-2px)}
.calendar-card,.agenda,.focus-card,.undated,.legend{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 9px 26px #24364b0b;transition:box-shadow .3s,border-color .3s,transform .3s}
.calendar-card:before,.agenda:before,.focus-card:before,.undated:before,.legend:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(350px circle at var(--card-x,50%) var(--card-y,50%),#2f8cff14,transparent 70%);opacity:0;transition:opacity .3s}
.pointer-active:before{opacity:1!important}.calendar-card.pointer-active,.agenda.pointer-active,.focus-card.pointer-active{box-shadow:0 18px 38px #24364b16;border-color:#bdd5e9}
.calendar-top h3,.agenda-head h3{font-size:24px;font-weight:750;letter-spacing:-.035em}.navigation button{min-width:44px;min-height:44px}.navigation button:hover{background:#24364b;color:white;border-color:#24364b;transform:translateY(-2px)}
.day{animation:cell-in .45s var(--easing-pop) both;animation-delay:calc(var(--cell-index,0) * 9ms)}.day-event,.renewal-day{transition:transform .2s,box-shadow .2s,filter .2s}.day-event:hover,.renewal-day:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 6px 14px #24364b20;filter:saturate(1.15)}
.event,.renewal-row,.activity-row{animation:item-in .4s var(--easing-pop) both;animation-delay:calc(var(--item-index,0) * 24ms)}.event:hover,.renewal-row:hover{background:#f2f8ff}.event-arrow{transition:transform .2s,color .2s}.event:hover .event-arrow{transform:translate(4px,-4px);color:#ff3b45}.datebox{transition:transform .25s var(--easing-pop)}.event:hover .datebox{transform:rotate(-4deg) scale(1.05)}
.focus-card{animation:focus-in .65s var(--easing-pop) both}.focus-card.upcoming{animation-delay:.1s}.focus-card.checkins{animation-delay:.2s}.focus-count,.count{transition:transform .25s;background:#e8f2ff;color:#245480}.focus-card:hover .focus-count,.agenda:hover .count{transform:scale(1.12)}
.all-button,.project-link{background:#24364b;color:#fff;transition:transform .2s,background .2s,box-shadow .2s}.all-button:hover,.project-link:hover{background:#176fbc;box-shadow:0 8px 20px #2f8cff38;transform:translateY(-3px)}.all-button:active,.project-link:active{transform:translateY(0)}
dialog[open]{animation:modal-pop .38s var(--easing-pop) both;box-shadow:0 30px 90px #10213366}dialog::backdrop{backdrop-filter:blur(4px)}
@keyframes drift-one{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(130px,90px,0) scale(1.22)}}@keyframes drift-two{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-120px,130px,0) scale(1.18)}}@keyframes grid-float{from{transform:translate3d(0,0,0)}to{transform:translate3d(20px,-24px,0)}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes wave{from{transform:scaleY(.4)}to{transform:scaleY(1)}}@keyframes workspace-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes line-in{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes cell-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes item-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes focus-in{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modal-pop{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:800px){.header-right{gap:10px}.soundwave{display:none}.top-note{display:none}.top{padding-left:6%;padding-right:6%}.section-heading:before{left:-12px}.ambient-orb{opacity:.45}}
@media(max-width:480px){.brand{font-size:19px}.brand small{font-size:9px}.motion-toggle{font-size:11px;padding:8px 11px}.calendar-card,.agenda{box-shadow:0 5px 20px #24364b0b}.calendar-top h3,.agenda-head h3{font-size:21px}}
html.page-hidden *,html.page-hidden *::before,html.page-hidden *::after{animation-play-state:paused!important}
html.motion-off *,html.motion-off *::before,html.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
