*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.tw-plain-app {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 16px 32px;
}

h1, h2, h3 {
  color: #000000;
  line-height: 1.25;
  margin: 20px 0 8px;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }

p {
  margin: 0 0 12px;
}

a {
  color: #0000cc;
}

a:visited {
  color: #551a8b;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 1px solid #000000;
}

nav a {
  margin-right: 0;
}

hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #000000;
}

ul, ol {
  margin: 0 0 12px;
  padding-left: 24px;
}

table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0 0 16px;
}

caption {
  text-align: left;
  font-weight: bold;
  margin-bottom: 4px;
}

th, td {
  border: 1px solid #000000;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-word;
}

dl {
  margin: 0 0 16px;
}

dt {
  font-weight: bold;
  margin-top: 8px;
}

dd {
  margin: 0 0 4px;
}

form {
  margin: 0 0 16px;
}

fieldset {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #000000;
}

legend {
  font-weight: bold;
  padding: 0 4px;
}

label {
  display: block;
  margin: 8px 0 2px;
  font-weight: bold;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 16px;
  padding: 4px 6px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  max-width: 100%;
}

textarea {
  width: 100%;
}

button {
  cursor: pointer;
  padding: 6px 12px;
  margin: 4px 4px 4px 0;
}

details {
  margin: 0 0 12px;
  border: 1px solid #000000;
  padding: 6px 10px;
}

summary {
  cursor: pointer;
  font-weight: bold;
}

:focus-visible {
  outline: 2px solid #0000cc;
  outline-offset: 1px;
}

img {
  max-width: 100%;
}
/* Shared semantic trip asset: preserve the approved filled geometry everywhere. */
svg[data-shared-trip-icon="canonical-trip.svg"],
svg[data-shared-trip-icon="canonical-trip.svg"] use {
  fill: currentColor !important;
  stroke: none !important;
}

/* DQ-PASSENGER-01: shared Passenger rhythm and My Trips surface. */
.tw-plain-app--passenger-shell {
  padding-bottom: calc(126px + env(safe-area-inset-bottom));
}

.tw-plain-app--passenger-shell > h1:has(+ .tw-my-requests) {
  display: none;
}

.tw-my-requests {
  --tw-request-ink: #111126;
  --tw-request-muted: #6f7080;
  --tw-request-accent: #6338ef;
  display: grid;
  gap: 24px;
  color: var(--tw-request-ink);
}

.tw-my-requests__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.tw-my-requests__header h1,
.tw-my-requests__section h2 {
  margin: 0;
  color: var(--tw-request-ink);
}

.tw-my-requests__header h1 {
  font-size: 28px;
  letter-spacing: -0.025em;
}

.tw-my-requests__header p {
  margin: 5px 0 0;
  color: var(--tw-request-muted);
  font-size: 14px;
}

.tw-my-requests__create {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 14px;
  background: var(--tw-request-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(75, 43, 190, 0.18);
}

.tw-my-requests__create:visited {
  color: #ffffff;
}

.tw-my-requests__section {
  display: grid;
  gap: 12px;
}

.tw-my-requests__section h2 {
  font-size: 18px;
}

.tw-my-requests-list {
  display: grid;
  gap: 10px;
}

.tw-my-request-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(35, 28, 69, 0.08);
  border-radius: 18px;
  background: #ffffff;
  color: var(--tw-request-ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 28, 69, 0.07);
}

.tw-my-request-card:visited {
  color: var(--tw-request-ink);
}

.tw-my-request-card__icon,
.tw-my-requests-empty > span {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f1edff;
  color: var(--tw-request-accent);
}

.tw-my-request-card__icon {
  width: 48px;
  height: 48px;
}

.tw-my-request-card__icon svg,
.tw-my-requests-empty svg {
  width: 27px;
  height: 27px;
}

.tw-my-request-card__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tw-my-request-card__body strong,
.tw-my-request-card__body small,
.tw-my-request-card__body span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tw-my-request-card__body strong {
  font-size: 15px;
  line-height: 1.25;
}

.tw-my-request-card__body small,
.tw-my-request-card__body span {
  color: var(--tw-request-muted);
  font-size: 12px;
}

.tw-my-request-card__chevron {
  color: var(--tw-request-accent);
  font-size: 25px;
}

.tw-my-requests-empty {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 16px;
  border-radius: 18px;
  background: #f8f7fc;
}

.tw-my-requests-empty > span {
  width: 48px;
  height: 48px;
}

.tw-my-requests-empty div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tw-my-requests-empty strong {
  font-size: 15px;
}

.tw-my-requests-empty small {
  color: var(--tw-request-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.tw-plain-app--passenger-shell :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(99, 56, 239, 0.28);
  outline-offset: 3px;
}

@media (max-width: 370px) {
  .tw-my-requests__header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .tw-my-requests__create {
    justify-self: start;
  }
}

.tw-avatar-unresolved {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #667085;
}

.tw-avatar-unresolved-icon { width: 55%; height: 55%; }
