/* 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-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-remove { display: inline; margin: 0 0 0 auto; }
.np-link { background: none; border: 0; padding: 0; color: #b03f2d; cursor: pointer; font-size: .85rem; text-decoration: underline; }
.np-upload { display: grid; gap: 10px; align-content: start; }
.np-drop { position: relative; display: grid; gap: 4px; text-align: center; padding: 18px 12px; border: 1.5px dashed #cdbfae; border-radius: 12px; background: var(--np-cream); cursor: pointer; transition: border-color .2s, background .2s; }
.np-drop:hover, .np-drop.is-drag { border-color: var(--np-gold); background: #f7eee4; }
.np-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.np-drop__text { font-weight: 600; font-size: .92rem; color: var(--np-navy); }
.np-drop__hint { font-size: .76rem; color: var(--np-muted); }
.np-upload .button { width: 100%; }
.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; } }
