html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
.table-scroll,
.order-matrix-scroll,
.actual-slot-table-wrap,
.site-rate-scroll,
.invoice-preview-scroll,
.report-table-scroll,
.bulk-matrix-scroll {
touch-action: pan-x pan-y pinch-zoom;
}
.reorder-handle,
.order-quantity-panel header,
.seal-preview-stamp,
.seal-preview-handle,
.dash-widget-resize,
.column-resize-handle {
touch-action: pinch-zoom;
}
.orientation-lock {
display: none;
}
@media screen and (orientation: portrait) {
html.touch-device .orientation-lock {
position: fixed;
inset: 0;
z-index: 2147483000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 40px;
padding: 80px;
color: #0f172a;
background: #f4f7fb;
text-align: center;
outline: 0;
}
html.touch-device body {
overflow: hidden;
}
}
.orientation-lock svg {
width: 360px;
height: 180px;
color: #2563eb;
}
.orientation-lock h2 {
margin: 0;
font-size: 88px;
line-height: 1.3;
}
.orientation-lock p {
max-width: 1200px;
margin: 0;
color: #475569;
font-size: 56px;
line-height: 1.6;
}
@media (hover: none) and (pointer: coarse) {
html { -webkit-tap-highlight-color: transparent; }
}
html.touch-device :is(
.month-switcher > :is(.calendar-icon-button, .button),
.assignment-date-switcher > :is(.calendar-icon-button, .button),
.ledger-period > :is(.calendar-icon-button, .button),
.order-view-switch > button,
.action-dock .button,
.order-site-heading .reorder-handle,
.order-site-map,
.order-quantity-panel :is(.order-pad-keys, .order-pad-steps, .order-pad-move) button,
.assignment-remove-button,
.assignment-site-heading-line .reorder-handle,
.assignment-slot .reorder-handle,
.assignment-map-link,
.assignment-edit-button,
.assignment-fold-all,
.bulk-row-head .reorder-handle,
.bulk-group-head .bulk-site-map,
.duty-tools-cell .actual-row-button,
.actual-flow-adopt,
.actual-head-actions .actual-row-button,
.ledger-teate-button,
.ledger-open-actual,
.actual-end-day,
.billing-row-actions .actual-row-button,
.holiday-chip-action,
.holiday-more,
th .column-head .master-sort-button,
th .column-filter-button,
.billing-icon-button
) {
position: relative;
}
html.touch-device :is(
.month-switcher > :is(.calendar-icon-button, .button),
.assignment-date-switcher > :is(.calendar-icon-button, .button),
.ledger-period > :is(.calendar-icon-button, .button),
.order-view-switch > button,
.action-dock .button,
.order-site-heading .reorder-handle,
.order-site-map,
.order-quantity-panel :is(.order-pad-keys, .order-pad-steps, .order-pad-move) button,
.assignment-remove-button,
.assignment-site-heading-line .reorder-handle,
.assignment-slot .reorder-handle,
.assignment-fold-toggle,
.assignment-map-link,
.assignment-edit-button,
.assignment-fold-all,
.bulk-chip,
.bulk-row-head .reorder-handle,
.bulk-group-head .bulk-site-map,
.duty-tools-cell .actual-row-button,
.actual-flow-adopt,
.actual-head-actions .actual-row-button,
.ledger-teate-button,
.ledger-open-actual,
.actual-end-day,
.billing-row-actions .actual-row-button,
.holiday-chip-action,
.holiday-more,
th .column-head .master-sort-button,
th .column-filter-button,
.billing-icon-button
)::after {
content: "";
position: absolute;
top: calc(-1 * (var(--hit-t, 0px) + var(--hit-bw, 0px)));
right: calc(-1 * (var(--hit-r, 0px) + var(--hit-bw, 0px)));
bottom: calc(-1 * (var(--hit-b, 0px) + var(--hit-bw, 0px)));
left: calc(-1 * (var(--hit-l, 0px) + var(--hit-bw, 0px)));
touch-action: inherit;
}
html.touch-device :is(
.month-switcher > :is(.calendar-icon-button, .button),
.assignment-date-switcher > :is(.calendar-icon-button, .button),
.ledger-period > :is(.calendar-icon-button, .button),
.action-dock .button,
.order-site-map,
.order-quantity-panel :is(.order-pad-keys, .order-pad-steps, .order-pad-move) button,
.assignment-map-link,
.assignment-edit-button,
.bulk-chip,
.bulk-group-head .bulk-site-map,
.duty-tools-cell .actual-row-button,
.actual-flow-adopt,
.actual-head-actions .actual-row-button,
.ledger-teate-button,
.ledger-open-actual,
.actual-end-day,
.billing-row-actions .actual-row-button,
.holiday-chip-action,
.holiday-more,
.billing-icon-button
) {
--hit-bw: 1px;
}
html.touch-device :is(.month-switcher, .assignment-date-switcher, .ledger-period) > :is(.calendar-icon-button, .button) { --hit-t: 4px; --hit-b: 4px; --hit-l: 3px; --hit-r: 3px; }
html.touch-device .order-view-switch > button { --hit-t: 7px; --hit-b: 7px; }
html.touch-device .action-dock .button { --hit-t: 4px; --hit-b: 4px; --hit-l: 3px; --hit-r: 3px; }
html.touch-device .order-site-heading .reorder-handle { --hit-t: 8px; --hit-b: 6px; --hit-l: 3px; --hit-r: 12px; }
html.touch-device .order-site-map { --hit-t: 8px; --hit-b: 6px; --hit-l: 10px; --hit-r: 3px; }
html.touch-device .order-quantity-panel :is(.order-pad-keys, .order-pad-steps, .order-pad-move) button { --hit-t: 2px; --hit-b: 2px; --hit-l: 2px; --hit-r: 2px; }
html.touch-device .assignment-remove-button { --hit-t: 11px; --hit-b: 11px; --hit-l: 11px; --hit-r: 6px; }
html.touch-device .assignment-slot .reorder-handle { --hit-t: 8px; --hit-b: 8px; --hit-l: 8px; --hit-r: 6px; }
html.touch-device .assignment-site-heading-line .reorder-handle { --hit-t: 8px; --hit-b: 8px; --hit-l: 4px; --hit-r: 10px; }
html.touch-device .assignment-fold-toggle { --hit-t: 5px; --hit-b: 6px; --hit-l: 6px; --hit-r: 6px; }
html.touch-device .assignment-map-link { --hit-t: 10px; --hit-b: 10px; --hit-l: 10px; --hit-r: 10px; }
html.touch-device :is(.assignment-edit-button, .assignment-fold-all) { --hit-t: 6px; --hit-b: 6px; }
html.touch-device .bulk-chip { --hit-t: 9px; --hit-b: 9px; --hit-l: 1px; --hit-r: 1px; }
html.touch-device .bulk-row-head .reorder-handle { --hit-t: 1px; --hit-b: 1px; --hit-l: 11px; --hit-r: 1px; }
html.touch-device .bulk-group-head .reorder-handle { --hit-r: 13px; }
html.touch-device .bulk-group-head .bulk-site-map { --hit-t: 3px; --hit-b: 3px; --hit-l: 12px; --hit-r: 1px; }
html.touch-device .holiday-chip-action { --hit-t: 10px; --hit-b: 10px; --hit-l: 2px; --hit-r: 2px; }
html.touch-device .holiday-more { --hit-r: 16px; }
html.touch-device .duty-tools-cell .actual-row-button { --hit-t: 4px; --hit-b: 4px; --hit-l: 3px; }
html.touch-device .actual-flow-adopt { --hit-t: 1px; --hit-b: 8px; --hit-l: 2px; --hit-r: 2px; }
html.touch-device .actual-head-actions .actual-row-button { --hit-t: 9px; --hit-b: 9px; }
html.touch-device .ledger-teate-button { --hit-t: 3px; --hit-b: 7px; --hit-l: 1px; --hit-r: 3px; }
html.touch-device .ledger-open-actual { --hit-l: 8px; --hit-r: 8px; }
html.touch-device .actual-end-day { --hit-t: 12px; --hit-b: 12px; --hit-r: 12px; }
html.touch-device .billing-row-actions .actual-row-button { --hit-t: 3px; --hit-b: 3px; }
html.touch-device th .column-head .master-sort-button { --hit-t: 10px; --hit-b: 8px; }
html.touch-device th .column-filter-button { --hit-t: 9px; --hit-b: 8px; --hit-l: 1px; --hit-r: 4px; }
html.touch-device .actual-row-button.billing-icon-button { --hit-t: 5px; --hit-b: 5px; --hit-l: 2px; --hit-r: 2px; }
html.touch-device :is(
.topbar-actions > .icon-button,
.palette-trigger,
.sidebar-collapse-button,
.brand-home,
.screen-toolbar :is(.button:not(.primary), .calendar-icon-button, .column-filter-menu-button, .order-panel-toggle, .toolbar-check),
.screen-toolbar .bulk-segment > button,
.dash-pills > button,
.guard-picker-close,
.guard-picker-rail > button,
.guard-picker .guard-filter-icon,
.guard-picker .guard-unassigned-filter,
.column-filter-all,
.kubun-option,
.drawer-body .form-checkbox-control,
.billing-tab,
.settings-tab,
.drawer-tab
) {
position: relative;
}
html.touch-device :is(
.topbar-actions > .icon-button,
.palette-trigger,
.sidebar-collapse-button,
.brand-home,
.nav-section-items .nav-item,
.screen-toolbar :is(.button:not(.primary), .calendar-icon-button, .column-filter-menu-button, .order-panel-toggle, .toolbar-check),
.screen-toolbar .bulk-segment > button,
.dash-pills > button,
.guard-picker-close,
.guard-picker-rail > button,
.guard-picker .guard-palette-search,
.guard-picker .guard-filter-icon,
.guard-picker .guard-unassigned-filter,
.column-filter-all,
.kubun-option,
.drawer-body .form-checkbox-control
)::after,
html.touch-device :is(.billing-tab, .settings-tab, .drawer-tab)::before {
content: "";
position: absolute;
top: calc(-1 * (var(--hit-t, 0px) + var(--hit-bw, 0px)));
right: calc(-1 * (var(--hit-r, 0px) + var(--hit-bw, 0px)));
bottom: calc(-1 * (var(--hit-b, 0px) + var(--hit-bw, 0px)));
left: calc(-1 * (var(--hit-l, 0px) + var(--hit-bw, 0px)));
touch-action: inherit;
}
html.touch-device :is(
.topbar-actions > .icon-button,
.palette-trigger,
.sidebar-collapse-button,
.screen-toolbar :is(.button:not(.primary), .calendar-icon-button, .column-filter-menu-button, .order-panel-toggle, .toolbar-check),
.guard-picker .guard-filter-icon,
.guard-picker .guard-unassigned-filter,
.kubun-option,
.drawer-body .form-checkbox-control
) {
--hit-bw: 1px;
}
html.touch-device .topbar-actions > .icon-button { --hit-l: 4px; --hit-r: 4px; }
html.touch-device .palette-trigger { --hit-t: 4px; --hit-b: 4px; }
html.touch-device .sidebar-collapse-button { --hit-t: 11px; --hit-b: 3px; --hit-l: 8px; --hit-r: 8px; }
html.touch-device .brand-home { --hit-t: 16px; }
html.touch-device .nav-section-items .nav-item { --hit-t: 1px; --hit-b: 1px; }
html.touch-device .nav-section-items .nav-item:first-child { --hit-t: 3px; }
html.touch-device .nav-section-items .nav-item:last-child { --hit-b: 3px; }
html.touch-device :is(.billing-tab, .settings-tab, .drawer-tab) { --hit-t: 4px; }
html.touch-device .billing-tabs { margin-top: -4px; padding-top: 4px; }
html.touch-device .screen-toolbar :is(.button:not(.primary), .calendar-icon-button, .column-filter-menu-button, .order-panel-toggle, .toolbar-check) { --hit-t: 4px; --hit-b: 4px; --hit-l: 3px; --hit-r: 3px; }
html.touch-device .screen-toolbar .bulk-segment > button { --hit-t: 7px; --hit-b: 7px; }
html.touch-device .dash-pills > button { --hit-t: 10px; --hit-b: 10px; --hit-l: 1px; --hit-r: 1px; }
html.touch-device .guard-picker-close { --hit-t: 9px; --hit-b: 9px; --hit-l: 10px; --hit-r: 8px; }
html.touch-device .guard-picker-rail > button { --hit-l: 4px; --hit-r: 4px; }
html.touch-device .guard-picker-rail > button:first-child { --hit-t: 6px; }
html.touch-device .guard-picker-rail > button:last-child { --hit-b: 6px; }
html.touch-device .guard-picker .guard-palette-search { --hit-t: 8px; --hit-b: 3px; }
html.touch-device .guard-picker :is(.guard-filter-icon, .guard-unassigned-filter) { --hit-t: 3px; --hit-b: 3px; --hit-l: 3px; --hit-r: 3px; }
html.touch-device .column-filter-all { --hit-t: 3px; }
html.touch-device .kubun-option { --hit-t: 1px; --hit-b: 1px; --hit-l: 3px; --hit-r: 3px; }
html.touch-device .drawer-body .form-checkbox-control { --hit-t: 3px; --hit-b: 4px; }
th .column-head .master-sort-button,
th .column-filter-button {
position: relative;
}
th .column-head .master-sort-button::after,
th .column-filter-button::after {
content: "";
position: absolute;
top: calc(-1 * var(--hit-t, 0px));
right: calc(-1 * var(--hit-r, 0px));
bottom: calc(-1 * var(--hit-b, 0px));
left: calc(-1 * var(--hit-l, 0px));
touch-action: inherit;
}
th .column-filter-button::before {
content: "";
position: absolute;
z-index: 11;
inset: 0;
}
th .column-head .master-sort-button { --hit-t: 10px; --hit-b: 8px; }
th .column-filter-button { --hit-t: 9px; --hit-b: 8px; --hit-l: 1px; --hit-r: 4px; }
