/* PRINTKE client portal. Change --accent to match your brand colour. */
:root {
  --accent: #ff6a00;
  --ink: #14161a;
  --muted: #5f6672;
  --line: #e2e4e9;
  --bg: #f5f5f2;
  --card: #ffffff;
  --error: #b3261e;
  --ok: #1d7a46;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: inherit; }
h1, h2 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }

.pk-top {
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px; flex-wrap: wrap;
}
.pk-brand { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: 0.02em; display: flex; }
.pk-brand img { height: 46px; width: auto; display: block; }
.pk-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.pk-nav a, .pk-linkbtn { text-decoration: none; color: var(--ink); }
.pk-nav a:hover, .pk-linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.pk-nav form { margin: 0; }
.pk-linkbtn { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.pk-nav a.pk-cta { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.pk-nav a.pk-cta:hover { text-decoration: none; background: #000; }

.pk-main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 40px 16px 56px; }
.pk-foot { text-align: center; font-size: 13px; color: var(--muted); padding: 20px 16px; border-top: 1px solid var(--line); background: #fff; }

.pk-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.pk-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 4px; background: var(--accent); margin-right: 10px; vertical-align: middle; }

.pk-auth { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: 48px; align-items: center; }
.pk-auth-side h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.pk-auth-side p { color: var(--muted); max-width: 40ch; }
.pk-points { list-style: none; padding: 0; margin: 20px 0 0; }
.pk-points li { padding: 6px 0 6px 26px; position: relative; }
.pk-points li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }

.pk-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.pk-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }

label { display: block; font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.pk-opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=password], textarea {
  width: 100%; font: inherit; color: inherit; background: #fff;
  border: 1.5px solid #c9ccd3; border-radius: 9px; padding: 11px 12px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--ink); }
input:disabled { background: #f0f0ee; color: var(--muted); }
.pk-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.pk-pw { position: relative; }
.pk-pw input { padding-right: 68px; }
.pk-show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; padding: 8px; }

.pk-btn {
  display: block; width: 100%; margin-top: 22px; padding: 14px 18px;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; cursor: pointer;
}
.pk-btn:hover { background: #000; }
.pk-btn-ghost { background: #fff; color: var(--ink); }
.pk-btn-ghost:hover { background: var(--ink); color: #fff; }
.pk-btn:focus-visible, .pk-show:focus-visible, a:focus-visible, .pk-linkbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.pk-small { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.pk-switch { font-size: 14px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.pk-switch a, .pk-small a { font-weight: 700; }

.pk-alert { border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 14px; border: 1px solid; }
.pk-alert-error { color: var(--error); background: #fdeeed; border-color: #f3c4c0; }
.pk-alert-ok { color: var(--ok); background: #e9f6ee; border-color: #bfe3cd; }
.pk-alert-info { color: var(--ink); background: #fff; border-color: var(--line); }
.pk-card .pk-alert { margin: 12px 0 0; }

.pk-dash-head { margin-bottom: 26px; }
.pk-dash-head h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; }
.pk-dash-head p:last-child { color: var(--muted); margin: 8px 0 0; }
.pk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.pk-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--accent); }
.pk-tile:hover { border-color: var(--ink); border-top-color: var(--ink); }
.pk-tile span { font-size: 13px; color: var(--muted); }
.pk-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }


/* My orders */
.pk-orders { margin-bottom: 20px; scroll-margin-top: 16px; }
.pk-lead { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.pk-lead strong { color: var(--ink); }
.pk-lead a { font-weight: 700; color: var(--ink); }
.pk-inline { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pk-inline input { flex: 1 1 240px; }
.pk-inline .pk-btn { width: auto; margin-top: 0; padding: 12px 22px; }
.pk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pk-table-wrap { overflow-x: auto; margin-top: 12px; }
.pk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pk-table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pk-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pk-table tr:last-child td { border-bottom: 0; }
.pk-table .pk-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff3e8; border: 1px solid #ffd6b5; color: #8a3b00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pk-track { font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
  .pk-table thead { display: none; }
  .pk-table, .pk-table tbody, .pk-table tr, .pk-table td { display: block; width: 100%; }
  .pk-table tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
  .pk-table td { border: 0; padding: 5px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .pk-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; }
  .pk-inline .pk-btn { width: 100%; }
  .pk-auth, .pk-cols { grid-template-columns: 1fr; gap: 24px; }
  .pk-main { padding-top: 24px; }
  .pk-top { padding: 10px 16px; }
  .pk-nav { gap: 14px; font-size: 12px; }
  .pk-card { padding: 22px 18px; }
}
