/* The "+" sheet as in the app (1.0.30), for the chat and for tourism:
   a white sheet with a handle, two photo tiles («صور توا», «من التصاور»),
   then each option as a plain icon, its name and one line, with no box
   around it (the app's widgets/composer.dart). */
.ix-app {
  --ixa-paper: #f8f2e8;
  --ixa-surface: #ffffff;
  --ixa-ink: #2b2523;
  --ixa-muted: #6b5c57;
  --ixa-line: #e8ddcc;
  --ixa-red: #ac3736;
  --ixa-hover: #f8f2e8;
}
.dark .ix-app {
  --ixa-paper: #2b2523;
  --ixa-surface: #211c1a;
  --ixa-ink: #f3ece8;
  --ixa-muted: #b8aca7;
  --ixa-line: #3d3431;
  --ixa-hover: #2b2523;
}

.tools-dropdown.ix-panel.ix-app,
.tourism-body .tr-more-menu.ix-app {
  gap: 0;
  padding: 12px 16px 10px;
  background: var(--ixa-surface);
  border-color: var(--ixa-line);
}

/* No title, as in the app: it stays for screen readers, and Esc still closes. */
.ix-app .ix-panel-head,
.ix-app .tr-more-head {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.ix-app .ix-sheet-top { display: flex; justify-content: center; padding: 0 0 16px; }
.ix-app .ix-grab { display: block; width: 36px; height: 4px; border-radius: 9px; background: var(--ixa-line); }

/* The two photo tiles. */
.ix-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ix-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 88px; padding: 0; border: 1px solid var(--ixa-line); border-radius: 16px;
  background: var(--ixa-paper); color: var(--ixa-ink); font: inherit; font-size: 14px; cursor: pointer;
  transition: transform .16s ease, border-color .16s ease;
}
.ix-tile i { font-size: 22px; color: var(--ixa-ink); }
.ix-tile:hover { border-color: var(--ixa-red); }
.ix-tile:active { transform: scale(.97); }
.ix-tile:focus-visible { outline: 2px solid var(--ixa-red); outline-offset: 2px; }

/* An option: a plain icon, the name, one line under it. */
.tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item,
.ix-app .ix-opt {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 0;
  margin: 0 0 6px; padding: 12px 10px; border: 0; border-radius: 14px; background: transparent;
  color: var(--ixa-ink); font: inherit; text-align: start; cursor: pointer;
  transition: background-color .16s ease, transform .16s ease;
}
.tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item:hover,
.ix-app .ix-opt:hover { background: var(--ixa-hover); border: 0; }
.tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item:active,
.ix-app .ix-opt:active { transform: scale(.98); }
.tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item:focus-visible,
.ix-app .ix-opt:focus-visible { outline: 2px solid var(--ixa-red); outline-offset: 0; }
.ix-app .ix-item-icon,
.ix-app .ix-opt-icon {
  flex: 0 0 30px; width: 30px; height: auto; border: 0; border-radius: 0; background: none;
  display: grid; place-items: center; color: var(--ixa-ink); font-size: 21px;
}
.ix-app .ix-item-text,
.ix-app .ix-opt-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 1px; }
.ix-app .ix-item-text strong,
.ix-app .ix-opt-text strong { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--ixa-ink); }
.ix-app .ix-item-text small,
.ix-app .ix-opt-text small { font-size: 12.5px; line-height: 1.5; color: var(--ixa-muted); }
/* Web search on: said in words, and the row is lit. */
.tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item.active { background: var(--ixa-hover); border: 0; }
.ix-app .ix-opt.has-dot .ix-opt-icon { color: var(--ixa-red); }

@media (prefers-reduced-motion: reduce) {
  .ix-tile, .ix-app .ix-opt, .tools-dropdown.ix-panel.ix-app .tools-dropdown-item.ix-item { transition: none; }
}

/* Phones: the sheet is as tall as what it holds, like the app's. */
@media (max-width: 640px) {
  .tourism-body .tr-more-menu.ix-app,
  .tools-dropdown.ix-panel.ix-app { height: auto; max-height: 85vh; padding: 12px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
}
