/* Mobile shell: uses /desktop/Landing.css for table, buttons, modals. */

.mobile-landing-results-table {
  table-layout: fixed;
  width: 100%;
}

.mobile-landing-results-table col.mobile-landing-col--address {
  width: 28%;
}

.mobile-landing-results-table col.mobile-landing-col--city {
  width: 11%;
}

.mobile-landing-results-table col.mobile-landing-col--state {
  width: 6%;
}

.mobile-landing-results-table col.mobile-landing-col--postal {
  width: 7%;
}

.mobile-landing-results-table col.mobile-landing-col--status {
  width: 15%;
}

.mobile-landing-results-table col.mobile-landing-col--completion {
  width: 8%;
}

.mobile-landing-results-table col.mobile-landing-col--repair-ecd {
  width: 12%;
}

.mobile-landing-results-table col.mobile-landing-col--days-to-complete {
  width: 13%;
}

.mobile-landing-results-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-landing-results-table td:first-child {
  white-space: normal;
  word-break: break-word;
}

.mobile-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-shell[hidden] {
  display: none !important;
}

.mobile-top {
  flex-shrink: 0;
  min-height: 56px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-brand {
  min-width: 0;
}

.mobile-brand-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}

.mobile-main {
  flex: 1;
  padding: 16px 14px 28px;
  overflow-x: hidden;
}

.mobile-main .data-view-title {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 10px;
}

.mobile-main .data-view-intro {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 72ch;
}

.mobile-landing-section {
  margin-bottom: 16px;
  padding: 12px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.mobile-landing-section:last-of-type {
  margin-bottom: 0;
}

.mobile-landing-section--scope {
  background: rgba(232, 240, 90, 0.07);
  border-color: rgba(232, 240, 90, 0.32);
}

.mobile-landing-section--scope .mobile-landing-section-title {
  color: var(--accent);
}

.mobile-landing-section--approval {
  background: rgba(140, 180, 255, 0.08);
  border-color: rgba(140, 180, 255, 0.35);
}

.mobile-landing-section--approval .mobile-landing-section-title {
  color: #9ec5ff;
}

.mobile-landing-section--repair {
  background: rgba(255, 184, 77, 0.09);
  border-color: rgba(255, 184, 77, 0.35);
}

.mobile-landing-section--repair .mobile-landing-section-title {
  color: #ffb84d;
}

.mobile-landing-section-title {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 10px;
}

.mobile-landing-section .property-table-scroll {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.mobile-landing-section .property-results-empty {
  margin-top: 0;
  border: none;
  background: transparent;
  padding: 12px 4px 4px;
  font-size: 12px;
}

#mobilePropertyAllEmpty {
  margin-top: 8px;
}

.mobile-property-message {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--text2);
  min-height: 18px;
  margin-bottom: 10px;
}

.mobile-property-message--error {
  color: var(--red);
}

/* Full row is the tap target for opening checklist */
.mobile-property-row {
  cursor: pointer;
}

.mobile-property-row:active {
  background: rgba(232, 240, 90, 0.06);
}

.property-row--static {
  cursor: default;
}

.property-row--static:active {
  background: transparent;
}

.mobile-landing-completion {
  font-weight: 700;
}

.mobile-landing-completion--low {
  color: var(--red);
}

.mobile-landing-completion--mid {
  color: #e8c547;
}

.mobile-landing-completion--complete {
  color: var(--green);
}

.mobile-landing-days {
  font-weight: 700;
}

.mobile-landing-days--ok {
  color: var(--green);
}

.mobile-landing-days--soon {
  color: #e8c547;
}

.mobile-landing-days--overdue {
  color: var(--red);
}

/* iOS Safari auto-zooms focused form controls below 16px. */
@supports (-webkit-touch-callout: none) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}
