/* Shared calendar controls deliberately replace browser-owned date/month popups. */
:root input.bidc-date-native{display:none!important}
.bidc-date-control{display:block;min-width:0;width:100%}
:root .bidc-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #dce3e8;border-radius:10px;background:#fff;color:#34424e;text-align:left;font-family:Archivo,Arial,sans-serif;font-size:13px;font-weight:450;line-height:1.4;cursor:pointer;box-sizing:border-box}
.bidc-date-trigger>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bidc-date-trigger svg{width:17px;height:17px;flex:none;color:#87939d}.bidc-date-trigger.is-empty{color:#9ba4ad}.bidc-date-trigger:disabled{background:#f5f7f8;color:#a2abb3;cursor:default}.bidc-date-trigger:not(:disabled):hover{border-color:#98aeb8}.bidc-date-trigger[aria-expanded=true]{border-color:#6a9ca8;box-shadow:0 0 0 3px #e7f1f3}.bidc-date-trigger:focus-visible{outline:2px solid #377d8b;outline-offset:3px}
.portfolio-period .bidc-date-control{width:166px}.portfolio-period .bidc-date-trigger{font-size:12px;min-height:40px}.portfolio-month .bidc-date-control{max-width:180px}
.bidc-date-picker{position:fixed;z-index:1700;width:332px;max-width:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fff;border:1px solid #dfe6eb;border-radius:18px;padding:16px;box-shadow:0 18px 65px #17313e26,0 3px 10px #17313e0a;color:#34424e;font-family:Archivo,Arial,sans-serif;font-size:13px;line-height:1.4;scrollbar-width:thin}
.bidc-date-picker *{box-sizing:border-box}.bidc-date-picker button{font-family:inherit;border:0;cursor:pointer;box-shadow:none;letter-spacing:0;text-transform:none}.bidc-date-picker button:disabled{cursor:default}.bidc-date-picker button:focus-visible,.bidc-date-picker select:focus-visible{outline:2px solid #397b89;outline-offset:2px}.bidc-date-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 1px 8px}.bidc-date-caption>span{font-size:10px;color:#8d9ba5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.bidc-date-picker .bidc-date-close{display:grid;place-items:center;background:#f3f6f7;color:#8696a0;width:30px;height:30px;padding:0;border-radius:9px;font-size:21px;line-height:1;flex:none}.bidc-date-navigation{display:flex;align-items:center;gap:7px;margin-bottom:13px}.bidc-date-navigation>button{height:40px;width:36px;display:flex;align-items:center;justify-content:center;background:white;color:#657985;border-radius:10px;padding:8px;flex:none}.bidc-date-navigation>button:hover:not(:disabled){background:#f0f5f6}.bidc-date-navigation>button:disabled{color:#d0d9de}.bidc-date-navigation svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.bidc-date-navigation .bidc-date-heading{flex:1;width:auto;gap:6px;color:#2c3e49;font-size:15px;font-weight:600;white-space:nowrap;padding:7px 4px}.bidc-date-navigation .bidc-date-heading:disabled{color:#2c3e49}.bidc-date-heading svg{width:13px;height:13px;color:#8b9ba4}.bidc-date-grid{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:2px;margin:0}.bidc-date-grid th{height:26px;font-size:10px;font-weight:450;color:#9aa7af;text-align:center;padding:0}.bidc-date-grid td{padding:0;border:0;height:40px;text-align:center;vertical-align:middle}.bidc-date-grid button{display:grid;place-items:center;width:100%;height:38px;padding:0;background:white;border-radius:10px;font-size:12px;font-weight:450;color:#546771;position:relative}.bidc-date-grid button.adjacent{color:#aab7c0}.bidc-date-grid button:hover:not(:disabled),.bidc-date-months button:hover:not(:disabled){background:#eaf3f4;color:#216b7b}.bidc-date-grid button.is-today:not(.selected){box-shadow:inset 0 0 0 1px #b6d0d6;color:#267485}.bidc-date-picker .selected{background:#273e49;color:#fff;font-weight:600}.bidc-date-grid button:disabled,.bidc-date-months button:disabled{color:#d7dee3;background:#fff;box-shadow:none}.bidc-date-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:6px 0 9px}.bidc-date-months button{height:48px;border-radius:10px;background:#f5f8f9;color:#647783;font-size:12px;font-weight:450;padding:6px}.bidc-date-months button.selected{background:#273e49;color:white}.bidc-date-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #edf1f4;margin-top:12px}.bidc-date-footer>div{display:flex;gap:6px}.bidc-date-footer button{min-height:36px;padding:8px 11px;background:#eef5f6;border-radius:8px;color:#397c88;font-size:11px;font-weight:500}.bidc-date-footer .bidc-date-clear{background:none;color:#8b9aa4}.bidc-date-footer .bidc-date-apply{background:#273e49;color:#fff;min-width:68px}.bidc-date-footer button:disabled{opacity:.35}.bidc-date-hint{font-size:9px;color:#a5b0b7;text-align:center;line-height:1.6;margin:12px 0 0}.bidc-date-time{display:flex;align-items:flex-end;gap:9px;padding:13px 1px 0;margin-top:12px;border-top:1px solid #edf1f4}.bidc-date-time label{display:block;flex:1}.bidc-date-time label>span{display:block;color:#8a9ba5;font-size:9px;margin-bottom:5px}.bidc-date-time select{min-height:42px;width:100%;border:1px solid #dce5e9;border-radius:9px;padding:8px 30px 8px 11px;font-family:inherit;font-size:16px;color:#3d5663;background-color:#fff}.bidc-date-time>b{align-self:end;font-weight:400;font-size:16px;margin-bottom:10px;color:#9aa8b0}.bidc-date-time>small{font-size:9px;line-height:1.6;color:#96a5ae;margin:0 0 6px 4px;flex:1}.bidc-date-validation{color:#b54b57;font-size:10px;line-height:1.5;margin:9px 0 0;min-height:0}.bidc-date-validation:empty{display:none}.bidc-date-picker.is-mobile{border-radius:20px;padding:18px;box-shadow:0 12px 70px #17313e38}.bidc-date-picker.is-mobile .bidc-date-grid td{height:42px}.bidc-date-picker.is-mobile .bidc-date-grid button{height:40px;font-size:13px}.bidc-date-picker.is-mobile .bidc-date-navigation>button{height:44px}.bidc-date-picker.is-mobile .bidc-date-footer button{min-height:42px}.bidc-date-picker.is-mobile .bidc-date-close{height:36px;width:36px}.bidc-date-picker.is-mobile .bidc-date-months button{height:51px}.bidc-date-picker.is-mobile .bidc-date-caption{padding-bottom:7px}
.calendar-jump-date{display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid #dae3e9;background:white;color:#657783;border-radius:9px;font-family:inherit;font-size:11px;white-space:nowrap}.calendar-jump-date svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}.calendar-week-toolbar{flex-wrap:wrap}.calendar-week-navigation{margin-right:auto}
@container app (max-width:760px){.portfolio-period .bidc-date-control{width:147px}.portfolio-period .bidc-date-trigger{font-size:12px;min-height:42px;padding:10px}.bidc-date-trigger{font-size:14px;min-height:46px}.calendar-week-toolbar{gap:8px}.calendar-week-navigation{width:100%;justify-content:space-between;margin:0}.calendar-jump-date{flex:1;justify-content:center;min-height:42px}.calendar-week-toolbar .calendar-today{min-height:42px;padding:8px 16px}}
@media(forced-colors:active){.bidc-date-picker,.bidc-date-trigger{border:1px solid ButtonText}.bidc-date-picker .selected{background:Highlight;color:HighlightText}.bidc-date-grid button.is-today{outline:1px solid ButtonText}}
