.assumptions-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 14px;
    height: calc(100vh - 170px);
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .assumptions-card,
  .assumptions-chat {
    background: linear-gradient(180deg, #020817, #020617);
    border: 1px solid #1e3a5f;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #cbd5e1;
    overflow: hidden;
  }
  
  .assumptions-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
  }
  
  .assumptions-header h3,
  .chat-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #dbeafe;
  }
  
  .assumptions-header p {
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 12px;
  }
  
  .assumptions-table-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
  }
  
  .assumptions-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
    table-layout: fixed;
  }
  
  .assumptions-table th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #071225;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 10px;
    border-bottom: 1px solid #1e3a5f;
    text-align: left;
  }
  
  .assumptions-table td {
    color: #94a3b8;
    font-size: 12px;
    padding: 8px 10px;
    border-bottom: 1px solid #16233a;
    vertical-align: middle;
  }
  
  .assumptions-table th:nth-child(1),
  .assumptions-table td:nth-child(1) {
    width: 160px;
  }
  
  .assumptions-table th:nth-child(2),
  .assumptions-table td:nth-child(2) {
    width: 380px;
  }
  
  .assumptions-table th:nth-child(3),
  .assumptions-table td:nth-child(3) {
    width: 180px;
  }
  
  .assumptions-table th:nth-child(4),
  .assumptions-table td:nth-child(4) {
    width: 380px;
  }
  
  .assumptions-table tr:hover td {
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
  }
  
  .assumptions-table select,
  .assumptions-table textarea {
    width: 100%;
    background: #020617;
    color: #cbd5e1;
    border: 1px solid #334155;
    border-radius: 8px;
    outline: none;
    font-size: 12px;
    display: block;
    margin: 0;
    box-sizing: border-box;
  }
  
  .assumptions-table select {
    height: 32px;
    padding: 0 8px;
  }
  
  .assumptions-table textarea {
    height: 30px;
    min-height: 30px;
    max-height: 60px;
    resize: vertical;
    padding: 6px 8px;
    line-height: 1.2;
  }
  
  .assumptions-table select:focus,
  .assumptions-table textarea:focus,
  .assumptions-chat textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
  }
  
  .assumptions-chat {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
  }
  
  .assumptions-chat .chat-title {
    text-align: center;
    margin-bottom: 12px;
  }
  
  .assumptions-save {
    margin-top: 10px;
  }
  
  .assumptions-save .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .assumptions-table-scroll,
  .assumptions-chat .additional-chat-messages,
  .assumptions-chat textarea {
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
  }
  
  .assumptions-table-scroll::-webkit-scrollbar,
  .assumptions-chat .additional-chat-messages::-webkit-scrollbar,
  .assumptions-chat textarea::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
  
  .assumptions-table-scroll::-webkit-scrollbar-track,
  .assumptions-chat .additional-chat-messages::-webkit-scrollbar-track,
  .assumptions-chat textarea::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .assumptions-table-scroll::-webkit-scrollbar-thumb,
  .assumptions-chat .additional-chat-messages::-webkit-scrollbar-thumb,
  .assumptions-chat textarea::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 999px;
  }
  
  .assumptions-table-scroll::-webkit-scrollbar-thumb:hover,
  .assumptions-chat .additional-chat-messages::-webkit-scrollbar-thumb:hover,
  .assumptions-chat textarea::-webkit-scrollbar-thumb:hover {
    background: #475569;
  }