.po-date-control{display:block;position:relative;min-width:0}.po-date-control>[data-po-date-native]{display:none!important}.po-dialog .po-date-control>input:not([data-po-date-native]){width:100%;min-width:0;box-sizing:border-box;padding-right:31px}.po-date-control>.po-date-toggle{position:absolute;right:2px;top:3px;min-height:24px;height:24px;padding:0 3px;border:0;border-left:1px solid #d4e0f0;border-radius:0 3px 3px 0;background:#f2f7ff;color:#3262a3;font-size:10px;cursor:pointer}.po-date-toggle:disabled{opacity:.5;cursor:default}.po-date-error{display:block;margin-top:2px;font-size:10px;line-height:1.3;color:#b13737}.po-date-error:empty{display:none}.po-date-control>input[aria-invalid=true]{border-color:#c44848}.po-date-panel{position:absolute;left:0;top:100%;z-index:1100;width:290px;box-sizing:border-box;padding:10px;border:1px solid #c0d2e9;border-radius:8px;background:#fff;box-shadow:0 8px 28px #203c6826;color:#25415f;font:12px/1.5 sans-serif;overflow:auto}.po-date-panel[popover]{position:fixed;inset:auto;margin:0}.po-date-panel[hidden]{display:none!important}.po-date-header{display:flex;gap:6px;align-items:center;margin-bottom:9px}.po-date-header>button{width:27px;flex:none}.po-date-header>input{width:75px!important;min-width:0!important}.po-date-header>select{flex:1;min-width:0!important}.po-date-panel .po-date-header>input,.po-date-panel .po-date-header>select{height:30px!important;padding:4px 5px!important;border:1px solid #d5e1f0;border-radius:4px;background:#fff;font-size:12px!important}.po-date-panel button{min-width:0;min-height:29px;border:1px solid transparent;border-radius:4px;background:#fff;color:#31577f;font:inherit;cursor:pointer;padding:3px 5px}.po-date-panel button:hover:not(:disabled){background:#eaf3ff;color:#205dae}.po-date-panel button:focus-visible{outline:2px solid #3d81ce;outline-offset:-1px}.po-date-panel button:disabled{opacity:.3;cursor:default}.po-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.po-date-weekday{font-size:11px;color:#8998ad;text-align:center;padding:3px 0}.po-date-grid>button{height:29px}.po-date-grid>button.is-today{border-color:#95bde9}.po-date-grid>button.is-selected{background:#2b63d6;color:#fff}.po-date-shortcuts{display:flex;gap:5px;border-top:1px solid #e2eaf5;padding-top:8px;margin-top:9px}.po-date-shortcuts>button{flex:1;font-size:11px;background:#f3f7fd}.po-date-tip{display:block;font-size:10px;color:#8191a8;margin-top:7px}

.erp-date-control{display:inline-block;vertical-align:middle;width:160px;max-width:100%;min-width:0}.erp-date-control[data-kind="datetime-local"]{width:235px}.erp-date-control[data-kind="time"]{width:130px}label>.erp-date-control,.po-line .erp-date-control,.classic-table .erp-date-control,.board-inline .erp-date-control{width:100%}.erp-date-field{display:block;position:relative;min-width:0}body .erp-date-control>.erp-date-field>input.erp-date-text{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-height:32px;padding:6px 35px 6px 7px!important;border:1px solid #cbdaf0;border-radius:5px;background:#fff;color:var(--c-text,#244363);font:inherit;line-height:1.4}.erp-date-field>.po-date-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);padding:0 3px;border:0;border-left:1px solid #d4e0f0;border-radius:0 3px 3px 0;min-height:24px;height:24px;font-size:10px;color:#3262a3;background:#f2f7ff;cursor:pointer}.erp-date-field>.po-date-toggle:disabled{opacity:.45;cursor:default}.erp-date-control[hidden]{display:none!important}.erp-date-control>[data-po-date-native]{display:none!important}.erp-date-text:disabled,.erp-date-text[readonly]{background:#f4f7fb!important;color:#7a8aa0!important}.erp-date-text[aria-invalid=true]{border-color:#c44848!important}.toolbar>.erp-date-control{flex:0 1 160px}.erp-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.erp-month-grid>.is-selected{background:#2b63d6;color:#fff}.erp-time-row{display:flex;align-items:center;gap:5px;margin:9px 0 0;padding-top:8px;border-top:1px solid #e2eaf5}.po-date-panel .erp-time-row>input{width:38px!important;max-width:38px!important;min-width:0!important;box-sizing:border-box;height:30px;min-height:30px;padding:4px!important;border:1px solid #cedbf0;border-radius:4px;text-align:center;background:#fff;color:#244363;font-size:12px}.erp-time-row>span{font-size:11px;color:#7b8ca5}.erp-time-row>button{margin-left:auto;background:#edf4ff;color:#2b63b6}.po-date-shortcuts{flex-wrap:wrap}.po-date-shortcuts>button{white-space:nowrap}.po-date-panel{font-family:inherit}.erp-date-control .po-date-error{max-width:100%}.po-dialog.po-split-dialog .erp-date-field>input.erp-date-text{height:30px;min-height:30px;padding-top:4px!important;padding-bottom:4px!important;font-size:11px}.po-dialog.po-split-dialog .erp-date-field>.po-date-toggle{font-size:10px}@media(max-width:600px){.toolbar>.erp-date-control{flex:1 1 135px}.erp-date-control[data-kind="datetime-local"]{max-width:100%}}

/* Isolate calendar dimensions from page-wide input[type=number] rules. */
body .erp-date-control .po-date-panel .po-date-header>input{flex:0 0 75px;width:75px!important;max-width:75px!important;min-width:0!important;height:30px!important;min-height:30px!important}body .erp-date-control .po-date-panel .po-date-header>select{flex:1 1 0;width:auto!important;max-width:none!important;min-width:0!important;height:30px!important;min-height:30px!important}body .erp-date-control .po-date-panel .po-date-header>button{flex:0 0 27px;width:27px;min-width:0!important;padding:3px!important}body .erp-date-control .po-date-panel .erp-time-row>input{flex:0 0 38px;width:38px!important;max-width:38px!important;min-width:0!important;height:30px!important;min-height:30px!important}body .erp-date-control .po-date-panel .erp-time-row>button{flex:none;min-width:0!important;min-height:29px!important;white-space:nowrap}
