.date-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;min-width:0;max-width:100%;margin-top:6px}
html body.techniker-app .date-input-row>input[type=date]{box-sizing:border-box;min-width:0;width:100%;max-width:100%;height:3.2rem;min-height:44px;margin:0!important}
html body.techniker-app .date-input-row>button{box-sizing:border-box;align-self:end;flex:0 0 auto;width:auto;min-width:4rem;height:3.2rem!important;min-height:44px;margin:0!important;white-space:nowrap}
.date-input-tools{display:flex;flex-direction:column;gap:.5rem;margin:.4rem 0 0;max-width:100%;min-width:0}
.date-input-format,.warranty-duration-note{font-size:.875rem;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.warranty-duration{display:grid;grid-template-columns:minmax(0,1fr);gap:.35rem;min-width:0}
.warranty-duration>span:first-child{font-weight:600;font-size:.9rem}
html body.techniker-app .warranty-duration>select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0}
.warranty-duration-note:empty{display:none}
@media print{.date-input-row>button,.date-input-tools{display:none!important}.date-input-row{display:block}}
/* Keep archive filter controls level; the format hint gets its own line below. */
html body .filter-grid:has(.date-input-row){display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:start;gap:14px}
html body .filter-grid:has(.date-input-row)>label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;line-height:22px}
html body .filter-grid:has(.date-input-row)>label>input,html body .filter-grid:has(.date-input-row)>label>select{height:52px;min-height:52px;box-sizing:border-box;margin:0!important;width:100%}
html body .filter-grid .date-input-row{margin-top:0}
html body .filter-grid .date-input-row>:is(input,button){height:52px!important;min-height:52px;box-sizing:border-box;margin:0!important}
html body .filter-grid:has(.date-input-row)>button{margin:28px 0 0!important;height:52px!important;min-height:52px;box-sizing:border-box}
html body .filter-grid .date-input-tools{margin:0}
@media(max-width:700px){html body .filter-grid:has(.date-input-row){grid-template-columns:minmax(0,1fr)}html body .filter-grid:has(.date-input-row)>button{margin-top:0!important}}
