@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;900&family=Inter:wght@400;500;600;700;900&display=swap');

:root {
  --purple: #6B21A8;
  --purple-dark: #4C1382;
  --lavender: #C4B5FD;
  --lavender-light: #EFEAFE;
  --cream: #F5F0DC;
  --cream-light: #FCFAF0;
  --cream-dark: #E8DFC0;
  --ink: #1F1B2E;
  --grey: #6B6480;
  --light-grey: #E5E1F0;
  --white: #FFFFFF;
  --green: #16A34A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

@page { margin: 0; size: A4 landscape; }

html, body {
  font-family: 'Cairo', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: white;
  color: var(--ink);
}

[lang="de"] { font-family: 'Inter', 'Cairo', sans-serif; }

a { color: inherit; text-decoration: none; }

.page {
  width: 297mm;
  height: 210mm;
  page-break-after: always;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.page:last-child { page-break-after: auto; }

/* ==================== Bilingual Cover ==================== */
.cover-bi {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: 40px 50px 30px;
}
.cover-bi .top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.cover-bi .logo-wrap {
  background: white;
  padding: 22px 50px;
  border-radius: 22px;
  box-shadow: none;
}
.cover-bi .logo-wrap img {
  display: block;
  height: 80px;
  width: auto;
}
.cover-bi .titles {
  text-align: center;
}
.cover-bi .titles .ar {
  font-size: 32px; font-weight: 700; color: var(--purple-dark);
  margin-bottom: 4px;
}
.cover-bi .titles .de {
  font-family: 'Inter', sans-serif;
  font-size: 26px; font-weight: 700; color: var(--purple);
  letter-spacing: -0.5px;
}

.cover-bi .lang-row {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  flex: 1;
  align-items: stretch;
  margin-top: 10px;
}
.cover-bi .lang-card {
  flex: 1;
  max-width: 380px;
  background: white;
  border: 3px solid var(--lavender);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  box-shadow: none;
  gap: 20px;
}
.cover-bi .lang-card .flag {
  font-size: 60px;
  line-height: 1;
}
.cover-bi .lang-card .lang-name {
  font-size: 38px; font-weight: 900;
  color: var(--purple-dark);
}
.cover-bi .lang-card[lang="de"] .lang-name {
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
}
.cover-bi .lang-card .lang-sub {
  font-size: 16px; color: var(--grey);
  text-align: center;
  line-height: 1.5;
}
.cover-bi .lang-card[lang="de"] .lang-sub { font-family: 'Inter', sans-serif; }
.cover-bi .lang-card .start {
  background: var(--purple);
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cover-bi .lang-card[lang="de"] .start { font-family: 'Inter', sans-serif; }

.cover-bi .footbar {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.5px;
}
.cover-bi .footbar .url { color: var(--purple); font-weight: 700; }

/* ==================== Step page ==================== */
.step-page { display: flex; flex-direction: column; }
.step-page .header {
  background: var(--purple);
  color: white;
  padding: 10px 30px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.step-page[lang="de"] .header { flex-direction: row; }
.step-page .header img {
  height: 26px;
  width: auto;
  background: white;
  padding: 4px 10px;
  border-radius: 5px;
}
.step-page .header .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}
.step-page[lang="de"] .header .lang-toggle { font-family: 'Cairo', sans-serif; }

.step-page .body {
  flex: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 30px 40px;
  gap: 40px;
}
.step-page.lefty .body { flex-direction: row; }
.step-page[lang="de"] .body { flex-direction: row; }
.step-page[lang="de"].lefty .body { flex-direction: row-reverse; }

.step-page .caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-page .pill {
  display: inline-flex;
  align-self: flex-end;
  background: var(--purple);
  color: white;
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 17px; font-weight: 700;
}
.step-page[lang="de"] .pill { align-self: flex-start; font-family: 'Inter', sans-serif; }

.step-page h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-top: 4px;
  line-height: 1.2;
}
.step-page[lang="de"] h2 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.8px;
}

.step-page .accent {
  width: 100px; height: 4px; background: var(--purple);
  border-radius: 2px;
  margin-top: 8px;
  position: relative;
}
.step-page .accent::after {
  content: ''; position: absolute; right: -12px; top: -4px;
  width: 12px; height: 12px; background: var(--lavender); border-radius: 50%;
}
.step-page[lang="de"] .accent::after { right: auto; left: -12px; }

.step-page p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}
.step-page[lang="de"] p { font-family: 'Inter', sans-serif; line-height: 1.55; }
.step-page p strong { color: var(--purple-dark); font-weight: 700; }

.step-page .url-tag {
  display: inline-block;
  font-family: 'Inter', monospace;
  background: var(--lavender-light);
  color: var(--purple-dark);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  direction: ltr;
}
.step-page ol, .step-page ul {
  font-size: 18px;
  line-height: 1.9;
  padding-right: 30px;
  color: var(--ink);
}
.step-page[lang="de"] ol, .step-page[lang="de"] ul {
  font-family: 'Inter', sans-serif;
  padding-right: 0; padding-left: 30px;
}

.step-page .tip {
  background: var(--lavender-light);
  border-right: 4px solid var(--purple);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.6;
}
.step-page[lang="de"] .tip {
  font-family: 'Inter', sans-serif;
  border-right: none;
  border-left: 4px solid var(--purple);
}
.step-page .tip::before { content: '💡'; margin-left: 8px; }
.step-page[lang="de"] .tip::before { margin-left: 0; margin-right: 8px; }

.step-page .pagenum {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--grey);
}

/* ==================== Phone mockups ==================== */
.phone {
  position: relative;
  width: 280px;
  height: 575px;
  background: #1A1622;
  border-radius: 38px;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.phone.android { background: #0E1320; }
.phone .screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream-light);
  position: relative;
  display: flex; flex-direction: column;
}
.phone.ios .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 75px; height: 22px;
  background: #0A0710;
  border-radius: 12px;
  z-index: 10;
}
.phone.android .hole {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px;
  background: #06080F; border-radius: 50%;
  z-index: 10;
}

.statusbar {
  height: 34px; display: flex;
  align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-size: 11px; font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  direction: ltr;
}
.statusbar .icons { display: flex; gap: 4px; align-items: center; }
.statusbar svg { width: 13px; height: 10px; }

/* Browser chrome */
.browser-bar {
  flex-shrink: 0;
  padding: 6px 10px;
  background: #F2EFE6;
  display: flex; align-items: center; gap: 6px;
}
.browser-bar.chrome { background: #FFFFFF; border-bottom: 1px solid #E5E1F0; }
.browser-bar .pill {
  flex: 1;
  background: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 10px;
  color: var(--ink);
  display: flex; align-items: center; gap: 4px;
  direction: ltr;
}
.browser-bar.chrome .pill { background: #F1EFEC; }
.browser-bar .pill .lock { font-size: 9px; color: var(--grey); }
.browser-bar .menu-dots {
  width: 18px; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.browser-bar .menu-dots span {
  width: 3px; height: 3px; background: var(--ink); border-radius: 50%;
}

.scr {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Login screen — matches latest screenshots */
.scr-real-login {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 70%, #ECE6F5 100%);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scr-real-login .login-card {
  background: var(--cream-light);
  border-radius: 18px;
  padding: 16px 14px 12px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.scr-real-login .logo-img {
  display: block;
  height: 36px;
  width: auto;
  margin: 4px auto 6px;
}
.scr-real-login .sub-text {
  font-size: 11px;
  color: var(--grey);
  text-align: center;
  margin-bottom: 14px;
}
.scr-real-login[lang="de"] .sub-text { font-family: 'Inter', sans-serif; }

.scr-real-login .field { margin-bottom: 10px; }
.scr-real-login .field label {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.scr-real-login[dir="rtl"] .field label { text-align: right; }
.scr-real-login[lang="de"] .field label { text-align: left; font-family: 'Inter', sans-serif; }

.scr-real-login .input {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  background: white;
  font-size: 11px;
  height: 30px;
  display: flex; align-items: center;
  justify-content: space-between;
  direction: ltr;
}
.scr-real-login[dir="rtl"] .input.password { direction: rtl; }
.scr-real-login[lang="de"] .input.password { direction: ltr; flex-direction: row-reverse; }
.scr-real-login .input.password .show {
  color: var(--grey);
  font-size: 10px;
}
.scr-real-login[lang="de"] .input.password .show { font-family: 'Inter', sans-serif; }

.scr-real-login .btn-login {
  width: 100%;
  padding: 10px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  margin-top: 8px;
  text-align: center;
  direction: ltr;
}
.scr-real-login[lang="de"] .btn-login { font-family: 'Inter', sans-serif; }

.scr-real-login .forgot {
  display: block;
  text-align: center;
  color: var(--purple);
  font-size: 11px;
  font-weight: 500;
  margin: 10px 0 8px;
}
.scr-real-login[lang="de"] .forgot { font-family: 'Inter', sans-serif; }
.scr-real-login .divider-line {
  border-top: 1px solid var(--light-grey);
  margin: 4px 0 6px;
}
.scr-real-login .lang-link {
  text-align: center;
  font-size: 11px;
  color: var(--purple);
  padding: 4px 0 2px;
}

/* Forgot password modal — matches latest screenshots */
.dim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 15;
}
.forgot-modal {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--cream-light);
  border-radius: 14px 14px 0 0;
  padding: 18px 16px 22px;
  z-index: 25;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
}
.forgot-modal .close {
  position: absolute;
  top: 12px;
  font-size: 14px;
  color: var(--grey);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.forgot-modal[dir="rtl"] .close { left: 10px; }
.forgot-modal[dir="ltr"] .close { right: 10px; }
.forgot-modal h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.forgot-modal[dir="rtl"] h3 { text-align: right; padding-left: 26px; }
.forgot-modal[dir="ltr"] h3 {
  text-align: left;
  padding-right: 26px;
  font-family: 'Inter', sans-serif;
}
.forgot-modal .desc {
  font-size: 10.5px;
  color: var(--grey);
  line-height: 1.55;
  margin-bottom: 14px;
}
.forgot-modal[dir="rtl"] .desc { text-align: right; }
.forgot-modal[dir="ltr"] .desc { text-align: left; font-family: 'Inter', sans-serif; }

.forgot-modal .field { margin-bottom: 10px; }
.forgot-modal .field label {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.forgot-modal[dir="rtl"] .field label { text-align: right; }
.forgot-modal[dir="ltr"] .field label { text-align: left; font-family: 'Inter', sans-serif; }
.forgot-modal .input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
  font-size: 11px;
  height: 32px;
}
.forgot-modal .btn-send {
  width: 100%;
  padding: 10px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  margin-top: 4px;
  text-align: center;
  direction: ltr;
}
.forgot-modal[dir="ltr"] .btn-send { font-family: 'Inter', sans-serif; }

/* Email screen */
.scr-email { background: white; padding: 0; }
.scr-email .ehead {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--light-grey);
}
.scr-email .ehead .from {
  display: flex; align-items: center; gap: 10px;
}
.scr-email[dir="rtl"] .ehead .from { flex-direction: row-reverse; }
.scr-email[lang="de"] .ehead .from { flex-direction: row; }
.scr-email .ehead .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--light-grey);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.scr-email .ehead .avatar img { width: 110%; height: auto; }
.scr-email .ehead .info { flex: 1; }
.scr-email[dir="rtl"] .ehead .info { text-align: right; }
.scr-email[lang="de"] .ehead .info { text-align: left; font-family: 'Inter', sans-serif; }
.scr-email .ehead .info .name { font-size: 12px; font-weight: 700; color: var(--ink); }
.scr-email .ehead .info .addr { font-size: 9.5px; color: var(--grey); direction: ltr; }
.scr-email[dir="rtl"] .ehead .info .addr { text-align: right; }
.scr-email .ehead .info .time { font-size: 9.5px; color: var(--grey); margin-top: 2px; }

.scr-email .esubj {
  padding: 10px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--light-grey);
}
.scr-email[dir="rtl"] .esubj { text-align: right; }
.scr-email[lang="de"] .esubj { text-align: left; font-family: 'Inter', sans-serif; }
.scr-email .ebody {
  padding: 14px;
  font-size: 11px; line-height: 1.7;
  color: var(--ink);
}
.scr-email[dir="rtl"] .ebody { text-align: right; }
.scr-email[lang="de"] .ebody { text-align: left; font-family: 'Inter', sans-serif; }
.scr-email .ebody .reset-btn {
  display: block;
  background: var(--purple);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin: 14px 0;
  font-size: 12px; font-weight: 700;
}
.scr-email .ebody .small { font-size: 10px; color: var(--grey); margin-top: 8px; }

/* Reset password */
.scr-reset {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  padding: 16px;
}
.scr-reset .top-logo { display: block; height: 24px; margin: 0 auto 16px; }
.scr-reset h2 {
  font-size: 18px; font-weight: 700;
  color: var(--purple-dark);
  margin-top: 8px;
}
.scr-reset[dir="rtl"] h2 { text-align: right; }
.scr-reset[lang="de"] h2 { text-align: left; font-family: 'Inter', sans-serif; }
.scr-reset .desc {
  font-size: 11px; line-height: 1.6;
  color: var(--ink);
  margin-top: 6px; margin-bottom: 14px;
}
.scr-reset[dir="rtl"] .desc { text-align: right; }
.scr-reset[lang="de"] .desc { text-align: left; font-family: 'Inter', sans-serif; }
.scr-reset .field { margin-bottom: 12px; }
.scr-reset .field label {
  display: block;
  font-size: 11px; color: var(--ink);
  font-weight: 500; margin-bottom: 4px;
}
.scr-reset[dir="rtl"] .field label { text-align: right; }
.scr-reset[lang="de"] .field label { text-align: left; font-family: 'Inter', sans-serif; }

.scr-reset .input {
  width: 100%; padding: 10px;
  border: 1px solid #D9D5E5;
  border-radius: 7px;
  background: white;
  font-size: 12px;
  font-family: monospace;
  letter-spacing: 2px; direction: ltr;
}
.scr-reset .strength {
  height: 4px; background: var(--light-grey);
  border-radius: 2px; margin-top: 6px;
  overflow: hidden;
}
.scr-reset .strength::after {
  content: ''; display: block;
  width: 75%; height: 100%;
  background: var(--green);
}
.scr-reset .strength-label {
  font-size: 9px; color: var(--green);
  margin-top: 3px; font-weight: 600;
}
.scr-reset[dir="rtl"] .strength-label { text-align: right; }
.scr-reset[lang="de"] .strength-label { text-align: left; font-family: 'Inter', sans-serif; }
.scr-reset .btn {
  width: 100%; padding: 11px;
  background: var(--purple); color: white;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  font-family: 'Cairo', sans-serif;
  margin-top: 8px;
}
.scr-reset[lang="de"] .btn { font-family: 'Inter', sans-serif; }

/* Home / dashboard */
.scr-home { background: var(--cream-light); padding: 16px 14px; }
.scr-home .top-row {
  display: flex;
  justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.scr-home[dir="rtl"] .top-row { flex-direction: row-reverse; }
.scr-home[lang="de"] .top-row { flex-direction: row; }
.scr-home .greet {
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.scr-home[dir="rtl"] .greet { text-align: right; }
.scr-home[lang="de"] .greet { text-align: left; font-family: 'Inter', sans-serif; }
.scr-home .greet .name { color: var(--purple); }
.scr-home .home-logo { height: 22px; width: auto; }
.scr-home .date {
  font-size: 10px; color: var(--grey);
  margin-bottom: 14px;
}
.scr-home[dir="rtl"] .date { text-align: right; }
.scr-home[lang="de"] .date { text-align: left; font-family: 'Inter', sans-serif; }

.scr-home .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.scr-home .tile {
  background: white;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--light-grey);
  min-height: 80px;
}
.scr-home[dir="rtl"] .tile { text-align: right; }
.scr-home[lang="de"] .tile { text-align: left; font-family: 'Inter', sans-serif; }
.scr-home .tile .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
}
.scr-home[dir="rtl"] .tile .ico { margin-right: auto; }
.scr-home[lang="de"] .tile .ico { margin-left: auto; }
.scr-home .tile .ttl { font-size: 11px; font-weight: 700; color: var(--ink); }
.scr-home .tile .num { font-size: 18px; font-weight: 900; color: var(--purple); margin-top: 4px; }

/* iOS Safari Share sheet overlay */
.share-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(248,248,250,0.97);
  border-radius: 14px 14px 0 0;
  padding: 12px 12px 24px;
  z-index: 20;
}
.share-sheet .handle {
  width: 36px; height: 4px;
  background: #C8C5D6;
  border-radius: 2px;
  margin: 0 auto 12px;
}
.share-sheet .url-row {
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.share-sheet[dir="rtl"] .url-row { flex-direction: row-reverse; }
.share-sheet[dir="ltr"] .url-row { flex-direction: row; }
.share-sheet .url-row .thumb {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--light-grey);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.share-sheet .url-row .thumb img { width: 110%; height: auto; }
.share-sheet .url-row .info { flex: 1; }
.share-sheet[dir="rtl"] .url-row .info { text-align: right; }
.share-sheet[dir="ltr"] .url-row .info {
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.share-sheet .url-row .info .t { font-size: 11px; font-weight: 700; color: var(--ink); }
.share-sheet .url-row .info .u { font-size: 9px; color: var(--grey); direction: ltr; }
.share-sheet[dir="rtl"] .url-row .info .u { text-align: right; }

.share-sheet .icon-row {
  display: flex;
  gap: 8px;
  padding: 0 0 12px;
}
.share-sheet[dir="rtl"] .icon-row { flex-direction: row-reverse; }
.share-sheet[dir="ltr"] .icon-row { flex-direction: row; }
.share-sheet .icon-row .icon-tile {
  flex-shrink: 0;
  width: 56px; padding: 6px 4px;
  background: white;
  border-radius: 10px;
  text-align: center;
  font-size: 9px;
  color: var(--ink);
}
.share-sheet[lang="de"] .icon-row .icon-tile { font-family: 'Inter', sans-serif; }
.share-sheet .icon-row .icon-tile .ic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
  font-size: 16px;
}
.share-sheet .actions {
  background: white;
  border-radius: 10px;
}
.share-sheet .actions .action {
  display: flex;
  align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--light-grey);
  font-size: 12px;
  color: var(--ink);
}
.share-sheet[dir="rtl"] .actions .action { flex-direction: row-reverse; }
.share-sheet[dir="ltr"] .actions .action {
  flex-direction: row;
  font-family: 'Inter', sans-serif;
}
.share-sheet .actions .action:last-child { border-bottom: none; }
.share-sheet .actions .action.highlight {
  background: var(--lavender-light);
  font-weight: 700;
  color: var(--purple-dark);
  border: 2px solid var(--purple);
  border-radius: 10px;
}
.share-sheet .actions .action .ic {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* Chrome 3-dot menu */
.chrome-menu {
  position: absolute;
  top: 38px; right: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 6px 0;
  z-index: 30;
  min-width: 180px;
}
.chrome-menu[lang="de"] { font-family: 'Inter', sans-serif; }
.chrome-menu .item {
  display: flex;
  align-items: center; gap: 8px;
  padding: 8px 14px;
  font-size: 11px; color: var(--ink);
}
.chrome-menu[dir="rtl"] .item { flex-direction: row-reverse; }
.chrome-menu[dir="ltr"] .item { flex-direction: row; }
.chrome-menu .item.highlight {
  background: var(--lavender-light);
  color: var(--purple-dark);
  font-weight: 700;
  border: 2px solid var(--purple);
  margin: 2px 4px;
  border-radius: 6px;
}
.chrome-menu .item .ic { width: 16px; text-align: center; font-size: 13px; }

/* Annotation arrow / labels */
.annotation {
  position: absolute;
  background: var(--purple);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  z-index: 50;
  white-space: nowrap;
}
.annotation[lang="de"] { font-family: 'Inter', sans-serif; }
.annotation::after {
  content: '';
  position: absolute;
  border: 6px solid transparent;
}
.annotation.bottom::after {
  border-top-color: var(--purple);
  bottom: -12px; left: 50%; transform: translateX(-50%);
}
