/* Nexo Digital brand touches inside the ORYKSA dashboard: deep teal + electric lime. */
.biz-mark { font-weight: 800; color: #C6F432; }
.pill.ds-lead { background: var(--indigo-soft); color: var(--indigo); } .pill.ds-diag { background: var(--info-bg); color: var(--info); } .pill.ds-proposal { background: #FDF2D8; color: #92590B; }
.pill.ds-negotiation { background: #FAE8FF; color: #A21CAF; } .pill.ds-won { background: var(--ok-bg); color: var(--ok); } .pill.ds-lost { background: var(--neutral-bg); color: var(--muted); }
.pill.ds-wait { background: var(--warn-bg); color: var(--warn); margin-left: 4px; }
.pill.pjs-kickoff { background: var(--indigo-soft); color: var(--indigo); } .pill.pjs-production { background: #E3F4F1; color: #0A7C6E; } .pill.pjs-review { background: #FDF2D8; color: #92590B; } .pill.pjs-ongoing { background: var(--info-bg); color: var(--info); } .pill.pjs-delivered { background: var(--neutral-bg); color: var(--muted); }
.pill-draft { background: var(--neutral-bg); color: var(--muted); } .pill-sent { background: #FDF2D8; color: #92590B; } .pill-accepted, .pill-paid, .pill-done { background: var(--ok-bg); color: var(--ok); } .pill-declined, .pill-overdue { background: var(--crit-bg); color: var(--crit); } .pill-open { background: var(--info-bg); color: var(--info); }
:root[data-theme="dark"] .pill.ds-proposal, :root[data-theme="dark"] .pill-sent, :root[data-theme="dark"] .pill.pjs-review { background: rgba(217,119,6,.18); color: #FBBF24; }
:root[data-theme="dark"] .pill.ds-negotiation { background: rgba(192,38,211,.2); color: #F0ABFC; } :root[data-theme="dark"] .pill.pjs-production, :root[data-theme="dark"] .pt-project { background: rgba(10,124,110,.25); color: #5EEAD4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.ds-proposal, :root:not([data-theme="light"]) .pill-sent, :root:not([data-theme="light"]) .pill.pjs-review { background: rgba(217,119,6,.18); color: #FBBF24; } :root:not([data-theme="light"]) .pill.ds-negotiation { background: rgba(192,38,211,.2); color: #F0ABFC; } :root:not([data-theme="light"]) .pill.pjs-production, :root:not([data-theme="light"]) .pt-project { background: rgba(10,124,110,.25); color: #5EEAD4; } }

.dl-board, .pj-board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dl-board > div, .pj-board > div, .board .lane, .ord, .ord-h, .ord-meta { min-width: 0; }
.col-h .col-v { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 12px; }
.ord { position: relative; } .ord .hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.ord .ord-f, .ord .ord-f * { position: relative; z-index: 1; } .ord.sel { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.ord .ord-h { display: flex; align-items: center; gap: 8px; } .ord .ord-h small { white-space: nowrap; flex: none; margin-left: auto; }
.ord .pill { justify-self: start; margin-left: 0; }
.who.sm { display: inline-flex; align-items: center; gap: 6px; min-width: 0; } .who.sm b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-t { font-size: 13.5px; line-height: 1.3; }
.ord-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 4px; } .svc-chips span { padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: 11px; font-weight: 600; }
.side-only { margin-top: 16px; grid-template-columns: minmax(0, 1fr) 400px; }
.pt { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; } .pt-project { background: #E3F4F1; color: #0A7C6E; } .pt-retainer { background: var(--indigo-soft); color: var(--indigo); }
.prog { position: relative; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; } .prog > span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #0A7C6E, #C6F432); }
.prog-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; } .prog-row .prog { height: 8px; }
.hbar { display: block; position: relative; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; min-width: 80px; } .hbar > span { display: block; height: 100%; border-radius: 3px; background: #0EA5E9; }
.hbar.warn > span { background: #D97706; } .hbar.over > span { background: #DC2626; }
.pj-cover { position: relative; margin: -4px -4px 4px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--panel-2); } .pj-cover img { width: 100%; height: 100%; object-fit: cover; } .pj-cover .pill { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .kv > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); min-width: 0; } .kv span { font-size: 11.5px; color: var(--muted); } .kv b { font-size: 13.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.row-link { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.row-link:hover { background: var(--hover); } .row-link small { display: block; color: var(--muted); } .row-link > span:first-child { min-width: 0; }
.doc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #E3F4F1; color: #0A7C6E; flex: none; }
:root[data-theme="dark"] .doc-ic { background: rgba(10,124,110,.25); color: #5EEAD4; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc-ic { background: rgba(10,124,110,.25); color: #5EEAD4; } }
.o-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .o-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 13px; } .o-items small { display: block; color: var(--muted); } .o-items b small { display: inline; margin-left: 2px; }
.add-line { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.add-line input, .add-line select { min-width: 0; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; }
.add-line input.bad { border-color: #DC2626; } .add-line .rec { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); } .add-line .rec input { height: auto; accent-color: #0A7C6E; }
.hours-line { grid-template-columns: 70px minmax(0, 1fr) auto; margin-top: 8px; }
.o-tot { display: grid; gap: 4px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); } .o-tot div { display: flex; justify-content: space-between; } .o-tot .g { font-size: 15px; }
.o-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: 10.5px; color: var(--muted); }
.o-steps li { display: grid; gap: 4px; text-align: center; } .o-steps i { height: 4px; border-radius: 2px; background: var(--line); } .o-steps li.on i { background: #0A7C6E; } .o-steps li.on { color: var(--fg); font-weight: 600; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-b { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.flow-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .flow-sum li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px 10px; align-items: center; font-size: 14px; }
.flow-sum i { width: 10px; height: 10px; border-radius: 50%; } .flow-sum b { font-size: 18px; } .flow-sum .bar { grid-column: 2 / -1; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; } .flow-sum .bar span { display: block; height: 100%; border-radius: 3px; }
.kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; } .kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.day.we { opacity: .55; } .crit-t { color: var(--crit) !important; }
.tg-retainer { background: #E3F4F1; color: #0A7C6E; } .tg-vip { background: #FDF2D8; color: #92590B; } .tg-new { background: var(--info-bg); color: var(--info); } .tg-risk { background: var(--crit-bg); color: var(--crit); }
.team-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.tcard { display: grid; gap: 12px; } .tc-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; } .tc-h small { display: block; color: var(--muted); font-size: 12px; }
.cap { display: grid; gap: 6px; } .cap-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); } .cap-top b { color: var(--fg); }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tc-stats span { display: grid; padding: 8px; border-radius: 10px; background: var(--panel-2); font-size: 11.5px; color: var(--muted); text-align: center; } .tc-stats b { font-size: 18px; color: var(--fg); }
.tc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .tc-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; } .tc-list .lnk { text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.closed-blk { position: absolute; left: 0; right: 0; bottom: 0; display: grid; place-items: start center; padding-top: 12px; font-size: 12px; font-weight: 600; color: var(--faint); background: repeating-linear-gradient(45deg, var(--panel-2), var(--panel-2) 8px, transparent 8px, transparent 16px); pointer-events: none; }
@media (max-width: 1360px) { .dl-board, .pj-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .side-only { grid-template-columns: minmax(0, 1fr); } .side-only > div:first-child { display: none; } }
@media (max-width: 760px) { .dl-board, .pj-board, .kpis.three { grid-template-columns: minmax(0, 1fr); } }
/* clickable records */
.tbl tr[data-act] { cursor: pointer; } .tbl tr[data-act]:focus-visible, .rec-link:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }
.rec-link { cursor: pointer; border-radius: 10px; transition: background .12s, box-shadow .15s; } .top-list li.rec-link:hover, .flow-sum li.rec-link:hover { background: var(--hover); }
.tcard.rec-link:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
