/* AIno mobile kit: top download strip and install dialog. */
.aino-m-strip { position: fixed; top: 0; inset-inline: 0; z-index: 2147483000; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); direction: rtl;
  background: linear-gradient(90deg, #1E1B4B, #4338CA 60%, #7C3AED); color: #fff;
  font: 13px/1.6 Vazirmatn, Tahoma, sans-serif; box-shadow: 0 2px 10px rgba(30, 27, 75, .25); }
.aino-m-strip .aino-m-logo { width: 34px; height: 34px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); }
.aino-m-strip .aino-m-text { flex: 1; min-width: 0; text-align: start; background: none; border: 0; color: inherit; font: inherit; font-weight: 700;
  padding: 0; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aino-m-strip .aino-m-text small { display: block; font-weight: 400; font-size: 11px; color: #C7D2FE; }
.aino-m-strip .aino-m-go { flex: none; background: #fff; color: #4338CA; border: 0; border-radius: 999px; padding: 7px 16px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; white-space: nowrap; }
.aino-m-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: inherit;
  font-size: 22px; line-height: 1; cursor: pointer; }
.aino-m-strip .aino-m-x:hover { background: rgba(255, 255, 255, .12); }
html.aino-has-strip body { padding-top: var(--aino-strip, 0px); }
html.aino-in-app .aino-hide-in-app, html.aino-standalone .aino-hide-in-app { display: none !important; }

.aino-m-overlay { position: fixed; inset: 0; z-index: 2147483001; background: rgba(15, 23, 42, .55); display: flex;
  align-items: flex-end; justify-content: center; direction: rtl; font: 14px/1.9 Vazirmatn, Tahoma, sans-serif; }
@media (min-width: 640px) { .aino-m-overlay { align-items: center; } }
.aino-m-dialog { background: #fff; color: #1E1B4B; width: min(100%, 440px); max-height: 90vh; overflow: auto;
  border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 20px 50px rgba(15, 23, 42, .3); }
@media (min-width: 640px) { .aino-m-dialog { border-radius: 22px; } }
.aino-m-dialog header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #EEF2FF; border-radius: inherit;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.aino-m-dialog header strong { flex: 1; font-size: 15px; }
.aino-m-dialog header .aino-m-logo { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4338CA, #7C3AED); }
.aino-m-dialog header .aino-m-x { color: #64748B; }
.aino-m-body { padding: 6px 18px 20px; }
.aino-m-body section { padding: 12px 0; border-bottom: 1px solid #E2E8F0; }
.aino-m-body section:last-of-type { border-bottom: 0; }
.aino-m-body h3 { margin: 0 0 4px; font-size: 14px; color: #4338CA; }
.aino-m-body p, .aino-m-body ol { margin: 0 0 10px; color: #475569; font-size: 13px; }
.aino-m-body ol { padding-inline-start: 20px; }
.aino-m-body .aino-m-ico { display: inline-flex; vertical-align: middle; color: #3B82F6; }
.aino-m-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; border-radius: 14px; border: 0;
  background: #EEF2FF; color: #4338CA; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.aino-m-btn.primary { background: linear-gradient(135deg, #4338CA, #7C3AED); color: #fff; }
.aino-m-note { font-size: 12px !important; color: #64748B; word-break: break-all; }
@media print { .aino-m-strip, .aino-m-overlay { display: none !important; } html.aino-has-strip body { padding-top: 0; } }
