/* Shared controls, photographs and comparisons. */
.px-button, .px-pick, .px-text-button, .px-clear { appearance: none; font: inherit; cursor: pointer; }
.px-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 11px 16px; border: 1px solid #b9c8bc; background: transparent; color: #173e45; font-size: 12px; line-height: 1.4; text-decoration: none; }
.px-button:hover { background: #e5ebdf; border-color: #76938a; }
.px-button.px-dark { background: #092b35; border-color: #092b35; color: #fff; }
.px-button.px-dark:hover { background: #1b4650; }
.px-text-button, .px-clear { border: 0; background: none; color: #536f62; text-decoration: underline; text-underline-offset: 4px; min-height: 40px; padding: 7px; font-size: 11px; }
.px-preferences { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 22px; padding: 23px 0; color: #294a41; }
.px-number-control { display: grid; align-content: start; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.px-number-control legend, .px-select-control > span { font-size: 11px; line-height: 1.4; margin-bottom: 8px; color: #617364; }
.px-number-line { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #b6c6b5; }
.px-number-control input[type="number"] { appearance: textfield; width: 100%; min-width: 0; padding: 7px 0; border: 0; background: none; color: #173e45; font-family: inherit; font-size: 22px; font-weight: 500; outline-offset: 4px; }
.px-number-control input[type="range"] { width: 100%; min-height: 28px; margin: 0; accent-color: #c66d29; cursor: pointer; }
.px-select-control { display: grid; gap: 5px; min-width: 0; }
.px-select-control > span { margin: 0; }
.px-select-control select { width: 100%; min-height: 42px; padding: 8px 24px 8px 9px; border: 1px solid #bdcbb9; background: #fbfcf6; color: #294a41; font: inherit; font-size: 12px; }
.px-control-status { grid-column: 1 / -1; margin: 0; color: #6c7c65; font-size: 10px; line-height: 1.5; }
.px-preference-sheet, .px-summary-sheet { padding: 23px 20px; color: #294a41; }
.px-preference-sheet > p, .px-summary-sheet > p { margin: 0 0 16px; color: #627462; font-size: 13px; line-height: 1.65; }
.px-preference-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px 0; }
.px-preference-chip { border: 1px solid #cfdbc7; background: #f4f6eb; padding: 7px 10px; min-height: 34px; font-size: 10px; color: #4a6552; text-align: start; cursor: pointer; }
.px-preference-chip:hover { border-color: #b87645; color: #9c4d1a; }
.px-context-actions > .px-dock-action { display: block; width: 100%; padding: 9px 20px; min-height: 38px; border: 0; border-bottom: 1px solid #dbe3d3; color: #6a795f; background: #f3f5e9; text-align: start; font-size: 11px; }
.px-summary-text { display: block; width: 100%; min-height: 260px; resize: vertical; padding: 13px; margin-bottom: 14px; border: 1px solid #b5c5b2; background: #fffef8; color: #24473f; font: 12px/1.7 inherit; font-family: inherit; font-size: 12px; line-height: 1.7; }
.px-summary-sheet .px-button { width: 100%; margin-bottom: 8px; }
.px-summary-error { color: #9d492c; min-height: 14px; }
.px-notice { position: fixed; right: 25px; bottom: 98px; z-index: 20; max-width: min(330px,calc(100vw - 30px)); padding: 13px 17px; background: #173e45; border-inline-start: 3px solid #ed9a57; color: #fff; box-shadow: 0 6px 25px #092b351a; font-size: 12px; line-height: 1.6; }
.px-notice.is-error { border-inline-start-color: #f09b82; }
.px-flying-photo { position: fixed; z-index: 30; pointer-events: none; transform-origin: top left; object-fit: cover; }
:host([data-mode="public"]) .launcher.px-replaced { display: none; }
.px-dock { position: fixed; bottom: 24px; right: 24px; width: min(330px,calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0,1fr) 30px; background: #092b35; color: #fff; border-inline-start: 3px solid #ef954c; box-shadow: 0 8px 30px #092b352b; }
.px-dock-main { display: flex; align-items: center; gap: 10px; min-height: 69px; padding: 13px 0 11px 14px; text-align: start; width: 100%; }
.px-dock-main > img { width: 44px; height: 39px; object-fit: cover; }
.px-dock-copy { display: grid; gap: 5px; min-width: 0; flex: 1; }
.px-dock-copy small { font-size: 9px; color: #c2d5d2; }
.px-dock-copy strong { font-size: 12px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.px-dock-main > .i { width: 17px; height: 17px; margin-inline-end: 6px; color: #f7ad72; }
.px-dock-action { grid-column: 1 / -1; grid-row: 2; text-align: start; padding: 10px 15px 12px; border-top: 1px solid #ffffff20; font-size: 11px; color: #f4b47e; }
.px-dock-action:hover { background: #1b454e; }
.px-dock-dismiss { grid-column: 2; grid-row: 1; align-self: start; width: 30px; min-height: 38px; border: 0; color: #c7d8d2; background: none; font-size: 17px; }
.px-dock.is-quiet { width: 178px; border-inline-start-width: 0; }
.px-dock.is-quiet .px-dock-main { min-height: 53px; padding-block: 9px; }
.px-dock.is-quiet .px-dock-copy small, .px-dock.is-quiet .px-dock-dismiss { display: none; }
.px-dock.is-quiet .px-dock-copy strong { font-size: 11px; }
:host([data-site-compare]) .px-dock { bottom: 136px; }
:host([data-mode="public"]) .conversation-options { max-height: calc(100% - 84px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width:640px) {
 .px-dock { bottom: max(16px,env(safe-area-inset-bottom)); right: 16px; width: min(300px,calc(100vw - 32px)); }
 .px-dock-main { min-height: 60px; }
 .px-dock-action { min-height: 41px; }
 :host([data-site-bar]) .px-dock { bottom: 94px; }
 :host([data-site-bar]) .launcher { bottom: 94px; }
 :host([data-site-compare]) .px-dock { bottom: 136px; }
 .px-preference-chips { padding: 9px 14px 0; gap: 5px; }
 .px-preference-chip { font-size: 9px; padding: 6px 8px; }
 .px-notice { right: 16px; bottom: 130px; }
 .px-preference-sheet { padding: 19px 16px; }
 .px-number-control input[type="number"], .px-select-control select { font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) { .px-flying-photo { display: none; } }

[hidden] { display: none !important; }
