.bogo-companion{box-sizing:border-box;width:min(100%,390px);padding:16px;border:1px solid #D7D6CE;border-radius:18px;background:#fff;color:#253d4a;font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 12px 32px #283b2e12}.bogo-companion *{box-sizing:border-box}.bogo-header{display:flex;align-items:center;gap:11px;margin-bottom:13px}.bogo-avatar-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#32799f;color:#fff;font-size:22px}.bogo-title{display:grid;gap:1px;flex:1}.bogo-title strong{font-size:15px}.bogo-title span,.bogo-video-placeholder span:last-child{color:#667781;font-size:12px}.bogo-close,.bogo-quiet-button{border:0;background:transparent;color:#4e6875;cursor:pointer}.bogo-close{font-size:24px;line-height:1}.bogo-video-wrap{position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:13px;background:linear-gradient(145deg,#f2efe6,#f5f2e9)}.bogo-video{display:block;width:100%;height:100%;object-fit:cover}.bogo-video-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.bogo-placeholder-avatar{display:grid;width:62px;height:62px;place-items:center;border:1px solid #d7cba7;border-radius:50%;background:#fff9;color:#32799f;font-size:34px}.bogo-note{margin:12px 2px;color:#4e6875}.bogo-error{margin:7px 2px;color:#b42318;font-size:12px}.bogo-primary,.bogo-game-invite{width:100%;min-height:42px;padding:10px 14px;border:0;border-radius:10px;background:#32799f;color:#fff;font:inherit;font-weight:650;cursor:pointer}.bogo-primary:disabled{cursor:wait;opacity:.65}.bogo-controls{display:flex;gap:8px}.bogo-controls .bogo-primary{flex:1}.bogo-controls .bogo-quiet-button,.bogo-quiet-button{padding:9px 11px;border:1px solid #D7D6CE;border-radius:9px}.bogo-game-invite{margin-top:10px;background:#f2efe6;color:#32799f}.bogo-game{margin-top:14px;padding-top:13px;border-top:1px solid #D7D6CE}.bogo-game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.bogo-game-heading>div{display:grid}.bogo-game-heading span{color:#667781;font-size:12px}.bogo-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.bogo-card{aspect-ratio:1;border:1px solid #D7D6CE;border-radius:10px;background:#f2efe6;color:#32799f;font-size:24px;font-weight:700;cursor:pointer}.bogo-card.is-open{background:#fff;color:#304650}.bogo-card.is-matched{border-color:#b8c8af;background:#edf2e8}.bogo-done{margin:11px 0 0;color:#32799f;font-size:12px}.bogo-avatar-audio{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bogo-avatar-audio video{width:1px;height:1px}.bogo-pixel-scene{position:relative;display:flex;min-height:232px;flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden;margin:0 0 12px;border:1px solid #D7D6CE;border-radius:15px;background:radial-gradient(ellipse at 50% 78%,#fff 0,#f5f2e9 54%,#f2efe6);isolation:isolate}.bogo-pixel-scene:before,.bogo-pixel-scene:after{position:absolute;z-index:-1;color:#b49a62;font-size:16px;content:"✦";animation:bogo-twinkle 2.4s ease-in-out infinite}.bogo-pixel-scene:before{top:55px;left:18%;font-size:13px}.bogo-pixel-scene:after{top:80px;right:16%;animation-delay:.8s}.bogo-speech-bubble{position:absolute;top:11px;left:13px;right:13px;z-index:2;display:flex;min-height:49px;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border:1px solid #D7D6CE;border-radius:13px;background:#fff;color:#344853;box-shadow:0 5px 15px #32799f12;text-align:center;font-size:12px;font-weight:650;line-height:1.35;animation:bogo-bubble-in .3s ease-out both}.bogo-speech-bubble:after{position:absolute;bottom:-6px;left:calc(50% - 6px);width:10px;height:10px;transform:rotate(45deg);border-right:1px solid #D7D6CE;border-bottom:1px solid #D7D6CE;background:#fff;content:""}.bogo-bubble-spark{color:#a98f57;font-size:13px;flex:none}.bogo-bubble-copy{max-width:290px;overflow-wrap:anywhere}.bogo-pixel-avatar{position:relative;z-index:1;width:164px;height:164px;margin:43px 0 0;overflow:visible;image-rendering:pixelated}.bogo-pixel-bob{transform-box:fill-box;transform-origin:center bottom;animation:bogo-bob 2.2s ease-in-out infinite}.bogo-pixel-label{position:absolute;right:10px;bottom:8px;color:#8b8d80;font-size:8px;font-weight:800;letter-spacing:1.2px}.bogo-companion-body,.bogo-control-stack{min-width:0}.bogo-companion-body.has-game-picker{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:start;gap:10px}.has-game-picker .bogo-pixel-scene{min-height:176px;height:176px;margin:0}.has-game-picker .bogo-pixel-avatar{width:118px;height:118px;margin-top:48px}.has-game-picker .bogo-pixel-label{right:5px;bottom:5px;font-size:6px;letter-spacing:.7px}.has-game-picker .bogo-game-picker{margin:0;padding:2px 0 0;border:0}.has-game-picker .bogo-game-picker>div{grid-template-columns:1fr}.has-game-picker .bogo-game-option{min-height:49px;padding:7px;gap:7px}.has-game-picker .bogo-game-option>span:first-child{font-size:18px}.has-game-picker .bogo-game-option small{font-size:9px}.has-game-picker .bogo-game-back{width:100%;padding:7px;margin-top:5px}.bogo-mouth-talk{opacity:0}.is-talking .bogo-mouth-smile{animation:bogo-mouth-closed .2s steps(1,end) infinite}.is-talking .bogo-mouth-talk{animation:bogo-mouth-open .2s steps(1,end) infinite}@keyframes bogo-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes bogo-mouth-closed{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes bogo-mouth-open{0%,49%{opacity:0}50%,to{opacity:1}}@keyframes bogo-twinkle{0%,to{opacity:.5;transform:scale(.8) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(14deg)}}@keyframes bogo-bubble-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.bogo-pixel-bob,.bogo-pixel-scene:before,.bogo-pixel-scene:after,.bogo-speech-bubble,.is-talking .bogo-mouth-smile,.is-talking .bogo-mouth-talk{animation:none!important}.is-talking .bogo-mouth-smile{opacity:0}.is-talking .bogo-mouth-talk{opacity:1}}.bogo-game-picker{display:grid;gap:9px;margin-top:14px;padding-top:13px;border-top:1px solid #D7D6CE}.bogo-game-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bogo-game-option{display:flex;align-items:center;gap:9px;min-height:58px;padding:9px;border:1px solid #D7D6CE;border-radius:11px;background:#f8f6ef;color:#253746;text-align:left;cursor:pointer}.bogo-game-option:hover{border-color:#b49a62;background:#f5f2e9}.bogo-game-option>span:first-child{font-size:21px}.bogo-game-option>span:last-child{display:grid;gap:2px}.bogo-game-option small{color:#667781;font-size:10px;line-height:1.3}.bogo-ttt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-width:230px;margin:0 auto}.bogo-ttt-cell{aspect-ratio:1;border:1px solid #D7D6CE;border-radius:9px;background:#f5f2e9;color:#32799f;font-size:30px;font-weight:700;cursor:pointer}.bogo-ttt-cell:disabled{cursor:default}.bogo-quiz-question{margin:5px 0 10px;font-weight:600}.bogo-quiz-choices{display:grid;gap:7px}.bogo-quiz-choice{padding:9px 11px;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#253746;text-align:left;font:inherit;cursor:pointer}.bogo-quiz-choice:hover:not(:disabled),.bogo-quiz-choice.is-picked{border-color:#a98f57;background:#f5f2e9}.bogo-quiz-choice:disabled{cursor:default}.bogo-next{margin-top:8px}.bogo-scramble-letters{padding:10px;border-radius:10px;background:#f2efe6;color:#32799f;font-size:22px;font-weight:750;letter-spacing:3px;text-align:center}.bogo-word-form{display:flex;gap:7px}.bogo-word-form input{min-width:0;flex:1;padding:9px 10px;border:1px solid #D7D6CE;border-radius:9px;font:inherit}.bogo-game-back{width:100%;margin-top:8px}.bogo-quiz-feedback{margin:8px 0 2px;color:#32799f;font-size:13px;font-weight:650}.bogo-game-now{width:100%;margin-top:9px;background:#f5f2e9;color:#32799f;font-weight:650}.bogo-avatar-scene{position:relative;display:flex;min-height:300px;flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden;margin:0 0 12px;border:1px solid #D7D6CE;border-radius:15px;background:radial-gradient(ellipse at 50% 75%,#fff 0,#f5f2e9 54%,#f2efe6);isolation:isolate}.bogo-avatar-scene:before,.bogo-avatar-scene:after{position:absolute;z-index:-1;color:#b49a62;font-size:16px;content:"✦";animation:bogo-twinkle 2.4s ease-in-out infinite}.bogo-avatar-scene:before{top:80px;left:18%;font-size:13px}.bogo-avatar-scene:after{top:105px;right:16%;animation-delay:.8s}.bogo-avatar-3d{position:relative;width:100%;height:290px;margin-top:41px}.bogo-avatar-3d canvas{display:block;width:100%!important;height:100%!important}.bogo-avatar-caption{position:absolute;right:10px;bottom:8px;color:#73796f;font-size:9px;font-weight:650;letter-spacing:.2px}.bogo-avatar-scene.is-speaking{box-shadow:inset 0 0 0 2px #b49a62,0 0 25px #a98f5733}.bogo-avatar-scene.is-speaking .bogo-speech-bubble{animation:bogo-bubble-in .3s ease-out both,bogo-speaking-pulse 1s ease-in-out infinite alternate}.bogo-chat-form{display:flex;gap:7px}.bogo-chat-form input{min-width:0;flex:1;padding:10px;border:1px solid #D7D6CE;border-radius:9px;font:inherit}.bogo-chat-form .bogo-primary{width:auto;min-width:68px;padding:9px 12px}.bogo-voice-controls{display:flex;gap:7px;margin-top:7px}.bogo-voice-controls button{flex:1}.bogo-companion-body.has-game-picker{grid-template-columns:122px minmax(0,1fr)}.has-game-picker .bogo-avatar-scene{min-height:194px;height:194px;margin:0}.has-game-picker .bogo-avatar-3d{height:180px;margin-top:46px}.has-game-picker .bogo-avatar-caption{right:4px;bottom:4px;font-size:6px}.has-game-picker .bogo-speech-bubble{top:7px;left:6px;right:6px;min-height:40px;gap:3px;padding:6px 5px;font-size:9px}.has-game-picker .bogo-bubble-spark{font-size:10px}@keyframes bogo-speaking-pulse{0%{box-shadow:0 4px 14px #32799f10}to{box-shadow:0 5px 22px #32799f44}}@media (max-width:360px){.bogo-avatar-scene{min-height:270px}.bogo-avatar-3d{height:260px}.bogo-companion-body.has-game-picker{grid-template-columns:1fr}.has-game-picker .bogo-avatar-scene{height:210px}.has-game-picker .bogo-avatar-3d{height:195px}}@media (prefers-reduced-motion:reduce){.bogo-avatar-scene:before,.bogo-avatar-scene:after,.bogo-avatar-scene.is-speaking .bogo-speech-bubble{animation:none}}.bogo-language-picker{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;color:#667781;font-size:11px;font-weight:650}.bogo-language-picker select{max-width:55%;padding:7px 9px;border:1px solid #D7D6CE;border-radius:8px;background:#fff;color:#253746;font:inherit;font-size:12px}.bogo-photo-avatar{position:relative;width:100%;height:100%;overflow:hidden;border-radius:14px 14px 7px 7px;background:#f2efe6}.bogo-photo-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%;border-radius:inherit}.bogo-photo-mouth{position:absolute;top:55.7%;left:50%;width:33px;height:9px;transform:translate(-50%,-50%) scaleY(.25);transform-origin:center;background:#6b2934;border:1px solid #a84e56;border-radius:50%;opacity:0;box-shadow:0 1px 2px #253d4a2e}.bogo-photo-mouth:after{position:absolute;top:1px;left:5px;right:5px;height:2px;border-radius:0 0 50% 50%;background:#fff4e9;content:""}.is-speaking .bogo-photo-mouth{opacity:.94;animation:bogo-photo-talk .23s steps(2,end) infinite alternate}@keyframes bogo-photo-talk{0%{transform:translate(-50%,-50%) scaleY(.35)}to{transform:translate(-50%,-50%) scaleY(1.35)}}@media (prefers-reduced-motion:reduce){.is-speaking .bogo-photo-mouth{animation:none;transform:translate(-50%,-50%) scaleY(1)}}@media (max-width:360px){.bogo-companion-body.has-game-picker{grid-template-columns:104px minmax(0,1fr)}.has-game-picker .bogo-pixel-avatar{width:96px;height:96px}}.bogo-language-hint{margin:-3px 0 11px;color:#667781;font-size:11px;line-height:1.4}.bogo-voice-controls{flex-wrap:wrap}.bogo-voice-controls .bogo-quiet-button{min-height:43px;font-weight:650}.bogo-voice-status{flex:1 0 100%;padding:4px 2px 0;color:#5a7681;font-size:11px}.bogo-game-picker{gap:11px;margin-top:12px;padding:14px;border:1px solid #D7D6CE;border-radius:14px;background:linear-gradient(145deg,#f8f6ef,#f5f2e9)}.bogo-game-picker>strong{color:#253d4a;font-size:14px}.bogo-game-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bogo-game-option{min-width:0;min-height:68px;padding:10px;border-color:#d7d6ce;border-radius:12px;background:#fff;box-shadow:0 2px 7px #32799f0a;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.bogo-game-option:hover{transform:translateY(-1px);border-color:#b49a62;box-shadow:0 5px 14px #32799f12}.bogo-game-option:focus-visible,.bogo-quiet-button:focus-visible,.bogo-primary:focus-visible{outline:3px solid #c2ad73;outline-offset:2px}.bogo-game-option>span:first-child{display:grid;width:34px;height:34px;flex:none;place-items:center;border-radius:10px;background:#f2efe6;font-size:19px}.bogo-game-option>span:last-child{min-width:0}.bogo-game-option b{font-size:12px;line-height:1.25}.bogo-game-option small{font-size:10px;line-height:1.3}.bogo-game-back{min-height:40px;background:#f5f2e9;color:#32799f;font-weight:600}@media (max-width:390px){.bogo-game-picker>div{grid-template-columns:1fr}.bogo-game-option{min-height:58px}}.bogo-companion{position:relative;z-index:auto;inset:auto;display:block;width:min(100%,460px);max-height:none;overflow:visible}.bogo-companion-body{display:block;min-height:0;overflow:visible}.bogo-pixel-scene{position:relative;top:auto;z-index:1;height:244px;min-height:244px;box-shadow:none}.bogo-dock-toggle{position:absolute;top:12px;right:12px;z-index:4;display:grid;width:33px;height:33px;place-items:center;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#4e6875;font-size:18px;cursor:pointer}.bogo-style-toggle{position:absolute;top:12px;right:54px;z-index:4;display:grid;width:33px;height:33px;place-items:center;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#4e6875;font-size:17px;font-weight:700;cursor:pointer}.bogo-style-toggle:hover{border-color:#b49a62;background:#f5f2e9}.bogo-pixel-scene .bogo-close{position:absolute;top:12px;left:12px;z-index:4;display:grid;width:33px;height:33px;place-items:center;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#4e6875;font-size:21px;cursor:pointer}.bogo-dock-toggle:hover{border-color:#b49a62;background:#f5f2e9}.bogo-speech-bubble{left:13px;right:184px;max-height:132px;overflow-y:auto}.bogo-dock-left .bogo-pixel-avatar{animation-direction:alternate}.bogo-dock-right .bogo-pixel-avatar{animation-direction:alternate-reverse}.bogo-companion-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.bogo-companion-actions .bogo-voice-controls{min-width:0;margin:0}.bogo-companion-actions .bogo-voice-controls .bogo-quiet-button{flex:1;padding:9px 8px}.bogo-companion-actions .bogo-game-now{min-height:42px;margin:0;padding:9px 8px}.bogo-pixel-avatar{position:absolute;left:auto;right:14px;bottom:11px;width:160px;height:160px;margin:0;cursor:pointer;touch-action:manipulation;animation:bogo-pixel-walk-across 4s ease-in-out infinite alternate}.bogo-pixel-avatar .bogo-pixel-bob{animation:bogo-pixel-walk-step .52s steps(2,end) infinite}.bogo-pixel-limb{transform-box:fill-box;transform-origin:center 18%;animation-duration:.52s;animation-timing-function:steps(2,end);animation-iteration-count:infinite}.bogo-pixel-arm-left{animation-name:bogo-arm-left}.bogo-pixel-arm-right{animation-name:bogo-arm-right}.bogo-pixel-leg-left{animation-name:bogo-pixel-step-right}.bogo-pixel-leg-right{animation-name:bogo-pixel-step-left}.bogo-smooth-limb{transform-box:fill-box;transform-origin:center 18%;animation-duration:.52s;animation-timing-function:steps(2,end);animation-iteration-count:infinite}.bogo-smooth-arm-left{transform-origin:92% 68%;animation-name:bogo-smooth-arm-left}.bogo-smooth-arm-right{transform-origin:8% 68%;animation-name:bogo-smooth-arm-right}.bogo-smooth-leg-left{animation-name:bogo-leg-left}.bogo-smooth-leg-right{animation-name:bogo-leg-right}.bogo-pixel-avatar:hover,.bogo-pixel-avatar:focus-visible{animation-play-state:paused}.bogo-pixel-avatar:focus-visible{outline:3px solid #b49a62;outline-offset:3px;border-radius:12px}.bogo-pet-heart{position:absolute;top:48%;left:calc(50% + 43px);z-index:4;color:#ed6382;font-size:21px;line-height:1;text-shadow:0 2px 5px #8f335b30;pointer-events:none;animation:bogo-pet-heart .85s ease-out both}.is-petted .bogo-pixel-bob{animation:bogo-pet-bounce .22s ease-in-out 3}.bogo-game-now{flex:none}@keyframes bogo-pet-bounce{0%,to{transform:translateY(0) rotate(0)}35%{transform:translateY(-10px) rotate(-4deg)}70%{transform:translateY(-3px) rotate(4deg)}}@keyframes bogo-pet-heart{0%{opacity:0;transform:translateY(8px) scale(.6)}25%{opacity:1;transform:translateY(0) scale(1.15)}to{opacity:0;transform:translateY(-30px) scale(.9)}}@keyframes bogo-pixel-walk-across{0%{transform:translate(0)}to{transform:translate(-72px)}}@keyframes bogo-pixel-walk-step{0%,to{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-2px) rotate(.5deg)}}@keyframes bogo-arm-left{0%,to{transform:translate(-2px) rotate(-13deg)}50%{transform:translate(2px) rotate(13deg)}}@keyframes bogo-arm-right{0%,to{transform:translate(2px) rotate(13deg)}50%{transform:translate(-2px) rotate(-13deg)}}@keyframes bogo-pixel-step-left{0%,to{transform:translate(-4px) rotate(-22deg)}50%{transform:translate(4px) rotate(22deg)}}@keyframes bogo-pixel-step-right{0%,to{transform:translate(4px) rotate(22deg)}50%{transform:translate(-4px) rotate(-22deg)}}@keyframes bogo-smooth-arm-left{0%,to{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes bogo-smooth-arm-right{0%,to{transform:rotate(5deg)}50%{transform:rotate(-5deg)}}@keyframes bogo-leg-left{0%,to{transform:translate(-1px) rotate(-6deg)}50%{transform:translate(1px) rotate(6deg)}}@keyframes bogo-leg-right{0%,to{transform:translate(1px) rotate(6deg)}50%{transform:translate(-1px) rotate(-6deg)}}@media (max-width:480px){.bogo-companion{width:100%}.bogo-pixel-scene{height:232px;min-height:232px}.bogo-speech-bubble{right:158px;left:8px}.bogo-pixel-avatar{right:6px;width:142px;height:142px}.bogo-dock-toggle{right:8px;top:8px}.bogo-style-toggle{right:46px;top:8px}.bogo-pixel-scene .bogo-close{left:8px;top:8px}}@media (max-width:360px){.bogo-pixel-avatar{left:auto;right:2px;bottom:8px;width:126px;height:126px}.has-game-picker .bogo-pixel-avatar{width:96px;height:96px;left:auto;right:2px}}@keyframes bogo-pixel-walk-short{0%{transform:translate(-48px)}to{transform:translate(48px)}}@media (prefers-reduced-motion:reduce){.bogo-pixel-avatar,.bogo-pixel-avatar .bogo-pixel-bob,.bogo-pixel-limb,.bogo-smooth-limb,.is-petted .bogo-pixel-bob,.bogo-pet-heart{animation:none!important}.bogo-pet-heart{display:none}}.bogo-pixel-scene .bogo-speech-bubble{height:auto!important;min-height:0!important;max-height:82px!important;overflow:hidden!important;padding:8px 10px!important}.bogo-pixel-scene .bogo-bubble-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.6em;overflow:hidden;line-height:1.3}.bogo-chat-panel{margin-top:10px;padding:10px;border:1px solid #D7D6CE;border-radius:13px;background:#f8f6ef}.bogo-mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 9px;padding:4px;border:1px solid #D7D6CE;border-radius:11px;background:#f5f2e9}.bogo-mode-toggle button{min-height:38px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#596d70;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.bogo-mode-toggle button.is-active{background:#fffdf8;color:#253d4a;box-shadow:0 1px 5px #25374618}.bogo-mode-toggle button:focus-visible{outline:2px solid #b49a62;outline-offset:2px}.bogo-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;color:#253d4a;font-size:12px}.bogo-voice-status{display:inline-flex;align-items:center;gap:5px;flex:none;color:#667781;font-size:10px;font-weight:650;white-space:nowrap}.bogo-voice-status i{width:7px;height:7px;border-radius:50%;background:#aaa4b7}.bogo-voice-status.is-listening{color:#32799f}.bogo-voice-status.is-listening i{background:#32799f;box-shadow:0 0 0 3px #32799f20;animation:bogo-listening-pulse 1.2s ease-in-out infinite}.bogo-voice-status.is-thinking i{background:#a98f57;animation:bogo-listening-pulse .8s ease-in-out infinite}.bogo-voice-status.is-speaking i{background:#a98f57}.bogo-chat-log{display:flex;min-height:58px;max-height:132px;flex-direction:column;gap:7px;overflow-y:auto;padding:2px 2px 8px;scrollbar-width:thin}.bogo-chat-message{width:fit-content;max-width:92%;padding:7px 9px;border:1px solid #D7D6CE;border-radius:10px;background:#fff;color:#304650;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.bogo-chat-message.is-user{align-self:flex-end;border-color:#d7d6ce;background:#f2efe6}.bogo-chat-message>span{display:block;margin-bottom:2px;color:#657984;font-size:9px;font-weight:700}.bogo-chat-message p{margin:0;white-space:pre-wrap}.bogo-chat-message.is-live-transcript{border-style:dashed}.bogo-chat-thinking,.bogo-chat-empty{margin:0;padding:8px 9px;color:#667781;font-size:10px}.bogo-chat-form{display:flex;gap:6px;margin-top:3px}.bogo-chat-form input{min-width:0;flex:1;padding:9px 10px;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#253746;font:inherit;font-size:12px}.bogo-chat-form input:focus{outline:2px solid #b49a62;outline-offset:1px}.bogo-chat-form input:disabled{background:#f6f3eb}.bogo-chat-form button{flex:none;padding:0 12px;border:0;border-radius:9px;background:#32799f;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.bogo-chat-form button:disabled{cursor:not-allowed;opacity:.48}.gen-companion .bogo-companion{width:100%;max-width:none}@keyframes bogo-listening-pulse{0%,to{transform:scale(1);opacity:.75}50%{transform:scale(1.25);opacity:1}}@media (prefers-reduced-motion:reduce){.bogo-voice-status.is-listening i,.bogo-voice-status.is-thinking i{animation:none}}:root[data-theme=dark] .bogo-companion{border-color:#ded8c933;background:#182833;color:#f3efe4;box-shadow:0 12px 32px #00000052}:root[data-theme=dark] .bogo-title span,:root[data-theme=dark] .bogo-video-placeholder span:last-child,:root[data-theme=dark] .bogo-game-heading span,:root[data-theme=dark] .bogo-chat-thinking,:root[data-theme=dark] .bogo-chat-empty{color:#b7bcae}:root[data-theme=dark] .bogo-close,:root[data-theme=dark] .bogo-quiet-button{color:#d1d2c7}:root[data-theme=dark] .bogo-video-wrap,:root[data-theme=dark] .bogo-pixel-scene,:root[data-theme=dark] .bogo-avatar-scene{border-color:#b69b623d;background:radial-gradient(ellipse at 50% 75%,#283e4b 0,#1f3442 58%,#172a36)}:root[data-theme=dark] .bogo-speech-bubble{border-color:#ded8c933;background:#1f3442;color:#f3efe4;box-shadow:0 5px 15px #0003}:root[data-theme=dark] .bogo-speech-bubble:after{border-color:#ded8c933;background:#1f3442}:root[data-theme=dark] .bogo-companion .bogo-game-invite,:root[data-theme=dark] .bogo-companion .bogo-game-now,:root[data-theme=dark] .bogo-companion .bogo-card,:root[data-theme=dark] .bogo-companion .bogo-ttt-cell,:root[data-theme=dark] .bogo-companion .bogo-scramble-letters{border-color:#ded8c92e;background:#283e4b;color:#e1d2a9}:root[data-theme=dark] .bogo-companion .bogo-card.is-open,:root[data-theme=dark] .bogo-companion .bogo-quiz-choice,:root[data-theme=dark] .bogo-companion .bogo-word-form input,:root[data-theme=dark] .bogo-companion .bogo-chat-form input,:root[data-theme=dark] .bogo-companion .bogo-chat-message{border-color:#ded8c933;background:#1f3442;color:#f3efe4}:root[data-theme=dark] .bogo-companion .bogo-quiz-choice:hover:not(:disabled),:root[data-theme=dark] .bogo-companion .bogo-quiz-choice.is-picked,:root[data-theme=dark] .bogo-companion .bogo-chat-message.is-user{border-color:#b69b6257;background:#283e4b}:root[data-theme=dark] .bogo-companion .bogo-game,:root[data-theme=dark] .bogo-companion .bogo-game-picker{border-color:#ded8c929}:root[data-theme=dark] .bogo-companion .bogo-primary{background:#32799f;color:#f8f5eb}.bogo-companion{display:grid;gap:12px;width:min(100%,460px)}.bogo-conversation-card,.bogo-game-card{min-width:0;padding:12px;border:1px solid #D7D6CE;border-radius:16px;background:#fff;box-shadow:0 8px 22px #283b2e0a}.bogo-conversation-card .bogo-companion-body{display:block}.bogo-conversation-card .bogo-pixel-scene{margin-bottom:10px}.bogo-conversation-card .bogo-chat-panel{margin-top:0}.bogo-conversation-card .bogo-companion-actions{grid-template-columns:1fr;margin-top:8px}.bogo-game-card{display:grid;gap:10px}.bogo-game-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.bogo-game-card-heading>div{display:grid;gap:2px}.bogo-game-card-heading strong{color:#253d4a;font-size:14px}.bogo-game-card-heading span,.bogo-game-prompt{color:#73796f;font-size:11px;line-height:1.45}.bogo-game-open{flex:none;padding:8px 11px;border:1px solid #c2ad73;border-radius:9px;background:#f5f2e9;color:#32799f;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.bogo-game-open:hover{background:#eee8d8}.bogo-game-card .bogo-game-picker{margin:0;padding:0;border:0;background:transparent;box-shadow:none}.bogo-game-card .bogo-game-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}.bogo-game-card .bogo-game{margin:0;padding:0;border:0}.bogo-pixel-scene .bogo-speech-bubble{height:auto!important;min-height:0!important;max-height:82px!important;overflow:hidden!important;padding:9px 12px!important;border-color:#dfd2af;border-radius:16px;background:#fffdf8;box-shadow:0 6px 18px #286a911a;font-size:12px;line-height:1.35}.bogo-pixel-scene .bogo-speech-bubble:after{border-color:#dfd2af;background:#fffdf8}.bogo-pixel-scene .bogo-bubble-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.05em;overflow:hidden;line-height:1.35;text-overflow:ellipsis}:root[data-theme=dark] .bogo-conversation-card,:root[data-theme=dark] .bogo-game-card{border-color:#ded8c933;background:#182833;box-shadow:0 8px 22px #00000040}:root[data-theme=dark] .bogo-game-card-heading strong{color:#f3efe4}:root[data-theme=dark] .bogo-game-card-heading span,:root[data-theme=dark] .bogo-game-prompt{color:#b7bcae}:root[data-theme=dark] .bogo-game-open{border-color:#b69b6266;background:#283e4b;color:#e1d2a9}:root[data-theme=dark] .bogo-mode-toggle{border-color:#ded8c92e;background:#203542}:root[data-theme=dark] .bogo-mode-toggle button{color:#b7bcae}:root[data-theme=dark] .bogo-mode-toggle button.is-active{background:#344b57;color:#f3efe4;box-shadow:0 1px 5px #0004}:root[data-theme=dark] .bogo-pixel-scene .bogo-speech-bubble,:root[data-theme=dark] .bogo-pixel-scene .bogo-speech-bubble:after{border-color:#ded8c933;background:#1f3442;color:#f3efe4}@media (max-width:480px){.bogo-conversation-card,.bogo-game-card{padding:10px}.bogo-game-card .bogo-game-picker>div{grid-template-columns:1fr}}.bogo-chat-heading strong,.bogo-voice-status,.bogo-game-card-heading strong,.bogo-game-card-heading span,.bogo-game-open,.bogo-game-heading strong,.bogo-game-heading span,.bogo-game-picker>strong,.bogo-game-option b,.bogo-game-option small,.bogo-game-prompt,.bogo-companion-actions .bogo-quiet-button,.bogo-chat-form button{text-transform:capitalize}.bogo-auth{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;min-height:100vh;min-height:100dvh;background:#0b1220;color:#e8eefc;font-family:var(--font)}.bogo-auth__welcome{flex:1 1 46%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 40%,rgba(139,92,246,.16),transparent 36%),radial-gradient(circle at 70% 60%,rgba(6,182,212,.12),transparent 32%),linear-gradient(160deg,#0c1424,#10182c 55%,#0b1220)}.bogo-auth__panel{flex:1 1 54%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:72px 28px 32px;background:radial-gradient(circle at 80% 0%,rgba(34,211,238,.08),transparent 28%),#0c1426}.bogo-auth__content{width:min(440px,100%);margin:auto}.bogo-auth__heading{margin:0 0 18px;color:#243b47;text-align:center;font-family:Times New Roman,Times,serif;font-size:clamp(2.35rem,4vw,3rem);font-weight:700;line-height:1.1}.bogo-auth__theme{position:fixed;top:18px;right:18px;z-index:2;width:40px;height:40px;border-radius:999px;border:1px solid rgba(148,163,184,.28);background:#0f172ab8;color:#e2e8f0;display:grid;place-items:center}.bogo-auth__card{width:100%;margin:0;padding:28px 26px 22px;border-radius:22px;border:1px solid rgba(34,211,238,.28);background:linear-gradient(180deg,#111b30f5,#0a1020fa);box-shadow:0 0 0 1px #22d3ee0f,0 24px 60px #00000073,0 0 40px #22d3ee14}.bogo-logo{display:block;width:auto;height:auto;object-fit:contain}.bogo-logo--large{width:min(460px,86%)}.bogo-auth__microsoft{width:100%;height:48px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;border:1px solid rgba(45,212,191,.7);background:#0d1728;color:#f8fafc;font-size:.98rem;font-weight:600;box-shadow:0 0 0 1px #22d3ee1f,0 0 22px #22d3ee2e}.bogo-auth__microsoft:hover:not(:disabled){border-color:#67e8f9;box-shadow:0 0 28px #22d3ee47}.bogo-auth__microsoft:disabled{opacity:.7;cursor:wait}.bogo-auth__ms{width:18px;height:18px}.bogo-auth__or{display:flex;align-items:center;gap:14px;margin:18px 0;color:#94a3b8;font-size:.75rem;font-style:normal;letter-spacing:.16em}.bogo-auth__or span{flex:1;height:1px;background:#94a3b847}.bogo-auth__or em{font-style:normal}.bogo-auth__field{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;font-size:.92rem;font-weight:600}.bogo-auth__field input{width:100%;height:46px;border-radius:12px;border:1px solid rgba(148,163,184,.28);background:#0e1728;color:#f8fafc;padding:0 14px;font:inherit;font-weight:500}.bogo-auth__field input::placeholder{color:#7c8aa5}.bogo-auth__field input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf638}.bogo-auth__password{position:relative;display:block}.bogo-auth__password input{padding-right:44px}.bogo-auth__eye{position:absolute;top:0;right:4px;height:46px;width:40px;border:0;background:transparent;color:#94a3b8;display:grid;place-items:center}.bogo-auth__forgot{display:flex;justify-content:flex-end;margin:-2px 0 16px}.bogo-auth__forgot button,.bogo-auth__signup button{border:0;background:transparent;color:#a78bfa;font:inherit;font-size:.9rem;font-weight:600}.bogo-auth__forgot button:hover,.bogo-auth__signup button:hover{color:#c4b5fd}.bogo-auth__error,.bogo-auth__notice{margin:0 0 12px;font-size:.86rem;line-height:1.4}.bogo-auth__error{color:#fda4af}.bogo-auth__notice{color:#7dd3fc}.bogo-auth__submit{width:100%;height:48px;border:0;border-radius:12px;color:#fff;font:inherit;font-size:1rem;font-weight:700;background:linear-gradient(90deg,#7c5cff,#6d4dff);box-shadow:0 10px 24px #6d4dff59}.bogo-auth__submit:hover:not(:disabled){filter:brightness(1.08)}.bogo-auth__submit:disabled{opacity:.7;cursor:wait}.bogo-auth__signup{margin:16px 0 0;text-align:center;color:#94a3b8;font-size:.9rem}.bogo-auth__foot{margin-top:18px;padding-top:14px;border-top:1px solid rgba(148,163,184,.16);text-align:center;color:#7c8aa5;font-size:.75rem;line-height:1.5}.bogo-auth__foot p+p{margin-top:4px}:root[data-theme=light] .bogo-auth{background:#eef2f7;color:#0f172a}:root[data-theme=light] .bogo-auth__welcome{background:radial-gradient(circle at 30% 40%,rgba(139,92,246,.12),transparent 36%),linear-gradient(160deg,#e8eef8,#f8fafc)}:root[data-theme=light] .bogo-auth__panel{background:#f4f7fb}:root[data-theme=light] .bogo-auth__theme{background:#fff;color:#334155}:root[data-theme=light] .bogo-auth__card{background:#fff;border-color:#0e74902e;box-shadow:0 20px 40px #0f172a14}:root[data-theme=dark] .bogo-auth__heading{color:#f3efe4}:root[data-theme=light] .bogo-auth__microsoft,:root[data-theme=light] .bogo-auth__field input{background:#f8fafc;color:#0f172a}@media (max-width: 860px){.bogo-auth{flex-direction:column;overflow:auto;position:absolute}.bogo-auth__welcome{flex:none;min-height:180px;padding:28px 16px 8px}.bogo-logo--large{width:min(320px,88%)}.bogo-auth__panel{flex:none;padding-top:12px}}.connect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-bottom:16px}.connect-card{display:flex;flex-direction:column;gap:12px;min-width:0}.connect-card h2{font-size:1.05rem;display:flex;align-items:center;gap:8px}.connect-card .small{font-size:.85rem}.token-form{display:flex;flex-direction:column;gap:10px}.token-form .btn-primary{align-self:flex-start}.fresh-token{border:1px solid var(--accent);border-radius:var(--radius-sm);padding:12px;background:var(--surface-subtle);font-size:.9rem;display:flex;flex-direction:column;gap:8px}.copy-block{position:relative}.copy-block pre{margin:0;padding:12px 12px 40px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border);font-size:.8rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.copy-block .icon-text-btn{position:absolute;right:8px;bottom:8px}.token-list,.tool-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.token-list li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--border)}.token-list .row-main{display:flex;flex-direction:column;flex:1 1 180px;min-width:0}.token-list .row-main .muted{font-size:.8rem;overflow-wrap:anywhere}.tool-list li{display:flex;flex-direction:column;gap:2px;font-size:.88rem}.tool-list li span{color:var(--text-muted)}.connect-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:.9rem}.connect-guard{font-size:.88rem;border-left:3px solid var(--success);padding:6px 10px;background:var(--surface-subtle);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.table-scroll{overflow-x:auto}.calls-table{width:100%;border-collapse:collapse;font-size:.85rem}.calls-table th,.calls-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border);vertical-align:top}.calls-table th{color:var(--text-muted);font-weight:600}.calls-table td.ok{color:var(--success)}.calls-table td.bad{color:var(--error);overflow-wrap:anywhere;min-width:180px}@media (max-width: 480px){.connect-grid{grid-template-columns:1fr}.calls-table th:nth-child(5),.calls-table td:nth-child(5){display:none}}.astor-page{width:min(1440px,100%);margin:0 auto;padding:30px clamp(16px,3vw,40px) 38px;color:#253d4a}.astor-header{display:flex;align-items:center;gap:15px;margin:0 0 24px}.astor-title-icon,.astor-card-icon,.astor-welcome-icon{display:grid;flex:none;place-items:center;border:1px solid #D7D6CE;border-radius:14px;background:linear-gradient(145deg,#f5f2e9,#fff);color:#32799f}.astor-title-icon{width:54px;height:54px;border-radius:16px;box-shadow:0 5px 15px #32799f0d}.astor-eyebrow{margin:0 0 1px;color:#76633d;font-size:10px;font-weight:800;letter-spacing:.12em}.astor-header h1{margin:0;color:#253d4a;font-size:28px;line-height:1.15}.astor-subtitle{margin:4px 0 0;color:#73796f;font-size:13px}.astor-connection-badge{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:8px 11px;border:1px solid #D7D6CE;border-radius:999px;background:#fff;color:#73796f;font-size:11px;font-weight:700}.astor-connection-badge.is-connected{border-color:#d5e0e1;background:#f3fbf6;color:#24764e}.astor-connect-card,.astor-schema-card,.astor-chat-card{border:1px solid #D7D6CE;border-radius:18px;background:#fff;box-shadow:0 12px 34px #283b2e0a}.astor-connect-card{max-width:900px;margin:0 auto;padding:23px}.astor-card-heading,.astor-chat-heading{display:flex;align-items:center;gap:12px;margin-bottom:21px}.astor-dataset-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}.astor-dataset-action{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #D7D6CE;border-radius:9px;font:inherit;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.astor-dataset-action.is-secondary{background:#fff;color:#4e6875}.astor-dataset-action.is-primary{border-color:#32799f;background:#32799f;color:#fff}.astor-dataset-action:disabled{cursor:wait;opacity:.6}.astor-replace-note{margin:-7px 0 16px;padding:9px 11px;border:1px solid #eee6d2;border-radius:9px;background:#fffaf0;color:#76633a;font-size:10px;line-height:1.45}.astor-card-icon{width:40px;height:40px;border-radius:12px}.astor-card-heading h2,.astor-chat-heading h2{margin:0;color:#253d4a;font-size:16px}.astor-card-heading p,.astor-chat-heading p{margin:4px 0 0;color:#73796f;font-size:12px}.astor-text-button{margin-left:auto;padding:7px 10px;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#4e6875;font:inherit;font-size:12px;cursor:pointer}.astor-connection-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.astor-field{display:flex;min-width:0;flex-direction:column;gap:6px;color:#465f6b;font-size:11px;font-weight:700}.astor-field-wide{grid-column:1/-1}.astor-field input,.astor-field select{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid #D7D6CE;border-radius:10px;background:#fff;color:#304650;font:inherit;font-size:13px;font-weight:450}.astor-field input:focus,.astor-field select:focus,.astor-query-form textarea:focus{outline:2px solid #b49a62;outline-offset:1px}.astor-field input::placeholder,.astor-query-form textarea::placeholder{color:#96998c}.astor-field small{color:#73796f;font-size:10px;font-weight:450}.astor-check{display:flex;align-items:center;gap:8px;font-weight:550}.astor-check input{width:16px;height:16px;accent-color:#32799F}.astor-privacy-note{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #D7D6CE;border-radius:11px;background:#f5f2e9;color:#4e6875;font-size:11px;line-height:1.5}.astor-privacy-note svg{flex:none;margin-top:1px;color:#32799f}.astor-privacy-note code{overflow-wrap:anywhere;font-size:.95em}.astor-primary-button{display:flex;min-height:43px;align-items:center;justify-content:center;gap:9px;border:0;border-radius:11px;background:linear-gradient(100deg,#32799f,#32799f);color:#fff;font:inherit;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 5px 14px #32799f27}.astor-primary-button:disabled,.astor-query-actions button:disabled{cursor:wait;opacity:.65}.astor-error{max-width:900px;margin:0 auto 15px;padding:11px 13px;border:1px solid #f0cccc;border-radius:10px;background:#fff7f7;color:#9e3333;font-size:12px}.astor-footer{display:flex;align-items:center;justify-content:center;gap:7px;margin:17px 0 0;color:#73796f;font-size:10px}.astor-workspace{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:620px;overflow:hidden;border:1px solid #D7D6CE;border-radius:17px;background:#fff;box-shadow:0 12px 34px #283b2e0a}.astor-side-nav{display:flex;min-width:0;flex-direction:column;gap:5px;padding:14px 12px;border-right:1px solid #D7D6CE;background:#f8f6ef}.astor-side-button{display:flex;width:100%;min-height:44px;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#585267;text-align:left;font:inherit;font-size:13px;font-weight:550;cursor:pointer}.astor-side-button:hover,.astor-recent-chat:hover{background:#f2efe6;color:#32799f}.astor-side-button.is-active{background:#eee9dd;color:#32799f;font-weight:700}.astor-side-button svg{flex:none;color:#5a7681}.astor-recent-section{display:flex;min-height:0;flex-direction:column;gap:5px;margin-top:17px;padding-top:14px;border-top:1px solid #D7D6CE}.astor-recent-title{padding:0 9px 5px;color:#73796f;font-size:10px;font-weight:750;letter-spacing:.03em}.astor-recent-chat{display:flex;width:100%;min-width:0;align-items:center;gap:8px;padding:9px;border:0;border-radius:8px;background:transparent;color:#4e6875;text-align:left;font:inherit;font-size:11px;cursor:pointer}.astor-recent-chat svg{flex:none;color:#5a7681}.astor-recent-chat span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.astor-recent-chat.is-active{background:#eee9dd;color:#32799f}.astor-recent-empty{padding:3px 9px;color:#8b8d80;font-size:10px;line-height:1.4}.astor-main-panel{min-width:0;background:#fff}.astor-dataset-view{padding:20px}.astor-dataset-view .astor-connect-card{max-width:none;margin:0;box-shadow:none}.astor-dataset-card{width:100%}.astor-dataset-table-list{max-height:57vh;margin-top:11px}.astor-chat-card{min-height:620px;border:0;border-radius:0;box-shadow:none}.astor-layout{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);align-items:start;gap:16px}.astor-schema-card{overflow:hidden;padding:16px}.astor-schema-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.astor-schema-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:#253d4a;font-size:14px}.astor-schema-heading h2 svg{color:#32799f}.astor-schema-heading p{margin:5px 0 0 25px;color:#73796f;font-size:10px}.astor-schema-heading button{display:grid;width:33px;height:33px;place-items:center;border:1px solid #D7D6CE;border-radius:9px;background:#fff;color:#657984;cursor:pointer}.astor-table-list{display:flex;max-height:62vh;flex-direction:column;gap:7px;overflow:auto}.astor-table-item{display:flex;flex-direction:column;gap:5px;padding:9px 10px;border:1px solid #D7D6CE;border-radius:10px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.astor-table-item:hover{border-color:#c2ad73;background:#f7f4ec}.astor-table-item>span{display:flex;align-items:center;gap:7px;color:#344853;font-size:12px}.astor-table-item>span svg{flex:none;color:#32799f}.astor-table-item small{overflow:hidden;color:#73796f;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.astor-empty{color:#73796f;font-size:11px}.astor-chat-card{display:flex;min-height:620px;flex-direction:column;overflow:hidden}.astor-chat-heading{margin:0;padding:17px 20px;border-bottom:1px solid #D7D6CE}.astor-chat-heading .astor-card-icon{width:36px;height:36px}.astor-safe-label{display:flex;align-items:center;gap:5px;margin-left:auto;padding:6px 8px;border:1px solid #D5E0E1;border-radius:999px;background:#f4fbf6;color:#337753;font-size:9px;font-weight:700;white-space:nowrap}.astor-messages{display:flex;min-height:280px;flex:1;flex-direction:column;gap:14px;overflow:auto;padding:20px}.astor-welcome{display:flex;max-width:390px;flex-direction:column;align-items:center;justify-content:center;margin:auto;text-align:center}.astor-welcome-icon{width:48px;height:48px;border-radius:15px}.astor-welcome h3{margin:12px 0 5px;color:#253d4a;font-size:15px}.astor-welcome p{margin:0;color:#73796f;font-size:12px;line-height:1.5}.astor-message{max-width:min(90%,700px);align-self:flex-start;padding:10px 12px;border:1px solid #D7D6CE;border-radius:13px;background:#fff;color:#304650}.astor-message.is-user{align-self:flex-end;border-color:#d7d6ce;background:#f6f3eb}.astor-message-label{margin-bottom:4px;color:#5a7681;font-size:9px;font-weight:800}.astor-message-text{margin:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.5;white-space:pre-wrap}.astor-message.is-user:not(.is-sql) .astor-message-text{font-family:inherit;font-size:12px}.astor-message.is-assistant .astor-message-text{font-family:inherit;font-size:12px}.astor-results{max-width:100%;margin-top:10px}.astor-results-scroll{max-width:100%;overflow:auto;border:1px solid #D7D6CE;border-radius:8px}.astor-results table{width:100%;border-collapse:collapse;font-size:10px}.astor-results th,.astor-results td{max-width:260px;padding:7px 9px;border-bottom:1px solid #D7D6CE;text-align:left;vertical-align:top;overflow-wrap:anywhere}.astor-results th{background:#f5f2e9;color:#4e6875;font-size:9px}.astor-results small{display:block;margin-top:5px;color:#73796f;font-size:9px}.astor-working{display:flex;align-items:center;gap:8px;color:#5a7681;font-size:11px}.astor-query-form{padding:14px 18px;border-top:1px solid #D7D6CE;background:#f8f6ef}.astor-query-modes{display:flex;gap:6px;margin:0 0 12px}.astor-query-modes button{padding:7px 11px;border:1px solid #D7D6CE;border-radius:8px;background:#fff;color:#657984;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.astor-query-modes button.is-active{border-color:#c2ad73;background:#f2efe6;color:#32799f}.astor-query-form label{display:block;margin-bottom:7px;color:#4e6875;font-size:10px;font-weight:750}.astor-query-form textarea{display:block;width:100%;resize:vertical;padding:11px 12px;border:1px solid #D7D6CE;border-radius:10px;background:#fff;color:#304650;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.astor-query-form textarea:not(.is-sql){font-family:inherit}.astor-keyboard-hint{display:block;margin-top:5px;color:#73796f;font-size:9px}.astor-schema-note{margin:10px 0 0;color:#73796f;font-size:10px;line-height:1.45}.astor-query-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.astor-query-actions span{color:#73796f;font-size:9px;line-height:1.4}.astor-query-actions button{display:flex;flex:none;align-items:center;gap:7px;padding:9px 12px;border:0;border-radius:9px;background:#32799f;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.astor-ai-disclosure{margin:10px 0 0;color:#73796f;font-size:9px;line-height:1.45}.astor-sql-used{margin-top:8px;color:#5a7681;font-size:9px}.astor-sql-used summary{cursor:pointer;font-weight:700}.astor-sql-used pre{max-height:150px;overflow:auto;margin:6px 0 0;padding:8px;border:1px solid #D7D6CE;border-radius:7px;background:#f8f6ef;color:#465f6b;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px}.astor-spinner{animation:astor-spin 1s linear infinite}@keyframes astor-spin{to{transform:rotate(360deg)}}@media (max-width:820px){.astor-workspace{grid-template-columns:minmax(0,1fr)}.astor-side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;border-right:0;border-bottom:1px solid #D7D6CE}.astor-recent-section{grid-column:1/-1;max-height:140px;overflow:auto;margin-top:7px}.astor-table-list{max-height:260px}.astor-chat-card{min-height:560px}}@media (max-width:520px){.astor-page{padding:20px 12px 28px}.astor-header{gap:10px}.astor-title-icon{width:45px;height:45px}.astor-header h1{font-size:24px}.astor-connection-badge{padding:7px 8px;font-size:9px}.astor-connect-card{padding:16px}.astor-dataset-view{padding:10px}.astor-connection-form{gap:12px}.astor-field:not(.astor-field-wide){grid-column:1/-1}.astor-dataset-card .astor-card-heading{flex-wrap:wrap}.astor-dataset-actions{width:100%;margin-left:0}.astor-dataset-actions button{flex:1}.astor-chat-heading{padding:13px}.astor-chat-heading p{font-size:10px}.astor-messages{padding:14px}.astor-query-form{padding:12px}.astor-query-actions{align-items:flex-end}}@media (prefers-reduced-motion:reduce){.astor-spinner{animation:none}}:root[data-theme=dark] .astor-page{color:#f3efe4}:root[data-theme=dark] .astor-connect-card,:root[data-theme=dark] .astor-schema-card,:root[data-theme=dark] .astor-chat-card,:root[data-theme=dark] .astor-workspace,:root[data-theme=dark] .astor-main-panel{border-color:#ded8c92e;background:#182833;color:#f3efe4}:root[data-theme=dark] .astor-side-nav,:root[data-theme=dark] .astor-query-form{border-color:#ded8c929;background:#172a36}:root[data-theme=dark] .astor-card-heading h2,:root[data-theme=dark] .astor-chat-heading h2,:root[data-theme=dark] .astor-schema-heading h2,:root[data-theme=dark] .astor-welcome h3,:root[data-theme=dark] .astor-message,:root[data-theme=dark] .astor-table-item>span{color:#f3efe4}:root[data-theme=dark] .astor-connection-badge,:root[data-theme=dark] .astor-dataset-action.is-secondary,:root[data-theme=dark] .astor-text-button,:root[data-theme=dark] .astor-field input,:root[data-theme=dark] .astor-field select,:root[data-theme=dark] .astor-schema-heading button,:root[data-theme=dark] .astor-table-item,:root[data-theme=dark] .astor-message,:root[data-theme=dark] .astor-query-modes button,:root[data-theme=dark] .astor-query-form textarea,:root[data-theme=dark] .astor-sql-used pre{border-color:#ded8c933;background:#1f3442;color:#f3efe4}:root[data-theme=dark] .astor-main-panel{background:#182833}:root[data-theme=dark] .astor-side-button,:root[data-theme=dark] .astor-recent-chat{color:#c2c6b9}:root[data-theme=dark] .astor-side-button:hover,:root[data-theme=dark] .astor-recent-chat:hover,:root[data-theme=dark] .astor-side-button.is-active,:root[data-theme=dark] .astor-recent-chat.is-active,:root[data-theme=dark] .astor-message.is-user,:root[data-theme=dark] .astor-query-modes button.is-active,:root[data-theme=dark] .astor-table-item:hover{border-color:#b69b6257;background:#283e4b;color:#e1d2a9}:root[data-theme=dark] .astor-results-scroll,:root[data-theme=dark] .astor-results th,:root[data-theme=dark] .astor-results td{border-color:#ded8c929}:root[data-theme=dark] .astor-results th{background:#253127;color:#dfd0aa}:root[data-theme=dark] .astor-privacy-note,:root[data-theme=dark] .astor-replace-note{border-color:#b69b623d;background:#29291f;color:#e1d2a9}:root[data-theme=dark] .astor-field,:root[data-theme=dark] .astor-query-form label,:root[data-theme=dark] .astor-message-text{color:#e7e2d5}:root[data-theme=dark] .astor-connection-badge.is-connected,:root[data-theme=dark] .astor-safe-label{border-color:#8aa58b40;background:#243329;color:#a9c2a9}:root[data-theme=dark] .astor-dataset-action.is-primary,:root[data-theme=dark] .astor-query-actions button{border-color:#32799f;background:#32799f;color:#f8f5eb}:root[data-theme=dark] .astor-error{border-color:#65413d;background:#332422;color:#f0c0b6}.astor-integrations-view{display:flex;flex-direction:column;gap:18px;padding:22px}.astor-integrations-intro{display:flex;align-items:center;gap:13px;padding:4px 2px 8px}.astor-integrations-intro h2{margin:0 0 4px;color:#243b47;font-size:20px}.astor-integrations-intro p,.astor-integration-card .astor-card-heading p{margin:0;color:#71818a;font-size:12px;line-height:1.5}.astor-integration-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.astor-integration-card{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:14px;padding:20px;box-shadow:none}.astor-integration-card.is-focused{border-color:var(--primary);box-shadow:0 0 0 3px #32799f21}.astor-integration-card .astor-card-heading{width:100%;align-items:center}.astor-integration-card .astor-card-heading>div:nth-child(2){min-width:0;flex:1}.astor-integration-card .astor-card-heading h2{margin:0 0 3px;color:#253d4a;font-size:16px}.astor-integration-brand{display:grid;width:42px;height:42px;flex:none;place-items:center;border:1px solid #ddd5c3;border-radius:12px;background:#f6f2e6;color:#263e49;font-size:19px;font-weight:800}.notion-brand{font-family:Georgia,serif;font-size:25px}.n8n-brand{background:#e5efec;color:#245748;font-size:13px;letter-spacing:-.05em}.astor-integration-status{display:inline-flex;flex:none;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d7e6dc;border-radius:999px;background:#f0f7f1;color:#3c7255;font-size:10px;font-weight:700}.astor-integration-status span{width:7px;height:7px;border-radius:50%;background:#4f9365}.astor-integration-account{display:flex;width:100%;flex-direction:column;gap:5px;padding:12px;border:1px solid #e5e0d4;border-radius:11px;background:#fbfaf6;color:#344b56;font-size:12px;overflow-wrap:anywhere}.astor-integration-account span{color:#71818a;font-size:11px}.astor-integration-account a{display:flex;align-items:center;gap:5px;color:#32799f}.astor-integration-setup{display:flex;width:100%;flex-direction:column;gap:6px;padding:11px 12px;border:1px solid #e3d6b7;border-radius:10px;background:#faf6e9;color:#53656b;font-size:11px;line-height:1.5}.astor-integration-setup b{color:#334b55;font-size:12px}.astor-integration-setup small{margin-top:3px;color:#687983;font-size:10px}.astor-integration-setup code{padding:7px;border-radius:7px;background:#f0ecdf;color:#4c5f69;font-size:10px;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.astor-integration-help{color:#6f7f87;font-size:11px;line-height:1.55}.astor-integration-key-note{margin:0}.astor-integration-notice{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;border:1px solid #dce8de;border-radius:10px;background:#f3f7f1;color:#40674c;font-size:12px;line-height:1.45}.astor-integration-notice svg{flex:none;margin-top:1px}.astor-integration-form{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.astor-integration-form .astor-integration-help,.astor-integration-form .astor-primary-button{grid-column:1/-1}:root[data-theme=dark] .astor-integrations-intro h2,:root[data-theme=dark] .astor-integration-card .astor-card-heading h2{color:#f3efe4}:root[data-theme=dark] .astor-integrations-intro p,:root[data-theme=dark] .astor-integration-card .astor-card-heading p,:root[data-theme=dark] .astor-integration-help{color:#b6c1be}:root[data-theme=dark] .astor-integration-account{border-color:#ded8c933;background:#1c303b;color:#ede8d9}:root[data-theme=dark] .astor-integration-account span{color:#b4c0bd}:root[data-theme=dark] .astor-integration-setup{border-color:#b69b624d;background:#2c302c;color:#d1d0c5}:root[data-theme=dark] .astor-integration-setup b{color:#eee8d9}:root[data-theme=dark] .astor-integration-setup code{background:#1d303b;color:#e3d4aa}:root[data-theme=dark] .astor-integration-notice{border-color:#739d7859;background:#1e352d;color:#b8d7bd}@media (max-width:820px){.astor-integrations-view{padding:14px}.astor-integration-cards{grid-template-columns:1fr}}@media (max-width:520px){.astor-integration-form{grid-template-columns:1fr}.astor-integrations-view{gap:12px;padding:10px}.astor-integration-card{padding:15px}.astor-integration-card .astor-card-heading{align-items:flex-start;flex-wrap:wrap}.astor-integration-status{margin-left:56px}}.astor-messages,.astor-query-form{background-color:var(--chat-paper-panel);background-image:var(--paper-grain);background-size:180px 180px;background-repeat:repeat;background-blend-mode:soft-light}.astor-message,.astor-query-form textarea{background-color:var(--chat-paper);background-image:var(--paper-grain);background-size:180px 180px;background-repeat:repeat;background-blend-mode:soft-light}.astor-message.is-user{background-color:var(--chat-paper-user)}.connector-page .connector-view{width:100%;max-width:1000px;align-self:center;padding:24px}.connector-provider-card{width:100%;max-width:760px;align-self:center}.salesforce-chat-card{width:100%;max-width:1000px;min-height:540px;align-self:center;overflow:hidden;border:1px solid #D7D6CE;border-radius:18px;background:#fff;box-shadow:0 12px 34px #283b2e0a}.salesforce-chat-card .astor-chat-heading>div:nth-child(2){min-width:0}.salesforce-chat-card .astor-chat-heading h2{margin:0 0 3px;color:#253d4a;font-size:16px}.salesforce-chat-card .astor-chat-heading p{margin:0;color:#71818a;font-size:11px}.salesforce-chat-messages{min-height:250px;max-height:min(52vh,480px);scroll-behavior:smooth}.salesforce-chat-card .astor-message{width:fit-content;max-width:min(94%,780px)}.salesforce-chat-card .astor-message-text{overflow-wrap:anywhere}.salesforce-query-form{border-radius:0 0 17px 17px}.salesforce-query-form .astor-query-actions>span{max-width:62%;line-height:1.45}.salesforce-soql{margin-top:8px;color:#5a7681;font-size:10px}.salesforce-soql summary{cursor:pointer;font-weight:700}.salesforce-soql code{display:block;margin-top:5px;padding:8px;border-radius:7px;background:#f8f6ef;color:#465f6b;overflow-wrap:anywhere}.salesforce-chat-error{margin:14px 18px 0}.slack-brand{background:#eee8d8;color:#263b43}.figma-brand{background:#f5f0e5;color:#253d4a}.astor-oauth-setup{display:grid;gap:12px;margin:0 0 16px;padding:14px;border:1px solid #e5e0d4;border-radius:12px;background:#fbfaf6}.astor-oauth-setup>.astor-integration-help{margin:0}.astor-oauth-setup .astor-integration-setup{margin-top:0}.astor-oauth-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1 / -1}.astor-oauth-actions .astor-primary-button{padding:0 14px}:root[data-theme=dark] .astor-oauth-setup{border-color:#ded8c92e;background:#1c303b}.connector-page .astor-integrations-intro{width:100%}:root[data-theme=dark] .connector-page .astor-integrations-intro h2{color:#f3efe4}:root[data-theme=dark] .connector-page .astor-integrations-intro p{color:#b6c1be}:root[data-theme=dark] .salesforce-chat-card{border-color:#ded8c92e;background:#182833}:root[data-theme=dark] .salesforce-chat-card .astor-chat-heading h2{color:#f3efe4}:root[data-theme=dark] .salesforce-chat-card .astor-chat-heading p,:root[data-theme=dark] .salesforce-soql{color:#b6c1be}:root[data-theme=dark] .salesforce-soql code{background:#1d303b;color:#e3d4aa}@media (max-width: 640px){.connector-page .connector-view{padding:14px}.connector-provider-card{padding:16px}.salesforce-chat-messages{min-height:220px;max-height:50vh}.salesforce-query-form .astor-query-actions{align-items:stretch;flex-direction:column}.salesforce-query-form .astor-query-actions>span{max-width:none}}.skills-page{max-width:1040px}.skills-kicker{display:block;margin-bottom:5px;color:var(--badge-text);font-size:.7rem;font-weight:800;letter-spacing:.12em}.skills-page-actions{display:flex;gap:10px;flex-wrap:wrap}.skills-page-actions button,.skill-editor-actions button,.skills-empty-state button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.skills-safety-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;padding:13px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle);color:var(--text-muted);font-size:.88rem;line-height:1.5}.skills-safety-note svg{flex:none;color:var(--primary);margin-top:1px}.skills-error{margin:0 0 16px;padding:11px 14px;border:1px solid color-mix(in srgb,var(--error) 34%,transparent);border-radius:10px;background:color-mix(in srgb,var(--error) 7%,var(--bg-2));color:var(--error)}.skill-editor{display:grid;gap:16px;margin-bottom:28px;padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-2);box-shadow:var(--shadow)}.skill-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.skill-editor-head h3{margin-bottom:4px;font-size:1.2rem}.skill-editor-head p{color:var(--text-muted);font-size:.9rem}.skill-editor label{display:grid;gap:7px;color:var(--text);font-size:.86rem;font-weight:700}.skill-editor input,.skill-editor textarea{width:100%;min-height:44px;padding:11px 13px;border:1px solid var(--border);border-radius:10px;background:var(--chat-paper, var(--bg-2));color:var(--text);font:inherit;font-size:.92rem}.skill-editor textarea{min-height:180px;resize:vertical;line-height:1.55}.skill-editor input:focus,.skill-editor textarea:focus{outline:2px solid color-mix(in srgb,var(--primary) 42%,transparent);outline-offset:1px}.skill-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.skill-editor-actions span{margin-right:auto;color:var(--text-muted);font-size:.8rem}.skills-library-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.skills-library-heading>div{display:flex;align-items:baseline;gap:10px}.skills-library-heading h3{font-size:1.1rem}.skills-library-heading span{color:var(--text-muted);font-size:.82rem}.skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.skill-card{display:flex;flex-direction:column;min-height:190px;padding:18px;border:1px solid var(--border);border-radius:15px;background:var(--bg-2)}.skill-card-title{display:flex;align-items:center;gap:11px}.skill-card-icon,.skills-empty-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--primary)}.skill-card-title h3{font-size:1rem}.skill-source{color:var(--text-muted);font-size:.76rem}.skill-card>p{margin:14px 0;color:var(--text-muted);font-size:.9rem;line-height:1.5}.skill-resource-count{display:inline-flex;align-items:center;gap:6px;margin-top:auto;color:var(--text-muted);font-size:.78rem}.skill-card-actions{display:flex;gap:8px;margin-top:auto;padding-top:16px}.skill-card-actions .btn-sm{display:inline-flex;align-items:center;gap:6px}.skill-delete{margin-left:auto;color:var(--error)}.skills-empty,.skills-empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--text-muted);text-align:center}.skills-empty{min-height:150px;flex-direction:row}.skills-empty-state{min-height:300px;padding:32px;border:1px dashed var(--border);border-radius:16px;background:var(--surface-subtle)}.skills-empty-state h3{color:var(--text)}.skills-empty-state p{max-width:500px;line-height:1.55}.skills-empty-icon{width:54px;height:54px;border-radius:16px}.skills-spin{animation:skills-spin .9s linear infinite}@keyframes skills-spin{to{transform:rotate(360deg)}}@media (max-width: 700px){.skills-page-actions{width:100%}.skills-page-actions button{flex:1}.skills-grid{grid-template-columns:1fr}.skill-editor{padding:16px}.skill-editor-actions{flex-wrap:wrap}.skill-editor-actions span{flex-basis:100%}.skill-editor-actions button{flex:1}}:root{color-scheme:light;--bg: #F5F3ED;--bg-2: #FBFAF5;--surface: rgba(31, 52, 66, .045);--surface-hover: rgba(31, 52, 66, .085);--surface-subtle: rgba(31, 52, 66, .028);--border: #ded8c9;--text: #233441;--text-muted: #667781;--primary: #32799F;--secondary: #B7A074;--accent: #8FA4AA;--gradient: linear-gradient(135deg, #1F3442 0%, #32799F 72%, #77939D 100%);--error: #a7443d;--success: #32799F;--radius: 16px;--radius-sm: 10px;--shadow: 0 20px 40px -20px rgba(31, 52, 66, .16);--header-bg: rgba(248, 246, 240, .94);--overlay: rgba(18, 35, 47, .48);--hero-title: linear-gradient(to right, #233441 20%, #32799F 66%, #927a4d);--badge-text: #67583a;--glow-1: rgba(40, 106, 145, .07);--glow-2: rgba(143, 164, 170, .08);--font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}:root[data-theme=dark]{color-scheme:dark;--bg: #182B36;--bg-2: #1D303B;--surface: rgba(255, 255, 255, .045);--surface-hover: rgba(255, 255, 255, .08);--surface-subtle: rgba(255, 255, 255, .02);--border: rgba(222, 216, 201, .16);--text: #f3efe4;--text-muted: #B4C0C3;--primary: #32799F;--secondary: #B7A074;--accent: #91A9AF;--error: #d17a6d;--success: #91A9AF;--shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);--header-bg: rgba(20, 36, 46, .92);--overlay: rgba(10, 20, 27, .88);--hero-title: linear-gradient(to right, #f3efe4 20%, #BCCBD0 64%, #d1bc84);--badge-text: #d1bc84;--glow-1: rgba(91, 132, 147, .11);--glow-2: rgba(182, 155, 98, .08)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);background-image:radial-gradient(circle at 20% 20%,var(--glow-1),transparent 40%),radial-gradient(circle at 80% 0%,var(--glow-2),transparent 35%);background-attachment:fixed;min-height:100vh}button{font-family:inherit;cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex;flex-direction:column}.header{display:flex;align-items:center;justify-content:space-between;padding:22px 40px;position:sticky;top:0;z-index:20;background:var(--header-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;flex:none;gap:0}.brand-logo{display:block;width:176px;height:56px;padding:2px 4px;border:1px solid #CDD3D0;border-radius:9px;background:#f5f3ed;object-fit:contain}.brand-mark{position:relative;width:40px;height:40px;background:var(--gradient);border-radius:12px;display:grid;place-items:center;color:#fff;box-shadow:0 8px 24px #286a9159}.brand-sparkles{position:absolute;top:-4px;right:-6px;color:#fff;filter:drop-shadow(0 0 6px rgba(255,255,255,.7))}.brand-name{font-size:1.4rem;font-weight:800;letter-spacing:-.02em;color:var(--text)}.brand-name span{background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}.header-tagline{font-size:.9rem;color:var(--text-muted);font-weight:500;letter-spacing:.02em}.main-content{max-width:1200px;width:100%;margin:0 auto;padding:40px 24px 80px;flex:1}.hero{text-align:center;margin:32px 0 48px;animation:fadeUp .6s ease both}.hero-badge{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);padding:6px 14px;border-radius:999px;font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:18px}.hero-title{font-size:clamp(2.8rem,7vw,5.5rem);font-weight:900;line-height:1.05;letter-spacing:-.03em;background:var(--hero-title);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-title span{background:var(--gradient);-webkit-background-clip:text;background-clip:text}.hero-subtitle{max-width:640px;margin:18px auto 0;color:var(--text-muted);font-size:1.15rem;line-height:1.6}.gallery-section{animation:fadeUp .7s ease both}.search-filter{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}.search-box{position:relative;max-width:560px;width:100%;margin:0 auto}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--text-muted)}.search-box input{width:100%;padding:14px 48px 14px 46px;background:var(--surface);border:1px solid var(--border);border-radius:14px;color:var(--text);font-size:1rem;outline:none;transition:border .2s,box-shadow .2s}.search-box input::placeholder{color:var(--text-muted)}.search-box input:focus{border-color:#286a9199;box-shadow:0 0 0 3px #286a9126}.clear-search{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-muted);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;transition:background .2s,color .2s}.clear-search:hover{background:var(--surface-hover);color:var(--text)}.domain-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.chip{padding:8px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--border);color:var(--text-muted);font-size:.85rem;font-weight:600;transition:all .2s}.chip:hover{background:var(--surface-hover);color:var(--text);transform:translateY(-1px)}.chip.active{background:var(--gradient);color:#fff;border-color:transparent;box-shadow:0 6px 18px #286a9159}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.template-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;text-align:left;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;display:flex;flex-direction:column;color:var(--text);outline:none}.template-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#286a9166}.template-card:focus-visible{box-shadow:0 0 0 3px #286a9159}.thumb{position:relative;height:170px;display:grid;place-items:center;overflow:hidden}.thumb-icon{color:#ffffffe6;filter:drop-shadow(0 6px 18px rgba(0,0,0,.3));transition:transform .3s ease;z-index:1}.template-card:hover .thumb-icon{transform:scale(1.08)}.thumb-img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:var(--radius) var(--radius) 0 0;z-index:2}.thumb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top,rgba(0,0,0,.3),transparent);opacity:0;transition:opacity .3s;z-index:3;pointer-events:none}.template-card:hover .thumb-overlay{opacity:1}.template-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px}.template-card-body h3{font-size:1.05rem;font-weight:700;letter-spacing:-.01em}.domain-badge{display:inline-block;width:fit-content;padding:4px 10px;background:#286a9126;color:var(--badge-text);border:1px solid rgba(40,106,145,.3);border-radius:999px;font-size:.72rem;font-weight:700;text-transform:capitalize}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 20px;color:var(--text-muted);background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius)}.empty-state h3{font-size:1.3rem;margin:14px 0 6px;color:var(--text)}.empty-state p{margin-bottom:8px}.templates-loading{display:flex;align-items:center;justify-content:center;padding:80px;color:var(--text-muted)}.loading-pulse{animation:softPulse 1.2s ease-in-out infinite}.error-state{max-width:480px;margin:0 auto;text-align:center;padding:40px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted)}.error-state h3{color:var(--text);margin-bottom:8px}.error-state p{margin-bottom:16px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50;animation:fadeIn .25s ease}.modal-panel{width:100%;max-width:820px;max-height:min(90vh,860px);background:var(--bg-2);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;animation:modalUp .3s cubic-bezier(.2,.9,.3,1)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--border)}.modal-template-head{display:flex;align-items:center;gap:14px}.modal-thumb{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;color:#fff;flex-shrink:0}.modal-template-head h2{font-size:1.35rem;margin-bottom:4px}.icon-btn{background:transparent;border:1px solid var(--border);color:var(--text-muted);width:36px;height:36px;border-radius:10px;display:grid;place-items:center;transition:all .2s;flex-shrink:0}.icon-btn:hover{background:var(--surface-hover);color:var(--text)}.sign-out-btn{display:grid;width:36px;height:36px;flex:none;place-items:center;padding:0;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.82rem;cursor:pointer;transition:background .2s,border-color .2s,color .2s}.sign-out-btn:hover{border-color:var(--border-strong, var(--border));background:var(--surface-hover)}.modal-body{padding:24px;overflow-y:auto;-webkit-overflow-scrolling:touch}.prompt-label{display:block;font-size:.85rem;font-weight:600;color:var(--text-muted);margin-bottom:10px}.prompt-textarea{width:100%;min-height:220px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;color:var(--text);font-size:.95rem;line-height:1.6;resize:none;overflow:hidden;outline:none;transition:border .2s,box-shadow .2s}.prompt-textarea:focus{border-color:#286a9199;box-shadow:0 0 0 3px #286a911f}.prompt-hint{margin-top:12px;font-size:.8rem;color:var(--text-muted)}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:18px 24px;border-top:1px solid var(--border);background:var(--surface-subtle)}.btn-primary,.btn-secondary{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:12px;font-weight:700;font-size:.95rem;border:none;transition:transform .2s,box-shadow .2s,background .2s}.btn-primary{background:var(--gradient);color:#fff;box-shadow:0 8px 20px #286a9159}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 28px #286a9173}.btn-primary:disabled{opacity:.45;cursor:not-allowed}.btn-secondary{background:var(--surface);border:1px solid var(--border);color:var(--text)}.btn-secondary:hover{background:var(--surface-hover)}.gen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:100;animation:fadeIn .3s ease}.gen-content{max-width:520px;text-align:center;background:var(--bg-2);border:1px solid var(--border);border-radius:24px;padding:40px 32px;box-shadow:var(--shadow);animation:modalUp .3s ease}.spark-spinner{position:relative;width:90px;height:90px;margin:0 auto 24px;display:grid;place-items:center;color:var(--text)}.spark-spinner>svg{filter:drop-shadow(0 0 18px rgba(40,106,145,.7));animation:sparkPulse 2s ease-in-out infinite}.spinner-ring{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:3px solid transparent;border-top-color:#c084fc;border-right-color:#22d3ee;animation:spin 1.2s linear infinite}.gen-content h2{font-size:1.8rem;margin-bottom:12px;letter-spacing:-.01em}.gen-status{font-size:1rem;color:var(--text-muted);margin-bottom:16px}.elapsed-timer{font-size:1.2rem;font-weight:700;margin-bottom:12px;background:var(--surface);display:inline-block;padding:6px 14px;border-radius:999px;border:1px solid var(--border)}.gen-expectation{font-size:.85rem;color:var(--text-muted)}.success-overlay,.error-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:100;animation:fadeIn .3s ease}.success-panel,.error-panel{background:var(--bg-2);border:1px solid var(--border);border-radius:24px;padding:36px 30px;max-width:560px;width:100%;text-align:center;box-shadow:var(--shadow);animation:modalUp .3s ease;max-height:90vh;overflow-y:auto}.success-icon{color:var(--success);margin:0 auto 16px;display:block}.error-icon{color:var(--error);margin:0 auto 16px;display:block}.success-panel h2,.error-panel h2{font-size:1.8rem;margin-bottom:8px}.success-subtitle,.error-message{color:var(--text-muted);margin-bottom:24px;font-size:.95rem;line-height:1.6}.download-btn{font-size:1.1rem;padding:14px 26px}.file-list{margin-top:24px;text-align:left;max-height:200px;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px}.file-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;font-size:.85rem;color:var(--text-muted)}.file-item:hover{background:var(--surface-hover);color:var(--text)}.file-more{padding:8px;font-size:.85rem;color:var(--text-muted);text-align:center}.error-actions{display:flex;gap:12px;justify-content:center;margin-top:24px}@media (max-width: 640px){.header{padding:14px 18px}.header-tagline{display:none}.main-content{padding:20px 14px 60px}.template-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.thumb{height:130px}.thumb-icon{width:52px;height:52px}.modal-panel{max-height:92vh}.modal-header,.modal-body,.modal-footer{padding:16px}.error-actions{flex-direction:column}}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalUp{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes sparkPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.8}}@keyframes softPulse{0%,to{opacity:.4}50%{opacity:1}}.success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.success-actions .download-btn{text-decoration:none}.back-btn{margin-top:20px}.run-hint{margin-top:14px;font-size:.85rem;color:var(--text-muted)}.link-btn{display:inline-flex;align-items:center;gap:4px;background:none;border:none;padding:0;color:var(--accent);font:inherit;font-weight:600;cursor:pointer}.link-btn:disabled{opacity:.6;cursor:default}.run-page{min-height:100%;display:flex;align-items:center;justify-content:center;padding:32px 16px}.run-card{width:100%;max-width:760px;background:var(--bg-2);border:1px solid var(--border);border-radius:24px;padding:32px 28px;box-shadow:var(--shadow);animation:modalUp .3s ease}.run-head{text-align:center}.run-head h1{font-size:1.6rem;margin:12px 0 8px;overflow-wrap:anywhere}.run-sub{color:var(--text-muted);font-size:.95rem;line-height:1.6;overflow-wrap:anywhere}.run-rocket{color:var(--primary);animation:softPulse 1.6s ease-in-out infinite}.run-muted-icon{color:var(--text-muted)}.run-steps{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:24px 0 4px}.run-steps li{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;color:var(--text-muted)}.run-steps li.current{color:var(--text);font-weight:600}.run-steps li.done{color:var(--success)}.spin{animation:spin 1s linear infinite}.run-log{margin-top:22px;max-height:340px;overflow:auto;background:#05060c;border:1px solid var(--border);border-radius:14px;padding:14px 16px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.78rem;line-height:1.55;color:#d5e0e1;white-space:pre-wrap;word-break:break-word}.run-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px}.run-actions a{text-decoration:none}.header-right{display:flex;align-items:center;gap:16px}.theme-toggle{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s}.theme-toggle:hover{background:var(--surface-hover)}.theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.run-page .theme-toggle{position:fixed;top:16px;right:16px}body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.12'/%3E%3C/svg%3E"),radial-gradient(circle at 20% 20%,var(--glow-1),transparent 40%),radial-gradient(circle at 80% 0%,var(--glow-2),transparent 35%);background-size:180px 180px,auto,auto;background-repeat:repeat,no-repeat,no-repeat;background-blend-mode:soft-light,normal,normal}.brand-logo{filter:brightness(1.04)}@property --bg{syntax: "<color>"; inherits: true; initial-value: #F5F3ED;}@property --bg-2{syntax: "<color>"; inherits: true; initial-value: #FBFAF5;}@property --text{syntax: "<color>"; inherits: true; initial-value: #233441;}@property --text-muted{syntax: "<color>"; inherits: true; initial-value: #667781;}@property --primary{syntax: "<color>"; inherits: true; initial-value: #32799F;}@property --border{syntax: "<color>"; inherits: true; initial-value: #ded8c9;}@property --surface{syntax: "<color>"; inherits: true; initial-value: rgba(31,52,66,.045);}@property --surface-hover{syntax: "<color>"; inherits: true; initial-value: rgba(31,52,66,.085);}body,.header,.sidebar,.layout .main-content,.domain-rail,.hero-card,.next-card,.next-item,.tile,.modal-panel,.modal-header,.modal-footer,.theme-toggle,.brand-logo,.journey-art,.journey-screen,.journey-gates,.journey-gate{transition:background-color .32s cubic-bezier(.2,.7,.2,1),color .32s cubic-bezier(.2,.7,.2,1),border-color .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s cubic-bezier(.2,.7,.2,1)}::view-transition-old(root),::view-transition-new(root){animation-duration:.32s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}::view-transition-old(root){animation-name:theme-scene-out}::view-transition-new(root){animation-name:theme-scene-in}@keyframes theme-scene-out{to{opacity:0}}@keyframes theme-scene-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){body,.header,.sidebar,.layout .main-content,.domain-rail,.hero-card,.next-card,.next-item,.tile,.modal-panel,.modal-header,.modal-footer,.theme-toggle,.brand-logo,.journey-art,.journey-screen,.journey-gates,.journey-gate{transition-duration:.01ms!important}::view-transition-old(root),::view-transition-new(root){animation-duration:.01ms}}.build-assist-messages{display:grid;gap:4px;padding:6px 18px;border-top:1px solid var(--line, #ded8c9);background:color-mix(in srgb,var(--chat-paper-panel, #f5f2e9) 72%,transparent)}.build-inline-tools{display:flex;flex:none;align-items:center;gap:7px;white-space:nowrap}.prompt-optimize-btn{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 9px;white-space:nowrap;font-size:.77rem}.build-token-meter,.build-usage-note{color:var(--muted, #71818a);font-size:10px;white-space:nowrap}.build-usage-note{margin:0;line-height:1.5}.build-usage-note span{opacity:.86}.build-figma-reference{display:flex;flex:none;align-items:center;gap:5px;color:var(--muted, #71818a);font-size:10px;white-space:nowrap}.build-figma-reference>svg{flex:none;color:var(--primary, #32799f)}.build-figma-reference input{box-sizing:border-box;width:118px;min-height:34px;padding:6px 8px;border:1px solid var(--line, #ded8c9);border-radius:9px;background:var(--chat-paper, #fbfaf6);color:var(--text, #263b43);font:inherit;font-size:10px}.build-figma-reference a{color:var(--primary, #32799f);font-weight:700;text-decoration:underline;text-underline-offset:2px}.build-tool-error{margin:0;color:#a83c36;font-size:12px}.build-skills-control{position:relative;display:flex;align-items:center;gap:7px;flex:none}.build-skill-switch,.build-skill-select{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 8px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle);color:var(--text);font:inherit;font-size:.74rem;font-weight:700;white-space:nowrap}.build-skill-switch svg{color:var(--secondary)}.build-skill-switch.is-on{border-color:color-mix(in srgb,var(--primary) 48%,var(--border));background:color-mix(in srgb,var(--primary) 7%,var(--bg-2))}.build-skill-switch-track{display:block;width:34px;height:20px;padding:3px;border-radius:999px;background:var(--border);transition:background .18s ease}.build-skill-switch-track>span{display:block;width:14px;height:14px;border-radius:50%;background:var(--bg-2);box-shadow:0 1px 3px #0000002e;transition:transform .18s ease}.build-skill-switch.is-on .build-skill-switch-track{background:var(--primary)}.build-skill-switch.is-on .build-skill-switch-track>span{transform:translate(14px)}.build-skill-switch:focus-visible,.build-skill-select:focus-visible,.build-skill-option:focus-within{outline:2px solid var(--primary);outline-offset:2px}.build-skill-select{background:var(--bg-2)}.build-skill-select:disabled{cursor:wait;opacity:.65}.build-skill-menu{position:absolute;z-index:30;left:0;bottom:calc(100% + 8px);display:grid;gap:5px;width:min(350px,calc(100vw - 38px));max-height:320px;padding:10px;overflow-y:auto;border:1px solid var(--border);border-radius:14px;background:var(--bg-2);box-shadow:var(--shadow)}.build-skill-error{max-width:180px;color:var(--error);font-size:.7rem;line-height:1.35}.build-skill-error a{text-decoration:underline;text-underline-offset:2px}.build-skill-option{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid transparent;border-radius:9px;cursor:pointer}.build-skill-option:hover{border-color:var(--border);background:var(--surface-subtle)}.build-skill-option input{flex:none;width:16px;height:16px;margin-top:2px;accent-color:var(--primary)}.build-skill-option input:disabled{cursor:not-allowed;opacity:.45}.build-skill-limit{padding:5px 10px 7px;color:var(--text-muted);font-size:.72rem}.build-skill-option span{display:grid;gap:3px;min-width:0}.build-skill-option strong{color:var(--text);font-size:.82rem}.build-skill-option small{color:var(--text-muted);font-size:.73rem;line-height:1.4}.build-skill-empty{padding:8px;color:var(--text-muted);font-size:.82rem;line-height:1.5}.build-skill-manage{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-top:1px solid var(--border);color:var(--primary);font-size:.82rem;font-weight:700}:root[data-theme=dark] .build-figma-reference input{border-color:#ded8c933;background:#1f3442;color:#f3efe4}.build-data-status{display:inline-flex;flex:none;align-items:center;color:var(--success)}.build-data-status.is-sensitive{color:var(--dc-pii)}@media (max-width:720px){.build-skills-control{width:auto;flex-wrap:wrap}.build-skill-switch{flex:none;justify-content:center}.build-skill-select{flex:none}.build-skill-menu{width:min(350px,calc(100vw - 38px))}}@media (max-width:600px){.build-figma-reference input{width:108px}}.build-attachments{display:grid;gap:5px;padding:8px 18px 10px;border-top:1px solid var(--border);background:color-mix(in srgb,var(--chat-paper-panel, #f5f2e9) 72%,transparent)}.build-attachment-list{display:flex;flex-wrap:wrap;gap:7px}.build-attachment-chip{display:inline-flex;max-width:min(280px,100%);align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--border);border-radius:9px;background:var(--bg-2);color:var(--text);font-size:.75rem}.build-attachment-chip>svg{flex:none;color:var(--primary)}.build-attachment-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.build-attachment-chip button{display:inline-flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer}.build-attachment-chip button:hover{background:var(--surface-subtle);color:var(--text)}.build-upload-note{margin:0;color:var(--text-muted);font-size:.7rem;line-height:1.4}.upload-btn{flex:none}:root[data-theme=dark] .build-attachments{border-color:#ded8c92e;background:#172a36}:root{--chat-paper: #FBFAF5;--chat-paper-user: #F0EEE6;--chat-paper-panel: #F8F6F0;--paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='papergrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23papergrain)' opacity='.14'/%3E%3C/svg%3E")}:root[data-theme=dark]{--chat-paper: #203440;--chat-paper-user: #293F4B;--chat-paper-panel: #192D38}.prompt-textarea{background-color:var(--chat-paper);background-image:var(--paper-grain);background-size:180px 180px;background-repeat:repeat;background-blend-mode:soft-light}.prompt-textarea,.astor-messages,.astor-message,.astor-query-form,.astor-query-form textarea{transition:background-color .32s cubic-bezier(.2,.7,.2,1),color .32s cubic-bezier(.2,.7,.2,1),border-color .32s cubic-bezier(.2,.7,.2,1)}@media (prefers-reduced-motion: reduce){.prompt-textarea,.astor-messages,.astor-message,.astor-query-form,.astor-query-form textarea{transition-duration:.01ms!important}}.layout{flex:1;display:flex;align-items:flex-start;width:100%}.layout .main-content{max-width:1120px;padding:40px 32px 80px;min-width:0}.sidebar{position:sticky;top:85px;flex:0 0 248px;height:calc(100vh - 85px);padding:24px 16px;border-right:1px solid var(--border);background:var(--surface-subtle);display:flex;flex-direction:column;gap:24px;overflow-y:auto}.sidebar-new{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;border-radius:12px;border:none;background:var(--gradient);color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #286a913d;transition:transform .2s,box-shadow .2s}.sidebar-new:hover{transform:translateY(-1px);box-shadow:0 12px 26px #286a9152}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-heading{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);padding:0 12px 8px}.sidebar-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:none;border-radius:10px;background:transparent;color:var(--text-muted);font:inherit;font-size:.95rem;font-weight:600;text-align:left;cursor:pointer;transition:background .2s,color .2s}.sidebar-item:hover,.sidebar-item.active{background:var(--surface-hover);color:var(--text)}.sidebar-item.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:var(--gradient)}.sidebar-item.active svg{color:var(--primary)}.sidebar-count{margin-left:auto;min-width:22px;padding:1px 7px;border-radius:999px;background:var(--surface);border:1px solid var(--border);font-size:.72rem;text-align:center;color:var(--text-muted)}.sidebar-new:focus-visible,.sidebar-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.view{animation:fadeUp .4s ease both}.view-head{margin-bottom:28px}.view-head h2{font-size:1.7rem;letter-spacing:-.02em;margin-bottom:6px}.view-head p{color:var(--text-muted)}.view-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.btn-sm{padding:8px 14px;font-size:.85rem;border-radius:10px;cursor:pointer}.composer{max-width:820px;margin:4vh auto 0;animation:fadeUp .5s ease both}.composer-intro{text-align:center;margin-bottom:28px}.composer-title{font-size:clamp(2rem,4.5vw,3.2rem);font-weight:900;line-height:1.1;letter-spacing:-.03em;background:var(--hero-title);-webkit-background-clip:text;background-clip:text;color:transparent}.composer-sub{margin-top:12px;color:var(--text-muted);font-size:1.05rem;line-height:1.6}.composer-box{background:var(--bg-2);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow);transition:border-color .2s,box-shadow .2s}.composer-box:focus-within{border-color:#286a9180;box-shadow:var(--shadow),0 0 0 4px #286a911f}.composer-template{display:flex;align-items:center;gap:8px;margin:14px 16px 0;padding:6px 8px 6px 12px;width:fit-content;max-width:calc(100% - 32px);border-radius:999px;background:#286a911f;color:var(--badge-text);font-size:.82rem}.composer-template span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-template button{display:grid;place-items:center;width:22px;height:22px;border:none;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.composer-template button:hover{background:#286a9129}.composer-input{display:block;width:100%;min-height:170px;padding:20px 22px 8px;border:none;outline:none;resize:none;background:transparent;color:var(--text);font:inherit;font-size:1.05rem;line-height:1.65}.composer-input::placeholder{color:var(--text-muted);opacity:.8}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 14px 22px;border-top:1px solid var(--border)}.composer-hint{font-size:.8rem;color:var(--text-muted)}.composer-footer .btn-primary{cursor:pointer}.composer-suggest{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:22px;color:var(--text-muted);font-size:.85rem}.composer-suggest .chip{cursor:pointer;font-weight:500}.composer-suggest .chip-link{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:700}.history-search{margin-bottom:20px}.history-none{color:var(--text-muted);text-align:center;padding:32px 0}.history-list{list-style:none;display:flex;flex-direction:column;gap:12px}.history-item{background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;transition:border-color .2s,box-shadow .2s}.history-item:hover{border-color:#286a9159;box-shadow:var(--shadow)}.history-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;font-size:.8rem}.history-status{display:inline-flex;align-items:center;gap:5px;font-weight:700}.history-status.is-ok{color:var(--success)}.history-status.is-error{color:var(--error)}.history-status.is-running{color:var(--primary)}.history-time{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--text-muted)}.history-name{font-size:1.05rem;margin-bottom:4px;overflow-wrap:anywhere}.history-name+.history-prompt{color:var(--text-muted);font-size:.9rem}.history-prompt{color:var(--text);line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.history-error{margin-top:8px;font-size:.82rem;color:var(--error);overflow-wrap:anywhere}.history-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}.history-link{text-decoration:none}.history-delete{margin-left:auto;cursor:pointer}.history-delete:hover{color:var(--error)}@media (max-width: 900px){.layout{flex-direction:column;align-items:stretch}.sidebar{top:68px;z-index:15;flex:none;height:auto;flex-direction:row;align-items:center;gap:8px;padding:10px 16px;border-right:none;border-bottom:1px solid var(--border);background:var(--header-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow-x:auto}.sidebar-new{width:auto;flex:none;padding:9px 14px}.sidebar-nav{flex-direction:row;gap:4px}.sidebar-heading{display:none}.sidebar-item{width:auto;white-space:nowrap;padding:9px 12px}.sidebar-item.active:before{left:10px;right:10px;top:auto;bottom:2px;width:auto;height:3px}.layout .main-content{padding:24px 16px 64px}.composer{margin-top:8px}.composer-hint{display:none}.composer-footer{justify-content:flex-end}}.view-actions{display:flex;gap:8px;flex-wrap:wrap}.view-actions .btn-secondary,.app-actions .btn-secondary,.app-actions .btn-primary{cursor:pointer;text-decoration:none}.btn-danger:hover:not(:disabled){color:var(--error);border-color:var(--error)}.btn-secondary:disabled{opacity:.6;cursor:default}.inline-error{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;border-radius:10px;border:1px solid var(--error);color:var(--error);font-size:.88rem;overflow-wrap:anywhere}.apps-list{list-style:none;display:flex;flex-direction:column;gap:12px}.app-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius);transition:border-color .2s,box-shadow .2s}.app-row:hover{border-color:#286a9159;box-shadow:var(--shadow)}.app-main{min-width:0}.app-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.app-title h3{font-size:1.05rem;overflow-wrap:anywhere}.app-state{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:.75rem;font-weight:700;border:1px solid currentColor}.app-state.is-ok{color:var(--success)}.app-state.is-error{color:var(--error)}.app-state.is-warn{color:#a98f57}.app-state.is-running{color:var(--primary)}.app-state.is-muted{color:var(--text-muted)}.app-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:8px;font-size:.82rem;color:var(--text-muted)}.app-ttl{display:inline-flex;align-items:center;gap:4px}.app-project{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.76rem}.app-hint{margin-top:8px;font-size:.82rem;color:var(--error)}.app-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex-shrink:0}@media (max-width: 640px){.app-row{flex-direction:column;align-items:stretch}.app-actions{justify-content:flex-start}}:root{--dc-public: #15803d;--dc-public-bg: rgba(22, 163, 74, .12);--dc-internal: #1d4ed8;--dc-internal-bg: rgba(40, 106, 145, .1);--dc-pii: #b45309;--dc-pii-bg: rgba(217, 119, 6, .13);--dc-financial: #c2410c;--dc-financial-bg: rgba(234, 88, 12, .13);--dc-salary: #be123c;--dc-salary-bg: rgba(225, 29, 72, .12)}:root[data-theme=dark]{--dc-public: #4ade80;--dc-internal: #93c5fd;--dc-pii: #fbbf24;--dc-financial: #fdba74;--dc-salary: #fda4af}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--text-muted)}.domain-item,.feature,.template-strip .chip{-webkit-tap-highlight-color:transparent}a.sidebar-new,a.sidebar-item{text-decoration:none}.build{max-width:1040px;margin:0 auto;animation:fadeUp .4s ease both}.build-intro{text-align:center;margin-bottom:26px}.domain-rail{position:fixed;top:85px;right:0;z-index:10;width:232px;height:calc(100vh - 85px);padding:24px 14px;border-left:1px solid var(--border);background:var(--surface-subtle);overflow-y:auto}.domain-rail-list{display:flex;flex-direction:column;gap:4px}.domain-tabs-loading,.feature-loading{color:var(--text-muted);padding:20px 12px;font-size:.9rem}.domain-item .domain-tab-name{flex:1;min-width:0}.domain-work-area{margin-top:8px;border-top:1px solid var(--border);padding-top:14px}.domain-work-area .sidebar-heading{margin:0 0 8px}.domain-item .sidebar-count{margin-left:0}.domain-item-chevron{flex:none;opacity:.45}.domain-item.active:before{left:auto;right:0}.build-with-rail{animation:buildFade .4s ease both}@keyframes buildFade{0%{opacity:0}to{opacity:1}}.layout:has(.build-with-rail) .main-content{padding-right:264px}.build-main{max-width:860px;margin:0 auto}.selection-card{padding:18px 20px;background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius)}.selection-empty{display:flex;align-items:flex-start;gap:12px;border-style:dashed;background:transparent;color:var(--text-muted);font-size:.95rem;line-height:1.55}.selection-empty svg{flex:none;margin-top:2px;color:var(--primary)}.selection-empty strong{color:var(--text)}.selection-empty em{font-style:normal;font-weight:600;color:var(--text)}.selection-head{display:flex;align-items:center;gap:12px}.selection-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#286a911f;color:var(--primary)}.selection-title{flex:1;min-width:0}.selection-kicker{display:block;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.selection-title h2{font-size:1.2rem;letter-spacing:-.01em}.selection-note{margin-top:12px;color:var(--text-muted);font-size:.9rem;line-height:1.55}.selection-count{display:block;margin:14px 0 8px;font-size:.8rem;color:var(--text-muted)}.selection-features{list-style:none;display:flex;flex-wrap:wrap;gap:8px}.selection-feature{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid rgba(40,106,145,.4);border-radius:999px;background:#286a9112;font-size:.86rem;font-weight:600}.selection-feature>svg{color:var(--primary)}.build-hint{display:flex;align-items:center;gap:8px;margin:16px 2px 10px;color:var(--text-muted);font-size:.9rem}.build-hint svg{flex:none;color:var(--primary)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#141b1661;animation:drawerFade .2s ease both}.drawer{position:fixed;top:0;right:0;bottom:0;z-index:91;display:flex;flex-direction:column;width:min(560px,100vw);background:var(--bg-2);border-left:1px solid var(--border);box-shadow:-24px 0 48px -24px #141b1673;animation:drawerIn .28s cubic-bezier(.2,.8,.2,1) both}.drawer-head{display:flex;align-items:flex-start;gap:12px;padding:20px 20px 16px;border-bottom:1px solid var(--border)}.drawer-title{flex:1;min-width:0}.drawer-title h2{font-size:1.25rem;letter-spacing:-.01em}.drawer-title p{margin-top:2px;color:var(--text-muted);font-size:.88rem;line-height:1.5}.drawer-body{flex:1;overflow-y:auto;padding:4px 20px 20px;overscroll-behavior:contain}.drawer .feature-list{grid-template-columns:minmax(0,1fr)}.drawer-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--border);font-size:.88rem}@keyframes drawerIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes drawerFade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.drawer,.drawer-backdrop{animation:none}}.build-template{margin:14px 0 0}.template-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;font-size:.8rem;color:var(--text-muted)}.template-strip .chip{padding:5px 12px;font-size:.78rem;cursor:pointer}.feature-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 10px;font-size:.82rem;color:var(--text-muted)}.feature-toolbar-actions{display:inline-flex;gap:14px}.feature-list{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.feature{position:relative;display:flex;gap:12px;height:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle);cursor:pointer;transition:border-color .2s,background .2s}.feature:hover{border-color:#286a9166}.feature.on{border-color:var(--primary);background:#286a9112}.feature input{position:absolute;width:1px;height:1px;opacity:0}.feature-check{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border:2px solid var(--border);border-radius:6px;color:transparent;transition:background .15s,border-color .15s}.feature input:focus-visible+.feature-check{outline:2px solid var(--primary);outline-offset:2px}.feature.on .feature-check{background:var(--primary);border-color:var(--primary);color:#fff}.feature-body{display:flex;flex-direction:column;gap:3px;min-width:0}.feature-name{font-weight:700;font-size:.95rem}.feature-desc{color:var(--text-muted);font-size:.85rem;line-height:1.45}.feature-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.dc{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:700;white-space:nowrap}.dc-public{color:var(--dc-public);background:var(--dc-public-bg)}.dc-internal{color:var(--dc-internal);background:var(--dc-internal-bg)}.dc-customer_pii,.dc-employee_pii{color:var(--dc-pii);background:var(--dc-pii-bg)}.dc-financial{color:var(--dc-financial);background:var(--dc-financial-bg)}.dc-salary{color:var(--dc-salary);background:var(--dc-salary-bg);box-shadow:inset 0 0 0 1px var(--dc-salary)}.role-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px dashed var(--border);border-radius:999px;color:var(--text-muted);font-size:.7rem;font-weight:600;white-space:nowrap}.build-input{min-height:168px;font-size:1.08rem;line-height:1.6}.build-bar{position:relative;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px;padding:10px 12px;border-top:1px solid var(--border)}.build-summary{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;flex:1 1 auto;min-width:0;font-size:.82rem}.sens{display:inline-flex;align-items:flex-start;gap:8px}.sens>span{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}.sens svg{flex:none}.sens-warn svg{color:var(--dc-pii)}.sens-ok{color:var(--text-muted)}.sens-ok svg{color:var(--success)}.sens-note{color:var(--text-muted);font-size:.75rem}.build-btn{flex:none;cursor:pointer}.build-actions{display:flex;align-items:center;gap:7px;flex:none}@media (max-width: 900px){.build-bar{flex-wrap:wrap}.build-summary{width:100%;flex-wrap:wrap}}.mic-btn.mic-listening{color:var(--error);border-color:#f43f5e80;background:#f43f5e1a}.mic-status{display:inline-flex;align-items:center;gap:6px;color:var(--error);font-size:.8rem;font-weight:600;white-space:nowrap}.mic-dot{width:8px;height:8px;border-radius:50%;background:var(--error);animation:mic-pulse 1.2s ease-in-out infinite}@keyframes mic-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}@media (max-width: 900px){.domain-rail{position:static;width:auto;height:auto;margin:0 -16px 14px;padding:2px 16px 6px;border-left:none;background:transparent;overflow-x:auto;scrollbar-width:none}.domain-rail::-webkit-scrollbar{display:none}.domain-rail .sidebar-heading{display:none}.domain-rail-list{flex-direction:row;gap:8px}.domain-work-area{margin-top:8px;padding-top:8px}.domain-work-area .sidebar-heading{display:block}.domain-work-list{flex-direction:row;gap:8px}.domain-item{flex:none;width:auto;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);white-space:nowrap}.domain-item.active{border-color:#286a918c}.domain-item.active:before,.domain-item-chevron{display:none}.layout:has(.build-with-rail) .main-content{padding-right:16px}}@media (max-width: 720px){.build-intro{margin-bottom:16px}.build-intro .composer-sub{font-size:.95rem}.selection-card{padding:14px}.selection-head{flex-wrap:wrap}.selection-head .btn-sm{order:3;width:100%;justify-content:center}.build-input{min-height:128px;font-size:1rem}.drawer-head,.drawer-foot{padding-left:16px;padding-right:16px}.drawer-body{padding:4px 16px 16px}.template-strip{flex-wrap:nowrap;margin:12px -16px 0;padding:0 16px 4px;overflow-x:auto;scrollbar-width:none}.template-strip::-webkit-scrollbar{display:none}.template-strip>*{flex:none;white-space:nowrap}.build-bar{flex-direction:column;align-items:stretch;padding:12px}.build-btn{justify-content:center;width:100%}.build-actions{width:100%}.build-actions .build-btn{flex:1;width:auto}}.gen-stage{display:flex;align-items:center;justify-content:center;gap:24px;width:min(100%,1044px);max-height:calc(100vh - 48px)}.timeline-content{flex:1 1 560px;width:min(560px,100%);text-align:left;padding:28px 26px 22px;max-height:calc(100vh - 48px);overflow-y:auto}.gen-companion{flex:0 0 460px;width:460px;max-height:calc(100vh - 48px);overflow-y:auto;border-radius:18px;scrollbar-width:thin}.timeline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.timeline-head h2{font-size:1.35rem;margin:0}.timeline-head .elapsed-timer{margin:0;font-size:1rem;font-variant-numeric:tabular-nums}.agent-timeline{list-style:none;margin:0 0 16px;padding:0}.agent-step{position:relative;display:flex;gap:12px;padding:0 0 16px}.agent-step:not(:last-child):before{content:"";position:absolute;left:13px;top:30px;bottom:2px;width:2px;background:var(--border)}.agent-step.is-passed:not(:last-child):before{background:var(--primary)}.agent-step.is-running:not(:last-child):after{content:"";position:absolute;z-index:1;left:13px;top:30px;width:2px;height:10px;border-radius:2px;background:var(--primary);box-shadow:0 0 6px color-mix(in srgb,var(--primary) 55%,transparent);animation:agent-progress-drop 1.15s ease-in infinite;pointer-events:none}@keyframes agent-progress-drop{0%{top:30px;opacity:0}12%{opacity:1}to{top:calc(100% - 12px);opacity:.25}}@media (prefers-reduced-motion: reduce){.agent-step.is-running:not(:last-child):after{animation:none;opacity:1}}.agent-icon{flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--text-muted)}.agent-step.is-running .agent-icon{color:var(--primary);border-color:var(--primary)}.agent-step.is-passed .agent-icon{color:var(--success)}.agent-step.is-failed .agent-icon{color:var(--error)}.agent-step.is-warning .agent-icon{color:#d97706}.agent-step.is-pending{opacity:.55}.agent-body{min-width:0;flex:1}.agent-title{display:flex;justify-content:space-between;gap:8px;line-height:28px}.agent-time{color:var(--text-muted);font-size:.85rem;font-variant-numeric:tabular-nums}.agent-summary{margin:0;color:var(--text-muted);font-size:.9rem;overflow-wrap:anywhere}.agent-step.is-failed .agent-summary{color:var(--error)}.build-report{text-align:left;margin:0 0 18px;display:grid;gap:8px}.report-line{display:flex;gap:8px;align-items:flex-start;font-size:.92rem}.report-line svg{flex:0 0 auto;margin-top:1px}.report-line.ok svg{color:var(--success)}.report-line.bad svg{color:var(--error)}.report-line.warn svg{color:#d97706}.finding-list{list-style:none;margin:0;padding:0 0 0 26px;display:grid;gap:6px;font-size:.86rem;color:var(--text-muted)}.finding-list li{display:flex;gap:8px;align-items:baseline}.finding-list em{font-style:normal;color:var(--text)}.sev{flex:0 0 auto;font-size:.7rem;font-weight:700;text-transform:uppercase;padding:1px 6px;border-radius:6px;background:var(--surface-hover)}.sev-high{color:#fff;background:var(--error)}.sev-medium{color:#fff;background:#d97706}.assumptions{font-size:.86rem;color:var(--text-muted)}.assumptions summary{cursor:pointer}.assumptions ul{margin:6px 0 0;padding-left:20px}@media (max-width: 720px){.timeline-content{padding:22px 16px 16px;border-radius:18px}.timeline-head h2{font-size:1.1rem}.gen-overlay{padding:12px}}@media (max-width: 1020px){.gen-stage{flex-direction:column;justify-content:flex-start;gap:16px;max-height:calc(100vh - 24px);overflow-y:auto}.timeline-content{flex:none;width:min(560px,100%);max-height:none}.gen-companion{flex:none;align-self:flex-end;width:min(460px,100%);max-height:none;overflow:visible}}.page{animation:fadeUp .4s ease both}.narrow-page{max-width:560px}.page-title{font-size:1.7rem;letter-spacing:-.02em;margin-bottom:6px}.page-subtitle{color:var(--text-muted);margin-bottom:22px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.form-card{display:flex;flex-direction:column;gap:14px}.form-card .btn-primary{align-self:flex-start}.field{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:600}.field input,.field textarea,.override-form textarea{font:inherit;font-weight:400;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px;width:100%}.form-error{color:var(--error);font-size:.9rem;margin:6px 0}.demo-users{margin-top:22px;display:flex;flex-direction:column;gap:8px}.demo-user{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-subtle);border:1px solid var(--border);color:var(--text)}.demo-user span{color:var(--text-muted);font-size:.82rem}.demo-user:hover{background:var(--surface-hover)}.user-chip{display:inline-flex;align-items:center;gap:8px;padding:4px 4px 4px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:.82rem}.sign-in-btn{padding:8px 14px;font-size:.85rem}.slug-input{display:flex;align-items:stretch}.slug-input input{border-top-right-radius:0;border-bottom-right-radius:0;min-width:0}.slug-suffix{display:flex;align-items:center;padding:0 10px;font-weight:400;border:1px solid var(--border);border-left:none;color:var(--text-muted);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--surface-subtle)}.slug-check{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--text-muted);margin:-6px 0 0}.slug-check.is-ok{color:var(--success)}.slug-check.is-taken,.slug-check.is-error{color:var(--error)}.publish-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.gate-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.gate-stack{display:flex;flex-direction:column;gap:10px;margin:18px 0}.gate-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:14px;transition:border-color .3s,background .3s,box-shadow .3s;min-width:0}.gate-card.is-running{border-color:var(--accent);box-shadow:0 0 0 3px #286a9126}.gate-card.is-passed{border-color:#286a9180;background:#286a9112}.gate-card.is-warning{border-color:#a98f578c;background:#a98f5712}.gate-card.is-failed{border-color:var(--error);background:#f43f5e14}.gate-card.is-overridden{border-color:#a98f57;background:#a98f571a}.gate-card.is-pending{opacity:.6}.gate-head{display:flex;align-items:flex-start;gap:10px;width:100%;background:none;border:none;padding:0;color:inherit;text-align:left;font:inherit}.gate-head:disabled{cursor:default}.gate-icon{flex:0 0 auto;margin-top:2px;color:var(--text-muted)}.is-running .gate-icon{color:var(--accent)}.is-passed .gate-icon{color:var(--success)}.is-warning .gate-icon,.is-overridden .gate-icon{color:#a98f57}.is-failed .gate-icon{color:var(--error)}.gate-titles{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.gate-number{font-size:.8rem;color:var(--text-muted)}.gate-titles strong{font-size:.95rem}.gate-status{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}.gate-chevron{flex:0 0 auto;transition:transform .2s;margin-top:4px}.gate-chevron.open{transform:rotate(180deg)}.gate-summary{margin:10px 0 0;font-size:.84rem;color:var(--text-muted);overflow-wrap:anywhere}.finding-list-full{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}.finding{font-size:.85rem;border-top:1px solid var(--border);padding-top:10px}.finding-main{display:flex;gap:8px;align-items:baseline}.finding-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;color:var(--text-muted);font-size:.8rem}.finding-file{display:inline-flex;align-items:center;gap:4px;overflow-wrap:anywhere}.finding-details{margin:8px 0 0;padding:8px;max-height:220px;overflow:auto;font-size:.75rem;background:var(--surface-subtle);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.sev-low{color:var(--text);background:var(--surface-hover)}.block-card{border:2px solid var(--error);background:#f43f5e1a;border-radius:var(--radius);padding:20px;margin-bottom:18px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}.block-head{display:flex;gap:14px;color:var(--error)}.block-head>svg{flex:0 0 auto}.block-gate{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.block-reason{color:var(--text);font-size:1.15rem;font-weight:600;line-height:1.45;margin:6px 0 0}.block-note{color:var(--text-muted);font-size:.85rem;margin:0}.override-form{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.override-form h3{display:flex;align-items:center;gap:8px;font-size:1rem}.override-form .btn-secondary{align-self:flex-start}.state-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);margin-bottom:18px}.state-card>svg{flex:0 0 auto;color:var(--accent)}.state-card.ok{border-color:#286a9180}.state-card.ok>svg{color:var(--success)}.state-card.bad{border-color:var(--error)}.state-card.bad>svg{color:var(--error)}.row-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.row-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none}.row-link:hover{background:var(--surface-hover)}.row-main{display:flex;flex-direction:column;gap:2px;min-width:0}.row-main .muted{font-size:.82rem;overflow-wrap:anywhere}.pill{flex:0 0 auto;font-size:.72rem;font-weight:700;text-transform:uppercase;padding:3px 9px;border-radius:999px;background:var(--surface-hover);color:var(--text-muted)}.pill-blocked,.pill-rejected,.pill-failed{background:var(--error);color:#fff}.pill-approved,.pill-live{background:var(--success);color:#fff}.pill-awaiting_approval,.pill-running{background:var(--accent);color:#fff}.tab-row{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}.tab{padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;font-size:.85rem}.tab.active{background:var(--primary);border-color:var(--primary);color:#fff}.approve-facts{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:.9rem}.approve-facts dt{color:var(--text-muted)}.approve-facts dd{margin:0;overflow-wrap:anywhere}.btn-secondary.wide{width:100%;justify-content:center;margin-bottom:16px;text-decoration:none}.decide-card{display:flex;flex-direction:column;gap:12px}.decide-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btn-approve,.btn-reject{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:12px;border:none;font-weight:700;font-size:1rem;color:#fff}.btn-approve{background:var(--success)}.btn-reject{background:var(--error)}.btn-approve:disabled,.btn-reject:disabled{opacity:.45;cursor:not-allowed}.deploy-log{margin-top:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;color:var(--text-muted);overflow-wrap:anywhere}.live-card-body{display:flex;flex-direction:column;gap:12px;align-items:flex-start;min-width:0}.live-card .btn-secondary{text-decoration:none}.live-address{display:flex;flex-direction:column;gap:10px;width:100%}.live-address-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.live-url{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:1.05rem;color:var(--primary);overflow-wrap:anywhere}.live-actions{display:flex;gap:6px}.icon-text-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;font-size:.8rem;font-weight:600;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.icon-text-btn:hover{background:var(--surface-hover)}.qr-figure{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.qr-figure img{width:200px;height:200px;background:#fff;border-radius:8px;border:1px solid var(--border)}.qr-figure figcaption{font-size:.8rem;color:var(--text-muted)}.app-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}.app-card{display:flex;flex-direction:column;gap:12px;min-width:0}.app-card.highlight{border-color:var(--primary);box-shadow:0 0 0 3px #286a9126}.app-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.app-card-title{display:flex;flex-direction:column;gap:3px;min-width:0}.app-card-title h2{font-size:1.1rem;margin:0;overflow-wrap:anywhere}.app-card-title .muted{font-size:.82rem;overflow-wrap:anywhere}.app-note{margin:0;font-size:.85rem;color:var(--text-muted);overflow-wrap:anywhere}.app-note.busy-note{display:flex;gap:6px;align-items:center}.app-note.bad{color:var(--error)}.app-actions{display:flex;flex-wrap:wrap;gap:8px}.btn-secondary.danger{color:var(--error)}.btn-primary.danger{background:var(--error);border-color:var(--error)}.deploy-history summary{cursor:pointer;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;gap:6px}.deploy-history ol{margin:8px 0 0;padding-left:20px;font-size:.85rem;display:flex;flex-direction:column;gap:4px}.confirm-box{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);padding:12px;display:flex;flex-direction:column;gap:10px}.confirm-box p{margin:0;font-size:.9rem}.confirm-box.danger{border-color:var(--error)}.confirm-actions{display:flex;gap:8px;flex-wrap:wrap}.pill-deploying,.pill-publishing{background:var(--accent);color:#fff}.pill-unpublished,.pill-rolled_back,.pill-draft{background:var(--surface-hover);color:var(--text-muted)}@media (max-width: 1100px){.gate-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media (max-width: 640px){.gate-row{grid-template-columns:1fr;gap:8px}.gate-summary{margin-top:6px}.page-title{font-size:1.35rem}.user-email{display:none}.block-reason{font-size:1.02rem}.publish-header .btn-secondary{width:100%;justify-content:center}.app-grid{grid-template-columns:1fr}.app-actions .btn-secondary{flex:1 1 100%;justify-content:center}}.ops-alert{border:1px solid var(--error);border-radius:var(--radius-sm);background:var(--surface-subtle);padding:12px;display:flex;flex-direction:column;gap:10px;font-size:.9rem;line-height:1.45}.ops-alert>p svg{color:var(--error);vertical-align:-3px}.ops-alert .confirm-actions{display:flex;flex-wrap:wrap;gap:8px}.dash{--viz-fill: #32799F;--viz-fill-hover: #1F3442;--viz-track: #cce3fd;--viz-grid: #e7e7e7;--status-good: #0aac23;--status-serious: #f18a59;--status-critical: #dc3c3d;--status-ink-good: #006c10}:root[data-theme=dark] .dash{--viz-fill: #789181;--viz-fill-hover: #9AAEB2;--viz-track: #32799F;--viz-grid: #303030;--status-ink-good: #53c556}.dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.demo-note{display:inline-block;font-size:.78rem;padding:2px 8px;border-radius:999px;border:1px dashed var(--border);color:var(--text-muted)}.dash-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.dash-body{display:flex;flex-direction:column;gap:16px;transition:opacity .2s}.dash-body.is-refreshing{opacity:.55}.kpi-row{display:grid;grid-template-columns:1.4fr repeat(5,minmax(0,1fr));gap:12px}.kpi,.kpi-hero{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0}.kpi-label{font-size:.82rem;color:var(--text-muted)}.kpi-value{font-size:1.6rem;font-weight:650;letter-spacing:-.01em;color:var(--text)}.kpi-sub{font-size:.75rem;color:var(--text-muted)}.hero-figure{font-size:3.4rem;line-height:1;font-weight:700;letter-spacing:-.03em;color:var(--text)}.dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dash-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:16px 18px;min-width:0}.dash-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}.dash-card-head h2{font-size:1rem;margin:0 0 2px}.dash-card-head p{font-size:.8rem;color:var(--text-muted);margin:0}.view-toggle{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;font-size:.75rem;padding:4px 9px;border-radius:8px;border:1px solid var(--border);background:transparent;color:var(--text-muted)}.view-toggle:hover{color:var(--text);background:var(--surface-hover)}.bar-list{position:relative;display:flex;flex-direction:column;gap:10px}.bar-row{display:grid;grid-template-columns:minmax(96px,34%) 1fr;align-items:center;gap:10px;border-radius:6px;outline:none}.bar-row:focus-visible{box-shadow:0 0 0 2px var(--viz-fill)}.bar-label{font-size:.83rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{display:flex;align-items:center;gap:8px;min-height:22px;border-left:1px solid var(--viz-grid)}.bar-fill{display:block;height:16px;border-radius:0 4px 4px 0;background:var(--viz-fill);transition:width .4s ease,background .15s;min-width:2px;flex:0 0 auto}.bar-row:hover .bar-fill,.bar-row:focus .bar-fill{background:var(--viz-fill-hover)}.bar-value{font-size:.8rem;font-weight:600;color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}.bar-note{margin-left:6px;font-weight:400;color:var(--text-muted)}.viz-tooltip{position:absolute;transform:translate(-50%,-100%);pointer-events:none;z-index:5;display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-radius:8px;background:var(--bg);border:1px solid var(--border);box-shadow:var(--shadow);font-size:.78rem;color:var(--text-muted);white-space:nowrap}.viz-tooltip strong{color:var(--text);font-size:.88rem}.meter-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.meter-list li{display:grid;grid-template-columns:minmax(120px,38%) 1fr auto;align-items:center;gap:10px;outline:none}.meter-list li:focus-visible{box-shadow:0 0 0 2px var(--viz-fill);border-radius:6px}.meter-name{font-size:.83rem}.meter-track{height:8px;border-radius:999px;background:var(--viz-track);overflow:hidden}.meter-fill{display:block;height:100%;border-radius:999px;background:var(--viz-fill)}.meter-figure{font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.meter-figure .muted{font-weight:400}.activity{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.activity li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:baseline;font-size:.83rem}.activity svg{color:var(--text-muted);position:relative;top:2px}.activity time{font-size:.75rem;white-space:nowrap}.blocked-card{border-color:#dc3c3d73}.blocked-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.blocked-item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);border-left:3px solid var(--status-critical);background:var(--surface-subtle);color:var(--text);text-decoration:none}.blocked-item:hover{background:var(--surface-hover)}.blocked-gate{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--text)}.blocked-gate svg{color:var(--status-critical)}.blocked-reason{font-size:.9rem;line-height:1.45}.blocked-item .muted{font-size:.78rem;overflow-wrap:anywhere}.table-wrap{overflow-x:auto}.dash-table{width:100%;border-collapse:collapse;font-size:.83rem}.dash-table th{text-align:left;font-weight:600;color:var(--text-muted);font-size:.75rem;padding:6px 10px 8px 0;border-bottom:1px solid var(--viz-grid);white-space:nowrap}.dash-table td{padding:9px 10px 9px 0;border-bottom:1px solid var(--viz-grid);vertical-align:top;font-variant-numeric:tabular-nums}.dash-table tr:last-child td{border-bottom:none}.app-url{display:flex;align-items:center;gap:4px;font-size:.78rem;color:var(--text-muted)}.health{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-weight:600}.health-good svg{color:var(--status-good)}.health-serious svg{color:var(--status-serious)}.health-critical svg{color:var(--status-critical)}.health-unknown{color:var(--text-muted);font-weight:400}@media (max-width: 1200px){.kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-hero{grid-column:span 3}}@media (max-width: 900px){.dash-grid{grid-template-columns:1fr}}@media (max-width: 640px){.kpi-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi-hero{grid-column:span 2}.hero-figure{font-size:3rem}.kpi-value{font-size:1.3rem}.dash-card{padding:14px}.bar-row{grid-template-columns:minmax(84px,38%) 1fr}.meter-list li{grid-template-columns:1fr auto}.meter-track{grid-column:1 / -1;grid-row:2}}.admin-page{display:flex;flex-direction:column;gap:16px}.admin-section{display:flex;flex-direction:column;gap:12px}.admin-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.admin-section-head h2{font-size:1.05rem;margin:0 0 2px}.admin-section-head p{font-size:.82rem;color:var(--text-muted);margin:0}.admin-overview{display:flex;flex-direction:column;gap:14px}.admin-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.admin-tile{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.admin-tile svg{color:var(--primary)}.admin-tile-label{font-size:.8rem;color:var(--text-muted)}.admin-tile-value{font-size:1.7rem;font-weight:650;letter-spacing:-.01em}.admin-tile-wide{grid-column:1 / -1;background:var(--surface-subtle)}.admin-table td{overflow-wrap:anywhere}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.small{font-size:.75rem}.admin-note{font-size:.82rem;color:var(--text);padding:8px 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-subtle)}.perm-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.78rem}.perm-toggle input{position:absolute;opacity:0;width:1px;height:1px}.perm-track{position:relative;width:34px;height:18px;border-radius:999px;flex:none;background:var(--viz-track, #cce3fd);border:1px solid var(--border);transition:background .2s}.perm-knob{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--text-muted);transition:transform .2s,background .2s}.perm-toggle.on .perm-track{background:var(--primary);border-color:var(--primary)}.perm-toggle.on .perm-knob{transform:translate(16px);background:#fff}.perm-toggle input:focus-visible+.perm-track{outline:2px solid var(--primary);outline-offset:2px}.perm-toggle input:disabled+.perm-track{opacity:.5}.perm-label{color:var(--text-muted)}.admin-detail{margin-top:8px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-subtle)}.admin-detail-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.admin-detail-head h3{font-size:1rem;margin:0}.admin-detail-actions{display:flex;gap:8px;flex-wrap:wrap}.request-list{display:flex;flex-direction:column;gap:12px}.admin-request{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.admin-request header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.request-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.deploy-perm{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:600}.deploy-perm.ok{color:var(--status-good, #0aac23)}.deploy-perm.bad{color:var(--status-critical, #dc3c3d)}.request-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.request-comment{flex:1 1 240px;min-width:180px;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--bg-2);color:var(--text);font:inherit;font-size:.82rem}.request-comment:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #32799f26}.usage-card{display:flex;flex-direction:column;gap:4px;margin:14px 0 4px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);text-align:left}.usage-head{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:var(--text-muted)}.usage-figures{font-size:1rem;font-weight:650;font-variant-numeric:tabular-nums}@media (max-width: 640px){.admin-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tile-value{font-size:1.3rem}.request-actions .btn-sm{flex:1 1 auto}}:root{--menu-bg: linear-gradient(180deg, #1F3442 0%, #1A2F3C 55%, #172A36 100%);--menu-text: rgba(250, 247, 238, .94);--menu-muted: rgba(226, 229, 216, .72);--menu-hover: rgba(250, 247, 238, .1);--menu-active-bg: #FAF8F2;--menu-active-text: #32799F;--panel-bg: rgba(251, 250, 245, .9);--panel-border: rgba(169, 143, 87, .22);--panel-shadow: 0 30px 60px -40px rgba(31, 52, 66, .24);--hero-bg: linear-gradient(115deg, #FAF8F2 0%, #F4F1E9 52%, #EEEAE1 100%);--hero-border: rgba(169, 143, 87, .32);--hero-bubble: rgba(255, 253, 248, .45);--tile-rose: #f3ebe5;--tile-rose-b: #e2d2c6;--tile-amber: #f4eedf;--tile-amber-b: #dfd0aa;--tile-sky: #E3E9E8;--tile-sky-b: #D5E0E1;--tile-mint: #E4E9E8;--tile-mint-b: #CEDADC;--tile-lav: #eeece2;--tile-lav-b: #d8d3c1;--rich-radius: 26px}:root[data-theme=dark]{--menu-bg: linear-gradient(180deg, #1F3442 0%, #1A2F3C 55%, #142833 100%);--menu-active-text: #32799F;--panel-bg: rgba(24, 40, 51, .88);--panel-border: rgba(182, 155, 98, .2);--panel-shadow: 0 30px 60px -40px rgba(0, 0, 0, .52);--hero-bg: linear-gradient(115deg, #243B4C 0%, #1F3544 52%, #192B38 100%);--hero-border: rgba(182, 155, 98, .28);--hero-bubble: rgba(243, 239, 228, .04);--tile-rose: rgba(141, 94, 82, .13);--tile-rose-b: rgba(176, 127, 109, .25);--tile-amber: rgba(182, 155, 98, .13);--tile-amber-b: rgba(202, 178, 126, .25);--tile-sky: rgba(91, 117, 129, .15);--tile-sky-b: rgba(145, 169, 175, .25);--tile-mint: rgba(59, 111, 137, .15);--tile-mint-b: rgba(145, 169, 175, .25);--tile-lav: rgba(134, 128, 100, .13);--tile-lav-b: rgba(173, 164, 128, .24)}.header{border-bottom:none;padding:18px 32px}a.brand{text-decoration:none}.header-right{gap:14px}.user-chip{gap:12px;padding:0;border:none;background:transparent}.user-text{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.user-name{font-size:.92rem;font-weight:700;color:var(--text)}.user-menu{position:relative}.user-avatar{display:grid;place-items:center;width:42px;height:42px;padding:0;border:none;border-radius:50%;background:linear-gradient(135deg,#d7c89f,#b49a62);color:#243d30;font-size:.9rem;font-weight:800;box-shadow:0 0 0 3px #a98f572e,0 8px 18px -6px #1f344252}.user-menu__panel{position:absolute;top:calc(100% + 8px);right:0;min-width:168px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--bg-2);box-shadow:0 16px 40px #0f172a29;z-index:30}.user-menu__item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:none;border-radius:8px;background:transparent;color:var(--text);font-size:.9rem;font-weight:650;text-align:left}.user-menu__item:hover{background:var(--surface-hover)}.sidebar{top:82px;flex:0 0 248px;height:calc(100vh - 98px);margin:0 0 16px 16px;padding:26px 16px 20px;gap:18px;border:none;border-radius:var(--rich-radius);background:var(--menu-bg);color:var(--menu-text);box-shadow:0 24px 48px -28px #1f344273;scrollbar-width:thin}.sidebar-user{display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:4px;text-align:center}.sidebar-avatar{display:grid;place-items:center;width:78px;height:78px;margin-bottom:6px;border-radius:50%;background:linear-gradient(145deg,#fbf8ef,#e8e1cd);border:4px solid rgba(247,243,233,.68);color:#32799f;font-size:1.5rem;font-weight:800;box-shadow:0 12px 26px -10px #1f344261}.sidebar-hello{font-size:1.15rem;font-weight:800;color:#fff}.sidebar-signin{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:140px;min-height:46px;margin-top:6px;padding:11px 22px;border-radius:999px;background:#fff3;color:#fff;font-size:.95rem;font-weight:700;text-decoration:none}.sidebar-signin:hover{background:#ffffff4d}.sidebar-new{background:#ffffff29;border:1px solid rgba(255,255,255,.35);box-shadow:none;color:#fff}.sidebar-new:hover{background:#ffffff3d;box-shadow:none}.sidebar-new.active{background:var(--menu-active-bg);border-color:transparent;color:var(--menu-active-text);box-shadow:0 10px 22px -12px #1f34424d}.sidebar-heading{color:var(--menu-muted);font-size:.68rem;padding:0 12px 6px}.sidebar-item{color:var(--menu-text);border-radius:14px}.sidebar-item:hover{background:var(--menu-hover);color:#fff}.sidebar-item.active{background:var(--menu-active-bg);color:var(--menu-active-text);box-shadow:0 10px 22px -14px #1f34424d}.sidebar-item.active:before{display:none}.sidebar .sidebar-item.active svg{color:var(--menu-active-text)}.sidebar .sidebar-count{border:none;background:#ffffff38;color:#fff}.sidebar .sidebar-item.active .sidebar-count{background:#286a911f;color:var(--menu-active-text)}.sidebar-new:focus-visible,.sidebar-item:focus-visible,.sidebar-signin:focus-visible{outline:2px solid #fff;outline-offset:2px}.layout .main-content{max-width:none;min-width:0;min-height:calc(100vh - 98px);margin:0 16px 16px 20px;padding:32px 40px 64px;border:1px solid var(--panel-border);border-radius:calc(var(--rich-radius) + 4px);background:var(--panel-bg);box-shadow:var(--panel-shadow)}:where(.layout .main-content)>*{max-width:1180px;margin-left:auto;margin-right:auto}.domain-rail{top:82px;right:16px;height:calc(100vh - 98px);border:1px solid var(--panel-border);border-radius:var(--rich-radius);background:var(--panel-bg);box-shadow:var(--panel-shadow)}.layout:has(.build-with-rail) .main-content{margin-right:264px;padding-right:40px}.build-with-rail .build-main{max-width:920px}.domain-item.active{background:var(--menu-active-bg);color:var(--menu-active-text);box-shadow:0 10px 22px -16px #286a9159}:root[data-theme=dark] .domain-item.active{background:#b69b622b;color:var(--text)}.hero-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,410px);align-items:center;gap:28px;max-width:920px;margin:0 auto 22px;padding:26px 26px 26px 36px;border:1px solid var(--hero-border);border-radius:var(--rich-radius);background:var(--hero-bg)}.hero-bubble{position:absolute;border-radius:50%;background:var(--hero-bubble);pointer-events:none}.hero-bubble-1{width:200px;height:200px;top:-90px;left:-60px}.hero-bubble-2{width:150px;height:150px;bottom:-80px;left:46%}.hero-copy{position:relative}.hero-hello{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:1.7rem;font-weight:800;letter-spacing:-.02em;color:var(--text)}.hero-sun{width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ddca91,#a98f57 75%);box-shadow:0 0 0 4px #a98f5726,0 0 18px #a98f5747}.hero-text{max-width:470px;margin:10px 0 20px;color:var(--text-muted);font-size:.97rem;line-height:1.6}.hero-cta{display:inline-flex;align-items:center;gap:12px;padding:14px 24px;border:none;border-radius:999px;background:linear-gradient(100deg,#1f3442,#32799f);color:#fff;font:inherit;font-size:.86rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 14px 28px -14px #1f34426b;transition:transform .2s,box-shadow .2s}.hero-cta:hover{transform:translateY(-1px);box-shadow:0 18px 32px -14px #1f344280}.hero-cta:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.journey-art{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:10px;padding:12px;border-radius:22px;background:linear-gradient(160deg,#527563,#32799f);box-shadow:0 20px 36px -22px #1f34427a}.journey-screen{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:12px 12px 10px;border-radius:16px;background:linear-gradient(165deg,#789181,#66816f 60%,#587464);color:#faf8f2;text-align:center}.journey-kicker{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.journey-kicker i{width:6px;height:6px;border-radius:50%;background:#d1bc84;box-shadow:0 0 8px #d1bc84b8;animation:journeyBlink 1.6s ease-in-out infinite}.journey-orb{display:grid;place-items:center;width:58px;height:58px;margin:8px 0 6px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d3c397,#32799f 72%);box-shadow:0 0 0 6px #ffffff2e,0 12px 24px -6px #1f34427a;color:#f1dfab;animation:journeyFloat 3.2s ease-in-out infinite}.journey-caption{font-size:.7rem;font-weight:700;opacity:.95}.journey-steps{list-style:none;display:flex;justify-content:space-between;gap:4px;width:100%;margin-top:10px;font-size:.6rem;font-weight:700}.journey-steps li{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1}.journey-steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#faf8f2;color:#32799f;box-shadow:0 6px 14px -6px #1f34425c}.journey-gates{display:flex;flex-direction:column;justify-content:space-between;gap:6px;padding:8px;border-radius:16px;background:linear-gradient(180deg,#c8b47d,#aa9054)}.journey-gate{display:grid;place-items:center;height:30px;border-radius:10px;background:#f7f3e9b8;color:#653;animation:gatePass 3.6s ease-in-out infinite}.journey-gate-live{background:#faf8f2;color:#32799f;animation:none}@keyframes journeyFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes journeyBlink{50%{opacity:.35}}@keyframes gatePass{0%,20%,to{background:#f7f3e9b8;color:#653}8%{background:#fffdf8;color:#32799f}}@media (prefers-reduced-motion: reduce){.journey-orb,.journey-kicker i,.journey-gate{animation:none}}.journey-art.journey-tv-frame{isolation:isolate;border:6px solid #76543A;border-radius:27px;box-shadow:inset 0 0 0 2px #c7a779,0 0 0 2px #d4bc91,0 12px 22px -14px #1f344280}.journey-art.journey-tv-frame .journey-screen{border:2px solid rgba(237,224,198,.9);box-shadow:inset 0 0 0 3px #1f34422e}.journey-art.journey-tv-frame:after{content:"";position:absolute;z-index:-1;left:40%;bottom:-24px;width:20%;height:24px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#76543a,#c7a779 48%,#76543a);clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.journey-art.journey-tv-frame .journey-screen{background:#f8f6f0;color:#1f3442}.journey-art.journey-tv-frame .journey-gate{border:1px solid rgba(93,70,48,.24);box-shadow:inset 0 1px #ffffffd1,0 2px 4px #30261d33}.journey-art.journey-tv-frame .journey-gate-live{border-color:#32799f5c;box-shadow:inset 0 1px #ffffffe6,0 2px 5px #1f344233}.glance{margin-top:26px}.tile-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tile{display:flex;flex-direction:column;gap:3px;min-width:0;padding:18px;border:1px solid transparent;border-radius:22px;color:var(--text);text-decoration:none;transition:transform .2s,box-shadow .2s}a.tile:hover{transform:translateY(-2px);box-shadow:0 16px 30px -22px #1f344247}a.tile:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.tile-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:12px;border-radius:14px;color:#fff;box-shadow:0 10px 18px -10px #00000073}.tile-label{font-size:.9rem;color:var(--text-muted)}.tile-value{font-size:1.9rem;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums}.tile-sub{font-size:.76rem;color:var(--text-muted)}.tile-rose{background:var(--tile-rose);border-color:var(--tile-rose-b)}.tile-rose .tile-icon{background:linear-gradient(145deg,#a67769,#745148)}.tile-amber{background:var(--tile-amber);border-color:var(--tile-amber-b)}.tile-amber .tile-icon{background:linear-gradient(145deg,#d1bc84,#a98f57)}.tile-sky{background:var(--tile-sky);border-color:var(--tile-sky-b)}.tile-sky .tile-icon{background:linear-gradient(145deg,#829da4,#3b6577)}.tile-mint{background:var(--tile-mint);border-color:var(--tile-mint-b)}.tile-mint .tile-icon{background:linear-gradient(145deg,#9aaeb2,#3b6f89)}.tile-lav{background:var(--tile-lav);border-color:var(--tile-lav-b)}.tile-lav .tile-icon{background:linear-gradient(145deg,#92917a,#5d644c)}.next-card{margin-top:18px;padding:20px;border:1px solid var(--border);border-radius:22px;background:var(--bg-2)}.next-card h2{margin-bottom:14px;font-size:1rem;font-weight:800}.next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.next-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:var(--surface-subtle);color:var(--text);text-decoration:none;transition:border-color .2s,transform .2s}.next-item:hover{border-color:#a98f5785;transform:translateY(-1px)}.next-item>span:nth-child(2){flex:1;min-width:0}.next-item strong{display:block;font-size:.92rem}.next-item small{display:block;color:var(--text-muted);font-size:.78rem}.next-item>svg{flex:none;color:var(--primary)}.next-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#829da4,#3b6577);color:#fff}.kpi,.kpi-hero{border-radius:22px;padding:18px}.kpi .tile-icon{width:38px;height:38px;margin-bottom:8px;border-radius:12px}.kpi.tile-rose,.kpi.tile-amber,.kpi.tile-sky,.kpi.tile-mint,.kpi.tile-lav{border-width:1px;border-style:solid}.kpi-hero{background:var(--hero-bg);border-color:var(--hero-border)}@media (max-width: 1399px){.hero-card{grid-template-columns:minmax(0,1fr)}.journey-art{display:none}.hero-text{max-width:640px}}@media (max-width: 1180px){.header-tagline{display:none}}@media (max-width: 900px){.header{padding:12px 16px}.sidebar{top:66px;flex:none;height:auto;margin:0;padding:10px 16px;border-radius:0;box-shadow:none;background:var(--menu-bg)}.sidebar-user{display:none}.sidebar-nav{gap:4px}.sidebar-new.active{box-shadow:none}.layout .main-content,.layout:has(.build-with-rail) .main-content{min-height:0;margin:0;padding:22px 16px 64px;border:none;border-radius:0;background:transparent;box-shadow:none}.domain-rail{height:auto;border:none;border-radius:0;background:transparent;box-shadow:none}.domain-item.active{box-shadow:none}}@media (max-width: 720px){.user-text{display:none}.user-avatar{width:36px;height:36px;font-size:.8rem}.hero-card{padding:20px 18px;margin-bottom:16px}.hero-hello{font-size:1.35rem}.hero-text{margin:6px 0 14px;font-size:.9rem}.hero-cta{width:100%;justify-content:center}.tile-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{padding:14px}.tile-value{font-size:1.5rem}.next-grid{grid-template-columns:minmax(0,1fr)}}.kpi-hero .tile-icon-alert{width:38px;height:38px;margin-bottom:8px;border-radius:12px;background:linear-gradient(145deg,#b17467,#87483f)}.domain-rail .sidebar-heading,.domain-rail .sidebar-item{color:var(--text-muted)}.domain-rail .sidebar-item:hover{background:var(--surface-hover);color:var(--text)}.domain-rail .sidebar-item.active svg{color:var(--primary)}.domain-rail .sidebar-count{border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.domain-rail .sidebar-item:focus-visible{outline:2px solid var(--primary)}.hero-hello{font-family:Times New Roman,Times,serif}.sidebar-hello,.hero-hello,.user-name,.header-tagline,.tile-sub,.next-item strong,.next-item small{text-transform:capitalize}
