/* Oportunidades: uma busca assistida com custo conhecido antes de começar. */
.op-page,
.op-modal {
  --op-line: #dce5f2;
  --op-muted: #718198;
  --op-blue: #315fdb;
  --op-soft: #eef3ff;
  min-width: 0;
}

.op-page .op-heading { align-items: center; margin-bottom: 25px; }
.op-page .op-heading > div { min-width: 0; }
.op-page .op-heading p { max-width: 650px; font-size: 14px; line-height: 1.6; }
.op-wallet {
  display: flex;
  align-items: center;
  gap: 2px 10px;
  padding: 12px 16px;
  min-height: 62px;
  flex-shrink: 0;
  border: 1px solid #d7e3fd;
  border-radius: 15px;
  background: #ffffffb8;
  color: #456697;
  text-align: left;
  box-shadow: 0 4px 15px #3154a408;
}
.op-wallet > .icon { width: 23px; height: 23px; color: #5e7eca; }
.op-wallet > .icon:last-child { width: 16px; height: 16px; margin-left: 8px; }
.op-wallet > span { min-width: 0; }
.op-wallet .op-credit-total { display: block; color: #264c97; font-size: 15px; font-weight: 650; }
.op-wallet small { font-size: 10px; color: #7b8ca6; }
.op-wallet:hover { background: #fff; border-color: #91b0f3; }

.op-intro { position: relative; padding: 9px 0 25px; max-width: 830px; }
.op-intro > .pill { font-size: 10px; margin-bottom: 13px; padding: 6px 9px; color: #5a70ad; background: #e7eefd; border: 1px solid #dbe5fa; }
.op-intro h2 { max-width: 680px; font-size: clamp(25px, 2.6vw, 35px); line-height: 1.18; letter-spacing: -1px; }
.op-intro p { max-width: 660px; margin-top: 10px; font-size: 14px; line-height: 1.75; }
.op-signal-illustration { width: 116px; height: 92px; flex: 0 0 116px; color: #728dbd; overflow: visible; }
.op-intro > .op-signal-illustration { position: absolute; right: -165px; bottom: 21px; width: 142px; height: 110px; opacity: .85; }

.op-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 278px; align-items: start; gap: 22px; }
.op-workspace > *, .op-side { min-width: 0; }
.op-compose { border-radius: 24px; padding: 25px; }
.op-compose h3 { margin-bottom: 9px; font-size: 16px; }
.op-compose label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 11px; color: #435773; }
.op-compose textarea {
  display: block;
  width: 100%;
  min-height: 115px;
  padding: 17px 18px;
  border: 1px solid #d3dff3;
  border-radius: 15px;
  background: #ffffffdf;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  resize: vertical;
}
.op-compose textarea::placeholder { color: #8797b0; }
.op-compose textarea:focus { border-color: #8cabec; background: #fff; }
.op-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; padding-top: 15px; border-top: 1px solid #e6edf7; }
.op-prompts button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; max-width: 100%; padding: 6px 10px; border: 1px solid #dce5f4; border-radius: 9px; background: #f3f6fc; text-align: left; color: #5f7394; font-size: 11px; line-height: 1.4; }
.op-prompts button:hover { color: #315bd5; background: #eaf0ff; border-color: #b8cbf2; }
.op-prompts button > .icon { width: 14px; height: 14px; }
.op-chat-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.op-chat-bottom > small, .op-chat-bottom > p, .op-chat-bottom > span { color: #788ba8; font-size: 11px; line-height: 1.6; max-width: 330px; }
.op-chat-bottom .btn { font-size: 12px; min-height: 42px; }
.op-dialog { display: grid; gap: 12px; margin-top: 18px; }
.op-dialog:empty { display: none; }
.op-message { width: fit-content; max-width: 93%; padding: 14px 17px; border-radius: 15px; font-size: 13px; line-height: 1.65; color: #536986; }
.op-message p { color: inherit; font-size: inherit; line-height: inherit; }
.op-message > small { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 600; }
.op-message[data-role="user"] { margin-left: auto; background: #e5edff; border: 1px solid #d8e3fd; color: #42608d; border-bottom-right-radius: 5px; }
.op-message[data-role="assistant"] { background: #ffffffc9; border: 1px solid #e2e8f4; border-bottom-left-radius: 5px; }
.op-message[data-role="assistant"] { display: flex; align-items: flex-start; gap: 10px; max-width: 100%; }
.op-message[data-role="assistant"] > .icon { width: 17px; height: 17px; margin-top: 3px; color: #839bca; }
.op-message[data-role="assistant"] strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: #546f96; }
.op-message[data-role="assistant"] p { font-size: 11px; line-height: 1.75; color: #8796ab; }

.op-query { margin-top: 17px; padding: 22px 24px; border-radius: 21px; border-color: #ccdafa; background: #f9fbffed; }
.op-query h3 { font-size: 16px; line-height: 1.45; }
.op-query > p { margin-top: 6px; font-size: 12px; }
.op-query > .g-between, .op-saved-list > .g-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.op-query > .g-between .text-btn, .op-saved-list > .g-between .text-btn { min-height: 32px; padding: 4px 0; font-size: 11px; white-space: normal; }
.op-query-sources { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: -3px 0 18px; }
.op-query-sources > span { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #7b8da7; }
.op-query-sources .brand-mark { width: 16px; height: 16px; min-width: 16px; }
.op-query-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.op-query-chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; font-size: 11px; font-weight: 550; border-radius: 8px; background: #eaf0fa; color: #5a7296; line-height: 1.4; }
.op-query-chips .icon { width: 14px; height: 14px; }
.op-query-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #e0e7f4; padding-top: 16px; }
.op-query-footer > div:first-child, .op-query-footer > p:first-child { margin-right: auto; }
.op-query-footer strong { display: block; font-size: 13px; color: #2f508a; }
.op-query-footer small { display: block; margin-top: 4px; font-size: 10px; color: #8191a9; line-height: 1.5; }
.op-query-footer .btn { min-height: 40px; padding: 9px 12px; font-size: 12px; }
.op-refresh-line { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6edf6; }
.op-refresh-line .text-btn { min-height: 30px; padding: 3px 0; font-size: 11px; }
.op-refresh-line small { display: block; margin-top: 3px; font-size: 10px; color: #8b9ab1; line-height: 1.6; }
.op-manual-start { margin: 12px 0 0; }
.op-manual-start .text-btn { font-size: 12px; padding: 8px 2px; }
.op-demo-controls { border-top: 1px solid #e4eaf5; padding-top: 12px; margin-top: 15px; font-size: 10px; color: #8e9cb0; }
.op-demo-controls summary { cursor: pointer; min-height: 23px; }
.op-demo-controls label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 9px; }
.op-demo-controls select { padding: 7px 9px; min-height: 33px; max-width: 100%; border: 1px solid #d9e3f2; border-radius: 8px; background: #fff; color: #7187a5; font-size: 11px; }
.op-credit-quote { padding: 14px 16px; border: 1px solid #d9e4f6; border-radius: 13px; background: #eff4ff; color: #54709b; font-size: 12px; line-height: 1.65; margin: 15px 0; }
.op-credit-quote strong { color: #305baf; }
.op-run-state { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 22px; margin-top: 17px; border: 1px solid #dae3f3; border-radius: 18px; background: #ffffffb3; color: #667e9d; font-size: 12px; line-height: 1.65; }
.op-run-state > .icon { width: 24px; height: 24px; color: #7b96cc; }
.op-run-state strong { display: block; margin-bottom: 5px; font-size: 14px; color: #435d85; }
.op-run-state p { font-size: 12px; line-height: 1.6; }
.op-run-state > p { flex-basis: 100%; }
.op-loading-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: #7397e5; box-shadow: 0 0 0 5px #e9effc; }
.op-run-state[data-state="error"], .op-run-state.is-error { background: #fff9ef; border-color: #ecd8b5; }
.op-run-state[data-state="error"] > .icon, .op-run-state.is-error > .icon { color: #aa833d; }
.op-run-state progress { display: block; width: 100%; height: 5px; margin-top: 12px; accent-color: #5c83db; }

.op-side { display: grid; gap: 18px; }
.op-side h3 { font-size: 14px; margin-bottom: 14px; }
.op-how { padding: 20px; border: 1px solid #ffffffde; border-radius: 20px; background: #ffffff81; }
.op-how ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.op-how li { display: flex; align-items: flex-start; gap: 9px; min-height: 24px; font-size: 11px; color: #7386a1; line-height: 1.6; }
.op-how li > b { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 8px; background: #e5edfd; color: #6683bb; font-size: 10px; font-weight: 650; }
.op-how li > span { padding-top: 2px; }
.op-how > .op-signal-illustration { width: 117px; height: 77px; margin: -5px 0 9px; }
.op-how h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.3px; }
.op-how > .text-btn { margin-top: 16px; padding: 5px 0; min-height: 32px; font-size: 11px; }
.op-how li strong { display: block; color: #4c6485; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.op-how > p { font-size: 11px; margin-top: 13px; }
.op-saved-list { display: grid; gap: 7px; }
.op-saved-list > h3 { margin-bottom: 5px; }
.op-saved { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 61px; padding: 12px 13px; border: 1px solid #dce5f3; border-radius: 12px; text-align: left; color: #5e779a; background: #ffffff97; }
.op-saved > .icon { width: 16px; height: 16px; flex-shrink: 0; color: #92a6c6; }
.op-saved > span { flex-shrink: 0; color: #92a6c6; }
.op-saved > span .icon { width: 16px; height: 16px; }
.op-saved > div { flex: 1; min-width: 0; }
.op-saved strong { display: block; font-size: 12px; line-height: 1.4; font-weight: 600; }
.op-saved small { display: block; margin-top: 3px; font-size: 10px; color: #8596ad; line-height: 1.4; }
.op-saved strong, .op-saved small { overflow-wrap: anywhere; }
.op-saved-list > p { font-size: 11px; line-height: 1.7; padding: 0 2px; }
.op-saved:hover { background: #f9fbff; border-color: #a8bff0; }
.op-source-list { display: grid; gap: 11px; padding: 2px 5px; }
.op-source-list > h3 { margin-bottom: 1px; }
.op-source-list > span { color: #8a9bb2; font-size: 10px; }
.op-source-list > div, .op-source-list > li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.op-source-list strong { flex: 1; min-width: 0; font-size: 11px; font-weight: 550; line-height: 1.45; }
.op-source-list small { display: block; font-size: 10px; line-height: 1.5; color: #8b9ab0; }
.op-source-list > p { font-size: 10px; line-height: 1.6; }
.op-source-list > .text-btn { justify-content: flex-start; min-height: 28px; padding: 3px 0; font-size: 10px; }
.op-page .brand-mark, .op-modal .brand-mark { display: inline-block; width: 21px; height: 21px; min-width: 21px; flex-shrink: 0; border-radius: 0; box-shadow: none; background: none; vertical-align: middle; color: inherit; }
.op-page .brand-mark svg, .op-modal .brand-mark svg { width: 100%; height: 100%; }
.op-page .op-query-sources .brand-mark { width: 16px; height: 16px; min-width: 16px; }

.op-results-section { margin-top: 33px; }
.op-results-section > header, .op-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
.op-results-heading > div { min-width: 0; }
.op-results-heading > .btn { flex-shrink: 0; }
.op-results-section > header h2, .op-results-heading h2 { font-size: 23px; line-height: 1.3; }
.op-results-section > header p, .op-results-heading p { font-size: 12px; margin-top: 5px; }
.op-results-section > header small, .op-results-heading small { font-size: 11px; color: #8192ab; }
.op-results-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.op-results-tools .segmented { max-width: 100%; margin: 0; }
.op-results-tools .segmented button { min-height: 37px; padding: 8px 14px; font-size: 12px; }
.op-results-tools > label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #7c8fa9; }
.op-results-tools select { min-height: 39px; min-width: 165px; max-width: 230px; font-size: 12px; padding: 8px 30px 8px 12px; background-color: #ffffffbf; border: 1px solid #dbe4f3; border-radius: 10px; color: #556d90; }
.op-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.op-result { min-width: 0; overflow: hidden; border-radius: 21px; display: flex; flex-direction: column; }
.op-result-photo { position: relative; height: 191px; background: #e6edf5; overflow: hidden; }
.op-result-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.op-source { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 68px); min-height: 30px; padding: 6px 9px; border-radius: 9px; background: #ffffffed; color: #566c8b; font-size: 10px; font-weight: 600; box-shadow: 0 2px 8px #1c304214; }
.op-source .brand-mark { width: 17px; height: 17px; min-width: 17px; }
.op-result-photo > button { position: absolute; top: 11px; right: 11px; width: 35px; height: 35px; min-width: 35px; min-height: 35px; padding: 8px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 50%; background: #ffffffed; color: #7590b6; box-shadow: 0 2px 8px #1c30420d; }
.op-result-photo > button .icon { width: 17px; height: 17px; }
.op-result-photo > button[aria-pressed="true"] { color: #315fdb; background: #e9f0ff; border-color: #b9cef4; }
.op-result-photo > .op-photo-note, .op-result-photo > small { position: absolute; bottom: 9px; left: 11px; padding: 4px 7px; border-radius: 5px; font-size: 9px; background: #ffffffda; color: #607690; }
.op-result-body { display: flex; flex-direction: column; flex: 1; padding: 19px 20px 16px; min-width: 0; }
.op-result-body > small { font-size: 11px; color: #7f8fa6; line-height: 1.5; }
.op-result-body h3 { margin: 5px 0 8px; font-size: 17px; letter-spacing: -.4px; line-height: 1.4; overflow-wrap: anywhere; }
.op-price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 10px; flex-wrap: wrap; }
.op-price-row > strong { color: #203750; font-size: 24px; letter-spacing: -.7px; font-weight: 650; }
.op-price-row > span { display: inline-flex; padding: 5px 8px; border-radius: 7px; color: #427a69; background: #e6f2ed; font-size: 11px; font-weight: 600; }
.op-reference { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; font-size: 10px; color: #8a98ae; line-height: 1.7; }
.op-reference strong { font-weight: 550; color: #67839d; }
.op-reference > small { flex-basis: 100%; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.op-result-body > .op-duplicates { font-size: 10px; margin: -5px 0 14px; color: #8a9ab0; }
.op-reasons { padding: 12px 0 0; margin: 14px 0 16px; list-style: none; display: grid; gap: 8px; border-top: 1px solid #e2e9f4; }
.op-reasons li { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; color: #6d8497; line-height: 1.5; }
.op-reasons .icon { width: 14px; height: 14px; margin-top: 1px; color: #91aea8; }
.op-result-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #e2e9f4; padding-top: 13px; margin-top: auto; }
.op-result-footer > small { font-size: 10px; line-height: 1.5; color: #8c9bb0; }
.op-result-footer .btn { font-size: 11px; padding: 8px 11px; min-height: 35px; }
.op-result-footer .text-btn { font-size: 11px; }
.op-demo-strip { display: flex; gap: 9px; align-items: center; margin: 18px 0; padding: 12px 15px; background: #e9effb80; border: 1px solid #dce6f6; border-radius: 12px; color: #7990ac; font-size: 11px; line-height: 1.6; }
.op-demo-strip .icon { width: 16px; height: 16px; color: #8ea5c8; }
.op-demo-strip strong { color: #627da2; font-weight: 600; }
.op-history-list { display: grid; gap: 10px; }
.op-history-list > button, .op-history-list > article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; border: 1px solid #fff; border-radius: 15px; background: #ffffffbd; color: #547093; text-align: left; }
.op-history-list strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; }
.op-history-list small { display: block; font-size: 11px; color: #8a9ab1; line-height: 1.6; margin-top: 4px; }
.op-history-list > button > span:first-child { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; background: #eaf0fa; color: #8ca4c9; }
.op-history-list > button > span:first-child .icon { width: 17px; height: 17px; }
.op-history-list > button > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.op-history-list > button > .icon:last-child { width: 17px; height: 17px; color: #8ca4c9; }
.op-history-list > button:hover { background: #f9fbff; border-color: #bdd0f1; }
.op-history-list > button > span:last-child { flex-shrink: 0; font-size: 11px; }
.op-page .op-empty { display: block; padding: 34px 24px; text-align: center; border: 1px dashed #cad8ef; border-radius: 20px; background: #ffffff78; }
.op-empty > .icon { width: 27px; height: 27px; margin-bottom: 13px; }
.op-empty .op-signal-illustration { margin-bottom: 12px; }
.op-empty h3 { margin-bottom: 9px; font-size: 18px; }
.op-empty p { max-width: 450px; font-size: 13px; margin: 0 auto; }
.op-empty .btn { margin-top: 17px; }

.op-modal > p { font-size: 13px; margin: 10px 0 20px; line-height: 1.7; }
.op-modal > h2 { max-width: calc(100% - 28px); overflow-wrap: anywhere; }
.op-modal .op-demo-strip { align-items: flex-start; color: #7288a9; background: #edf2fd; margin: 17px 0; }
.op-modal form > details { padding: 15px 16px; margin: 16px 0; border: 1px solid #dce5f3; border-radius: 14px; background: #f0f5fd; }
.op-modal form > details > summary { cursor: pointer; min-height: 24px; font-size: 12px; font-weight: 550; color: #627da4; line-height: 1.6; }
.op-modal form > details[open] > summary { margin-bottom: 5px; }
.op-modal form > details .op-filter-grid { margin: 14px 0 20px; }
.op-modal #op-form-error { font-size: 12px; line-height: 1.65; }
.op-modal #op-form-error:not(:empty) { margin: 16px 0; padding: 11px 13px; color: #a25d52; background: #fff1ee; border: 1px solid #f0d5cf; border-radius: 10px; }
.op-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 20px 0; }
.op-filter-grid label { display: block; min-width: 0; font-size: 12px; font-weight: 600; color: #526a8a; }
.op-filter-grid input, .op-filter-grid select { display: block; margin-top: 8px; width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid #d4e0f1; border-radius: 10px; background: #fff; color: #334e70; font-size: 14px; }
.op-filter-grid label > small { display: block; font-size: 10px; line-height: 1.5; font-weight: 400; color: #8898ae; margin-top: 6px; }
.op-filter-grid .op-wide { grid-column: 1 / -1; }
.op-sources-check { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 0; margin: 0; border: 0; }
.op-sources-check legend { padding: 0 0 10px; font-size: 12px; font-weight: 600; color: #5f7595; }
.op-sources-check label { display: flex; align-items: center; flex: 1 1 130px; gap: 8px; min-height: 43px; padding: 10px 11px; border: 1px solid #d8e3f4; border-radius: 10px; background: #fff; color: #6b7f9e; font-size: 11px; line-height: 1.4; cursor: pointer; }
.op-sources-check label:has(input:checked) { border-color: #b2c8f3; background: #eaf1ff; color: #466cad; }
.op-sources-check input[type="checkbox"] { appearance: auto; width: 15px; height: 15px; min-width: 15px; min-height: 15px; margin: 0; padding: 0; flex: 0 0 15px; accent-color: #4e79d4; }
.op-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 19px 0; }
.op-pack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 19px 16px; min-width: 0; min-height: 128px; text-align: left; border: 1px solid #d5e1f4; border-radius: 15px; background: #f5f8fe; color: #59739a; }
.op-pack > strong { font-size: 22px; letter-spacing: -.5px; color: #355eac; }
.op-pack > span { font-size: 12px; }
.op-pack > small { font-size: 10px; line-height: 1.6; color: #8a9bb2; }
.op-pack:hover, .op-pack[aria-pressed="true"] { border-color: #95b0ec; background: #eaf1ff; }
.op-credit-ledger { display: grid; gap: 0; margin-top: 21px; }
.op-credit-ledger > div, .op-credit-ledger > article { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #e0e7f3; font-size: 12px; color: #6d829e; }
.op-credit-ledger strong { display: block; font-size: 12px; font-weight: 550; }
.op-credit-ledger small { display: block; margin-top: 4px; color: #8c9bb0; font-size: 10px; }
.op-credit-ledger > div > strong:last-child { flex-shrink: 0; color: #577aaf; }
.op-credit-ledger > p { font-size: 12px; line-height: 1.7; }
.op-credit-ledger > div > span { min-width: 0; overflow-wrap: anywhere; }
.op-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; margin: 21px 0; align-items: start; }
.op-detail-grid > div { min-width: 0; }
.op-detail-grid > img, .op-detail-grid > div > img { width: 100%; height: 225px; object-fit: cover; border-radius: 15px; background: #e6edf6; }
.op-detail-grid h3 { font-size: 17px; line-height: 1.4; }
.op-detail-grid p { font-size: 12px; margin: 8px 0; }
.op-detail-price { display: block; font-size: 30px; line-height: 1.2; letter-spacing: -1px; margin: 12px 0; color: #2c466d; }
.op-detail-grid dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin: 17px 0; font-size: 12px; }
.op-detail-grid dt { color: #7c8ea6; }
.op-detail-grid dd { margin: 0; max-width: 200px; color: #516d91; text-align: right; overflow-wrap: anywhere; }
.op-modal .modal-actions { margin-top: 22px; flex-wrap: wrap; }
.op-modal .modal-actions .btn { max-width: 100%; white-space: normal; line-height: 1.5; }
.op-modal > .op-source-list { padding: 14px 16px; margin: 18px 0 22px; grid-template-columns: minmax(0, 1fr); border: 1px solid #dce5f3; border-radius: 14px; background: #f0f5fd; }
.op-modal > .op-source-list > div { gap: 10px; }
.op-modal > .op-source-list strong { font-size: 12px; }
.op-modal > .op-source-list small { display: block; flex-shrink: 0; font-size: 10px; }

@media (max-width: 1250px) {
  .op-workspace { grid-template-columns: minmax(0, 1fr) 246px; gap: 18px; }
  .op-compose { padding: 21px; }
  .op-how { padding: 17px; }
  .op-results-grid { gap: 15px; }
  .op-result-body { padding: 16px; }
  .op-result-photo { height: 170px; }
  .op-price-row > strong { font-size: 21px; }
  .op-intro > .op-signal-illustration { display: none; }
}

@media (max-width: 1000px) {
  .op-workspace { grid-template-columns: minmax(0, 1fr); }
  .op-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .op-side .op-how { grid-row: span 2; }
  .op-source-list { padding-top: 8px; }
  .op-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-result-photo { height: 192px; }
}

@media (max-width: 720px) {
  .op-page .op-heading { align-items: flex-start; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
  .op-page .op-heading > div { flex: 1 1 200px; }
  .op-page .op-heading h1 { font-size: 27px; }
  .op-page .op-heading p { font-size: 12px; }
  .op-wallet { grid-template-columns: 22px auto; gap: 3px 7px; padding: 10px; min-height: 54px; border-radius: 12px; }
  .op-wallet > .icon { width: 18px; height: 18px; }
  .op-wallet .op-credit-total { font-size: 12px; }
  .op-wallet small { font-size: 9px; }
  .op-intro { padding: 2px 0 21px; }
  .op-intro h2 { font-size: 27px; line-height: 1.25; max-width: 340px; }
  .op-intro p { font-size: 13px; }
  .op-compose { padding: 19px 16px; border-radius: 20px; }
  .op-compose textarea { padding: 13px; min-height: 134px; font-size: 16px; }
  .op-prompts { gap: 7px; margin: 17px 0 0; }
  .op-prompts button { font-size: 11px; min-height: 38px; }
  .op-chat-bottom { flex-wrap: wrap; gap: 12px; }
  .op-chat-bottom > small, .op-chat-bottom > p, .op-chat-bottom > span { max-width: none; flex-basis: 100%; font-size: 11px; }
  .op-chat-bottom .btn { width: 100%; min-height: 44px; font-size: 13px; }
  .op-message { max-width: 95%; padding: 12px 14px; font-size: 13px; }
  .op-query { padding: 19px 16px; border-radius: 18px; }
  .op-query h3 { font-size: 16px; }
  .op-query-footer > div:first-child, .op-query-footer > p:first-child { flex-basis: 100%; margin-bottom: 3px; }
  .op-query-footer .btn { flex: 1; min-height: 43px; }
  .op-side { grid-template-columns: minmax(0, 1fr); }
  .op-how { display: none; }
  .op-saved-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-saved-list > h3, .op-saved-list > .g-between, .op-saved-list > p { grid-column: 1 / -1; }
  .op-saved { padding: 11px; }
  .op-saved > .icon, .op-saved > span { display: none; }
  .op-source-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 5px 0; }
  .op-source-list > h3, .op-source-list > p, .op-source-list > span, .op-source-list > .text-btn { grid-column: 1 / -1; }
  .op-source-list > div, .op-source-list > li { align-items: flex-start; gap: 6px; }
  .op-source-list .brand-mark { width: 18px; height: 18px; min-width: 18px; }
  .op-source-list strong { font-size: 10px; }
  .op-source-list small { display: none; }
  .op-results-section { margin-top: 27px; }
  .op-results-section > header, .op-results-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .op-results-section > header h2, .op-results-heading h2 { font-size: 22px; }
  .op-results-tools { flex-wrap: wrap; gap: 12px; }
  .op-results-tools .segmented { display: flex; width: 100%; overflow-x: auto; }
  .op-results-tools .segmented button { flex: 1; white-space: nowrap; min-height: 42px; padding: 8px 10px; font-size: 12px; }
  .op-results-tools > label { width: 100%; justify-content: space-between; }
  .op-results-tools select { min-height: 43px; max-width: calc(100% - 58px); font-size: 13px; }
  .op-results-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .op-result-photo { height: 220px; }
  .op-result-body { padding: 20px; }
  .op-result-body h3 { font-size: 20px; }
  .op-price-row > strong { font-size: 28px; }
  .op-reasons li { font-size: 12px; }
  .op-result-footer .btn { min-height: 42px; font-size: 12px; }
  .op-result-photo > button { width: 40px; height: 40px; }
  .op-history-list > button, .op-history-list > article { padding: 15px; align-items: flex-start; }
  .op-history-list strong { font-size: 12px; }
  .op-history-list small { font-size: 10px; }
  .op-history-list > button > span:last-child { font-size: 10px; }
  .op-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .op-filter-grid input, .op-filter-grid select { font-size: 16px; min-height: 46px; }
  .op-pack-grid { grid-template-columns: minmax(0, 1fr); }
  .op-pack { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; min-height: 88px; padding: 16px; }
  .op-pack > small { grid-column: 1 / -1; }
  .op-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .op-detail-grid > img, .op-detail-grid > div > img { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .op-page *, .op-modal * { scroll-behavior: auto; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
