/* Hubble Klantsysteem — inloggen, taakdetail, agenda, bestanden, diensten, doelen, rechten */

.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 14px; justify-content: center; }
.btn:disabled { opacity: .55; cursor: default; }
.icon-btn:disabled { opacity: .3; cursor: default; background: none; }
.hint { align-items: flex-start; }
.hint > span { flex: 1; }
.hint .ic { margin-top: 2px; }
.f-label { font-size: 12.5px; font-weight: 600; margin: 16px 0 8px; }

/* ---------- inloggen ---------- */
body.is-login .app { grid-template-columns: 1fr; }
body.is-login .sidebar { display: none; }
body.is-login .view { max-width: none; padding: 0; }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 7vw, 96px); max-width: 620px; width: 100%; margin: 0 auto; }
.login-logo { width: 150px; margin-bottom: 48px; }
.login-card h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1.05; }
.login-card > p { font-size: 16px; margin: 10px 0 26px; }
.login-users { display: flex; flex-direction: column; gap: 10px; }
.login-user { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; border-radius: 16px; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; }
.login-user:hover { border-color: var(--orange); transform: translateX(3px); box-shadow: var(--shadow); }
.login-user .avatar { width: 42px; height: 42px; font-size: 14px; }
.login-user > span:not(.avatar) { flex: 1; display: flex; flex-direction: column; }
.login-user small { color: var(--muted); font-size: 12.5px; }
.login-user > .ic { color: var(--orange); }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-error { color: #B7410E; font-weight: 600; font-size: 13.5px; margin: 0; min-height: 1em; }
.login-art { background: var(--ink); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.login-art img { position: absolute; right: -8%; top: 10%; width: 78%; max-width: 560px; }
.login-tag { font: 700 clamp(34px, 3.6vw, 56px)/1.05 var(--heading); margin: 0; position: relative; }
.login-sub { color: #B9B4AA; margin: 10px 0 0; position: relative; }

/* ---------- navigatie ---------- */
.nav-more { display: none; }
.me > .ic { margin-left: auto; color: #8F8A80; }
.me > span:not(.avatar) { flex: 1; min-width: 0; }

/* ---------- taken ---------- */
.task-title { display: block; text-align: left; width: 100%; padding: 0; }
.task-title:hover { color: var(--orange-d); }
.meta-ic { display: inline-flex; align-items: center; gap: 3px; color: var(--muted-2); }
.meta-ic.is-full { color: var(--green); }
.day-sugg { display: flex; gap: 12px; align-items: flex-start; background: var(--orange-50); border: 1px solid var(--orange-100); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: 13.5px; }
.day-sugg > .ic { color: var(--orange-d); margin-top: 2px; }
.day-sugg div { display: flex; flex-direction: column; gap: 4px; }
.day-sugg .link { margin-left: 6px; }

/* taakdetail */
.task-head { align-items: flex-start; }
.task-head > div { flex: 1; min-width: 0; }
.task-head .eyebrow { margin-bottom: 4px; }
.title-input { width: 100%; font: 700 22px var(--heading); border: 1px solid transparent; border-radius: 10px; padding: 4px 8px; margin-left: -8px; background: transparent; }
.title-input:hover { background: var(--paper); }
.title-input:focus { outline: 0; border-color: var(--orange); background: #fff; }
.td-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--sand); margin-bottom: 14px; }
.td-status .ic { width: 16px; }
.td-status.is-done { background: var(--green-50); color: var(--green); }
.td-status.is-late { background: var(--orange-50); color: var(--orange-d); }
.td-grid { margin-bottom: 14px; }
.cl { margin-top: 16px; }
.cl-head { display: flex; align-items: baseline; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.cl-head small { color: var(--muted); }
.cl-rows { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.cl-row { display: flex; align-items: center; gap: 8px; }
.cl-row input[name=cd] { width: 18px; height: 18px; accent-color: var(--orange); }
.cl-row input[name=ci] { flex: 1; height: 36px; border: 1px solid transparent; border-radius: 9px; padding: 0 10px; background: var(--paper); }
.cl-row input[name=ci]:focus { outline: 0; border-color: var(--orange); background: #fff; }
.cl-row:has(input[name=cd]:checked) input[name=ci] { text-decoration: line-through; color: var(--muted-2); }

/* ---------- agenda ---------- */
.cal-card { border-color: var(--orange-100); background: linear-gradient(180deg, var(--orange-50), #fff 60%); }
.cal-card h2 { display: flex; align-items: center; gap: 8px; }
.cal-card h2 .ic { color: var(--orange-d); }
.sugg { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.sugg + .sugg { border-top: 1px solid #F3E6DD; }
.sugg-date { width: 42px; height: 46px; flex: none; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.sugg-date b { font: 700 18px var(--heading); }
.sugg-date small { font-size: 10.5px; color: var(--orange-d); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.sugg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sugg-main b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg-main small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.sugg-main small .ic { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.sugg .icon-btn { width: 30px; height: 30px; flex: none; }
.sugg .sugg-add { background: var(--ink); color: #fff; }
.sugg .sugg-add:hover { background: var(--orange); color: var(--ink); }
.sugg .sugg-add .ic { width: 16px; }

/* ---------- bestanden ---------- */
.dropzone { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--sand-2); border-radius: 14px; padding: 16px; background: var(--paper); transition: border-color .15s, background .15s; flex-wrap: wrap; }
.dropzone > .ic { width: 26px; height: 26px; color: var(--orange); }
.dropzone > span { flex: 1; min-width: 200px; font-size: 13.5px; }
.dropzone > span small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.dropzone .link { font-size: 13.5px; }
.dropzone select { height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 0 10px; font-size: 13px; }
.dropzone.is-over { border-color: var(--orange); background: var(--orange-50); }
.file-list { display: flex; flex-direction: column; margin-top: 8px; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }
.file-row + .file-row { border-top: 1px solid #F1ECE2; }
.file-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; color: var(--muted); flex: none; }
.file-ic.is-pdf { background: #FBE7E0; color: #B7410E; }
.file-ic.is-img { background: #E6EEF3; color: #2F6F8F; }
.file-main { flex: 1; min-width: 0; text-align: left; display: flex; flex-direction: column; }
.file-main b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-main:hover b { color: var(--orange-d); }
.file-main small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 2px; flex-wrap: wrap; }
.modal-xl { width: min(1000px, 100%); }
.file-preview { padding: 0 24px 20px; }
.file-preview-img { max-width: 100%; max-height: 70vh; display: block; margin: 0 auto; border-radius: 12px; }
.file-preview-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; }

/* ---------- deal ---------- */
.deal-lines { list-style: none; margin: 8px 0 0; padding: 0; position: relative; z-index: 1; }
.deal-lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #34322E; }
.deal-lines li span { display: flex; flex-direction: column; }
.deal-lines li:first-child span { padding-right: 70px; }
.deal-lines b { font: 700 16px var(--heading); }
.deal-lines small { color: #9D988E; font-size: 12px; }
.deal-lines em { font-style: normal; font-weight: 600; white-space: nowrap; }
.deal-totals { margin-top: 10px; }
.deal-price-sm { font-size: 22px; margin-top: 0; }
.stepper-static { font: 700 22px var(--heading); }
.line-head, .line-row { display: grid; grid-template-columns: 1.3fr 1.4fr 70px 110px 110px 34px; gap: 8px; align-items: center; }
.line-head { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.line-head:has(+ .line-rows .no-fin), .line-row.no-fin { grid-template-columns: 1.3fr 1.4fr 70px 110px 34px; }
.line-rows { display: flex; flex-direction: column; gap: 8px; }
.line-row input, .line-row select { height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--paper); font-size: 13.5px; min-width: 0; width: 100%; }
.line-row .euro input { padding-left: 24px; }
.line-row .rec-n input { width: 44px; }
.line-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 16px; flex-wrap: wrap; }
.deal-sum { font-size: 13.5px; }
.deal-sum b { font-family: var(--heading); font-size: 16px; }
.deal-sum small { color: var(--muted); }
.member-checks { display: flex; flex-direction: column; gap: 8px; }
.member-checks .check-f { gap: 10px; }

/* ---------- leads ---------- */
.lead-explain { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin: 10px 0 0; padding: 0 4px; }
.lead-explain .ic { color: var(--orange-d); flex: none; margin-top: 2px; width: 16px; }
.lead-explain b { color: var(--ink); }
.lead-log { margin-top: 14px; font-size: 13px; }
.lead-log summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.lead-log p { margin: 6px 0 0; }
.lead-log small { color: var(--muted-2); }
.flow li b .tag { margin-left: 6px; vertical-align: middle; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--muted); }
.chip-btn .ic { width: 15px; }
.chip-btn small { color: var(--muted-2); font-weight: 500; }
.chip-btn:hover { border-color: #D6CEBE; color: var(--ink); }
.chip-btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-btn.is-on small { color: #B9B4AA; }
.chip-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

/* ---------- instellingen: team & rechten ---------- */
.team-table { display: flex; flex-direction: column; }
.team-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.team-line + .team-line { border-top: 1px solid #F1ECE2; }
.team-name { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.team-name small { color: var(--muted); font-size: 12px; }
.team-line select { height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--paper); font-weight: 600; font-size: 13px; }
.table-scroll { overflow-x: auto; margin: 10px -20px -20px; }
.perm-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.perm-table th, .perm-table td { padding: 12px 16px; border-top: 1px solid #F1ECE2; text-align: center; font-size: 13.5px; vertical-align: middle; }
.perm-table th { font-weight: 600; border-top: 0; background: var(--paper); }
.perm-table th small, .perm-table td small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.perm-table th .link { font-size: 11.5px; }
.perm-table td:first-child, .perm-table th:first-child { text-align: left; }
.toggle-only { margin: 0; }
.toggle input:disabled + span { opacity: .55; }

/* ---------- diensten ---------- */
.svc-group { margin-bottom: 26px; }
.svc-group-title { font-size: 13px; font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-d); margin: 0 0 12px 2px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; align-items: stretch; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-cat, .svc-badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--sand); }
.svc-badge { background: var(--orange); color: var(--ink); }
.svc h3 { font-size: 21px; line-height: 1.2; }
.svc-desc { margin: 0; color: var(--muted); font-size: 13.5px; }
.svc-price { font: 700 32px/1.1 var(--heading); color: var(--orange); letter-spacing: -.02em; }
.svc-price small { display: block; font: 500 12px var(--body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.svc-price-hidden { display: flex; align-items: center; gap: 8px; color: var(--muted-2); }
.svc-price-hidden small { margin: 0; }
.svc-inc { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; flex: 1; }
.svc-inc li { display: flex; gap: 10px; align-items: baseline; }
.svc-inc li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; transform: translateY(-1px); }
.svc-foot { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.svc-foot span { display: flex; align-items: center; gap: 5px; }
.svc-foot .ic { width: 14px; }
.svc-foot .icon-btn { margin-left: auto; }
.svc-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-featured .svc-cat { background: #2C2B28; color: #D9D4CA; }
.svc-featured .svc-desc, .svc-featured .svc-price small, .svc-featured .svc-foot { color: #B9B4AA; }
.svc-featured .svc-inc, .svc-featured .svc-foot { border-color: #34322E; }
.svc-featured .icon-btn { color: #B9B4AA; }
.svc-featured .icon-btn:hover { background: #2C2B28; color: #fff; }
.svc-add { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border: 2px dashed var(--sand-2); border-radius: 18px; color: var(--muted); text-align: left; }
.svc-add > .ic { width: 26px; height: 26px; color: var(--orange); }
.svc-add span { display: flex; flex-direction: column; }
.svc-add b { color: var(--ink); }
.svc-add small { font-size: 12.5px; }
.svc-add:hover { border-color: var(--orange); }
.stask-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.stask-row { display: grid; grid-template-columns: 1fr 96px 120px 34px; gap: 8px; align-items: center; }
.stask-row input, .stask-row select { height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--paper); font-size: 13.5px; min-width: 0; }

/* ---------- doelen ---------- */
.goals-banner { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 26px; padding: 36px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-bottom: 20px; }
.goals-banner::before { content: ''; position: absolute; inset: 0; background: url(../assets/bb-patroon.svg) center/420px; opacity: .07; }
.goals-banner > * { position: relative; }
.gb-text .eyebrow { color: var(--orange); }
.gb-text h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: .98; letter-spacing: -.02em; }
.gb-text p { color: #B9B4AA; max-width: 420px; margin: 14px 0 20px; }
.gb-stats { background: #232220; border: 1px solid #2F2D2A; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.gb-stat { display: flex; align-items: center; gap: 16px; }
.gb-stat span { display: flex; flex-direction: column; }
.gb-stat b { font: 700 34px/1 var(--heading); }
.gb-stat small, .gb-grid small { color: #9D988E; font-size: 12px; }
.gb-stats .ring-bg { stroke: #34322E; }
.gb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gb-grid div { display: flex; flex-direction: column; }
.gb-grid b { font: 700 24px var(--heading); }
.gb-year { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #9D988E; }
.gb-year .bar { background: #34322E; }
.goal-hero { position: relative; display: flex; align-items: center; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; margin-bottom: 20px; box-shadow: var(--shadow); overflow: hidden; }
.goal-hero::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--accent); opacity: .08; pointer-events: none; }
.gh-ring { position: relative; flex: none; }
.gh-ring .ring-fg { stroke: var(--accent); }
.gh-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gh-ring b { font: 700 38px/1 var(--heading); }
.gh-ring small { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.gh-main { flex: 1; min-width: 0; }
.gh-main .eyebrow { display: flex; align-items: center; gap: 6px; }
.gh-main .eyebrow .ic { width: 14px; fill: var(--orange); }
.gh-main h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; padding-right: 30px; }
.gh-why { color: var(--muted); font-style: italic; margin: 8px 0 0; font-size: 15px; }
.gh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.gh-stats div { background: var(--paper); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.gh-stats small { color: var(--muted); font-size: 11.5px; }
.gh-stats b { font: 700 17px var(--heading); }
.gh-edit { position: absolute; top: 14px; right: 14px; }
.goal-filters { margin-bottom: 16px; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.goal-card { --accent: var(--orange); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.goal-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent); }
.goal-card.st-behaald { background: linear-gradient(160deg, #fff 55%, var(--orange-50)); }
.goal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.goal-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.goal-cat .ic { width: 15px; }
.goal-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--sand); color: var(--muted); }
.goal-status .ic { width: 13px; stroke-width: 3; }
.st-koers .goal-status, .st-voor .goal-status { background: var(--green-50); color: var(--green); }
.st-let .goal-status { background: #FFF4DA; color: #946B00; }
.st-achter .goal-status, .st-gemist .goal-status { background: var(--orange-50); color: var(--orange-d); }
.st-behaald .goal-status { background: var(--accent); color: #fff; }
.goal-title { font-size: 19px; line-height: 1.2; }
.goal-why { margin: -4px 0 0; color: var(--muted); font-size: 13px; }
.goal-num { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.goal-num b { font: 700 30px/1 var(--heading); letter-spacing: -.02em; }
.goal-num span { color: var(--muted); font-size: 13px; }
.goal-track { position: relative; height: 12px; border-radius: 99px; background: var(--sand); }
.goal-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--accent); transition: width .6s ease; }
.goal-exp { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); opacity: .55; }
.goal-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.goal-meta b { font: 700 15px var(--heading); color: var(--ink); }
.goal-meta span:not(.avatar) { flex: 1; }
.spark { color: var(--accent); }
.milestones { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.milestones label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.milestones input { width: 18px; height: 18px; accent-color: var(--accent); }
.milestones input:checked + span { text-decoration: line-through; color: var(--muted-2); }
.goal-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.goal-auto { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.goal-auto .ic { width: 14px; color: var(--accent); }
.goal-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 230px; border: 2px dashed var(--sand-2); border-radius: 20px; color: var(--muted); padding: 20px; text-align: center; }
.goal-add .ic { width: 30px; height: 30px; color: var(--orange); }
.goal-add b { color: var(--ink); font-family: var(--heading); font-size: 17px; }
.goal-add span { font-size: 13px; max-width: 220px; }
.goal-add:hover { border-color: var(--orange); }
.goal-mini-list { display: flex; flex-direction: column; }
.goal-mini { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.goal-mini + .goal-mini { border-top: 1px solid #F1ECE2; }
.goal-mini-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.goal-mini-ic .ic { width: 17px; }
.goal-mini-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.goal-mini-main b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goal-mini-pct { font: 700 16px var(--heading); text-align: right; display: flex; flex-direction: column; min-width: 78px; }
.goal-mini-pct small { font: 500 11.5px var(--body); color: var(--muted); }
.goal-mini:hover b { color: var(--orange-d); }
.goal-mini-ic.accent-oranje { background: #FF682C; } .goal-mini-ic.accent-inkt { background: #191919; } .goal-mini-ic.accent-groen { background: #2F7A55; }
.goal-mini-ic.accent-blauw { background: #2F6F8F; } .goal-mini-ic.accent-goud { background: #C9962B; } .goal-mini-ic.accent-paars { background: #6C4F9A; }
.swatches { display: flex; gap: 10px; margin-bottom: 16px; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px #fff; transition: box-shadow .15s; }
.swatches input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatches input:focus-visible + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange); }
.seg-3 label { flex: 1; }
.period-presets { margin-bottom: 10px; }
.big-input { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.big-input input { width: 140px; height: 58px; text-align: center; font: 700 30px var(--heading); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.big-input input:focus { outline: 0; border-color: var(--orange); background: #fff; }
.big-input .icon-btn { width: 44px; height: 44px; background: var(--sand); color: var(--ink); font-size: 22px; }
.big-input span { color: var(--muted); }
.hist { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.hist span { display: flex; flex-direction: column; background: var(--paper); border-radius: 10px; padding: 8px 12px; font-size: 11.5px; color: var(--muted); }
.hist b { font: 700 16px var(--heading); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .goals-banner { grid-template-columns: 1fr; }
  .goal-hero { flex-direction: column; align-items: flex-start; }
  .gh-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .nav-item:nth-child(n+5) { display: none; }
  .nav .nav-more { display: flex; }
  .line-head { display: none; }
  .line-row, .line-row.no-fin { grid-template-columns: 1fr 1fr; background: var(--paper); padding: 8px; border-radius: 12px; }
  .line-row input, .line-row select { background: #fff; }
  .stask-row { grid-template-columns: 1fr 1fr; }
  .stask-row input[name=st] { grid-column: 1 / -1; }
  .goals-banner { padding: 26px 22px; border-radius: 20px; }
  .gb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-line { flex-wrap: wrap; }
  .team-line select { order: 5; width: 100%; }
}

/* ---------- formulieren: nette marges, geen horizontaal scrollen ---------- */
[hidden] { display: none !important; }
.modal-body { overflow-x: hidden; }
.grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.grid-2 > .f-span, .grid-2 > .check-f { align-self: stretch; }
/* label + toelichting op één regel, het invulveld eronder over de volle breedte */
.f { flex-direction: row; flex-wrap: wrap; align-items: baseline; align-content: flex-end; column-gap: 5px; row-gap: 6px; }
.f > input, .f > select, .f > textarea, .f > .euro { flex: 1 0 100%; width: 100%; min-width: 0; }
.f select { padding-right: 30px; text-overflow: ellipsis; }
.son-input { margin-top: 2px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* dealkaart: beeldmerk rechtsonder zodat het niet over de regels valt */
.deal-card::after { top: auto; bottom: -46px; right: -36px; width: 140px; height: 140px; opacity: .22; }
.deal-card > * { position: relative; z-index: 1; }
.deal-lines li:first-child span { padding-right: 0; }

/* ---------- ongedaan maken ---------- */
.undo-btn:disabled { opacity: .45; cursor: default; }
.undo-btn:not(:disabled):hover { color: #fff; }
.undo-btn:not(:disabled) .ic { color: var(--orange); }
.removed-link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; margin-bottom: 16px; border-radius: 12px; background: var(--sand); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; }
.removed-link:hover { color: var(--ink); }
.removed-link .ic { width: 15px; }
.task-title-static { font-weight: 550; }

/* ---------- taakdetail ---------- */
.td-fields { margin: 0; min-width: 0; }
.renamed { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.all-months { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.title-input[readonly] { cursor: default; }
.title-input[readonly]:hover { background: transparent; }

/* ---------- feestje bij afvinken ---------- */
.burst { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 95; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; animation: burst .8s cubic-bezier(.2, .7, .3, 1) forwards; }
.burst i:nth-child(3n) { border-radius: 50%; }
@keyframes burst {
  0% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--x), calc(var(--y) + 40px)) rotate(var(--r)) scale(.6); opacity: 0; }
}

/* ---------- pijplijn: conversie ---------- */
.conv-stat { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px 6px 8px; box-shadow: var(--shadow); }
.conv-stat span { display: flex; flex-direction: column; line-height: 1.2; }
.conv-stat b { font: 700 20px var(--heading); }
.conv-stat small { color: var(--muted); font-size: 12px; }
.flow-explain p em { font-style: normal; font-weight: 700; color: var(--ink); }
.modal-foot .select-pill { height: 40px; }
.search-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- leadlijst ---------- */
.kind-prospect { color: #2B5588; }
.p-table { width: 100%; border-collapse: collapse; min-width: 880px; font-size: 13.5px; }
.p-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.p-table td { padding: 10px 12px; border-bottom: 1px solid #F1ECE2; vertical-align: middle; }
.p-table tr:last-child td { border-bottom: 0; }
.p-table tr:hover td { background: #FCFAF6; }
.p-table tr.is-late td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.p-name { text-align: left; display: flex; flex-direction: column; }
.p-name b { font-size: 14.5px; }
.p-name:hover b { color: var(--orange-d); }
.p-name small { color: var(--muted); font-size: 12px; }
.p-tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.p-contact { white-space: nowrap; }
.p-contact .icon-btn { width: 30px; height: 30px; }
.p-contact .ic { width: 16px; }
.p-pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--sand); color: var(--muted); white-space: nowrap; }
.p-benaderd { background: #E7EEF7; color: #2B5588; }
.p-interesse { background: var(--orange-50); color: var(--orange-d); }
.p-afspraak { background: var(--green-50); color: var(--green); }
.p-later { background: #FFF4DA; color: #946B00; }
.p-afgevallen { background: var(--sand); color: var(--muted-2); text-decoration: line-through; }
.p-miss { display: block; color: var(--orange-d); font-size: 11px; margin-top: 2px; }
.warmth { display: inline-flex; gap: 3px; align-items: center; }
.warmth button, .warmth i { width: 10px; height: 14px; border-radius: 3px; background: var(--sand-2); display: inline-block; padding: 0; }
.warmth button:hover { outline: 2px solid var(--orange-100); }
.w-koud .on { background: #7FA3C9; }
.w-lauw .on { background: #C9962B; }
.w-warm .on { background: #E0561C; }
.w-heet .on { background: #B7410E; }
.p-score { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 8px; font: 700 12.5px var(--heading); }
.p-score.hi { background: var(--green-50); color: var(--green); }
.p-score.mid { background: #FFF4DA; color: #946B00; }
.p-score.lo { background: var(--sand); color: var(--muted); }
.p-next { display: flex; flex-direction: column; text-align: left; padding: 4px 8px; margin: -4px -8px; border-radius: 8px; }
.p-next:hover { background: var(--paper); }
.p-next b { font-size: 13px; }
.p-next small { font-size: 12px; color: var(--muted); }
.p-next.today small { color: var(--ink); font-weight: 700; }
.p-next.late small { color: #B7410E; font-weight: 700; }
.p-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 14px; }
.p-steps button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 13px; color: var(--muted); }
.p-steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-2); font: 700 12px var(--heading); font-style: normal; flex: none; }
.p-steps i .ic { width: 13px; stroke-width: 3; }
.p-steps .done { color: var(--ink); }
.p-steps .done i { background: var(--ink); color: #fff; }
.p-steps .now { background: var(--orange-50); color: var(--ink); }
.p-steps .now i { background: var(--orange); color: var(--ink); }
.p-steps button:hover { outline: 2px solid var(--orange-100); }
.p-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.p-facts div { background: var(--paper); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.p-facts small { color: var(--muted); font-size: 11.5px; }
.p-facts b { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.p-plan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.p-plan > span { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-right: auto; }
.p-plan > span .ic { color: var(--orange-d); width: 16px; }
.p-plan select, .p-plan input { height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; background: var(--paper); font-size: 13px; }
.p-log-btn { width: 100%; margin-bottom: 14px; }
.p-timeline { margin-top: 8px; }
.p-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.p-outcomes input { position: absolute; opacity: 0; }
.p-outcomes span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 13px; cursor: pointer; height: 100%; }
.p-outcomes span .ic { width: 16px; color: var(--muted); flex: none; }
.p-outcomes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-outcomes input:checked + span .ic { color: var(--orange); }
.p-outcomes input:focus-visible + span { outline: 2.5px solid var(--orange); }
.p-outcomes label:nth-child(5) input:checked + span { background: var(--green); border-color: var(--green); }
.p-dup { margin: -4px 0 0; font-size: 12.5px; color: var(--orange-d); display: flex; gap: 6px; align-items: center; }
.p-dup:empty { display: none; }
.p-dup .ic { width: 14px; }
.hint-warn { background: #FFF4DA; }
.hint-warn .ic { color: #946B00; }
.session-bar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--ink); color: #fff; font-size: 13px; }
.session-bar > span { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.session-bar > span .ic { color: var(--orange); width: 16px; }
.session-bar .bar { flex: 1; background: #34322E; }
@media (max-width: 860px) {
  .p-steps { grid-template-columns: 1fr 1fr; }
  .p-facts { grid-template-columns: 1fr 1fr; }
  .p-outcomes { grid-template-columns: 1fr; }
}
.p-facts .p-score, .p-facts .warmth { align-self: flex-start; }

/* ---------- leadlijst: uitbreidingen ---------- */
.page-actions .seg button { display: inline-flex; align-items: center; gap: 6px; }
.page-actions .seg .ic { width: 15px; }
.p-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-bottom: 16px; align-items: stretch; }
.p-me { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 20px 10px 12px; }
.p-me .ring-bg { stroke: #34322E; }
.p-me div { display: flex; flex-direction: column; }
.p-me small { color: #9D988E; font-size: 12px; }
.p-me b { font: 700 26px var(--heading); line-height: 1.1; }
.p-me b span { font-size: 15px; color: #9D988E; }
.p-me em { font-style: normal; font-size: 12px; color: #B9B4AA; display: flex; align-items: center; gap: 4px; }
.p-me em .ic { width: 13px; color: var(--orange); }
.p-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.p-smart { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; }
.smart-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13px; white-space: nowrap; color: var(--ink); }
.smart-chip .ic { width: 15px; color: var(--orange-d); }
.smart-chip b { background: var(--sand); border-radius: 99px; padding: 1px 7px; font-size: 11.5px; }
.smart-chip.is-empty { color: var(--muted-2); }
.smart-chip.is-empty .ic { color: var(--muted-2); }
.smart-chip:hover { border-color: var(--orange); }
.smart-chip.is-on { background: var(--orange); border-color: var(--orange); }
.smart-chip.is-on .ic { color: var(--ink); }
.smart-chip.is-on b { background: rgba(255, 255, 255, .5); }
.p-quick { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; margin-bottom: 12px; box-shadow: var(--shadow); flex-wrap: wrap; }
.p-quick:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.p-quick > .ic { color: var(--orange); }
.p-quick input { border: 0; outline: 0; background: none; height: 34px; min-width: 110px; }
.p-quick input[name=company] { flex: 1.4; min-width: 180px; }
.p-quick input:not([name=company]) { flex: 1; border-left: 1px solid var(--line); padding-left: 10px; }
.p-quick select { border: 0; background: var(--sand); border-radius: 9px; height: 34px; padding: 0 10px; font-size: 13px; }
.p-cb { width: 36px; padding-right: 0 !important; }
.p-cb input { width: 17px; height: 17px; accent-color: var(--orange); }
.p-table tr.is-sel td { background: var(--orange-50); }
.p-lc { color: var(--muted-2) !important; font-size: 11px !important; }
.p-count { margin: 10px 2px 0; }
.seq-chip { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 11px; font-weight: 700; color: #2B5588; background: #E7EEF7; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.seq-chip .ic { width: 11px; height: 11px; }
.seq-chip.stopped { background: var(--sand); color: var(--muted); }
.p-klant { background: var(--orange); color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.p-klant .ic { width: 12px; }

.bulk-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 16px; padding: 8px 10px 8px 18px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); animation: rise .2s ease; }
.bulk-bar b { margin-right: 8px; font-size: 13.5px; }
.bulk-bar .btn { background: #2C2B28; border-color: #3A3834; color: #fff; }
.bulk-bar .btn:hover { background: #3A3834; box-shadow: none; }
.bulk-bar .btn-danger-ghost { color: #FF9C75; }
.bulk-bar .icon-btn { color: #B9B4AA; }
.bulk-bar .icon-btn:hover { background: #2C2B28; color: #fff; }

.p-board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.p-col { background: var(--sand); border-radius: var(--r); padding: 10px; min-height: 260px; transition: background .15s, box-shadow .15s; }
.p-col.is-over { background: var(--orange-50); box-shadow: inset 0 0 0 2px var(--orange); }
.p-col h3 { display: flex; justify-content: space-between; font-size: 14px; margin: 4px 4px 10px; }
.p-col h3 span { background: #fff; border-radius: 99px; padding: 1px 9px; font-size: 12px; }
.p-col-body { display: flex; flex-direction: column; gap: 8px; }
.p-card { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(25, 25, 25, .06); display: flex; flex-direction: column; gap: 8px; cursor: grab; border: 1px solid transparent; }
.p-card:hover { box-shadow: 0 8px 20px rgba(25, 25, 25, .1); }
.p-card.is-drag { opacity: .45; }
.p-card.is-late { border-color: var(--orange-100); }
.p-card-main { text-align: left; display: flex; flex-direction: column; }
.p-card-main b { font-family: var(--heading); font-size: 14.5px; }
.p-card-main small { color: var(--muted); font-size: 12px; }
.p-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.p-card-meta .avatar { margin-left: auto; }
.p-card-meta .seq-chip { margin-left: 0; }
.p-card-next { display: flex; align-items: center; gap: 5px; font-size: 12px; background: var(--paper); border-radius: 8px; padding: 5px 8px; text-align: left; color: var(--muted); }
.p-card-next .ic { width: 13px; }
.p-card-next.today { color: var(--ink); font-weight: 700; }
.p-card-next.late { background: var(--orange-50); color: var(--orange-d); font-weight: 700; }

.p-seq { background: var(--paper); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.p-seq-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13.5px; }
.p-seq-head b { display: flex; align-items: center; gap: 6px; }
.p-seq-head b .ic { width: 15px; color: var(--orange-d); }
.p-seq-head select { margin-left: auto; height: 32px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 0 8px; font-size: 12.5px; }
.p-seq-head .link { margin-left: auto; }
.seq-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.seq-steps li { flex: 1; min-width: 110px; display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 8px 10px; border: 1px solid var(--line); }
.seq-steps i { width: 22px; height: 22px; border-radius: 50%; background: var(--sand-2); display: grid; place-items: center; font: 700 11px var(--heading); font-style: normal; flex: none; }
.seq-steps i .ic { width: 12px; stroke-width: 3; }
.seq-steps span { display: flex; flex-direction: column; font-size: 12.5px; }
.seq-steps small { color: var(--muted); font-size: 11px; }
.seq-steps .done { opacity: .65; }
.seq-steps .done i { background: var(--ink); color: #fff; }
.seq-steps .now { border-color: var(--orange); background: var(--orange-50); }
.seq-steps .now i { background: var(--orange); }
.p-msgs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px; }
.hint-good { background: var(--orange-50); }
.hint-good .ic { color: var(--orange-d); }
.p-script { margin: 0 0 10px; background: #FFFBF3; border: 1px solid #F2E6C9; border-radius: 12px; padding: 8px 12px; }
.p-script summary { cursor: pointer; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.p-script summary .ic { width: 15px; color: #946B00; }
.p-script pre { white-space: pre-wrap; font: 400 13px/1.55 var(--body); margin: 8px 0 2px; }
.p-outcomes kbd { margin-left: auto; background: var(--sand); color: var(--muted); font-size: 10px; }
.p-outcomes input:checked + span kbd { background: #34322E; color: #D9D4CA; }
.modal-foot kbd { background: rgba(0, 0, 0, .08); color: inherit; font-size: 10px; margin-left: 4px; }
.session-bar small { color: #9D988E; white-space: nowrap; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.session-pick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.session-pick label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.session-pick label.is-empty { opacity: .45; cursor: default; }
.session-pick input { accent-color: var(--orange); width: 18px; height: 18px; }
.session-pick span { flex: 1; display: flex; flex-direction: column; }
.session-pick small { color: var(--muted); font-size: 12px; }
.session-pick em { font: 700 20px var(--heading); font-style: normal; }
.session-pick label:has(input:checked) { border-color: var(--orange); background: var(--orange-50); }
.modal-tabs { padding: 0 24px; margin-bottom: 0; }
.tpl-edit { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; }
.tpl-edit summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tpl-edit summary .ic { width: 16px; color: var(--orange-d); }
.tpl-edit[open] summary { margin-bottom: 10px; }
.tpl-edit textarea { font-family: var(--body); }
code { background: var(--sand); border-radius: 5px; padding: 1px 5px; font-size: 12px; }
.seq-rows { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.seq-row { display: grid; grid-template-columns: 110px 1fr 1fr 34px; gap: 8px; align-items: center; }
.seq-row label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.seq-row input, .seq-row select { height: 36px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; background: var(--paper); font-size: 13px; min-width: 0; width: 100%; }
.seq-row input { width: 60px; }
.paste-area { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--paper); font: 400 13px/1.5 ui-monospace, Consolas, monospace; resize: vertical; }
.paste-area:focus { outline: 0; border-color: var(--orange); background: #fff; }

.leaderboard { display: flex; flex-direction: column; }
.lb-row { display: grid; grid-template-columns: 26px 36px minmax(0, 1.2fr) minmax(0, 1fr) 64px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #F1ECE2; }
.lb-row:first-child { border-top: 0; }
.lb-rank { font: 700 14px var(--heading); color: var(--muted); text-align: center; }
.lb-rank .ic { width: 20px; height: 20px; color: var(--orange); fill: var(--orange); }
.lb-name { display: flex; flex-direction: column; min-width: 0; }
.lb-name small { color: var(--muted); font-size: 11.5px; }
.lb-bar { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.lb-bar i { display: block; height: 100%; background: #3569A8; border-radius: 99px; }
.lb-row.is-first .lb-bar i { background: var(--orange); }
.lb-num { font: 700 18px var(--heading); text-align: right; }
.lb-num small { font-size: 12px; color: var(--muted); }
.p-funnel { display: flex; flex-direction: column; gap: 6px; }
.pf-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 40px 40px; gap: 10px; align-items: center; font-size: 13px; }
.pf-bar { height: 22px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: #3569A8; border-radius: 6px; }
.pf-row:last-child .pf-bar i { background: var(--orange); }
.pf-row b { font-family: var(--heading); text-align: right; }
.pf-row small { color: var(--muted); text-align: right; }
.chart .wk-bar { fill: #3569A8; }
.chart .wk-bar.cur { fill: var(--orange); }
.chart .goal-line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .5; }
.hour-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 6px; }
.hb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; outline: none; }
.hb i { width: 100%; background: #9FB6D6; border-radius: 4px 4px 0 0; }
.hb.best i { background: var(--orange); }
.hb small { font-size: 10.5px; color: var(--muted); margin-top: 4px; }

@media (max-width: 1100px) { .p-top { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .p-minis { grid-template-columns: 1fr 1fr; }
  .p-board { grid-template-columns: repeat(5, 78vw); }
  .seq-row { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .lb-row { grid-template-columns: 22px 32px minmax(0, 1fr) 54px; }
  .lb-bar { display: none; }
  .bulk-bar { bottom: 84px; }
}
.page-head .page-actions { flex-wrap: wrap; justify-content: flex-end; }
.page-head > div:first-child { flex: 1 1 auto; }
