@media (max-width:768px){.btn,.btn-action,.btn-danger,.btn-edit,.btn-outline,.btn-sm,.chat-btn,a.btn,button,select.form-control{min-height:44px;min-width:44px}input[type=date],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],select,textarea{font-size:16px!important;min-height:44px}#globalSearchInput,#notifPanel,.user-pill{width:100%!important}.main-header{position:sticky;top:0;z-index:100;background:var(--surface)}.header-top{flex-direction:row!important;flex-wrap:wrap;gap:8px!important;padding:10px 12px!important;align-items:center!important}.logo-area{flex:1;min-width:0}.logo-area h1.page-title{font-size:1rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#brand-logo{height:28px!important}.user-pill{flex-wrap:wrap;gap:6px!important;justify-content:flex-end!important;order:2}.user-email-label{display:none!important}#globalSearchWrap{order:-1;flex:1;min-width:0}#globalSearchInput{max-width:100%!important;font-size:14px!important;padding:8px 12px!important}#searchResults{position:fixed!important;top:auto!important;left:8px!important;right:8px!important;width:auto!important;max-width:100vw}#notifPanel{position:fixed!important;inset:auto 0 0!important;max-height:70vh!important;border-radius:16px 16px 0 0!important}.logout-btn{padding:6px 10px!important;font-size:.8rem}.nav-bar,.nav-bar-modern{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:6px!important;padding:8px 12px!important;margin:-10px 0 15px!important}.nav-bar-modern::-webkit-scrollbar,.nav-bar::-webkit-scrollbar{display:none}.nav-bar a,.nav-bar-modern a{white-space:nowrap;flex-shrink:0;padding:8px 12px!important;font-size:.8rem!important}}@media (max-width:480px){.container{padding:0 8px!important}.card,.page-card{border-radius:12px!important;margin-bottom:12px!important;border-left:none!important;border-right:none!important;border-top:4px solid var(--card-accent,var(--primary))!important}.page-header{padding:15px 15px 10px!important}.page-header h2{font-size:1.2rem!important}.page-intro{font-size:.8rem!important}}@media (max-width:768px){.doc-table-wrap,.table-container,div:has(> table.doc-table){overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -15px;padding:0 15px}.doc-table{min-width:600px;font-size:.75rem!important}.doc-table td,.doc-table th{padding:8px 6px!important;white-space:nowrap}.doc-table td:first-child,.doc-table th:first-child{position:sticky;left:0;background:inherit;z-index:2}}@media (max-width:480px){.stats-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:10px!important;padding:0 15px 15px!important}.stats-grid::-webkit-scrollbar{display:none}.stats-grid>*{flex:0 0 72vw!important;scroll-snap-align:start;min-width:72vw!important;max-width:72vw}.stats-grid>a{flex:0 0 72vw!important;min-width:72vw!important}.stats-grid>:last-child{margin-right:15px}.stats-grid>div>div:nth-child(2){font-size:1.6rem!important}.admin-pills{flex-direction:column!important;padding:0 12px 12px!important;gap:6px!important}div[style*="display:flex; gap:8px; overflow-x:auto"]{padding:0 12px 8px!important}.app-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;padding:0 12px!important}.app-card-modern{padding:15px 10px!important}.app-card-modern .app-icon{font-size:1.5rem!important}.app-card-modern .app-title{font-size:.75rem!important}.app-card-modern .app-desc{display:none}.form-grid,.grid-2{grid-template-columns:1fr!important;gap:0!important}.editor-section{padding:15px!important}div[style*="display:flex; gap:10px; flex-wrap:wrap"]{flex-direction:column!important}div[style*="display:flex; gap:10px; flex-wrap:wrap"]>div{width:100%!important}.input-label{font-size:.8rem!important}.modal-overlay{padding:10px!important}.modal-box,.modal-content,div[style*="width:360px"],div[style*="width:380px"],div[style*="width:400px"],div[style*="width:450px"],div[style*="width:480px"],div[style*="width:520px"],div[style*="width:550px"],div[style*="width:720px"],div[style*="width:850px"]{width:calc(100vw - 20px)!important;max-width:100%!important;max-height:90vh!important;border-radius:12px!important}.modal-box{padding:20px!important}.modal-box h3{font-size:1.1rem!important}}@media (max-width:768px){.page-card-chat>div:first-child{height:calc(100vh - 120px)!important}#chatSidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:200!important;width:280px!important;max-width:80vw!important;box-shadow:5px 0 20px rgb(0 0 0 / .15)!important}#sidebarToggle{display:inline-flex!important}div[style*="max-width:70%"]{max-width:85%!important}.chat-input{font-size:16px!important}div:has(> table[style*="font-size:0.75rem"]){overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 8px!important}div[style*="display:flex; justify-content:space-between"][style*="padding:0 25px 15px"]{flex-direction:column!important;gap:10px!important;padding:0 12px 12px!important;align-items:stretch!important}div[style*="display:flex; gap:15px; padding:0 25px 15px; flex-wrap:wrap"]{padding:0 12px 10px!important;gap:8px!important}}@media (max-width:480px){.action-bar,.dynamic-item-box{padding:12px!important}div[style*="display:inline-flex; gap:6px; align-items:center"]{flex-wrap:wrap!important;width:100%}#deeplImproveAllBtn{font-size:.8rem!important;padding:8px 12px!important}.action-bar{flex-direction:column!important;gap:8px!important}.action-bar .btn{width:100%!important;max-width:100%!important}.btn-delete-item{position:static!important;margin-bottom:10px}}@media (max-width:768px){div[style*="display:flex; flex-wrap:wrap; gap:15px; align-items:end"]{flex-direction:column!important;gap:8px!important;align-items:stretch!important}div[style*="display:flex; flex-wrap:wrap; gap:15px; align-items:end"]>div{width:100%!important}div[style*="display:flex; flex-wrap:wrap; gap:20px"]{gap:10px!important}div[style*="display:flex; flex-wrap:wrap; gap:20px"]>div{flex:1 1 calc(50% - 5px)!important;min-width:0!important;padding:12px!important}}@media (max-width:480px){.split-grid{flex-direction:column!important}.split-form,.split-list{padding:15px!important}div[style*="border:1px solid #e2e8f0; border-radius:12px; padding:20px"]{padding:12px!important}}@media (max-width:380px){.time-row{flex-direction:column!important}}@media (max-width:768px){div[style*="grid-template-columns: repeat(auto-fill, minmax(280px"]{grid-template-columns:1fr!important;gap:12px!important}.vehicle-card{padding:14px!important;margin-bottom:0!important}.input-box,.vehicle-header{margin-bottom:10px!important}.vehicle-name{font-size:.95rem!important}.input-box{padding:10px!important}.time-row{gap:8px!important}.time-row>div{min-width:0!important}.booking-card{padding:12px!important}.filter-bar{padding:12px 15px!important}div[id=fbEndModal]>div,div[id=fbLogModal]>div{width:calc(100vw - 20px)!important;max-width:100%!important;padding:18px!important}div[style*="display:flex; border-bottom"]{overflow-x:auto;-webkit-overflow-scrolling:touch}div[style*="display:flex; border-bottom"] button{white-space:nowrap;flex-shrink:0;font-size:.8rem!important;padding:8px 12px!important}.page-grid{flex-direction:column!important}.page-col-side{max-width:100%!important}}@media (max-width:480px){div[style*="display:flex"][style*="justify-content:center"][style*="margin:20px"]{gap:4px!important}div[style*="display:flex"][style*="justify-content:center"][style*="margin:20px"] a,div[style*="display:flex"][style*="justify-content:center"][style*="margin:20px"] span{padding:6px 8px!important;font-size:.8rem!important}.sig-canvas{height:200px!important}.login-card{margin:10px!important;padding:25px 20px!important;border-radius:16px!important}}@media (max-width:768px){#themePanel,.theme-panel{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-height:80vh!important;border-radius:16px 16px 0 0!important;overflow-y:auto!important}.theme-grid{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.theme-custom-row{flex-wrap:wrap!important}.theme-custom-row label{min-width:45px!important;font-size:.75rem!important}.booking-card,.entry-card,.ticket-message,td,th{overflow-wrap:break-word}}@media print{#chatSidebar,#globalSearchWrap,#notifPanel,.main-header,.nav-bar,.nav-bar-modern,[onclick*=toggleNotifPanel]{display:none!important}}@supports (padding:env(safe-area-inset-bottom)){.chat-input-area,.page-card:last-child{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}.main-header{padding-top:env(safe-area-inset-top)}}@media (max-width:480px){.client-card-detail div[style*="display:flex; gap:6px; align-items:flex-end"]>div,.client-card-detail form[style*="display:flex"]>div{min-width:100%!important}.client-card-detail>div:first-child{flex-direction:column!important;gap:8px!important}.client-card-detail>div:first-child>div:last-child{display:flex;width:100%}.client-card-detail>div:first-child>div:last-child .btn{flex:1;text-align:center}.client-card-detail div[style*="justify-content:space-between"][style*="border-bottom:1px solid"]{flex-wrap:wrap!important;gap:6px!important}.client-card-detail form[style*="display:flex"]{flex-direction:column!important}.client-card-detail div[style*="display:flex; gap:6px; align-items:flex-end"]{flex-direction:column!important;align-items:stretch!important}div[style*="background:#fef3c7"] div[style*="display:flex; justify-content:space-between"]{flex-direction:column!important;gap:8px!important}div[style*="display:flex; gap:8px; flex-wrap:wrap; align-items:center"]{flex-direction:column!important;align-items:flex-start!important;gap:3px!important}.ec-komm-row{flex-wrap:wrap!important}.ec-komm-row .ec-komm-typ{width:100%!important}.ec-komm-row .ec-komm-notiz,.ec-komm-row .ec-komm-wert{flex:1 1 45%!important;min-width:0!important}.ec-kontakt-row{flex-wrap:wrap!important}.ec-kontakt-row input,.ec-kontakt-row select{flex:1 1 45%!important;min-width:0!important}div[style*="grid-template-columns:repeat(auto-fit, minmax(150px"]{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}div[style*="overflow-x:auto"]>table[style*="border-collapse:collapse"]{min-width:500px;font-size:.78rem!important}div[style*="overflow-x:auto"]>table td[style*="max-width:300px"]{max-width:150px!important}div[style*="grid-template-columns:repeat(auto-fit, minmax(160px"]{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}div[style*="grid-template-columns:repeat(auto-fit, minmax(160px"]>div{padding:12px!important}div[style*="grid-template-columns:repeat(auto-fit, minmax(160px"]>div>div:nth-child(2){font-size:1.5rem!important}div[style*="display:flex; gap:8px; align-items:flex-end; height:120px"]{height:90px!important;padding:10px!important}div[style*="overflow-x:auto"]>table{min-width:450px}div[style*="display:flex; gap:6px; margin-bottom:8px"]{flex-wrap:wrap!important}#letzteNotizBox,#zieleInfoBox{padding:10px 12px!important;font-size:.8rem!important}div[style*="padding:0 25px"]{padding:0 12px!important}div[style*="padding:20px 25px"],div[style*="padding:25px 25px"]{padding:12px!important}div[style*="padding:0 25px 15px"],div[style*="padding:0 25px 20px"],div[style*="padding:0 25px 25px"]{padding:0 12px 12px!important}form[style*="display:flex; gap:10px"]{flex-direction:column!important}form[style*="display:flex; gap:10px"]>div{width:100%!important}form[style*="display:flex; gap:10px"] select{min-width:100%!important}.page-card[style*="--card-accent"]{border-top:4px solid var(--card-accent)!important;border-left:none!important;border-right:none!important}.alert-box,.page-card-intro{font-size:.85rem!important}.rates-accordion table td,.rates-accordion table th{padding:6px 4px!important;font-size:.78rem!important}.rates-accordion table{min-width:300px}.alert-box{margin:10px 12px 0!important;padding:12px!important}.page-card-header,.page-col-main,.page-col-side{padding:15px!important}.page-card-header h2{font-size:1.15rem!important}.table-section{padding:12px!important}}@media (min-width:481px) and (max-width:768px){.container{padding:0 15px!important}.page-card-header{padding:20px!important}.app-grid,.app-grid-modern{grid-template-columns:repeat(3,1fr)!important}}html{scroll-behavior:smooth}*{-webkit-tap-highlight-color:transparent}