/* Nevo Core – client portal (works with any theme; picks up Nevo Legal theme tokens when present). */
.nevo-portal { --np-navy: var(--navy, #1f3044); --np-gold: var(--gold, #cb935d); --np-line: var(--line, #e6dfd5); --np-cream: var(--cream, #fbf8f4); --np-muted: var(--muted, #687384); }
.nevo-portal h2 { margin: 0 0 4px; }
.nevo-portal h3 { margin: 0 0 6px; font-size: 1.25rem; }
.np-intro { color: var(--np-muted); margin: 0 0 22px; }
.np-meta { color: var(--np-muted); font-size: .9rem; margin: 0; }
.np-back { text-decoration: none; font-weight: 600; }
.np-list { display: grid; gap: 16px; }
.np-card { border: 1px solid var(--np-line); border-radius: 16px; padding: 22px; background: #fff; display: grid; gap: 12px; }
.np-card h3 a { color: inherit; text-decoration: none; }
.np-card__head, .np-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.np-head { margin-bottom: 14px; }
.np-status { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: #eef1f5; color: var(--np-navy); white-space: nowrap; }
.np-status--awaiting_docs, .np-status--on_hold { background: #fdf4e2; color: #8a5a00; }
.np-status--under_review { background: #e9eef8; color: #2b4a80; }
.np-status--in_progress { background: #f7eee4; color: #8c5b2c; }
.np-status--completed { background: #e3f4ea; color: #1e6b44; }
.np-progress { height: 8px; border-radius: 99px; background: #eef0f3; overflow: hidden; }
.np-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--np-gold), #b77d45); border-radius: inherit; transition: width .4s; }
.np-progress--lg { height: 10px; margin-bottom: 6px; }
.np-callout { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: var(--np-cream); border: 1px solid var(--np-line); margin: 0 0 24px; }
.np-callout--ok { background: #e8f4ee; border-color: #cfe6da; margin-top: 18px; }
.np-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--np-line); border-radius: 16px; }
.np-docs { display: grid; gap: 14px; margin-top: 22px; }
.np-doc { display: grid; grid-template-columns: 1fr 300px; gap: 18px; padding: 20px; border: 1px solid var(--np-line); border-left: 4px solid #d6dbe2; border-radius: 14px; background: #fff; }
.np-doc--review { border-left-color: #c99a3b; }
.np-doc--approved { border-left-color: #2b7a57; background: #fbfefc; }
.np-doc--rejected { border-left-color: #b03f2d; }
.np-doc__info p { margin: 0 0 6px; font-size: .94rem; color: var(--np-muted); }
.np-doc__info .np-doc__no { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700, #8c5b2c); }
.np-doc { scroll-margin-top: 110px; }
.np-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #e8edf3; color: var(--np-navy); vertical-align: middle; }
.np-tag--opt { background: #f1f2f4; color: var(--np-muted); }
.np-state { font-weight: 600; font-size: .88rem !important; }
.np-state--approved { color: #2b7a57 !important; }
.np-state--review { color: #8a5a00 !important; }
.np-state--rejected { color: #b03f2d !important; }
.np-files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.np-file { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: .9rem; padding: 8px 10px; border-radius: 8px; background: var(--np-cream); }
.np-file small { color: var(--np-muted); }
.np-file--approved { background: #eef8f2; }
.np-file--rejected { background: #fbecea; }
.np-file a { min-width: 0; overflow-wrap: anywhere; }
.np-remove { display: inline; margin: 0 0 0 auto; }
.nevo-portal .np-file .np-remove button.np-link, .nevo-portal .np-file .np-remove button.np-link:hover { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; color: #b03f2d; cursor: pointer; font: 600 .85rem/1.4 inherit; text-decoration: underline; }
.np-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; font-size: .74rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.np-chip::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor; -webkit-mask: var(--np-icon) center / contain no-repeat; mask: var(--np-icon) center / contain no-repeat; }
.np-chip--review, .np-chip--approved { --np-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.np-chip--review { background: #e3f4ea; color: #1e6b44; }
.np-chip--approved { background: #2b7a57; color: #fff; }
.np-chip--rejected { --np-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); background: #fbecea; color: #b03f2d; }
.np-file.is-new { animation: np-new 2.4s ease-out; }
@keyframes np-new { 0%, 40% { background: #cfeedd; } 100% { background: var(--np-cream); } }
.np-upload { display: grid; gap: 10px; align-content: start; }
.np-upload__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.np-pick { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--np-navy); border-radius: 999px; background: #fff; color: var(--np-navy); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.np-pick:hover { background: var(--np-navy); color: #fff; }
.np-pick:focus-within { outline: 2px solid var(--np-gold); outline-offset: 2px; }
.np-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.np-upload .np-send { width: 100%; min-height: 46px; }
.np-upload .np-send:disabled { opacity: .45; cursor: not-allowed; }
.np-upload.is-uploading .np-pick { opacity: .45; pointer-events: none; }
.np-chosen { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.np-chosen li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--np-cream); font-size: .85rem; color: var(--np-navy); }
.np-bar__track { height: 8px; border-radius: 99px; background: #eef0f3; overflow: hidden; }
.np-bar__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b9a6f, #2b7a57); transition: width .2s; }
.np-bar__text { margin: 6px 0 0; font-size: .82rem; font-weight: 600; color: var(--np-navy); }
.np-upload__msg { margin: 0; font-size: .85rem; color: #b03f2d; }
.np-upload__hint { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--np-muted); }
.np-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.np-messages { margin-top: 32px; padding: 22px; border-radius: 16px; background: var(--np-cream); border: 1px solid var(--np-line); }
.np-messages ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.np-msg { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--np-line); }
.np-msg--team { border-left: 3px solid var(--np-gold); }
.np-msg p { margin: 6px 0 0; }
.np-msg small { color: var(--np-muted); }
.np-messages textarea { width: 100%; margin-bottom: 10px; }
.nevo-next-step { padding: 22px 24px; margin: 0 0 28px; border-radius: 16px; background: var(--cream, #fbf8f4); border: 1px solid var(--line, #e6dfd5); border-left: 4px solid var(--gold, #cb935d); }
.nevo-next-step h2 { margin-top: 0; }
@media (max-width: 760px) { .np-doc { grid-template-columns: 1fr; } }
