:root {
  --ink: #07101c;
  --ink-2: #0b1727;
  --ink-3: #102237;
  --text: #152234;
  --muted: #687487;
  --line: #dfe6e8;
  --surface: #ffffff;
  --surface-2: #f5f8f7;
  --mint: #66e3b4;
  --mint-dark: #1aaa77;
  --mint-soft: #dcf9ed;
  --red: #e35865;
  --red-soft: #fff0f2;
  --amber: #df9c31;
  --amber-soft: #fff7e6;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 10px 30px rgba(7, 16, 28, .07);
  --shadow: 0 24px 70px rgba(7, 16, 28, .13);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
code {
  padding: .13em .42em;
  border-radius: 6px;
  color: #0a694d;
  background: #e9faf3;
  font: 600 .9em ui-monospace, SFMono-Regular, Consolas, monospace;
}
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Shared navigation */
.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(7, 16, 28, .07);
  backdrop-filter: blur(16px);
}
.landing-body .site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 20px; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden;
  color: var(--ink); background: transparent; border-radius: 12px;
  font-size: 21px; font-weight: 950; box-shadow: 0 9px 25px rgba(44, 202, 145, .24);
}

.brand-logo { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.mock-side-logo { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.big-app-logo-wrap { padding: 0; overflow: hidden; background: transparent; }
.big-app-logo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.shield > img { width: 118px; height: 118px; display: block; object-fit: cover; border-radius: 30px; }
.phone-outline { overflow: hidden; padding: 6px; }
.phone-outline img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 11px; }

.main-nav { display: flex; align-items: center; gap: 28px; color: #344153; font-size: 14px; font-weight: 700; }
.main-nav > a:not(.button):hover { color: var(--mint-dark); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 25px; }

/* Buttons */
.button {
  min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--mint); box-shadow: 0 12px 32px rgba(49, 204, 148, .22); }
.button-primary:hover { background: #79e8bf; box-shadow: 0 15px 36px rgba(49, 204, 148, .3); }
.button-ghost { color: var(--ink); background: #fff; border-color: #d7dfe1; }
.button-ghost:hover { border-color: #aebbc0; box-shadow: var(--shadow-sm); }
.button-light { color: var(--ink); background: #fff; }
.button-danger { color: #a82d3a; background: var(--red-soft); border-color: #ffd3d8; }
.button-small { min-height: 38px; padding: 0 15px; border-radius: 10px; font-size: 13px; }
.button-large { min-height: 54px; padding: 0 25px; border-radius: 14px; }
.button-full { width: 100%; }
.text-link { display: inline-block; margin-top: 22px; color: var(--mint); font-weight: 800; }

/* Landing hero */
.hero {
  position: relative; overflow: hidden; min-height: 760px; padding: 150px 0 85px;
  background:
    radial-gradient(circle at 76% 34%, rgba(102, 227, 180, .18), transparent 31%),
    linear-gradient(180deg, #f7fbfa 0%, #fff 100%);
}
.hero::before {
  content: ""; position: absolute; width: 650px; height: 650px; right: -320px; top: -320px;
  border: 1px solid rgba(32, 177, 124, .15); border-radius: 50%; box-shadow: 0 0 0 100px rgba(102, 227, 180, .025), 0 0 0 200px rgba(102, 227, 180, .018);
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 60px; }
.pill {
  width: max-content; display: flex; align-items: center; gap: 9px; padding: 8px 13px;
  color: #2f5e50; background: #e6f9f1; border: 1px solid #cbf1e3; border-radius: 999px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-dark); box-shadow: 0 0 0 5px rgba(26, 170, 119, .11); }
.hero h1 { max-width: 650px; margin: 25px 0 22px; color: var(--ink); font-size: clamp(48px, 5.8vw, 76px); line-height: .99; letter-spacing: -.065em; }
.hero-lead { max-width: 610px; margin: 0; color: #536174; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: #637083; font-size: 12px; font-weight: 750; }
.trust-row span::first-letter { color: var(--mint-dark); }
.hero-visual { position: relative; min-height: 500px; }
.glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.glow-one { width: 290px; height: 290px; right: 80px; top: 40px; background: rgba(102, 227, 180, .28); }
.glow-two { width: 190px; height: 190px; left: 20px; bottom: 25px; background: rgba(177, 208, 255, .24); }
.browser-card {
  position: absolute; z-index: 2; top: 70px; left: 0; width: 82%; overflow: hidden;
  background: #fff; border: 1px solid rgba(7, 16, 28, .08); border-radius: 22px; box-shadow: 0 35px 90px rgba(7, 16, 28, .18); transform: rotate(-2deg);
}
.browser-top { height: 46px; display: flex; align-items: center; gap: 6px; padding: 0 16px; color: #8792a1; background: #f6f8f8; border-bottom: 1px solid #e6eaeb; font-size: 9px; }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #c4cccf; }
.browser-top span { width: 55%; margin-left: 12px; padding: 6px 10px; background: #fff; border-radius: 6px; }
.browser-body { min-height: 325px; display: grid; grid-template-columns: 64px 1fr; }
.mock-side { padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; color: var(--ink); background: var(--ink); }
.mock-side b { width: 29px; height: 29px; display: grid; place-items: center; background: var(--mint); border-radius: 9px; font-size: 13px; }
.mock-side span { width: 22px; height: 6px; border-radius: 99px; background: #26364a; }
.mock-main { padding: 28px; }
.mock-main > small { color: var(--mint-dark); font-weight: 900; letter-spacing: .1em; }
.mock-main h3 { margin: 5px 0 20px; color: var(--ink); font-size: 25px; }
.mock-stat { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; padding: 16px; background: #f3f8f6; border-radius: 14px; }
.mock-stat strong { color: var(--ink); font-size: 27px; }.mock-stat span { color: #788492; font-size: 10px; line-height: 1.4; }
.mock-rule { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 9px; padding: 13px 4px; border-bottom: 1px solid #edf0f1; font-size: 9px; }
.mock-rule b { color: #82909f; }.mock-rule strong { color: var(--ink); }.mock-rule em { padding: 5px 7px; color: #b43443; background: #fff0f2; border-radius: 6px; font-style: normal; font-weight: 800; }.mock-rule em.allow { color: #16835e; background: #e8f9f2; }
.phone-card {
  position: absolute; z-index: 3; right: 2px; bottom: 0; width: 215px; min-height: 405px; padding: 30px 18px 22px;
  display: flex; flex-direction: column; align-items: center; color: #fff; background: linear-gradient(150deg, #0e2035, #06101c);
  border: 7px solid #fff; border-radius: 35px; box-shadow: 0 30px 70px rgba(7, 16, 28, .26); transform: rotate(5deg);
}
.phone-speaker { width: 70px; height: 13px; margin: -26px 0 37px; background: #fff; border-radius: 0 0 10px 10px; }
.phone-card small { color: #96a5b5; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.caller-icon { width: 68px; height: 68px; margin: 27px 0 16px; display: grid; place-items: center; color: #fff; background: #24374b; border-radius: 50%; font-size: 28px; font-weight: 850; }
.phone-card strong { font-size: 13px; }.phone-card > span { margin-top: 5px; color: #8e9dae; font-size: 10px; }
.blocked-badge { margin-top: auto; padding: 11px 15px; color: #173d31; background: var(--mint); border-radius: 999px; font-size: 9px; font-weight: 900; }
.logo-strip { color: #8a949e; background: #fff; border-block: 1px solid #edf0f1; }
.logo-strip .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; font-weight: 850; letter-spacing: .14em; }

/* Landing sections */
.section { padding: 110px 0; }
.section-heading { max-width: 690px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section h2, .cta-section h2 { margin: 0; color: var(--ink); font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -.05em; }
.section-heading p, .section-copy { color: var(--muted); font-size: 17px; line-height: 1.75; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; min-height: 300px; padding: 31px; overflow: hidden; background: var(--surface-2); border: 1px solid #e7eceb; border-radius: var(--radius); }
.step-card.featured { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-12px); box-shadow: var(--shadow); }
.step-card.featured h3 { color: #fff; }.step-card.featured p { color: #aebbc9; }
.step-number { position: absolute; right: 23px; top: 21px; color: #c6cfce; font-size: 12px; font-weight: 900; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 16px; font-size: 22px; }
.step-card h3 { margin: 55px 0 12px; color: var(--ink); font-size: 22px; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.section-dark { color: #fff; background: var(--ink); }
.section-dark h2 { color: #fff; }.section-dark .section-copy { color: #9fabb9; }
.feature-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #233146; border: 1px solid #233146; }
.feature-grid article { min-height: 205px; padding: 29px; background: var(--ink); }
.feature-grid article:hover { background: #0b192a; }
.feature-grid article > span { color: var(--mint); font: 800 11px ui-monospace, monospace; }
.feature-grid h3 { margin: 38px 0 9px; color: #fff; font-size: 19px; }
.feature-grid p { margin: 0; color: #98a6b5; line-height: 1.6; font-size: 14px; }
.privacy-section { background: #f5f9f7; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.privacy-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.privacy-visual::before { content: ""; position: absolute; width: 370px; height: 370px; border: 1px dashed #a8d8c6; border-radius: 50%; }
.privacy-visual::after { content: ""; position: absolute; width: 280px; height: 280px; background: rgba(102, 227, 180, .17); border-radius: 50%; filter: blur(8px); }
.shield { position: relative; z-index: 2; width: 170px; height: 190px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 45% 45% 52% 52% / 28% 28% 62% 62%; font-size: 64px; font-weight: 950; box-shadow: 0 25px 60px rgba(34, 171, 120, .24); }
.shield span { position: absolute; right: 21px; bottom: 27px; width: 37px; height: 37px; display: grid; place-items: center; color: #fff; background: var(--ink); border: 5px solid var(--mint); border-radius: 50%; font-size: 15px; }
.data-chip { position: absolute; z-index: 3; padding: 11px 15px; background: #fff; border: 1px solid #dfe9e5; border-radius: 12px; box-shadow: var(--shadow-sm); color: #526071; font-size: 11px; font-weight: 800; }
.chip-a { left: 16px; top: 75px; }.chip-b { right: 5px; top: 120px; }.chip-c { left: 55px; bottom: 45px; }
.check-list { margin: 27px 0 0; padding: 0; display: grid; gap: 16px; list-style: none; }
.check-list li { position: relative; padding-left: 33px; color: #576577; line-height: 1.6; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; color: #0f6a4c; background: #dff7ed; border-radius: 50%; font-size: 11px; font-weight: 900; }
.check-list b { color: var(--ink); }
.faq-section { background: #fff; }
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 25px 3px; display: flex; justify-content: space-between; list-style: none; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-list summary::after { content: "+"; color: var(--mint-dark); font-size: 21px; }.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -5px 0 25px; color: var(--muted); line-height: 1.7; }
.cta-section { padding: 0 0 100px; }
.cta-card { min-height: 300px; padding: 55px 62px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; background: linear-gradient(125deg, #0b1b2e, #102e3b); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cta-card h2 { color: #fff; }.cta-card p { max-width: 620px; color: #aebbc9; font-size: 16px; }
.site-footer { padding: 65px 0 25px; color: #aeb8c5; background: #050b12; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }.footer-brand { color: #fff; }.footer-grid p { margin: 16px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; font-size: 13px; }.footer-links a:hover { color: var(--mint); }
.footer-bottom { margin-top: 45px; padding-top: 22px; border-top: 1px solid #172230; font-size: 11px; }

/* Auth */
.auth-body { min-height: 100vh; background: radial-gradient(circle at 20% 10%, rgba(102, 227, 180, .14), transparent 28%), var(--ink); }
.auth-shell { min-height: 100vh; padding: 42px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-brand { position: absolute; top: 32px; left: 38px; color: #fff; }.auth-brand .brand-mark { color: var(--ink); }
.auth-card { width: min(100%, 510px); padding: 42px; background: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.auth-shell-wide .auth-card { width: min(100%, 650px); }
.auth-heading { margin-bottom: 29px; }.auth-heading h1 { margin: 0 0 10px; color: var(--ink); font-size: 31px; letter-spacing: -.04em; }.auth-heading p { margin: 0; color: var(--muted); line-height: 1.6; }
.form-stack { display: grid; gap: 18px; }
.form-stack label:not(.checkbox-row), .form-stack > label { display: grid; gap: 8px; }
.form-stack label > span, .settings-strip label { color: #283648; font-size: 13px; font-weight: 800; }
.form-stack label em { color: #8d98a4; font-style: normal; font-weight: 500; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); background: #fbfcfc; border: 1px solid #d8e0e2; border-radius: 11px; outline: none; transition: border .15s, box-shadow .15s, background .15s;
}
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(49, 193, 141, .12); }
input:disabled { color: #8c97a4; background: #f1f4f4; }
.form-stack small { color: #8994a0; font-size: 11px; line-height: 1.5; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; color: #6b7785; font-size: 12px; line-height: 1.5; }
.checkbox-row input { width: 17px; min-height: 17px; margin-top: 2px; accent-color: var(--mint-dark); }.checkbox-row a { color: #087656; font-weight: 800; }
.auth-bottom { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e8edee; color: #7a8693; text-align: center; font-size: 13px; }.auth-bottom a { color: #087656; font-weight: 850; }
.auth-note { margin-top: 18px; color: #9aa8b6; font-size: 11px; }.centered-card { text-align: center; }.big-app-icon { width: 80px; height: 80px; margin: 0 auto 25px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 24px; font-size: 42px; font-weight: 950; }
.flash { margin-bottom: 18px; padding: 13px 15px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.flash-error { color: #963341; background: var(--red-soft); border-color: #ffd5da; }.flash-success { color: #126b4e; background: var(--mint-soft); border-color: #c4eedf; }.flash-info { color: #335b78; background: #edf6fc; border-color: #d5e9f5; }

/* Dashboard shell */
.dashboard-body { min-height: 100vh; background: #f1f5f4; }
.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 255px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 27px 20px; display: flex; flex-direction: column; color: #b4bfca; background: var(--ink); }
.sidebar-brand { margin: 0 8px 40px; color: #fff; }.sidebar-brand .brand-mark { width: 35px; height: 35px; font-size: 19px; }
.sidebar-nav { display: grid; gap: 7px; }.sidebar-nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 13px; border-radius: 11px; font-size: 13px; font-weight: 750; }
.sidebar-nav a span { width: 20px; color: #8090a2; text-align: center; font-size: 18px; }.sidebar-nav a:hover { color: #fff; background: #102136; }.sidebar-nav a.active { color: var(--ink); background: var(--mint); }.sidebar-nav a.active span { color: var(--ink); }
.sidebar-foot { margin-top: auto; padding: 18px 8px 2px; border-top: 1px solid #203044; }
.mini-user { display: flex; align-items: center; gap: 11px; }.mini-user > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 11px; font-weight: 900; }.mini-user div { min-width: 0; }.mini-user strong, .mini-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mini-user strong { color: #fff; font-size: 12px; }.mini-user small { max-width: 145px; margin-top: 3px; color: #74859a; font-size: 9px; }
.link-button { margin-top: 15px; padding: 0; color: #7f8fa1; background: none; border: 0; font-size: 11px; }.link-button:hover { color: #fff; }
.dashboard-main { min-width: 0; }
.dashboard-topbar { min-height: 105px; padding: 23px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.86); border-bottom: 1px solid #dfe6e5; backdrop-filter: blur(14px); }
.dashboard-topbar .eyebrow { margin: 0 0 4px; font-size: 9px; }.dashboard-topbar h1 { margin: 0; color: var(--ink); font-size: 25px; letter-spacing: -.035em; }
.mobile-menu { display: none; width: 40px; height: 40px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.dashboard-content { padding: 29px 34px 50px; }
.welcome-card { min-height: 132px; margin-bottom: 23px; padding: 27px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: linear-gradient(115deg, #0b1a2b, #0b3036); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.welcome-card strong { font-size: 19px; }.welcome-card p { margin: 8px 0 0; color: #9cabb9; font-size: 13px; }.status-dot { width: 9px; height: 9px; margin-right: 9px; display: inline-block; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 6px rgba(102,227,180,.1); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 21px; }
.stat-card { min-height: 140px; padding: 22px; background: #fff; border: 1px solid #e0e7e6; border-radius: 17px; box-shadow: 0 5px 20px rgba(7,16,28,.035); }.stat-card > span { display: block; color: #7c8895; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.stat-card strong { display: block; margin: 13px 0 8px; color: var(--ink); font-size: 34px; line-height: 1; }.stat-card small { color: #87939f; font-size: 10px; }.stat-card .status-text { color: var(--mint-dark); font-size: 27px; }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 21px; }
.panel { padding: 25px; background: #fff; border: 1px solid #e0e7e6; border-radius: var(--radius); box-shadow: 0 5px 22px rgba(7,16,28,.035); }
.panel-head { margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.panel-head .eyebrow { margin-bottom: 5px; font-size: 9px; }.panel-head h2 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.03em; }.panel-head p { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.panel-head > a:not(.button) { color: #18805f; font-size: 11px; font-weight: 850; }
.empty-state { padding: 28px 15px; text-align: center; }.empty-state.large { padding: 70px 20px; }.empty-state > span { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; color: #268b68; background: var(--mint-soft); border-radius: 15px; font-size: 22px; }.empty-state h3 { margin: 16px 0 7px; color: var(--ink); font-size: 16px; }.empty-state p { max-width: 500px; margin: 0 auto 18px; color: #87929e; font-size: 12px; line-height: 1.6; }
.rule-list { border-top: 1px solid #edf0f0; }.rule-list.compact { border-top: 0; }
.rule-row { min-height: 72px; padding: 13px 4px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #edf0f0; }.rule-row:last-child { border-bottom: 0; }.rule-row.disabled { opacity: .47; }
.rule-type-icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: #126f51; background: var(--mint-soft); border-radius: 11px; font-weight: 900; }.rule-main, .rule-row > div:nth-child(2) { min-width: 0; flex: 1; }.rule-main > div { display: flex; align-items: center; gap: 9px; }.rule-row strong { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; }.rule-row small { display: block; margin-top: 4px; color: #89949f; font-size: 9px; }
.badge { width: max-content; padding: 5px 8px; color: #687585; background: #eef2f2; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }.badge-block { color: #a53643; background: var(--red-soft); }.badge-silence { color: #94651e; background: var(--amber-soft); }.badge-allow { color: #147452; background: var(--mint-soft); }
.rule-actions { display: flex; align-items: center; gap: 4px; }.icon-button { width: 34px; height: 34px; display: grid; place-items: center; color: #467965; background: transparent; border: 0; border-radius: 9px; }.icon-button:hover { background: #edf6f2; }.icon-button.danger { color: #bb4652; }.icon-button.danger:hover { background: var(--red-soft); }
.device-placeholder { padding: 25px 5px 15px; text-align: center; }.phone-outline { width: 62px; height: 92px; margin: auto; display: grid; place-items: center; color: var(--ink); border: 3px solid #cbd6d8; border-radius: 16px; font-weight: 900; }.device-placeholder h3 { margin: 16px 0 7px; color: var(--ink); font-size: 15px; }.device-placeholder p { margin: 0 0 11px; color: #88939f; font-size: 11px; line-height: 1.5; }.device-placeholder a { color: #16805e; font-size: 11px; font-weight: 850; }
.device-list { display: grid; gap: 10px; }.device-row { padding: 12px; display: flex; align-items: center; gap: 11px; background: #f7f9f9; border-radius: 12px; }.device-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #126e50; background: var(--mint-soft); border-radius: 10px; }.device-row div { min-width: 0; flex: 1; }.device-row strong, .device-row small { display: block; }.device-row strong { color: var(--ink); font-size: 11px; }.device-row small { margin-top: 3px; color: #8a96a1; font-size: 8px; }.device-row i { width: 7px; height: 7px; background: var(--mint-dark); border-radius: 50%; }

/* Rules, devices, pair and profile */
.split-layout { display: grid; grid-template-columns: 350px 1fr; gap: 21px; align-items: start; }.sticky-form-panel { position: sticky; top: 25px; }
.rule-hint { margin-top: 20px; padding: 13px; color: #647282; background: #f3f7f6; border-radius: 11px; font-size: 10px; line-height: 1.6; }
.settings-strip { margin-bottom: 15px; padding: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; background: #f5f8f7; border-radius: 13px; }.settings-strip label { display: flex; align-items: center; gap: 9px; }.settings-strip select { width: auto; min-height: 36px; padding: 0 30px 0 10px; font-size: 11px; }
.toggle-label input { position: absolute; opacity: 0; pointer-events: none; }.toggle { position: relative; width: 36px; height: 21px; background: #bdc8ca; border-radius: 999px; transition: .2s; }.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }.toggle-label input:checked + .toggle { background: var(--mint-dark); }.toggle-label input:checked + .toggle::after { transform: translateX(15px); }
.devices-table { display: grid; gap: 13px; }.device-card { min-height: 110px; padding: 18px; display: flex; align-items: center; gap: 16px; background: #fbfcfc; border: 1px solid #e5eaea; border-radius: 15px; }.device-card.revoked { opacity: .55; }.device-avatar { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: #126e50; background: var(--mint-soft); border-radius: 14px; font-size: 21px; }.device-info { min-width: 0; flex: 1; }.device-info > div { display: flex; align-items: center; gap: 9px; }.device-info strong { color: var(--ink); }.device-info p { margin: 6px 0 5px; color: #647180; font-size: 11px; }.device-info small { color: #929da7; font-size: 9px; }
.pair-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 24px; align-items: start; }.pair-panel { text-align: center; }.pair-panel h2 { margin: 0 0 9px; color: var(--ink); font-size: 25px; }.pair-panel > p { margin: 0; color: #7b8794; font-size: 12px; }
.qr-frame { position: relative; width: min(100%, 330px); aspect-ratio: 1; margin: 28px auto 17px; padding: 18px; display: grid; place-items: center; background: #fff; border: 1px solid #e0e6e6; border-radius: 21px; box-shadow: 0 18px 50px rgba(7,16,28,.09); }.qr-frame #pair-qr { width: 100%; height: 100%; display: grid; place-items: center; color: #87939f; font-size: 11px; }.qr-frame svg { width: 100%; height: 100%; }
.qr-corners::before, .qr-corners::after, .qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 28px; height: 28px; border-color: var(--mint-dark); border-style: solid; }.qr-frame::before { left: 9px; top: 9px; border-width: 3px 0 0 3px; border-radius: 7px 0 0; }.qr-frame::after { right: 9px; top: 9px; border-width: 3px 3px 0 0; border-radius: 0 7px 0 0; }.qr-corners::before { left: 9px; bottom: 9px; border-width: 0 0 3px 3px; border-radius: 0 0 0 7px; }.qr-corners::after { right: 9px; bottom: 9px; border-width: 0 3px 3px 0; border-radius: 0 0 7px; }
.pair-code { margin: 0 auto 15px; }.pair-code span { display: block; color: #8a95a1; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.pair-code strong { display: block; margin-top: 5px; color: var(--ink); font: 850 22px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; }
.pair-status { margin: 0 0 16px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #667483; background: #f5f8f7; border-radius: 11px; font-size: 10px; font-weight: 750; }.pair-status i { width: 8px; height: 8px; background: #dcaa40; border-radius: 50%; animation: pulse 1.3s infinite; }.pair-status.success { color: #126e50; background: var(--mint-soft); }.pair-status.success i { background: var(--mint-dark); animation: none; }.pair-status.expired { color: #a23744; background: var(--red-soft); }.pair-status.expired i { background: var(--red); animation: none; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.pair-info { display: grid; gap: 12px; }.pair-info article { padding: 21px; display: flex; gap: 15px; background: #fff; border: 1px solid #e0e7e6; border-radius: 16px; }.pair-info article > span { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 11px; font-size: 12px; font-weight: 900; }.pair-info h3 { margin: 1px 0 5px; color: var(--ink); font-size: 14px; }.pair-info p { margin: 0; color: #7b8794; font-size: 11px; line-height: 1.55; }.security-note { padding: 20px; color: #aebac7; background: var(--ink); border-radius: 16px; }.security-note b { color: #fff; font-size: 13px; }.security-note p { margin: 7px 0 0; color: #9dabb9; font-size: 11px; line-height: 1.6; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }.danger-panel { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 25px; }.danger-panel h2 { margin: 0; color: var(--ink); }.danger-panel p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

/* Legal */
.legal-body { background: #f6f9f8; }.legal-main { max-width: 830px; padding-top: 85px; padding-bottom: 100px; }.legal-main h1 { margin: 0 0 25px; color: var(--ink); font-size: 52px; letter-spacing: -.05em; }.legal-main section { margin-top: 35px; }.legal-main h2 { color: var(--ink); font-size: 20px; }.legal-main p { color: #5e6c7c; line-height: 1.8; }.legal-warning { padding: 18px; color: #845e20; background: var(--amber-soft); border: 1px solid #f0ddb4; border-radius: 13px; line-height: 1.6; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }.hero h1 { font-size: 56px; }.phone-card { right: -5px; }.feature-layout { gap: 45px; }.dashboard-shell { grid-template-columns: 225px 1fr; }.split-layout { grid-template-columns: 310px 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }.main-nav { position: absolute; left: 20px; right: 20px; top: 72px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }.main-nav.open { display: flex; }.main-nav .button { width: 100%; }
  .hero { padding-top: 130px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.pill, .hero-lead { margin-inline: auto; }.hero-actions, .trust-row { justify-content: center; }.hero-visual { width: min(100%, 650px); margin: 10px auto 0; }.steps-grid { grid-template-columns: 1fr; }.step-card.featured { transform: none; }.feature-layout, .privacy-grid { grid-template-columns: 1fr; }.feature-layout { gap: 50px; }.privacy-visual { order: 2; }.dashboard-shell { display: block; }.sidebar { position: fixed; z-index: 80; left: -275px; width: 255px; transition: left .2s ease; box-shadow: var(--shadow); }.sidebar.open { left: 0; }.mobile-menu { display: grid; place-items: center; }.dashboard-topbar { justify-content: flex-start; }.dashboard-topbar > .button { margin-left: auto; }.dashboard-grid, .pair-layout, .profile-grid { grid-template-columns: 1fr; }.split-layout { grid-template-columns: 1fr; }.sticky-form-panel { position: static; }.danger-panel { grid-column: auto; }.stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }.nav-wrap { min-height: 70px; }.brand { font-size: 18px; }.brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .hero { min-height: auto; padding: 115px 0 60px; }.hero h1 { margin-top: 20px; font-size: 45px; }.hero-lead { font-size: 15px; }.hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }.trust-row { gap: 10px 16px; }.hero-visual { min-height: 410px; }.browser-card { top: 45px; width: 92%; }.browser-body { min-height: 260px; }.mock-main { padding: 20px; }.phone-card { width: 170px; min-height: 320px; border-width: 5px; border-radius: 28px; }.caller-icon { width: 54px; height: 54px; margin: 18px 0 12px; }.logo-strip .container { min-height: 100px; flex-wrap: wrap; justify-content: center; padding-block: 20px; }.section { padding: 75px 0; }.section h2, .cta-section h2 { font-size: 38px; }.feature-grid { grid-template-columns: 1fr; }.privacy-grid { gap: 35px; }.privacy-visual { min-height: 360px; }.privacy-visual::before { width: 300px; height: 300px; }.chip-a { left: 0; }.chip-b { right: 0; }.chip-c { left: 20px; }.cta-section { padding-bottom: 65px; }.cta-card { padding: 38px 25px; flex-direction: column; align-items: flex-start; }.cta-card .button { width: 100%; }.footer-grid { flex-direction: column; }.footer-links { flex-direction: column; align-items: flex-start; gap: 13px; }
  .auth-shell { padding: 95px 14px 30px; justify-content: flex-start; }.auth-brand { top: 25px; left: 22px; }.auth-card { padding: 27px 20px; border-radius: 19px; }.form-two { grid-template-columns: 1fr; }.auth-note { text-align: center; }
  .dashboard-topbar { min-height: 88px; padding: 18px 15px; }.dashboard-topbar h1 { max-width: 200px; font-size: 19px; }.dashboard-topbar > .button { display: none; }.dashboard-content { padding: 18px 14px 35px; }.welcome-card { padding: 22px; flex-direction: column; align-items: stretch; }.stats-grid { grid-template-columns: 1fr; }.stat-card { min-height: 115px; }.panel { padding: 18px; border-radius: 16px; }.panel-head { flex-direction: column; }.settings-strip { align-items: stretch; }.settings-strip label { justify-content: space-between; }.settings-strip .button { width: 100%; }.rule-row { align-items: flex-start; }.rule-main > div { align-items: flex-start; flex-direction: column; gap: 5px; }.device-card { align-items: flex-start; flex-wrap: wrap; }.device-card form { width: 100%; }.device-card form .button { width: 100%; }.pair-panel h2 { font-size: 22px; }.qr-frame { padding: 12px; }.profile-grid { gap: 15px; }.danger-panel { flex-direction: column; align-items: stretch; }.legal-main { padding-top: 55px; }.legal-main h1 { font-size: 40px; }
}

/* Legal pages and protected contact details */
.legal-meta {
  margin: -15px 0 28px;
  color: #87929f !important;
  font-size: 13px;
  font-weight: 700;
}
.legal-intro {
  margin: 0 0 42px;
  padding: 24px 26px;
  color: #345548;
  background: linear-gradient(135deg, #e9faf3, #f7fcfa);
  border: 1px solid #cfeee2;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(20, 106, 76, .06);
}
.legal-intro strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 17px; }
.legal-intro p { margin: 0; color: #526e64; }
.legal-main section {
  scroll-margin-top: 100px;
}
.legal-main section + section {
  padding-top: 7px;
  border-top: 1px solid #e3e9e7;
}
.legal-main h2 { margin-top: 28px; }
.legal-main a:not(.button):not(.brand) { color: #147f5b; text-decoration: underline; text-decoration-color: rgba(20,127,91,.3); text-underline-offset: 3px; }
.legal-main a:not(.button):not(.brand):hover { text-decoration-color: currentColor; }
.legal-main ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #5e6c7c;
  line-height: 1.8;
}
.legal-contact-card {
  margin: 20px 0 18px;
  padding: 21px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #dce5e2;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(7, 16, 28, .055);
}
.legal-contact-card.compact { margin-top: 13px; }
.legal-contact-card strong { color: var(--ink); }
.legal-contact-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.55; }
.legal-contact-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.email-reveal {
  min-width: 156px;
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe4dc;
  border-radius: 10px;
  color: #126f50;
  background: #ecfaf5;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.email-reveal:hover,
.email-reveal:focus-visible,
.email-reveal.is-revealed {
  transform: translateY(-1px);
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint-dark);
  outline: none;
}
.email-reveal.is-revealed { min-width: 190px; }
.managed-by-card {
  margin-top: 42px !important;
  padding: 24px !important;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #d5dee7;
  background: var(--ink);
  border: 0 !important;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(7,16,28,.16);
}
.managed-by-card h2 { margin: 0 0 7px; color: #fff; }
.managed-by-card p { margin: 0; color: #aebbc7; }
.managed-by-card a:not(.button) { color: var(--mint) !important; }
.managed-by-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 950;
}
@media (max-width: 650px) {
  .legal-contact-card { align-items: stretch; flex-direction: column; }
  .legal-contact-actions { align-items: stretch; flex-direction: column; }
  .legal-contact-actions > * { width: 100%; }
  .email-reveal, .email-reveal.is-revealed { width: 100%; min-width: 0; }
  .managed-by-card { flex-direction: column; }
}
.footer-bottom a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--mint-dark); }

.auth-inline-link { margin-top: -8px; text-align: right; }
.auth-inline-link a,
.auth-help-links a { color: #087656; font-size: 12px; font-weight: 800; }
.auth-help-links { margin-top: 18px; text-align: center; }
.auth-inline-link a:hover,
.auth-help-links a:hover { text-decoration: underline; }
/* Regelbearbeitung v4.6 */
.sticky-form-panel.is-editing { border-color: rgba(35, 180, 132, .48); box-shadow: 0 18px 46px rgba(25, 122, 91, .12); }
.editing-banner { margin: -3px 0 19px; padding: 12px 13px; display: flex; align-items: flex-start; gap: 10px; color: #1d5f4b; background: #eaf9f3; border: 1px solid #c8efdf; border-radius: 12px; }
.editing-banner > span { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; background: #ccf4e4; border-radius: 9px; font-weight: 900; }
.editing-banner div { display: grid; gap: 2px; }
.editing-banner strong { color: #124c3a; font-size: 12px; }
.editing-banner small { color: #5d786f; font-size: 10px; line-height: 1.45; }
.form-action-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.rule-row.being-edited { margin-inline: -8px; padding-inline: 12px; background: #f1fbf7; border-radius: 12px; }
.icon-button.edit { color: #167b5b; text-decoration: none; font-size: 18px; }
.icon-button.edit:hover { background: #e2f7ef; }
@media (max-width: 560px) { .form-action-row { grid-template-columns: 1fr; } .form-action-row .button { width: 100%; } }

/* CallCharlie-Bestätigungsdialog v4.7 */
body.modal-open { overflow: hidden; }
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}
.confirm-modal.is-open { opacity: 1; visibility: visible; }
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 21, .66);
  backdrop-filter: blur(7px);
}
.confirm-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(4, 12, 21, .32);
  transform: translateY(14px) scale(.975);
  transition: transform .18s ease;
}
.confirm-modal.is-open .confirm-modal__dialog { transform: translateY(0) scale(1); }
.confirm-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #687581;
  background: #f1f5f4;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
.confirm-modal__close:hover { color: var(--ink); background: #e6eeeb; }
.confirm-modal__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: #c6283e;
  background: #fff0f2;
  border: 1px solid #ffd4da;
  border-radius: 16px;
  font-size: 25px;
  font-weight: 900;
}
.confirm-modal__dialog h2 { margin: 6px 0 10px; font-size: 24px; }
.confirm-modal__dialog p { margin: 0; color: #65727e; line-height: 1.65; }
.confirm-modal__actions {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.confirm-modal__actions .button { width: 100%; }
.confirm-modal__submit { color: #fff; background: #d83449; border-color: #d83449; }
.confirm-modal__submit:hover { color: #fff; background: #bd263a; border-color: #bd263a; }
@media (max-width: 520px) {
  .confirm-modal { align-items: end; padding: 12px; }
  .confirm-modal__dialog { padding: 25px 20px 20px; border-radius: 22px; }
  .confirm-modal__actions { grid-template-columns: 1fr; }
  .confirm-modal__actions .button-ghost { order: 2; }
}

/* Statistics v4.9 */
.statistics-welcome { min-height: 112px; }
.statistics-summary-grid .stat-card-block strong { color: #c64252; }
.statistics-summary-grid .stat-card-silence strong { color: #a8701c; }
.statistics-summary-grid .stat-card-allow strong { color: #15805d; }
.statistics-dashboard-grid { grid-template-columns: 1.2fr .8fr; margin-bottom: 21px; }
.statistics-chart { height: 245px; padding: 18px 4px 0; display: grid; grid-template-columns: repeat(14, 1fr); align-items: end; gap: 8px; border-bottom: 1px solid #dfe7e6; }
.statistics-day { min-width: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 8px; align-items: end; }
.statistics-day-bars { min-height: 4px; height: 100%; display: flex; align-items: end; justify-content: center; gap: 2px; }
.statistics-day-bars i { width: 28%; min-height: 2px; border-radius: 5px 5px 2px 2px; }
.bar-block { background: #ff7185; }
.bar-silence { background: #ffc861; }
.bar-allow { background: #36c995; }
.statistics-day small { overflow: hidden; color: #8b97a2; font-size: 8px; text-align: center; white-space: nowrap; }
.statistics-legend { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 16px; color: #71808d; font-size: 10px; font-weight: 750; }
.statistics-legend span { display: inline-flex; align-items: center; gap: 6px; }
.statistics-legend i { width: 9px; height: 9px; border-radius: 3px; }
.statistics-rule-list { display: grid; gap: 4px; }
.statistics-rule-row { min-height: 61px; padding: 12px 2px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #edf0f0; }
.statistics-rule-row:last-child { border-bottom: 0; }
.statistics-rule-row > div { min-width: 0; flex: 1; }
.statistics-rule-row strong, .statistics-rule-row small { display: block; }
.statistics-rule-row strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.statistics-rule-row small { margin-top: 5px; color: #89949f; font-size: 9px; }
.statistics-rule-row > b { color: var(--ink); font-size: 20px; }
.statistics-device-panel { margin-top: 0; }
.statistics-device-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.statistics-device-list > div { min-height: 70px; padding: 13px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 3px 10px; background: #f7f9f9; border-radius: 13px; }
.statistics-device-list .device-icon { grid-row: 1 / 3; }
.statistics-device-list strong { color: var(--ink); font-size: 11px; }
.statistics-device-list small { grid-column: 2; color: #8a96a1; font-size: 8px; }
.statistics-device-list b { grid-column: 3; grid-row: 1 / 3; color: var(--ink); font-size: 21px; }
.dashboard-stat-preview { margin-bottom: 21px; }
.dashboard-stat-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dashboard-stat-preview-grid > div { padding: 15px; background: #f6f9f8; border-radius: 13px; }
.dashboard-stat-preview-grid span, .dashboard-stat-preview-grid strong { display: block; }
.dashboard-stat-preview-grid span { color: #7c8895; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dashboard-stat-preview-grid strong { margin-top: 8px; color: var(--ink); font-size: 25px; }
@media (max-width: 850px) {
  .statistics-dashboard-grid { grid-template-columns: 1fr; }
  .statistics-device-list { grid-template-columns: 1fr; }
  .statistics-chart { gap: 4px; }
}
@media (max-width: 560px) {
  .statistics-chart { height: 195px; gap: 2px; }
  .statistics-day small { font-size: 7px; transform: rotate(-45deg); transform-origin: center; }
  .dashboard-stat-preview-grid { grid-template-columns: 1fr; }
}

/* Language switcher – robustes natives Select, auf allen Seiten anklickbar. */
.language-switcher {
  position: fixed; right: 18px; bottom: 18px; z-index: 2147483000;
  margin: 0; pointer-events: auto; isolation: isolate;
}
.language-switcher__label {
  min-height: 44px; padding: 0 5px 0 13px; display: flex; align-items: center; gap: 7px;
  border: 1px solid rgba(7,16,28,.14); border-radius: 13px;
  background: rgba(255,255,255,.99); color: var(--ink); box-shadow: 0 12px 36px rgba(7,16,28,.18);
}
.language-switcher__select {
  min-width: 118px; height: 42px; padding: 0 27px 0 3px;
  border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 850; cursor: pointer;
}
.language-switcher__select:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; border-radius: 8px; }
.language-switcher__submit {
  width: 34px; height: 34px; margin-left: 0; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: var(--mint); color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 950; cursor: pointer;
}
.language-switcher__submit:hover { background: #79e8bf; }
.language-switcher__submit:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 720px) {
  .language-switcher { right: 10px; bottom: 10px; }
  .language-switcher__label { min-height: 40px; }
  .language-switcher__select { height: 38px; min-width: 108px; }
}

.legal-language-note {
  margin: 16px 0 24px;
  padding: 13px 15px;
  color: #3b5661;
  background: #eef8f4;
  border: 1px solid #cdebe0;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}
