/* Tom dZ Contacten — zelfde stijl als CreatorOS */
:root{
  --bg:#191919;--bg-2:#202020;--card:#252525;--card-2:#2c2c2c;--hover:rgba(255,255,255,.055);--hover-2:rgba(255,255,255,.09);
  --line:rgba(255,255,255,.094);--line-2:rgba(255,255,255,.13);
  --text:rgba(255,255,255,.81);--strong:#fff;--muted:rgba(255,255,255,.46);--dim:rgba(255,255,255,.28);
  --blue:#2383e2;--blue-h:#0077d4;--red:#eb5757;--green:#4dab9a;--link:#529cca;--hs:#ff7a59;
  --t-gray:#373737;--t-brown:#4a3228;--t-orange:#5c3b23;--t-yellow:#564328;--t-green:#243d30;--t-blue:#143a4e;--t-purple:#3c2d49;--t-pink:#4e2c3c;--t-red:#522e2a;--t-text:rgba(255,255,255,.81);
  --pop:rgba(15,15,15,.1) 0 0 0 1px,rgba(15,15,15,.2) 0 3px 6px,rgba(15,15,15,.4) 0 9px 24px;
  --font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif;
  color-scheme:dark;
}
[data-theme=light]{
  --bg:#ffffff;--bg-2:#f7f7f5;--card:#ffffff;--card-2:#f7f7f5;--hover:rgba(55,53,47,.06);--hover-2:rgba(55,53,47,.1);
  --line:rgba(55,53,47,.09);--line-2:rgba(55,53,47,.16);
  --text:#37352f;--strong:#37352f;--muted:rgba(55,53,47,.65);--dim:rgba(55,53,47,.4);
  --t-gray:#e3e2e0;--t-brown:#eee0da;--t-orange:#fadec9;--t-yellow:#fdecc8;--t-green:#dbeddb;--t-blue:#d3e5ef;--t-purple:#e8deee;--t-pink:#f5e0e9;--t-red:#ffe2dd;--t-text:#32302c;
  --pop:rgba(15,15,15,.05) 0 0 0 1px,rgba(15,15,15,.1) 0 3px 6px,rgba(15,15,15,.2) 0 9px 24px;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0;text-align:left}
a{color:var(--link);text-decoration:none}
kbd{font:500 11px/1 var(--font);padding:2px 5px;border-radius:4px;border:1px solid var(--line-2);color:var(--muted);white-space:nowrap}
code{background:var(--hover-2);color:#eb5757;padding:1px 5px;border-radius:4px;font-size:85%;font-family:SFMono-Regular,Menlo,Consolas,monospace}
:focus-visible{outline:2px solid rgba(35,131,226,.6);outline-offset:1px;border-radius:4px}
.i{width:16px;height:16px;flex:none;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ico{display:inline-flex}
.hidden{display:none!important}
.hint{color:var(--muted);font-size:12.5px;line-height:1.55;margin:6px 0}
::selection{background:rgba(35,131,226,.35)}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--hover-2);border-radius:10px}::-webkit-scrollbar-track{background:transparent}

/* ---------- layout (zoals CreatorOS) ---------- */
.topbar{position:sticky;top:0;z-index:10;height:45px;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--bg)}
.crumb{display:flex;align-items:center;gap:2px;font-size:14px;min-width:0}
.crumb button,.crumb b{display:inline-flex;align-items:center;gap:6px;padding:2px 6px;border-radius:4px;font-weight:400;color:var(--text);white-space:nowrap}
.crumb button:hover{background:var(--hover)}.crumb .sep{color:var(--dim);margin:0 1px}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:2px}
.top-actions .btn.primary{height:28px;padding:0 10px;margin-left:6px}.top-actions .btn.primary .i{width:14px;height:14px}
.me-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 8px 2px 3px;border-radius:12px;color:var(--muted);font-size:13px;margin-right:4px}
.me-pill:hover{background:var(--hover)}.me-pill .av{width:20px;height:20px;font-size:9px}
main{max-width:1180px;margin:0 auto;padding:70px 96px 160px}
.page-title{font-size:40px;line-height:1.2;font-weight:700;margin:0 0 34px;color:var(--strong);letter-spacing:-.4px}
.page-title span{color:var(--dim);font-weight:400}
.subtitle{color:var(--muted);margin:-26px 0 26px}
.layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:46px}
.block-h{font-size:20px;font-weight:600;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--strong);line-height:1.3}
.aside-col .block-h{margin-top:30px}.aside-col .block-h:first-child{margin-top:0}
.nbtns{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.nbtns button{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:4px;background:var(--hover);border:1px solid var(--line);font-size:13px;font-weight:500;color:var(--text);max-width:100%;white-space:nowrap}
.nbtns button:hover{background:var(--hover-2)}.nbtns .i{width:14px;height:14px;color:var(--muted)}
.nlinks{display:flex;flex-direction:column}
.nlinks button{display:flex;align-items:center;gap:8px;padding:3px 6px;margin-left:-6px;border-radius:4px;font-weight:500;color:var(--text)}
.nlinks button span{border-bottom:1px solid var(--line-2);line-height:1.4}
.nlinks button:hover{background:var(--hover)}
.nlinks button.active span{border-color:var(--text)}
.nlinks .i{color:var(--muted);width:16px;height:16px}
.nlinks em{margin-left:auto;font-style:normal;color:var(--dim);font-size:12px}
.main-col{min-width:0}
.block{margin-bottom:44px}
.db-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:6px}
.db-head h2{font-size:20px;font-weight:600;margin:0;color:var(--strong)}
.callout{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border-radius:4px;background:var(--hover);margin-bottom:32px}
.callout>.i{margin-top:2px;color:var(--muted)}.callout b{color:var(--strong);font-weight:600}
.callout.warn{background:rgba(235,87,87,.1)}.callout.warn>.i{color:var(--red)}

/* ---------- knoppen ---------- */
.btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:6px;border:1px solid var(--line-2);color:var(--text);font-size:14px;white-space:nowrap;transition:background .1s}
.btn:hover{background:var(--hover)}
.btn.primary{background:var(--blue);border-color:transparent;color:#fff;font-weight:500}.btn.primary:hover{background:var(--blue-h)}
.btn.hs{background:var(--hs);border-color:transparent;color:#fff;font-weight:600}.btn.hs:hover{filter:brightness(1.07)}
.btn.danger{color:var(--red);border-color:rgba(235,87,87,.4)}.btn.danger:hover{background:rgba(235,87,87,.1)}
.btn.sm{height:28px;padding:0 10px}
.btn[disabled]{opacity:.55;pointer-events:none}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;color:var(--muted)}
.icon-btn:hover{background:var(--hover);color:var(--text)}.icon-btn .i{width:18px;height:18px}
.spin .i{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.link{color:var(--link);font-size:13px}.link:hover{text-decoration:underline}

/* ---------- toolbar + tabel ---------- */
.searchbox{display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;border-radius:6px;background:var(--hover);min-width:230px}
.searchbox input{border:0;background:transparent;outline:0;flex:1;min-width:0;font-size:14px}
.searchbox .i{color:var(--muted)}
.pills{display:flex;gap:2px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:4px}
.pill{position:relative;display:inline-flex;align-items:center;gap:6px;padding:8px 8px 9px;font-size:14px;color:var(--muted);white-space:nowrap}
.pill:hover{color:var(--text)}.pill span{font-size:12px;color:var(--dim)}
.pill.active{color:var(--text);font-weight:500}
.pill.active::after{content:"";position:absolute;left:4px;right:4px;bottom:-1px;height:2px;background:var(--text)}
.tablewrap{overflow-x:auto;margin:0 -8px;padding:0 8px}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th{font-weight:400;color:var(--muted);text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap;font-size:13px}
.table th button{display:inline-flex;align-items:center;gap:5px;color:inherit}.table th button:hover{color:var(--text)}.table th .i{width:14px;height:14px}
.table td{padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;vertical-align:middle}
.table tbody tr{cursor:pointer}.table tbody tr:hover td{background:var(--hover)}
.table td.muted{color:var(--muted)}
.namecell{display:flex;align-items:center;gap:10px;font-weight:500;color:var(--strong)}
.av{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#fff;flex:none;letter-spacing:.3px}
.av.lg{width:64px;height:64px;font-size:23px}
.tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border-radius:3px;font-size:12px;background:var(--t-gray);color:var(--t-text);white-space:nowrap}
.tag .i{width:12px;height:12px}
.tag.red{background:var(--t-red)}.tag.green{background:var(--t-green)}.tag.blue{background:var(--t-blue)}.tag.orange{background:var(--t-orange)}.tag.yellow{background:var(--t-yellow)}.tag.purple{background:var(--t-purple)}.tag.pink{background:var(--t-pink)}.tag.brown{background:var(--t-brown)}
.foot{color:var(--muted);font-size:13px;padding:10px 8px}
.empty{border:1px dashed var(--line-2);border-radius:8px;padding:40px 24px;text-align:center;color:var(--muted)}
.empty .i{width:36px;height:36px;stroke-width:1.3;color:var(--dim)}.empty h3{color:var(--strong);margin:10px 0 4px;font-size:17px}
.skel{height:38px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,transparent,var(--hover),transparent);background-size:300% 100%;animation:sk 1.2s infinite}
@keyframes sk{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* ---------- recente activiteit ---------- */
.feed{display:flex;flex-direction:column}
.feed button{display:flex;align-items:center;gap:10px;padding:6px 6px;margin:0 -6px;border-radius:4px;width:calc(100% + 12px)}
.feed button:hover{background:var(--hover)}
.feed .k{width:24px;height:24px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--t-blue)}
.feed .k.note{background:var(--t-yellow)}.feed .k.contact{background:var(--t-green)}.feed .k .i{width:14px;height:14px}
.feed b{font-weight:500;color:var(--strong);white-space:nowrap}
.feed .t{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.feed time{color:var(--dim);font-size:12.5px;white-space:nowrap}

/* ---------- detail (peek) ---------- */
.peek-backdrop{position:fixed;inset:0;z-index:50;background:rgba(15,15,15,.35);display:flex;justify-content:flex-end}
.peek{width:min(560px,100vw);height:100%;background:var(--bg);box-shadow:var(--pop);overflow:auto;padding:16px 36px 60px;animation:slidein .18s ease-out}
@keyframes slidein{from{transform:translateX(30px);opacity:.4}}
.peek-top{display:flex;justify-content:space-between;align-items:center;margin:0 -16px 6px}
.hero{display:flex;gap:16px;align-items:center}
.peek h2{font-size:30px;font-weight:700;color:var(--strong);margin:0;line-height:1.2;letter-spacing:-.3px}
.peek .sub{color:var(--muted);margin:2px 0 0}
.lastcall{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:12.5px;color:var(--muted);background:var(--hover);padding:2px 8px;border-radius:4px}
.lastcall .i{width:13px;height:13px}
.actions{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 20px}
.sec-h{font-size:15px;font-weight:600;color:var(--strong);margin:24px 0 8px;padding-bottom:6px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px}
.sec-h .grow{flex:1}
.composer{border:1px solid var(--line-2);border-radius:8px;background:var(--bg-2);position:relative}.composer .tabs{border-radius:8px 8px 0 0}
.composer .tabs{display:flex;gap:2px;padding:4px 6px 0;border-bottom:1px solid var(--line)}
.composer .tabs button{display:inline-flex;align-items:center;gap:6px;padding:6px 8px 7px;color:var(--muted);font-size:13.5px;position:relative}
.composer .tabs button.active{color:var(--text);font-weight:500}
.composer .tabs button.active::after{content:"";position:absolute;left:4px;right:4px;bottom:-1px;height:2px;background:var(--text)}
.composer textarea{display:block;width:100%;min-height:92px;border:0;background:transparent;outline:0;resize:vertical;padding:10px 12px;font-size:14px;line-height:1.55}
.composer .row{display:flex;align-items:center;gap:8px;padding:8px 10px;border-top:1px solid var(--line);flex-wrap:wrap}
.composer .when{color:var(--muted);font-size:12.5px;display:inline-flex;align-items:center;gap:5px;margin-right:auto}
.composer .when .i{width:13px;height:13px}
.outcomes{display:flex;gap:4px;flex-wrap:wrap;padding:8px 10px 0}
.outcomes button{height:24px;padding:0 9px;border-radius:12px;border:1px solid var(--line-2);font-size:12.5px;color:var(--muted)}
.outcomes button.active{background:var(--blue);border-color:transparent;color:#fff}
.timeline{display:flex;flex-direction:column}
.tl{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.tl .k{width:28px;height:28px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--t-blue)}
.tl .k.note{background:var(--t-yellow)}.tl .k .i{width:15px;height:15px}
.tl .meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.tl .meta b{color:var(--strong);font-weight:600}
.tl .body{white-space:pre-wrap;word-break:break-word;margin-top:3px}
.tl.mine .k{box-shadow:0 0 0 2px var(--blue)}
.tl.new{animation:flash 1.2s ease-out}@keyframes flash{from{background:rgba(35,131,226,.18)}}
.props{display:grid;grid-template-columns:130px 1fr;gap:0 10px;font-size:14px}
.props dt{color:var(--muted);display:flex;align-items:center;gap:8px;padding:5px 0}
.props dt .i{width:15px;height:15px}
.props dd{margin:0;padding:5px 0;min-width:0;word-break:break-word;display:flex;align-items:center;gap:6px}
.props dd.empty-v{color:var(--dim)}
.copy{opacity:0;color:var(--muted)}.props dd:hover .copy{opacity:1}

/* ---------- modal ---------- */
.backdrop{position:fixed;inset:0;z-index:60;background:rgba(15,15,15,.6);display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 16px}
.modal{width:min(560px,100%);background:var(--card);border-radius:10px;box-shadow:var(--pop);overflow:hidden;animation:pop .14s ease-out}
@keyframes pop{from{transform:scale(.98);opacity:.6}}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 6px}
.modal-header h2{font-size:16px;margin:0;color:var(--strong)}
.modal-body{padding:6px 18px 18px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fld{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
.fld label{font-size:12.5px;color:var(--muted)}
.fld input,.fld select{height:34px;border-radius:6px;border:1px solid var(--line-2);background:var(--bg-2);padding:0 10px;outline:0;min-width:0}
.fld input:focus,.fld select:focus{border-color:var(--blue)}
.modal-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:8px}
.modal-actions .msg{margin-right:auto;font-size:13px;color:var(--red)}
.picker input{width:100%;height:40px;border:0;border-bottom:1px solid var(--line);background:transparent;outline:0;padding:0 18px;font-size:15px}
.picker .list{max-height:50vh;overflow:auto;padding:6px}
.picker .list button{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px;border-radius:5px}
.picker .list button:hover,.picker .list button.sel{background:var(--hover-2)}
.picker .list small{color:var(--muted);margin-left:auto;font-size:12px}

/* ---------- instellingen ---------- */
.set-block{margin:0 0 40px;max-width:720px}
.set-block h2{font-size:20px;font-weight:600;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--strong);display:flex;align-items:center;gap:8px}
.steps{margin:6px 0 14px;padding-left:20px;line-height:1.75}
.statusrow{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;margin:10px 0;flex-wrap:wrap}
.statusrow b{color:var(--strong)}.statusrow .grow{flex:1;min-width:0}
.dot{width:7px;height:7px;border-radius:50%;background:var(--dim);flex:none}.dot.on{background:var(--green)}.dot.bad{background:var(--red)}
.bigcode{font-size:40px;letter-spacing:10px;font-weight:700;color:var(--strong);font-variant-numeric:tabular-nums;margin:8px 0}
.bigurl{font:600 16px/1.6 SFMono-Regular,Menlo,Consolas,monospace;color:var(--strong);background:var(--hover);padding:8px 12px;border-radius:6px;margin:6px 0;display:inline-block;user-select:all}
.devlist{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.devlist div{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:6px;background:var(--hover)}
.devlist span{flex:1}
.seg{display:inline-flex;border:1px solid var(--line-2);border-radius:6px;overflow:hidden}
.seg button{padding:4px 10px;color:var(--muted)}.seg button+button{border-left:1px solid var(--line-2)}.seg button.active{background:var(--hover-2);color:var(--text)}

.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#2f2f2f;color:#fff;padding:9px 14px;border-radius:8px;box-shadow:var(--pop);font-size:14px;opacity:0;pointer-events:none;transition:.2s;z-index:90;max-width:90vw}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- CRM: taken, bedrijven, kansen ---------- */
.db-head h2 .i{width:18px;height:18px;vertical-align:-2px;color:var(--muted)}
.tasks{display:flex;flex-direction:column}
.trow{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid var(--line);transition:opacity .3s}
.trow.done{opacity:.35;text-decoration:line-through}
.tcheck{width:20px;height:20px;border-radius:50%;border:1.6px solid var(--dim);display:inline-flex;align-items:center;justify-content:center;flex:none;color:transparent}
.tcheck:hover{border-color:var(--green);color:var(--green)}.trow.done .tcheck{background:var(--green);border-color:var(--green);color:#fff}
.tcheck .i{width:12px;height:12px;stroke-width:3}
.tmain{flex:1;min-width:0;display:flex;flex-direction:column;padding:2px 6px;border-radius:4px}
.tmain:hover{background:var(--hover)}
.tt{display:flex;align-items:center;gap:6px;min-width:0}.tt .i{width:14px;height:14px;color:var(--muted)}
.tt b{font-weight:500;color:var(--strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmeta{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trow.late .tdue{color:var(--red);font-weight:600}
.feed .k.task{background:var(--t-green)}.feed .k.deal{background:var(--t-orange)}
.feed .av{width:24px;height:24px;font-size:10px}
.av.sq{border-radius:6px}.av.lg.sq{border-radius:12px}.av .i{width:28px;height:28px;color:#fff}
.colink{color:var(--text);border-bottom:1px solid var(--line-2)}.colink:hover{color:var(--strong);border-color:var(--text)}
.herotags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.herotags .lastcall{margin-top:0}
.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:10px;overflow-x:auto;padding-bottom:10px;margin-top:10px}
.bcol{background:var(--hover);border-radius:8px;padding:8px;min-height:120px;display:flex;flex-direction:column;gap:6px}
.bhead{display:flex;align-items:baseline;gap:6px;padding:2px 4px 6px}.bhead b{color:var(--strong);font-size:13.5px}.bhead span{color:var(--dim);font-size:12px}.bhead small{margin-left:auto;color:var(--muted);font-size:12px}
.dcard{display:flex;flex-direction:column;gap:2px;background:var(--card);border:1px solid var(--line);border-radius:6px;padding:9px 10px;width:100%;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.dcard:hover{background:var(--card-2)}.dcard b{color:var(--strong);font-weight:500}.dcard .amt{font-size:12.5px;color:var(--green);font-weight:600}
.dcard small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dcard .own{color:var(--dim)}
.tform{padding:10px 12px 4px;display:flex;flex-direction:column;gap:8px}
.tform>input{height:36px;border:1px solid var(--line-2);border-radius:6px;background:var(--bg);padding:0 10px;outline:0;font-size:14.5px}
.tform>input:focus{border-color:var(--blue)}
.tform textarea{min-height:56px;border:1px solid var(--line);border-radius:6px;background:var(--bg)}
.trow2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.trow2 .seg button{display:inline-flex;align-items:center;gap:5px}.trow2 .seg .i{width:14px;height:14px}
.prio{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.quick{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.quick button{height:26px;padding:0 10px;border-radius:13px;border:1px solid var(--line-2);font-size:12.5px;color:var(--muted)}
.quick button.active{background:var(--blue);border-color:transparent;color:#fff}
.quick input{height:28px;border:1px solid var(--line-2);border-radius:6px;background:var(--bg);padding:0 8px;font-size:13px}
.oppbox{margin:0 10px 8px;padding:10px 12px 2px;border:1px solid rgba(217,115,13,.45);background:rgba(217,115,13,.08);border-radius:8px}
.opphead{display:flex;align-items:center;gap:8px;margin-bottom:8px}.opphead b{color:var(--strong)}.opphead .i{color:#d9730d}.opphead .icon-btn{margin-left:auto}
.oppbox .fld input,.oppbox .fld select{height:32px}
.follow{display:flex;align-items:center;gap:8px;margin:0 10px 8px;padding:8px 10px;border-radius:6px;background:var(--hover);font-size:13.5px;flex-wrap:wrap}
.follow .i{width:14px;height:14px;color:var(--muted)}.follow select{background:var(--bg-2);border:1px solid var(--line-2);border-radius:5px;padding:2px 6px}
.markas{position:relative}
.markas .btn .i{width:14px;height:14px}
.menu{position:absolute;bottom:calc(100% + 4px);right:0;background:var(--card);border-radius:8px;box-shadow:var(--pop);padding:4px;min-width:180px;z-index:5}
.menu button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border-radius:5px;font-size:14px}.menu button:hover{background:var(--hover-2)}
.newmenu{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.newmenu button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;border-radius:10px;background:var(--hover);border:1px solid var(--line)}
.newmenu button:hover{background:var(--hover-2)}.newmenu .i{width:22px;height:22px;color:var(--blue)}.newmenu b{color:var(--strong)}.newmenu small{color:var(--muted);font-size:12.5px}
.icon-btn.lg{width:40px;height:40px;border-radius:50%;background:var(--hover)}
.mtags{display:flex;gap:6px;align-items:center;margin-top:4px;flex-wrap:wrap}
.mcall{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}.mcall .i{width:12px;height:12px}
.dotc{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--t-gray)}
.dotc.blue{background:#337ea9}.dotc.green{background:#448361}.dotc.orange{background:#d9730d}.dotc.purple{background:#9065b0}.dotc.pink{background:#c14c8a}.dotc.yellow{background:#cb912f}.dotc.brown{background:#9f6b53}
.mhead{display:flex;align-items:center;justify-content:space-between}
#cdeals{margin-bottom:18px}
.ptools{display:flex;align-items:center;gap:6px}
.dmore{display:inline-flex;align-items:center;justify-content:center;width:26px;height:22px;border-radius:5px;color:var(--muted);margin-left:auto;flex:none}
.dmore:hover{background:var(--hover-2);color:var(--text)}.dmore .i{width:16px;height:16px}
.dcard{position:relative}.dcard .dmore{position:absolute;top:6px;right:6px}.dcard b{padding-right:26px}
.actsheet{display:flex;flex-direction:column;gap:2px;padding-bottom:16px}
.ahead{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;margin:12px 2px 4px}
.aopt,.sopt{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:8px;color:var(--text);text-align:left}
.aopt:hover,.sopt:hover{background:var(--hover-2)}.aopt .i{color:var(--muted)}
.sopt span{flex:1;display:flex;flex-direction:column}.sopt small{color:var(--muted);font-size:12.5px}.sopt.on{background:var(--hover)}.sopt[disabled]{opacity:.4}
.sopt>.i{color:var(--green)}
.sdot{width:12px;height:12px;border-radius:50%;flex:none}.sdot.green{background:#448361}.sdot.red{background:var(--red)}.sdot.orange{background:#d9730d}
.stagepick{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 0 34px;align-items:center}.stagepick small{width:100%;color:var(--muted)}
.stagepick button{height:28px;padding:0 10px;border-radius:14px;border:1px solid var(--line-2);font-size:13px;color:var(--muted)}.stagepick button.on{background:#d9730d;color:#fff;border-color:transparent}
.dtf{display:inline-flex;gap:6px;flex-wrap:wrap}
.dtf input{height:34px;border:1px solid var(--line-2);border-radius:6px;background:var(--bg-2);padding:0 8px;font-size:14px;color:var(--text);min-width:0}
.dtf input[type=date]{width:150px}.dtf input[type=time]{width:100px}
.owndt{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.owndt .i{width:14px;height:14px}
.follow{display:flex;align-items:center;gap:8px 10px;margin:0 10px 8px;padding:8px 10px;border-radius:6px;background:var(--hover);font-size:13.5px;flex-wrap:wrap}
.follow label{display:inline-flex;align-items:center;gap:6px}
.fquick{display:inline-flex;gap:4px}.fquick button{height:26px;padding:0 9px;border-radius:13px;border:1px solid var(--line-2);font-size:12.5px;color:var(--muted)}
.trow.deferred .tt b,.trow.deferred .tmeta .tdue{text-decoration:line-through;color:var(--muted)}
.trow.deferred{opacity:.75}.trow.deferred .tcheck{border-style:dashed}
.defhead{font-size:12px;color:var(--muted);padding:10px 0 2px}
.tl .body.strike{text-decoration:line-through;color:var(--muted)}
.tl .k.task{background:var(--t-green)}
.taskcard{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line-2);border-radius:8px;margin-bottom:12px}
.taskcard>.i{margin-top:2px;color:var(--muted)}.taskcard b{display:block;color:var(--strong)}.taskcard small{color:var(--muted)}
.taskcard.deferred b{text-decoration:line-through;color:var(--muted)}
.donebtns{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px}
.donebtns .btn{height:42px;justify-content:center;font-size:15px}
.btn.ok{background:#448361;border-color:transparent;color:#fff;font-weight:600}.btn.ok:hover{filter:brightness(1.08)}
.btn.ghost{border-color:transparent;color:var(--muted)}
.fuseg{display:flex}.fuseg button{flex:1;justify-content:center;display:inline-flex;align-items:center;gap:5px;padding:7px 6px}.fuseg .i{width:14px;height:14px}
.tag.st .i{width:11px;height:11px}
.btn.marked{font-weight:600}.btn.marked.orange{color:#d9730d;border-color:rgba(217,115,13,.5)}.btn.marked.green{color:#4dab9a;border-color:rgba(77,171,154,.5)}.btn.marked.red{color:var(--red);border-color:rgba(235,87,87,.5)}
.btn.marked.blue{color:#529cca;border-color:rgba(82,156,202,.5)}.btn.marked.yellow{color:#cb912f;border-color:rgba(203,145,47,.5)}.btn.marked.purple{color:#9a6dd7;border-color:rgba(154,109,215,.5)}.btn.marked.pink{color:#c14c8a;border-color:rgba(193,76,138,.5)}
.menu button.on{background:var(--hover)}.menu .sdot{width:10px;height:10px}
.sdot.blue{background:#337ea9}.sdot.yellow{background:#cb912f}.sdot.purple{background:#9065b0}.sdot.pink{background:#c14c8a}
.stitle{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;margin:14px 0 8px}
.stiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.stile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border-radius:8px;background:var(--hover);border:1px solid var(--line);border-left:4px solid var(--dim);text-align:left}
.stile:hover{background:var(--hover-2)}
.stile .snum{font-size:28px;font-weight:700;color:var(--strong);line-height:1.1}.stile .slbl{font-size:13px;color:var(--muted)}.stile small{font-size:12.5px;color:var(--text);font-weight:600}
.stile.orange{border-left-color:#d9730d}.stile.green{border-left-color:#448361}.stile.red{border-left-color:var(--red)}.stile.blue{border-left-color:#337ea9}.stile.yellow{border-left-color:#cb912f}.stile.purple{border-left-color:#9065b0}.stile.pink{border-left-color:#c14c8a}
.orows{display:flex;flex-direction:column;gap:2px}
.orow{display:grid;grid-template-columns:26px minmax(90px,1fr) 2fr 32px auto;align-items:center;gap:10px;padding:8px;border-radius:6px;text-align:left}
.orow:hover,.orow.on{background:var(--hover-2)}.orow b{color:var(--strong);text-align:right}.orow small{color:var(--muted);font-size:12px}
.oname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.obar{height:8px;border-radius:4px;background:var(--hover-2);overflow:hidden}.obar i{display:block;height:100%;border-radius:4px;background:#d9730d}
.obar i.green{background:#448361}.obar i.red{background:var(--red)}.obar i.blue{background:#337ea9}.obar i.yellow{background:#cb912f}.obar i.purple{background:#9065b0}.obar i.pink{background:#c14c8a}
.olist{padding:4px 8px 10px 44px}
@media (max-width:760px){.stiles{grid-template-columns:repeat(2,1fr)}.orow{grid-template-columns:26px 1fr 60px 28px}.orow small{display:none}.olist{padding-left:8px}}
.rcount{font-size:12.5px;color:var(--muted);padding:4px 2px}
.inboxblock .feed button{background:rgba(35,131,226,.07);margin-bottom:4px}
.whopick{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line-2);border-radius:6px}.whopick .btn{margin-left:auto}
.modal-body textarea{width:100%;border:1px solid var(--line-2);border-radius:6px;background:var(--bg-2);padding:8px 10px;outline:0;resize:vertical;font-size:14px;line-height:1.5}
.ibtrans{margin:4px 0}.ibtrans summary{cursor:pointer;color:var(--muted);font-size:13px;padding:4px 0}
.ibtrans pre{white-space:pre-wrap;font:13px/1.5 var(--font);background:var(--hover);padding:10px;border-radius:6px;max-height:240px;overflow:auto;margin:6px 0}
.modal-actions .btn.danger{margin-right:auto}
.icon-btn.sm{width:22px;height:22px}.icon-btn.sm .i{width:14px;height:14px}
.tldel{margin-left:auto;opacity:0}.tl:hover .tldel{opacity:1}.tldel:hover{color:var(--red)}
.callout .btn.hs{margin-left:6px;height:26px}
@media (max-width:760px){.tldel{opacity:.6}}
.cdeals{display:flex;flex-direction:column;gap:6px}
.dealcard{display:flex;flex-direction:column;gap:6px;width:100%;padding:10px 12px;border-radius:8px;border:1px solid var(--line);border-left:3px solid #d9730d;background:var(--card)}
.dealcard:hover{background:var(--hover)}.dealcard.won{border-left-color:#448361}.dealcard.lost{border-left-color:var(--red);opacity:.75}
.dtop{display:flex;align-items:baseline;gap:8px}.dtop b{color:var(--strong);font-weight:600;flex:1;min-width:0}.dtop .amt{color:var(--green);font-weight:600;font-size:13.5px;white-space:nowrap}
.dmeta{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;font-size:12.5px;color:var(--muted)}
.dmeta span:not(.tag){display:inline-flex;align-items:center;gap:4px}.dmeta .i{width:12px;height:12px}
.dprog{display:flex;gap:3px}.dprog i{flex:1;height:4px;border-radius:2px;background:var(--hover-2)}.dprog i.on{background:#d9730d}

@media (max-width:1100px){main{padding:56px 48px 140px}}
@media (max-width:900px){.layout{grid-template-columns:1fr;gap:10px}.aside-col{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.aside-col .block-h{margin-top:20px}.aside-col .block-h:nth-child(3){margin-top:0}}

/* ---------- telefoon ---------- */
.mnav,.az,.m-only{display:none}
@media (max-width:760px){
  .topbar,.pc-only,.aside-col{display:none!important}
  .m-only{display:block}
  main{padding:calc(env(safe-area-inset-top) + 18px) 16px calc(96px + env(safe-area-inset-bottom))}
  .page-title{font-size:32px;margin:6px 0 4px}.page-title span{display:none}
  .subtitle{margin:0 0 12px;font-size:13px}
  .layout{display:block}
  .callout{margin-bottom:16px;padding:12px 14px}
  .block{margin-bottom:22px}
  .db-head h2{font-size:18px}
  .msearch{position:sticky;top:0;z-index:5;background:var(--bg);padding:8px 16px;margin:0 -16px}
  .msearch .searchbox{min-width:0;height:40px;border-radius:10px}.msearch .searchbox input{font-size:16px}
  .mfilters{display:flex;gap:6px;overflow-x:auto;padding:4px 16px 8px;scrollbar-width:none;margin:0 -16px}
  .mfilters::-webkit-scrollbar{display:none}
  .chip{flex:none;height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--line-2);color:var(--muted);font-size:13.5px;display:inline-flex;align-items:center;gap:5px}
  .chip.active{background:var(--strong);color:var(--bg);border-color:transparent;font-weight:600}
  .group-h{position:sticky;top:56px;z-index:3;background:var(--bg);font-size:13px;font-weight:700;color:var(--muted);padding:8px 2px 4px;border-bottom:1px solid var(--line)}
  .mrow{display:flex;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid var(--line);width:100%}
  .mrow:active{background:var(--hover)}
  .mrow .av{width:42px;height:42px;font-size:15px}
  .mrow .txt{flex:1;min-width:0}
  .mrow b{display:block;color:var(--strong);font-weight:600;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mrow small{display:block;color:var(--muted);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mrow .chev{color:var(--dim)}
  .feed button{padding:9px 6px}
  .az{display:flex;flex-direction:column;position:fixed;right:2px;top:50%;transform:translateY(-50%);z-index:20;font-size:10.5px;font-weight:700;color:var(--blue);touch-action:none;padding:4px 2px}
  .az span{padding:0 4px;line-height:1.45;text-align:center}
  .mfilters.stages{padding-top:0}.chip span{opacity:.6}
  html,body{overflow-x:hidden;-webkit-text-size-adjust:100%}
  input,select,textarea{font-size:16px!important}   /* iPhone zoomt anders in bij typen */
  .msearch .searchbox input{-webkit-appearance:none;appearance:none}
  .mrow{padding-right:22px}
  .group-h{top:56px}
  .dtf{width:100%}.dtf input{height:44px;flex:1}.dtf input[type=date]{width:auto;flex:1.4}.dtf input[type=time]{width:auto}
  .owndt{flex-direction:column;align-items:stretch}
  .follow{flex-direction:column;align-items:stretch}.fquick button{height:32px;flex:1}
  .peek-top .ptools .btn.sm{height:32px}
  .actsheet .aopt,.actsheet .sopt{padding:13px 12px}
  .modal{max-height:92vh}.modal-body{max-height:calc(92vh - 60px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  .modal-actions{flex-wrap:wrap}.modal-actions .msg{width:100%;order:-1}
  .modal-actions .btn.danger{flex:0 0 auto;margin-right:0}
  .dcard .dmore{top:8px;right:8px}
  .composer .tabs button{flex:1;justify-content:center}
  .outcomes{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.outcomes button{flex:none;height:30px}
  .quick{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.quick button{flex:none}
  .props dd{word-break:break-word}
  .quick,.outcomes,.mfilters{scrollbar-width:none}.quick::-webkit-scrollbar,.outcomes::-webkit-scrollbar{display:none}
  .tmeta{white-space:normal;line-height:1.4}
  .tt b{white-space:normal}
  .feed .t{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .feed button{align-items:flex-start}.feed time{margin-top:2px}
  .hero h2{word-break:break-word}
  .mnav button{position:relative}
  .mnav em{position:absolute;top:0;left:calc(50% + 6px);font-style:normal;font-size:10px;font-weight:700;background:var(--red);color:#fff;border-radius:9px;min-width:17px;height:17px;line-height:17px;padding:0 4px;text-align:center}
  .mnav em:empty{display:none}
  .dcard{margin-bottom:6px}
  .trow{padding:9px 0}.tcheck{width:24px;height:24px}
  .tform>input{height:44px;font-size:16px}
  .quick button{height:32px}
  .composer .row .markas{flex:1}.composer .row .markas .btn{width:100%;justify-content:center;height:40px}
  .newmenu button{padding:16px}
  .herotags{justify-content:center}
  .mnav{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:40;background:color-mix(in srgb,var(--bg-2) 88%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
  .mnav button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--muted);padding:4px 0}
  .mnav button .i{width:23px;height:23px}.mnav button.active{color:var(--blue)}
  .mnav .mnav-add{width:52px;height:52px;margin:-18px auto 0;border-radius:50%;background:var(--blue);color:#fff;justify-content:center;box-shadow:0 6px 18px rgba(35,131,226,.45)}
  .mnav .mnav-add .i{width:26px;height:26px}
  .peek-backdrop{background:rgba(0,0,0,.4);align-items:flex-end}
  .peek{width:100vw;height:auto;max-height:95vh;border-radius:16px 16px 0 0;padding:8px 18px calc(30px + env(safe-area-inset-bottom));animation:sheetin .22s ease-out}
  @keyframes sheetin{from{transform:translateY(40px);opacity:.5}}
  .grip{width:38px;height:5px;border-radius:3px;background:var(--line-2);margin:0 auto 4px}
  .peek-top{margin:0 -8px 0}
  .hero{flex-direction:column;text-align:center;gap:8px}
  .peek h2{font-size:25px}
  .actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  .actions .btn{flex-direction:column;height:60px;justify-content:center;gap:4px;font-size:12px;border-radius:12px;background:var(--hover);border:0;padding:0}
  .actions .btn .i{width:22px;height:22px}
  .actions .btn.hs{background:rgba(255,122,89,.16);color:var(--hs)}
  .composer textarea{font-size:16px}
  .composer .row .btn{flex:1;justify-content:center;height:40px}
  .props{grid-template-columns:1fr;background:var(--hover);border-radius:12px;padding:4px 14px}
  .props dt{padding:9px 0 0;font-size:12.5px}.props dd{padding:0 0 9px;border-bottom:1px solid var(--line);font-size:15px}
  .copy{opacity:1}
  .backdrop{padding:0;align-items:flex-end}
  .modal{border-radius:16px 16px 0 0;max-height:94vh;overflow:auto;padding-bottom:env(safe-area-inset-bottom)}
  .grid2{grid-template-columns:1fr}
  .fld input,.fld select{height:44px;font-size:16px}
  .modal-actions .btn{height:44px;flex:1;justify-content:center}
  .set-block h2{font-size:18px}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom))}
}

.menu{max-height:min(380px,70vh);overflow-y:auto;z-index:20}

/* ===================== telefoon: overzichtelijker ===================== */
.mhero,.mact,.ptabs,.qadd,.msum,.srow,.fchips{display:none}
@media (max-width:760px){
  /* dashboard: kaarten */
  .msum{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:4px 0 18px}
  .msum button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:10px 4px;border-radius:14px;background:var(--bg-2);border:1px solid var(--line)}
  .msum b{font-size:22px;color:var(--strong);line-height:1.1}.msum span{font-size:11.5px;color:var(--muted)}
  .msum .bad b{color:var(--red)}
  main .block{background:var(--bg-2);border:1px solid var(--line);border-radius:16px;padding:12px 14px 6px;margin-bottom:14px}
  main .block .db-head{border-bottom:0;padding-bottom:4px;margin-bottom:2px}
  main .block .db-head h2{font-size:17px}
  main .block .db-head .hint{display:none}
  .trow{border-bottom-color:var(--line)}.tasks .trow:last-child{border-bottom:0}
  .stitle{margin:6px 0 6px}
  .stiles{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px;scrollbar-width:none;margin:0 -14px;padding-left:14px;padding-right:14px}
  .stiles::-webkit-scrollbar{display:none}
  .stile{flex:0 0 112px;padding:10px 12px}.stile .snum{font-size:24px}
  /* contacten: zoeken + filterknop */
  .srow{display:flex;gap:8px;align-items:center}.srow .searchbox{flex:1}
  .fbtn{position:relative;width:44px;height:40px;border-radius:10px;background:var(--hover);display:inline-flex;align-items:center;justify-content:center;color:var(--muted);flex:none}
  .fbtn.on{background:var(--blue);color:#fff}.fbtn .i{width:20px;height:20px}
  .fbtn em{position:absolute;top:-4px;right:-4px;font-style:normal;font-size:10px;font-weight:700;background:var(--red);color:#fff;border-radius:9px;min-width:17px;height:17px;line-height:17px;text-align:center}
  .fchips{display:flex;gap:6px;flex-wrap:wrap;padding-top:8px}.fchips .chip .i{width:12px;height:12px}
  .mfilters{display:none}
  .fsheet{display:flex;flex-direction:column;gap:2px;padding-bottom:20px}
  .fopt{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;border-radius:10px;text-align:left}
  .fopt span{flex:1}.fopt small{color:var(--muted)}.fopt>.i{color:var(--blue);opacity:0}.fopt.on{background:var(--hover)}.fopt.on>.i{opacity:1}.fopt.on span{font-weight:600;color:var(--strong)}
  .fdone{margin-top:14px;height:48px;justify-content:center;font-size:16px}
  .mrow{padding:12px 22px 12px 2px}.mrow .mtags{margin-top:3px}
  /* persoon: kop, knoppen, tabbladen */
  .peek{padding-top:6px}
  .mhero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin-top:-6px}
  .mhero .av.lg{width:64px;height:64px;font-size:22px}
  .mhero h2{font-size:24px;margin:6px 0 0}.mhero .sub{margin:0;color:var(--muted)}
  .mhero .herotags{justify-content:center;margin-top:6px}
  .mact{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 14px}
  .mact>a,.mact>button,.mact>span{display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 0;border-radius:14px;background:var(--hover);color:var(--blue);font-size:12px;font-weight:500}
  .mact .i{width:22px;height:22px}.mact span span{color:var(--text)}
  .mact .off{opacity:.35;color:var(--muted)}
  .mact .plus{background:var(--blue);color:#fff}.mact .plus span{color:#fff}
  .ptabs{display:flex;position:sticky;top:-6px;z-index:4;background:var(--bg);margin:0 -18px 12px;padding:0 18px;border-bottom:1px solid var(--line)}
  .ptabs button{flex:1;text-align:center;padding:11px 0 10px;color:var(--muted);font-size:14.5px;font-weight:500;position:relative}
  .ptabs button.active{color:var(--strong)}
  .ptabs button.active::after{content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:2.5px;border-radius:2px;background:var(--blue)}
  .ptabs em{font-style:normal;font-size:11px;color:var(--muted);background:var(--hover-2);border-radius:8px;padding:0 6px;margin-left:3px}
  .qadd{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
  .qadd button{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;border-radius:12px;border:1px solid var(--line-2);font-weight:500}
  .qadd .i{width:17px;height:17px;color:var(--blue)}
  .ppane .sec-h{margin-top:18px}
  .actseg{display:flex;margin-bottom:6px}.actseg button{flex:1;text-align:center;padding:7px}
  .infobtns{display:grid;gap:8px;margin-top:14px}.infobtns .btn{height:44px;justify-content:center}
  #cdeals .sec-h,#ctasks .sec-h{margin-top:0}
  /* opstel-blad */
  .cmpbody{padding:0 12px 16px}
  .cmpbody .composer{border:0;background:transparent}
  .cmpbody .composer textarea{min-height:140px;border:1px solid var(--line-2);border-radius:10px;margin:10px 0;background:var(--bg-2)}
  .cmpbody .composer .row{border-top:0;padding:4px 0}
  .cmpbody .composer .tabs{padding:0;margin:0 -12px;padding:0 12px}
  .cmpbody .composer .row .btn.hs{height:48px;font-size:16px}
}
/* ---------- Tjoyzz / Value Chain, soort, persoonlijk, logo's ---------- */
.fsheet{display:flex;flex-direction:column;gap:2px;max-height:72vh;overflow:auto}
.fopt{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:8px;text-align:left}
.fopt:hover{background:var(--hover-2)}.fopt span{flex:1}.fopt small{color:var(--muted)}.fopt>.i{color:var(--blue);opacity:0;width:16px;height:16px}
.fopt.on{background:var(--hover)}.fopt.on>.i{opacity:1}.fopt.on span{font-weight:600;color:var(--strong)}
.fsheet .ahead{margin-top:10px}.fsheet .fdone{margin-top:12px}
.table td.tagcell{white-space:normal;max-width:none}.tagcell .tag{margin:1px 3px 1px 0}
.av.logo{background:#fff;overflow:hidden;border:1px solid var(--line)}
.av.logo img{width:80%;height:80%;object-fit:contain;display:block}
.pill.fpill{margin-left:auto;border:1px solid var(--line-2);border-radius:6px;padding:5px 10px;margin-bottom:5px;align-self:center}
.pill.fpill .i{width:15px;height:15px}.pill.fpill.on{color:var(--text);border-color:var(--text);font-weight:500}
.pill.fclear{padding:5px 6px;margin-bottom:5px;align-self:center}.pill.fclear .i{width:14px;height:14px}
.tg{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--line-2);color:var(--muted);font-size:13.5px;background:transparent;cursor:pointer}
.tg:hover{color:var(--text);background:var(--hover)}.tg .i{width:14px;height:14px}
.tg.on{color:#fff;border-color:transparent;font-weight:600}
.tg.on.orange{background:#d9730d}.tg.on.blue{background:#337ea9}.tg.on.green{background:#448361}.tg.on.purple{background:#9065b0}
.tgrow{display:flex;gap:8px;flex-wrap:wrap}
.tzbox{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:14px 0;display:flex;flex-direction:column;gap:10px;background:var(--hover)}
.tzrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tzrow.top{align-items:flex-start}
.tzl{width:110px;flex:none;font-size:13px;color:var(--muted);display:inline-flex;align-items:center;gap:5px}.tzl .i{width:14px;height:14px}
.tzrow .grow{flex:1;min-width:200px}
.perstxt{width:100%;box-sizing:border-box;min-height:70px;border:1px solid var(--line-2);border-radius:6px;background:var(--bg);padding:8px 10px;outline:0;resize:vertical;font-size:14px;line-height:1.5}
.perstxt:focus{border-color:var(--text)}
.persbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.aopt.danger,.aopt.danger .i{color:var(--red)}
@media (max-width:760px){.tzl{width:100%}.tzbox{margin:12px 0}}

/* ---------- inlogscherm in het venster op tjoyzz.nl/intranet ---------- */
#elogin{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#191919;color:rgba(255,255,255,.81);font-family:ui-sans-serif,-apple-system,"Segoe UI",sans-serif}
#elogin main{width:min(440px,90vw)!important;max-width:none!important;margin:0!important;padding:0!important;text-align:center}#elogin h1{font-size:30px;margin:14px 0 6px;color:#fff;letter-spacing:-.3px}
#elogin p{color:rgba(255,255,255,.46);line-height:1.55}#elogin img{width:56px;height:56px}
#elogin a.b{display:block;padding:13px;border-radius:8px;background:#ff7a59;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin-top:18px}
#elogin .m{color:#f2c94c;min-height:22px}#elogin small{color:rgba(255,255,255,.28)}
