/* ==========================================
   UNIFIED AI CHAT TERMINAL WIDGET STYLES
   ========================================== */

.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.5);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.4s ease, border-color 0.3s ease;
  transform-origin: bottom center;
}

/* Metallic Glossy Shine Line Sweep on Collapsed Capsule */
.ai-chat-widget.collapsed::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 15%,
      rgba(255, 255, 255, 0.25) 38%,
      rgba(255, 255, 255, 0.75) 48%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(255, 255, 255, 0.75) 52%,
      rgba(255, 255, 255, 0.25) 62%,
      rgba(255, 255, 255, 0) 85%,
      transparent 100%);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.75));
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 10;
  border-radius: 26px;
  animation: shine-sweep 3.0s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
}

@keyframes shine-sweep {
  0% { left: -150%; }
  35% { left: 180%; }
  100% { left: 180%; }
}

.ai-chat-widget.expanded::before {
  display: none !important;
}

/* Collapsed AI Chat Capsule (Clean Dark Theme - Spacious Padding) */
.ai-chat-widget.collapsed {
  width: 480px;
  max-width: calc(100vw - 32px);
  height: 94px;
  border-radius: 24px;
  padding: 0;
  background: #0A0A0C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.4s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ai-chat-widget.collapsed .chat-glow-halo {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  opacity: 0.15;
  filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  transition: opacity 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

.ai-chat-widget.collapsed:hover {
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.ai-chat-widget.collapsed:hover .chat-glow-halo {
  opacity: 0.3;
  filter: blur(14px);
}

.ai-chat-widget.collapsed .widget-input-bar {
  border-top: none;
  background: transparent;
  height: 100%;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  cursor: pointer;
  box-sizing: border-box;
}

.ai-chat-widget.expanded .chat-glow-halo {
  display: none;
}

.ai-chat-widget.collapsed .widget-chat-body {
  opacity: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Expanded Full Chatbox CLI Terminal State (Claude Code CLI Theme) */
.ai-chat-widget.expanded {
  width: 460px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 90px);
  border-radius: 20px;
  font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
  background: #0A0A0C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  transform: translateX(-50%);
}

.ai-chat-widget.expanded .widget-chat-body {
  opacity: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s ease 0.1s;
}

/* CLI Terminal Header Bar */
.chatbot-header {
  padding: 10px 16px;
  background: #0A0A0C;
  border-bottom: 1px solid #27272A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

.tui-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Apple macOS Style Window Controls (Red, Yellow/Orange, Green) - Static Visual Only */
.mac-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  user-select: none;
  pointer-events: none;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  cursor: default;
}

.mac-dot.red {
  background-color: #FF5F56 !important;
  border: 1px solid rgba(224, 74, 66, 0.5) !important;
}

.mac-dot.yellow,
.mac-dot.orange {
  background-color: #FFBD2E !important;
  border: 1px solid rgba(222, 161, 35, 0.5) !important;
}

.mac-dot.green {
  background-color: #27C93F !important;
  border: 1px solid rgba(26, 171, 47, 0.5) !important;
}

.tui-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.term-usr { color: #D97757; font-weight: 700; }
.term-at { color: #9CA3AF; font-weight: 400; }
.term-host { color: #D97757; font-weight: 700; }
.term-path { color: #9CA3AF; }

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 2px 5px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.chatbot-close-btn:hover {
  color: #D97757;
  background: rgba(217, 119, 87, 0.18);
}

/* CLI Terminal Messages Stream */
.chatbot-messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 14px;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0A0A0C;
  font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 119, 87, 0.4) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  display: block !important;
  width: 5px !important;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent !important;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 87, 0.35) !important;
  border-radius: 4px !important;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(217, 119, 87, 0.7) !important;
}

/* Claude Code CLI Dash Box Container - Sleek Dark Glass Layout */
.claude-cli-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin: 2px 0 8px 0;
  position: relative;
  background: #0D0D10;
  padding: 10px 10px 8px 10px;
  font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
}

.claude-box-legend {
  position: absolute;
  top: -9px;
  left: 10px;
  background: #0D0D10;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.claude-box-legend .claude-brand {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.claude-box-legend .claude-ver {
  color: #9CA3AF;
  font-weight: 400;
}

.claude-box-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  align-items: center;
}

/* Left Panel */
.claude-left-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 6px;
}

.claude-welcome-head {
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.claude-mascot-icon {
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.claude-sub-info {
  font-size: 9px;
  color: #9CA3AF;
  line-height: 1.2;
}

/* Right Panel */
.claude-right-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.claude-section-top {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.claude-section-bottom {
  padding-top: 1px;
}

.claude-sec-title {
  font-size: 9.5px;
  font-weight: 600;
  color: #D97757;
  margin-bottom: 2px;
}

.claude-act-item {
  font-size: 9.5px;
  color: #ECEAE4;
  line-height: 1.35;
}

.claude-cmd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.claude-cmd-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D97757;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 600;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.claude-cmd-pill:hover {
  background: rgba(217, 119, 87, 0.18);
  border-color: #D97757;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Universal Terminal Monospace Font Enforcement */
.ai-chat-widget,
.widget-input-bar,
.term-cli-field-container,
.term-typed-text,
.term-input-prompt,
.chatbot-messages,
.chat-msg,
.chat-msg *,
.bot-res-header,
.bot-res-list,
.bot-res-list li,
.term-chip-btn,
.claude-cli-box,
.claude-box-legend,
.claude-welcome-head,
.claude-sub-info,
.claude-sec-title,
.claude-act-item,
.claude-cmd-item {
  font-family: 'Fira Code', 'Consolas', 'Courier New', monospace !important;
}

/* True CLI Terminal Message Stream (No Card Bubbles) */
.chat-msg {
  padding: 2px 0;
  border-radius: 0 !important;
  font-size: 11px;
  line-height: 1.5;
  word-break: break-word;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 3px 0;
}

/* User Command Prompt Line */
.chat-msg.user {
  align-self: flex-start;
  color: #FFFFFF;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-top: 10px !important;
  margin-top: 12px !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.term-usr-prefix {
  background: transparent !important;
  border: none !important;
  color: #D97757 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 0 !important;
  margin-right: 6px !important;
  user-select: none !important;
}

.chat-msg.user .term-msg-txt {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
}

/* Bot Terminal Stdout Line */
.chat-msg.bot {
  align-self: flex-start;
  color: #D4D4D8;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 8px !important;
  padding-left: 12px !important;
  width: 100% !important;
}

.term-bot-prefix {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38BDF8 !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  margin-right: 6px !important;
  letter-spacing: 0.4px !important;
  display: inline-block !important;
  margin-bottom: 4px !important;
  user-select: none !important;
}

.chat-msg.bot b, 
.chat-msg.bot strong {
  color: #D97757;
  font-weight: 600;
  font-style: normal !important;
}

.chat-msg.bot i,
.chat-msg.bot em {
  font-style: normal !important;
  color: #A1A1AA;
}

.chat-msg.bot code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 119, 87, 0.35);
  color: #D97757;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10.5px;
}

.bot-cli-block {
  margin-top: 2px;
  width: 100%;
}

.bot-res-header {
  color: #D97757;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.bot-cli-tree {
  margin: 3px 0 5px 0;
  font-size: 11px;
  line-height: 1.5;
}

.bot-cli-tree .branch {
  color: #71717A;
  font-weight: 700;
  margin-right: 4px;
  user-select: none;
}

.bot-cli-tree .tree-sub {
  color: #A1A1AA;
  font-size: 10.5px;
  margin-bottom: 3px;
}

.bot-link {
  color: #38BDF8 !important;
  text-decoration: underline !important;
  font-weight: 600;
}

.bot-link.live {
  color: #22C55E !important;
}

.term-chip-btn {
  background: rgba(217, 119, 87, 0.12) !important;
  border: 1px solid rgba(217, 119, 87, 0.35) !important;
  color: #D97757 !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  font-size: 10.5px !important;
  cursor: none !important;
  transition: all 0.15s ease !important;
}

.term-chip-btn:hover {
  background: rgba(217, 119, 87, 0.28) !important;
  color: #FFFFFF !important;
  border-color: #D97757 !important;
}

/* User Message: Aligned RIGHT with Rich Terracotta Gradient */
.chat-msg.user {
  align-self: flex-end;
  margin-left: auto;
  max-width: 84%;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.24) 0%, rgba(180, 80, 50, 0.3) 100%);
  color: #FFF7ED;
  border: 1px solid rgba(217, 119, 87, 0.45);
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.15);
}

.term-usr-prefix {
  color: #D97757 !important;
  font-weight: 700 !important;
  margin-right: 5px;
}

.term-bot-prefix {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  margin-right: 5px;
}

.term-msg-txt {
  color: inherit;
}

/* Orange Command Chips */
.chat-chips {
  padding: 6px 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid rgba(217, 119, 87, 0.15);
  background: #141210;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat-chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: rgba(217, 119, 87, 0.12);
  border: 1px solid rgba(217, 119, 87, 0.35);
  color: #D97757;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  cursor: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chip-btn:hover {
  background: rgba(217, 119, 87, 0.28);
  border-color: #D97757;
  color: #ffffff;
  transform: translateY(-1px);
}

/* CLI Terminal Input Bar */
.widget-input-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 12px;
  background: #0A0A0C;
  border-top: 1px solid #27272A;
  box-sizing: border-box;
  width: 100%;
}

.ai-chat-widget.expanded .widget-input-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  height: 48px;
  border-top: 1px solid #27272A;
  background: #0A0A0C;
  padding: 8px 12px;
}

.luna-top-row {
  display: flex;
  align-items: center;
  width: 100%;
  flex-grow: 1;
}

.ai-chat-widget.collapsed .luna-top-row {
  padding-top: 0;
  margin-bottom: 8px;
}

.term-input-prompt {
  color: #D97757;
  font-size: 14px;
  font-weight: 800;
  user-select: none;
  display: flex;
  align-items: center;
  margin-right: 6px;
}

.ai-chat-widget.collapsed .term-input-prompt {
  display: none !important;
}

.term-cli-field-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  font-size: 13.5px;
  min-height: 28px;
  height: 100%;
}

.term-typed-text {
  color: #ECEAE4;
  white-space: pre;
  font-weight: 500;
  font-family: inherit;
  pointer-events: none;
}

/* Sharp Solid Dull White Claude Terminal Block Cursor */
.term-cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #D4D4D4 !important;
  margin-left: 1px;
  margin-right: 5px;
  vertical-align: middle;
  animation: claude-cursor-blink 1s step-end infinite;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex-shrink: 0;
  pointer-events: none;
}

.ai-chat-widget.collapsed .term-cursor-blink {
  display: none !important;
}

.term-placeholder,
#term-placeholder,
.widget-input-field::placeholder {
  color: rgba(236, 234, 228, 0.48) !important;
  font-family: var(--font-body), 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.1px !important;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.ai-chat-widget.collapsed .term-placeholder {
  color: rgba(255, 255, 255, 0.38) !important;
  font-size: 14px !important;
}

@keyframes claude-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.widget-input-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: transparent !important;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  caret-color: transparent !important;
  z-index: 5;
  cursor: text;
}

/* Luna Collapsed Bottom Toolbar Styles */
.luna-bottom-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

.ai-chat-widget.expanded .luna-bottom-toolbar {
  display: none !important;
}

.luna-toolbar-left,
.luna-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.luna-btn-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.luna-btn-circle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.luna-file-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 500;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.luna-file-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.luna-file-icon {
  color: #FF3B30 !important;
  flex-shrink: 0;
}

.luna-file-name {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.luna-file-remove {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.luna-file-remove:hover {
  color: #FFFFFF;
}

.luna-btn-icon {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.luna-btn-icon:hover {
  color: #ffffff;
}

.luna-send-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.luna-send-circle:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}

.widget-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1E1E24;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat-widget.collapsed .widget-action-btn {
  display: none !important;
}

.widget-action-btn:hover {
  transform: scale(1.06);
  background: #e28160;
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.6);
}

.widget-action-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* MOBILE PHONE RESPONSIVENESS (<640px) */
@media (max-width: 640px) {
  .ai-chat-widget {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .ai-chat-widget.collapsed {
    position: fixed !important;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 24px) !important;
    max-width: 440px !important;
    height: 84px !important;
    border-radius: 20px !important;
  }

  .ai-chat-widget.collapsed .widget-input-bar {
    padding: 10px 14px !important;
  }

  .ai-chat-widget.collapsed .term-placeholder {
    font-size: 12px !important;
  }

  .luna-file-pill {
    padding: 3px 8px !important;
    font-size: 10.5px !important;
  }

  .luna-file-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ai-chat-widget.expanded {
    position: fixed !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 20px) !important;
    max-width: 410px !important;
    height: calc(58vh - env(safe-area-inset-bottom, 0px)) !important;
    max-height: 380px !important;
    border-radius: 18px !important;
  }

  .claude-cli-box {
    padding: 6px 8px 4px 8px !important;
    margin: 2px 0 4px 0 !important;
    border-radius: 10px !important;
  }

  .claude-box-content {
    display: grid !important;
    grid-template-columns: 1fr 1.6fr !important;
    gap: 6px !important;
  }

  .claude-welcome-head {
    font-size: 10.5px !important;
    margin-bottom: 2px !important;
  }

  .claude-mascot-icon {
    margin-bottom: 2px !important;
  }

  .claude-sub-info {
    font-size: 8.5px !important;
  }

  .claude-right-panel {
    padding-left: 8px !important;
    gap: 4px !important;
  }

  .claude-sec-title {
    font-size: 9px !important;
  }

  .claude-act-item {
    font-size: 8.5px !important;
  }

  .claude-cmd-pill {
    padding: 2px 6px !important;
    font-size: 9px !important;
  }
}
