/* =========================================================
   SUBLIM8 NOVA
   Full-width desktop assistant experience.
   base.html remains untouched.
   ========================================================= */

a{color:inherit;text-decoration:none}
.site{width:1640px;margin:0 auto}

.nova-page{
  width:1640px;
  padding:24px 34px 34px;
  box-sizing:border-box;
  background:#fbfaf7;
  color:#1b1c18;
  font-family:Arial,Helvetica,sans-serif;
}

.nova-shell{
  width:1572px;
  min-height:930px;
  margin:0 auto;
  display:grid;
  grid-template-columns:274px minmax(0,1fr) 294px;
  overflow:hidden;
  border:1px solid #ded7cf;
  border-radius:17px;
  background:#fffdf9;
  box-shadow:0 8px 30px rgba(57,48,40,.06);
}

/* LEFT */
.nova-sidebar{
  padding:20px 16px 18px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  border-right:1px solid #e6dfd7;
  background:linear-gradient(180deg,#f8f4ee 0%,#fbf8f4 54%,#f7f4ee 100%);
}

.nova-brand-card{
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px;
  border:1px solid #eadfe1;
  border-radius:14px;
  background:#fff9fa;
}
.nova-brand-card img{
  width:76px;height:76px;object-fit:contain;flex:0 0 76px;
  filter:drop-shadow(0 4px 7px rgba(83,55,56,.08));
}
.nova-kicker{font-size:12px;font-weight:800;letter-spacing:1.3px;color:#a86e7b}
.nova-brand-card h1{
  margin:3px 0 2px;
  font:700 25px Georgia,"Times New Roman",serif;
  color:#344C34;
}
.nova-brand-card p{margin:0;font-size:14px;line-height:1.4;color:#77716b}

.nova-new-chat{
  height:43px;
  margin-top:14px;
  border:0;
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;gap:9px;
  background:#344C34;
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease;
}
.nova-new-chat:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 15px rgba(52,76,52,.16);
}
.nova-new-chat span{font-size:18px;font-weight:400}

.nova-sidebar-section{margin-top:24px}
.nova-sidebar-title{
  margin:0 7px 8px;
  color:#928c85;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.nova-side-action{
  width:100%;
  min-height:55px;
  padding:8px 9px;
  border:0;
  border-radius:9px;
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
  background:transparent;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease;
}
.nova-side-action:hover{background:#fff;transform:translateX(2px)}
.nova-side-icon{
  width:31px;height:31px;flex:0 0 31px;
  border-radius:8px;
  display:grid;place-items:center;
  background:#f8dfe5;
  color:#344C34;
  font-size:14px;
  font-weight:700;
}
 .nova-side-action strong{display:block;font-size:13px;color:#34372f}
 .nova-side-action small{display:block;margin-top:3px;font-size:12px;color:#8b8780}

.nova-history button{
  width:100%;
  min-height:35px;
  padding:0 7px;
  border:0;
  border-radius:7px;
  display:flex;
  align-items:center;
  gap:7px;
  background:transparent;
  color:#66625d;
  font-size:12px;
  text-align:left;
  cursor:pointer;
}
.nova-history button:hover{background:#fff}
.nova-history button span{color:#b87b88;font-size:13px}

.nova-side-footer{
  margin-top:auto;
  padding:12px 9px 3px;
  border-top:1px solid #e6dfd7;
  display:flex;
  align-items:center;
  gap:9px;
}
.nova-status-dot{
  width:9px;height:9px;border-radius:50%;background:#78976f;
  box-shadow:0 0 0 4px rgba(120,151,111,.12);
}
 .nova-side-footer strong{display:block;font-size:12px;color:#344C34}
 .nova-side-footer small{display:block;margin-top:2px;font-size:12px;color:#8d8881}

/* CENTER CHAT */
.nova-chat-panel{
  min-width:0;
  display:flex;
  flex-direction:column;
  background:#fff;
}

.nova-chat-header{
  height:76px;
  padding:0 20px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e8e1da;
}
.nova-chat-heading{display:flex;align-items:center;gap:11px}
.nova-mini-avatar{
  width:39px;height:39px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#f6d9e2,#fff1e7);
  border:1px solid #e2c6cd;
  color:#344C34;
  font:700 17px Georgia,serif;
}
.nova-name-line{display:flex;align-items:center;gap:8px}
.nova-name-line h2{margin:0;font:700 17px Georgia,serif;color:#344C34}
.nova-online{
  padding:3px 6px;border-radius:999px;background:#edf2e9;
  color:#5d7757;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;
}
 .nova-chat-heading p{margin:3px 0 0;font-size:12px;color:#89847e}

.nova-header-actions{display:flex;gap:6px}
.nova-header-actions button{
  width:34px;height:34px;border:1px solid #ddd6cf;border-radius:8px;
  background:#fff;color:#5d6258;cursor:pointer;transition:.15s;
}
.nova-header-actions button:hover{background:#f6f3ef;transform:translateY(-1px)}

.nova-chat-body{
  position:relative;
  flex:1;
  min-height:0;
  overflow:auto;
  background:
    radial-gradient(circle at 72% 15%,rgba(248,223,229,.16),transparent 26%),
    linear-gradient(#fff,#fffdfa);
}

.nova-welcome{
  min-height:615px;
  padding:42px 42px 32px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:230px 1fr;
  gap:28px;
  align-items:center;
}
.nova-welcome[hidden]{display:none}

.nova-welcome-art{
  height:330px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:linear-gradient(160deg,#fff7f9,#f7f3ed);
  border:1px solid #eadfe1;
}
.nova-welcome-art img{
  width:215px;
  height:300px;
  object-fit:contain;
  filter:drop-shadow(0 10px 17px rgba(78,55,48,.11));
  transition:transform .2s ease;
}
.nova-welcome-art:hover img{transform:translateY(-4px) scale(1.01)}

.nova-eyebrow{
  color:#aa7480;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.5px;
}
.nova-welcome-copy>h2{
  margin:8px 0 11px;
  max-width:500px;
  font:700 31px/1.08 Georgia,"Times New Roman",serif;
  color:#283427;
}
.nova-welcome-copy>p{
  max-width:540px;
  margin:0;
  color:#6b6963;
  font-size:14px;
  line-height:1.6;
}

.nova-suggestion-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.nova-suggestion-grid button{
  min-height:75px;
  padding:11px 12px;
  border:1px solid #e4ddd5;
  border-radius:11px;
  display:grid;
  grid-template-columns:31px 1fr 18px;
  align-items:center;
  gap:9px;
  text-align:left;
  background:#fff;
  color:#34372f;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.nova-suggestion-grid button:hover{
  transform:translateY(-3px);
  border-color:#d7c6c7;
  box-shadow:0 8px 18px rgba(72,58,49,.08);
}
.nova-suggestion-grid button>span{
  width:31px;height:31px;border-radius:8px;
  display:grid;place-items:center;
  background:#f8dfe5;color:#344C34;font-size:14px;font-weight:700;
}
 .nova-suggestion-grid strong{display:block;font-size:13px}
 .nova-suggestion-grid small{display:block;margin-top:3px;font-size:12px;color:#8e8882}
.nova-suggestion-grid b{color:#344C34;font-size:15px;transition:transform .15s ease}
.nova-suggestion-grid button:hover b{transform:translateX(3px)}

.nova-messages{padding:26px 28px 30px}
.nova-message-row{
  margin-bottom:18px;
  display:flex;
  align-items:flex-start;
  gap:9px;
}
.nova-message-row.user{flex-direction:row-reverse}
.nova-message-avatar{
  width:31px;height:31px;flex:0 0 31px;border-radius:50%;
  display:grid;place-items:center;
  background:#f8dfe5;
  color:#344C34;
  font:700 11px Georgia,serif;
}
.nova-message-row.user .nova-message-avatar{
  background:#edf2e9;
  font-family:Arial,sans-serif;
  font-size:8px;
}
.nova-message-bubble{
  max-width:70%;
  padding:11px 13px;
  border:1px solid #eadfe1;
  border-radius:6px 13px 13px 13px;
  background:#fff7f9;
  color:#383a35;
  font-size:14px;
  line-height:1.55;
  white-space:pre-wrap;
}
.nova-message-row.user .nova-message-bubble{
  border-color:#dfe5da;
  border-radius:13px 6px 13px 13px;
  background:#f1f5ef;
}

/* COMPOSER */
.nova-composer-wrap{
  padding:11px 18px 15px;
  border-top:1px solid #e8e1da;
  background:#fffdfa;
}
.nova-tool-row{
  min-height:31px;
  display:flex;
  align-items:center;
  gap:7px;
}
.nova-tool-chip{
  height:27px;padding:0 9px;border:1px solid #dfd8d0;border-radius:999px;
  background:#fff;color:#61645d;font-size:12px;font-weight:700;cursor:pointer;
}
.nova-tool-chip:hover{background:#f7f3ef}
 .nova-composer-tip{margin-left:auto;color:#99938c;font-size:12px}

.nova-composer{
  min-height:55px;
  margin-top:7px;
  padding:7px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  border:1px solid #d5cec6;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 16px rgba(58,49,41,.05);
}
.nova-attach,.nova-send{
  width:39px;height:39px;flex:0 0 39px;
  border:0;border-radius:10px;
  display:grid;place-items:center;
  cursor:pointer;transition:.15s;
}
.nova-attach{background:#f5f1ec;color:#344C34;font-size:20px}
.nova-attach:hover{background:#ede7e1;transform:translateY(-1px)}
.nova-send{background:#344C34;color:#fff;font-size:18px}
.nova-send:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(52,76,52,.18)}
.nova-composer textarea{
  width:100%;min-height:39px;max-height:130px;
  padding:11px 4px 7px;
  box-sizing:border-box;
  resize:none;border:0;outline:0;background:transparent;
  color:#2f322c;font:14px/1.4 Arial,sans-serif;
}
.nova-composer textarea::placeholder{color:#aaa49e}
.nova-composer-bottom{
  margin-top:6px;
  display:flex;
  justify-content:space-between;
  color:#a09a93;
  font-size:12px;
}

/* RIGHT */
.nova-right-panel{
  padding:18px 16px;
  box-sizing:border-box;
  border-left:1px solid #e6dfd7;
  background:#fbf8f4;
}
.nova-help-card,.nova-note-card,.nova-prompt-card{
  border:1px solid #e3dcd4;
  border-radius:12px;
  background:#fff;
}
.nova-help-card{padding:16px}
.nova-card-kicker{
  display:block;margin-bottom:5px;color:#a97480;
  font-size:12px;font-weight:800;letter-spacing:1.1px;
}
.nova-help-card>h3{
  margin:0 0 14px;
  font:700 17px/1.2 Georgia,serif;
  color:#344C34;
}
.nova-help-card>a{
  min-height:53px;
  padding:7px 5px;
  display:grid;
  grid-template-columns:31px 1fr 16px;
  align-items:center;
  gap:8px;
  border-top:1px solid #eee8e1;
  transition:transform .15s ease;
}
.nova-help-card>a:hover{transform:translateX(3px)}
.nova-tool-mark{
  width:31px;height:31px;border-radius:8px;
  display:grid;place-items:center;
  background:#edf2e9;color:#344C34;font-size:13px;font-weight:700;
}
 .nova-help-card strong{display:block;font-size:12px;color:#383a35}
.nova-help-card small{display:block;margin-top:3px;font-size:12px;color:#969089}
.nova-help-card>a>span{color:#344C34}

.nova-note-card{
  margin-top:12px;
  padding:16px;
  background:#fff7f9;
  border-color:#ead9dd;
}
.nova-note-card img{width:18px;height:18px}
.nova-note-card h3{margin:7px 0 6px;font:700 14px Georgia,serif;color:#344C34}
 .nova-note-card p{margin:0;color:#746e69;font-size:12px;line-height:1.5}

.nova-prompt-card{
  margin-top:12px;
  padding:16px;
}
.nova-prompt-card>span{font-size:12px;font-weight:800;letter-spacing:1.1px;color:#9c756c}
.nova-prompt-card p{
  min-height:51px;
  margin:8px 0 11px;
  color:#555651;
  font:italic 11px/1.45 Georgia,serif;
}
.nova-prompt-card button{
  width:100%;height:34px;border:1px solid #344C34;border-radius:7px;
  background:#fff;color:#344C34;font-size:12px;font-weight:700;cursor:pointer;transition:.15s;
}
.nova-prompt-card button:hover{background:#344C34;color:#fff;transform:translateY(-1px)}

@media (max-width:1450px){
  .nova-page{transform-origin:top left}
}
