/* v0.9.98 UI2: compact share header and mobile date controls. */
.topbar .topActions.shareTopActions{align-items:center;--share-header-height:36px}
.topbar .topActions.shareTopActions .refreshCloudBtn,
.topbar .topActions.shareTopActions .shareViewLabel{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--share-header-height);min-height:var(--share-header-height);max-height:var(--share-header-height);padding:0 10px;line-height:1;font-size:12px;white-space:nowrap;flex:0 0 auto}
.projectLogo.logoOnDark,.loginLogo.logoOnDark{filter:brightness(0) invert(1)}
.visitDates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%;min-width:0;gap:8px}
.visitDates>label{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%;max-width:100%;overflow:visible}
.visitDates input[type=date]{display:block;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%;height:40px;min-height:40px;max-height:40px;padding:0 5px;font-size:14px;line-height:normal;appearance:none;-webkit-appearance:none}
.visitDates input[type=date]::-webkit-date-and-time-value{min-width:0;max-width:100%;line-height:38px;text-align:left}
.visitDates input[type=date]::-webkit-datetime-edit{padding:0;min-width:0;max-width:100%}
@media(max-width:600px){.topbar .topActions.shareTopActions{--share-header-height:32px}.topbar .topActions.shareTopActions .refreshCloudBtn,.topbar .topActions.shareTopActions .shareViewLabel{padding:0 8px;font-size:12px}.visitDates input[type=date]{font-size:13px}}

/* UI3: building buttons remain swipeable without a visible scrollbar. */
.soldPage .soldBuildingChips{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:0}
.soldPage .soldBuildingChips::-webkit-scrollbar{display:none;width:0;height:0}
.soldPage .soldBuildingChips>.chip{flex:0 0 auto}

/* UI4: shared dimensions for sales, daily-log and access date filters. */
:root{--time-filter-height:40px;--time-filter-font:13px}
.soldPage .soldTimeFilter>.chiprow,.dailyLogPeriodChips,.visitPeriodChips{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;min-width:0;max-width:100%;padding-bottom:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
.soldPage .soldTimeFilter>.chiprow::-webkit-scrollbar,.dailyLogPeriodChips::-webkit-scrollbar,.visitPeriodChips::-webkit-scrollbar{display:none;width:0;height:0}
.soldPage .soldTimeFilter>.chiprow>.chip,.dailyLogPeriodChip,.visitPeriodChip{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;height:var(--time-filter-height);min-height:var(--time-filter-height);max-height:var(--time-filter-height);padding:0 4px;border:1px solid #e3e5e8;border-radius:9px;background:#fff;color:#606770;font-family:inherit;font-size:var(--time-filter-font);font-weight:400;line-height:1.25;white-space:normal;overflow-wrap:anywhere;text-align:center}
.soldPage .soldTimeFilter>.chiprow>.chip.active,.dailyLogPeriodChip.active,.visitPeriodChip.active{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:700}
.soldTimeFilter .customDates,.dailyLogFilterPanel .dailyLogFilters,.visitDates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.soldTimeFilter .customDates{margin-top:10px}
.soldTimeFilter .customDates>label,.dailyLogFilterPanel .dailyLogFilters>label,.visitDates>label{display:flex;flex-direction:column;gap:6px;box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:12px;line-height:1.4;color:var(--muted)}
.soldTimeFilter .customDates input[type=date],.dailyLogFilterPanel .dailyLogFilters input[type=date],.visitDates input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:40px;min-height:40px;max-height:40px;border:1px solid #dfe1e6;border-radius:9px;background:#fff;color:var(--text);padding:0 5px;font-size:14px;line-height:normal;appearance:none;-webkit-appearance:none;overflow:hidden}
.soldTimeFilter .customDates input[type=date]::-webkit-date-and-time-value,.dailyLogFilterPanel .dailyLogFilters input[type=date]::-webkit-date-and-time-value,.visitDates input[type=date]::-webkit-date-and-time-value{min-width:0;max-width:100%;line-height:38px;text-align:left}
.soldTimeFilter .customDates input[type=date]::-webkit-datetime-edit,.dailyLogFilterPanel .dailyLogFilters input[type=date]::-webkit-datetime-edit,.visitDates input[type=date]::-webkit-datetime-edit{min-width:0;max-width:100%;padding:0}
.soldTimeFilter .soldDateQuery,.dailyLogFilterPanel .dailyLogFilters button,.visitFilters .visitFilterRow button[type=submit]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;height:var(--time-filter-height);min-height:var(--time-filter-height);max-height:var(--time-filter-height);border:1px solid #d8bbc0;border-radius:10px;background:#fff;color:var(--brand);padding:0 12px;font-family:inherit;font-size:var(--time-filter-font);font-weight:400;line-height:1.25;white-space:normal}
.soldTimeFilter .soldDateQuery,.dailyLogFilterPanel .dailyLogFilters button{grid-column:1/-1;width:100%}
.soldTimeFilter .soldDateQuery:disabled,.dailyLogFilterPanel .dailyLogFilters button:disabled,.visitFilters .visitFilterRow button[type=submit]:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.soldPage .soldTimeFilter>.chiprow,.dailyLogPeriodChips,.visitPeriodChips{grid-template-columns:repeat(3,minmax(0,1fr))}}
