/* v2 controls are Arial; only the digital/printed emergency card uses existing InterDownload. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.phone-card-view,.card-editor,.mobile-contact-details{font-family:Arial,Helvetica,sans-serif}.phone-card-view{scroll-margin-top:12px}.phone-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:12px 0 8px}.phone-card-view button,.card-editor summary,.mobile-contact-details summary{font:inherit;cursor:pointer}.phone-card-view button{min-height:44px;padding:9px 13px;border:1px solid #366f6c;border-radius:12px;background:white;color:#24504e;font-size:14px}.phone-hint{font-size:12px!important;line-height:1.4!important;color:#526362;margin:8px 0!important}.phone-stage{width:100%;aspect-ratio:85.6/54;position:relative;perspective:1300px;touch-action:pan-y;cursor:pointer;outline-offset:5px;user-select:none}.phone-stage:focus-visible{outline:3px solid #9b7425}.phone-flipper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-style:preserve-3d;transition:transform .55s ease}.phone-stage.is-flipped .phone-flipper{transform:translate(-50%,-50%) rotateY(180deg)}.phone-face{position:absolute;inset:0;width:100%;height:100%;max-width:none!important;margin:0!important;padding:0;background:transparent;backface-visibility:hidden;-webkit-backface-visibility:hidden}.phone-back{transform:rotateY(180deg)}.phone-card-scale{position:absolute;left:0;top:0;width:85.6mm;height:54mm;transform-origin:0 0;touch-action:pan-y}.phone-card-scale .rc-nkc{margin:0}
.phone-controls{display:flex;gap:6px;margin:12px 0 4px}.phone-controls button{flex:1;padding:8px 5px;font-size:12px}.phone-controls button[aria-pressed=true],#phone-expand,#phone-flip{background:#366f6c;color:white}.card-editor,.mobile-contact-details{margin-top:22px;border-top:1px solid #d4dfdd;padding-top:16px}.card-editor summary,.mobile-contact-details summary{font-weight:700;min-height:44px;line-height:1.5;color:#24504e}.card-editor p{font-size:14px}.print-instructions,.xp-rc .rc-nk,#checklist-print-status{display:none}.phone-legal{display:none;font-size:11px;color:#526362;margin-top:4px}.phone-legal a{padding:4px 0;display:inline-block}.phone-card-open{overflow:hidden}#phone-card-dialog{padding:0;border:0;margin:0;max-width:none;max-height:none;width:100%;height:100%;background:#f5f7f7;color:#132e2d}#phone-card-dialog::backdrop{background:#132e2d}.phone-expanded{display:flex;flex-direction:column;gap:5px;width:100%;height:100%;max-height:100dvh;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#f5f7f7}.phone-expanded .phone-toolbar{margin:0;flex-shrink:0}.phone-expanded .phone-stage{flex:1;min-height:0;aspect-ratio:auto}.phone-expanded .phone-controls{margin:4px 0;flex-shrink:0;max-width:650px;width:100%;align-self:center}.phone-expanded .phone-hint{margin:0!important;font-size:11px!important}.phone-expanded .phone-legal{display:block;text-align:center;flex-shrink:0}.checklist-tools{padding:16px;margin:20px 0;background:#e8f1f0;border:1px solid #cadbd9;border-radius:12px;font-family:Arial,Helvetica,sans-serif}.checklist-tools>div{display:flex;flex-direction:column;gap:7px}.checklist-tools [role=status]{font-size:15px}.checklist-tools progress{display:block;width:100%;height:12px;margin:12px 0;accent-color:#366f6c}.checklist-tools p{font-size:12px;line-height:1.5}.checklist-tools button{font:inherit;min-height:44px;background:white;border:1px solid #366f6c;border-radius:12px;padding:10px;color:#24504e;font-size:13px}.xp-rc .has-checklist .rc-list li::before{display:none}.xp-rc .has-checklist .rc-list li{display:flex;align-items:flex-start;gap:12px}.xp-rc .task-check{appearance:auto;accent-color:#366f6c;flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:1px 0 0;padding:0;cursor:pointer}.xp-rc .task-label{display:block;cursor:pointer;min-height:28px;line-height:1.45}.xp-rc .task-done{background:#f0f6f5}.xp-rc .task-done .task-label b{color:#366f6c}.xp-rc .task-done .task-label b::after{content:' ✓';speak:none}.xp-rc[data-mode=card] .rc-card{padding:22px 12px}

@media(prefers-reduced-motion:reduce){.phone-flipper{transition:none!important}html{scroll-behavior:auto!important}}
@media print{.phone-card-view,.card-editor,.mobile-contact-details,#phone-card-dialog,.checklist-tools{display:none!important}.xp-rc .rc-nk{display:flex!important}.print-instructions,#checklist-print-status{display:block!important}.print-instructions{font:9pt InterDownload,Arial,sans-serif}.xp-rc .task-check{width:3.8mm;height:3.8mm;flex-basis:3.8mm;min-height:0}.xp-rc .has-checklist .rc-list li{gap:3.2mm}.xp-rc .task-label{min-height:0}.xp-rc .task-done .task-label b::after{content:''}}

@media screen{.xp-rc .rc-nkwrap .rc-nk{display:none!important}}





/* Controls surround the approved card; the card itself uses original .rc-nkc CSS. */
@media(orientation:landscape){.phone-expanded{padding:8px;position:relative;max-width:none;margin:0}.phone-expanded .phone-stage{width:100%;height:100%;flex:1}.phone-expanded .phone-toolbar{position:absolute;right:6px;top:6px;z-index:2}.phone-expanded .phone-toolbar button{font-size:11px;padding:6px 8px;max-width:108px}.phone-expanded .phone-controls{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:106px;display:flex;flex-direction:column;gap:5px;margin:0;z-index:2}.phone-expanded .phone-controls button{font-size:11px;min-height:40px;padding:7px 5px}.phone-expanded #phone-orientation-hint{display:none}.phone-expanded #phone-flip-help{position:absolute;right:7px;bottom:9px;width:103px;font-size:10px!important;line-height:1.25!important;pointer-events:none}.phone-expanded .phone-legal{position:absolute;left:7px;bottom:8px;width:106px;font-size:10px;line-height:1.3;text-align:left}.phone-expanded .phone-legal a{padding:2px 0}}

.phone-card-scale,.phone-card-scale *{touch-action:pan-y}
@media(orientation:landscape){.phone-expanded .phone-stage{width:calc(100% - 116px);align-self:flex-start}.phone-expanded .phone-legal{left:auto;right:7px;bottom:8px}.phone-expanded #phone-flip-help{bottom:75px;font-size:0!important}.phone-expanded #phone-flip-help::after{content:"Tippen oder wischen Sie zum Wenden.";font-size:10px;line-height:1.3}}

@media(orientation:landscape){.phone-expanded #phone-flip-help{bottom:95px}}

/* Manual appearance only; no device preference detection. Cards and print stay light. */
:root { color-scheme:light; }
.header-tools{display:flex;flex-direction:column;align-items:flex-end;gap:0;flex-shrink:0}
.theme-toggle{display:flex;align-items:center;justify-content:center;gap:5px;min-width:104px;min-height:44px;padding:8px;border:0;border-radius:24px;background:transparent;color:#366f6c;touch-action:manipulation}
.theme-toggle svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-track{position:relative;display:block;width:40px;height:22px;border-radius:15px;background:#e8f1f0;border:1px solid #366f6c;flex-shrink:0}
.theme-thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#366f6c;transition:transform .15s ease}
.theme-toggle[aria-checked=true] .theme-thumb{transform:translateX(18px);background:#c8a24a}
.theme-toggle[aria-checked=true] .theme-track{background:#1d3b39;border-color:#b5cec5}
.theme-toggle[aria-checked=true]{color:#b5cec5}
.theme-toggle[aria-checked=true] .theme-moon{color:#c8a24a}
.theme-toggle[aria-checked=false] .theme-sun{color:#9b7425}
.app-header{gap:8px}.app-header>a{min-width:0}#network{max-width:148px;white-space:normal;text-align:right}
@media(max-width:360px){.app-header{padding:14px}.app-header a{font-size:18px;gap:8px}.app-header img{width:36px;height:36px}.header-tools{max-width:116px}}
@media(prefers-reduced-motion:reduce){.theme-thumb{transition:none}}
@media screen {

  html[data-theme="dark"] {
    color-scheme:dark;
    --dm-bg:#0c1a1a;
    --dm-surface:#132e2d;
    --dm-raised:#1d3b39;
    --dm-text:#e8f1ed;
    --dm-muted:#b5c9c3;
    --dm-sage:#b5cec5;
    --dm-gold:#c8a24a;
    --dm-line:#678b82;
    --dm-warn:#382f1b;
    --dm-danger:#3d2423;
    color:var(--dm-text); background:var(--dm-bg);
  }
  html[data-theme="dark"] body { background:var(--dm-bg); }
  html[data-theme="dark"] a { color:var(--dm-sage); }
  html[data-theme="dark"] .app-header, html[data-theme="dark"] .bottom-nav { background:var(--dm-surface); border-color:var(--dm-line); }
  html[data-theme="dark"] .app-header a { color:var(--dm-text); }
  html[data-theme="dark"] .app-header img { background:#f5f7f7; border-radius:9px; padding:5px; }
  html[data-theme="dark"] .app-header small, html[data-theme="dark"] .lead, html[data-theme="dark"] .muted, html[data-theme="dark"] .saved-section p, html[data-theme="dark"] footer, html[data-theme="dark"] .quiz-small, html[data-theme="dark"] .quiz-disclaimer, html[data-theme="dark"] .quiz-progress, html[data-theme="dark"] .quiz-source span, html[data-theme="dark"] .phone-hint, html[data-theme="dark"] .phone-legal, html[data-theme="dark"] .print-health-hint { color:var(--dm-muted); }
  html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .legal-links a, html[data-theme="dark"] .country-contact-notes a, html[data-theme="dark"] .quiz-source a, html[data-theme="dark"] #quiz-review a { color:var(--dm-sage); }
  html[data-theme="dark"] #network, html[data-theme="dark"] .tile-icon, html[data-theme="dark"] .install, html[data-theme="dark"] .quiz-bar { background:var(--dm-raised); color:var(--dm-sage); }
  html[data-theme="dark"] #network.offline { background:var(--dm-warn); color:#f0d698; }
  html[data-theme="dark"] .tiles button, html[data-theme="dark"] .tiles a, html[data-theme="dark"] .country-quiz { background:var(--dm-surface); color:var(--dm-text); border-color:var(--dm-line); box-shadow:none; }
  html[data-theme="dark"] .tiles button:first-child { background:var(--dm-raised); border-color:var(--dm-sage); color:var(--dm-text); }
  html[data-theme="dark"] .tiles button:first-child .tile-icon { background:var(--dm-sage); color:#132e2d; }
  html[data-theme="dark"] .saved, html[data-theme="dark"] .install button, html[data-theme="dark"] footer button, html[data-theme="dark"] .quiz-secondary, html[data-theme="dark"] .phone-card-view button, html[data-theme="dark"] .checklist-tools button {
    background:var(--dm-surface); color:var(--dm-sage); border-color:var(--dm-line);
  }
  html[data-theme="dark"] .bottom-nav button { background:transparent; color:var(--dm-muted); }
  html[data-theme="dark"] .bottom-nav button[aria-current=page] { background:var(--dm-raised); color:var(--dm-text); box-shadow:inset 0 -2px var(--dm-gold); }
  html[data-theme="dark"] .country-quiz select, html[data-theme="dark"] .quiz-option { background:var(--dm-bg); color:var(--dm-text); border-color:var(--dm-line); }
  html[data-theme="dark"] .quiz-primary { background:var(--dm-sage); color:#132e2d; border-color:var(--dm-sage); }
  html[data-theme="dark"] .quiz-notice, html[data-theme="dark"] .quiz-incorrect, html[data-theme="dark"] .contact-unconfirmed, html[data-theme="dark"] .card-health-notice {
    background:var(--dm-warn); color:#f0d698; border-color:var(--dm-gold);
  }
  html[data-theme="dark"] .quiz-option.quiz-right, html[data-theme="dark"] .quiz-feedback { background:var(--dm-raised); color:var(--dm-text); border-color:var(--dm-sage); }
  html[data-theme="dark"] .quiz-feedback.quiz-incorrect { background:var(--dm-warn); color:#f0d698; border-color:var(--dm-gold); }
  html[data-theme="dark"] .quiz-option.quiz-wrong { background:var(--dm-danger); color:#f3c5ba; border-color:#e39e8a; }
  html[data-theme="dark"] .quiz-bar span { background:var(--dm-sage); }
  html[data-theme="dark"] .quiz-disclaimer, html[data-theme="dark"] #quiz-review details, html[data-theme="dark"] .card-editor, html[data-theme="dark"] .mobile-contact-details { border-color:var(--dm-line); }
  html[data-theme="dark"] .xp-rc {
    --c-ink:var(--dm-text); --c-ink2:#d0dfd8; --c-muted:var(--dm-muted);
    --c-teal:var(--dm-sage); --c-teal-d:var(--dm-sage); --c-teal-l:var(--dm-raised);
    --c-acc:var(--dm-gold); --c-line:var(--dm-line); --c-dd:var(--dm-text);
    --c-red:#e39e8a; --c-red-l:var(--dm-danger);
    --c-amb:#f0d698; --c-amb-l:var(--dm-warn); --c-bg2:var(--dm-bg);
  }
  html[data-theme="dark"] .xp-rc .rc-card { background:var(--dm-surface); box-shadow:none; }
  html[data-theme="dark"] .xp-rc .rc-cta { background:linear-gradient(120deg,#0c1a1a,#132e2d); }
  html[data-theme="dark"] .xp-rc .rc-opt, html[data-theme="dark"] .xp-rc .rc-opt::before, html[data-theme="dark"] .xp-rc select, html[data-theme="dark"] .xp-rc input[type=text], html[data-theme="dark"] .xp-rc input[type=date], html[data-theme="dark"] .xp-rc input[type=tel], html[data-theme="dark"] .xp-rc .rc-fields textarea {
    background:var(--dm-bg); color:var(--dm-text); border-color:var(--dm-line); color-scheme:dark;
  }
  html[data-theme="dark"] .xp-rc .rc-opt[aria-pressed=true] { background:var(--dm-raised); border-color:var(--dm-sage); }
  html[data-theme="dark"] .xp-rc .rc-btn, html[data-theme="dark"] .xp-rc .rc-opt[aria-pressed=true]::before {
    background:var(--dm-sage); color:#132e2d; border-color:var(--dm-sage);
  }
  html[data-theme="dark"] .xp-rc .rc-btn.rc-gold { background:var(--dm-gold); color:#1b1607; border-color:var(--dm-gold); }
  html[data-theme="dark"] .xp-rc .rc-btn.rc-ghost { background:var(--dm-surface); color:var(--dm-sage); }
  html[data-theme="dark"] .xp-rc .rc-btn:hover { background:#d0dfd8; color:#132e2d; }
  html[data-theme="dark"] .xp-rc .rc-btn.rc-gold:hover { background:#d9b45c; color:#1b1607; }
  html[data-theme="dark"] .xp-rc .rc-opt:hover { background:var(--dm-raised); color:var(--dm-text); }
  html[data-theme="dark"] .xp-rc .rc-list li { border-color:var(--dm-line); }
  html[data-theme="dark"] .xp-rc .rc-list li::before { background:var(--dm-bg); }
  html[data-theme="dark"] .xp-rc .task-done { background:var(--dm-raised); }
  html[data-theme="dark"] .xp-rc .task-done .task-label b { color:var(--dm-sage); }
  html[data-theme="dark"] .xp-rc .task-check, html[data-theme="dark"] .xp-rc .rc-check input, html[data-theme="dark"] .checklist-tools progress { accent-color:var(--dm-sage); }
  html[data-theme="dark"] .checklist-tools { background:var(--dm-raised); border-color:var(--dm-line); }
  html[data-theme="dark"] .card-editor summary, html[data-theme="dark"] .mobile-contact-details summary { color:var(--dm-sage); }
  html[data-theme="dark"] .phone-controls button[aria-pressed=true], html[data-theme="dark"] #phone-expand, html[data-theme="dark"] #phone-flip {
    background:var(--dm-sage); color:#132e2d; border-color:var(--dm-sage);
  }
  html[data-theme="dark"] #phone-card-dialog, html[data-theme="dark"] .phone-expanded { background:var(--dm-bg); color:var(--dm-text); }
  html[data-theme="dark"] #date-error { color:#f3c5ba; }
  html[data-theme="dark"] button:focus-visible, html[data-theme="dark"] a:focus-visible, html[data-theme="dark"] input:focus-visible, html[data-theme="dark"] select:focus-visible, html[data-theme="dark"] textarea:focus-visible, html[data-theme="dark"] summary:focus-visible, html[data-theme="dark"] .xp-rc :is(button,a,select,input,textarea):focus-visible, html[data-theme="dark"] .phone-stage:focus-visible { outline:3px solid var(--dm-gold); outline-offset:3px; box-shadow:none; }
  html[data-theme="dark"] .download-card-design, html[data-theme="dark"] .xp-rc .rc-nkc { color-scheme:light; }

}

/* The colour-scheme meta must not change native print controls. */
@media print { :root { color-scheme:light; } }

/* v3.2 Reiseart privat */
.xp-rc .rc-check-sub{color:var(--c-muted);font-size:.92rem}
.xp-rc .rc-privat-extras{margin-top:18px}
.xp-rc .rc-privat-extras .rc-lbl{margin-bottom:0}

/* v3.3 Installationshinweis oben */
.install-top{margin:0 0 22px;padding:18px 16px 16px;border:2px solid #c8a24a;border-radius:16px;background:#fbf6e9;color:#132e2d;box-shadow:0 8px 24px -20px #132e2d;scroll-margin-top:16px}
.install-top:focus{outline:none}
.install-top-head{display:flex;gap:14px;align-items:flex-start}
.install-top-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#c8a24a;color:#1b1607}
.install-top-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.install-top h2{font-size:18px;margin:2px 0 6px}
.install-top-head p{margin:0;font-size:14px;line-height:1.45;color:#3d4f4e}
.install-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px}
.install-primary{min-height:48px;padding:12px 22px;border:1px solid #c8a24a;border-radius:24px;background:#c8a24a;color:#1b1607;font-weight:700;font-size:16px}
.install-primary:hover{background:#d9b45c}
.install-steps{margin-top:16px;padding:14px 16px;border-radius:12px;background:#fff;border:1px solid #e4d6b0}
.install-steps-title{margin:0 0 8px;font-weight:700;font-size:14px}
.install-steps ol{margin:0;padding-left:22px}
.install-steps li{font-size:14px;line-height:1.5;margin:0 0 8px}
.install-steps li:last-child{margin-bottom:0}
.install-steps small{display:block;font-size:12px;color:#526362}
.install-share{width:22px;height:22px;vertical-align:-5px;fill:none;stroke:#2a6ae0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.install-note{margin:10px 0 0;font-size:12px;line-height:1.45;color:#526362}
.install-top.install-highlight{animation:install-pulse 1.2s ease-out 2}
@keyframes install-pulse{0%{box-shadow:0 0 0 0 rgba(200,162,74,.75)}100%{box-shadow:0 0 0 14px rgba(200,162,74,0)}}
@media(prefers-reduced-motion:reduce){.install-top.install-highlight{animation:none;outline:3px solid #9b7425;outline-offset:3px}}
@media screen{
  html[data-theme="dark"] .install-top{background:var(--dm-surface);color:var(--dm-text);border-color:var(--dm-gold);box-shadow:none}
  html[data-theme="dark"] .install-top-head p{color:var(--dm-muted)}
  html[data-theme="dark"] .install-top-icon{background:var(--dm-gold);color:#1b1607}
  html[data-theme="dark"] .install-primary{background:var(--dm-gold);border-color:var(--dm-gold);color:#1b1607}
  html[data-theme="dark"] .install-primary:hover{background:#d9b45c}
  html[data-theme="dark"] .install-steps{background:var(--dm-bg);border-color:var(--dm-line)}
  html[data-theme="dark"] .install-steps small, html[data-theme="dark"] .install-note{color:var(--dm-muted)}
  html[data-theme="dark"] .install-share{stroke:#8fb8ff}
}
@media print{.install-top{display:none!important}}
