/* Shared mobile safeguards for the employee workflow and print management. */
main,main>*,.card,.panel,.panel-body,.form-grid>*,.portal-line>*,.workspace-heading>div{min-width:0}
input,select,textarea{max-width:100%}img,svg{max-width:100%}.doku-tabs{max-width:100%;overscroll-behavior-x:contain}.doku-tabs a[aria-current=page]{border-color:var(--acc);color:var(--fg)}
.wr-day{height:auto;min-height:115px;justify-content:flex-start}.wr-day .self-availability,.wr-day .plan-origin{max-width:100%;text-align:center;font-size:.7rem;line-height:1.35}.wr-columns{align-items:start}.staff-days .staff-day{min-height:155px;height:auto}.poster-page{max-width:1100px;margin:0 auto}.poster-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0}.poster-actions{display:flex;gap:12px;flex-wrap:wrap}.poster-preview{display:block;width:min(100%,630px);height:auto;margin:28px auto;box-shadow:0 15px 50px #0005}.poster-validity{color:var(--mut);line-height:1.6}.qr-validity-date{margin-top:16px}.qr-validity-date input{max-width:320px}
@media(max-width:700px){.poster-head{flex-direction:column;align-items:stretch}.poster-actions{display:grid;grid-template-columns:1fr 1fr}.poster-actions .btn{white-space:normal;text-align:center}.poster-preview{margin:20px auto}.workspace-heading{gap:16px;flex-wrap:wrap}.workspace-heading h1{font-size:clamp(1.5rem,6vw,2rem)}.workspace-heading>div{flex:1 1 220px}.portal-line{grid-template-columns:minmax(0,1fr)!important;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--sur)}.portal-line>label:last-of-type{grid-column:auto}.portal-line [data-remove-report-line]{justify-self:end;min-width:48px;min-height:44px}.portal-line input,.portal-line select,.portal-line textarea{width:100%;min-width:0}.doku-tabs{gap:18px}.doku-tabs a{min-height:48px;display:flex;align-items:center}.doku-actions>.btn{min-height:46px}.portal-summary{gap:10px}.portal-stat{padding:14px}.portal-stat>strong{font-size:23px}.grid.c4,.grid.c3{grid-template-columns:minmax(0,1fr)}.row{flex-wrap:wrap}.row>*{min-width:0}.card h2{overflow-wrap:anywhere}.top .brand{min-width:0}.top .brand>span{overflow:hidden;text-overflow:ellipsis}.btn{touch-action:manipulation}.table-scroll,.tblwrap{max-width:100%;overscroll-behavior:contain}}
@media(max-width:480px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:46px}.btn:not(.sm){min-height:46px}.workspace-heading>.btn{align-self:flex-start}.doku-filter.compact{grid-template-columns:minmax(0,1fr)}.poster-actions{grid-template-columns:1fr}.wr-day{min-height:140px}.av-days select{padding:8px}.grid.c2{grid-template-columns:minmax(0,1fr)}.qrm-formactions{flex-wrap:wrap}}
@media print{.poster-preview{width:210mm;max-width:none;margin:0;box-shadow:none}.poster-page>a,.poster-head,.poster-validity{display:none!important}.poster-page{width:210mm}body:has(.poster-page) main{padding:0!important;margin:0!important}body:has(.poster-page){background:white!important}.poster-page{page:infratum-poster}@page infratum-poster{size:A4 portrait;margin:0}}

@media(max-width:1024px){input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}}

@media(max-width:700px){.employee-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;margin-bottom:16px}.employee-heading>div{min-width:0}.employee-heading .eyebrow{display:none}.employee-heading h1{font-size:1.5rem}.employee-heading p{font-size:.92rem}.employee-heading>.btn{padding:10px;min-height:44px;white-space:nowrap}.av-intro{margin:18px 0}.av-intro+.notice{margin:14px 0}.av-shortcuts{margin:16px 0}.av-intro p{margin-bottom:0}}

/* Planning keeps the source label readable at every width. */
.wr-columns,.wr-row{grid-template-columns:minmax(210px,1.2fr) repeat(7,minmax(58px,1fr))}.wr-day{flex-direction:column;gap:6px;padding:10px 4px;min-height:122px}.wr-day .self-availability{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.wr-day .plan-origin{font-size:11px}
@media(max-width:980px){.wr-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wr-day>span{font-size:13px}.wr-day>span small{font-size:12px}.wr-day .self-availability,.wr-day .plan-origin{font-size:12px}.wr-day{min-height:136px}}
@media(max-width:600px){.wr-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.wr-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
