:root{--nia:#cf0544;--nia-green:#087466;--nia-text:#0f172a;--nia-muted:#667085}
.nia-entry-spacer{height:92px}
.nia-entry-wrap{position:fixed;left:0;right:0;bottom:0;z-index:9999;padding:10px 14px calc(10px + env(safe-area-inset-bottom));pointer-events:none}
.nia-entry-bar{pointer-events:auto;max-width:760px;margin:auto;min-height:58px;display:flex;align-items:center;gap:8px;padding:8px 10px 8px 12px;border:1px solid rgba(15,23,42,.08);border-radius:999px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.18)}
.nia-plus,.nia-mic,.nia-send{border:0;display:grid;place-items:center;flex:0 0 auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nia-plus{width:36px;height:36px;border-radius:50%;font-size:25px;color:#172033;background:transparent}
.nia-mic,.nia-send{width:42px;height:42px;border-radius:50%;font-size:20px}
.nia-mic{
  color:#000;
  background:transparent;
  overflow:visible;
  visibility:visible !important;
  opacity:1 !important;
  display:grid !important;
  place-items:center;
}
.nia-mic img{
  display:block !important;
  width:34px;
  height:34px;
  object-fit:contain;
  object-position:center;
  transform:scale(1.30);
  transform-origin:center;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.nia-send{background:var(--nia);color:#fff}
.nia-entry-input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--nia-text);font-size:15px;padding:10px 2px}.nia-entry-input::placeholder{color:#9ba3af}
.nia-ai-pill{padding:10px 12px;border-radius:999px;background:#f5f7fa;color:#1f2937;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:600px){.nia-entry-wrap{padding-left:9px;padding-right:9px}.nia-entry-bar{min-height:55px}.nia-entry-spacer{height:88px}.nia-ai-pill{display:none}}


/* =========================================================
   NIA RESPONSIVE EXACT MIC V6
   Desktop / Laptop / Tablet / Phone
   ========================================================= */
.nia-mic{
  display:grid !important;
  place-items:center !important;
  visibility:visible !important;
  opacity:1 !important;
  flex:0 0 auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.nia-mic img{
  display:block !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  pointer-events:none !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
  transform:none !important;
}
@media (min-width:1200px){
  .nia-entry-bar{max-width:760px;min-height:62px;padding:9px 12px 9px 14px}
  .nia-mic{width:48px !important;height:48px !important;flex-basis:48px !important}
  .nia-mic img{width:40px !important;height:40px !important}
}
@media (min-width:769px) and (max-width:1199px){
  .nia-mic{width:46px !important;height:46px !important;flex-basis:46px !important}
  .nia-mic img{width:38px !important;height:38px !important}
}
@media (min-width:601px) and (max-width:768px){
  .nia-entry-bar{max-width:calc(100vw - 32px)}
  .nia-mic{width:44px !important;height:44px !important;flex-basis:44px !important}
  .nia-mic img{width:36px !important;height:36px !important}
}
@media (max-width:600px){
  .nia-entry-wrap{padding-left:9px;padding-right:9px}
  .nia-entry-bar{width:100%;max-width:none;min-height:56px;gap:6px;padding:7px 9px 7px 10px}
  .nia-plus{width:36px;height:36px;flex:0 0 36px}
  .nia-entry-input{font-size:15px;padding-left:2px;padding-right:2px}
  .nia-mic{width:42px !important;height:42px !important;flex-basis:42px !important}
  .nia-mic img{width:34px !important;height:34px !important}
  .nia-ai-pill{display:none}
}
@media (max-width:380px){
  .nia-entry-bar{gap:4px;padding-left:7px;padding-right:7px}
  .nia-plus{width:34px;height:34px;flex-basis:34px}
  .nia-mic{width:40px !important;height:40px !important;flex-basis:40px !important}
  .nia-mic img{width:32px !important;height:32px !important}
  .nia-entry-input{font-size:14px}
}
