
    .bottom-nav.screen-bottom-nav { display: none !important; }
    #shared-app-navigation[hidden] { display: none !important; }
    :root {
      --navy: #07152f;
      --ink: #f7f9ff;
      --muted: #b9c5e5;
      --blue: #4d8dff;
      --indigo: #6c63ff;
    }
    * { box-sizing: border-box; }
    html, body { width: 100%; min-width: 0; margin: 0; }
    html { color-scheme: dark; }
    html, .screen-background { scrollbar-width: thin; scrollbar-color: #65638b #0a1029; }
    html::-webkit-scrollbar, .screen-background::-webkit-scrollbar { width: 6px; height: 6px; }
    html::-webkit-scrollbar-track, .screen-background::-webkit-scrollbar-track { background: #0a1029; }
    html::-webkit-scrollbar-thumb, .screen-background::-webkit-scrollbar-thumb { border-radius: 999px; background: #65638b; }
    html::-webkit-scrollbar-thumb:hover, .screen-background::-webkit-scrollbar-thumb:hover { background: #8581ae; }
    body {
      min-height: calc(100 * min(var(--vh, 1vh), 1vh));
      font-family: "IBM Plex Sans Arabic", sans-serif;
      overflow: hidden;
      color: var(--ink);
    }
    button, input, select, textarea { font: inherit; }
    button { -webkit-tap-highlight-color: transparent; }
    h1, h2, h3 { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 700; line-height: 1.3; }
    h2, .home-section-heading, .services-section-heading, .ai-section-heading, .activity-section-heading, .property-section h2, .education-section-heading, .travel-section-heading, .currency-section h2, .calculator-section h2 { font-weight: 600; }
    button { font-family: "Noto Sans Arabic", "Vazirmatn", sans-serif; font-weight: 600; }
    .nav-item { font-family: "Noto Sans Arabic", "Vazirmatn", sans-serif; font-weight: 500; }
    p, label, input, select, textarea { font-family: "Noto Sans Arabic", "Vazirmatn", sans-serif; }

    .screen-background {
      background: linear-gradient(145deg, #06132d 0%, #0a1b42 48%, #171347 100%);
    }
    .ambient-orb {
      position: absolute; z-index: -1; border-radius: 999px; filter: blur(8px);
      opacity: .72; pointer-events: none;
    }
    .orb-top {
      width: min(82vw, 420px); height: min(82vw, 420px); top: -22%; left: -30%;
      background: radial-gradient(circle, rgba(57,122,255,.34), transparent 68%);
    }
    .orb-bottom {
      width: min(95vw, 520px); height: min(95vw, 520px); right: -42%; bottom: -28%;
      background: radial-gradient(circle, rgba(139,92,246,.3), transparent 67%);
    }

    .splash-shell {
      position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh));
      isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto 1fr;
      padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    }
    .splash-content {
      grid-row: 2; width: 100%; max-width: 390px; margin: 0 auto; display: flex;
      flex-direction: column; align-items: center; text-align: center;
      animation: intro 850ms cubic-bezier(.2,.8,.2,1) both;
    }
    .logo-tile {
      width: clamp(108px, 30vw, 130px); height: clamp(108px, 30vw, 130px);
      display: grid; place-items: center; border: 1px solid rgba(196,216,255,.19);
      border-radius: 32px; box-shadow: 0 20px 45px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
      backdrop-filter: blur(12px);
    }
    .brand-mark { width: 68%; height: 68%; overflow: visible; }
    .brand-mark .outer { fill: none; stroke: url(#mark-gradient); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
    .brand-mark .inner { fill: #eef5ff; }
    .brand-mark .node { fill: #b9d6ff; }
    .brand-mark .spark { fill: #d9c7ff; }
    .app-name, .welcome-heading { margin: 29px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .app-tagline, .welcome-subtitle { max-width: 310px; margin: 13px 0 0; line-height: 1.55; }
    .loading-zone {
      grid-row: 3; align-self: end; width: 100%; display: flex; flex-direction: column;
      align-items: center; gap: 13px; padding-bottom: 3px; animation: intro 850ms 180ms cubic-bezier(.2,.8,.2,1) both;
    }
    .loading-track { display: flex; align-items: center; justify-content: center; gap: 7px; height: 8px; }
    .loading-dot { width: 6px; height: 6px; border-radius: 999px; background: #90b8ff; animation: pulse-dot 1.35s ease-in-out infinite; }
    .loading-dot:nth-child(2) { background: #9b9aff; animation-delay: .16s; }
    .loading-dot:nth-child(3) { background: #c293ff; animation-delay: .32s; }

    .welcome-screen, .signup-screen, .phone-verification-screen {
      position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh));
      overflow: hidden; isolation: isolate; color: var(--ink);
    }
    .welcome-screen {
      display: grid; place-items: center; padding: 32px 24px max(28px, env(safe-area-inset-bottom));
    }
    .welcome-content {
      width: 100%; max-width: 390px; display: flex; flex-direction: column; align-items: center;
      text-align: center; position: relative; z-index: 1;
    }
    .welcome-language-selector { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; padding: 4px; border: 1px solid rgba(180,170,255,.24); border-radius: 999px; background: rgba(15,22,62,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); pointer-events: auto; touch-action: manipulation; }
    .welcome-language-option { position: relative; z-index: 1; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #b9c5e5; font-size: 12px; font-weight: 600; cursor: pointer; pointer-events: auto; touch-action: manipulation; }
    .welcome-language-option.active { background: linear-gradient(110deg, rgba(113,56,242,.72), rgba(41,152,243,.5)); color: #fff; box-shadow: 0 0 16px rgba(113,56,242,.2); }
    .welcome-language-option:focus-visible { outline: 2px solid #b9d6ff; outline-offset: 2px; }
    .welcome-actions { width: 100%; display: grid; gap: 12px; margin-top: 36px; }
    .welcome-button, .signup-submit, .verification-submit {
      width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; text-decoration: none; border: 0; border-radius: 17px; color: #fff; font: inherit;
      font-weight: 600; cursor: pointer; box-shadow: 0 14px 30px rgba(0,0,0,.2);
    }
    .welcome-button:focus-visible, .signup-submit:focus-visible, .code-trigger:focus-visible, .close-picker:focus-visible,
    .verification-submit:focus-visible, .verification-back:focus-visible, .resend-code:focus-visible {
      outline: 3px solid #b9d6ff; outline-offset: 3px;
    }
    .welcome-button-secondary { border: 1px solid rgba(196,216,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
    #preview-kurdassist { position: relative; z-index: 100; pointer-events: auto; touch-action: manipulation; cursor: pointer; user-select: none; }
    #preview-kurdassist, #preview-kurdassist * { pointer-events: auto; }
    #preview-kurdassist { min-height: 48px; margin-top: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
    #preview-kurdassist-subtitle { color: #91a6d3; font-size: 11px; font-weight: 400; }
    .welcome-footer { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; }

    .signup-screen {
      display: block; width: 100%; height: calc(100 * min(var(--vh, 1vh), 1vh)); min-height: 0; max-height: calc(100 * min(var(--vh, 1vh), 1vh));
      padding: max(25px, env(safe-area-inset-top)) 24px calc(48px + env(safe-area-inset-bottom));
      overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; touch-action: pan-y;
    }
    .signup-inner { width: 100%; max-width: 430px; margin: 0 auto; position: relative; z-index: 1; }
    .signup-topbar { display: flex; align-items: center; justify-content: space-between; }
    .signup-icon {
      width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
      color: #dce8ff; background: rgba(255,255,255,.07); border: 1px solid rgba(196,216,255,.14);
    }
    .signup-kicker { margin: 50px 0 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .signup-heading { margin: 12px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .signup-description { margin: 12px 0 0; max-width: 340px; line-height: 1.55; }
    .signup-form { margin-top: 32px; display: grid; gap: 17px; }
    .social-auth-stack { display: grid; gap: 11px; }
    .social-divider { display: flex; align-items: center; gap: 12px; margin: 3px 0; color: #91a6d3; font-size: 13px; text-align: center; }
    .social-divider::before, .social-divider::after { content: ""; height: 1px; flex: 1; background: rgba(180,170,255,.24); }
    .social-divider span { min-width: 18px; }
    .profile-photo-area { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 2px; }
    .avatar-upload { position: relative; width: 92px; height: 92px; border-radius: 999px; border: 1px solid rgba(196,216,255,.2); background: rgba(255,255,255,.08); color: #cfe0ff; display: grid; place-items: center; overflow: hidden; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
    .avatar-upload:focus-within { outline: 3px solid #b9d6ff; outline-offset: 3px; }
    .avatar-upload img { width: 100%; height: 100%; object-fit: cover; display: none; }
    .avatar-upload.has-photo img { display: block; }
    .avatar-upload.has-photo > i { display: none; }
    .avatar-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
    .avatar-camera { position: absolute; right: -1px; bottom: 0; width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid #0d2048; border-radius: 999px; background: #4d8dff; color: #fff; pointer-events: none; }
    .avatar-helper { margin: 0; color: #b9c5e5; font-size: 13px; }
    .field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #d8e4ff; }
    .text-field {
      width: 100%; min-height: 58px; border-radius: 16px; border: 1px solid rgba(196,216,255,.16);
      background: rgba(7,21,47,.55); color: #f7f9ff; outline: none; padding: 0 16px;
      transition: border-color .2s, box-shadow .2s;
    }
    .text-field::placeholder { color: #8294bd; }
    .text-field:focus { border-color: #6d9dff; box-shadow: 0 0 0 4px rgba(77,141,255,.14); }
    .password-toggle { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #9db5e5; cursor: pointer; }
    .password-toggle:focus-visible { outline: 3px solid #b9d6ff; outline-offset: 2px; }
    .phone-line { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 10px; }
    .code-trigger {
      min-height: 58px; width: 100%; display: flex; align-items: center; justify-content: space-between;
      gap: 7px; padding: 0 13px; border-radius: 16px; border: 1px solid rgba(196,216,255,.16);
      background: rgba(7,21,47,.55); color: #f7f9ff; cursor: pointer;
    }
    .selected-code { font-weight: 600; white-space: nowrap; }
    .signup-submit { margin-top: 7px; transition: transform .18s, filter .18s; }
    .signup-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .signup-notice { min-height: 22px; margin: 0; text-align: center; color: #a7f3d0; font-size: 13px; }
    .field-error { min-height: 18px; margin: 7px 2px 0; color: #f6b8c0; font-size: 12px; line-height: 1.4; }
    .field-invalid { border-color: rgba(246,184,192,.72); box-shadow: 0 0 0 3px rgba(246,184,192,.1); }
    .signup-existing { margin: 5px 0 0; text-align: center; line-height: 1.55; }
    .signup-existing strong { color: #9ec2ff; }

    .phone-verification-screen {
      display: grid;
      align-items: center;
      padding: max(25px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
      overflow-y: auto;
    }
    .verification-inner {
      width: 100%;
      max-width: 430px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
    .verification-topbar {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .verification-back {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(196,216,255,.14);
      border-radius: 14px;
      background: rgba(255,255,255,.07);
      color: #dce8ff;
      cursor: pointer;
    }
    .verification-kicker {
      margin: 50px 0 0;
      color: #8db7ff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .13em;
      text-transform: uppercase;
    }
    .verification-heading {
      margin: 12px 0 0;
      letter-spacing: -.045em;
      line-height: 1.1;
    }
    .verification-description {
      max-width: 350px;
      margin: 12px 0 0;
      color: var(--muted);
      line-height: 1.55;
    }
    .verification-phone {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 23px 0 0;
      padding: 10px 14px;
      border: 1px solid rgba(196,216,255,.15);
      border-radius: 13px;
      background: rgba(7,21,47,.45);
      color: #dce8ff;
      font-weight: 600;
    }
    .otp-group {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: clamp(7px, 2vw, 12px);
      margin-top: 34px;
    }
    .otp-input {
      width: 100%;
      min-width: 0;
      aspect-ratio: 1 / 1.08;
      max-height: 62px;
      border: 1px solid rgba(196,216,255,.18);
      border-radius: 15px;
      background: rgba(7,21,47,.55);
      color: #f7f9ff;
      text-align: center;
      font-size: 22px;
      font-weight: 600;
      outline: none;
      caret-color: #8db7ff;
      transition: border-color .2s, box-shadow .2s, transform .2s;
    }
    .otp-input:focus {
      border-color: #6d9dff;
      box-shadow: 0 0 0 4px rgba(77,141,255,.14);
      transform: translateY(-1px);
    }
    .resend-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 5px;
      margin: 27px 0 0;
      color: #b9c5e5;
      font-size: 14px;
      line-height: 1.55;
      text-align: center;
    }
    .resend-code {
      padding: 0;
      border: 0;
      background: transparent;
      color: #8db7ff;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .countdown {
      margin: 9px 0 0;
      color: #91a6d3;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .07em;
      text-align: center;
    }
    .verification-submit {
      margin-top: 31px;
      background: linear-gradient(135deg, #4d8dff 0%, #6c63ff 100%);
      transition: transform .18s, filter .18s;
    }
    .verification-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .recovery-screen {
      position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh));
      overflow-y: auto; isolation: isolate; color: var(--ink); padding: max(25px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    }
    .recovery-inner { width: 100%; max-width: 430px; margin: 0 auto; position: relative; z-index: 1; }
    .recovery-topbar { display: flex; align-items: center; }
    .recovery-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
    .recovery-method { min-height: 54px; border: 1px solid rgba(196,216,255,.16); border-radius: 16px; background: rgba(7,21,47,.55); color: #b9c5e5; font-weight: 600; cursor: pointer; }
    .recovery-method[aria-pressed="true"] { border-color: #6d9dff; background: rgba(77,141,255,.2); color: #f7f9ff; box-shadow: 0 0 0 3px rgba(77,141,255,.1); }
    .recovery-field { margin-top: 22px; }
    .recovery-phone-line { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 10px; }
    .recovery-actions { margin-top: 24px; }
    .recovery-login { margin: 22px 0 0; text-align: center; line-height: 1.55; }
    .reset-password-screen {
      position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh));
      overflow-y: auto; isolation: isolate; color: var(--ink); padding: max(25px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    }
    .reset-password-inner { width: 100%; max-width: 430px; margin: 0 auto; position: relative; z-index: 1; }
    .reset-password-topbar { display: flex; align-items: center; }
    .reset-password-kicker { margin: 50px 0 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .reset-password-heading { margin: 12px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .reset-password-description { max-width: 350px; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
    .reset-password-form { margin-top: 32px; display: grid; gap: 17px; }
    .password-requirements { display: grid; gap: 8px; margin: -2px 0 1px; padding: 13px 15px; border: 1px solid rgba(196,216,255,.12); border-radius: 15px; background: rgba(7,21,47,.36); }
    .password-requirement { display: flex; align-items: center; gap: 9px; margin: 0; color: #91a6d3; font-size: 12px; line-height: 1.4; transition: color .2s; }
    .password-requirement svg { width: 15px; height: 15px; flex: 0 0 auto; }
    .password-requirement.is-met { color: #a7f3d0; }
    .reset-password-submit { margin-top: 7px; }
    .home-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; color: var(--ink); padding: max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .home-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .home-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
    .home-greeting { margin: 0; letter-spacing: -.04em; line-height: 1.1; }
    .home-subheading { margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
    .home-top-actions { display: flex; gap: 8px; }
    .home-icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(196,216,255,.14); border-radius: 14px; background: rgba(255,255,255,.07); color: #dce8ff; cursor: pointer; }
    .home-avatar { overflow: hidden; border-radius: 999px; background: linear-gradient(135deg,#4d8dff,#6c63ff); }
    .home-section { margin-top: 27px; }
    .home-section-heading { margin: 0 0 12px; letter-spacing: -.025em; }
    .home-search { display: flex; align-items: center; gap: 11px; min-height: 58px; padding: 0 16px; border: 1px solid rgba(196,216,255,.16); border-radius: 17px; background: rgba(7,21,47,.55); color: #90a6d3; }
    .home-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #f7f9ff; }
    .home-search input::placeholder { color: #8294bd; }
    .home-search-submit { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 10px; background: linear-gradient(135deg,#4d8dff,#6c63ff); color: #fff; cursor: pointer; }
    .home-search-results { margin-top: 12px; }
    .home-search-results[hidden] { display: none; }
    .home-search-results-heading { margin: 0 0 8px; color: #dce8ff; font-size: 13px; font-weight: 700; }
    .home-search-results-list { display: grid; gap: 8px; }
    .home-search-result { width: 100%; padding: 12px 14px; border: 1px solid rgba(196,216,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); color: #f7f9ff; text-align: left; cursor: pointer; }
    .home-search-result strong, .home-search-result span { display: block; }
    .home-search-result span { margin-top: 3px; color: #91a6d3; font-size: 12px; line-height: 1.35; }
    .home-search-result:hover, .home-search-result:focus-visible { border-color: #6d9dff; outline: none; background: rgba(77,141,255,.14); }
    .home-search-empty { padding: 14px; border: 1px dashed rgba(196,216,255,.2); border-radius: 14px; color: #b9c5e5; font-size: 13px; }
    .sponsored-carousel { position:relative; }
    .sponsored-carousel-viewport { position:relative; overflow:hidden; border:1px solid rgba(147,143,255,.34); border-radius:22px; background:linear-gradient(135deg,rgba(63,42,128,.7),rgba(8,14,42,.86)); box-shadow:0 18px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08); }
    .sponsored-slide { min-height:190px; padding:14px 54px 22px; display:flex; flex-direction:column; justify-content:center; animation:sponsored-in .35s ease both; border:0; color:inherit; font:inherit; text-align:inherit; cursor:pointer; appearance:none; -webkit-appearance:none; }
    .sponsored-visual { width:100%; aspect-ratio:16 / 9; flex:0 0 auto; margin-bottom:14px; overflow:hidden; border:1px solid rgba(180,170,255,.22); border-radius:15px; background:linear-gradient(135deg,#17295b,#3b276d 52%,#15558a); position:relative; }
    .sponsored-visual::before, .sponsored-visual::after { content:""; position:absolute; border-radius:999px; filter:blur(1px); opacity:.72; }
    .sponsored-visual::before { width:48%; height:75%; left:8%; bottom:-22%; background:radial-gradient(circle,#55a8ff,transparent 68%); }
    .sponsored-visual::after { width:54%; height:90%; right:2%; top:-35%; background:radial-gradient(circle,#a74dff,transparent 68%); }
    .sponsored-visual.theme-workplace { background:linear-gradient(135deg,#132b54,#28527c 52%,#463177); }
    .sponsored-visual.theme-project { background:linear-gradient(135deg,#1a234d,#3f2b6d 52%,#195c82); }
    .sponsored-visual span { position:absolute; inset:0; display:grid; place-items:center; color:rgba(238,245,255,.82); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
    .sponsored-label { color:#c9b6ff; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
    .sponsored-headline { margin:8px 0 0; color:#fff; font-size:25px; font-weight:700; letter-spacing:-.035em; }
    .sponsored-copy { margin:7px 0 0; color:#d5e1ff; line-height:1.4; }
    .sponsored-description { margin:4px 0 0; color:#b9c5e5; font-size:12px; }
    .sponsored-cta { align-self:flex-start; min-height:40px; margin-top:15px; padding:0 15px; border:0; border-radius:12px; background:linear-gradient(110deg,#6737ed,#238eea); color:#fff; font-weight:700; cursor:pointer; }
    .sponsored-control { position:absolute; top:50%; transform:translateY(-50%); width:34px; height:44px; display:grid; place-items:center; border:1px solid rgba(196,216,255,.18); border-radius:12px; background:rgba(7,21,47,.5); color:#dce8ff; cursor:pointer; }
    .sponsored-prev { left:10px; } .sponsored-next { right:10px; }
    .sponsored-dots { display:flex; justify-content:center; gap:7px; margin-top:10px; }
    .sponsored-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:#5d668f; cursor:pointer; }
    .sponsored-dot.active { width:22px; border-radius:99px; background:linear-gradient(90deg,#a74dff,#55a8ff); }
    .sponsored-carousel-viewport { touch-action: pan-y; }
    .sponsored-control { z-index: 2; }
    @keyframes sponsored-in { from { opacity:.2; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }
    .ai-card {  padding: 22px; border: 1px solid rgba(147,177,255,.24); border-radius: 22px; background: linear-gradient(135deg,rgba(50,104,205,.55),rgba(91,63,173,.5)); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
    .ai-card-title { margin: 0; letter-spacing: -.03em; }
    .ai-card-subtitle { margin: 8px 0 18px; color: #d5e1ff; line-height: 1.45; }
    .start-chat { min-height: 44px; padding: 0 18px; border: 0; border-radius: 13px; background: #fff; color: #182a62; font-weight: 700; cursor: pointer; }
    .quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .quick-card, .tool-card { border: 1px solid rgba(196,216,255,.13); border-radius: 17px; background: rgba(255,255,255,.06); color: #f7f9ff; }
    .quick-card { min-height: 104px; padding: 15px; text-align: left; }
    .quick-icon, .tool-icon { color: #9ec2ff; margin-bottom: 10px; }
    .quick-title, .tool-title { display: block; font-weight: 600; }
    .quick-subtitle, .tool-subtitle { display: block; margin-top: 4px; color: #91a6d3; font-size: 12px; }
    .tools-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
    .tool-card { min-height: 92px; padding: 12px 9px; text-align: center; }
    .tool-icon { margin-bottom: 7px; }
    .tool-title { font-size: 12px; }
    .empty-card { padding: 20px; border: 1px dashed rgba(196,216,255,.2); border-radius: 17px; background: rgba(7,21,47,.35); color: #b9c5e5; text-align: center; }
    .empty-card p { margin: 0; }
    .bottom-nav { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 5; display: grid; grid-template-columns: repeat(5,1fr); padding: 8px 6px; pointer-events: none; border: 1px solid rgba(196,216,255,.16); border-radius: 21px; background: rgba(13,32,72,.92); backdrop-filter: blur(16px); box-shadow: 0 14px 35px rgba(0,0,0,.3); }
    .nav-item { display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; color: #91a6d3; font-size: 10px; cursor: pointer; pointer-events: auto; }
    .nav-item.active { color: #fff; }
    .nav-item.active svg { color: #8db7ff; }
    .property-screen { position: relative; display: block; visibility: visible; opacity: 1; z-index: 1; width: 100%; height: calc(100 * min(var(--vh, 1vh), 1vh)); min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(112px + env(safe-area-inset-bottom)); }
    .property-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .property-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .property-heading { margin: 10px 0 0; color: #f7f9ff; font-size: 32px; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
    .property-subtitle { margin: 9px 0 0; color: #b9c5e5; line-height: 1.45; }
    .property-search { width: 100%; min-height: 56px; margin-top: 24px; padding: 0 15px; border: 1px solid rgba(196,216,255,.16); border-radius: 17px; background: rgba(7,21,47,.55); color: #f7f9ff; outline: none; }
    .property-toolbar { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
    .property-toolbar::-webkit-scrollbar { display: none; }
    .property-chip, .property-action { flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 1px solid rgba(196,216,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: #b9c5e5; cursor: pointer; }
    .property-chip.active, .property-action.active { border-color: #6d9dff; background: rgba(77,141,255,.2); color: #fff; }
    .property-location { width: 100%; min-height: 48px; margin-top: 12px; padding: 0 12px; border: 1px solid rgba(196,216,255,.16); border-radius: 14px; background: #07152f; color: #f7f9ff; }
    .property-section { margin-top: 27px; }
    .property-section h2 { margin: 0 0 12px; color: #f7f9ff; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
    .property-list { display: grid; gap: 10px; }
    .property-card { position: relative; padding: 15px; border: 1px solid rgba(196,216,255,.14); border-radius: 19px; background: rgba(255,255,255,.06); color: #f7f9ff; }
    .property-image { height: 112px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 14px; background: linear-gradient(135deg, rgba(77,141,255,.28), rgba(108,99,255,.3)); color: #9ec2ff; }
    .property-card h3 { margin: 0; padding-right: 38px; font-size: 17px; font-weight: 700; }
    .property-meta, .property-details { margin: 5px 0 0; color: #b9c5e5; font-size: 12px; }
    .property-price { margin: 7px 0 0; color: #9ec2ff; font-size: 16px; font-weight: 700; }
    .property-details { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
    .property-details span { padding: 5px 8px; border-radius: 8px; background: rgba(7,21,47,.48); }
    .property-badge { display: inline-block; margin-top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(245,190,92,.16); color: #f6d58c; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
    .property-save { position: absolute; top: 15px; right: 15px; border: 0; background: transparent; color: #91a6d3; cursor: pointer; }
    .property-save.saved { color: #c9b6ff; }
    .property-info { padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(50,104,205,.55), rgba(91,63,173,.5)); color: #fff; }
    .property-info h3 { margin: 0; font-size: 18px; } .property-info p { margin: 7px 0 14px; color: #d5e1ff; line-height: 1.45; font-size: 13px; }
    .property-info button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: #182a62; font-weight: 700; cursor: pointer; }
    .education-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .education-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .education-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .education-heading { margin: 10px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .education-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .education-search { display: flex; align-items: center; gap: 11px; min-height: 58px; margin-top: 24px; padding: 0 16px; border: 1px solid rgba(196,216,255,.16); border-radius: 17px; background: rgba(7,21,47,.55); color: #90a6d3; }
    .education-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #f7f9ff; }
    .education-toolbar { display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
    .education-toolbar::-webkit-scrollbar { display:none; }
    .education-chip { flex:0 0 auto; min-height:42px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#b9c5e5; cursor:pointer; }
    .education-chip.active { border-color:#6d9dff; background:rgba(77,141,255,.2); color:#fff; }
    .education-location { width:100%; min-height:48px; margin-top:12px; padding:0 12px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:#07152f; color:#f7f9ff; }
    .education-section { margin-top:27px; }
    .education-section-heading { margin:0 0 12px; letter-spacing:-.025em; }
    .education-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .education-category { min-height:82px; padding:13px; border:1px solid rgba(196,216,255,.13); border-radius:16px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .education-category svg { color:#9ec2ff; margin-bottom:7px; }
    .education-category strong { display:block; font-size:13px; } .education-category span { display:block; margin-top:3px; color:#91a6d3; font-size:11px; }
    .education-list { display:grid; gap:10px; }
    .education-card { position:relative; padding:15px; border:1px solid rgba(196,216,255,.14); border-radius:19px; background:rgba(255,255,255,.06); color:#f7f9ff; cursor:pointer; }
    .education-visual { height:94px; display:grid; place-items:center; margin-bottom:12px; border-radius:14px; background:linear-gradient(135deg,rgba(77,141,255,.28),rgba(108,99,255,.3)); color:#dce8ff; }
    .education-card h3 { margin:0; padding-right:34px; font-size:16px; font-weight:700; } .education-meta { margin:5px 0 0; color:#b9c5e5; font-size:12px; } .education-description { margin:8px 0 0; color:#b9c5e5; font-size:12px; line-height:1.4; }
    .education-demo { display:inline-block; margin-top:9px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }
    .education-save { position:absolute; top:15px; right:15px; border:0; background:transparent; color:#91a6d3; cursor:pointer; } .education-save.saved { color:#c9b6ff; }
    .education-info { padding:18px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:linear-gradient(135deg,rgba(50,104,205,.55),rgba(91,63,173,.5)); } .education-info-action { display:inline-flex; align-items:center; min-height:42px; padding:0 14px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; } .education-destination-card { display:block; width:100%; color:inherit; font:inherit; text-align:left; cursor:pointer; appearance:none; -webkit-appearance:none; position:relative; z-index:2; } .education-destination-card:focus-visible { outline:3px solid #b9d6ff; outline-offset:3px; } .education-info h3 { margin:0; font-size:18px; } .education-info p { margin:7px 0 14px; color:#d5e1ff; line-height:1.45; font-size:13px; } .education-info button { min-height:42px; padding:0 14px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .services-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .services-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .services-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .section-heading-icon { display: block; width: 25px; height: 25px; margin-top: 14px; color: #9ec2ff; }
    .services-heading { margin: 8px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .services-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .services-search { display: flex; align-items: center; gap: 11px; min-height: 58px; margin-top: 24px; padding: 0 16px; border: 1px solid rgba(196,216,255,.16); border-radius: 17px; background: rgba(7,21,47,.55); color: #90a6d3; }
    .services-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #f7f9ff; }
    .services-search input::placeholder { color: #8294bd; }
    .location-label { display:block; margin: 20px 0 8px; color:#d8e4ff; font-size:13px; font-weight:600; }
    .location-select { width:100%; min-height:54px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:16px; background:#07152f; color:#f7f9ff; outline:none; }
    .services-section { margin-top:27px; }
    .services-search-results { display:grid; gap:10px; margin-top:20px; }
    .services-search-results[hidden] { display:none; }
    .services-search-result { padding:14px; border:1px solid rgba(196,216,255,.14); border-radius:17px; background:rgba(255,255,255,.06); color:#f7f9ff; }
    .services-search-result strong { display:block; font-size:14px; }
    .services-search-result span { display:block; margin-top:4px; color:#91a6d3; font-size:12px; line-height:1.35; }
    .services-search-empty { padding:16px; border:1px dashed rgba(196,216,255,.2); border-radius:17px; color:#b9c5e5; line-height:1.5; }
    .services-search-empty strong { display:block; color:#f7f9ff; }
    .services-section-heading { margin:0 0 12px; letter-spacing:-.025em; }
    .category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .category-card { position:relative; min-height:120px; padding:15px; border:1px solid rgba(196,216,255,.13); border-radius:17px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; transition:transform .18s,border-color .18s,background .18s; }
    .category-card:hover,.category-card:focus-visible { transform:translateY(-2px); border-color:#6d9dff; outline:none; background:rgba(77,141,255,.14); }
    .category-card.is-favorite { border-color:#8db7ff; background:rgba(77,141,255,.16); }
    .category-icon { color:#9ec2ff; margin-bottom:10px; }
    .category-title { display:block; padding-right:20px; font-weight:600; }
    .category-subtitle { display:block; margin-top:4px; color:#91a6d3; font-size:12px; line-height:1.35; }
    .favorite-button { position:absolute; top:10px; right:10px; border:0; background:transparent; color:#91a6d3; cursor:pointer; }
    .favorite-button[aria-pressed="true"] { color:#c9b6ff; }
    .placeholder-card { padding:20px; border:1px dashed rgba(196,216,255,.2); border-radius:17px; background:rgba(7,21,47,.35); color:#b9c5e5; line-height:1.5; }
    .services-bottom-nav { margin-top:20px; }
    .services-inner.search-detail-open > :not(.service-search-detail) { display:none; }
    .service-search-detail { padding-bottom:20px; }
    .service-search-detail[hidden] { display:none; }
    .service-search-detail .services-kicker { margin-top:28px; }
    .service-search-form { display:flex; gap:9px; margin-top:24px; }
    .service-search-input { min-width:0; flex:1; min-height:54px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:16px; background:rgba(7,21,47,.55); color:#f7f9ff; outline:none; }
    .service-search-input:focus { border-color:#6d9dff; box-shadow:0 0 0 3px rgba(77,141,255,.14); }
    .service-search-submit { min-height:54px; padding:0 16px; border:0; border-radius:16px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; font-weight:700; cursor:pointer; }
    .service-search-clear { margin-top:12px; padding:0; border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .service-search-results { display:grid; gap:10px; margin-top:27px; }
    .service-search-result-card { width:100%; padding:15px; border:1px solid rgba(196,216,255,.14); border-radius:18px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .service-search-result-card strong { display:block; font-size:15px; }
    .service-search-result-card span { display:block; margin-top:5px; color:#b9c5e5; font-size:13px; }
    .service-search-empty { padding:20px; border:1px dashed rgba(196,216,255,.2); border-radius:17px; color:#b9c5e5; line-height:1.5; }
    .service-search-empty strong { display:block; color:#f7f9ff; }
    .services-inner.category-detail-open > :not(.service-category-detail) { display:none; }
    .service-category-detail { padding-bottom:20px; }
    .service-category-detail[hidden] { display:none; }
    .service-category-detail .services-kicker { margin-top:28px; }
    .service-category-listings { display:grid; gap:10px; margin-top:27px; }
    .service-category-listing { padding:16px; border:1px solid rgba(196,216,255,.14); border-radius:18px; background:rgba(255,255,255,.06); color:#f7f9ff; }
    .service-category-listing strong { display:block; font-size:16px; }
    .service-category-listing span { display:block; margin-top:5px; color:#b9c5e5; font-size:13px; }
    .service-category-listing em { display:inline-block; margin-top:10px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-style:normal; font-weight:700; letter-spacing:.06em; }
    .travel-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .travel-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .travel-kicker { margin:0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .travel-heading { margin:10px 0 0; letter-spacing:-.045em; line-height:1.1; }
    .travel-subtitle { margin:9px 0 0; color:var(--muted); line-height:1.45; }
    .travel-search { width:100%; min-height:56px; margin-top:24px; padding:0 15px; border:1px solid rgba(196,216,255,.16); border-radius:17px; background:rgba(7,21,47,.55); color:#f7f9ff; outline:none; }
    .travel-toolbar { display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
    .travel-toolbar::-webkit-scrollbar { display:none; }
    .travel-chip { flex:0 0 auto; min-height:42px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#b9c5e5; cursor:pointer; }
    .travel-chip.active { border-color:#6d9dff; background:rgba(77,141,255,.2); color:#fff; }
    .travel-section { margin-top:27px; }
    .travel-section-heading { margin:0 0 12px; letter-spacing:-.025em; }
    .travel-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .travel-card, .travel-destination { min-height:82px; padding:13px; border:1px solid rgba(196,216,255,.13); border-radius:16px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .travel-card strong, .travel-destination strong { display:block; font-size:13px; }
    .travel-card span, .travel-destination span { display:block; margin-top:4px; color:#91a6d3; font-size:11px; line-height:1.35; }
    .travel-panel { padding:16px; border:1px solid rgba(147,177,255,.24); border-radius:19px; background:linear-gradient(135deg,rgba(50,104,205,.42),rgba(91,63,173,.38)); }
    .travel-panel p { margin:6px 0 0; color:#d5e1ff; font-size:13px; line-height:1.45; }
    .travel-demo { display:inline-block; margin-top:8px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }

    .ai-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .ai-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .ai-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .ai-heading { margin: 10px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .ai-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .ai-visual { width: 78px; height: 78px; margin: 24px auto 0; display: grid; place-items: center; border: 1px solid rgba(196,216,255,.2); border-radius: 24px; background: linear-gradient(145deg,rgba(77,141,255,.55),rgba(108,99,255,.5)); box-shadow: 0 18px 38px rgba(0,0,0,.25); color: #fff; }
    .ai-composer { margin-top: 24px; padding: 14px; border: 1px solid rgba(147,177,255,.28); border-radius: 22px; background: rgba(7,21,47,.68); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
    .ai-language { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; color:#b9c5e5; font-size:12px; }
    .ai-language select { border:1px solid rgba(196,216,255,.16); border-radius:10px; padding:6px 8px; background:#0d2048; color:#f7f9ff; }
    .ai-input-row { display:flex; align-items:center; gap:8px; }
    .ai-prompt { min-width:0; flex:1; min-height:48px; padding:0 13px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:rgba(255,255,255,.06); color:#f7f9ff; outline:none; }
    .ai-prompt:focus { border-color:#6d9dff; box-shadow:0 0 0 3px rgba(77,141,255,.14); }
    .ai-tool-button, .ai-send { width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:13px; cursor:pointer; color:#dce8ff; background:rgba(255,255,255,.08); }
    .ai-send { background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; }
    .ai-section { margin-top:27px; }
    .ai-section-heading { margin:0 0 12px; letter-spacing:-.025em; }
    .ai-tools-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .ai-tool-card { min-height:105px; padding:14px; border:1px solid rgba(196,216,255,.13); border-radius:17px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .ai-tool-card:hover,.ai-tool-card:focus-visible { border-color:#6d9dff; outline:none; background:rgba(77,141,255,.14); }
    .ai-tool-card svg { color:#9ec2ff; margin-bottom:9px; }
    .ai-tool-title { display:block; font-weight:600; }
    .ai-tool-description { display:block; margin-top:4px; color:#91a6d3; font-size:12px; line-height:1.35; }
    .ai-conversation { display:grid; gap:8px; }
    .ai-message { padding:11px 13px; border-radius:14px; color:#dce8ff; background:rgba(255,255,255,.07); font-size:13px; line-height:1.45; }
    .ai-message.user { background:rgba(77,141,255,.2); color:#fff; }
    .ai-empty { padding:18px; border:1px dashed rgba(196,216,255,.2); border-radius:17px; color:#b9c5e5; text-align:center; font-size:13px; }
    .ai-status { min-height:20px; margin:8px 2px 0; color:#a7f3d0; font-size:12px; }

    .cars-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .cars-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .cars-topbar { display:flex; align-items:center; }
    .cars-back { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(196,216,255,.14); border-radius:14px; background:rgba(255,255,255,.07); color:#dce8ff; cursor:pointer; }
    .cars-kicker { margin:28px 0 0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .cars-heading { margin:10px 0 0; letter-spacing:-.045em; line-height:1.1; }
    .cars-subtitle { margin:9px 0 0; color:var(--muted); line-height:1.45; }
    .cars-searchbar { display:flex; align-items:center; gap:10px; margin-top:24px; padding:0 15px; min-height:56px; border:1px solid rgba(196,216,255,.16); border-radius:17px; background:rgba(7,21,47,.55); color:#90a6d3; }
    .cars-searchbar input { width:100%; border:0; outline:0; background:transparent; color:#f7f9ff; }
    .cars-toolbar,.cars-tabs { display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
    .cars-toolbar::-webkit-scrollbar,.cars-tabs::-webkit-scrollbar { display:none; }
    .cars-tab,.make-chip,.price-chip,.cars-filter-button { flex:0 0 auto; min-height:42px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#b9c5e5; cursor:pointer; }
    .cars-tab.active,.make-chip.active,.price-chip.active { border-color:#6d9dff; background:rgba(77,141,255,.2); color:#fff; }
    .cars-controls { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:12px; }
    .cars-control { width:100%; min-height:48px; padding:0 12px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:#07152f; color:#f7f9ff; }
    .cars-section { margin-top:27px; }
    .cars-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
    .cars-section-head h2 { margin:0; letter-spacing:-.025em; }
    .cars-list { display:grid; gap:10px; }
    .car-card { position:relative; padding:15px; border:1px solid rgba(196,216,255,.14); border-radius:19px; background:rgba(255,255,255,.06); color:#f7f9ff; cursor:pointer; transition:transform .18s,border-color .18s; }
    .car-card.selected { border-color:#8db7ff; transform:translateY(-2px); }
    .car-visual { height:105px; display:grid; place-items:center; border-radius:14px; margin-bottom:13px; background:linear-gradient(135deg,rgba(77,141,255,.28),rgba(108,99,255,.3)); color:#dce8ff; }
    .car-card-head { display:flex; gap:10px; align-items:flex-start; padding-right:38px; }
    .car-title { margin:0; font-weight:700; font-size:16px; }
    .car-meta,.car-price { margin:5px 0 0; color:#b9c5e5; font-size:12px; }
    .car-price { color:#9ec2ff; font-weight:700; font-size:15px; }
    .car-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; }
    .car-tags span { padding:5px 8px; border-radius:8px; background:rgba(7,21,47,.48); color:#b9c5e5; font-size:11px; }
    .car-demo { display:inline-block; margin-top:9px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
    .car-save { position:absolute; top:15px; right:15px; border:0; background:transparent; color:#91a6d3; cursor:pointer; }
    .car-save.saved { color:#c9b6ff; }
    .cars-empty,.cars-info { padding:22px 18px; border:1px dashed rgba(196,216,255,.2); border-radius:18px; color:#b9c5e5; text-align:center; }
    .cars-info { border-style:solid; background:linear-gradient(135deg,rgba(50,104,205,.42),rgba(91,63,173,.38)); text-align:left; }
    .cars-info h2 { margin:0; color:#fff; font-size:18px; } .cars-info p { margin:7px 0 14px; line-height:1.45; font-size:13px; }
    .cars-info button,.compare-button { min-height:42px; padding:0 14px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .compare-button { background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; }

    .jobs-screen { position:relative; width:100%; height:calc(100 * min(var(--vh, 1vh), 1vh)); min-height:calc(100 * min(var(--vh, 1vh), 1vh)); max-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:scroll; overflow-x:hidden; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(180px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling:touch; overscroll-behavior-y:contain; touch-action:pan-y; }
    .jobs-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .jobs-topbar { display:flex; align-items:center; justify-content:space-between; }
    .jobs-back { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(196,216,255,.14); border-radius:14px; background:rgba(255,255,255,.07); color:#dce8ff; cursor:pointer; }
    .jobs-kicker { margin:28px 0 0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .jobs-heading { margin:10px 0 0; letter-spacing:-.045em; line-height:1.1; }
    .jobs-subtitle { margin:9px 0 0; color:var(--muted); line-height:1.45; }
    .jobs-searchbar { display:flex; align-items:center; gap:10px; margin-top:24px; padding:0 15px; min-height:56px; border:1px solid rgba(196,216,255,.16); border-radius:17px; background:rgba(7,21,47,.55); color:#90a6d3; }
    .jobs-searchbar input { width:100%; border:0; outline:0; background:transparent; color:#f7f9ff; }
    .jobs-controls { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
    .jobs-control { min-height:48px; padding:0 12px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:#07152f; color:#f7f9ff; }
    .jobs-section { margin-top:27px; }
    .jobs-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
    .jobs-section-head h2 { margin:0; letter-spacing:-.025em; }
    .jobs-link { border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .jobs-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .job-category { min-height:54px; padding:10px; display:flex; align-items:center; gap:9px; border:1px solid rgba(196,216,255,.13); border-radius:15px; background:rgba(255,255,255,.06); color:#dce8ff; text-align:left; cursor:pointer; }
    .job-category.active { border-color:#6d9dff; background:rgba(77,141,255,.18); }
    .job-category svg { color:#9ec2ff; flex:0 0 auto; }
    .job-list { display:grid; gap:10px; }
    .job-card { position:relative; padding:16px; border:1px solid rgba(196,216,255,.14); border-radius:19px; background:rgba(255,255,255,.06); color:#f7f9ff; cursor:pointer; transition:transform .18s,border-color .18s; }
    .job-card.selected { border-color:#8db7ff; transform:translateY(-2px); }
    .job-card-head { display:flex; gap:11px; align-items:flex-start; padding-right:35px; }
    .job-logo { width:42px; height:42px; display:grid; place-items:center; flex:0 0 auto; border-radius:13px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:white; font-weight:700; }
    .job-title { margin:0; font-weight:700; font-size:16px; }
    .job-company { margin:3px 0 0; color:#b9c5e5; font-size:13px; }
    .job-demo { display:inline-block; margin-top:9px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
    .job-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; color:#b9c5e5; font-size:12px; }
    .job-meta span { padding:5px 8px; border-radius:8px; background:rgba(7,21,47,.48); }
    .job-salary,.job-posted { margin:10px 0 0; color:#9ec2ff; font-size:12px; }
    .job-save { position:absolute; top:15px; right:15px; border:0; background:transparent; color:#91a6d3; cursor:pointer; }
    .job-save.saved { color:#c9b6ff; }
    .jobs-empty { padding:26px 18px; border:1px dashed rgba(196,216,255,.2); border-radius:18px; text-align:center; color:#b9c5e5; }
    .jobs-empty strong { display:block; color:#f7f9ff; font-size:17px; }
    .jobs-empty button { margin-top:12px; border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .job-alert-card { padding:18px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:linear-gradient(135deg,rgba(50,104,205,.55),rgba(91,63,173,.5)); }
    .job-alert-card h2 { margin:0; font-size:18px; }
    .job-alert-card p { margin:7px 0 15px; color:#d5e1ff; line-height:1.45; font-size:13px; }
    .job-alert-card button { min-height:42px; padding:0 15px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .jobs-employer { padding:18px; border:1px solid rgba(196,216,255,.13); border-radius:18px; background:rgba(255,255,255,.06); }
    .jobs-employer h2 { margin:0; font-size:17px; } .jobs-employer p { margin:6px 0 13px; color:#b9c5e5; font-size:13px; }
    .jobs-employer button { border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; padding:0; }
    .marketplace-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .marketplace-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .marketplace-kicker { margin:0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .marketplace-heading { margin:10px 0 0; color:#f7f9ff; font-size:32px; font-weight:700; letter-spacing:-.045em; line-height:1.1; }
    .marketplace-subtitle,.marketplace-copy { margin:9px 0 0; color:#b9c5e5; line-height:1.45; }
    .marketplace-search { width:100%; min-height:56px; margin-top:24px; padding:0 15px; border:1px solid rgba(196,216,255,.16); border-radius:17px; background:rgba(7,21,47,.55); color:#f7f9ff; outline:none; }
    .marketplace-toolbar { display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
    .marketplace-toolbar::-webkit-scrollbar { display:none; }
    .marketplace-chip,.marketplace-action { flex:0 0 auto; min-height:42px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#b9c5e5; cursor:pointer; }
    .marketplace-chip.active,.marketplace-action.primary { border-color:#6d9dff; background:rgba(77,141,255,.2); color:#fff; }
    .marketplace-section { margin-top:27px; }
    .marketplace-section h2 { margin:0 0 12px; color:#f7f9ff; font-size:22px; letter-spacing:-.025em; }
    .marketplace-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .marketplace-category,.marketplace-listing { padding:14px; border:1px solid rgba(196,216,255,.14); border-radius:18px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .marketplace-category strong,.marketplace-listing strong { display:block; font-size:14px; }
    .marketplace-category span,.marketplace-listing span { display:block; margin-top:4px; color:#91a6d3; font-size:12px; line-height:1.35; }
    .marketplace-list { display:grid; gap:10px; }
    .marketplace-listing { position:relative; }
    .marketplace-listing .demo-badge { display:inline-block; margin-top:9px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }
    .marketplace-save { position:absolute; top:12px; right:12px; border:0; background:transparent; color:#91a6d3; cursor:pointer; }
    .marketplace-panel { padding:17px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:linear-gradient(135deg,rgba(50,104,205,.48),rgba(91,63,173,.42)); }
    .marketplace-panel h3 { margin:0; color:#fff; font-size:18px; }
    .marketplace-form { display:grid; gap:11px; margin-top:14px; }
    .marketplace-form input,.marketplace-form select,.marketplace-form textarea { width:100%; min-height:46px; padding:10px 12px; border:1px solid rgba(196,216,255,.16); border-radius:13px; background:#07152f; color:#f7f9ff; }
    .marketplace-form textarea { min-height:82px; resize:vertical; }
    .marketplace-form button,.marketplace-panel button { min-height:44px; padding:0 15px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .marketplace-back { margin-bottom:25px; }
    .government-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .government-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .government-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .government-heading { margin: 10px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .government-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .government-search { width: 100%; min-height: 56px; margin-top: 24px; padding: 0 15px; border: 1px solid rgba(196,216,255,.16); border-radius: 17px; background: rgba(7,21,47,.55); color: #f7f9ff; outline: none; }
    .government-toolbar { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
    .government-toolbar::-webkit-scrollbar { display:none; }
    .government-chip { flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 1px solid rgba(196,216,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: #b9c5e5; cursor: pointer; }
    .government-chip.active { border-color: #6d9dff; background: rgba(77,141,255,.2); color: #fff; }
    .government-location { width: 100%; min-height: 48px; margin-top: 12px; padding: 0 12px; border: 1px solid rgba(196,216,255,.16); border-radius: 14px; background: #07152f; color: #f7f9ff; }
    .government-section { margin-top: 27px; }
    .government-section h2 { margin: 0 0 12px; letter-spacing: -.025em; }
    .government-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .government-card { min-height: 92px; padding: 13px; border: 1px solid rgba(196,216,255,.14); border-radius: 17px; background: rgba(255,255,255,.06); color: #f7f9ff; text-align: left; cursor: pointer; }
    .government-card strong { display:block; font-size:13px; }
    .government-card span { display:block; margin-top:4px; color:#91a6d3; font-size:11px; line-height:1.35; }
    .government-card em { display:inline-block; margin-top:8px; padding:4px 7px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:9px; font-style:normal; font-weight:700; letter-spacing:.05em; }
    .government-panel { padding:18px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:linear-gradient(135deg,rgba(50,104,205,.48),rgba(91,63,173,.42)); color:#fff; }
    .government-panel p { margin:7px 0 14px; color:#d5e1ff; line-height:1.45; font-size:13px; }
    .government-detail { display:none; }
    .government-detail.is-visible { display:block; }
    .government-detail h2 { margin-top:22px; font-size:16px; }
    .government-action { min-height:44px; margin:6px 8px 0 0; padding:0 15px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .government-back { margin-bottom:25px; }
    .translator-screen { position: relative; width: 100%; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .translator-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .translator-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .translator-heading { margin: 10px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .translator-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .translator-back { margin-bottom: 25px; }
    .translator-field { margin-top: 22px; }
    .translator-label { display:block; margin-bottom:8px; color:#d8e4ff; font-size:13px; font-weight:600; }
    .translator-select { width:100%; min-height:50px; padding:0 13px; border:1px solid rgba(196,216,255,.16); border-radius:15px; background:#07152f; color:#f7f9ff; }
    .translator-language-row { display:grid; grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr); gap:8px; align-items:end; }
    .translator-swap { width:44px; height:44px; border:1px solid rgba(196,216,255,.16); border-radius:13px; background:rgba(255,255,255,.08); color:#dce8ff; cursor:pointer; }
    .translator-input { width:100%; min-height:150px; resize:vertical; padding:14px; border:1px solid rgba(196,216,255,.16); border-radius:17px; background:rgba(7,21,47,.55); color:#f7f9ff; outline:none; line-height:1.5; }
    .translator-input:focus { border-color:#6d9dff; box-shadow:0 0 0 3px rgba(77,141,255,.14); }
    .translator-input-tools { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:8px; }
    .translator-text-button { border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .translator-counter { color:#91a6d3; font-size:12px; }
    .translator-primary { width:100%; min-height:50px; margin-top:15px; border:0; border-radius:15px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; font-weight:700; cursor:pointer; }
    .translator-card { margin-top:20px; padding:18px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:linear-gradient(135deg,rgba(50,104,205,.48),rgba(91,63,173,.42)); }
    .translator-card h2,.translator-section-heading { margin:0; letter-spacing:-.025em; }
    .translator-result { margin:10px 0 0; color:#fff; font-size:18px; line-height:1.5; white-space:pre-wrap; }
    .translator-badge { display:inline-block; margin-top:12px; padding:4px 8px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }
    .translator-card-actions { display:flex; gap:10px; margin-top:15px; }
    .translator-action { min-height:42px; padding:0 14px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .translator-section { margin-top:27px; }
    .translator-phrases { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
    .translator-phrase { padding:9px 12px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#dce8ff; cursor:pointer; }
    .translator-history { display:grid; gap:10px; margin-top:12px; }
    .translator-history-item { padding:13px; border:1px solid rgba(196,216,255,.13); border-radius:16px; background:rgba(255,255,255,.06); color:#dce8ff; }
    .translator-history-item p { margin:4px 0 0; color:#b9c5e5; font-size:13px; line-height:1.4; }
    .translator-clear-history { margin-top:10px; }

    .currency-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .currency-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .currency-kicker { margin:0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .currency-heading { margin:10px 0 0; letter-spacing:-.045em; line-height:1.1; }
    .currency-subtitle { margin:9px 0 0; color:var(--muted); line-height:1.45; }
    .currency-demo { display:inline-block; margin-top:14px; padding:5px 9px; border-radius:999px; background:rgba(245,190,92,.16); color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }
    .currency-notice { margin:10px 0 0; color:#91a6d3; font-size:12px; }
    .currency-form,.currency-result,.currency-section { margin-top:24px; padding:17px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:rgba(7,21,47,.55); }
    .currency-form { display:grid; gap:12px; }
    .currency-label { display:block; margin-bottom:7px; color:#d8e4ff; font-size:13px; font-weight:600; }
    .currency-input,.currency-select { width:100%; min-height:50px; padding:0 13px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:#07152f; color:#f7f9ff; outline:none; }
    .currency-form-row { display:grid; grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr); gap:8px; align-items:end; }
    .currency-swap { width:44px; height:44px; border:1px solid rgba(196,216,255,.16); border-radius:13px; background:rgba(255,255,255,.08); color:#dce8ff; cursor:pointer; }
    .currency-button { min-height:48px; border:0; border-radius:14px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; font-weight:700; cursor:pointer; }
    .currency-result { background:linear-gradient(135deg,rgba(50,104,205,.48),rgba(91,63,173,.42)); }
    .currency-result h2,.currency-section h2 { margin:0; letter-spacing:-.025em; }
    .currency-result-line { margin:13px 0 0; color:#fff; font-size:22px; font-weight:700; line-height:1.45; }
    .currency-result-equals { color:#d5e1ff; text-align:center; }
    .currency-rate { margin:10px 0 0; color:#d5e1ff; line-height:1.45; }
    #currency-amount, #currency-result-line, #currency-rate, #currency-history .currency-history-item, .currency-chip { direction: ltr; unicode-bidi: isolate; text-align: left; }
    .currency-meta { margin:7px 0 0; color:#91a6d3; font-size:12px; }
    .currency-result-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:15px; }
    .currency-secondary { min-height:42px; padding:0 13px; border:1px solid rgba(255,255,255,.18); border-radius:12px; background:rgba(255,255,255,.1); color:#fff; font-weight:600; cursor:pointer; }
    .currency-error { min-height:18px; margin:0; color:#f6b8c0; font-size:12px; }
    .currency-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
    .currency-chip { padding:9px 11px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#dce8ff; cursor:pointer; }
    .currency-list { display:grid; gap:8px; margin-top:12px; }
    .currency-history-item { padding:11px 12px; border-radius:13px; background:rgba(255,255,255,.06); color:#dce8ff; }
    .currency-history-item small { display:block; margin-top:4px; color:#f6d58c; font-size:10px; font-weight:700; letter-spacing:.06em; }
    .currency-clear { margin-top:10px; padding:0; border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }

    .calculator-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(128px + env(safe-area-inset-bottom)); }
    .calculator-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .calculator-kicker { margin:0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .calculator-heading { margin:10px 0 0; color:#f7f9ff; font-size:32px; font-weight:700; letter-spacing:-.045em; line-height:1.1; }
    .calculator-subtitle { margin:9px 0 0; color:#b9c5e5; line-height:1.45; }
    .calculator-display { margin-top:24px; padding:18px; min-height:118px; display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-end; gap:8px; border:1px solid rgba(147,177,255,.24); border-radius:22px; background:linear-gradient(135deg,rgba(50,104,205,.5),rgba(91,63,173,.45)); overflow:hidden; }
    .calculator-expression,.calculator-result { width:100%; overflow-x:auto; white-space:nowrap; text-align:right; scrollbar-width:none; }
    .calculator-expression { color:#b9c5e5; font-size:18px; min-height:26px; }
    .calculator-result { color:#fff; font-size:38px; font-weight:700; letter-spacing:-.04em; }
    .calculator-keypad { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:14px; }
    .calculator-key { min-height:64px; border:1px solid rgba(196,216,255,.14); border-radius:16px; background:rgba(255,255,255,.08); color:#f7f9ff; font-size:22px; font-weight:600; cursor:pointer; }
    .calculator-key:hover,.calculator-key:focus-visible { border-color:#6d9dff; outline:none; background:rgba(77,141,255,.18); }
    .calculator-key.operator { background:rgba(77,141,255,.2); color:#dce8ff; }
    .calculator-key.equals { background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; }
    .calculator-section { margin-top:27px; }
    .calculator-section h2 { margin:0 0 12px; color:#f7f9ff; font-size:22px; letter-spacing:-.025em; }
    .quick-calculator-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .quick-calculator-card { min-height:62px; padding:12px; border:1px solid rgba(196,216,255,.13); border-radius:16px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; font-weight:600; cursor:pointer; }
    .quick-calculator-card:hover,.quick-calculator-card:focus-visible { border-color:#6d9dff; outline:none; }
    .calculator-history { display:grid; gap:8px; }
    .calculator-history-item { padding:12px 14px; border:1px solid rgba(196,216,255,.13); border-radius:14px; background:rgba(255,255,255,.06); color:#dce8ff; text-align:left; cursor:pointer; }
    .calculator-history-item strong { display:block; color:#fff; }
    .calculator-history-item span { display:block; margin-top:4px; color:#9ec2ff; }
    .calculator-clear-history { margin-top:10px; border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .calculator-tool-panel { margin-top:20px; padding:17px; border:1px solid rgba(147,177,255,.24); border-radius:20px; background:rgba(7,21,47,.55); }
    .calculator-tool-panel[hidden] { display:none; }
    .calculator-tool-panel h2 { margin:0; color:#fff; font-size:21px; }
    .calculator-fields { display:grid; gap:11px; margin-top:14px; }
    .calculator-fields label { color:#d8e4ff; font-size:13px; font-weight:600; }
    .calculator-fields input,.calculator-fields select { width:100%; min-height:48px; margin-top:6px; padding:0 12px; border:1px solid rgba(196,216,255,.16); border-radius:13px; background:#07152f; color:#f7f9ff; }
    .calculator-tool-result { min-height:24px; margin:14px 0 0; color:#a7f3d0; line-height:1.5; white-space:pre-line; }
    .calculator-tool-button { min-height:46px; border:0; border-radius:13px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; font-weight:700; cursor:pointer; }
    .calculator-back-tool { margin-bottom:18px; }

    .weather-screen { position: relative; width: 100%; height: calc(100 * min(var(--vh, 1vh), 1vh)); min-height: calc(100 * min(var(--vh, 1vh), 1vh)); max-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: scroll; overflow-x: hidden; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(140px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; touch-action: pan-y; }
    .weather-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .weather-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .weather-heading { margin: 10px 0 0; color: #f7f9ff; font-size: 32px; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
    .weather-subtitle { margin: 9px 0 0; color: #b9c5e5; line-height: 1.45; }
    .weather-demo { display: inline-block; margin-top: 14px; padding: 5px 9px; border-radius: 999px; background: rgba(245,190,92,.16); color: #f6d58c; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
    .weather-notice { margin: 9px 0 0; color: #91a6d3; font-size: 12px; }
    .weather-search-row { display: flex; gap: 8px; margin-top: 22px; }
    .weather-search, .weather-location { min-height: 50px; padding: 0 13px; border: 1px solid rgba(196,216,255,.16); border-radius: 14px; background: rgba(7,21,47,.55); color: #f7f9ff; outline: none; }
    .weather-search { min-width: 0; flex: 1; }
    .weather-search-button, .weather-refresh { min-height: 50px; padding: 0 15px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#4d8dff,#6c63ff); color: #fff; font-weight: 700; cursor: pointer; }
    .weather-location { width: 100%; margin-top: 10px; }
    .weather-card, .weather-panel { margin-top: 22px; padding: 18px; border: 1px solid rgba(147,177,255,.24); border-radius: 20px; background: linear-gradient(135deg,rgba(50,104,205,.5),rgba(91,63,173,.45)); }
    .weather-current-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
    .weather-place { margin:0; color:#fff; font-size:22px; font-weight:700; }
    .weather-region { margin:4px 0 0; color:#d5e1ff; font-size:13px; }
    .weather-temperature { margin:18px 0 0; color:#fff; font-size:48px; font-weight:700; letter-spacing:-.05em; }
    .weather-condition { margin:0; color:#fff; font-size:17px; font-weight:600; }
    .weather-feels { margin:6px 0 0; color:#d5e1ff; font-size:13px; }
    .weather-high-low { display:flex; gap:18px; margin-top:13px; color:#fff; font-weight:600; }
    .weather-metrics { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; margin-top:18px; }
    .weather-metric { padding:10px; border-radius:12px; background:rgba(7,21,47,.35); color:#dce8ff; font-size:12px; }
    .weather-section { margin-top:27px; }
    .weather-section h2 { margin:0 0 12px; color:#f7f9ff; font-size:22px; letter-spacing:-.025em; }
    .weather-scroll { display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
    .weather-scroll::-webkit-scrollbar { display:none; }
    .weather-scroll { touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
    .weather-hour, .weather-quick { flex:0 0 86px; padding:12px 9px; border:1px solid rgba(196,216,255,.14); border-radius:15px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:center; }
    .weather-hour strong, .weather-quick strong { display:block; font-size:12px; }
    .weather-hour span, .weather-quick span { display:block; margin-top:6px; color:#b9c5e5; font-size:11px; }
    .weather-seven-day { display:grid; gap:8px; }
    .weather-day { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px; border:1px solid rgba(196,216,255,.13); border-radius:15px; background:rgba(255,255,255,.06); color:#f7f9ff; }
    .weather-day span { color:#b9c5e5; font-size:12px; }
    .weather-history { display:grid; gap:8px; color:#dce8ff; }
    .weather-history p { margin:0; padding:11px 12px; border-radius:12px; background:rgba(255,255,255,.06); }
    .weather-history button, .weather-unit { border:0; background:transparent; color:#9ec2ff; font-weight:600; cursor:pointer; }
    .weather-unit-row { display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }
    .weather-unit.active { color:#fff; text-decoration:underline; }

    .activity-screen { position: relative; min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y: auto; isolation: isolate; padding: max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .activity-inner { width: 100%; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
    .activity-kicker { margin: 0; color: #8db7ff; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
    .activity-heading { margin: 10px 0 0; letter-spacing: -.045em; line-height: 1.1; }
    .activity-subtitle { margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
    .activity-tools { display: flex; align-items: center; gap: 9px; margin-top: 24px; padding: 0 14px; min-height: 48px; border: 1px solid rgba(196,216,255,.16); border-radius: 15px; background: rgba(7,21,47,.55); color: #90a6d3; }
    .activity-tools input { width: 100%; border: 0; outline: 0; background: transparent; color: #f7f9ff; }
    .activity-tools input::placeholder { color: #8294bd; }
    .activity-section { margin-top: 27px; }
    .activity-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
    .activity-section-heading { margin:0; letter-spacing:-.025em; }
    .activity-clear { border:0; background:transparent; color:#8db7ff; font-weight:600; cursor:pointer; }
    .activity-filters { display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
    .activity-filters::-webkit-scrollbar { display:none; }
    .activity-filter { flex:0 0 auto; padding:9px 13px; border:1px solid rgba(196,216,255,.16); border-radius:999px; background:rgba(255,255,255,.06); color:#b9c5e5; cursor:pointer; }
    .activity-filter[aria-pressed="true"] { border-color:#6d9dff; background:rgba(77,141,255,.2); color:#fff; }
    .activity-list { display:grid; gap:10px; }
    .activity-card { display:flex; align-items:flex-start; gap:12px; width:100%; padding:15px; border:1px solid rgba(196,216,255,.13); border-radius:17px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; }
    .activity-card-icon { flex:0 0 auto; display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:rgba(77,141,255,.16); color:#9ec2ff; }
    .activity-card-title { display:block; font-weight:600; }
    .activity-card-description { display:block; margin-top:4px; color:#b9c5e5; font-size:13px; line-height:1.4; }
    .activity-card-meta { display:block; margin-top:7px; color:#91a6d3; font-size:11px; }
    .activity-empty { padding:28px 20px; border:1px dashed rgba(196,216,255,.2); border-radius:18px; background:rgba(7,21,47,.35); text-align:center; }
    .activity-empty-icon { margin:0 auto 12px; color:#8db7ff; }
    .activity-empty h3 { margin:0; font-size:18px; }
    .activity-empty p { margin:7px 0 0; color:#b9c5e5; line-height:1.45; }
    .activity-modal { position:fixed; inset:0; z-index:25; display:grid; place-items:center; padding:20px; background:rgba(2,8,24,.7); backdrop-filter:blur(7px); }
    .activity-modal[hidden] { display:none; }
    .activity-modal-panel { width:100%; max-width:370px; padding:22px; border:1px solid rgba(196,216,255,.16); border-radius:22px; background:#0d2048; box-shadow:0 26px 70px rgba(0,0,0,.48); }
    .activity-modal-panel h2 { margin:0; }
    .activity-modal-panel p { margin:9px 0 20px; color:#b9c5e5; line-height:1.45; }
    .activity-modal-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .activity-modal-actions button { min-height:46px; border:0; border-radius:13px; font-weight:600; cursor:pointer; }
    .activity-modal-cancel { background:rgba(255,255,255,.08); color:#dce8ff; }
    .activity-modal-confirm { background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; }
    .profile-screen { position:relative; width:100%; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom)); }
    .profile-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .profile-kicker { margin:0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .profile-heading { margin:10px 0 0; letter-spacing:-.045em; line-height:1.1; }
    .profile-card { display:flex; align-items:center; gap:15px; margin-top:24px; padding:18px; border:1px solid rgba(147,177,255,.24); border-radius:22px; background:linear-gradient(135deg,rgba(50,104,205,.55),rgba(91,63,173,.5)); box-shadow:0 18px 40px rgba(0,0,0,.2); }
    .profile-avatar { width:72px; height:72px; flex:0 0 auto; display:grid; place-items:center; border-radius:999px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; overflow:hidden; }
    .profile-avatar img { width:100%; height:100%; object-fit:cover; display:none; }
    .profile-avatar.has-photo img { display:block; }
    .profile-avatar.has-photo svg { display:none; }
    .profile-name { margin:0; font-weight:700; font-size:20px; }
    .profile-detail { margin:4px 0 0; color:#d5e1ff; font-size:13px; line-height:1.4; }
    .profile-edit { margin-left:auto; min-height:42px; padding:0 13px; border:1px solid rgba(255,255,255,.18); border-radius:13px; background:rgba(255,255,255,.1); color:#fff; font-weight:600; cursor:pointer; }
    .profile-section { margin-top:27px; }
    .profile-section-heading { margin:0 0 12px; letter-spacing:-.025em; }
    .profile-list { display:grid; gap:9px; }
    .profile-row { display:flex; align-items:center; gap:13px; width:100%; min-height:64px; padding:12px 14px; border:1px solid rgba(196,216,255,.13); border-radius:17px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:left; cursor:pointer; }
    .profile-row-icon { flex:0 0 auto; color:#9ec2ff; }
    .profile-row-copy { min-width:0; flex:1; }
    .profile-row-title { display:block; font-weight:600; }
    .profile-row-subtitle { display:block; margin-top:3px; color:#91a6d3; font-size:12px; line-height:1.35; }
    .profile-row-chevron { color:#91a6d3; }
    .profile-toggle { width:44px; height:25px; border:0; border-radius:999px; background:#4d8dff; cursor:pointer; position:relative; }
    .profile-toggle::after { content:""; position:absolute; top:3px; right:3px; width:19px; height:19px; border-radius:50%; background:#fff; }
    .profile-toggle[aria-pressed="false"] { background:#415276; }
    .profile-toggle[aria-pressed="false"]::after { right:22px; }
    .profile-danger { width:100%; min-height:50px; margin-top:27px; border:1px solid rgba(246,184,192,.35); border-radius:15px; background:rgba(160,48,73,.16); color:#ffc5cd; font-weight:700; cursor:pointer; }
    .profile-delete { display:block; margin:13px auto 0; border:0; background:transparent; color:#91a6d3; font-size:12px; text-decoration:underline; cursor:pointer; } .profile-status { margin-top:18px; padding:17px; border:1px solid rgba(147,177,255,.2); border-radius:19px; background:rgba(7,21,47,.42); } .profile-status-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; } .profile-status-head h2 { margin:0; font-size:18px; } .profile-status-state { color:#f6d58c; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; } .profile-status-grid { display:grid; gap:10px; } .profile-status-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.06); } .profile-status-row span:first-child { color:#b9c5e5; font-size:13px; } .profile-status-row strong { color:#f6d58c; font-size:12px; } .profile-progress { height:7px; margin-top:12px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.1); } .profile-progress span { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#4d8dff,#6c63ff); transition:width .25s ease; } .profile-section-label { margin:0 0 12px; color:#8db7ff; font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; } .profile-danger { border-color:rgba(246,184,192,.5); background:transparent; } .profile-edit-fields,.profile-choice-list { display:grid; gap:11px; margin:14px 0; } .profile-edit-fields label,.profile-choice-list label,.profile-choice-list legend { color:#d8e4ff; font-size:13px; font-weight:600; } .profile-edit-fields input,.profile-choice-list input { margin-top:6px; } .profile-choice-list label { padding:11px 12px; border:1px solid rgba(196,216,255,.14); border-radius:12px; background:rgba(255,255,255,.06); } .profile-avatar { cursor:pointer; }

    .edit-profile-screen { position:relative; width:100%; height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; isolation:isolate; padding:max(24px, env(safe-area-inset-top)) 20px calc(140px + env(safe-area-inset-bottom)); }
    .edit-profile-inner { width:100%; max-width:520px; margin:0 auto; position:relative; z-index:1; }
    .edit-profile-topbar { display:flex; align-items:center; gap:12px; }
    .edit-profile-heading { margin:24px 0 0; color:#f7f9ff; font-size:32px; font-weight:700; letter-spacing:-.045em; line-height:1.1; }
    .edit-profile-form { display:grid; gap:15px; margin-top:24px; }
    .edit-profile-photo { display:flex; align-items:center; gap:12px; padding:15px; border:1px solid rgba(196,216,255,.14); border-radius:18px; background:rgba(255,255,255,.06); }
    .edit-profile-avatar { width:58px; height:58px; display:grid; place-items:center; overflow:hidden; border-radius:999px; background:linear-gradient(135deg,#4d8dff,#6c63ff); color:#fff; }
    .edit-profile-avatar img { width:100%; height:100%; object-fit:cover; display:none; }
    .edit-profile-avatar.has-photo img { display:block; }
    .edit-profile-avatar.has-photo svg { display:none; }
    .edit-profile-photo-actions { display:flex; flex-wrap:wrap; gap:8px; }
    .edit-profile-action, .edit-profile-save { min-height:44px; padding:0 14px; border:1px solid rgba(196,216,255,.16); border-radius:13px; background:rgba(255,255,255,.08); color:#fff; font-weight:600; cursor:pointer; }
    .edit-profile-save { width:100%; border:0; background:linear-gradient(135deg,#4d8dff,#6c63ff); }
    .edit-profile-status { min-height:20px; margin:0; color:#a7f3d0; font-size:13px; text-align:center; }
    .advertise-screen { position:relative; width:100%; height:calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; padding:max(24px,env(safe-area-inset-top)) 20px calc(140px + env(safe-area-inset-bottom)); }
    .advertise-inner { width:100%; max-width:520px; margin:0 auto; }
    .advertise-kicker { margin:28px 0 0; color:#8db7ff; font-size:12px; font-weight:700; letter-spacing:.13em; }
    .advertise-heading { margin:10px 0 0; color:#f7f9ff; font-size:32px; font-weight:700; line-height:1.1; }
    .advertise-subtitle,.advertise-introduction { margin:10px 0 0; color:#b9c5e5; line-height:1.5; }
    .advertise-introduction { padding:15px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.06); }
    .advertise-form { display:grid; gap:15px; margin-top:24px; }
    .advertise-field label { display:block; margin-bottom:7px; color:#d8e4ff; font-size:13px; font-weight:600; }
    .advertise-field input,.advertise-field select,.advertise-field textarea { width:100%; min-height:50px; padding:0 13px; border:1px solid var(--line); border-radius:14px; background:rgba(8,14,42,.72); color:#f7f9ff; outline:none; }
    .advertise-field textarea { min-height:130px; padding:13px; resize:vertical; }
    .advertise-phone-row { display:grid; grid-template-columns:125px minmax(0,1fr); gap:9px; }
    .advertise-error { min-height:17px; margin:5px 2px 0; color:#f6b8c0; font-size:12px; }
    .advertise-submit { min-height:54px; border:0; border-radius:15px; background:linear-gradient(110deg,#6737ed,#8150f7 45%,#238eea); color:#fff; font-weight:700; cursor:pointer; }
    .advertise-whatsapp { min-height:50px; margin-top:10px; display:flex; align-items:center; justify-content:center; gap:9px; padding:0 15px; border:1px solid rgba(74,222,128,.42); border-radius:15px; background:rgba(22,101,52,.28); color:#bbf7d0; font-weight:700; text-decoration:none; }
    .advertise-whatsapp:focus-visible { outline:3px solid #86efac; outline-offset:3px; }
    .advertise-status { min-height:20px; margin:0; color:#f6b8c0; font-size:13px; }
    .advertise-confirmation,.advertise-guidelines { margin-top:20px; padding:18px; border:1px solid rgba(147,177,255,.3); border-radius:20px; background:linear-gradient(135deg,rgba(63,42,128,.56),rgba(18,35,83,.64)); }
    .advertise-confirmation h2,.advertise-guidelines h2 { margin:0; color:#fff; font-size:21px; }
    .advertise-confirmation p,.advertise-guidelines p { margin:8px 0 0; color:#d5e1ff; line-height:1.45; }
    .advertise-summary { display:grid; gap:7px; margin-top:15px; padding:13px; border-radius:14px; background:rgba(7,21,47,.45); color:#fff; font-size:13px; line-height:1.4; }
    .advertise-confirmation-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:15px; }
    .advertise-confirmation-actions button { min-height:43px; padding:0 14px; border:0; border-radius:12px; background:#fff; color:#182a62; font-weight:700; cursor:pointer; }
    .advertise-guidelines { background:rgba(255,255,255,.05); }
    .advertise-guidelines p { color:#b9c5e5; font-size:13px; }

    .country-picker {
      position: fixed; inset: 0; z-index: 20; display: grid; align-items: end;
      background: rgba(2,8,24,.68); backdrop-filter: blur(7px); padding: 20px;
    }
    .country-picker[hidden] { display: none; }
    .country-panel {
      width: 100%; max-width: 500px; max-height: min(680px, calc(100 * min(var(--vh, 1vh), 1vh) - 40px));
      margin: 0 auto; display: flex; flex-direction: column; overflow: hidden;
      border: 1px solid rgba(196,216,255,.16); border-radius: 25px; background: #0d2048;
      box-shadow: 0 26px 70px rgba(0,0,0,.48); animation: sheet-in .24s ease both;
    }
    .picker-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 14px; }
    .picker-title { margin: 0; letter-spacing: -.025em; }
    .close-picker { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #f7f9ff; cursor: pointer; }
    .country-search-wrap { position: relative; padding: 0 20px 14px; }
    .country-search-wrap svg { position: absolute; left: 34px; top: 15px; color: #90a6d3; pointer-events: none; }
    .country-search { padding-left: 43px; }
    .country-list { overflow-y: auto; padding: 2px 10px 16px; }
    .country-option {
      width: 100%; display: grid; grid-template-columns: 31px minmax(0,1fr) auto; align-items: center; gap: 9px;
      text-align: left; padding: 12px 11px; border: 0; border-radius: 13px; color: #eff5ff;
      background: transparent; cursor: pointer;
    }
    .country-option:hover, .country-option:focus-visible { background: rgba(105,145,232,.2); outline: none; }
    .country-flag { font-size: 20px; }
    .country-name { font-size: 14px; }
    .country-dial { color: #a9c5ff; font-size: 14px; font-weight: 600; }
    .empty-countries { padding: 22px; text-align: center; color: #a7b6db; }
    .splash-fade-out { animation: splash-out 420ms ease forwards; }
    .welcome-fade-in { animation: welcome-in 520ms cubic-bezier(.2,.8,.2,1) both; }
    @keyframes intro { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes pulse-dot { 0%,80%,100% { transform: scale(.72); opacity: .38; } 40% { transform: scale(1.25); opacity: 1; } }
    @keyframes splash-out { to { opacity: 0; transform: translateY(-8px); } }
    @keyframes welcome-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-height: 580px) {
      .logo-tile { width: 92px; height: 92px; border-radius: 26px; }
      .app-name { margin-top: 20px; } .app-tagline { margin-top: 9px; } .loading-zone { gap: 8px; }
      .signup-kicker, .verification-kicker { margin-top: 26px; }
      .otp-group { margin-top: 24px; }
      .verification-submit { margin-top: 22px; }
    }
    #onboarding-screen { min-height: calc(100 * min(var(--vh, 1vh), 1vh)); overflow-y:auto; }
    .onboarding-shell { width:100%; max-width:520px; min-height:calc(100 * min(var(--vh, 1vh), 1vh)); margin:auto; padding:max(28px,env(safe-area-inset-top)) 22px max(28px,env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:radial-gradient(circle at 20% 10%,rgba(125,60,235,.45),transparent 35%),radial-gradient(circle at 90% 90%,rgba(24,133,255,.35),transparent 40%); }
    .onboarding-brand { display:flex; align-items:center; gap:8px; font-size:18px; margin-bottom:24px; }.onboarding-brand em,.onboarding-panel em { color:#a98cff; font-style:normal; }.onboarding-mark,.onboarding-logo-large { display:grid; place-items:center; border-radius:14px; background:linear-gradient(135deg,#8a5cff,#27a9ff); color:#fff; font-weight:700; }.onboarding-mark { width:28px;height:28px; }.onboarding-panel { width:100%; min-height:360px; padding:28px 20px; border:1px solid rgba(185,164,255,.3); border-radius:28px; background:linear-gradient(145deg,rgba(57,47,130,.72),rgba(8,19,58,.78)); box-shadow:0 20px 55px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.12),0 0 34px rgba(117,82,255,.12); animation:intro .45s ease both; position:relative; overflow:hidden; }.onboarding-panel::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 50% 12%,rgba(177,139,255,.2),transparent 35%),linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%); }.onboarding-panel > * { position:relative; z-index:1; }.onboarding-panel h1 { margin:16px 0 10px; font-size:clamp(28px,7vw,40px); line-height:1.1; }.onboarding-panel p { color:#d5e1ff; line-height:1.5; }.onboarding-kicker { color:#b6a4ff!important; font-size:11px; font-weight:700; letter-spacing:.14em; }.onboarding-icon,.onboarding-logo-large { width:78px;height:78px;margin:18px auto 12px;font-size:38px; }.onboarding-icon { position:relative; border:1px solid rgba(193,169,255,.42); background:linear-gradient(145deg,rgba(137,92,255,.75),rgba(35,145,245,.45)); box-shadow:0 12px 30px rgba(23,10,79,.5),inset 0 1px 0 rgba(255,255,255,.25); }.onboarding-icon::before { content:"▣"; position:absolute; top:13px; right:17px; font-size:28px; color:#eff5ff; opacity:.9; transform:rotate(-8deg); }.onboarding-icon::after { content:"✦"; position:absolute; bottom:10px; left:15px; font-size:18px; color:#bfe7ff; }.onboarding-logo-large { position:relative; border:1px solid rgba(206,187,255,.5); background:radial-gradient(circle at 35% 25%,#c9b5ff 0 6%,#8058ef 28%,#257fe8 72%,#151a5d 100%); box-shadow:0 0 0 10px rgba(128,88,239,.08),0 18px 42px rgba(26,10,91,.55),inset 0 1px 0 rgba(255,255,255,.3); }.onboarding-logo-large::before,.onboarding-logo-large::after { content:""; position:absolute; border:1px solid rgba(182,224,255,.55); border-radius:50%; }.onboarding-logo-large::before { inset:9px; transform:rotate(35deg) scaleX(.72); }.onboarding-logo-large::after { inset:-8px; opacity:.35; }.onboarding-cards,.onboarding-features { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:28px; }.onboarding-cards span,.onboarding-features span { display:grid; gap:7px; padding:15px 6px; border:1px solid rgba(185,164,255,.18); border-radius:16px; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(111,78,190,.12)); color:#dce8ff; font-size:24px; box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 20px rgba(0,0,0,.14); }.onboarding-cards b,.onboarding-features b { font-size:11px; }.onboarding-ai-art { margin:22px auto 8px; width:150px;height:120px; display:grid;place-items:center; border:1px solid rgba(174,218,255,.32); border-radius:55% 45% 50% 50%; background:radial-gradient(circle at 50% 45%,#e9fbff 0 5%,#8ddcff 12%,#6273ed 34%,#713fd0 52%,transparent 71%); box-shadow:0 0 24px rgba(89,200,255,.34),0 0 55px rgba(167,85,255,.22),inset 0 0 24px rgba(255,255,255,.18); font-size:40px; position:relative; }.onboarding-ai-art::before { content:"⌁ 〰 ⌁"; position:absolute; bottom:15px; color:#c7efff; font-size:15px; letter-spacing:3px; opacity:.85; }.onboarding-ai-art::after { content:"◉"; position:absolute; top:11px; right:18px; color:#d9c7ff; font-size:17px; text-shadow:0 0 12px #a875ff; }.onboarding-ai-art span { position:relative; z-index:1; text-shadow:0 0 18px rgba(210,246,255,.8); }.onboarding-ai-art span+span { font-size:70px; color:#e8f7ff; }.onboarding-dots { display:flex; gap:8px; margin:20px 0 14px; }.onboarding-dots i { width:8px;height:8px;border-radius:50%;background:#58668f; }.onboarding-dots i:first-child { background:#b18bff; box-shadow:0 0 12px #9a72ff; }.onboarding-next { width:100%; min-height:52px; border:0; border-radius:16px; background:linear-gradient(110deg,#7847ef,#2d9ef5); color:#fff; font-weight:700; cursor:pointer; }.onboarding-next:focus-visible { outline:3px solid #b9d6ff; outline-offset:3px; }
    @media (prefers-reduced-motion: reduce) {
      .splash-content, .loading-zone, .loading-dot, .welcome-fade-in, .splash-fade-out, .country-panel { animation: none; }
      .signup-submit, .verification-submit, .otp-input { transition: none; }
    }

    /* Keep each app view as one mobile-safe scroll surface, matching Jobs. */
    .home-screen, .services-screen, .ai-screen, .activity-screen, .profile-screen,
    .cars-screen, .property-screen, .education-screen, .travel-screen,
    .marketplace-screen, .government-screen, .translator-screen, .currency-screen,
    .calculator-screen, .scholarships-screen, .study-abroad-screen {
      height: calc(100 * min(var(--vh, 1vh), 1vh));
      max-height: calc(100 * min(var(--vh, 1vh), 1vh));
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-y: contain;
      touch-action: pan-y;
    }
    .home-screen, .services-screen, .ai-screen, .activity-screen, .profile-screen,
    .cars-screen, .property-screen, .education-screen, .travel-screen,
    .marketplace-screen, .government-screen, .translator-screen, .currency-screen,
    .calculator-screen, .scholarships-screen, .study-abroad-screen {
      padding-bottom: calc(140px + env(safe-area-inset-bottom));
    }
    .bottom-nav, .country-picker, .activity-modal { touch-action: auto; }

    /* PDF-inspired visual language: deep midnight glass with restrained electric light. */
    :root {
      --navy: #050817;
      --ink: #f8f7ff;
      --muted: #b8b5d3;
      --blue: #55a8ff;
      --indigo: #7658ff;
      --violet: #a74dff;
      --glass: rgba(20, 20, 55, .68);
      --glass-soft: rgba(36, 30, 82, .46);
      --line: rgba(153, 142, 255, .24);
    }
    body, .screen-background {
      background: radial-gradient(circle at 82% 8%, rgba(90,44,174,.28), transparent 32%), radial-gradient(circle at 8% 88%, rgba(28,104,224,.2), transparent 35%), linear-gradient(145deg, #030511 0%, #090c25 48%, #120d30 100%);
    }
    .ambient-orb { filter: blur(18px); opacity: .55; }
    .orb-top { background: radial-gradient(circle, rgba(142,73,255,.4), transparent 68%); }
    .orb-bottom { background: radial-gradient(circle, rgba(38,137,255,.34), transparent 67%); }
    .logo-tile, .signup-icon, .verification-back, .home-icon-button, .cars-back, .property-search, .education-search, .country-panel, .activity-modal-panel {
      background: linear-gradient(145deg, rgba(65,47,132,.5), rgba(15,22,62,.72));
      border-color: rgba(180,170,255,.28);
      box-shadow: 0 16px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
    }
    .app-name, .welcome-heading, .signup-heading, .verification-heading, .home-greeting, .services-heading, .ai-heading, .property-heading, .education-heading, .travel-heading, .cars-heading, .jobs-heading, .calculator-heading, .currency-heading, .weather-heading, .profile-heading, .activity-heading { text-shadow: 0 3px 24px rgba(120,91,255,.2); }
    .welcome-button, .signup-submit, .verification-submit, .currency-button, .translator-primary, .calculator-tool-button, .home-search-submit, .weather-search-button, .weather-refresh, .compare-button {
      background: linear-gradient(110deg, #6737ed 0%, #8150f7 45%, #238eea 100%);
      box-shadow: 0 12px 28px rgba(74,48,190,.3), inset 0 1px 0 rgba(255,255,255,.22);
    }
    .welcome-button-secondary, .code-trigger, .text-field, .home-search, .services-search, .ai-composer, .ai-prompt, .property-card, .education-card, .travel-card, .travel-destination, .marketplace-listing, .government-card, .car-card, .job-card, .quick-card, .tool-card, .ai-tool-card, .activity-card, .profile-row, .calculator-display, .calculator-key, .currency-form, .translator-input, .translator-card, .weather-card, .weather-panel {
      background: linear-gradient(145deg, rgba(38,34,86,.7), rgba(8,14,42,.72));
      border-color: var(--line);
      box-shadow: 0 12px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.06);
    }
    .category-card, .education-category, .government-panel, .property-info, .ai-card, .job-alert-card, .marketplace-panel { background: linear-gradient(135deg, rgba(63,42,128,.56), rgba(18,35,83,.64)); border-color: rgba(133,143,255,.3); }
    .bottom-nav { border-color: rgba(154,141,255,.28); background: rgba(10,12,39,.88); box-shadow: 0 16px 42px rgba(0,0,0,.42), 0 0 28px rgba(84,58,206,.16); }
    .nav-item.active { color: #fff; text-shadow: 0 0 16px rgba(155,103,255,.8); }
    .nav-item.active svg { color: #b27cff; filter: drop-shadow(0 0 7px rgba(129,89,255,.8)); }
    button:hover { filter: brightness(1.06); }
    button:active { transform: translateY(1px); }
    input:focus, select:focus, textarea:focus, button:focus-visible { outline-color: #a67cff; }

    /* Compact Home advertising widget: preserve carousel behavior, reduce only its footprint. */
    #advertising-carousel { margin-top: 22px; padding: 0; }
    #advertising-carousel .sponsored-carousel-viewport { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 180px; border-radius: 18px; border: 1px solid rgba(167,120,255,.34); overflow: hidden; box-shadow: 0 12px 28px rgba(23,12,70,.24), 0 0 18px rgba(78,141,255,.08); }
    #advertising-carousel .sponsored-slide { position: relative; display: block; width: 100%; height: 100%; min-height: 180px; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; }
    #advertising-carousel .sponsored-image { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: auto; opacity: 0; transform: translateX(10px) scale(1.005); transition: opacity 650ms cubic-bezier(0.4, 0, 0.2, 1), transform 650ms cubic-bezier(0.4, 0, 0.2, 1); } #advertising-carousel .sponsored-image.is-active { z-index: 2; opacity: 1; transform: translateX(0) scale(1); }
    #advertising-carousel .sponsored-slide { pointer-events: auto; }
    .ad-editor-mode { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(2,8,24,.78); backdrop-filter: blur(8px); }
    .ad-editor-mode[hidden] { display: none; }
    .ad-editor-panel { width: 100%; max-width: 430px; padding: 20px; border: 1px solid rgba(180,170,255,.3); border-radius: 22px; background: #0d2048; box-shadow: 0 26px 70px rgba(0,0,0,.48); }
    .ad-editor-panel h2 { margin: 0; color: #fff; font-size: 20px; }
    .ad-editor-grid { display: grid; gap: 9px; margin-top: 16px; }
    .ad-editor-slot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 11px; border: 1px solid rgba(196,216,255,.16); border-radius: 12px; color: #dce8ff; background: rgba(255,255,255,.06); font-size: 13px; }
    .ad-editor-slot input { max-width: 150px; color: #b9c5e5; font-size: 11px; }
    .ad-editor-close { width: 100%; min-height: 44px; margin-top: 15px; border: 0; border-radius: 12px; background: #fff; color: #182a62; font-weight: 700; cursor: pointer; }
    #advertising-carousel .sponsored-image[hidden] { display: none; }
    #advertising-carousel .sponsored-slide.is-pressed { transform: scale(.98); opacity: .94; transition: transform 120ms ease, opacity 120ms ease; }
    #advertising-carousel .sponsored-control { width: 30px; height: 38px; border-radius: 10px; background: rgba(5,8,23,.28); }
    #advertising-carousel .sponsored-prev { left: 8px; }
    #advertising-carousel .sponsored-next { right: 8px; }
    #advertising-carousel .sponsored-dots { gap: 6px; margin-top: 7px; }
    #advertising-carousel .sponsored-dot { width: 6px; height: 6px; opacity: .75; }
    #advertising-carousel .sponsored-dot.active { width: 17px; }
    #advertising-carousel .advertising-link { display: inline-block; margin-top: 7px; color: #a9c5ff; font-size: 11px; font-weight: 600; text-decoration: none; }
    #advertising-carousel .advertising-link:hover, #advertising-carousel .advertising-link:focus-visible { color: #d6c8ff; text-decoration: underline; }
    @media (max-width: 480px) { #advertising-carousel { margin-top: 18px; } }
    /* PDF reference polish: shared glass, glow, rhythm, and responsive chrome. */
    :root {
      --surface-0: #050718;
      --surface-1: rgba(17, 19, 53, .72);
      --surface-2: rgba(31, 25, 78, .62);
      --line-soft: rgba(151, 139, 255, .28);
      --line-bright: rgba(104, 170, 255, .42);
      --accent-violet: #a875ff;
      --accent-cyan: #59c8ff;
    }
    body { letter-spacing: .005em; background-color: var(--surface-0); }
    body, .screen-background {
      background-image:
        radial-gradient(ellipse at 12% 4%, rgba(122, 56, 255, .24), transparent 31%),
        radial-gradient(ellipse at 92% 42%, rgba(24, 131, 255, .17), transparent 34%),
        radial-gradient(ellipse at 45% 106%, rgba(177, 66, 255, .18), transparent 37%),
        linear-gradient(145deg, #030511 0%, #080b22 48%, #120c2f 100%);
    }
    body::before {
      content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .32;
      background-image: radial-gradient(rgba(176, 164, 255, .22) .7px, transparent .7px);
      background-size: 28px 28px; mask-image: linear-gradient(to bottom, black, transparent 78%);
    }
    h1, h2, h3 { text-wrap: balance; }
    .home-inner, .services-inner, .ai-inner, .activity-inner, .profile-inner, .cars-inner, .property-inner,
    .education-inner, .travel-inner, .marketplace-inner, .government-inner, .translator-inner,
    .currency-inner, .calculator-inner, .jobs-inner, .weather-inner { padding-top: 2px; }
    .home-topbar, .signup-topbar, .verification-topbar, .recovery-topbar, .reset-password-topbar { min-height: 48px; }
    .home-top-actions { gap: 10px; }
    .home-icon-button, .verification-back, .cars-back, .home-avatar {
      border-color: var(--line-soft); background: rgba(26, 23, 69, .68); box-shadow: 0 8px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1);
    }
    .home-section { margin-top: 30px; }
    .home-section-heading, .services-section-heading, .ai-section-heading, .activity-section-heading,
    .property-section h2, .education-section-heading, .travel-section-heading, .currency-section h2,
    .calculator-section h2 { font-weight: 600; }
    .home-search, .services-search, .ai-composer, .property-search, .education-search, .travel-search,
    .marketplace-search, .government-search, .translator-input, .currency-form, .calculator-display,
    .weather-card, .weather-panel, .activity-card, .profile-row, .car-card, .job-card, .education-card,
    .travel-card, .travel-destination, .marketplace-listing, .government-card {
      border: 1px solid var(--line-soft); border-radius: 20px;
      box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .home-search:focus-within, .services-search:focus-within, .ai-composer:focus-within { border-color: var(--line-bright); box-shadow: 0 0 0 3px rgba(110,116,255,.12), 0 16px 36px rgba(0,0,0,.25); }
    .quick-card, .tool-card, .category-card, .education-category, .ai-tool-card { border-radius: 19px; border-color: var(--line-soft); box-shadow: 0 12px 28px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.07); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
    .quick-card:hover, .tool-card:hover, .category-card:hover, .education-category:hover, .ai-tool-card:hover { transform: translateY(-2px); border-color: var(--line-bright); }
    .quick-icon, .tool-icon, .category-icon, .profile-row-icon { filter: drop-shadow(0 0 8px rgba(110, 150, 255, .32)); }
    .ai-card, .property-info, .government-panel, .job-alert-card, .marketplace-panel, .travel-panel {
      border: 1px solid rgba(151, 139, 255, .34); box-shadow: 0 18px 42px rgba(33, 19, 96, .28), inset 0 1px 0 rgba(255,255,255,.12);
    }
    .welcome-button, .signup-submit, .verification-submit, .currency-button, .translator-primary,
    .calculator-tool-button, .compare-button, .onboarding-next, .advertise-submit {
      min-height: 52px; border-radius: 16px; background: linear-gradient(110deg, #7138f2 0%, #9a56f5 45%, #2998f3 100%);
      box-shadow: 0 14px 30px rgba(74,48,190,.34), inset 0 1px 0 rgba(255,255,255,.24);
    }
    .bottom-nav { left: 14px; right: 14px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 7px 6px; border-radius: 24px; background: rgba(8, 10, 32, .82); border-color: rgba(147, 137, 255, .34); box-shadow: 0 18px 44px rgba(0,0,0,.45), 0 0 28px rgba(91,62,210,.18); }
    .nav-item { min-height: 52px; border-radius: 17px; font-weight: 500; transition: color .2s ease, background .2s ease, transform .2s ease; }
    .nav-item.active { background: linear-gradient(145deg, rgba(122, 67, 242, .38), rgba(46, 132, 255, .18)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 22px rgba(135, 76, 255, .24); }
    .nav-item.active svg { filter: drop-shadow(0 0 7px rgba(174, 121, 255, .9)); }
    .sponsored-carousel-viewport { border-color: rgba(159, 125, 255, .46); box-shadow: 0 16px 36px rgba(14, 8, 56, .38), 0 0 24px rgba(80, 125, 255, .12); }
    @media (max-width: 480px) { .home-screen, .services-screen, .ai-screen, .activity-screen, .profile-screen, .cars-screen, .property-screen, .education-screen, .travel-screen, .marketplace-screen, .government-screen, .translator-screen, .currency-screen, .calculator-screen { padding-left: 16px; padding-right: 16px; } .quick-grid, .ai-tools-grid { gap: 9px; } }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
    html[dir="rtl"] body { text-align: right; }
    html[dir="rtl"] .home-topbar, html[dir="rtl"] .signup-topbar, html[dir="rtl"] .verification-topbar, html[dir="rtl"] .activity-section-head { flex-direction: row-reverse; }
    html[dir="rtl"] .verification-back i, html[dir="rtl"] .cars-back i, html[dir="rtl"] .travel-back i { transform: scaleX(-1); }
    html[dir="rtl"] .home-search, html[dir="rtl"] .services-search, html[dir="rtl"] .ai-input-row, html[dir="rtl"] .phone-line, html[dir="rtl"] .recovery-phone-line { direction: rtl; }
    html[dir="rtl"] .bottom-nav { direction: rtl; }
    .language-choice-list { display:grid; gap:9px; margin-top:12px; }
    .language-choice { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding:10px 13px; border:1px solid rgba(196,216,255,.16); border-radius:14px; background:rgba(255,255,255,.06); color:#f7f9ff; text-align:inherit; cursor:pointer; }
    .language-choice[aria-pressed="true"] { border-color:#8db7ff; background:rgba(77,141,255,.2); box-shadow:0 0 0 3px rgba(77,141,255,.1); }
    .language-choice small { display:block; margin-top:3px; color:#91a6d3; font-size:11px; }
    .language-choice-check { color:#a7f3d0; font-weight:700; }
  
/* Portable browser layout fixes for small screens. */
body > main.screen-background, body > section.screen-background { overflow-x: hidden; }
#shared-app-navigation { grid-template-columns: repeat(5,minmax(0,1fr)); width:calc(100% - 28px); max-width:520px; left:50%; right:auto; transform:translateX(-50%); }
#shared-app-navigation .nav-item { min-width:0; padding:3px 2px; align-content:center; }
#shared-app-navigation .nav-item > span { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px !important; line-height:1.5; }

/* Email and password account forms. */
.auth-screen {
  padding: max(24px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  overflow-x: hidden;
}
.auth-screen[hidden] { display: none; }
.auth-screen > .ambient-orb { display: none; }
.auth-screen .auth-inner { max-width: 420px; min-width: 0; }
.auth-screen .auth-brand { margin: 32px 0 0; font-size: 12px; letter-spacing: .12em; }
.auth-screen .signup-heading { margin: 10px 0 0; font-size: clamp(27px, 7.7vw, 32px); line-height: 1.3; }
.auth-screen .signup-description { margin: 10px 0 0; max-width: none; color: var(--muted); font-size: 15px; line-height: 1.7; }
.auth-screen .auth-form { margin-top: 28px; gap: 20px; }
.auth-screen .auth-field { min-width: 0; }
.auth-screen .field-label { margin-bottom: 8px; font-size: 14px; }
.auth-screen .text-field { min-width: 0; min-height: 56px; font-size: 16px; }
.auth-screen .auth-email { direction: ltr !important; text-align: left; unicode-bidi: plaintext; }
.auth-password-field { display: grid; grid-template-columns: minmax(0,1fr) 48px; align-items: stretch; position: relative; border: 1px solid rgba(196,216,255,.16); border-radius: 16px; background: rgba(7,21,47,.55); }
.auth-password-field .text-field { padding-inline: 16px; border: 0; background: transparent; box-shadow: none; }
.auth-password-field .password-toggle { position: static; top: auto; right: auto; left: auto; inset-inline-end: auto; transform: none; width: 48px; height: 56px; border-radius: 14px; z-index: 1; pointer-events: auto; }
.auth-password-field:focus-within { border-color: #6d9dff; box-shadow: 0 0 0 4px rgba(77,141,255,.14); }
.auth-password-field.auth-invalid { border-color: rgba(246,184,192,.72); box-shadow: 0 0 0 3px rgba(246,184,192,.1); }
.auth-password-field .text-field:focus-visible { outline: none; }
.auth-screen .auth-field-help { margin: 8px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-screen .field-error { min-height: 0; margin-top: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-screen .field-error:empty, .auth-screen .signup-notice:empty { display: none; }
.auth-screen .signup-notice { min-height: 0; line-height: 1.7; overflow-wrap: anywhere; }
.auth-screen .signup-submit { margin-top: 4px; min-height: 54px; padding: 12px 16px; font-size: 16px; }
.auth-screen .signup-submit:disabled { opacity: .6; cursor: wait; filter: none; transform: none; }
.auth-screen .text-field:focus-visible, .auth-screen button:focus-visible, .welcome-guest:focus-visible {
  outline: 2px solid #b9d6ff; outline-offset: 3px;
}
.auth-screen .auth-switch { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.8; text-align: center; }
.auth-screen .auth-switch button { margin-inline-start: 4px; }
.auth-secondary-actions { display: grid; justify-items: center; gap: 16px; }
.auth-secondary-actions > button { max-width: 100%; }
.auth-guest-link { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; color: #aac9ff; font-size: 14px; cursor: pointer; }
.welcome-screen .welcome-actions { margin-top: 28px; gap: 10px; }
.welcome-screen #preview-kurdassist { flex-direction: row; gap: 9px; min-height: 46px; margin-top: 2px; padding: 10px 12px; border-color: transparent; background: transparent; box-shadow: none; color: #aac9ff; font-size: 14px; }

/* Six-digit email verification keeps email and code readable in both locales. */
#email-verification-screen .email-verification-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(26,23,69,.68); color: #dce8ff; font-size: 14px; cursor: pointer; }
html[dir="rtl"] #email-verification-back svg { transform: scaleX(-1); }
#email-verification-screen .email-verification-recipient { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 20px 0 0; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 15px; background: rgba(7,21,47,.5); color: #dce8ff; }
#email-verification-screen .email-verification-recipient > svg { flex: 0 0 18px; color: #9ec2ff; }
#email-verification-email { min-width: 0; direction: ltr !important; unicode-bidi: isolate; text-align: left; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }
#email-verification-code { direction: ltr !important; unicode-bidi: isolate; min-height: 66px; text-align: center; font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: .3em; text-indent: .3em; }
#email-verification-screen .email-verification-status { margin: 14px 0 0; color: #b9d6ff; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
#email-verification-status:empty { display: none; }
#email-verification-screen .email-verification-resend { justify-self: center; min-height: 44px; padding: 8px 14px; font-size: 14px; }
#email-verification-screen button:disabled { opacity: .6; cursor: not-allowed; filter: none; transform: none; }
@media (max-height: 740px) {
  .auth-screen .auth-brand { margin-top: 20px; }
  .auth-screen .auth-form { margin-top: 22px; gap: 16px; }
  .welcome-screen { padding-top: 22px; padding-bottom: 52px; overflow-y: auto; }
  .welcome-screen .logo-tile { width: 94px; height: 94px; border-radius: 25px; }
  .welcome-screen .welcome-heading { margin-top: 20px; font-size: 28px !important; }
  .welcome-screen .welcome-language-selector { margin-top: 18px; }
  .welcome-screen .welcome-actions { margin-top: 20px; }
  .welcome-screen .welcome-footer { bottom: 16px; }
}

/* Profile editing owns its scroll area and keeps actions clear of app navigation. */
#edit-profile-screen {
  height: 100dvh;
  max-height: 100dvh;
  padding: max(22px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-padding-block: 24px 40px;
  -webkit-overflow-scrolling: touch;
}
#edit-profile-screen[hidden] { display: none; }
#edit-profile-screen .edit-profile-inner { max-width: 480px; min-width: 0; }
#edit-profile-screen .edit-profile-topbar { min-height: 44px; }
#edit-profile-screen .edit-profile-heading { margin: 22px 0 0; font-size: clamp(26px, 7.6vw, 32px); line-height: 1.4; }
#edit-profile-screen .profile-editor-description { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
#edit-profile-screen .edit-profile-form { display: grid; gap: 18px; margin-top: 24px; }
#edit-profile-screen .profile-editor-field { min-width: 0; }
#edit-profile-screen .field-label { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
#edit-profile-screen .text-field { min-width: 0; min-height: 52px; font-size: 16px; }
#edit-profile-screen .profile-editor-ltr { direction: ltr !important; text-align: left; unicode-bidi: plaintext; }
#edit-profile-screen .text-field[readonly] { color: var(--muted); background: rgba(255,255,255,.035); }
#edit-profile-screen .field-error { min-height: 0; margin: 7px 2px 0; line-height: 1.6; overflow-wrap: anywhere; }
#edit-profile-screen .field-error:empty, #edit-profile-screen .edit-profile-status:empty { display: none; }
#edit-profile-screen .profile-editor-help { margin: 8px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
#edit-profile-screen .edit-profile-photo { min-width: 0; gap: 12px; padding: 12px; }
#edit-profile-screen .edit-profile-avatar { flex: 0 0 58px; }
#edit-profile-screen .edit-profile-photo-actions { flex: 1; min-width: 0; gap: 8px; }
#edit-profile-screen .edit-profile-photo-actions .edit-profile-action { min-height: 40px; padding: 8px 10px; font-size: 13px; line-height: 1.5; }
#edit-profile-screen .profile-editor-more { min-width: 0; padding: 0 14px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255,255,255,.035); }
#edit-profile-screen .profile-editor-more > summary { padding: 14px 0; color: #b9d6ff; font-size: 14px; line-height: 1.6; cursor: pointer; }
#edit-profile-screen .profile-editor-more-fields { display: grid; gap: 18px; padding: 4px 0 16px; }
#edit-profile-screen .profile-editor-actions { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 10px; margin-top: 2px; }
#edit-profile-screen .profile-editor-actions button { min-width: 0; min-height: 54px; padding: 10px 12px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#edit-profile-screen .edit-profile-save { background: linear-gradient(110deg,#7138f2,#6c63ff 55%,#2998f3); }
#edit-profile-screen .edit-profile-status { min-height: 0; line-height: 1.7; }
#edit-profile-screen button:disabled { opacity: .6; cursor: wait; filter: none; transform: none; }
#edit-profile-screen button:focus-visible, #edit-profile-screen summary:focus-visible, #edit-profile-screen input:focus-visible { outline: 2px solid #b9d6ff; outline-offset: 3px; }
#profile-avatar img:not([src]), #edit-profile-avatar img:not([src]) { display: none; }

/* Account deletion confirmation is separate from profile and page scroll. */
.account-delete-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(2,5,18,.82);
  backdrop-filter: blur(9px);
}
.account-delete-dialog[hidden] { display: none; }
.account-delete-dialog .account-dialog-panel {
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(246,184,192,.28);
  border-radius: 22px;
  background: linear-gradient(145deg,#14152f,#111b38);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
}
.account-dialog-panel h2 { margin: 0; font-size: 24px; line-height: 1.5; }
.account-dialog-panel p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.account-dialog-panel form { display: grid; gap: 16px; margin-top: 20px; }
.account-dialog-panel label { display: block; margin-bottom: 8px; color: #d8e4ff; font-size: 14px; line-height: 1.6; }
.account-dialog-panel input { width: 100%; min-width: 0; min-height: 54px; padding: 0 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(7,21,47,.65); color: var(--ink); font-size: 16px; }
.account-dialog-panel .account-delete-error { margin: 0; color: #f6b8c0; font-size: 13px; line-height: 1.7; }
.account-dialog-panel .account-delete-error:empty { display: none; }
.account-delete-password-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.account-delete-password-row button { min-width: 62px; transform: none; }
.account-dialog-panel .account-dialog-actions, .account-dialog-panel .account-delete-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.account-dialog-panel button { min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255,255,255,.07); color: #f7f9ff; font-size: 14px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.account-dialog-panel button[type="submit"] { border-color: #d95d79; background: #b53958; }
.account-dialog-panel button:disabled { opacity: .6; cursor: wait; }
.account-dialog-panel button:focus-visible, .account-dialog-panel input:focus-visible { outline: 2px solid #b9d6ff; outline-offset: 3px; }
@media (max-width: 360px) {
  #edit-profile-screen { padding-inline: 16px; }
  #edit-profile-screen .profile-editor-actions { grid-template-columns: 1fr; }
  .account-delete-dialog { padding-inline: 16px; }
  .account-delete-dialog .account-dialog-panel { padding: 20px; }
}
