/* DWARG forms & popups — navy header, white section cards, icon fields, sticky action bar.
   Loaded last so it wins over the older modal/form layers.
   Markup: partials/form-head.php (popups), partials/form-hero.php + form.dw-form-page (full pages). */
:root {
    --f-h: 46px;
    --f-r: 12px;
    --f-bd: #dbe3ee;
    --f-ic: #8a97ab;
    --f-canvas: #f2f5fa;
    --f-card-bd: #e6ebf3;
    --f-tint: #eaf1ff;
    --f-head: linear-gradient(135deg, #081736 0%, #0e2458 52%, #1a3c9c 100%);
    --f-primary: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
}

/* ---------- Popup shell ---------- */
.modal-content { border: 0; border-radius: 24px; overflow: hidden; background: var(--f-canvas); box-shadow: 0 40px 90px -36px rgba(8, 23, 54, .55); }
.modal-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem 2.1rem;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: var(--f-head);
}
.modal-header::after { content: none; display: none; }
.modal-header.has-art::before,
.dw-fhero.has-art::before {
    content: '';
    position: absolute;
    inset: 0 0 0 42%;
    z-index: -1;
    background: var(--art) 62% 58% / cover no-repeat;
    opacity: .5;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}
.modal-header .modal-title { display: flex; align-items: center; gap: .75rem; margin: 0; min-width: 0; font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.modal-header .modal-title > i { flex-shrink: 0; margin: 0 !important; font-size: 1.4rem; color: #8fb3ff !important; }
.modal-header .modal-title > span { display: flex; flex-direction: column; min-width: 0; }
.modal-header .modal-title small { margin-top: .25rem; max-width: 34ch; font-size: .78rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: rgba(255, 255, 255, .74) !important; }
.modal-header .btn-close {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin: 0 0 0 auto;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 12px no-repeat;
    filter: none;
    opacity: 1;
    box-shadow: none;
    transition: background-color .2s ease;
}
.modal-header .btn-close:hover { background-color: rgba(255, 255, 255, .22); }
.modal-header .btn-close:focus-visible { box-shadow: 0 0 0 3px rgba(143, 179, 255, .55); }

/* icon tile + title + subtitle (partials/form-head.php) */
.dw-head-ic,
.dw-fhero-ic {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    background: var(--f-primary);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 12px 24px -12px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.dw-head-txt, .dw-fhero-txt { flex: 1 1 auto; min-width: 0; }
.modal-header.dw-head .modal-title { display: block; font-size: 1.3rem; }
.dw-head-txt p { margin: .28rem 0 0; max-width: 46ch; font-size: .8rem; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, .74) !important; }

.modal-body { position: relative; z-index: 1; margin-top: -1.1rem; padding: 1rem; border-radius: 22px 22px 0 0; background: var(--f-canvas); }
.modal-body > .form-alert { margin: 0 0 .85rem; border-radius: 14px; }
.modal-footer {
    position: relative;
    z-index: 2;
    gap: .75rem;
    padding: .85rem 1rem;
    border-top: 1px solid var(--f-card-bd);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -12px 28px -22px rgba(8, 23, 54, .35);
}
.modal-footer > * { margin: 0; }
.modal-footer .btn, .dw-actions .btn { min-height: 48px; padding-inline: 1.4rem; border-radius: 14px; font-weight: 700; }
.modal-footer > .btn { min-width: 132px; }
.modal-footer .btn-light, .dw-actions .btn-light { color: var(--ink); background: #eef2f7; border-color: #eef2f7; }
.modal-footer .btn-light:hover, .dw-actions .btn-light:hover { background: #e3e9f1; border-color: #e3e9f1; }
.modal-footer .btn-primary, .dw-actions .btn-primary { border: 0; color: #fff; background: var(--f-primary); box-shadow: 0 14px 26px -14px rgba(29, 78, 216, .9); }
.modal-footer .btn-primary:hover, .dw-actions .btn-primary:hover { filter: brightness(1.06); }
.modal-footer .btn i, .dw-actions .btn i { margin-right: .4rem !important; }
.dw-form .modal-footer > .btn { flex: 1 1 0; }

/* ---------- Section cards ---------- */
.ws-form-block,
.modal-body .ws-form-block,
.workshop-ui .modal-body .ws-form-block,
.form-section,
.modal-body .form-section {
    background: #fff;
    border: 1px solid var(--f-card-bd);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 10px 26px -22px rgba(15, 23, 42, .3);
}
.ws-form-block { padding: 1rem 1rem 1.05rem; }
.ws-form-block + .ws-form-block, .modal-body .form-section + .form-section { margin-top: .85rem; }
.modal-body .form-section { margin-bottom: .85rem; }
.modal-body .form-section:last-child { margin-bottom: 0; }
.modal-body .form-section > .card-body { padding: .85rem 1rem 1.05rem; }

.ws-form-section,
.form-section-hd {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 750;
    letter-spacing: -.01em;
    line-height: 1.2;
    text-transform: none;
    color: var(--ink);
}
.ws-form-block .ws-form-section { margin: 0 0 .9rem; }
.form-section-hd { padding: 1rem 1.25rem .1rem; }
.modal-body .form-section-hd { padding: 1rem 1rem .1rem; }
.ws-form-section > i,
.form-section-hd > i:first-child,
.dw-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .98rem;
    font-style: normal;
    color: var(--primary);
    background: var(--f-tint);
}
.dw-num { font-size: .95rem; font-weight: 800; }
.ws-form-section > span,
.form-section-hd > span:not(.est-count):not(.est-hd-note):not(.fw-normal) { display: flex; flex-direction: column; min-width: 0; }
.ws-form-section small,
.form-section-hd > span > small { margin-top: .18rem; font-size: .72rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.form-section-hd .text-muted { font-size: .74rem; letter-spacing: 0; }
.form-section-hd > .est-count { margin-left: auto; }
/* numbered section with the caption on the right (appointment form) */
.ws-form-section.is-split > span { flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: .75rem; font-size: 1.12rem; font-weight: 800; }
.ws-form-section.is-split small { margin: 0; font-size: .74rem; font-style: italic; text-align: right; }
.dw-opt { font-size: .78em; font-weight: 500; color: var(--muted); }

/* collapsible section */
details.dw-more > summary { cursor: pointer; list-style: none; margin: 0; -webkit-tap-highlight-color: transparent; }
details.dw-more > summary::-webkit-details-marker { display: none; }
details.dw-more > summary::after { content: '\F282'; margin-left: auto; font-family: 'bootstrap-icons'; font-size: .85rem; font-weight: 400; color: var(--n-500); transition: rotate .25s ease; }
details.dw-more[open] > summary { margin-bottom: .9rem; }
details.dw-more[open] > summary::after { rotate: 180deg; }

/* ---------- Fields ---------- */
.modal-body .form-label,
.form-section .form-label,
.ws-form-block .form-label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.modal-body .form-control,
.modal-body .form-select,
.form-section .form-control,
.form-section .form-select,
.ws-form-block .form-control,
.ws-form-block .form-select { border-radius: var(--f-r); border-color: var(--f-bd); background-color: #fff; }
.modal-body .form-control:not(.form-control-sm):not(textarea),
.modal-body .form-select:not(.form-select-sm),
.form-section .form-control:not(.form-control-sm):not(textarea),
.form-section .form-select:not(.form-select-sm) { min-height: var(--f-h); }
.modal-body textarea.form-control, .form-section textarea.form-control { min-height: var(--f-h); padding-top: .7rem; padding-bottom: .7rem; }
.modal-body .form-control::placeholder, .form-section .form-control::placeholder { color: #9aa6b8; }
textarea.dw-grow { resize: none; overflow: hidden; }
.modal-body .form-control:focus,
.modal-body .form-select:focus,
.form-section .form-control:focus,
.form-section .form-select:focus { border-color: #6b94f5; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.modal-body .input-group-text, .form-section .input-group-text { border-color: var(--f-bd); background: #f5f8fc; border-radius: var(--f-r); }
.form-control[readonly].bg-light, div.form-control.bg-light { display: flex; align-items: center; color: var(--ink-2); background: #f5f8fc !important; }

/* label row with a right-aligned action link */
.dw-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; min-width: 0; }
.dw-lbl > .form-label { min-width: 0; }
.dw-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: .25rem; margin-bottom: .4rem; padding: 0; border: 0; background: none; font-size: .78rem; font-weight: 650; color: var(--primary); text-decoration: none; }
.dw-link:hover { text-decoration: underline; }

/* leading icon: added by App.init for inputs, or written explicitly as <span class="f-ic"><i …></i><input|select></span> */
.f-ic { position: relative; display: block; }
.f-ic > i { position: absolute; left: .85rem; top: 0; z-index: 4; height: var(--f-h); display: flex; align-items: center; font-size: 1rem; line-height: 1; color: var(--f-ic); pointer-events: none; transition: color .2s ease; }
.f-ic > .form-control, .f-ic > .form-select, .f-ic > .rs-input, .f-ic.remote-select .rs-input { padding-left: 2.55rem; }
.f-ic:focus-within > i { color: var(--primary); }
.f-ic.is-area > i { height: calc(var(--f-h) - 2px); }
.f-ic > input[type=date]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

/* input with a dropdown of presets (Bootstrap dropdown) */
.f-ic.dropdown > .form-control { padding-right: 2.6rem; }
.dw-caret { position: absolute; top: 0; right: 0; z-index: 5; width: 2.6rem; height: var(--f-h); display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--n-500, #6b7280); font-size: .8rem; }
.dw-caret i { transition: transform .2s ease; }
.dw-caret[aria-expanded="true"] i { transform: rotate(180deg); }
.dw-menu { width: 100%; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; margin-top: 6px !important; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .35); }
.dw-menu .dropdown-item { padding: .6rem .75rem; border-radius: 10px; white-space: normal; }

/* combined date | time control */
.dw-dt { display: flex; align-items: stretch; min-height: var(--f-h); border: 1px solid var(--f-bd); border-radius: var(--f-r); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.dw-dt:focus-within { border-color: #6b94f5; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.dw-dt.is-invalid, .dw-dt:has(.is-invalid) { border-color: var(--bs-form-invalid-border-color, #dc3545); }
.dw-dt-part { position: relative; display: flex; align-items: center; min-width: 0; }
.dw-dt-date { flex: 1 1 58%; }
.dw-dt-time { flex: 1 1 42%; }
.dw-dt-time::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--f-bd); }
.dw-dt-part > i { position: absolute; left: .85rem; z-index: 2; font-size: 1rem; color: var(--f-ic); pointer-events: none; }
.dw-dt-part:focus-within > i { color: var(--primary); }
.dw-dt .form-control { position: relative; width: 100%; min-height: calc(var(--f-h) - 2px) !important; padding-left: 2.55rem; padding-right: 2rem; border: 0; border-radius: var(--f-r); background: transparent; box-shadow: none !important; cursor: pointer; }
.dw-dt .form-control::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; opacity: 0; cursor: pointer; }
.dw-dt-date .form-control { color: transparent; }
.dw-dt-date .form-control::-webkit-datetime-edit { color: transparent; }
.dw-dt-date:has(.dw-dt-show[hidden]) .form-control, .dw-dt-date:has(.dw-dt-show[hidden]) .form-control::-webkit-datetime-edit { color: inherit; }
.dw-dt-show { position: absolute; left: 2.55rem; right: .5rem; z-index: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; color: var(--ink); pointer-events: none; }
.dw-dt-part > .dw-dt-caret { left: auto !important; right: .85rem; font-size: .8rem; color: var(--n-500, #6b7280); }

/* segmented choice (account type etc.) */
.tabs-pill.dw-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .25rem; width: 100%; padding: .25rem; border-radius: 14px; background: #f5f8fc; border: 1px solid var(--f-bd); box-shadow: none; }
.tabs-pill.dw-seg .btn { min-height: 44px; border: 0; border-radius: 11px; font-size: .88rem; font-weight: 650; color: var(--ink-2); background: transparent; box-shadow: none; }
.tabs-pill.dw-seg .btn-check:checked + .btn { color: #fff; background: var(--f-primary); box-shadow: 0 10px 20px -12px rgba(29, 78, 216, .9); }
.dw-form:has(#ct_individual:checked) .dw-if-business { display: none; }

/* preference rows (icon · label + hint · switch) */
.dw-pref { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; }
.dw-pref + .dw-pref { margin-top: .5rem; }
.dw-pref.is-top { align-items: flex-start; }
.dw-pref.is-boxed { padding: .6rem .75rem; border: 1px solid var(--f-card-bd); border-radius: 14px; background: #f8fafd; }
@media (min-width: 768px) { :not(.col-md-12) > .dw-pref.is-field { margin-top: 1.6rem; } }
.dw-pref-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1.02rem; color: var(--primary); background: var(--f-tint); }
.dw-pref-ic.is-wa { color: #fff; background: #25d366; }
.dw-pref-l { flex: 1; min-width: 0; margin: 0; font-size: .86rem; font-weight: 650; color: var(--ink); cursor: pointer; }
div.dw-pref-l { cursor: default; }
.dw-pref-l > small { display: block; margin-top: .1rem; font-size: .72rem; font-weight: 500; color: var(--muted); }
.dw-pref .form-switch { flex-shrink: 0; min-height: 0; margin: 0; padding-left: 0; }
.dw-pref .form-switch .form-check-input { width: 2.9rem; height: 1.6rem; margin: 0; cursor: pointer; }
.dw-pref .form-check-input:checked { background-color: #2563eb; border-color: #2563eb; }

/* ---------- Full-page forms (partials/form-hero.php + form.dw-form-page) ---------- */
.dw-fhero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 1.35rem 1.5rem;
    border-radius: 22px;
    color: #fff;
    background: var(--f-head);
    box-shadow: 0 24px 48px -32px rgba(8, 23, 54, .7);
}
.dw-fhero:has(+ .dw-form-page) { padding-bottom: 2.6rem; margin-bottom: -1.35rem; }
.dw-fhero-back { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s ease; }
.dw-fhero-back:hover { color: #fff; background: rgba(255, 255, 255, .22); }
.dw-fhero-back:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(143, 179, 255, .55); }
.dw-fhero-crumbs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .2rem; font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.dw-fhero-crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.dw-fhero-crumbs a:hover { color: #fff; text-decoration: underline; }
.dw-fhero h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: #fff; }
.dw-fhero p { margin: .3rem 0 0; max-width: 64ch; font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.dw-fhero .ws-chips { margin-top: .65rem; }
.dw-fhero .ws-chip { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .18); }
.dw-fhero .ws-chip i, .dw-fhero .ws-chip .text-muted { color: rgba(255, 255, 255, .72) !important; }
.dw-form-page { position: relative; z-index: 1; }
.dw-form-page > .form-alert { margin-bottom: .85rem; border-radius: 14px; }
.dw-form-page .form-section + .form-section { margin-top: .85rem; }
.dw-form-page .form-section.mb-3 { margin-bottom: .85rem !important; }
.dw-form-page .form-section > .card-body { padding: .9rem 1.25rem 1.2rem; }
.form-section { overflow: visible; }
.form-section:has(table) { overflow: hidden; }

/* sticky action bar */
.app-body .content .sticky-actions.dw-actions,
.sticky-actions.dw-actions {
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1rem;
    padding: .75rem;
    border: 1px solid var(--f-card-bd);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 -12px 28px -20px rgba(8, 23, 54, .35);
}
.dw-actions > .btn { min-width: 132px; }
.app-body .content .sticky-actions.dw-actions.est-actions, .sticky-actions.dw-actions.est-actions { justify-content: space-between; }
.app-body .content .sticky-actions .btn-primary { border: 0; background: var(--f-primary); box-shadow: 0 14px 26px -14px rgba(29, 78, 216, .9); }
.app-body .content .sticky-actions .btn { border-radius: 14px; font-weight: 700; }

/* ---------- Touch: no iOS zoom on focus ---------- */
@media (max-width: 991.98px) {
    .modal .form-control, .modal .form-select, .modal .rs-input,
    .dw-form-page .form-control, .dw-form-page .form-select, .dw-form-page .rs-input { font-size: 16px; }
    .modal .form-control::placeholder, .modal .rs-input::placeholder,
    .dw-form-page .form-control::placeholder, .dw-form-page .rs-input::placeholder { font-size: 14px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 767.98px) {
    .dw-fhero { gap: .8rem; padding: 1.1rem 1rem; border-radius: 18px; }
    .dw-fhero:has(+ .dw-form-page) { padding-bottom: 2.3rem; margin-bottom: -1.2rem; }
    .dw-fhero-ic { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
    .dw-fhero-back { width: 36px; height: 36px; }
    .dw-fhero h1 { font-size: 1.2rem; }
    .dw-fhero p { font-size: .78rem; }
    .dw-form-page .form-section > .card-body { padding: .8rem .9rem 1rem; }
    .dw-form-page .form-section-hd { padding: .9rem .9rem .1rem; }
    .sticky-actions.dw-actions { gap: .6rem; padding: .6rem; }
    .sticky-actions.dw-actions > .btn, .sticky-actions.dw-actions > a.btn { flex: 1 1 0; min-width: 0; padding-inline: .75rem; }
    .app-body .content .sticky-actions.dw-actions:has(> .btn:nth-child(3)) { display: grid; grid-template-columns: 1fr 1fr; }
    .sticky-actions.dw-actions:has(> .btn:nth-child(3)) > .btn-primary { grid-column: 1 / -1; }
}

/* ---------- Phones: full-screen sheet ---------- */
@media (max-width: 575.98px) {
    :root { --f-h: 46px; }
    .modal-content { border-radius: 0; }
    .modal-header { padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem 1.9rem; }
    .modal-header .modal-title { font-size: 1.15rem; gap: .65rem; }
    .modal-header.dw-head .modal-title { font-size: 1.18rem; }
    .modal-header .modal-title small, .dw-head-txt p { font-size: .72rem; }
    .dw-head-ic { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
    .modal-header.dw-head { gap: .75rem; }
    .modal-header.has-art::before, .dw-fhero.has-art::before { inset: 0 0 0 38%; opacity: .42; }
    .modal-body { padding: .8rem .75rem 1rem; }
    .modal-footer { padding: .7rem .75rem calc(.7rem + env(safe-area-inset-bottom, 0px)); gap: .6rem; }
    .modal-footer > .btn { min-width: 0; }
    .modal-footer .btn, .dw-actions .btn { overflow: hidden; padding-inline: .75rem; font-size: .92rem; white-space: nowrap; text-overflow: ellipsis; }
    .dw-form .modal-footer > .btn-primary, .sticky-actions.dw-actions > .btn-primary { flex-grow: 1.45; }
    .ws-form-block { padding: .85rem .8rem .9rem; border-radius: 16px; }
    .ws-form-block + .ws-form-block { margin-top: .7rem; }
    .ws-form-block .ws-form-section { margin-bottom: .75rem; font-size: .9rem; }
    .ws-form-section.is-split > span { font-size: 1.02rem; }
    .ws-form-section > i, .form-section-hd > i:first-child, .dw-num { width: 30px; height: 30px; font-size: .88rem; }
    .ws-form-block .row.g-3 { --bs-gutter-x: .6rem; --bs-gutter-y: .7rem; }
    .modal-body .form-label, .ws-form-block .form-label { margin-bottom: .3rem; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .dw-link { margin-bottom: .3rem; font-size: .74rem; }
    .ws-form-block .form-control, .ws-form-block .form-select { padding-left: .7rem; padding-right: .7rem; }
    .ws-form-block .form-select { padding-right: 1.9rem; background-position: right .55rem center; }
    .ws-form-block .combo .form-control { padding-right: 1.9rem; }
    .ws-form-block .combo-toggle { width: 1.9rem; }
    .f-ic > i, .dw-dt-part > i { left: .7rem; font-size: .92rem; }
    .ws-form-block .f-ic > .form-control, .ws-form-block .f-ic > .form-select, .ws-form-block .f-ic.remote-select .rs-input, .ws-form-block .dw-dt .form-control { padding-left: 2.15rem; }
    .ws-form-block .f-ic.dropdown > .form-control { padding-right: 2.4rem; }
    .dw-dt-show { left: 2.15rem; }
    .tabs-pill.dw-seg .btn { min-height: 42px; font-size: .84rem; }
    .dw-pref-l { font-size: .82rem; }
}
@media (max-width: 359.98px) {
    .ws-form-block .col-4 { flex: 0 0 auto; width: 50%; }
    .ws-form-block .col-4:nth-child(3n) { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    details.dw-more > summary::after, .dw-caret i, .f-ic > i, .dw-dt, .dw-fhero-back, .modal-header .btn-close { transition: none; }
}
