
:root{
  --ot-cream:#fbf6ea;--ot-card:#fffdf8;--ot-honey:#d89a16;--ot-honey2:#f1bf4d;
  --ot-brown:#4d351e;--ot-brown2:#735333;--ot-line:#e8dcc6;--ot-green:#536b49;
  --ot-red:#8f4c3d;--ot-shadow:0 10px 28px rgba(74,51,29,.09);
}
.otwe-app{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ot-brown);background:var(--ot-cream);border-radius:26px;overflow:hidden;max-width:1400px;margin:20px auto;box-shadow:var(--ot-shadow)}
.otwe-app *{box-sizing:border-box}
.otwe-hero{padding:34px 28px 26px;background:linear-gradient(135deg,#fff9e8,#f4d98f);position:relative;overflow:hidden}
.otwe-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:270px;height:270px;border-radius:50%;background:rgba(255,255,255,.38)}
.otwe-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-weight:800;color:var(--ot-brown2)}
.otwe-title{font-size:clamp(2rem,5vw,4rem);line-height:1.02;margin:8px 0 12px;font-weight:900;max-width:900px}
.otwe-sub{max-width:850px;font-size:1.03rem;line-height:1.55;margin:0}
.otwe-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.otwe-stat{background:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.8);padding:10px 14px;border-radius:14px;font-weight:700}
.otwe-toolbar{padding:20px 24px;background:#fff;border-bottom:1px solid var(--ot-line);position:sticky;top:0;z-index:20}
.otwe-toolbar-grid{display:grid;grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(145px,.7fr));gap:10px}
.otwe-input,.otwe-select,.otwe-batch{width:100%;border:1px solid var(--ot-line);background:#fff;padding:12px 13px;border-radius:12px;font:inherit;color:var(--ot-brown);outline:none}
.otwe-input:focus,.otwe-select:focus,.otwe-batch:focus{border-color:var(--ot-honey);box-shadow:0 0 0 3px rgba(216,154,22,.13)}
.otwe-filterrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;align-items:center}
.otwe-chip{border:1px solid var(--ot-line);background:#fff;padding:8px 12px;border-radius:999px;cursor:pointer;font-weight:700;color:var(--ot-brown)}
.otwe-chip.active{background:var(--ot-brown);color:#fff;border-color:var(--ot-brown)}
.otwe-count{margin-left:auto;font-size:.9rem;color:var(--ot-brown2)}
.otwe-main{padding:22px}
.otwe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.otwe-card{background:var(--ot-card);border:1px solid var(--ot-line);border-radius:18px;padding:17px;box-shadow:0 4px 14px rgba(74,51,29,.05);display:flex;flex-direction:column;min-height:230px;transition:.18s ease}
.otwe-card:hover{transform:translateY(-2px);box-shadow:var(--ot-shadow)}
.otwe-cardtop{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.otwe-source{font-size:.76rem;font-weight:800;background:#f4e2ae;padding:6px 9px;border-radius:999px;display:inline-block}
.otwe-fav{border:0;background:transparent;font-size:1.45rem;cursor:pointer;line-height:1;color:#9c8b73}
.otwe-fav.on{color:#b04435}
.otwe-card h3{font-size:1.12rem;line-height:1.25;margin:14px 0 7px}
.otwe-card p{font-size:.92rem;line-height:1.45;color:#6f5a43;margin:0 0 14px}
.otwe-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}
.otwe-badge{font-size:.74rem;font-weight:800;border-radius:999px;padding:5px 8px;background:#eee7dc}
.otwe-badge.home{background:#e5efdf;color:#405e38}
.otwe-badge.care{background:#fff0c9;color:#805b08}
.otwe-badge.pro{background:#f3ded8;color:#7a3d31}
.otwe-open{margin-top:14px;width:100%;border:0;border-radius:12px;padding:10px 12px;background:var(--ot-honey);color:#21180e;font-weight:900;cursor:pointer}
.otwe-open:hover{filter:brightness(.97)}
.otwe-empty{background:#fff;border:1px dashed var(--ot-line);border-radius:18px;padding:30px;text-align:center}
.otwe-modal{position:fixed;inset:0;background:rgba(37,26,16,.55);z-index:99999;padding:18px;display:none;align-items:center;justify-content:center}
.otwe-modal.show{display:flex}
.otwe-dialog{width:min(900px,100%);max-height:92vh;background:#fffdf8;border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.25);display:flex;flex-direction:column}
.otwe-dialog-head{padding:20px 22px;background:linear-gradient(135deg,#fff9e8,#f4d98f);display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.otwe-dialog-head h2{margin:4px 0 0;font-size:1.7rem;line-height:1.15}
.otwe-close{border:0;background:rgba(255,255,255,.8);width:38px;height:38px;border-radius:50%;font-size:1.4rem;cursor:pointer}
.otwe-dialog-body{padding:22px;overflow:auto}
.otwe-section{margin:0 0 22px}
.otwe-section h4{font-size:1rem;text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px;color:var(--ot-brown2)}
.otwe-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--ot-line);border-radius:12px;overflow:hidden}
.otwe-table td,.otwe-table th{padding:10px 12px;border-bottom:1px solid var(--ot-line);text-align:left}
.otwe-table tr:last-child td{border-bottom:0}
.otwe-table td:last-child,.otwe-table th:last-child{text-align:right;white-space:nowrap}
.otwe-steps{padding-left:22px;margin:0}
.otwe-steps li{margin:0 0 9px;line-height:1.48}
.otwe-note{background:#fff3cf;border-left:4px solid var(--ot-honey);padding:13px 14px;border-radius:10px;line-height:1.5}
.otwe-warning{background:#f8e8e3;border-left:4px solid var(--ot-red);padding:13px 14px;border-radius:10px;line-height:1.5}
.otwe-batchrow{display:grid;grid-template-columns:1fr 160px;gap:12px;align-items:end}
.otwe-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.otwe-action{border:1px solid var(--ot-line);background:#fff;padding:10px 14px;border-radius:11px;font-weight:800;cursor:pointer}
.otwe-action.primary{background:var(--ot-brown);color:#fff;border-color:var(--ot-brown)}
.otwe-footer{padding:18px 24px 28px;color:#705c44;font-size:.86rem;line-height:1.5}
@media(max-width:1100px){.otwe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.otwe-toolbar-grid{grid-template-columns:1.5fr 1fr 1fr}.otwe-toolbar-grid .otwe-select:last-child{grid-column:auto}}
@media(max-width:800px){.otwe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.otwe-toolbar-grid{grid-template-columns:1fr 1fr}.otwe-input{grid-column:1/-1}.otwe-title{font-size:2.35rem}.otwe-toolbar{position:static}}
@media(max-width:560px){.otwe-app{margin:0;border-radius:0}.otwe-hero{padding:26px 18px 22px}.otwe-toolbar{padding:16px}.otwe-toolbar-grid{grid-template-columns:1fr}.otwe-input{grid-column:auto}.otwe-main{padding:14px}.otwe-grid{grid-template-columns:1fr}.otwe-count{width:100%;margin-left:0}.otwe-modal{padding:0}.otwe-dialog{height:100%;max-height:none;border-radius:0}.otwe-batchrow{grid-template-columns:1fr}.otwe-dialog-body{padding:17px}}
@media print{
  body *{visibility:hidden!important}
  .otwe-dialog,.otwe-dialog *{visibility:visible!important}
  .otwe-modal{position:absolute;inset:0;background:#fff;padding:0;display:block!important}
  .otwe-dialog{width:100%;max-height:none;box-shadow:none;border-radius:0}
  .otwe-close,.otwe-actions{display:none!important}
}

/* DDDTech Apps-integratie V1.0.1 */
.otwe-apps-addition{
  max-width:1400px;
  margin:18px auto 28px;
  padding:0 18px;
}
.otwe-apps-tile{
  display:block;
  position:relative;
  overflow:hidden;
  text-decoration:none !important;
  color:#4d351e !important;
  background:linear-gradient(135deg,#fff9e8,#f4d98f);
  border:1px solid #e8dcc6;
  border-radius:20px;
  padding:22px;
  box-shadow:0 8px 22px rgba(74,51,29,.08);
  transition:transform .18s ease,box-shadow .18s ease;
}
.otwe-apps-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(74,51,29,.12);
}
.otwe-apps-tile:after{
  content:"";
  position:absolute;
  width:130px;height:130px;
  right:-36px;top:-46px;
  border-radius:50%;
  background:rgba(255,255,255,.42);
}
.otwe-apps-eyebrow{
  display:inline-block;
  font-size:.75rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#735333;
  margin-bottom:7px;
}
.otwe-apps-tile h2{
  margin:0 0 8px;
  color:#4d351e;
  font-size:clamp(1.25rem,3vw,1.7rem);
  line-height:1.15;
}
.otwe-apps-tile p{
  max-width:760px;
  margin:0 0 14px;
  color:#6f5a43;
  line-height:1.5;
}
.otwe-apps-open{
  display:inline-block;
  font-weight:900;
  color:#4d351e;
}
@media(max-width:560px){
  .otwe-apps-addition{padding:0 14px;margin:14px auto 22px}
  .otwe-apps-tile{padding:18px;border-radius:16px}
}
