/* HOVRRN v0.1.0.57.7 — approved right panel visual reference.
   Chat/voice/upload scripts and all base styles are preserved. */
:root { --hp-accent:#1c6de1;--hp-line:#dbe8fc;--hp-text:#0a2556;--hp-sub:#6a83b4;--hp-shadow:0 6px 17px rgba(30,88,170,.045); }
body #amyRoot{background:linear-gradient(150deg,#f9fcff,#f2f7ff)!important;}
.hov-workspace{display:block!important; height:100%!important;}
.hov-header,.hov-nav{display:none!important;}
.hov-columns,body.hov-voice-open .hov-columns{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(410px,2fr)!important;gap:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;}
.hov-columns>.hov-main{grid-column:1!important;min-height:0!important;background:#f9fcff!important;border-right:1px solid #eef2fa!important;overflow:hidden!important;}
.hov-columns>.hov-context,body.hov-voice-open .hov-columns>.hov-context{grid-column:2!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;height:100%!important;min-height:0!important;overflow-y:auto!important;box-sizing:border-box!important;padding:12px 17px!important;background:transparent!important;margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;scrollbar-width:thin!important;}
.hov-panel-card{background:#fff!important;border:1px solid #dfebf9!important;box-shadow:none!important;border-radius:14px!important;color:var(--hp-text)!important;box-sizing:border-box!important;}
.hov-context button{cursor:pointer;}
.hov-context button:focus-visible,.hov-panel-title-input input:focus-visible{outline:3px solid #8db8f9!important;outline-offset:2px!important;}
.hov-panel-top{display:flex;align-items:center;gap:9px;position:relative;flex-shrink:0;height:65px;padding:5px 10px;box-sizing:border-box;background:rgba(255,255,255,.82);border:1px solid #e5edf9;border-radius:15px;box-shadow:none;}
.hov-panel-search-button{display:grid;place-items:center;flex:0 0 43px;height:43px;border:1px solid #e5edfb!important;background:#f8fbff!important;border-radius:12px!important;color:#195cc7!important;padding:0!important;}
.hov-panel-search-button svg{width:22px;height:22px;}
.hov-panel-datetime{margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;white-space:nowrap;font-size:13px;line-height:1.23;font-weight:550;color:#728ab4;min-width:112px;}
.hov-panel-top>.hov-aside-account-slot,body:not(.hov-voice-open) .hov-panel-top>.hov-aside-account-slot{position:relative!important;z-index:20!important;padding:0!important;margin:0!important;flex:0 1 230px!important;min-width:165px!important;}
.hov-panel-top .hov-aside-account-slot .hov-account-quick{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:3px!important;justify-content:flex-end!important;}
.hov-panel-top #hovProfileTrigger{order:-2!important;flex:0 0 46px!important;width:46px!important;height:46px!important;margin:0 5px 0 0!important;padding:2px!important;position:relative!important;}
.hov-panel-top #hovProfileTrigger .hov-profile-icon{width:44px!important;height:44px!important;border:2px solid #e3edfc!important;box-sizing:border-box;border-radius:50%!important;}
.hov-panel-top #hovProfileTrigger:after{content:"";position:absolute;right:-5px;bottom:4px;width:12px;height:12px;background:#28ba49;border-radius:50%;border:2px solid white;}
.hov-panel-top .hov-hmn-row{order:0!important;flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;}
.hov-panel-top #hovAccountQuickHMN{font-weight:750!important;font-size:16px!important;color:#082556!important;line-height:1.1!important;white-space:nowrap!important;}
.hov-panel-top #hovCopyQuickHMN{order:3!important;flex:0 0 22px!important;height:26px!important;width:25px!important;font-size:20px!important;background:transparent!important;color:#245aab!important;opacity:.75;}
.hov-panel-top .hov-admin-password{display:none!important;}
.hov-panel-top #hovMemberMenu{position:absolute!important;top:calc(100% + 16px)!important;right:0!important;z-index:10000!important;}
.hov-panel-search-popover{position:absolute;top:calc(100% + 6px);left:9px;z-index:70;background:#fff;border:1px solid #cbdcf6;border-radius:12px;padding:12px;width:min(400px,calc(100vw - 50px));box-shadow:0 12px 35px #164a8833;box-sizing:border-box;}
.hov-panel-search-popover[hidden]{display:none!important;}
.hov-panel-search-popover .hov-search{width:100%!important;max-width:none!important;display:flex!important;position:static!important;margin:0!important;background:#edf5ff!important;border:1px solid #a7caf4!important;}
.hov-panel-search-popover .hov-search input{min-width:0;color:#16345a!important;}
.hov-context>.hov-titlecard{order:0!important;display:flex!important;align-items:center!important;gap:9px!important;padding:8px 12px!important;margin:0!important;min-height:65px!important;flex:0 0 auto!important;background:transparent!important;border:1px solid #e4edf9!important;border-radius:13px!important;box-shadow:none!important;}
.hov-panel-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#f0f6ff;color:#136bdf;}
.hov-panel-icon svg{width:21px;height:21px;}
.hov-panel-title-body{min-width:0;flex:1;}
.hov-context>.hov-titlecard label{display:block!important;margin-bottom:2px!important;font-weight:650!important;font-size:12px!important;color:#647fae!important;text-transform:none!important;letter-spacing:0!important;}
.hov-panel-title-input{display:flex;align-items:center;gap:4px;border:0;background:transparent;border-radius:8px;padding:0 2px;min-height:27px;}
.hov-context>.hov-titlecard input{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;padding:2px 0!important;color:#153a7a!important;font-size:15px!important;font-weight:610!important;flex:1;min-width:0;width:auto!important;height:auto!important;}
.hov-panel-title-input button{display:grid;place-items:center;flex:0 0 30px;padding:4px;border:0;background:transparent;color:#216fe1;border-radius:8px;}
.hov-panel-title-input svg{width:20px;height:20px;}
.hov-panel-voice{flex:0 0 auto;display:flex;flex-direction:column;padding:13px 16px 15px;min-height:172px;gap:10px;background:linear-gradient(145deg,#fff,#f5faff)!important;border:1px solid #c9dff9!important;box-shadow:0 3px 12px rgba(43,98,166,.045)!important;border-radius:16px!important;}
.hov-panel-voice-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.hov-panel-voice-open{display:flex;align-items:center;gap:11px;border:0;background:transparent;padding:0!important;min-width:0;color:var(--hp-text);font-size:16px;}
.hov-panel-voice-open strong{white-space:nowrap;}
.hov-panel-voice-open .hov-panel-icon{width:38px;height:38px;flex-basis:38px;border-radius:12px;}
.hov-panel-voice-open .hov-panel-chevron{display:none;}
.hov-panel-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
.hov-panel-voice-modes{display:flex;align-items:center;border:1px solid #e5edfa;border-radius:9px;background:#f2f6fd;padding:3px;gap:2px;}
.hov-panel-voice-modes button{padding:8px 13px!important;border:0!important;background:transparent!important;border-radius:7px!important;color:#5b75a4!important;font-weight:650!important;font-size:14px!important;min-width:63px;}
.hov-panel-voice-modes button[aria-pressed="true"]{color:#165bc2!important;background:#fff!important;box-shadow:0 1px 4px rgba(33,83,151,.12)!important;}
.hov-panel-voice-status{display:flex;align-items:center;gap:7px;min-height:20px;color:#617da7;font-size:13px;}
.hov-panel-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#a8bddb;flex:none;}
.hov-panel-status-dot[data-state="active"]{background:#21bf4f;box-shadow:0 0 0 3px #e9faee;}
.hov-panel-voice-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:53px;}
.hov-panel-voice-bottom canvas{display:block;flex:1;min-width:0;width:100%;height:41px;max-width:325px;}
.hov-panel-voice-actions{display:flex;gap:7px;align-items:center;flex:0 0 auto;}
.hov-panel-voice-actions button{display:grid;place-items:center;padding:0!important;width:43px;height:43px;border-radius:50%!important;color:#316fca!important;border:1px solid #e0e9f7!important;background:#f0f5fc!important;}
.hov-panel-voice-actions button svg{width:21px;height:21px;}
.hov-panel-voice-actions .hov-panel-voice-primary{width:61px;height:61px;border:5px solid #e6f0ff!important;background:linear-gradient(160deg,#1b84ee,#1458c5)!important;color:white!important;box-shadow:0 2px 7px rgba(30,111,216,.18)!important;}
.hov-panel-voice-actions .hov-panel-voice-primary svg{width:25px;height:25px;}
.hov-panel-voice-actions button[aria-pressed="true"]:not(.hov-panel-voice-primary){background:#d8eaff!important;box-shadow:0 0 0 2px #90b9f5 inset;}
.hov-panel-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px;row-gap:2px;flex:0 0 auto;align-content:start;}
.hov-panel-link{display:flex;align-items:center;gap:9px;background:transparent!important;border:0!important;border-bottom:1px solid #e4ecf8!important;box-shadow:none!important;border-radius:7px!important;min-height:49px;padding:6px 7px!important;color:#173b73!important;text-align:left;min-width:0;transition:background-color .16s ease;}
.hov-panel-link .hov-panel-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px;background:#edf5ff;}
.hov-panel-link .hov-panel-icon svg{width:19px;height:19px;}
.hov-panel-link strong{font-size:14px;font-weight:660;min-width:0;white-space:nowrap;}
.hov-panel-chevron{display:grid;place-items:center;margin-left:auto;color:#6e90bb;flex:0 0 12px;opacity:.7;}
.hov-panel-chevron svg{width:14px;height:14px;}
.hov-panel-showme{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:6px 7px!important;text-align:left;width:100%;min-height:48px;color:#173b73!important;font-size:14px;font-weight:660;border:0!important;border-bottom:1px solid #e4ecf8!important;background:transparent!important;box-shadow:none!important;border-radius:7px!important;transition:background-color .16s ease;}
.hov-panel-showme>svg{width:32px;height:32px;padding:7px;border-radius:9px;box-sizing:border-box;background:#edf5ff;color:#136bdf;flex:none;}
.hov-panel-feedback{font-size:13px;color:#2d65a3;padding:8px 12px;background:#edf5ff;border:1px solid #c9defc;border-radius:10px;}
.hov-panel-feedback[hidden]{display:none!important;}
.hov-panel-preserved,.hov-context>.hov-asideactions[hidden]{display:none!important;}
.hov-panel-preserved{order:100;}
.hov-context>.hov-meta-grid{display:none!important;}
/* Existing full Voice Studio is retained and opens from Voice Comms header. */
body.hov-voice-open .hov-context>.hov-panel-top{display:flex!important;}
body.hov-voice-open .hov-context>.hov-titlecard,body.hov-voice-open .hov-context>.hov-panel-voice,body.hov-voice-open .hov-context>.hov-panel-shortcuts,body.hov-voice-open .hov-context>.hov-panel-showme,body.hov-voice-open .hov-context>.hov-panel-quick{display:none!important;}
body.hov-voice-open .hov-panel-top>.hov-aside-account-slot{display:block!important;}
body.hov-voice-open .hov-context>.hov-voice-manager:not([hidden]){display:flex!important;flex:1 1 auto;min-height:0;}
/* Earlier styles artificially relocate the former account card to the bottom; that is overridden above. */
body:not(.hov-voice-open) .hov-context>.hov-panel-top>.hov-aside-account-slot{margin-top:0!important;}
@media(max-width:1300px){.hov-columns,body.hov-voice-open .hov-columns{grid-template-columns:minmax(0,3fr) minmax(395px,2fr)!important}.hov-context,.hov-columns>.hov-context{gap:9px!important;padding:10px 12px!important}.hov-panel-top{height:61px;gap:4px;padding:6px}.hov-panel-search-button{flex-basis:39px;height:40px}.hov-panel-datetime{font-size:12px;min-width:85px}.hov-panel-top #hovAccountQuickHMN{font-size:13px!important}.hov-panel-top #hovProfileTrigger{width:42px!important;height:42px!important;flex-basis:42px!important;margin-right:3px!important}.hov-panel-top #hovProfileTrigger .hov-profile-icon{width:42px!important;height:42px!important}.hov-panel-link strong{font-size:13px}.hov-panel-voice-modes button{padding:7px 10px!important;min-width:54px}.hov-panel-voice-actions{gap:4px}.hov-panel-voice-actions button{width:41px;height:41px}.hov-panel-voice-actions .hov-panel-voice-primary{width:57px;height:57px}.hov-panel-voice-bottom{gap:8px}}
@media(max-height:820px){.hov-context,.hov-columns>.hov-context{gap:8px!important;padding-top:8px!important}.hov-context>.hov-titlecard{min-height:59px!important;padding:7px 10px!important}.hov-panel-top{height:59px}.hov-panel-voice{min-height:155px;gap:6px;padding:10px 12px}.hov-panel-link{min-height:43px;padding:5px 7px!important}.hov-panel-shortcuts{row-gap:0}.hov-panel-showme{min-height:43px;padding:5px 7px!important}}
@media(max-width:790px){.hov-columns,body.hov-voice-open .hov-columns{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(280px,1fr) auto!important;overflow-y:auto!important}.hov-columns>.hov-main{grid-column:1;grid-row:1;min-height:280px!important}.hov-columns>.hov-context,body.hov-voice-open .hov-columns>.hov-context{grid-column:1!important;grid-row:2!important;max-height:none!important;overflow:visible!important;height:auto!important}.hov-panel-top{height:auto;min-height:58px}.hov-panel-link{min-height:47px}.hov-panel-voice{min-height:155px}.hov-panel-search-button{flex-basis:41px}}
@media(max-width:490px){.hov-panel-datetime{display:none}.hov-panel-top .hov-aside-account-slot{margin-left:auto!important}.hov-panel-top{min-height:57px}.hov-panel-shortcuts{column-gap:8px}.hov-panel-link{gap:6px;padding:6px 3px!important}.hov-panel-link strong{font-size:13px}.hov-panel-link .hov-panel-icon{flex-basis:29px;width:29px;height:29px}.hov-panel-voice-bottom{flex-wrap:wrap}.hov-panel-voice-bottom canvas{max-width:100%;width:100%}}
/* Reference-accurate horizontal title card; override historical title editor flex stack. */
.hov-context>.hov-titlecard{flex-direction:row!important;align-items:center!important;text-align:left!important;justify-content:flex-start!important;}
.hov-context>.hov-titlecard>.hov-panel-icon{align-self:center!important;}
.hov-context>.hov-titlecard .hov-panel-title-body{display:flex!important;align-items:stretch!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;}
.hov-context>.hov-titlecard .hov-panel-title-body label{text-align:left!important;align-self:flex-start!important;}
.hov-context>.hov-titlecard .hov-panel-title-input{width:100%!important;box-sizing:border-box!important;}

/* v0.1.0.57.7: right-panel visual refinement, no changes to app logic. */
.hov-panel-shortcuts::before{content:"Workspace tools";grid-column:1/-1;color:#637fa8;font-size:12px;font-weight:700;letter-spacing:.03em;padding:2px 7px 5px;}
.hov-panel-link:hover,.hov-panel-showme:hover{background:#edf5ff!important;}
.hov-panel-link:active,.hov-panel-showme:active{background:#e4f0fe!important;}
.hov-panel-voice-modes button:not([aria-pressed="true"]):hover{color:#2d64ac!important;background:#eaf2ff!important;}
.hov-panel-showme .hov-panel-chevron{display:none!important;}
.hov-panel-link .hov-panel-chevron{opacity:.4;}
@media(hover:none){.hov-panel-link:hover,.hov-panel-showme:hover{background:transparent!important;}}
@media(max-width:1100px){.hov-panel-shortcuts{column-gap:8px}.hov-panel-link .hov-panel-chevron{display:none!important}}
