/* Work mode fills the phone, including the area previously reserved for navigation. */
@media screen and (max-width:768px){
 body #dialog[open]:is(.work-mode77,:has(.serviceworkspace,.orderstudio)){position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;overflow:auto!important;overscroll-behavior:contain;background:var(--panel,#fff)}
 body #dialog:is(.work-mode77,:has(.serviceworkspace,.orderstudio)) #dialogbody{min-height:100%;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}
 body:has(#dialog[open].work-mode77,#dialog[open] .serviceworkspace,#dialog[open] .orderstudio) #mobile-bottom{visibility:hidden!important;pointer-events:none!important}
 body #dialog:is(.work-mode77,:has(.serviceworkspace,.orderstudio)) .modalhead{padding-top:max(14px,env(safe-area-inset-top));background:var(--panel,#f7faff)!important}
}
.trend77{min-width:0;margin:8px 0 14px;color:var(--ink,#20354b)}.trend-tools77{display:flex;justify-content:space-between;align-items:center;gap:12px}.trend-tools77>span{font-size:13px;font-weight:650}.chart-settings77{position:relative}.chart-settings77>summary{list-style:none;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;border-radius:8px;background:var(--brand-soft,#edf3ff);color:var(--brand,#245fd4);font-size:20px}.chart-settings77>summary::-webkit-details-marker{display:none}.chart-settings77>label{position:absolute;z-index:4;right:0;top:38px;min-width:170px;padding:12px;border:1px solid #c9d7e6;border-radius:10px;background:var(--panel,#fff);box-shadow:0 5px 18px #19345018;font-size:12px;font-weight:650;display:grid;gap:6px}.chart-settings77 select{font-size:14px;width:100%;padding:8px}.trend77 .graph-caption70{margin:3px 0 8px;font-size:11px;line-height:1.5;color:var(--muted,#687c91)}.trend-plot77{touch-action:none;cursor:grab;user-select:none;min-width:0}.trend-plot77:active{cursor:grabbing}.trend-plot77:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}.trend-plot77 svg{display:block;width:100%;height:auto;overflow:visible}.trend-plot77 svg text{font-size:20px;fill:var(--muted,#61748b);font-family:inherit}.trend-plot77 .grid77{stroke:#dde5ef;stroke-width:1}.trend-plot77 .axis77,.trend-plot77 .month-tick77{stroke:#8297b1;stroke-width:1.5}.trend-plot77 .week-tick77{stroke:#859bb4;stroke-width:1.5}.trend-nav77{display:flex;align-items:center;gap:3px;margin:0;justify-content:space-between}.trend-nav77 button{display:grid;place-items:center;padding:0!important;margin:0!important;width:32px;min-width:32px;height:36px;min-height:36px!important;font-size:20px;line-height:1;box-shadow:none;border:1px solid #dce5f0;border-radius:7px;background:var(--panel,#fff);color:var(--brand,#245fd4)}.trend-nav77 .chart-reset77{width:auto;min-width:40px;font-size:11px;padding:0 4px!important}.trend-nav77 .chart-window77,#dialogbody .recurring68 .trend-nav77 .chart-window77{font-size:10px!important;font-weight:500;white-space:normal;text-align:center;line-height:1.25!important;flex:1;color:var(--muted,#61748b)}.trend-hint77{display:block;text-align:center;font-size:10px;color:var(--muted,#61748b);margin-top:5px;line-height:1.4}.value-tap77,#dialogbody .recurring68 .value-tap77{border:0!important;background:none!important;box-shadow:none!important;color:var(--brand,#245fd4)!important;padding:2px 4px!important;min-height:32px!important;margin:-6px -4px -6px 0!important;min-width:44px;font:inherit!important;line-height:20px!important;border-radius:6px!important;touch-action:manipulation;white-space:nowrap}.value-tap77:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.value-tap77:active{background:var(--brand-soft,#edf3ff)!important}.value-tap77 output{pointer-events:none}.tap-setting77{display:flex;align-items:flex-start;gap:12px}.tap-setting77>input{flex:none;width:20px;height:20px;margin:3px 0}.tap-setting77 small{display:block;color:var(--muted,#61748b);font-size:13px;line-height:1.5;margin-top:5px}
@media print{.trend-tools77 details,.trend-nav77,.trend-hint77{display:none}.trend-plot77{touch-action:auto}}

.value-preferences77{flex-basis:100%;font-size:12px}.value-preferences77>summary{color:var(--brand,#245fd4);cursor:pointer}.value-preferences77 .tap-setting77{padding:10px 0}.value-preferences77 .tap-setting77 strong{font-size:13px!important}.value-preferences77 .tap-setting77 small{font-size:11px!important}
