﻿:root {
  --sky: #90d5ff;
  --blue: #57b9ff;
  --mist: #77b1d4;
  --slate: #517891;
  --ink: #223d50;
  --muted: #526d7e;
  --line: #c9dce8;
  --paper: #f3f8fc;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-underline-offset: 3px; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.site-header { max-width: 1280px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 40px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; font-size: 27px; font-weight: 650; letter-spacing: -1.4px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; margin-right: 11px; border-radius: 13px 13px 13px 3px; background: var(--sky); color: var(--ink); font-size: 26px; }
.brand-mark svg { display: block; width: 25px; height: 25px; }
.brand-dot { color: var(--slate); }
.header-note { font-size: 12px; color: var(--muted); }
.language-settings { max-width: 230px; font-size: 10px; text-align: right; color: var(--muted); }
.language-settings p { margin: 7px 0 2px; line-height: 1.5; }
.language-settings a { color: #365b73; }
.language-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0; font-size: 10px; font-weight: 600; }
.language-control select { width: auto; padding: 6px 10px; background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
main { max-width: 1280px; margin: 58px auto 72px; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; min-height: 660px; }
.intro { position: relative; align-self: start; min-width: 0; margin-top: 86px; padding: 0 0 40px; }
.intro::before { content: ""; display: block; width: 54px; height: 5px; border-radius: 10px; background: var(--blue); margin-bottom: 28px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.9px; color: #486c83; margin: 0 0 26px; }
h1 { font-size: clamp(47px, 5.2vw, 70px); line-height: 1.1; font-weight: 550; letter-spacing: -3.4px; margin: 0 0 27px; }
h1 em { font-style: italic; font-family: Georgia, serif; font-weight: 400; letter-spacing: -2.7px; color: var(--slate); }
html[lang="pl"] h1 { font-size: clamp(43px, 4.6vw, 63px); letter-spacing: -2.7px; }
.intro-copy { font-size: 15px; line-height: 1.9; margin: 0; color: var(--muted); }
.assurance { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #45677c; margin-top: 34px; }
.assurance span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #dcefff; color: var(--ink); font-size: 18px; }
.workspace { min-width: 0; }
.card { padding: 34px; background: white; border: 1px solid #c4d8e5; border-top: 4px solid var(--mist); border-radius: 18px; box-shadow: 0 12px 32px #34536d09; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 29px; padding-bottom: 18px; border-bottom: 1px solid #e2edf4; }
.step { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #486e86; }
.private-label { font-size: 10px; color: var(--muted); }
.status-pill { font-size: 10px; font-weight: 600; background: #e5f4ff; color: #345b73; border-radius: 20px; padding: 5px 9px; }
h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.8px; font-weight: 600; margin: 12px 0; }
/* Screen headings receive focus for announcements, not keyboard interaction. */
.card h2[tabindex="-1"]:focus { outline: none; }
.card-copy { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0 0 25px; }
label { display: block; font-size: 12px; font-weight: 600; margin: 20px 0 9px; }
textarea, input, select { width: 100%; border: 1px solid #b9cfdd; border-radius: 9px; padding: 14px; color: var(--ink); background: #f9fcfe; font-size: 13px; line-height: 1.7; }
textarea { resize: vertical; min-height: 195px; }
textarea::placeholder { color: #617b8b; }
textarea:focus, input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--slate); }
.input-footer { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); margin: 8px 0 23px; }
.over-limit { color: #a32c3a; font-weight: 700; }
.primary { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; gap: 15px; min-height: 52px; padding: 14px 48px; margin-top: 20px; border: 1px solid #46a6ed; border-radius: 9px; background: var(--blue); color: #12344d; font-size: 13px; font-weight: 650; transition: background .15s, box-shadow .15s; }
.primary span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; }
.primary:hover { background: var(--sky); box-shadow: 0 3px 10px #5178911a; }
.primary:disabled { background: #e3eef5; color: #5d7585; border-color: #c2d6e3; box-shadow: none; cursor: not-allowed; }
.card-footnote { font-size: 10px; text-align: center; color: var(--muted); margin: 18px 0 0; }
.retention-note { font-size:11px; text-align:center; margin:14px 0 0; }
.callout { padding: 15px 16px; border-left: 3px solid var(--mist); border-radius: 0 9px 9px 0; background: #edf6fc; color: #456276; font-size: 12px; line-height: 1.8; margin: 20px 0; }
.secondary { width: 100%; padding: 13px; background: white; border: 1px solid #b9cfdd; border-radius: 9px; font-size: 12px; font-weight: 550; color: #35576d; }
.secondary:hover { background: #e9f5fd; }
.button-link { text-decoration: none; }
#copy-message { margin-bottom: 12px; justify-content: center; }
.destroy-help { margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.secondary.danger { color: #963341; border-color: #c58b94; }
.secondary.danger:hover { background: #fff2f4; }
.secondary:disabled { opacity: .6; cursor: wait; }
pre { padding: 20px; background: #f0f7fc; border: 1px solid #c1d9e8; border-radius: 9px; font: 13px/1.8 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 380px; overflow: auto; }
#feedback { margin:0 0 18px; padding:16px 20px; border:1px solid var(--line); border-radius:12px; background:#e7f3ff; font-size:14px; line-height:1.6; color:#335c75; overflow-wrap:anywhere; }
#feedback:empty { display:none; }
#feedback.error { color:#8b2030; background:#fff0f2; border-color:#e1a3ad; border-left:5px solid #a32c3a; font-weight:600; }
#lifetime-options { margin: 22px 0; font-size: 12px; color: #365c74; }
#lifetime-options summary, .privacy-details summary { cursor: pointer; }
.checkbox-label { display: flex; align-items: center; gap: 9px; }
.checkbox-label input { width: auto; accent-color: var(--slate); }
.privacy-details { margin-top: 18px; padding: 17px 20px; border: 1px solid #c4d8e5; border-radius: 12px; font-size: 12px; background: #ffffffb8; }
.privacy-details[open] { background: white; }
.privacy-details summary { font-weight: 550; color: #355a72; }
.privacy-details summary::marker { color: var(--slate); }
.privacy-content { line-height: 1.85; overflow-wrap: anywhere; color: #496578; }
.privacy-content h3 { color: var(--ink); font-size: 13px; margin: 23px 0 7px; }
.privacy-content p { margin: 7px 0 15px; }
#transport-status { border-left: 3px solid var(--mist); padding: 12px; background: #e8f5ff; color: #294f69; }
.cookie-facts { margin: 16px 0; }
.cookie-facts dt { font-weight: 650; color: var(--ink); margin-top: 12px; }
.cookie-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
#cookie-policy { scroll-margin-top: 20px; }
button:focus-visible, a:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid #517891; outline-offset: 4px; }
footer { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); padding: 24px 0 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; color: var(--muted); }
.footer-detail { font-size: 9px; letter-spacing: 1.4px; color: #466b82; }
@media (max-width: 1100px) and (min-width: 801px) {
  main { gap: 36px; padding: 0 28px; }
  .intro { margin-top: 75px; }
  h1 { font-size: 53px; letter-spacing: -2.5px; }
  html[lang="pl"] h1 { font-size: 47px; }
  .card { padding: 26px; }
  .header-note { display: none; }
  footer { margin: 0 28px; }
}
@media (max-width: 800px) {
  .site-header { padding: 22px 20px; gap: 16px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 34px; height: 34px; font-size: 24px; margin-right: 8px; }
  .header-note { display: none; }
  .language-settings { max-width: 150px; font-size: 9px; }
  .language-control { font-size: 10px; gap: 7px; }
  .language-control select { max-width: 90px; padding: 5px 8px; }
  main { max-width: 600px; margin: 30px auto 44px; padding: 0 20px; grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .intro { margin-top: 0; padding: 6px 5px 10px; }
  .intro::before { margin-bottom: 21px; width: 40px; height: 4px; }
  .eyebrow { margin-bottom: 24px; font-size: 9px; letter-spacing: 1.2px; }
  h1 { font-size: clamp(46px, 11vw, 65px); letter-spacing: -2.5px; margin-bottom: 24px; }
  html[lang="pl"] h1 { font-size: clamp(42px, 10vw, 59px); letter-spacing: -2px; }
  .intro-copy { font-size: 13px; }
  .assurance { margin-top: 25px; font-size: 10px; }
  .card { padding: 25px 22px; }
  .card-heading { margin-bottom: 24px; }
  h2 { font-size: 25px; }
  .card-copy { font-size: 12px; }
  .input-footer { font-size: 9px; }
  footer { margin: 0 20px; padding-top: 21px; flex-wrap: wrap; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.language-icon { width:18px; height:18px; flex-shrink:0; color:var(--slate); }
.admin-main { display:block; min-height:500px; }
.admin-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:32px; align-items:start; }
.admin-sidebar { position:sticky; top:24px; display:flex; flex-direction:column; gap:10px; padding:20px 16px; background:white; border:1px solid var(--line); border-radius:14px; }
.admin-sidebar .eyebrow { margin:0 0 12px; font-size:10px; }
.admin-sidebar button { margin:0; text-align:left; background:transparent; border:1px solid transparent; color:var(--slate); }
.admin-sidebar button[aria-current="page"] { background:#e2f1ff; border-color:var(--sky); color:var(--ink); font-weight:600; }
.admin-sidebar #admin-logout { margin-top:24px; border-color:var(--line); }
.admin-content { min-width:0; }
.admin-heading > button { width:auto; margin:0; }
@media(max-width:800px) { .admin-layout { grid-template-columns:1fr; gap:24px; } .admin-sidebar { position:static; flex-direction:row; flex-wrap:wrap; align-items:center; } .admin-sidebar .eyebrow { width:100%; margin:0; } .admin-sidebar button { width:auto; } .admin-sidebar #admin-logout { margin:0 0 0 auto; } }
.admin-login { max-width:460px; margin:30px auto; }
.admin-main h1, html[lang="pl"] .admin-main h1 { font-size:32px; letter-spacing:-1px; }
.admin-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.admin-heading h1 { margin-bottom:0; }
.admin-actions { display:flex; gap:12px; }
.admin-actions button { width:auto; }
.admin-statistics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.admin-statistics .card { padding:24px; }
.admin-statistics dt { font-size:13px; font-weight:600; }
.admin-statistics dd { margin:12px 0; font-size:42px; font-weight:600; }
.admin-statistics p { font-size:12px; color:var(--muted); }
.restriction-card { margin-top:24px; min-width:0; }
.restriction-scroll { overflow-x:auto; margin:20px 0; }
.restriction-table { width:100%; border-collapse:collapse; font-size:12px; text-align:left; }
.restriction-table th, .restriction-table td { padding:12px 10px; border-bottom:1px solid var(--line); }
.restriction-table td:first-child { overflow-wrap:anywhere; min-width:120px; }
.restriction-card .admin-actions { align-items:center; justify-content:space-between; }
#admin-feedback { font-size:13px; color:var(--slate); }
#admin-feedback.error { color:#a32c3a; }
@media(max-width:800px) { .admin-statistics {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;} .admin-heading {align-items:flex-start;flex-direction:column;} .admin-statistics .card {padding:16px;} }
@media(max-width:420px) { .admin-statistics {grid-template-columns:1fr;} }
