/* Identyfikacja MegaMocni: oryginalne logo, Archivo oraz niebieski i różowy. */
:root {
  --ink: #243b65;
  --teal: #2d50a0;
  --mint: #edf3fc;
  --cream: #f5f7fb;
  --coral: #f0918c;
  --line: #e1e7f0;
  --muted: #68758a;
  --shadow: 0 4px 20px #243b6505;
}
body { font-family: Archivo, Arial, sans-serif; color: #33425a; background: var(--cream); line-height: 1.6; }
h1, h2, h3 { font-family: Archivo, Arial, sans-serif; color: #233c6a; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; }
h1 { font-size: 36px; margin-bottom: 12px; }
h2 { font-size: 21px; }
p { color: #647187; }
.site-header { height: 95px; padding: 0 max(calc((100vw - 1174px) / 2), 28px); border-bottom: 1px solid var(--line); background: #fff; }
.brand { line-height: 1; }
.brand img { display: block; width: 185px; max-width: 46vw; height: auto; }
.header-note { padding: 9px 15px; border: 1px solid #e5eaf3; border-radius: 8px; color: #49628b; background: #f9fbff; font-size: 12px; font-weight: 500; }
.demo-bar { background: #fff5ef; border-bottom: 1px solid #f2e7dd; color: #896c55; padding: 8px 20px; font-size: 9px; letter-spacing: .8px; }
.dot { background: #d59d77; }
.container { padding-top: 40px; padding-bottom: 60px; }
.eyebrow { color: #6b7fa2; font-size: 10px; letter-spacing: 1.6px; margin-bottom: 11px; }
.page-intro { margin: 0 0 30px; }
.page-intro p { margin-bottom: 0; font-size: 14px; line-height: 1.8; max-width: 740px; }
.dashboard-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.dashboard-heading h1 { font-size: 32px; }
.form-heading { margin-bottom: 28px; }
.form-heading h1 { font-size: 36px; }
.form-overview { display: flex; list-style: none; flex-wrap: wrap; gap: 12px 30px; padding: 0; margin: 24px 0 0; }
.form-overview li { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 500; color: #64799b; }
.form-overview span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #2d50a0; background: #e7edf8; font-size: 10px; }
.form-layout { grid-template-columns: minmax(0, 790px) minmax(260px, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 30px; }
.section-title { padding-bottom: 21px; border-bottom: 1px solid #edf0f5; margin-bottom: 24px; gap: 14px; }
.section-title h2 { font-size: 20px; margin-bottom: 4px; font-weight: 600; }
.section-title p { font-size: 12px; color: #78859a; }
.number { border-radius: 10px; background: #edf3fc; color: #2d50a0; width: 40px; height: 40px; }
.side-card { border: 1px solid #dce5f4; border-top: 3px solid #f0918c; border-radius: 14px; background: #fff; padding: 26px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 23px; margin-bottom: 15px; }
.side-card p { font-size: 12px; line-height: 1.85; }
.side-card strong { font-size: 12px; font-weight: 600; color: #334f7c; }
.side-card .eyebrow { font-size: 9px; }
.side-card .text-link { display: inline-block; margin-bottom: 16px; }
.divider { border-top-color: #e7ecf4; margin: 22px 0; }
label { color: #40516d; font-size: 12px; font-weight: 500; }
input:not([type=checkbox]), select, textarea { border-color: #dce3ee; background: #fcfdff; color: #33425a; font-size: 13px; font-weight: 400; padding: 12px 13px; border-radius: 8px; min-height: 46px; }
input:not([type=checkbox]):hover, select:hover, textarea:hover { border-color: #b8c9e5; }
input:focus, select:focus, textarea:focus { border-color: #2d50a0; outline: 3px solid #e6edfb; background: #fff; }
select[multiple] { padding: 7px; min-height: 206px; }
select[multiple] option { padding: 7px 10px; }
.check { color: #59677e; font-size: 12px; line-height: 1.75; }
.check input { accent-color: #2d50a0; }
.required { color: #bd625d; }
.button { font-family: Archivo, Arial, sans-serif; background: #2d50a0; border-color: #2d50a0; border-radius: 9px; font-size: 12px; font-weight: 500; padding: 13px 21px; gap: 14px; }
.button:hover { background: #234486; border-color: #234486; }
.button.secondary { color: #49628b; border-color: #d8e1ef; background: #fff; }
.button.secondary:hover { background: #f0f4fb; border-color: #c0cee3; }
.button.small { padding: 9px 15px; font-size: 11px; }
.button:focus-visible { outline: 3px solid #f0918c; }
.text-link { color: #2d50a0; font-weight: 500; }
.stats { gap: 18px; margin-bottom: 26px; }
.stat { border: 1px solid var(--line); padding: 22px 24px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.stat small { font-size: 11px; color: #687c9d; }
.stat strong { font-size: 35px; line-height: 1.7; color: #2d50a0; font-weight: 600; }
.stat-caption { display: block; font-size: 9px; color: #8c98aa; }
.stat-alert { border-color: #ecc7c1; background: #fffbfa; }
.stat-alert strong { color: #aa5a53; }
.invite-banner { background: #fff; color: #233c6a; border: 1px solid var(--line); border-left: 3px solid #2d50a0; border-radius: 12px; padding: 23px 28px; margin-bottom: 26px; box-shadow: var(--shadow); }
.invite-banner h2 { color: #334f7c; font-size: 19px; font-weight: 600; }
.invite-banner p { color: #78859a; font-size: 12px; }
.invite-banner .button.light { background: #2d50a0; border-color: #2d50a0; color: #fff; }
.invite-banner .button.light:hover { background: #234486; }
.invite-banner select { min-width: 230px; }
.filters { margin: 25px 0; padding: 18px; border-radius: 10px; background: #f7f9fc; gap: 16px; }
.filters label { font-size: 11px; }
.filters select { background: #fff; }
.filters .button { min-height: 46px; }
.table-wrap { border: 1px solid #e7ecf3; border-radius: 9px; }
th { background: #f7f9fc; color: #6b7fa0; font-size: 10px; letter-spacing: .3px; padding: 14px 16px; }
td { padding: 20px 16px; border-bottom-color: #edf0f6; color: #5d6f8a; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcff; }
td strong { font-weight: 500; color: #304f7f; }
td small { font-size: 10px; color: #91a0b4; }
.badge { padding: 6px 11px; font-size: 9px; font-weight: 500; }
.data-grid dt { font-size: 11px; color: #8390a5; }
.data-grid dd { color: #33425a; }
.privacy, .reference { background: #f3f6fb; border: 1px solid #e7ecf5; }
.notice, .success-icon { background: #edf3fc; color: #2d50a0; }
.notice { border: 1px solid #dde7f7; }
.success h1 { font-size: 30px; }
.success p { font-size: 14px; }
.hero h1 { font-size: 50px; font-weight: 600; line-height: 1.2; letter-spacing: -1.5px; }
.lead { font-size: 16px; line-height: 1.85; }
.welcome-grid { gap: 65px; margin: 28px 0; }
.intro-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid #f0918c; border-radius: 16px; padding: 35px; }
.intro-card h2 { font-size: 26px; font-weight: 600; }
.steps li { border-top-color: #e7ecf3; padding: 22px 0; }
.steps li>span { color: #2d50a0; background: #edf3fc; border-color: #e2eaf7; }
.steps strong { font-weight: 500; color: #3b5785; }
.login { margin-top: 30px; padding: 36px; border-top: 3px solid #f0918c; }
.login h1 { font-size: 30px; }
.footer { color: #8b98ab; border-color: #e0e6f0; font-size: 10px; }
.facility-directory { border: 1px solid var(--line); border-radius: 8px; background: #f9fbff; padding: 14px 16px; }
.facility-directory summary { cursor: pointer; color: #2d50a0; font-size: 12px; font-weight: 500; }
.facility-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; padding-top: 20px; }
.facility-contacts strong { display: block; color: #40516d; font-size: 12px; }
.facility-contacts p { font-size: 11px; margin: 6px 0; }
.facility-contacts a { font-size: 12px; text-decoration: none; }
@media(max-width:960px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
  .side-card { padding: 22px; }
  .invite-banner { flex-direction: column; align-items: stretch; }
  .stat-caption { font-size: 10px; }
}
@media(max-width:700px) {
  .site-header { height: 84px; padding: 0 22px; }
  .brand img { width: 170px; max-width: 62vw; }
  .header-note { display: none; }
  .container { padding: 28px 18px 44px; }
  h1, .form-heading h1, .dashboard-heading h1 { font-size: 28px; letter-spacing: -.6px; }
  .page-intro p { font-size: 13px; }
  .dashboard-heading { gap: 12px; padding-bottom: 20px; }
  .dashboard-heading .button { padding: 8px 10px; }
  .form-overview { gap: 9px 14px; margin-top: 20px; }
  .form-overview li { font-size: 9px; }
  .form-overview span { width: 22px; height: 22px; font-size: 9px; }
  .form-layout, .welcome-grid { grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 23px 20px; border-radius: 12px; }
  .side-card { position: static; border-radius: 12px; }
  .stats { gap: 12px; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 30px; }
  .stat-caption { font-size: 9px; }
  .invite-banner { padding: 22px; border-radius: 12px; }
  .invite-banner select { min-width: 0; }
  .filters { padding: 15px; }
  .button { padding: 12px 17px; }
  .intro-card { border-radius: 12px; padding: 27px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 15px; }
  .login { padding: 27px 23px; }
}
