/* 2026-11-25 GA "Partner role - deal registration portal" - self-contained stylesheet (the portal's CSP allows no inline styles or scripts). */
:root { --pt-navy: #0f2a4a; --pt-blue: #0f62fe; --pt-bg: #f4f6f9; --pt-line: #dde3ea; --pt-text: #1f2937; --pt-muted: #64748b; --pt-ok: #0e7a43; --pt-warn: #b45309; --pt-bad: #b91c1c; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: var(--pt-text); background: var(--pt-bg); line-height: 1.45; }
a { color: var(--pt-blue); }
.pt-header { background: #d9dce1; color: #1d1d1b; border-bottom: 1px solid #bfc4cb; min-height: 60px; padding: .4rem 1.25rem; display: flex; align-items: center; gap: .9rem; position: relative; z-index: 5; }
.pt-logo-link { display: inline-flex; }
.pt-logo { height: 30px; width: auto; display: block; }
.pt-brand { font-weight: 600; font-size: 1rem; padding-left: .9rem; border-left: 1px solid #aeb4bc; line-height: 1.2; }
.pt-brand small { display: block; font-weight: 400; font-size: .75rem; color: #4b5563; }
.pt-user { margin-left: auto; font-size: .85rem; }
.pt-shell { display: block; }
.pt-shell.pt-has-side { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.pt-side { background: #f1f2f4; border-right: 1px solid #bfc4cb; padding: .75rem 0; display: flex; flex-direction: column; }
.pt-side a, .pt-side button { display: flex; align-items: center; gap: .7rem; padding: .65rem 1.1rem; color: #1d1d1b; text-decoration: none; background: none; border: 0; border-left: 3px solid transparent; font: inherit; cursor: pointer; width: 100%; text-align: left; }
.pt-side a:hover, .pt-side a:focus, .pt-side button:hover, .pt-side button:focus { background: #e2e4e8; border-left-color: #aa1a1b; }
.pt-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-side-signout { margin: .75rem 0 0; padding-top: .5rem; border-top: 1px solid #d3d6db; }
.pt-content { min-width: 0; }
@media (max-width: 800px) {
  .pt-shell.pt-has-side { grid-template-columns: 56px minmax(0, 1fr); }
  .pt-side a, .pt-side button { justify-content: center; padding-left: 0; padding-right: 0; }
  .pt-side span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pt-brand { display: none; }
}
.pt-main { max-width: 1180px; margin: 1.25rem auto; padding: 0 1rem; }
.pt-narrow { max-width: 460px; margin: 3rem auto; padding: 0 1rem; }
.pt-card { background: #fff; border: 1px solid var(--pt-line); border-radius: 8px; padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.pt-card h1, .pt-card h2, .pt-main h1 { margin-top: 0; color: var(--pt-navy); }
.pt-main h1 { font-size: 1.5rem; }
.pt-card h2 { font-size: 1.1rem; }
.pt-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 1rem; }
.pt-kpi { background: #fff; border: 1px solid var(--pt-line); border-radius: 8px; padding: .9rem 1rem; }
.pt-kpi .pt-kpi-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pt-muted); }
.pt-kpi .pt-kpi-value { font-size: 1.6rem; font-weight: 600; color: var(--pt-navy); }
.pt-kpi .pt-kpi-sub { font-size: .8rem; color: var(--pt-muted); }
.pt-two { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
label { display: block; font-weight: 600; margin: .75rem 0 .25rem; font-size: .9rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea { width: 100%; padding: .55rem .6rem; border: 1px solid #b8c2cf; border-radius: 4px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus, button:focus, a:focus { outline: 2px solid var(--pt-blue); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.pt-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* 2026-11-25 GA "make the buttons compatible to the standard across the entire site, to the right" - same look as the site-wide .gxk-btn (dark button, white secondary, red-outline danger), right-aligned */
.pt-btn { display: inline-block; padding: .4rem .9rem; border-radius: 4px; border: 1px solid #1f2937; background: #1f2937; color: #fff; text-decoration: none; cursor: pointer; font: inherit; font-size: .9rem; }
.pt-btn:hover { filter: brightness(1.2); }
.pt-btn.pt-secondary { background: #fff; color: #1f2937; }
.pt-btn.pt-danger { background: #fff; color: #b91c1c; border-color: #b91c1c; }
.pt-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; align-items: center; justify-content: flex-end; }
.pt-actions form { margin: 0; }
.pt-alert { padding: .7rem .9rem; border-radius: 6px; margin-bottom: 1rem; border: 1px solid; }
.pt-alert.pt-error { background: #fef2f2; border-color: #fecaca; color: var(--pt-bad); }
.pt-alert.pt-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.pt-alert ul { margin: .3rem 0 0 1.1rem; padding: 0; }
table.pt-table { width: 100%; border-collapse: collapse; background: #fff; }
.pt-table th, .pt-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--pt-line); vertical-align: top; font-size: .9rem; }
.pt-table th { background: #f1f5f9; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--pt-muted); }
.pt-table td.pt-num, .pt-table th.pt-num { text-align: right; white-space: nowrap; }
.pt-scroll { overflow-x: auto; }
.pt-badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #e2e8f0; color: #334155; white-space: nowrap; }
.pt-badge.pt-s-1, .pt-badge.pt-s-2 { background: #dbeafe; color: #1e40af; }
.pt-badge.pt-s-3 { background: #fef3c7; color: var(--pt-warn); }
.pt-badge.pt-s-4, .pt-badge.pt-s-6, .pt-badge.pt-s-7 { background: #d1fae5; color: var(--pt-ok); }
.pt-badge.pt-s-5, .pt-badge.pt-s-8 { background: #fee2e2; color: var(--pt-bad); }
.pt-dl { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: .35rem 1rem; margin: 0; }
.pt-dl dt { color: var(--pt-muted); font-size: .85rem; }
.pt-dl dd { margin: 0; overflow-wrap: anywhere; }
.pt-muted { color: var(--pt-muted); font-size: .85rem; }
.pt-timeline { list-style: none; padding: 0; margin: 0; }
.pt-timeline li { border-left: 3px solid var(--pt-line); padding: .2rem 0 .8rem .8rem; margin-left: .3rem; }
.pt-timeline .pt-when { font-size: .78rem; color: var(--pt-muted); }
.pt-note { background: #f8fafc; border: 1px solid var(--pt-line); border-radius: 6px; padding: .55rem .7rem; margin-bottom: .6rem; }
.pt-note.pt-galaxkey { background: #eff6ff; border-color: #bfdbfe; }
.pt-note .pt-who { font-size: .78rem; color: var(--pt-muted); }
.pt-rules { font-size: .85rem; color: var(--pt-muted); margin: .4rem 0 0 1.1rem; padding: 0; }
.pt-filter { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-bottom: 1rem; }
.pt-filter > div { min-width: 180px; }
.pt-filter label { margin-top: 0; }
.pt-stage { display: flex; gap: 2px; margin: .5rem 0; }
.pt-stage span { flex: 1; text-align: center; font-size: .72rem; padding: .35rem .2rem; background: #e2e8f0; color: #475569; }
.pt-stage span.pt-done { background: #0f62fe; color: #fff; }
.pt-chart { width: 100%; height: auto; }
.pt-chart text { font-size: 11px; fill: #475569; font-family: "Segoe UI", Arial, sans-serif; }
progress.pt-progress { width: 100%; height: .9rem; }
.pt-footer { text-align: center; color: var(--pt-muted); font-size: .78rem; padding: 1.5rem 1rem; }
.pt-sr { position: absolute; left: -9999px; }
@media (max-width: 640px) { .pt-dl { grid-template-columns: 1fr; } .pt-header { padding: .6rem .8rem; } }
