:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#111827;background-color:#f3f4f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-light: #eff6ff;--primary-border: #bfdbfe;--success: #059669;--success-light: #ecfdf5;--warning: #f59e0b;--warning-light: #fffbeb;--danger: #ef4444;--danger-light: #fef2f2;--info: #3b82f6;--text-dark: #111827;--text-secondary: #374151;--text-muted: #6b7280;--text-light: #94a3b8;--bg-page: #f3f4f6;--bg-card: #ffffff;--bg-muted: #f8fafc;--border: #e5e7eb;--border-light: #f1f5f9;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -1px rgba(0, 0, 0, .04)}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;overflow:hidden}body{background-color:var(--bg-page);min-width:320px;color:var(--text-dark)}#root{height:100vh;width:100vw;display:flex;flex-direction:column;overflow:hidden}a{font-weight:500;color:var(--primary);text-decoration:none;transition:color .25s}a:hover{color:var(--primary-hover)}h1,h2,h3,h4,h5,h6{margin:0;font-weight:700}h1{font-size:2rem;line-height:1.2}p{margin:0}.app-layout h1,.app-layout h2,.app-layout h3,.app-layout h4,.app-layout h5,.app-layout h6,.app-layout p{color:var(--text-dark)}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:6px;border:1px solid transparent;padding:.45em .9em;font-size:.95rem;font-weight:500;font-family:inherit;background-color:var(--primary);color:#fff;cursor:pointer;transition:background-color .25s,border-color .25s,opacity .25s,transform .1s;line-height:1.2}button:hover:not(:disabled),.btn:hover:not(:disabled){background-color:var(--primary-hover);transform:translateY(-1px)}button:disabled,.btn:disabled{opacity:.6;cursor:not-allowed}button:focus,button:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.btn-secondary{background-color:#f3f4f6;color:var(--text-dark);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-link{background:none;border:none;color:var(--primary);padding:0;font-weight:500}.btn-link:hover{text-decoration:underline}.btn-icon{width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background-color:#eff6ff;border:1px solid #bfdbfe;color:var(--primary);font-size:13px;transition:background-color .2s,transform .1s;margin:0 5px}.btn-icon:hover{background-color:#dbeafe;transform:translateY(-1px)}.table-actions{display:flex;gap:6px;align-items:center;justify-content:center}input,textarea,select{font-family:inherit;font-size:1rem;border:1px solid var(--border);border-radius:8px;padding:10px 12px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s;background-color:var(--bg-card);color:var(--text-dark)}input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb33;outline:none}input::placeholder,textarea::placeholder{color:var(--text-muted)}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:6px 10px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}th{background-color:#f9fafb;font-weight:600}tr:hover{background-color:#f3f4f6}.visit-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:20px 24px;box-shadow:var(--shadow-sm);margin-top:12px}.visit-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.visit-header h3{margin:0;font-size:1.1rem;color:var(--text-dark)}.visit-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:6px}.visit-actions .btn{font-size:.9rem;padding:6px 12px;border-radius:6px;height:34px}.visit-table{width:100%;border-collapse:collapse;font-size:.9rem}.visit-table th,.visit-table td{padding:6px 10px;border-bottom:1px solid var(--border)}.visit-footer{margin-top:8px;font-size:.85rem;color:var(--text-muted);text-align:right}@media(prefers-color-scheme:dark){:root{color:#e5e7eb;background-color:#18181b;--bg-page: #18181b;--bg-card: #262626;--border: #3f3f46;--text-muted: #9ca3af;--text-dark: #f3f4f6}body{background-color:var(--bg-page)}.btn,button{background-color:#3b82f6}.btn:hover:not(:disabled),button:hover:not(:disabled){background-color:#2563eb}input,textarea,select{background-color:#1f1f23;color:#e5e7eb;border-color:var(--border)}th{background-color:#1f1f23}tr:hover{background-color:#2d2d30}}.mal-knapp,.template-button,button[class*=mal],button[class*=template]{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;border:2px solid #1d4ed8!important;font-weight:600!important;border-radius:10px!important;padding:12px 22px!important;font-size:1rem!important;box-shadow:0 3px 8px #2563eb59!important;transition:all .2s ease!important;text-shadow:0 1px 2px rgba(0,0,0,.25)!important}.mal-knapp:hover:not(:disabled),.template-button:hover:not(:disabled),button[class*=mal]:hover:not(:disabled),button[class*=template]:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e40af)!important;box-shadow:0 5px 12px #2563eb73!important;transform:translateY(-2px)!important}.mal-knapp:disabled,.template-button:disabled{background:#9ca3af!important;border-color:#6b7280!important;color:#f9fafb!important;opacity:.9!important;filter:none!important}button.mal-knapp,button.template-button{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important}button.mal-knapp.btn,button.template-button.btn,button[class*=mal].btn{all:unset;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;border:2px solid #1d4ed8!important;font-weight:600!important;border-radius:10px!important;padding:12px 22px!important;font-size:1rem!important;box-shadow:0 3px 8px #2563eb59!important;cursor:pointer!important}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{transition:background-color .2s ease,transform .1s ease}button:hover{transform:translateY(-1px)}button:active{transform:translateY(0)}@media(max-width:768px){html,body{overflow:auto;-webkit-overflow-scrolling:touch}#root{overflow:auto;height:auto;min-height:100vh}h1{font-size:1.4rem!important;line-height:1.3!important}h2{font-size:1.2rem!important}h3{font-size:1.05rem!important}main>div,main>section{padding-left:12px!important;padding-right:12px!important}[style*="padding: 24px"],[style*="padding: 20px 24px"],[style*="padding: 20px 40px"],[style*="padding:24px"],[style*="padding:20px 40px"]{padding:12px!important}[style*=grid-template-columns],[style*=gridTemplateColumns]{grid-template-columns:1fr!important}[style*="justify-content: space-between"],[style*=justifyContent]{flex-wrap:wrap!important}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap;font-size:.8rem}thead,tbody,tr{display:table;width:100%;table-layout:auto}thead{display:table-header-group}tbody{display:table-row-group}th,td{padding:6px 8px;font-size:.8rem}[style*=border-bottom]>button,[style*=borderBottom]>button{white-space:nowrap;flex-shrink:0;font-size:.85rem!important;padding:8px 12px!important}nav[style*="display: flex"],div[style*=border-bottom][style*="display: flex"],div[style*=borderBottom][style*="display: flex"]{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}div[style*=border-bottom][style*="display: flex"]::-webkit-scrollbar,div[style*=borderBottom][style*="display: flex"]::-webkit-scrollbar{display:none}div[style*="position: fixed"][style*=z-index],div[style*="position:fixed"][style*=zIndex]{padding:0!important}div[style*="position: fixed"]>div[style*=background],div[style*="position:fixed"]>div[style*=background]{width:100vw!important;max-width:100%!important;height:100vh!important;max-height:100%!important;border-radius:0!important;margin:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}button,.btn,a[style*=padding]{min-height:40px;font-size:.9rem!important}[style*="display: flex"][style*=gap]{flex-wrap:wrap!important}[style*="border-radius: 12px"],[style*="borderRadius: 12"],[style*="border-radius: 10px"],[style*="borderRadius: 10"]{border-radius:8px!important}[style*="justify-content: space-between"][style*=flex-wrap],[style*=justifyContent][style*=flexWrap]{gap:8px!important}input[type=text],input[type=search],input[type=email],input[type=password],input[type=tel],input[type=number],select,textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}.visit-card{padding:12px 14px}.visit-actions{flex-direction:column}.visit-actions .btn{width:100%}.visit-header{flex-direction:column;align-items:flex-start}.mal-knapp,.template-button,button[class*=mal],button[class*=template]{padding:10px 16px!important;font-size:.9rem!important;width:100%!important}body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}img{max-width:100%;height:auto}[style*="justify-content: space-between"][style*=border]{flex-direction:column!important;gap:8px!important}[style*="grid-template-columns: repeat"],[style*="gridTemplateColumns: repeat"]{grid-template-columns:1fr!important}[style*="max-width: 1200px"],[style*="maxWidth: 1200"],[style*="max-width: 2000px"],[style*="maxWidth: 2000"],[style*="max-width: 800px"],[style*="maxWidth: 800"],[style*="max-width: 600px"],[style*="maxWidth: 600"]{max-width:100%!important;width:100%!important}}
