/* Chat generation authorization: paired desktop and phone observations.
 * Reference viewport: 1280 x 720; root font-size: 17.625px.
 * Sources (2026-10-09):
 * island-v90-reference-image-model-picker-stable-20261009.json
 * SHA-256: 2c0e1dab91cf85417ad0aa42e8cb84e1800fb56aec32b409014afa4750dd56a5
 * island-v90-reference-image-picker-full-selected-stable-20261009.json
 * SHA-256: 2a52758a097b6c1e228413e0019255120d24a016f1dd4a4e5643151b23e23e23
 *
 * Supplement: island-v90-reference-image-picker-extra-styles-desktop-20261009.json
 * SHA-256: 720f61c102afe2e5fa537c0b5718614cb6ce6f1b5d605be1764c3a24af1edb46
 * Overlay centering: island-v90-reference-image-picker-search-clear-20261009.json
 * SHA-256: 3ec76db4e631f3bc9c8f5795ae501c3eb31cbad6af44dcf59022018402e4f7be
 * Empty result: island-v90-reference-image-picker-no-results-20261009.json
 * SHA-256: b61dfd4c1129a444819ca7d33037b0a5b512a3fdc42df9ccd7b1fb3b0c8d28c4
 * Phone originals: island-v90-reference-image-picker-phone-20261009.json
 * SHA-256: 53f15f7a5f014cb4932c904cfdc10fe2d6e7da2761c64e22f9767e30d225f17c
 * island-v90-reference-image-picker-phone-search-20261009.json
 * SHA-256: 2dea4c8f8d75e2ae6edb2fec883b50b6186ba18dea46e9ed70a76b56059eb2b4
 * The supplement supplies the actual font family, gradients, border-box,
 * flex sizing, truncation, insets, z-index, and transition declarations.
 * Item hover was clicked and measured separately in
 * island-v90-reference-picker-{selected,unselected}-hover-20261009.json.
 * Cursor and original authored CSS remain unobserved.
 * Natural flex/wrapping preserves the observed phone structure;
 * no unobserved media breakpoint is introduced. The 80vh cap is derived
 * from measured max-heights 576px/720px and 675.2px/844px, not read source.
 */

/* Actual phone list pseudo-element measurement, 2026-10-09. */
.refcp-mxgx-list::-webkit-scrollbar { width: 3px; }
.refcp-mxgx-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .08);
  border-radius: 2px;
}

.refcp-mxgx-overlay,
.refcp-mxgx-overlay * {
  box-sizing: border-box;
  animation: none;
  transition: background-color .25s, color .2s, border-color .25s,
    box-shadow .25s;
}

.refcp-mxgx-overlay,
.refcp-mxgx-panel {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif;
}

.refcp-mxgx-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background-color: rgba(0, 0, 0, .72);
  background-image: none;
  backdrop-filter: blur(8px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow: visible;
}

.refcp-mxgx-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: normal;
  justify-content: normal;
  flex: 0 1 auto;
  width: 30rem;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1rem;
  background-color: rgb(18, 18, 24);
  background-image: none;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .6);
  color: rgb(0, 0, 0);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow: visible;
  opacity: 1;
  transform: none;
}

.refcp-mxgx-close {
  position: absolute;
  top: .875rem;
  right: .875rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  margin: 0;
  padding: 0;
  border: 0 none rgba(255, 255, 255, .4);
  border-radius: .5rem;
  background-color: rgba(255, 255, 255, .04);
  background-image: none;
  box-shadow: none;
  color: rgba(255, 255, 255, .4);
  font-family: Arial;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
  transition: .2s;
}

.refcp-mxgx-close svg {
  display: block;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, .4);
  overflow: hidden;
}

.refcp-mxgx-header {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 1.125rem 1.25rem 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.refcp-mxgx-header h3 {
  display: block;
  margin: 0 0 .2rem;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .95);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.refcp-mxgx-header p {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .38);
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1.5;
}

.refcp-mxgx-search {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .5rem;
  margin: .75rem 1.25rem 0;
  padding: .4rem .625rem;
  border: 1px solid rgba(6, 182, 212, .28);
  border-radius: .5rem;
  background-color: rgba(6, 182, 212, .06);
  box-shadow: none;
  transition: .2s;
}

.refcp-mxgx-search-icon {
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: rgba(6, 182, 212, .5);
  overflow: hidden;
  transition: color .2s;
}

/* The phone query sample records this appearance while editing the input. */
.refcp-mxgx-search:focus-within {
  border-color: rgba(6, 182, 212, .6);
  background-color: rgba(6, 182, 212, .1);
  box-shadow: 0 0 .625rem rgba(6, 182, 212, .15);
}

.refcp-mxgx-search:focus-within .refcp-mxgx-search-icon {
  color: rgba(6, 182, 212, .9);
}

.refcp-mxgx-search-clear {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  padding: 0;
  border: 0 none rgba(6, 182, 212, .65);
  border-radius: 50%;
  background-color: rgba(6, 182, 212, .15);
  background-image: none;
  box-shadow: none;
  color: rgba(6, 182, 212, .65);
  font-family: Arial;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
  transition: .15s;
}

.refcp-mxgx-search-clear svg {
  display: block;
  width: 10px;
  height: 10px;
  color: inherit;
  overflow: hidden;
}

.refcp-mxgx-search-input {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0 none rgba(255, 255, 255, .9);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, .9);
  font-family: inherit;
  font-size: .75rem;
  font-weight: 400;
  line-height: normal;
  outline: rgba(255, 255, 255, .9) none 3px;
  overflow: clip;
}

/* Keep the measured search focus inside its container; the app-wide input
 * focus outline has higher specificity than the base input class. */
.refcp-mxgx-search-input:focus-visible { outline: none; }

.refcp-mxgx-toolbar {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: .75rem 1.25rem .5rem;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.refcp-mxgx-checkline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
}

.refcp-mxgx-checkbox {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: .3rem;
  background-color: rgba(255, 255, 255, .03);
  background-image: none;
  box-shadow: none;
  color: rgb(255, 255, 255);
  transition: .15s;
}

.refcp-mxgx-checkbox.on {
  border: 1px solid transparent;
  background-color: transparent;
  background-image: linear-gradient(135deg, rgb(6, 182, 212), rgb(139, 92, 246));
}

.refcp-mxgx-checkbox svg {
  display: block;
  width: 11px;
  height: 11px;
  color: rgb(255, 255, 255);
  overflow: hidden;
}

.refcp-mxgx-selectall-text {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
}

.refcp-mxgx-count {
  display: block;
  color: rgba(6, 182, 212, .85);
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1.5;
}

.refcp-mxgx-list {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: .375rem;
  min-height: 6rem;
  margin: 0;
  padding: .25rem 1.25rem .5rem;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  overflow: auto;
}

.refcp-mxgx-item {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: .55rem;
  margin: 0;
  padding: .5rem .625rem;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: .5rem;
  background-color: rgba(255, 255, 255, .01);
  box-shadow: none;
  transition: .15s;
}

.refcp-mxgx-item:hover {
  border-color: rgba(255, 255, 255, .1);
  background-color: rgba(255, 255, 255, .03);
}

.refcp-mxgx-item.checked {
  border: 1px solid rgba(6, 182, 212, .4);
  background-color: rgba(6, 182, 212, .05);
}

.refcp-mxgx-item .refcp-mxgx-checkbox {
  margin: .12rem 0 0;
}

.refcp-mxgx-item-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: .22rem;
  border: 0;
  border-radius: .45rem;
  background-color: transparent;
  background-image: linear-gradient(145deg, rgb(40, 44, 52), rgb(28, 31, 38));
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12),
    0 0 0 1px rgba(0, 0, 0, .04);
  overflow: clip;
}

.refcp-mxgx-item-main {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.refcp-mxgx-item-title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem;
  margin: 0;
  padding: 0;
}

.refcp-mxgx-item-name {
  display: block;
  color: rgba(255, 255, 255, .85);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
}

.refcp-mxgx-item-code {
  display: block;
  max-width: 12rem;
  color: rgba(255, 255, 255, .3);
  font-size: .625rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.refcp-mxgx-item-desc {
  /* Legacy two-line clamping computes to flow-root in the recorded browser. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: .15rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .42);
  font-size: .65rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  text-overflow: clip;
  overflow: hidden;
}

.refcp-mxgx-footer {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: .75rem 1.25rem 1.125rem;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.refcp-mxgx-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0 none rgba(255, 255, 255, .95);
  border-radius: .625rem;
  background-color: transparent;
  background-image: linear-gradient(135deg, rgba(6, 182, 212, .75), rgba(139, 92, 246, .6));
  box-shadow: none;
  color: rgba(255, 255, 255, .95);
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  line-height: normal;
  transition: .2s;
}

.refcp-mxgx-empty {
  padding: 2rem 0;
  color: rgba(255, 255, 255, .35);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

/* Generation subrows in the advanced-settings controller.
 * Desktop image: island-v90-reference-image-after-restore-default-20261009.json
 * SHA-256: 0fb97f5e6dc79513ad83c36a322567fcd0adfe195ded141791ad36a2f076b009
 * Desktop video: island-v90-reference-video-on-20261009.json
 * SHA-256: 5a29375253254e6010396c7832d91a522674df2dbc3a9c4d953305807ef0d135
 * Desktop audio: island-v90-reference-audio-on-20261009.json
 * SHA-256: 3caed608ac43bf28d35021a3ca624825af2a0eaa054a55e42eb085d7d6c0d84b
 * Phone image: island-v90-reference-phone-generation-subrows-20261009.json
 * SHA-256: f3c1ab3a29a48f3e501a7e481e10bd7bbea30dea337c8c7e7ad7568282ea6d57
 * Left border: island-v90-reference-phone-generation-border-20261009.json
 * SHA-256: 1a2dca13b461a063dd1f179250530540807e9a18a676bdfe02b5ccdf316cbfbe
 * Phone labels naturally wrap; controls keep their recorded nonshrinking
 * flex sizing. No separate video/audio phone observation is asserted.
 */

.refcp-advanced .refcp-generation-parameters,
.refcp-advanced .refcp-generation-parameters * {
  box-sizing: border-box;
}

.refcp-advanced .refcp-generation-parameters {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  min-width: 0;
  margin: .375rem 0 0 1rem;
  padding: 0 0 0 .625rem;
  border: 0;
  border-left: 2px solid rgba(6, 182, 212, .22);
  background-color: transparent;
  background-image: none;
  color: black;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.refcp-advanced .refcp-generation-row {
  display: flex;
  align-items: center;
  gap: .3125rem;
  margin: 0;
  padding: .375rem .5rem;
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: .4375rem;
  background-color: rgba(255, 255, 255, .008);
  background-image: none;
  color: black;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.refcp-advanced .refcp-generation-label {
  display: block;
  flex: 1 1 0%;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .5);
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.5;
}

.refcp-advanced .refcp-generation-parameters .refcp-generation-help {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: none;
  color: rgba(255, 255, 255, .3);
  font-family: Arial;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
}

/* Six real pointer samples: island-v92-reference-*-desktop-hover-color. */
.refcp-advanced .refcp-generation-parameters .refcp-generation-help:hover {
  color: rgba(6, 182, 212, .9);
}

.refcp-advanced .refcp-generation-parameters .refcp-generation-help .refcp-icon {
  display: block;
  flex-shrink: 1;
  width: 12px;
  height: 12px;
  stroke-width: 4;
  color: inherit;
}

.refcp-advanced .refcp-generation-stepper {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .125rem;
  margin: 0;
  padding: .0625rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .375rem;
  background-color: rgba(255, 255, 255, .04);
  background-image: none;
}

.refcp-advanced .refcp-generation-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: normal;
  min-width: auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background-color: transparent;
  background-image: none;
  color: rgba(255, 255, 255, .55);
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1;
}

.refcp-advanced .refcp-generation-value {
  display: block;
  min-width: 1.5rem;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .85);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.refcp-advanced .refcp-generation-model-pick {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: normal;
  gap: .25rem;
  min-width: auto;
  margin: 0;
  padding: .25rem .5rem;
  border: 1px solid rgba(6, 182, 212, .28);
  border-radius: .375rem;
  background-color: rgba(6, 182, 212, .07);
  background-image: none;
  color: rgba(6, 182, 212, .92);
  font-family: inherit;
  font-size: .6875rem;
  font-weight: 600;
  line-height: normal;
}

.refcp-advanced .refcp-generation-model-empty {
  display: block;
  color: rgba(251, 191, 36, .9);
}

.refcp-advanced .refcp-generation-model-pick .refcp-icon {
  display: block;
  flex-shrink: 1;
  width: 12px;
  height: 12px;
  stroke-width: 4;
  color: inherit;
}

.refcp-advanced .refcp-generation-hint {
  display: block;
  margin: 0;
  padding: .15rem .5rem .05rem;
  border: 0;
  background-color: transparent;
  background-image: none;
  color: rgba(251, 191, 36, .75);
  font-size: .625rem;
  font-weight: 400;
  line-height: 1.5;
}
