.customer-shell{max-width:1180px;margin:auto;padding-top:calc(var(--header-offset) + 2rem);padding-bottom:4rem}.customer-heading{margin-bottom:2rem}.customer-heading h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.2}.customer-heading p,.customer-card p{color:var(--muted)}.customer-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:1.5rem}.customer-sidebar{display:flex;flex-direction:column;gap:.3rem;align-self:start;position:sticky;top:calc(var(--header-offset) + 1rem)}.customer-sidebar a,.customer-logout{padding:.85rem 1rem;border-radius:12px;color:var(--text);text-decoration:none}.customer-sidebar a[aria-current=page]{background:var(--accent-soft);border-left:3px solid var(--accent)}.customer-logout{background:none;border:1px solid var(--line);font:inherit;cursor:pointer;width:100%;margin-top:.7rem}.customer-card{padding:clamp(1.1rem,3vw,2rem);background:var(--panel-strong);border:1px solid var(--line);border-radius:20px;margin-bottom:1.3rem;min-width:0}.customer-card h2{margin-top:0;font-size:1.45rem}.customer-card h3{font-size:1.1rem}.customer-auth-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:1.5rem}.customer-auth{max-width:620px;margin:auto}.customer-form{display:grid;gap:1.1rem}.customer-form label{display:grid;gap:.45rem;font-size:.95rem}.customer-form input:not([type=checkbox]){width:100%;min-width:0;padding:.85rem;border:1px solid var(--line);border-radius:10px;background:#08131d;color:var(--text);font:inherit}.customer-form .customer-check{display:flex;align-items:flex-start;gap:.7rem}.customer-check input{width:19px;height:19px;flex-shrink:0;margin-top:3px}.customer-form .button{width:fit-content;max-width:100%;white-space:normal;text-align:center}.customer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-message{padding:1rem 1.25rem;border:1px solid #568b77;background:#112b25;border-radius:12px;margin-bottom:1.5rem;overflow-wrap:anywhere}.customer-error{background:#341619;border-color:#af5656}.customer-links{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.3rem}.customer-card a:not(.button):not(.customer-order-row){color:var(--ice)}.customer-order-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none;overflow-wrap:anywhere}.customer-order-row small,.customer-book small,.customer-timeline small{display:block;color:var(--muted);font-size:.8rem;margin:.3rem 0}.customer-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.3rem 0}.customer-status-grid>div{background:#101f2c;padding:1rem;border-radius:12px}.customer-status-grid small{display:block;color:var(--muted);margin-bottom:.35rem}.customer-totals{display:grid;grid-template-columns:1fr auto;gap:.6rem}.customer-totals dd{margin:0;text-align:right}.customer-book{padding:1rem 0;border-bottom:1px solid var(--line)}.customer-timeline{padding-left:1.3rem}.customer-timeline li{padding:.3rem 0}.customer-mobile-link{display:none}.nav .customer-nav-link{white-space:nowrap;font-size:.85rem}.customer-card input:focus-visible,.customer-sidebar a:focus-visible{outline:2px solid var(--ice);outline-offset:3px}.customer-intro{background:linear-gradient(145deg,#132837,#0a151e)}
@media(max-width:900px){.customer-layout{grid-template-columns:1fr}.customer-sidebar{position:static;flex-direction:row;flex-wrap:wrap;gap:.3rem}.customer-sidebar a{padding:.6rem .8rem}.customer-sidebar form{margin:0}.customer-logout{margin:0;padding:.6rem .8rem}.customer-auth-grid{grid-template-columns:1fr}.customer-status-grid{grid-template-columns:1fr}.customer-order-row{flex-wrap:wrap}.customer-fields{grid-template-columns:1fr}.customer-shell{padding-left:1rem;padding-right:1rem}}
@media(max-width:900px){.customer-mobile-link{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;color:var(--text);text-decoration:none}.customer-mobile-link svg{width:22px;height:22px}.site-header{gap:.5rem}}
@media(max-width:420px){.site-header .customer-mobile-link{width:28px}.customer-heading h1{font-size:1.8rem}}

/* Akcje formularza nie rozciagaja sie do wysokosci sasiedniego pola. */
.customer-form .button {
  justify-self: start;
  align-self: start;
  min-height: 44px;
  padding: .8rem 1.2rem;
}
.customer-fields > .button {
  grid-column: 1 / -1;
  margin-top: .25rem;
}
.customer-links {
  gap: .65rem;
}
.customer-links > a,
.customer-card > a:not(.button):not(.customer-order-row),
.customer-book a:not(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(167, 216, 255, .045);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 160ms ease, border-color 160ms ease;
}
.customer-links > a:hover,
.customer-card > a:not(.button):not(.customer-order-row):hover,
.customer-book a:not(.button):hover {
  background: rgba(167, 216, 255, .1);
  border-color: rgba(167, 216, 255, .38);
  color: #fff;
}
.customer-card a:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}
.customer-check a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.customer-card > a + h2 { margin-top: 1.25rem; }
