/* Đạo Quán R294. Shared picker geometry; original values/events remain owned by each feature. */
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker){
 --dq294-row:44px;--dq294-half:22px;--dq294-pad:88px;--dq273-row:44px;--dq273-track:222px;
 box-sizing:border-box!important;position:fixed!important;
 inset:var(--dq294-vv-top,0px) 0 max(0px,calc(100dvh - var(--dq294-vv-top,0px) - var(--dq294-vv-height,100dvh)))!important;
 width:min(calc(var(--dq294-vv-width,100vw) - 24px),400px)!important;max-width:calc(var(--dq294-vv-width,100vw) - 24px)!important;
 height:fit-content!important;max-height:calc(var(--dq294-vv-height,100dvh) - 24px)!important;
 min-width:0!important;min-height:0!important;margin:auto!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
 scroll-padding-block:12px;isolation:isolate;
}
html body dialog.om-picker{--dq294-row:40px;--dq294-half:20px;--dq294-pad:80px;--dq273-row:40px;--dq273-track:202px}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker):not([open]){display:none!important}
html body :is(dialog.number-date-dialog,dialog.chart-view-dialog){padding:0!important}
html body :is(.number-date-picker,.view-picker-content){box-sizing:border-box;min-width:0;max-width:100%;padding:16px 13px 12px}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(h2,h3){
 height:auto!important;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;
 font-size:clamp(19px,5.4vw,22px)!important;line-height:1.35!important;
}
/* A centered background belongs to each scroll viewport, regardless of its column label. */
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-columns,.number-wheel-columns,.view-wheel-columns,.cc-wheel-columns,.as-wheel-columns,.bs-wheel-columns,.qm-wheel-columns,.om-picker-columns)::after,
html body .view-wheel-window::after{content:none!important;display:none!important}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-wheel,.number-wheel-track,.view-wheel-track,.cc-wheel,.as-wheel,.bs-wheel,.qm-wheel,.om-wheel){
 box-sizing:border-box!important;position:relative;display:block!important;
 width:100%;min-width:0;max-width:100%;height:var(--dq273-track)!important;min-height:var(--dq273-track)!important;max-height:var(--dq273-track)!important;
 margin:0!important;border:1px solid #e3c99f!important;border-radius:10px!important;
 overflow-x:hidden!important;overflow-y:auto!important;scroll-snap-type:y mandatory;scroll-behavior:auto!important;
 scroll-padding:0!important;overscroll-behavior:contain!important;touch-action:pan-y!important;
 background:linear-gradient(to bottom,transparent calc(50% - var(--dq294-half)),#d5a253 calc(50% - var(--dq294-half)),#d5a253 calc(50% - var(--dq294-half) + 1px),#faedd4 calc(50% - var(--dq294-half) + 1px),#faedd4 calc(50% + var(--dq294-half) - 1px),#d5a253 calc(50% + var(--dq294-half) - 1px),#d5a253 calc(50% + var(--dq294-half)),transparent calc(50% + var(--dq294-half)))!important;
 background-attachment:scroll!important;background-origin:padding-box!important;background-clip:padding-box!important;
}
html body :is(dialog.dq259-dialog,dialog.chart-view-dialog) :is(.dq259-wheel,.view-wheel-track),html body dialog.om-picker .om-wheel{padding:var(--dq294-pad) 0!important}
html body :is(dialog.number-date-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker) :is(.number-wheel-track,.cc-wheel,.as-wheel,.bs-wheel,.qm-wheel){padding:0!important}
html body :is(dialog.number-date-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker) :is(.cc-wheel-spacer,.as-wheel-spacer,.bs-wheel-spacer,.qm-wheel-spacer),
html body dialog.number-date-dialog .number-wheel-track::before,html body dialog.number-date-dialog .number-wheel-track::after{
 display:block!important;box-sizing:border-box!important;height:var(--dq294-pad)!important;min-height:var(--dq294-pad)!important;max-height:var(--dq294-pad)!important;
 flex:none!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none;
}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-wheel,.number-wheel-track,.view-wheel-track,.cc-wheel,.as-wheel,.bs-wheel,.qm-wheel,.om-wheel)>button{
 box-sizing:border-box!important;display:flex!important;align-items:center;justify-content:center;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:var(--dq294-row)!important;min-height:var(--dq294-row)!important;max-height:var(--dq294-row)!important;
 margin:0!important;padding:0 7px!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;color:#607184!important;
 font:400 16px/1.25 'DQ Sans',system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:normal!important;overflow-wrap:anywhere;text-align:center;overflow:hidden!important;
 scroll-snap-align:center;scroll-snap-stop:normal;touch-action:pan-y!important;
}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-wheel,.number-wheel-track,.view-wheel-track,.cc-wheel,.as-wheel,.bs-wheel,.qm-wheel,.om-wheel)>button:is([aria-selected=true],.selected){font-size:16px!important;font-weight:700!important;color:#16374f!important;background:transparent!important}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-column,.number-wheel-column,.view-wheel-column,.cc-wheel-col,.as-wheel-col,.bs-wheel-col,.qm-wheel-col,.om-picker-column){min-width:0!important;max-width:100%;align-self:start}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-columns,.number-wheel-columns,.view-wheel-columns,.cc-wheel-columns,.as-wheel-columns,.bs-wheel-columns,.qm-wheel-columns,.om-picker-columns):has(>div:only-child){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;max-width:100%}
html body .chart-time-dialog .number-wheel-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body .dq259-dialog .dq259-datetime{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;max-height:none!important;overflow:visible!important;--dq273-track:134px;--dq294-pad:44px}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-actions,.number-picker-actions,.cc-actions,.as-actions,.bs-actions,.qm-actions,.om-picker-actions){
 position:sticky;bottom:-1px;z-index:4;display:flex!important;flex-wrap:wrap;gap:9px;
 padding-top:10px;padding-bottom:2px;background:#fff9eb;isolation:isolate;
}
html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-actions,.number-picker-actions,.cc-actions,.as-actions,.bs-actions,.qm-actions,.om-picker-actions)>button{
 box-sizing:border-box!important;flex:1 1 90px!important;min-width:0!important;min-height:44px!important;height:auto!important;
 white-space:normal!important;overflow-wrap:anywhere;line-height:1.4!important;
}
html body .dq259-dialog .dq259-actions{padding:10px 13px 12px}
html body .dq294-selection{box-sizing:border-box;max-width:100%;margin:9px 0 0;padding:9px 10px;border:1px solid #e3c99f;border-radius:8px;background:#fffdf6;color:#25445a;font:500 13px/1.55 'DQ Sans',system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere}
html body .dq259-dialog>.dq294-selection{margin-inline:13px}
html body .dq294-selection[hidden]{display:none!important}
html.dq294-compact body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker){--dq273-track:134px;--dq294-pad:44px}
html.dq294-compact body dialog.om-picker{--dq273-track:122px;--dq294-pad:40px}
@media(max-height:559px){html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker){--dq273-track:134px;--dq294-pad:44px}html body dialog.om-picker{--dq273-track:122px;--dq294-pad:40px}}
@media(max-width:359px){html body :is(dialog.dq259-dialog,dialog.number-date-dialog,dialog.chart-view-dialog,dialog.cc-picker,dialog.as-picker,dialog.bs-picker,dialog.qm-picker,dialog.om-picker) :is(.dq259-wheel,.number-wheel-track,.view-wheel-track,.cc-wheel,.as-wheel,.bs-wheel,.qm-wheel,.om-wheel)>button{font-size:15px!important}}
/* Common form controls: allow labels to wrap while retaining the trailing icon. */
#app :is(form,fieldset) :is(.dq-field,.td-field,.ts-field,.nm-field,.dn-field,.bt-field){min-width:0;max-width:100%}
#app :is(.dq-grid,.td-two,.td-three,.ts-two,.ts-date-row,.dn-date-grid,.dn-secondary-grid,.bt-fields,.mh-time-grid)>*{min-width:0}
html body dialog button.dq259-trigger,#app :is(button.dq-input,button.dq259-trigger,button.number-date-trigger,button.number-choice-trigger,button.nc-control,button.sh-control,button.hp-control){
 box-sizing:border-box!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;
 min-width:0!important;max-width:100%!important;min-height:44px;height:auto;line-height:1.4;white-space:normal;
}
html body dialog button.dq259-trigger>span:first-child,#app :is(button.dq-input,button.dq259-trigger,button.number-date-trigger,button.number-choice-trigger,button.nc-control,button.sh-control,button.hp-control)>span:first-child{min-width:0;flex:1;white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important;text-align:left}
html body dialog button.dq259-trigger>:is(svg,span:last-child:not(:first-child)),#app :is(button.dq-input,button.dq259-trigger,button.number-date-trigger,button.number-choice-trigger,button.nc-control,button.sh-control,button.hp-control)>:is(svg,span:last-child:not(:first-child)){flex-shrink:0}
#app :is(.dq-chip,.nc-capsule,.ts-module-title){box-sizing:border-box;max-width:100%!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere;height:auto;text-align:center;line-height:1.5}
#app [role=tablist]>button{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
#app :is(select,input,textarea):not(.dq259-native):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){box-sizing:border-box;min-width:0;max-width:100%}
/* Other dialogs keep their own artwork/colors, but stay inside the visible screen. */
html body :is(dialog.feng-filter-dialog,dialog.nc-surname-dialog,dialog.dq-member-dialog-r252,dialog.tc-dialog,dialog.ts-room-dialog,dialog.dq-premium-r250,dialog.tr-dialog,dialog.dq-dialog,dialog.tuvi-modal,dialog.dq-notice-reader-r290){
 box-sizing:border-box;position:fixed!important;inset:var(--dq294-vv-top,0px) 0 max(0px,calc(100dvh - var(--dq294-vv-top,0px) - var(--dq294-vv-height,100dvh)))!important;margin:auto!important;max-width:calc(var(--dq294-vv-width,100vw) - 24px)!important;max-height:calc(var(--dq294-vv-height,100dvh) - 24px)!important;
 min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
}
html body :is(dialog.feng-filter-dialog,dialog.nc-surname-dialog,dialog.dq-member-dialog-r252,dialog.tc-dialog,dialog.ts-room-dialog,dialog.dq-premium-r250,dialog.tr-dialog,dialog.dq-dialog,dialog.tuvi-modal,dialog.dq-notice-reader-r290):not([open]){display:none!important}
@media(prefers-reduced-motion:reduce){html body .dq294-selection{scroll-behavior:auto}}
