:root { --turq:#86C7C3; --turq-dark:#5aa6a1; --grey:#333; --line:#dcdcdc; --bg:#f6f7f7; --err:#b3261e; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--grey); background:var(--bg); }
header { background:var(--grey); color:#fff; display:flex; align-items:center; gap:20px; padding:0 20px; height:52px; }
header .brand { font-weight:700; letter-spacing:.08em; color:var(--turq); text-decoration:none; font-size:20px; }
header nav { display:flex; gap:4px; flex:1; }
header nav a { color:#fff; text-decoration:none; padding:8px 12px; border-radius:4px; font-size:14px; }
header nav a:hover, header nav a.on { background:rgba(255,255,255,.14); }
header .who { font-size:13px; opacity:.9; }
header button { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.4); }
main { max-width:960px; margin:28px auto; padding:0 20px; }
h1 { font-size:22px; margin:0 0 16px; }
h2 { font-size:16px; margin:24px 0 10px; }
.card { background:#fff; border:1px solid var(--line); border-radius:6px; padding:20px; margin-bottom:20px; }
.center { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; }
.center .card { width:100%; max-width:380px; }
.logo { font-weight:700; letter-spacing:.1em; color:var(--turq-dark); font-size:28px; margin-bottom:4px; }
label { display:block; font-size:13px; margin:12px 0 4px; }
input, select, textarea { width:100%; padding:9px 10px; border:1px solid #bbb; border-radius:4px; font:inherit; background:#fff; }
textarea { box-sizing:border-box; resize:vertical; line-height:1.4; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--turq); border-color:var(--turq-dark); }
button { font:inherit; cursor:pointer; padding:8px 14px; border-radius:4px; border:1px solid var(--turq-dark); background:var(--turq); color:var(--grey); }
button:hover { background:var(--turq-dark); color:#fff; }
button.ghost { background:#fff; border-color:#bbb; color:var(--grey); }
button.ghost:hover { background:#eee; color:var(--grey); }
button.full { width:100%; margin-top:18px; padding:10px; }
button:disabled { opacity:.5; cursor:default; }
.msg { margin-top:12px; font-size:13px; min-height:18px; }
.msg.err { color:var(--err); }
.msg.ok { color:#1d6b3a; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:9px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
th { font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:#777; }
tr.off td { color:#999; }
td.actions { white-space:nowrap; text-align:right; }
td.actions button { padding:4px 9px; font-size:13px; margin-left:4px; }
.grid { display:grid; grid-template-columns: 1fr 1fr; gap:0 16px; }
.pill { display:inline-block; font-size:12px; padding:2px 8px; border-radius:10px; background:#e7f3f2; color:#2d6b67; }
.muted { color:#777; font-size:13px; }
[hidden] { display:none !important; }
@media (max-width:640px) { .grid { grid-template-columns:1fr; } header .who { display:none; } }
.top { margin-top:14px; }
.pwwrap { position:relative; }
.pwwrap input { padding-right:74px; }
.pwtoggle { position:absolute; right:4px; top:50%; transform:translateY(-50%); padding:4px 10px; font-size:12px; border:0; background:transparent; color:#2d6b67; }
.pwtoggle:hover { background:#e7f3f2; color:#2d6b67; }
header a.who { color:#fff; text-decoration:none; padding:6px 8px; border-radius:4px; } header a.who:hover { background:rgba(255,255,255,.14); }
td select { width:auto; min-width:140px; }
td.nowrap { white-space:nowrap; }
main { max-width:1080px; }
input[type=checkbox] { width:auto; margin:0 6px 0 0; vertical-align:middle; }
td input[type=checkbox] { margin:0; width:18px; height:18px; }
label.check { display:flex; align-items:center; margin-top:10px; }

/* ---- Interactie: duidelijk wat je kunt aanklikken en bewerken ---- */
button, select, input[type=checkbox], label.check, .pwtoggle { cursor:pointer; }
button, input, select, textarea, header nav a, tbody tr { transition: background-color .12s, border-color .12s, box-shadow .12s, color .12s; }

input, select, textarea { border-color:#c4c9c9; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color:var(--turq-dark); background:#f3fafa; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--turq-dark); background:#fff; box-shadow:0 0 0 3px rgba(134,199,195,.45); }
input::placeholder, textarea::placeholder { color:#9aa3a3; }

button:active { transform:translateY(1px); }
button:focus-visible, a:focus-visible, input[type=checkbox]:focus-visible { outline:3px solid rgba(134,199,195,.7); outline-offset:2px; }
button.ghost:hover { border-color:var(--turq-dark); background:#f3fafa; }

/* Bewerkbare velden in de tabel: licht omrand, zodat je ziet dat je erin kunt typen */
td input[type=text], td input[type=email] { padding:6px 8px; font-size:14px; border:1px solid #e1e5e5; background:#fcfdfd; }
td input[type=text]:hover, td input[type=email]:hover { border-color:var(--turq-dark); background:#f3fafa; }
td select { border-color:#e1e5e5; }
tbody tr:hover { background:#f7fbfb; }
tr.off:hover { background:#f6f6f6; }

/* Aanvinkvakje met grotere klikzone */
label.check { padding:4px 0; width:fit-content; }
label.check:hover { color:#2d6b67; }
td input[type=checkbox] { accent-color:var(--turq-dark); }
input[type=checkbox] { accent-color:var(--turq-dark); }

/* Meldingen verschijnen rechtsonder en verdwijnen vanzelf */
.toast { position:fixed; right:20px; bottom:20px; max-width:360px; padding:12px 16px; border-radius:6px; background:var(--grey); color:#fff; font-size:14px; box-shadow:0 6px 20px rgba(0,0,0,.2); opacity:0; transform:translateY(8px); transition:opacity .2s, transform .2s; z-index:20; pointer-events:none; }
.toast.show { opacity:1; transform:none; }
.toast.ok { border-left:5px solid var(--turq); }
.toast.err { border-left:5px solid #e57373; }

/* Het oog-icoon van Edge/Chrome verbergen: wij hebben een eigen Toon/Verberg-knop */
input::-ms-reveal, input::-ms-clear { display:none; }
input::-webkit-credentials-auto-fill-button { visibility:hidden; position:absolute; right:0; }

/* Pasfoto's */
.avatar { border-radius:50%; object-fit:cover; flex:none; display:inline-flex; align-items:center; justify-content:center; background:var(--turq); color:var(--grey); font-weight:700; }
.avatar.sm { width:28px; height:28px; font-size:12px; }
.avatar.md { width:36px; height:36px; font-size:14px; }
.avatar.lg { width:104px; height:104px; font-size:34px; }
header a.who { display:flex; align-items:center; gap:9px; }
header a.who .avatar { border:2px solid rgba(255,255,255,.35); }
td.namecell > div { display:flex; align-items:center; gap:10px; }
tbody tr.click { cursor:pointer; }

/* Bewerkscherm */
dialog { border:0; border-radius:8px; padding:0; width:min(680px, 94vw); color:var(--grey); box-shadow:0 20px 50px rgba(0,0,0,.3); }
dialog::backdrop { background:rgba(51,51,51,.5); }
dialog form { padding:24px; }
dialog h2 { margin-top:0; font-size:18px; }
.photoedit { display:flex; align-items:center; gap:18px; margin:6px 0 10px; }
.photoedit .btns { display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.dlgfoot { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:22px; padding-top:16px; border-top:1px solid var(--line); }
.dlgfoot .grp { display:flex; gap:8px; flex-wrap:wrap; }
button.danger { border-color:#d9a3a0; color:var(--err); background:#fff; }
button.danger:hover { background:#fbeceb; color:var(--err); border-color:var(--err); }

/* Profiel */
.profile { display:flex; gap:28px; align-items:flex-start; flex-wrap:wrap; }
.profile .info { flex:1; min-width:260px; }
.facts { display:grid; grid-template-columns:130px 1fr; gap:10px 14px; margin:0; font-size:14px; }
.facts dt { color:#777; }
.facts dd { margin:0; min-height:20px; }
.facts dd .none { color:#9aa3a3; }
.row { display:flex; gap:8px; align-items:center; }
.row input { max-width:260px; }

/* ---- Compact en gelijk: alle knoppen en invoervelden zijn 30px hoog ---- */
button, button.full, td.actions button, header button { height:30px; padding:0 14px; font-size:13px; line-height:1; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; }
button.full { width:100%; margin-top:18px; }
input:not([type=checkbox]), select { height:30px; padding:0 10px; font-size:14px; }
textarea { padding:7px 10px; font-size:14px; }
td select { min-width:140px; }
.pwwrap input { padding-right:64px; }
.pwtoggle { height:22px; padding:0 8px; font-size:12px; }
.pwtoggle:active { transform:translateY(-50%); }
footer { text-align:center; padding:24px 0; font-size:12px; }
.row button { flex:none; }
.valuerow { display:flex; align-items:center; gap:12px; min-height:30px; }
.card h2:first-child { margin-top:0; }

/* Profielfoto met potlood bij hover */
.avatar-edit { position:relative; display:inline-block; line-height:0; border-radius:50%; }
button.avatar-edit-btn { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; border-radius:50%; background:rgba(51,51,51,.7); opacity:0; transition:opacity .15s; }
button.avatar-edit-btn:hover { background:rgba(51,51,51,.7); }
button.avatar-edit-btn svg { width:28px; height:28px; }
.avatar-edit:hover .avatar-edit-btn, button.avatar-edit-btn:focus-visible { opacity:1; }
@media (hover:none) {
  button.avatar-edit-btn { opacity:1; inset:auto 0 0 auto; width:30px; height:30px; background:var(--grey); border:2px solid #fff; }
  button.avatar-edit-btn svg { width:16px; height:16px; }
}
.facts { align-items:center; }
.checks { display:flex; gap:20px; flex-wrap:wrap; }

/* ---- Projecten ---- */
.pagehead { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px; min-height:40px; }
main > h1:first-child { min-height:40px; display:flex; align-items:center; margin:0 0 16px; }
.pagehead h1 { margin:0; }
.toolbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.toolbar input[type=search] { width:240px; }
/* Alles in de werkbalk even hoog en verticaal gecentreerd */
.toolbar > * { margin:0; }
.toolbar input[type=search], .toolbar button { height:40px; box-sizing:border-box; }
.toolbar button { display:inline-flex; align-items:center; justify-content:center; padding:0 14px; line-height:1; }
.toolbar button.icon { width:40px; padding:0; }
.toolbar label.check { margin:0; padding:0; height:40px; align-items:center; }
/* Selectievakjes naast het startwachtwoord: onderkant gelijk aan het invoerveld */
.checks.pwside { align-self:end; height:40px; align-items:center; margin-top:0; }
.checks.pwside label.check { margin:0; padding:0; }
input[type=search] { width:100%; }
.card.nopad { padding:0; overflow:hidden; }
.card.nopad table th:first-child, .card.nopad table td:first-child { padding-left:20px; }
.card.nopad table th:last-child, .card.nopad table td:last-child { padding-right:20px; }
tr.click { cursor:pointer; } tr.click:focus-visible { outline:2px solid var(--turq-dark); outline-offset:-2px; }
tr.off td { color:#8a8a8a; }
.empty { padding:18px 20px; margin:0; }
.num { color:var(--turq-dark); margin-right:10px; font-weight:700; }
.back { margin:0 0 10px; font-size:13px; } .back a { color:#2d6b67; text-decoration:none; } .back a:hover { text-decoration:underline; }
.pill.gray { background:#eee; color:#666; margin-left:8px; }
.pill.warn { background:#fff1d6; color:#8a5a00; margin-left:8px; }
.warn { color:#9a5b00; }
.badge { display:inline-block; min-width:20px; padding:1px 7px; border-radius:10px; background:#e2a43b; color:#fff; font-size:12px; font-weight:600; text-align:center; }
code { background:#eef1f1; padding:1px 5px; border-radius:3px; font-size:12px; }

/* Fasebalk */
.phases { display:flex; gap:6px; align-items:center; }
button.phase { background:#fff; border:1px solid #bbb; color:var(--grey); padding:0 12px; }
button.phase:hover:not(:disabled) { background:#f3fafa; border-color:var(--turq-dark); color:var(--grey); }
button.phase.on { background:var(--turq); border-color:var(--turq-dark); font-weight:700; opacity:1; }
button.phase:disabled:not(.on) { opacity:.55; cursor:default; }

/* Dropzone */
.dz { border:2px dashed #b5c9c8; background:#fbfefe; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:22px 24px; cursor:pointer; transition:background-color .12s, border-color .12s; }
.dz:hover, .dz:focus-visible, .dz.over { border-color:var(--turq-dark); background:#eef8f7; outline:none; }
.dz.over { box-shadow:0 0 0 4px rgba(134,199,195,.45); }
.dz-main { display:flex; flex-direction:column; gap:3px; flex:1; min-width:240px; }
.dz-main strong { font-size:16px; }
.dz-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.dz-actions label.check { margin:0; }

/* Uploadvoortgang */
.uphead { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.uplist { max-height:240px; overflow:auto; }
.uprow { display:grid; grid-template-columns:minmax(120px,1fr) 140px minmax(120px,1fr) 70px; gap:12px; align-items:center; padding:5px 0; font-size:13px; border-top:1px solid #eef0f0; }
.upname { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
progress { width:100%; height:8px; accent-color:var(--turq-dark); }
.batch { display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:#eef8f7; border:1px solid #cfe7e5; border-radius:6px; padding:10px 14px; margin-bottom:10px; }

/* Chips voor "van wie" */
.chips { display:inline-flex; gap:6px; flex-wrap:wrap; }
button.chip { height:28px; padding:0 12px; border-radius:14px; background:#fff; border:1px solid var(--turq-dark); color:#2d6b67; }
button.chip:hover { background:var(--turq-dark); color:#fff; }

/* Tegels */
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(110px, 1fr)); gap:10px; margin-bottom:18px; }
button.tile { height:auto; flex-direction:column; align-items:flex-start; gap:2px; padding:10px 14px; background:#fff; border:1px solid var(--line); color:var(--grey); border-radius:6px; text-align:left; }
button.tile:hover, button.tile.over { background:#f3fafa; border-color:var(--turq-dark); color:var(--grey); }
button.tile.over { box-shadow:0 0 0 3px rgba(134,199,195,.5); }
button.tile.on { border-color:var(--turq-dark); background:#e7f3f2; }
.tile .tn { font-size:20px; font-weight:700; line-height:1.1; } .tile .tl { font-size:12px; color:#666; }

/* Tabs */
.tabs { display:flex; gap:4px; margin-bottom:-1px; position:relative; z-index:1; }
button.tab { height:34px; background:transparent; border:1px solid transparent; border-bottom:0; border-radius:6px 6px 0 0; color:#666; padding:0 16px; }
button.tab:hover { background:#e9eeee; color:var(--grey); }
button.tab.on { background:#fff; border-color:var(--line); color:var(--grey); font-weight:700; }
.tabs + .card { border-top-left-radius:0; }
.tab .badge { margin-left:6px; }

/* Inbox */
.inbox-tools { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; padding-bottom:12px; margin-bottom:6px; border-bottom:1px solid var(--line); }
.inbox-tools label.check { margin:0; }
.selbar { flex-basis:100%; display:flex; align-items:center; gap:10px; flex-wrap:wrap; background:#eef8f7; border:1px solid #cfe7e5; border-radius:6px; padding:8px 12px; }
.selbar .lbl { font-size:13px; font-weight:600; }
.irow { display:grid; grid-template-columns:24px minmax(180px,1.4fr) minmax(180px,1.4fr) auto; gap:14px; align-items:center; padding:10px 0; border-bottom:1px solid #eef0f0; }
.irow:last-child { border-bottom:0; }
.irow:hover { background:#f9fcfc; }
.irow input[type=checkbox] { width:18px; height:18px; }
.iname { overflow:hidden; } .iname strong { word-break:break-word; }
.isug { display:flex; flex-direction:column; gap:3px; align-items:flex-start; font-size:13px; }
.iact { display:flex; gap:6px; justify-content:flex-end; }
@media (max-width:760px) { .irow { grid-template-columns:24px 1fr; } .isug, .iact { grid-column:2; justify-content:flex-start; } .uprow { grid-template-columns:1fr 90px; } .uprow span:nth-child(3), .uprow span:nth-child(4) { display:none; } }

/* Bestandenlijst */
.filters { display:flex; gap:10px; flex-wrap:wrap; align-items:center; padding:14px 20px; border-bottom:1px solid var(--line); }
.filters input[type=search] { width:220px; } .filters select { width:auto; min-width:130px; } .filters label.check { margin:0; }
td .pill { margin-left:8px; }
a.btnlink { display:inline-flex; align-items:center; height:30px; padding:0 14px; font-size:13px; border:1px solid #bbb; border-radius:4px; background:#fff; color:var(--grey); text-decoration:none; margin-left:4px; }
a.btnlink:hover { border-color:var(--turq-dark); background:#f3fafa; }
td a { color:#2d6b67; text-decoration:none; } td a:hover strong { text-decoration:underline; }
td.actions { white-space:nowrap; text-align:right; }

/* ---- Overzicht en keuzeknoppen ---- */
.ovgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; }
.ovgrid .card, #ovRecent { margin-bottom:16px; }
.ovgrid h2, #ovRecent h2 { margin:0 0 12px; font-size:15px; }
.big { margin-bottom:12px; font-size:15px; } .badge.big { font-size:16px; padding:2px 10px; margin-right:6px; }
.ovgrid .tiles { margin:0; grid-template-columns:repeat(2, 1fr); }
.ovgrid .facts { grid-template-columns:120px 1fr; align-items:start; }
.rrow { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; padding:7px 0; border-top:1px solid #eef0f0; font-size:14px; }
.rrow:first-child { border-top:0; } .rrow .rwho { margin-left:auto; } .rrow a { color:#2d6b67; text-decoration:none; } .rrow a:hover { text-decoration:underline; }
.rrow .pill { margin-left:0; }
.intro { margin:0 0 12px; }
.inbox-tools { display:block; }
.toprow { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.toprow label.check { margin:0; }
.selbar { display:block; }
.scope { margin-bottom:8px; font-size:13px; }
.classifier { display:flex; flex-direction:column; gap:8px; }
.selrow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.selrow[hidden] { display:none; }
.selrow .lbl { font-size:13px; font-weight:600; min-width:74px; }
button.chip.more { border-style:dashed; }
.dest { min-height:18px; font-size:12px; color:#2d6b67; }
.igroup { background:#f3f6f6; padding:6px 10px; margin-top:8px; border-radius:4px; font-size:13px; }
.igroup label.check { margin:0; }
.batch { align-items:flex-start; flex-direction:column; gap:8px; }

/* Meerdere bestanden selecteren */
.selcol { width:40px; padding-right:0 !important; }
.selcol input[type=checkbox] { width:18px; height:18px; }
tr.picked { background:#eef8f7; }
.bulkbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 20px; background:#eef8f7; border-bottom:1px solid #cfe7e5; font-size:13px; }

.facts a { color:#2d6b67; }

/* Nog te sorteren: bovenaan Bestanden, in een eigen kleur */
.unsorted { background:#fff7e0; border-bottom:1px solid #f0d9a0; padding:16px 20px 12px; }
.unsorted h2 { margin:0 0 4px; font-size:15px; }
.unsorted .intro { margin:0 0 12px; }
.unsorted .irow:hover { background:#fff1c9; }
.unsorted .selbar { background:#fffdf5; border:1px solid #f0d9a0; border-radius:6px; padding:10px 12px; margin-bottom:6px; }
.unsorted .igroup { background:#fbeec2; }
.banner { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; background:#fff7e0; border:1px solid #f0d9a0; border-radius:6px; padding:10px 16px; margin-bottom:16px; }

/* v0.7 */
#upTotal { width:100%; height:8px; margin:6px 0 4px; }
.updetails { margin-top:6px; font-size:13px; } .updetails summary { cursor:pointer; color:#666; }
#preview { border-color:var(--turq-dark); }
#preview h2 { margin:0 0 4px; } #preview .pvgroup { margin:10px 0; font-size:13px; }
#preview .pvfiles { color:#666; } #preview .pvbtns { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.igroup { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.igroup .gsum { flex:1; min-width:160px; } .igroup .gact { display:flex; gap:6px; }
.irow.picking { border-bottom:0; } .rowpick { padding:0 0 12px 38px; border-bottom:1px solid #eef0f0; }
.people { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:4px 12px; margin:4px 0 10px; }
.people label { display:flex; gap:6px; align-items:center; margin:0; font-weight:400; font-size:14px; }
.member { display:flex; gap:10px; align-items:center; margin:6px 0; } .member .mn { font-weight:600; font-size:14px; } .member .muted { font-size:12px; }
.modelrow { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:2px 0; }
.snap { border-top:1px solid #eef0f0; padding:8px 0; font-size:14px; } .snap:first-of-type { border-top:0; }
.cardhead { display:flex; justify-content:space-between; align-items:center; gap:8px; } .cardhead h2 { margin:0; }
.snap a, .modelrow a { color:var(--turq-dark); }
td .pill.flush { margin-left:0; }
#preview .pvbtns { margin:16px 0 22px; }
.gact { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
/* startpagina */
h2.sect { margin:22px 0 8px; font-size:18px; }
.pcards { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:14px; margin-bottom:18px; }
a.pcard { display:block; background:#fff; border:1px solid var(--line); border-radius:8px; padding:14px 16px; color:var(--grey); text-decoration:none; }
a.pcard:hover { border-color:var(--turq-dark); box-shadow:0 0 0 3px rgba(134,199,195,.35); }
.pcard .ptop { display:flex; gap:8px; align-items:center; flex-wrap:wrap; } .pcard .ptop .pill { margin-left:auto; }
.pcard .num { color:var(--turq-dark); font-weight:700; }
.pcard .pmodel { margin:10px 0; font-size:14px; word-break:break-word; }
.pcard .pfoot { display:flex; gap:8px; align-items:center; font-size:12px; } .pcard .plast { margin-left:auto; }
.alist { margin:6px 0 0; padding-left:18px; } .alist li { margin:3px 0; }
p.soon { margin-top:14px; font-size:13px; }

/* uren, taken */
.hrow { display:flex; gap:14px; align-items:baseline; flex-wrap:wrap; } .bign { font-size:28px; font-weight:700; }
.hphase { font-size:14px; padding:2px 8px; border-radius:6px; background:#f3f6f6; } .hphase.on { background:#e7f3f2; font-weight:700; }
.hpeople { display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; } .hpeople .pill { margin-left:0; }
.tasks { list-style:none; margin:6px 0 0; padding:0; } .tasks li { display:flex; gap:10px; align-items:baseline; padding:7px 0; border-top:1px solid #eef0f0; font-size:14px; } .tasks li:first-child { border-top:0; }
.ttag { flex:none; font-size:11px; font-weight:700; padding:2px 8px; border-radius:10px; min-width:64px; text-align:center; }
.t-sort { background:#fff1d6; color:#8a5a00; } .t-uren { background:#dff3e4; color:#1f6b36; } .t-model { background:#e1ecfb; color:#1f4f99; } .t-info { background:#ece8f6; color:#533a8a; }
.urenkaart .uhead { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px; } .urenkaart .uhead h2 { margin:0 auto 0 0; }
.urenkaart .uhead input[type=date] { width:auto; padding:5px 8px; } .urenkaart .uhead button { height:34px; }
.urow { display:grid; grid-template-columns:minmax(150px,1.2fr) 74px minmax(120px,1.6fr); gap:10px; align-items:center; padding:5px 0; border-top:1px solid #eef0f0; font-size:14px; }
.urow .ulabel .pill { margin-left:6px; } .urow input { padding:6px 8px; } .urow input.bad { border-color:#c0392b; }
.ufoot { display:flex; align-items:center; gap:12px; margin-top:12px; flex-wrap:wrap; } .ufoot .utotal { font-weight:700; } .ufoot .ustat { margin-left:auto; font-size:13px; }
.uextra { margin-top:8px; } .uextra select { width:auto; max-width:100%; }
.pgroup { margin:14px 0 6px; font-size:13px; font-weight:700; color:#666; text-transform:uppercase; letter-spacing:.04em; }
.pcard .phours { margin-top:6px; font-size:13px; }
.dtable td.num, .dtable th.num { text-align:right; font-variant-numeric:tabular-nums; } .dtable tr.sub td { background:#f9fcfc; font-size:13px; }
.dtop { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:14px; } .dtop select { width:auto; } .dtop .grow { flex:1; }
.dtiles { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:16px; } .dtile { background:#fff; border:1px solid var(--line); border-radius:8px; padding:10px 16px; } .dtile .tn { font-size:22px; font-weight:700; display:block; } .dtile .tl { font-size:12px; color:#666; }
@media (max-width:760px) { .urow { grid-template-columns:1fr 70px; } .urow .unote { grid-column:1 / -1; } }
.ovgrid.wide { grid-template-columns:minmax(240px,1fr) minmax(420px,2fr); align-items:start; }
#ovHours { margin-bottom:16px; } #ovHours h2 { margin:0 0 12px; font-size:15px; }
@media (max-width:900px) { .ovgrid.wide { grid-template-columns:1fr; } }
h2.pad { margin:0; padding:14px 16px 6px; font-size:15px; }
.card.gap { margin-top:16px; }
.tasks a { color:var(--grey); text-decoration:none; border-bottom:1px solid #bbb; } .tasks a:hover { color:var(--turq-dark); border-color:var(--turq-dark); }

/* Grote tabbladen op de projectpagina: Overzicht / Bestanden */
.tabs.big { gap:4px; margin:4px 0 16px; border-bottom:1px solid var(--line); }
.tabs.big button.tab { height:38px; font-size:15px; padding:0 16px; border-radius:6px 6px 0 0; margin-bottom:-1px; border:1px solid transparent; border-bottom:0; color:#666; background:transparent; }
.tabs.big button.tab.on { background:#fff; border-color:var(--line); border-bottom:1px solid var(--bg); background:var(--bg); color:var(--grey); font-weight:700; box-shadow:inset 0 2px 0 var(--turq); }
#paneFiles > .card { margin-bottom:16px; }

html { scrollbar-gutter: stable; }
tr.folderrow td { background:#f3f7f7; cursor:pointer; padding-top:8px; padding-bottom:8px; font-weight:600; }
tr.folderrow:hover td { background:#e9f1f1; }
tr.folderrow .chev { display:inline-block; width:18px; color:#777; }

/* pagina pas tonen als de eerste gegevens binnen zijn (common.js zet html.arx-ready) */
html:not(.arx-ready) main, html:not(.arx-ready) header > * { opacity:0; }
main, header > * { transition:opacity .12s; }
@media (prefers-reduced-motion:reduce) { main, header > * { transition:none; } }

/* Kolomkoppen in de overzichten blijven op één regel ("Laatst bijgewerkt" sprong anders naar twee regels) */
.card.nopad table th { white-space:nowrap; }
.card.nopad table td:nth-child(n+3) { white-space:nowrap; }
