body:has(.m-app) .dashboard-header,body:has(.m-app) .dashboard-content,body:has(.m-app) .dashboard-container,body:has(.m-app) .sidebar{display:none!important}body:has(.m-app) #willem-chat-root .willem-toggle{display:none!important}body:has(.m-app) #willem-chat-root{z-index:9999}.m-app{position:fixed;inset:0;display:flex;flex-direction:column;background:#f8fafb;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;color:#1a2332}.m-statusbar{height:env(safe-area-inset-top,0px);background:#fff;flex-shrink:0}.m-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#fff;border-bottom:1px solid #eef1f5;flex-shrink:0;z-index:50}.m-header-left{display:flex;align-items:center;gap:10px}.m-logo{height:26px;width:auto}.m-header-right{display:flex;align-items:center;gap:12px}.m-tenant{font-size:12px;color:#8694a7;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-avatar{width:34px;height:34px;border-radius:50%;border:2px solid #d1fae5;background:#ecfdf5;color:#065f46;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s}.m-avatar:active{transform:scale(.92)}.m-menu{position:fixed;top:0;right:0;bottom:0;width:280px;max-width:80vw;z-index:200;background:#fff;box-shadow:-8px 0 30px #0000001f;padding:24px 16px;display:flex;flex-direction:column;gap:4px;transform:translate(100%);transition:transform .28s cubic-bezier(.4,0,.2,1)}.m-menu.open{transform:translate(0)}.m-menu-header{font-size:12px;color:#8694a7;padding:8px 12px 16px;border-bottom:1px solid #eef1f5;margin-bottom:8px;word-break:break-all}.m-menu-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#374151;text-decoration:none;font-size:14px;font-weight:500;cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:background .12s}.m-menu-item:active{background:#f3f4f6}.m-menu-item svg{color:#8694a7;flex-shrink:0}.m-menu-divider{height:1px;background:#eef1f5;margin:8px 0}.m-menu-danger{color:#ef4444}.m-menu-danger svg{color:#ef4444}.m-menu-backdrop{position:fixed;inset:0;background:#0000004d;z-index:199;opacity:0;visibility:hidden;transition:opacity .28s,visibility 0s .28s}.m-menu-backdrop.open{opacity:1;visibility:visible;transition-delay:0s}.m-content{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:20px 20px 0;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.m-greeting{margin-bottom:20px}.m-greeting h1{font-size:26px;font-weight:800;color:#0f172a;letter-spacing:-.02em;line-height:1.15;margin:0}.m-greeting-sub{font-size:14px;color:#8694a7;margin:4px 0 0}.m-concept-banner{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 16px;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:14px;margin-bottom:20px;cursor:pointer;transition:transform .12s;-webkit-user-select:none;user-select:none;text-align:left;font-family:inherit;color:inherit}.m-concept-banner:active{transform:scale(.98)}.m-concept-banner.hidden{display:none}.m-concept-banner-left{display:flex;align-items:center;gap:12px}.m-concept-banner-badge{width:36px;height:36px;border-radius:10px;background:#f59e0b;color:#fff;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.m-concept-banner-text strong{display:block;font-size:14px;font-weight:700;color:#78350f}.m-concept-banner-text span{font-size:12px;color:#92400e}.m-concept-banner>svg{color:#92400e;flex-shrink:0}.m-actions{margin-bottom:20px}.m-action-primary{display:flex;align-items:center;gap:16px;width:100%;padding:18px 20px;background:linear-gradient(135deg,#0d9488,#0f766e);border:none;border-radius:16px;cursor:pointer;transition:transform .12s,box-shadow .12s;box-shadow:0 4px 14px #0d94884d;text-align:left;font-family:inherit}.m-action-primary:active{transform:scale(.97);box-shadow:0 2px 8px #0d948833}.m-action-primary-icon{width:52px;height:52px;background:#fff3;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.m-action-primary-text strong{display:block;font-size:16px;font-weight:700;color:#fff}.m-action-primary-text span{font-size:13px;color:#ffffffbf}.m-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px}.m-tile{background:#fff;border-radius:14px;padding:18px 14px;display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:#1a2332;border:1px solid #eef1f5;cursor:pointer;text-align:center;transition:transform .12s,box-shadow .12s;-webkit-user-select:none;user-select:none;font-family:inherit}.m-tile:active{transform:scale(.96);box-shadow:0 2px 12px #0000000f}.m-tile-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;overflow:hidden}.m-tile-icon img{width:100%;height:100%;object-fit:cover;border-radius:14px}.m-tile-willem{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8}.m-tile-sales{background:#d1fae5;color:#065f46}.m-tile-concept{background:#fef3c7;color:#92400e}.m-tile-quote{background:#ede9fe;color:#5b21b6}.m-tile-relations{background:#fce7f3;color:#9d174d}.m-tile-purchase{background:#ffedd5;color:#9a3412}.m-tile-saleslist{background:#dcfce7;color:#166534}.m-tile-payments{background:#e0e7ff;color:#3730a3}.m-tile-label{font-size:13px;font-weight:700;line-height:1.2}.m-tile-sub{font-size:11px;color:#8694a7;margin-top:-4px}.m-section{margin-bottom:24px}.m-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.m-section-header h2{font-size:16px;font-weight:700;color:#0f172a;margin:0}.m-section-header a{font-size:13px;color:#0d9488;text-decoration:none;font-weight:600}.m-list{display:flex;flex-direction:column;gap:8px}.m-list-item{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fff;border-radius:12px;border:1px solid #eef1f5;text-decoration:none;color:inherit;transition:transform .1s}.m-list-item:active{transform:scale(.98)}.m-list-item-left{display:flex;flex-direction:column;gap:2px;min-width:0}.m-list-item-number{font-size:14px;font-weight:600;color:#0f172a}.m-list-item-contact{font-size:12px;color:#8694a7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-list-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.m-list-item-amount{font-size:14px;font-weight:700;color:#0f172a}.m-list-item-status{font-size:10px;font-weight:600;padding:2px 8px;border-radius:20px;text-transform:capitalize}.m-list-item-status.draft,.m-list-item-status.concept{background:#f1f5f9;color:#64748b}.m-list-item-status.sent{background:#dbeafe;color:#2563eb}.m-list-item-status.paid{background:#d1fae5;color:#059669}.m-list-item-status.partial{background:#fef3c7;color:#d97706}.m-list-item-status.overdue{background:#fee2e2;color:#dc2626}.m-list-item-status.booked{background:#d1fae5;color:#059669}.m-list-empty{text-align:center;padding:32px 16px;color:#8694a7;font-size:13px}.m-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:stretch;justify-content:space-around;background:#fff;border-top:1px solid #eef1f5;padding-bottom:env(safe-area-inset-bottom,0px);height:68px;box-shadow:0 -2px 16px #0000000a}.m-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#94a3b8;text-decoration:none;font-size:10px;font-weight:600;cursor:pointer;border:none;background:none;padding:0;font-family:inherit;transition:color .15s;-webkit-user-select:none;user-select:none}.m-nav-item svg{width:22px;height:22px}.m-nav-item.active,.m-nav-item:active{color:#0d9488}.m-nav-scan-ring{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#0d9488,#0f766e);display:flex;align-items:center;justify-content:center;margin-top:-16px;box-shadow:0 4px 12px #0d948859;transition:transform .12s}.m-nav-scan-ring svg{width:20px;height:20px;color:#fff}#nav-scan-btn:active .m-nav-scan-ring{transform:scale(.92)}#nav-scan-btn span{margin-top:-2px}.m-nav-willem{width:30px;height:30px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#dbeafe,#bfdbfe);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#1d4ed8}.m-nav-willem img{width:100%;height:100%;object-fit:cover}.m-sheet{position:fixed;inset:0;z-index:300;display:flex;flex-direction:column;justify-content:flex-end;visibility:hidden;pointer-events:none}.m-sheet.open{visibility:visible;pointer-events:auto}.m-sheet-backdrop{position:absolute;inset:0;background:#00000073;opacity:0;transition:opacity .25s}.m-sheet.open .m-sheet-backdrop{opacity:1}.m-sheet-panel{position:relative;background:#fff;border-radius:20px 20px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.m-sheet.open .m-sheet-panel{transform:translateY(0)}.m-sheet-handle{width:36px;height:4px;background:#d1d5db;border-radius:99px;margin:0 auto 16px}.m-sheet-title{font-size:18px;font-weight:700;text-align:center;margin:0 0 20px;color:#0f172a}.m-sheet-options{display:flex;flex-direction:column;gap:10px}.m-sheet-option{display:flex;align-items:center;gap:14px;padding:16px;background:#f8fafb;border-radius:14px;border:1px solid #eef1f5;cursor:pointer;transition:background .12s;width:100%;text-align:left;font-family:inherit;color:inherit}.m-sheet-option:active{background:#eef1f5}.m-sheet-option-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.m-icon-camera{background:#d1fae5;color:#065f46}.m-icon-file{background:#dbeafe;color:#1d4ed8}.m-sheet-option strong{display:block;font-size:14px;font-weight:600;color:#0f172a}.m-sheet-option span{font-size:12px;color:#8694a7}.m-sheet-progress{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 16px}.m-sheet-progress.hidden{display:none}.m-spinner{width:36px;height:36px;border:3px solid #e5e7eb;border-top-color:#0d9488;border-radius:50%;animation:m-spin .7s linear infinite}@keyframes m-spin{to{transform:rotate(360deg)}}.m-sheet-progress p{font-size:14px;color:#8694a7}.m-sheet-choice{display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:8px}.m-sheet-choice.hidden{display:none}.m-sheet-choice-check{width:56px;height:56px;border-radius:50%;background:#d1fae5;color:#059669;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.m-sheet-choice-text{font-size:15px;font-weight:600;color:#0f172a;margin-bottom:8px}.m-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;border:none;font-family:inherit;transition:transform .1s,background .12s}.m-btn:active{transform:scale(.98)}.m-btn-primary{background:#0d9488;color:#fff}.m-btn-primary:active{background:#0f766e}.m-btn-outline{background:#fff;color:#374151;border:1.5px solid #d1d5db}.m-btn-outline:active{background:#f3f4f6}.m-btn-ghost{background:none;color:#8694a7}.m-popup-overlay{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;background:#0006;padding:24px;animation:m-fade-in .2s ease}.m-popup-overlay.hidden{display:none}.m-popup{background:#fff;border-radius:20px;padding:28px 24px 24px;max-width:340px;width:100%;text-align:center;box-shadow:0 20px 60px #00000026;animation:m-slide-up .3s cubic-bezier(.4,0,.2,1)}.m-popup-icon{width:56px;height:56px;border-radius:50%;background:#fef3c7;color:#f59e0b;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.m-popup h3{font-size:18px;font-weight:700;color:#0f172a;margin:0 0 6px}.m-popup p{font-size:14px;color:#8694a7;margin:0 0 20px;line-height:1.5}.m-popup-actions{display:flex;flex-direction:column;gap:8px}@keyframes m-fade-in{0%{opacity:0}to{opacity:1}}@keyframes m-slide-up{0%{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@media(min-width:769px){.m-app:before{content:"Deze pagina is geoptimaliseerd voor mobiel. ";display:flex;align-items:center;justify-content:center;position:fixed;inset:0;background:#f8fafb;color:#8694a7;font-size:16px;z-index:9999;text-align:center;padding:32px}.m-app:after{content:"Ga naar het dashboard →";position:fixed;top:calc(50% + 24px);left:50%;transform:translate(-50%);z-index:10000;color:#0d9488;font-weight:600;font-size:16px;cursor:pointer}}
