/* Neue Geräteansichten. Original-CSS bleibt unverändert. */
/* Geräteansichten scrollen als ganze Seite, ohne den Desktop-Innencontainer. */
body.hv-device{height:auto;min-height:100vh;overflow:visible}
body.hv-device{margin:0;background:#eeeef2;color:#293342;font:16px/1.5 Arial,sans-serif;min-width:0}
.hd-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#fff;border-bottom:1px solid #d8dce1;position:relative;z-index:30}.hd-brand{color:#555b65;font-size:1.3rem;font-weight:700;text-decoration:none}.hd-user{font-size:.85rem;color:#68717c;margin-left:auto}.hd-menu summary{display:flex;align-items:center;gap:6px;cursor:pointer;border:1px solid #d8dce1;border-radius:6px;padding:8px 10px;list-style:none}.hd-menu summary::-webkit-details-marker{display:none}.hd-menu nav{position:absolute;right:12px;top:100%;width:min(330px,calc(100vw - 24px));background:#fff;border:1px solid #d8dce1;box-shadow:0 6px 18px #0002;border-radius:8px;padding:10px;max-height:75vh;overflow:auto}.hd-menu nav>a{display:block;padding:10px;border-bottom:1px solid #eceff2;color:#293342;text-decoration:none}.hd-main{max-width:1600px;margin:0 auto;padding:18px;min-width:0}.hd-standalone{max-width:760px;margin:40px auto;padding:16px}.hd-card{padding:20px;border:1px solid #d8dce1;border-radius:10px;background:#fff;min-width:0}.hd-card h1{font-size:1.5rem;margin-top:0}.hd-card h2{font-size:1.15rem;margin-top:0}.hd-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.hd-cards a{text-decoration:none;color:inherit}.hd-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:9px 14px;border:1px solid #68717c;border-radius:6px;background:#59616d;color:#fff;font:inherit;cursor:pointer;text-decoration:none;text-align:center}.hd-secondary{background:#f7f8fa;color:#293342;border-color:#d8dce1}.hd-menu form{margin:10px 0 0}.hd-menu button{width:100%}.hd-hint{font-size:.88rem;color:#626b77}.hd-login-note{max-width:440px;margin:10px auto}.hd-form-message{padding:12px;background:#fff0d2;border:1px solid #e2cc9f;border-radius:6px;margin-bottom:12px}#hv-device-bar{position:sticky;top:0;z-index:100000;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 14px;background:#fff0d2;color:#293342;border-bottom:1px solid #c9b279;font:14px/1.4 Arial,sans-serif}#hv-device-bar form{margin:0}#hv-device-bar button{font-size:14px;min-height:36px}#hd-orientation-notice{position:fixed;bottom:10px;left:10px;right:10px;z-index:100001;background:#fff0d2;border:1px solid #c9b279;padding:10px;border-radius:7px;font:14px/1.4 Arial,sans-serif}.hv-device *{box-sizing:border-box}.hv-device button,.hv-device summary,.hv-device a{touch-action:manipulation}.hv-device input,.hv-device textarea,.hv-device select{font-size:16px!important}.hv-device .login-page{min-height:100svh;height:auto;padding:18px}.hv-device .login-box{width:100%;max-width:440px;margin:auto}.hv-device .az,.hv-device .km{min-width:0;max-width:100%}.hv-device .az-top,.hv-device .km-top{gap:12px}.hv-device .az-nav,.hv-device .km-nav{gap:8px}.hv-device .az-nav a,.hv-device .km-nav a{min-height:42px;display:inline-flex;align-items:center}.hv-device .az-clock-controls{margin-left:auto;gap:8px}.hv-device .az-clock-button,.hv-device .km-clock-button{min-height:48px;font-size:1rem;min-width:0;padding:12px 16px}.hv-device .az table{min-width:800px}.hv-device .km table{min-width:1000px}.hv-device .az-table-wrap,.hv-device .km-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.hv-device .az-box,.hv-device .km-box{min-width:0}.hv-device .az-main,.hv-device .km-main,.hv-device main{min-width:0}.hv-device .az label,.hv-device .km label{min-width:0}.hv-device .az input,.hv-device .km input,.hv-device .az select,.hv-device .km select{max-width:100%}.hv-device .az-heute,.hv-device .km-quick{min-width:0}.hv-device .km-icon-button{width:40px;height:40px;min-width:40px}
body.hd-handy .az-grid,body.hd-handy .km-grid{grid-template-columns:1fr}body.hd-handy .az-sidebar,body.hd-handy .km-sidebar{max-width:none}body.hd-handy .az-calendar .az-day{aspect-ratio:auto;min-height:36px}body.hd-handy .km-inline,body.hd-handy .az-inline{grid-template-columns:repeat(2,minmax(0,1fr))}body.hd-handy .az-stats,body.hd-handy .km-stats{grid-template-columns:1fr}body.hd-handy .az-clock-controls{width:100%;margin-left:0}body.hd-handy .az-clock-controls form{flex:1}body.hd-handy .az-clock-controls button{width:100%}body.hd-handy .az-heute,body.hd-handy .km-quick{flex-basis:100%;border-left:0;border-top:1px solid #dbe1e8;margin:8px 0 0;padding:12px 0 0}
@media(max-width:520px){.hd-main{padding:12px}.hd-user{max-width:40vw;overflow-wrap:anywhere}body.hd-handy .km-inline,body.hd-handy .az-inline{grid-template-columns:1fr}.hv-device .az-model input{width:100%;min-width:70px}.hv-device .az-model{min-width:540px}.hv-device .az-stat strong,.hv-device .km-stat strong{font-size:1.25rem}}
@media print{.hd-header,#hv-device-bar,#hd-orientation-notice{display:none!important}.hd-main{padding:0}.hv-device .az table,.hv-device .km table{min-width:0}.hv-device .az-table-wrap,.hv-device .km-scroll{overflow:visible}}

/* Antragsvergleiche ohne vorhandenen Scroll-Container. */
/* Auf dem Handy: Saldo, Kalender/Urlaub, anschließend Monatsblatt. */
@media screen{
body.hd-handy .az-grid>main{display:contents}
body.hd-handy .az-grid>main>.az-summary{order:-1}
}
.hv-device .km-request>table{display:block;min-width:0;max-width:100%;overflow-x:auto}.hv-device .km-request>table td{min-width:140px}
