/* R35: one compact content-sized presentation; full media retains its own viewport. */
html body dialog.triq-r34-modal[open]:not(.r42-att-panel):not(.triq-r33-photo-viewer):not(.triq-media-viewer):not(.f-overflow-menu):not(.s-action-popover):not(.triq-about):not(.triq-photo-sheet):not(.triq-web-recorder):not(.welcome-tour):not(.customer-dialog):not(.o-visit-dialog):not(.guide-dialog):not(.p-payment-dialog):not(.r40-invoice-preview):not(.web-recorder),
html body #app#app dialog.triq-r34-modal[open]:not(.r42-att-panel):not(.triq-r33-photo-viewer):not(.triq-media-viewer):not(.f-overflow-menu):not(.s-action-popover):not(.triq-about):not(.triq-photo-sheet):not(.triq-web-recorder):not(.welcome-tour):not(.customer-dialog):not(.o-visit-dialog):not(.guide-dialog):not(.p-payment-dialog):not(.r40-invoice-preview):not(.web-recorder){height:fit-content!important;block-size:fit-content!important;min-height:0!important;max-height:calc(var(--triq-ios-viewport-height,100dvh) - 32px)!important;max-width:440px!important;padding:18px!important;border-radius:20px!important;box-shadow:0 14px 42px rgba(23,39,62,.18)!important}
html body dialog.triq-r34-modal[open] :is(.triq-dialog-body,.triq-sheet-body,.f-sheet-body){min-height:0!important;height:auto!important;flex:0 1 auto!important}
html body dialog.triq-r34-modal.triq-about[open],html body #app#app dialog.triq-r34-modal.triq-about[open]{height:fit-content!important;max-width:440px!important;max-height:calc(var(--triq-ios-viewport-height,100dvh) - 32px)!important}
html body dialog.triq-r34-modal.triq-about>.triq-about-content{flex:0 1 auto!important;max-height:calc(var(--triq-ios-viewport-height,100dvh) - 110px)!important}
html body dialog.triq-r34-modal>.triq-dialog-header{padding:0 0 10px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
html body dialog.triq-r34-modal :is(h2,h3){font-size:18px!important;line-height:1.35!important}
html body dialog.triq-r34-modal .triq-dialog-header+h2[data-triq-duplicate-heading]{display:none!important}
html body dialog.triq-r34-modal :is(.triq-confirm-icon,.confirm-icon){width:48px!important;height:48px!important;margin:0 auto 14px!important}
html body dialog.triq-r34-modal :is(.triq-confirm,.triq-confirm-body){padding:4px!important;min-height:0!important;height:auto!important}
html body dialog.triq-r34-modal form{min-height:0!important}
html body dialog.triq-r34-modal :is(.form-footer,footer){margin-top:16px!important;margin-bottom:0!important}
html body :is(input,textarea,[contenteditable=true]){caret-color:var(--triq-nav-accent,#073779)!important}
html body :is(input,textarea)::selection{background:color-mix(in srgb,var(--triq-nav-accent,#073779) 22%,transparent);color:inherit}
/* A locked value looks locked, including native selects, without changing access. */
html body #app#app :is(input[readonly],input:disabled,textarea[readonly],textarea:disabled,select:disabled),
html body #app#app .triq-readonly-value{color:#939ca8!important;-webkit-text-fill-color:#939ca8!important;background:#f4f5f7!important;border-color:#e8ebef!important;opacity:1!important;box-shadow:none!important;cursor:default!important}
html body #app#app select:disabled{appearance:none!important;-webkit-appearance:none!important;background-image:none!important;padding-right:14px!important}
html body #app#app .triq-locked-control :is(.w-combo-button,.w-combo-trigger){color:#939ca8!important;background:#f4f5f7!important;pointer-events:none!important}
html body #app#app .triq-locked-control :is(.w-combo-arrow,.w-combo-caret){visibility:hidden!important}
