@media (max-width: 899.98px) {
    html body .ws-app, html:root {
        --mobile-card-radius: 24px;
        --mobile-card-inset: 12px;
        --ws-field-radius: 12px;
        --ws-segment-radius: 9px;
    }
    html body .ws-app :is(.ws-segmented, .co-period, .co-switch, .tasks-view-switch,
        .deals-view-switch, .team-status-filter, .ws-listbar__chips, .appts__filters > div) { border-radius: var(--ws-field-radius); }
    html body .ws-app :is(.ws-segmented, .co-period, .co-switch, .tasks-view-switch,
        .deals-view-switch, .team-status-filter, .ws-listbar__chips, .appts__filters > div) > button { border-radius: var(--ws-segment-radius); }
    html body .ws-app :is(.ws-editor__grid, .ws-sched) .ws-segmented { --ws-field-radius: var(--field-radius); --ws-segment-radius: calc(var(--field-radius) - 3px); }
    html body .ws-app :is(.inv-filters__search, .ws-enq-search .ws-input, .appts__filters > input,
        .tasks-toolbar select, .customers-toolbar select, .deals-toolbar select, .team-toolbar > input, .ws-an__model .ws-input) { border-radius: 12px; }
    html body .ws-app :is(.customers-search, .tasks-search, .deals-search) { border-radius: 12px; }
    html body .ws-app :is(.customers-toolbar, .tasks-toolbar, .deals-toolbar, .inv-filters, .act-order) .ws-selection__trigger { border-radius: 12px; }
    html body .ws-app :is(.act-periods__grid, .enq-history__filters, .appts-duration-presets) > button[aria-pressed] { border-radius: 12px; }
    html body .ws-app .act-search .ws-input { height: 44px; min-height: 44px; border-color: transparent; border-radius: 12px; background-color: var(--tint); }
    html body .ws-app .act-search > svg { top: 50%; transform: translateY(-50%); }
    html body .ws-app .ws-chat__list { border-right: 0; }
    html body .ws-app .ws-chat .ws-chat__list .ws-convs { border-top: 0; }
    html body .ws-app .ws-chat__filters-card { display: grid; gap: 12px; margin: 0 var(--mobile-content-inset, 16px) 12px; padding: 11px; border-radius: 24px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__summary { padding: 0; margin-bottom: -16px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__audience-row { margin: 0; }
    html body .ws-app .ws-chat__filters-card .ws-chat__audience-row .ws-chat__audiences { gap: calc(clamp(10px, 3vw, 24px) + 4px); }
    html body .ws-app .ws-chat__filters-card .ws-chat__audience { padding-inline: 0; }
    html body .ws-app .ws-chat__filters-card :is(.ws-chat__search, .ws-chat__filters) { padding: 0; }
    html body .ws-app .ws-chat__filters-card .ws-chat__filters { gap: 12px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__filters .ws-hint { padding-inline: 0; }
    html body .ws-app .ws-chat__filters-card .ws-chat__statuses { gap: 8px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__search .ws-input { padding-left: 32px; border-radius: 12px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__search-icon { left: 11px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__channels { border-radius: 12px; }
    html body .ws-app .ws-chat__filters-card .ws-chat__channel { border-radius: 9px; }
    html body .ws-app .customers-directory { border-top-color: transparent; }
    html body .ws-app .customers-mobile-search input:placeholder-shown::-webkit-search-cancel-button { display: none; }
    html body .ws-app .customers-mobile-panel { gap: 12px; padding: 11px; border-radius: 24px; }
    html body .ws-app .customers-mobile-panel .customers-mobile-search { border-radius: 12px; }
    html body .ws-app .customers-mobile-sort .ws-selection__trigger { border-radius: 12px; }
    html body .ws-app .customers-mobile-filter-trigger { border-radius: 12px; }
    html body .ws-app .customers-mobile-sheet .customers-mobile-statuses.customers-status-bar > button,
    html body .ws-app .customers-mobile-sheet :is(.ws-selection__trigger, .customers-mobile-views > label, .customers-filter-field > input),
    html body .ws-app .customers-mobile-sheet__footer > .ws-btn { border-radius: 12px; }
    html body .ws-app .inv-floating-panel { margin-top: 0; padding-top: 0; border-color: transparent; border-radius: 24px; box-shadow: none; }
    html body .ws-app .inv-floating-panel > * { position: relative; z-index: 3; }
    html body .ws-app .inv-floating-panel::before { inset: -1px; z-index: 2; border: 1px solid var(--mobile-glass-edge, var(--line)); box-shadow: var(--mobile-glass-shadow); }
    html body .ws-app .inv-floating-panel::after { top: calc(-1px - var(--top-h) - 4px); bottom: 50%; height: auto; left: calc(-1px - var(--mobile-content-inset, 16px)); right: calc(-1px - var(--mobile-content-inset, 16px)); mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent); }
    html body .ws-app .inv-floating-panel .inv-bar { position: relative; top: 0; z-index: 3; }
    html body .ws-app .inv-floating-panel .inv-tabs { padding: 0 11px; scroll-padding-inline: 11px; }
    html body .ws-app .inv-floating-panel .inv-kinds { padding-block: 12px; }
    html body .ws-app .inv-floating-panel .inv-kinds > .dwp-chip { border-radius: 22px; }
    html body .ws-app .inv-floating-panel .inv-results { padding: 12px 11px 11px; }
    html body .ws-app .inv-floating-panel .inv-review { padding: 12px 11px 11px; }
    html body .ws-app .inv-floating-panel .inv-review > .ws-btn { border-radius: 12px; }
    html body .ws-app .inv-filters__more { flex: none; }
    html body .ws-app .inv-filters__more > .ws-btn { gap: 7px; padding: 8px 12px; border-color: var(--line); border-radius: 12px; font-weight: 400; }
    html body .ws-app .inv-filters__search { text-overflow: ellipsis; }
    html body .ws-app .inv-filters__search:placeholder-shown::-webkit-search-cancel-button { display: none; }
    html body .ws-app .inv-sheet .ws-btn { border-radius: 12px; }
    html body .ws-app .deals-toolbar { gap: 12px 8px; }
    html body .ws-app .deals-query-row .deals-search { border-radius: 12px; }
    html body .ws-app .deals-sort .ws-selection__trigger { border-radius: 12px; }
    html body .ws-app .deals-sort .ws-selection__value::after { content: "Recent"; }
    html body .ws-app .deals-sort[data-sort="next"] .ws-selection__value::after { content: "Next step"; }
    html body .ws-app .deals-sort[data-sort="close"] .ws-selection__value::after { content: "Closing"; }
    html body .ws-app .deals-stagebar { top: calc(var(--top-h) + 4px); padding: 11px; border-radius: 24px; scroll-padding-inline: 11px; }
    html body .ws-app .deals-stagebar > button[aria-pressed] { border-radius: 12px; }
    html body .ws-app .deals-active-filters { gap: 8px; margin-inline: max(16px, var(--mobile-content-inset, 16px)); padding: 0 0 12px; border-bottom: 0; }
    html body .ws-app .deals-active-filters > button { min-height: 44px; padding: 0 12px; gap: 6px; border: 1px solid var(--mobile-glass-edge); border-radius: 22px; background: var(--paper); color: var(--ink); font: 500 12px/1.5 var(--font-ui, var(--font-body)); }
    html body .ws-app .deals-active-filters > .deals-clear { border-color: transparent; background: transparent; color: var(--ws-control-muted); }
}
@media (max-width: 767.98px) {
    html body .ws-main > .ws-enquiries-page > .ws-listbar { padding-inline: var(--mobile-content-inset); }
    html body .ws-app .ws-enquiries-page .ws-enq-search { flex: 1 1 100%; }
    html body .ws-main .ws-enquiries-page .ws-enq-list { border-inline: 0; border-radius: 0; }
}
@media (max-width: 799.98px) {
    html body .settings-nav { gap: 6px; }
    html body .settings-nav__group + .settings-nav__group { padding-left: 0; border-left: 0; }
    html body .settings-card__head { border-bottom: 0; padding-bottom: 0; }
}
html body .settings-save:has(.settings-discard:disabled) { display: none; }
@media (max-width: 799.98px) {
    html body .settings-heading { display: none; }
}
@media (max-width: 767.98px) {
    html body .settings-layout { gap: 18px; }
    html body .settings-card { border-top: 0; }
    html body .settings-card__head { padding-top: 0; }
}
