.nest-workspace { --nest-accent: #a9a9ff; }
.nest-main { color: #eeedf8; }
.nest-main * { box-sizing: border-box; }
.nest-topline { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 18px 0 28px; }
.nest-kicker { color: #aaa7fc; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.nest-topline h2 { margin: 10px 0 8px; font-size: clamp(23px, 3vw, 30px); font-weight: 600; }
.nest-topline p, .nest-aside > p { margin: 0; color: #a1a9be; font-size: 13px; line-height: 1.7; }
.nest-badge { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #343c58; border-radius: 99px; color: #c8d0ed; font-size: 10px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.nest-badge span { width: 6px; height: 6px; border-radius: 50%; background: #8c9dff; box-shadow: 0 0 10px #8c9dff; }
.nest-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: stretch; }
.nest-card, .nest-aside { border: 1px solid #303348; border-radius: 20px; background: linear-gradient(145deg, #171a29, #10131e); box-shadow: 0 18px 45px rgba(0,0,0,.14); }
.nest-card { padding: clamp(20px, 3vw, 32px); }
.nest-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid #303348; border-radius: 13px; background: #0d101a; }
.nest-tabs button { flex: 1; min-height: 43px; border: 0; border-radius: 9px; background: transparent; color: #929bb0; font: 600 12px 'DM Sans', sans-serif; cursor: pointer; }
.nest-tabs button span { margin-right: 8px; font-size: 16px; }
.nest-tabs button.active { background: linear-gradient(115deg, #5875ed, #a76bd7); color: #fff; box-shadow: 0 6px 18px rgba(102, 110, 234, .2); }
.nest-tabs button:disabled { opacity: .6; cursor: wait; }
.nest-section-title { display: flex; justify-content: space-between; gap: 12px; margin: 30px 0 12px; color: #9ca6bc; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nest-section-title span:last-child { color: #727c92; text-align: right; }
.nest-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 200px; padding: 24px; border: 1px dashed #4a506c; border-radius: 15px; background: radial-gradient(ellipse at 50% 0, rgba(93, 108, 207, .11), transparent 70%), #0d101b; text-align: center; cursor: pointer; overflow-wrap: anywhere; transition: border-color .2s, background .2s; }
.nest-dropzone:hover, .nest-dropzone.dragging, .nest-dropzone:focus-within { border-color: #9b9aff; background-color: #141729; }
.nest-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nest-upload-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border: 1px solid #4c4c77; border-radius: 14px; background: #22233b; color: #c2baff; font-size: 24px; }
.nest-dropzone strong { max-width: 100%; color: #e8e7f5; font-size: 13px; }
.nest-dropzone > span:last-child { color: #8992a8; font-size: 12px; }
.nest-password { position: relative; }
.nest-workspace .nest-password input, .nest-workspace #confirmPassphrase { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #35394d; border-radius: 10px; background: #0c0f19; color: #f2f1f8; font-size: 13px; }
.nest-workspace .nest-password input { padding-right: 74px; }
.nest-password button { position: absolute; top: 0; right: 0; height: 100%; padding: 0 16px; border: 0; background: transparent; color: #a9a9ff; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.nest-confirm-label { display: block; margin: 18px 0 10px; color: #9ca6bc; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nest-submit, .nest-download { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 50px; margin-top: 24px; padding: 0 18px; border: 0; border-radius: 11px; background: linear-gradient(110deg, #5875ed, #a76bd7); color: #fff; font: 700 13px 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px rgba(91, 108, 228, .18); }
.nest-submit:hover, .nest-download:hover { filter: brightness(1.1); }
.nest-submit:disabled { opacity: .65; cursor: wait; }
.nest-submit span, .nest-download span { font-size: 18px; }
.nest-status { margin-top: 14px; color: #a2aac0; font-size: 12px; line-height: 1.5; }
.nest-status.error { color: #ff9b9f; }
.nest-download { margin-top: 14px; border: 1px solid #6f7ec9; background: #202746; overflow-wrap: anywhere; }
.nest-download[hidden], #confirmGroup[hidden] { display: none; }
.nest-aside { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); background: radial-gradient(circle at 75% 8%, rgba(132, 100, 232, .2), transparent 35%), linear-gradient(145deg, #1a1b30, #10131e); }
.nest-orbit { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 36px; border: 1px solid rgba(174, 169, 255, .15); border-radius: 50%; box-shadow: 0 0 0 19px rgba(174, 169, 255, .025), 0 0 0 38px rgba(174, 169, 255, .02); }
.nest-orbit-inner { display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid rgba(186, 178, 255, .35); border-radius: 26px; background: linear-gradient(145deg, #565bc0, #9d68bd); box-shadow: 0 10px 36px rgba(105, 92, 217, .35); color: #fff; font-size: 38px; }
.nest-aside h2 { margin: 12px 0; font-size: 28px; line-height: 1.15; }
.nest-aside h2 span { color: #aaa2ff; }
.nest-details { display: grid; gap: 18px; margin-top: 30px; }
.nest-details > div { display: flex; align-items: start; gap: 13px; }
.nest-details > div > span { color: #9692eb; font-size: 11px; font-weight: 700; }
.nest-details p { margin: 0; color: #969eb3; font-size: 12px; line-height: 1.6; }
.nest-details strong { color: #e3e3ef; font-size: 12px; }
.nest-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid #34364b; color: #8e97ae; font-size: 11px; line-height: 1.6; }
@media (max-width: 760px) {
  .nest-layout { grid-template-columns: 1fr; }
  .nest-aside { padding-top: 40px; }
  .nest-topline { align-items: flex-start; flex-direction: column; }
}
