/* GuestPostHere Portal */
:root{
	--gp-brand:#1a3aff;--gp-brand-d:#142fd6;--gp-brand-50:#eef1ff;--gp-ink:#0b1430;--gp-text:#374151;--gp-muted:#6b7280;
	--gp-line:#e6e9f2;--gp-bg:#f5f7fb;--gp-card:#fff;--gp-good:#059669;--gp-good-50:#e7f8ef;--gp-warn:#b45309;--gp-warn-50:#fff7e6;
	--gp-bad:#dc2626;--gp-bad-50:#fdecec;--gp-accent:#e8401a;--gp-r:16px
}
body.gphp-body{margin:0;background:var(--gp-bg);color:var(--gp-text);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
.gphp *,.gphp *::before,.gphp *::after{box-sizing:border-box}
.gphp [hidden]{display:none!important}
.gphp a{color:var(--gp-brand);text-decoration:none}
.gphp a:hover{text-decoration:underline}
.gphp h1,.gphp h2,.gphp h3{color:var(--gp-ink);letter-spacing:-.01em;margin:0}
.gphp h1{font-size:26px;font-weight:800;line-height:1.2}
.gphp h2{font-size:18px;font-weight:700;margin-bottom:14px}
.gphp h3{font-size:15px;font-weight:700;margin:18px 0 8px}
.gphp p{margin:0 0 12px}
.gphp-ic{width:20px;height:20px;flex:none}
.gphp-muted{color:var(--gp-muted)}
.gphp-small{font-size:13px}
.gphp-center{text-align:center}
.gphp-r{text-align:right}
.gphp-neg{color:var(--gp-bad)}.gphp-pos{color:var(--gp-good)}
.gphp-sub{display:block;color:var(--gp-muted);font-size:12px;font-weight:400}

/* ---------- app layout ---------- */
.gphp--app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.gphp-side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:22px 16px;background:var(--gp-ink);color:#c7cde0}
.gphp-logo{display:flex;align-items:center;gap:10px;color:#fff!important;font-weight:800;font-size:18px;text-decoration:none!important;padding:0 8px}
.gphp-logo__mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,var(--gp-brand),#5b73ff);box-shadow:inset 0 0 0 6px rgba(255,255,255,.18)}
.gphp-side__role{margin:6px 8px 22px;color:#8f99b8;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.gphp-side nav{display:grid;gap:4px}
.gphp-side nav a,.gphp-side__foot a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;color:#c7cde0;font-weight:500;text-decoration:none!important}
.gphp-side nav a:hover,.gphp-side__foot a:hover{background:rgba(255,255,255,.06);color:#fff}
.gphp-side nav a.is-active{background:var(--gp-brand);color:#fff}
.gphp-side__foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:12px}
.gphp-main{padding:0 32px 60px;min-width:0}
.gphp-top{display:flex;align-items:center;gap:16px;justify-content:flex-end;padding:18px 0;margin-bottom:8px}
.gphp-top__chips{display:flex;gap:10px;margin-right:auto}
.gphp-chip{display:flex;flex-direction:column;padding:8px 14px;border-radius:12px;background:var(--gp-card);border:1px solid var(--gp-line);line-height:1.25;color:var(--gp-ink)!important;text-decoration:none!important}
.gphp-chip small{color:var(--gp-muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.gphp-chip b{font-size:16px}
.gphp-chip--muted{background:transparent}
.gphp-top__user{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--gp-ink)}
.gphp-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--gp-brand-50);color:var(--gp-brand);font-weight:800}
.gphp-burger{display:none;background:none;border:0;padding:6px;color:var(--gp-ink);cursor:pointer}

.gphp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:6px 0 22px}
.gphp-head p{margin:6px 0 0;color:var(--gp-muted)}

/* ---------- cards & grids ---------- */
.gphp-card{background:var(--gp-card);border:1px solid var(--gp-line);border-radius:var(--gp-r);padding:24px;margin-bottom:20px}
.gphp-card__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.gphp-card__head h2{margin:0}
.gphp-grid-2{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.gphp-grid-2--wide{grid-template-columns:minmax(0,1fr) 320px}
.gphp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.gphp-stats:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.gphp-stat{background:var(--gp-card);border:1px solid var(--gp-line);border-radius:var(--gp-r);padding:18px 20px}
.gphp-stat span{display:block;color:var(--gp-muted);font-size:13px;font-weight:600}
.gphp-stat b{display:block;color:var(--gp-ink);font-size:24px;font-weight:800;margin:4px 0 2px}
.gphp-stat small{color:var(--gp-muted);font-size:12px}
.gphp-stat--good{border-color:#bfe8d4;background:var(--gp-good-50)}
.gphp-stat--warn{border-color:#fde3b0;background:var(--gp-warn-50)}

/* ---------- buttons ---------- */
.gphp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:12px;border:1px solid var(--gp-brand);background:var(--gp-brand);color:#fff!important;font:inherit;font-weight:600;cursor:pointer;text-decoration:none!important;transition:background .15s,border-color .15s}
.gphp-btn:hover{background:var(--gp-brand-d);border-color:var(--gp-brand-d)}
.gphp-btn:disabled{opacity:.5;cursor:not-allowed}
.gphp-btn .gphp-ic{width:18px;height:18px}
.gphp-btn--sm{padding:7px 14px;font-size:13px;border-radius:10px}
.gphp-btn--block{width:100%}
.gphp-btn--ghost{background:#fff;color:var(--gp-ink)!important;border-color:#d6dae5}
.gphp-btn--ghost:hover{background:#fff;border-color:var(--gp-brand);color:var(--gp-brand)!important}
.gphp-btn--good{background:var(--gp-good);border-color:var(--gp-good)}
.gphp-btn--good:hover{background:#047857;border-color:#047857}
.gphp-btn--danger{background:var(--gp-bad);border-color:var(--gp-bad)}
.gphp-btn--danger:hover{background:#b91c1c;border-color:#b91c1c}
.gphp-linkbtn{background:none;border:0;padding:0;color:var(--gp-muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.gphp-linkbtn:hover{color:var(--gp-bad)}
.gphp-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.gphp-inline{display:inline}

/* ---------- forms ---------- */
.gphp-form{display:grid;gap:14px}
.gphp-field{display:grid;gap:6px;margin:0}
.gphp-field>span{color:var(--gp-ink);font-size:13px;font-weight:600}
.gphp-field em{font-style:normal;color:var(--gp-muted);font-weight:400}
.gphp input[type=text],.gphp input[type=email],.gphp input[type=url],.gphp input[type=tel],.gphp input[type=number],.gphp input[type=password],.gphp input[type=search],.gphp select,.gphp textarea{width:100%;padding:11px 13px;border:1px solid #d6dae5;border-radius:11px;background:#fff;color:#111827;font:inherit;font-size:15px;line-height:1.4}
.gphp input:focus,.gphp select:focus,.gphp textarea:focus{outline:0;border-color:var(--gp-brand);box-shadow:0 0 0 4px rgba(26,58,255,.12)}
.gphp input[disabled]{background:#f3f4f6;color:var(--gp-muted)}
.gphp input[type=file]{font-size:13px}
.gphp-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gphp-row--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gphp-check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.gphp-check input{margin-top:4px;accent-color:var(--gp-brand)}
.gphp-pills{display:flex;flex-wrap:wrap;gap:8px}
.gphp-pills label{cursor:pointer}
.gphp-pills input{position:absolute;opacity:0;pointer-events:none}
.gphp-pills span{display:inline-block;padding:6px 12px;border:1px solid #d6dae5;border-radius:999px;font-size:13px;background:#fff}
.gphp-pills input:checked+span{background:var(--gp-brand);border-color:var(--gp-brand);color:#fff}
.gphp-pills input:focus-visible+span{box-shadow:0 0 0 3px rgba(26,58,255,.25)}
.gphp-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:0}
.gphp-choice legend{font-size:13px;font-weight:600;color:var(--gp-ink);margin-bottom:6px}
.gphp-choice label{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #d6dae5;border-radius:12px;cursor:pointer}
.gphp-choice label:has(input:checked){border-color:var(--gp-brand);background:var(--gp-brand-50)}
.gphp-choice small{display:block;color:var(--gp-muted)}
.gphp-inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.gphp-inline-form .gphp-muted{grid-column:1/-1;margin:0}
.gphp-filters{display:grid;grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr)) auto;gap:10px;margin-bottom:16px}

/* ---------- alerts, notes ---------- */
.gphp-alert{padding:13px 16px;border-radius:12px;margin-bottom:16px;border:1px solid;font-size:14px}
.gphp-alert--success{background:var(--gp-good-50);border-color:#bfe8d4;color:#065f46}
.gphp-alert--error{background:var(--gp-bad-50);border-color:#f6c5c5;color:#991b1b}
.gphp-alert--warning{background:var(--gp-warn-50);border-color:#fde3b0;color:#92400e}
.gphp-alert--info{background:var(--gp-brand-50);border-color:#d5dcff;color:#1e3a8a}
.gphp-note{padding:14px 16px;border-radius:12px;background:#f8f9ff;border:1px solid #e6e9ff;font-size:14px}
.gphp-pre{padding:14px 16px;border-radius:12px;background:#f8f9fb;border:1px solid var(--gp-line);font-size:14px;white-space:normal}
.gphp-code{padding:12px 14px;border-radius:10px;background:var(--gp-ink);color:#e5e9ff;font-size:13px;overflow-x:auto;white-space:pre-wrap;word-break:break-all;cursor:copy}
.gphp code{background:var(--gp-brand-50);color:var(--gp-brand-d);padding:1px 6px;border-radius:6px;font-size:.9em}

/* ---------- tables ---------- */
.gphp-table-wrap{overflow-x:auto;margin:0 -4px}
.gphp-table{width:100%;border-collapse:collapse;font-size:14px}
.gphp-table th{padding:10px 12px;text-align:left;color:var(--gp-muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--gp-line);white-space:nowrap}
.gphp-table td{padding:13px 12px;border-bottom:1px solid #f0f2f6;vertical-align:middle}
.gphp-table tr:last-child td{border-bottom:0}
.gphp-table--market{background:#fff;border:1px solid var(--gp-line);border-radius:var(--gp-r)}
.gphp-pager{display:flex;gap:6px;justify-content:center;margin:18px 0}
.gphp-pager a{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--gp-line);background:#fff;color:var(--gp-ink)}
.gphp-pager a.is-active{background:var(--gp-brand);border-color:var(--gp-brand);color:#fff}

/* ---------- badges ---------- */
.gphp-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:#eef0f4;color:#374151}
.gphp-badge--pending,.gphp-badge--l-in_review,.gphp-badge--m-pending,.gphp-badge--m-requested{background:var(--gp-warn-50);color:var(--gp-warn)}
.gphp-badge--in_progress{background:var(--gp-brand-50);color:var(--gp-brand)}
.gphp-badge--delivered{background:#f3e8ff;color:#7c3aed}
.gphp-badge--completed{background:#e0f2fe;color:#0369a1}
.gphp-badge--released,.gphp-badge--l-approved,.gphp-badge--m-approved,.gphp-badge--m-paid{background:var(--gp-good-50);color:var(--gp-good)}
.gphp-badge--disputed,.gphp-badge--l-rejected,.gphp-badge--m-rejected{background:var(--gp-bad-50);color:var(--gp-bad)}
.gphp-badge--l-unverified{background:#fff1ec;color:var(--gp-accent)}
.gphp-link{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}
.gphp-link--ok{background:var(--gp-good-50);color:var(--gp-good)}
.gphp-link--missing{background:var(--gp-bad-50);color:var(--gp-bad)}
.gphp-link--noindex,.gphp-link--unreachable{background:var(--gp-warn-50);color:var(--gp-warn)}

/* ---------- order page ---------- */
.gphp-action{border-width:2px;border-color:#d5dcff;background:linear-gradient(180deg,#fff,#fbfcff)}
.gphp-action h2{display:flex;align-items:center;gap:8px}
.gphp-action form[hidden]{display:none}
.gphp-action form:not(.gphp-inline){margin-top:14px}
.gphp-dispute-link{margin:16px 0 0;padding-top:12px;border-top:1px dashed var(--gp-line)}
.gphp-dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px;margin:0}
.gphp-dl dt{color:var(--gp-muted);font-size:13px;font-weight:600}
.gphp-dl dd{margin:0;word-break:break-word}
.gphp-article summary{cursor:pointer;color:var(--gp-brand);font-weight:600}
.gphp-article>div{margin-top:10px;padding:16px;border:1px solid var(--gp-line);border-radius:12px;max-height:420px;overflow:auto}
.gphp-thread{display:grid;gap:10px;margin-bottom:14px;max-height:520px;overflow-y:auto}
.gphp-msg{padding:12px 14px;border-radius:14px;background:#f5f7fb;max-width:85%}
.gphp-msg--mine{background:var(--gp-brand-50);margin-left:auto}
.gphp-msg--staff{background:#fff7e6;border:1px solid #fde3b0;max-width:100%}
.gphp-msg__meta{font-size:12px;color:var(--gp-muted);margin-bottom:4px}
.gphp-msg__body{font-size:14px;word-break:break-word}
.gphp-msg__file{display:inline-block;margin-top:6px;font-size:13px}
.gphp-compose textarea{min-height:80px}
.gphp-compose__bar{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gphp-timeline{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid var(--gp-line)}
.gphp-timeline li{position:relative;padding:0 0 16px 14px}
.gphp-timeline li::before{content:"";position:absolute;left:-25px;top:5px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--gp-brand)}
.gphp-timeline b{display:block;color:var(--gp-ink);font-size:14px;line-height:1.35}
.gphp-timeline span{display:block;color:var(--gp-muted);font-size:12px}
.gphp-timeline small{display:block;color:var(--gp-muted);font-size:12px;margin-top:2px;word-break:break-word}
.gphp-protect{background:#f8f9ff}
.gphp-protect h3{display:flex;align-items:center;gap:8px;margin-top:0;color:var(--gp-brand)}
.gphp-protect ul,.gphp-guarantee{margin:0;padding-left:18px;font-size:14px}
.gphp-guarantee{list-style:none;padding:0;display:grid;gap:8px;margin-top:16px}
.gphp-guarantee li{display:flex;gap:8px;align-items:center;color:var(--gp-ink);font-size:14px}
.gphp-guarantee .gphp-ic{color:var(--gp-good)}
.gphp-summary dl{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:12px 0 0;font-size:14px}
.gphp-summary dt{color:var(--gp-muted)}
.gphp-summary dd{margin:0;text-align:right;font-weight:600;color:var(--gp-ink)}

/* ---------- onboarding, empty ---------- */
.gphp-steps{margin:16px 0 0;padding-left:20px;display:grid;gap:8px}
.gphp-steps--row{list-style:none;padding:0;grid-template-columns:repeat(3,1fr);gap:14px}
.gphp-steps--row li{padding:18px;border:1px solid var(--gp-line);border-radius:14px;background:#fbfcff}
.gphp-steps--row b{display:block;color:var(--gp-ink)}
.gphp-steps--row span{display:block;color:var(--gp-muted);font-size:14px;margin:4px 0 8px}
.gphp-checklist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gphp-checklist li{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--gp-line);border-radius:12px}
.gphp-checklist li .gphp-ic{color:var(--gp-warn)}
.gphp-checklist li.is-done{background:var(--gp-good-50);border-color:#bfe8d4}
.gphp-checklist li.is-done .gphp-ic{color:var(--gp-good)}
.gphp-empty{padding:48px 24px;text-align:center;background:#fff;border:1px dashed #c9d1f5;border-radius:var(--gp-r)}
.gphp-tabs{display:flex;gap:6px;padding:4px;background:#eef0f6;border-radius:12px;margin-bottom:18px}
.gphp-tabs a{flex:1;text-align:center;padding:9px 12px;border-radius:9px;color:var(--gp-muted);font-weight:600;text-decoration:none!important}
.gphp-tabs a.is-active{background:#fff;color:var(--gp-ink);box-shadow:0 1px 3px rgba(11,20,48,.08)}
.gphp-tabs--line{background:none;padding:0;border-bottom:1px solid var(--gp-line);border-radius:0;gap:20px}
.gphp-tabs--line a{flex:none;padding:10px 2px;border-radius:0;border-bottom:2px solid transparent}
.gphp-tabs--line a.is-active{background:none;box-shadow:none;color:var(--gp-brand);border-color:var(--gp-brand)}
.gphp-verify h3{margin-top:22px}

/* ---------- logged-out ---------- */
.gphp--guest{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:32px 16px}
.gphp--guest>.gphp-alert{max-width:1080px;margin:0 auto 16px;width:100%}
.gphp-auth{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);max-width:1080px;width:100%;margin:0 auto;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(11,20,48,.12)}
.gphp-auth__intro{padding:48px;color:#d7ddf5;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.12),transparent 40%),linear-gradient(150deg,var(--gp-ink),#142fd6 70%,var(--gp-brand))}
.gphp-auth__intro h1{color:#fff;font-size:34px;margin:36px 0 12px}
.gphp-auth__intro .gphp-steps{color:#fff}
.gphp-auth__points{list-style:none;padding:0;margin:26px 0;display:grid;gap:14px}
.gphp-auth__points li{display:flex;gap:12px}
.gphp-auth__points .gphp-ic{color:#9fb0ff;margin-top:2px}
.gphp-auth__points b{color:#fff}
.gphp-auth__roles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
.gphp-auth__roles a{display:block;padding:16px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff!important;text-decoration:none!important}
.gphp-auth__roles a:hover{background:rgba(255,255,255,.14)}
.gphp-auth__roles span{display:block;color:#b8c2e6;font-size:13px}
.gphp-auth__form{padding:44px 40px}
.gphp-auth__form h2{font-size:22px;margin-bottom:20px}
.gphp-auth__form .gphp-form,.gphp-auth__form form{display:grid;gap:14px}
.gphp-logo--light{padding:0}

/* ---------- ERP layout (publisher back office) ---------- */
body.gphp-body{background:#f3f5f9}
.gphp--erp{grid-template-columns:232px minmax(0,1fr)}
.gphp--erp .gphp-side{padding:18px 12px;background:#0b1430}
.gphp--erp .gphp-logo{gap:10px;margin-bottom:18px}
.gphp-logo span{display:flex;flex-direction:column;line-height:1.1}
.gphp-logo small{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8f99b8}
.gphp-logo--light small{color:#b8c2e6}
.gphp-side__group{margin:16px 12px 6px;color:#68739a;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.gphp--erp .gphp-side nav a{padding:9px 12px;border-radius:10px;font-size:14px}
.gphp-side nav a em{margin-left:auto;min-width:22px;padding:1px 7px;border-radius:999px;background:var(--gp-accent);color:#fff;font-style:normal;font-size:12px;font-weight:700;text-align:center}
.gphp--erp .gphp-main{padding:0}
.gphp--erp .gphp-top{position:sticky;top:0;z-index:20;margin:0;padding:12px 28px;background:#fff;border-bottom:1px solid var(--gp-line);justify-content:flex-start;gap:18px}
.gphp-top__crumb{display:flex;flex-direction:column;line-height:1.2;min-width:120px}
.gphp-top__crumb span{color:var(--gp-muted);font-size:12px}
.gphp-top__crumb b{color:var(--gp-ink);font-size:16px}
.gphp-top__search{position:relative;flex:1;max-width:420px}
.gphp-top__search .gphp-ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--gp-muted)}
.gphp .gphp-top__search input[type=search]{padding:9px 12px 9px 38px;border-radius:10px;background:#f3f5f9;border-color:transparent}
.gphp--erp .gphp-top__chips{margin-left:auto;margin-right:0}
.gphp--erp .gphp-chip{padding:6px 12px;border-radius:10px}
.gphp--erp .gphp-chip b{font-size:15px}
.gphp-top__user span:last-child{display:flex;flex-direction:column;line-height:1.2;font-size:14px}
.gphp-top__user small{color:var(--gp-muted);font-size:12px;font-weight:500}
.gphp-content{padding:22px 28px 60px}
.gphp--erp .gphp-head{margin:0 0 18px}
.gphp--erp .gphp-head h1{font-size:22px}
.gphp-head__actions{display:flex;gap:8px;flex-wrap:wrap}

.gphp-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
.gphp-kpis--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gphp-kpi{padding:14px 16px;background:#fff;border:1px solid var(--gp-line);border-radius:12px;border-top:3px solid #c9d1f5}
.gphp-kpi span{display:block;color:var(--gp-muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.gphp-kpi b{display:block;margin:4px 0 2px;color:var(--gp-ink);font-size:21px;font-weight:800;line-height:1.2}
.gphp-kpi small{color:var(--gp-muted);font-size:12px}
.gphp-kpi--good{border-top-color:var(--gp-good)}
.gphp-kpi--warn{border-top-color:#f59e0b}

.gphp-panel{background:#fff;border:1px solid var(--gp-line);border-radius:12px;margin-bottom:16px;overflow:hidden}
.gphp-panel[hidden]{display:none}
.gphp-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid var(--gp-line);background:#fbfcfe}
.gphp-panel__head h2{margin:0;font-size:15px;font-weight:700}
.gphp-panel__head a{font-size:13px;font-weight:600}
.gphp-panel__body{padding:16px 18px}
.gphp-panel__body>.gphp-table-wrap{margin:-16px -18px}
.gphp-action{border:2px solid #d5dcff}
.gphp-action .gphp-panel__body h2{display:flex;align-items:center;gap:8px;font-size:17px;margin-bottom:8px}

.gphp-grid{display:grid;gap:16px;align-items:start}
.gphp-grid--2{grid-template-columns:1fr 1fr}
.gphp-grid--2-1{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}

.gphp-table--erp th{padding:9px 12px;background:#fbfcfe;font-size:11px}
.gphp-table--erp td{padding:10px 12px;font-size:13.5px}
.gphp-table--erp tbody tr:hover td{background:#f8f9ff}
.gphp-nowrap{white-space:nowrap}
.gphp-trunc{max-width:260px}
.gphp-trunc .gphp-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gphp-urgent{color:var(--gp-bad)!important;font-weight:600}
.gphp-empty-line{margin:0;color:var(--gp-muted);font-size:14px}
.gphp-mb{display:inline-block;margin-bottom:14px}
.gphp-narrow{max-width:520px;margin:10vh auto 0}

.gphp-segs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:14px;padding:4px;background:#e9edf5;border-radius:12px;width:max-content;max-width:100%}
.gphp-segs a{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:9px;color:#4b5563;font-size:13.5px;font-weight:600;text-decoration:none!important}
.gphp-segs a em{padding:0 7px;border-radius:999px;background:#d7dcea;color:#374151;font-style:normal;font-size:12px}
.gphp-segs a.is-active{background:#fff;color:var(--gp-ink);box-shadow:0 1px 3px rgba(11,20,48,.1)}
.gphp-segs a.is-active em{background:var(--gp-brand);color:#fff}
.gphp-segs--sm{margin:0;padding:3px}
.gphp-segs--sm a{padding:4px 10px;font-size:12.5px}

.gphp-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin-bottom:16px;background:var(--gp-line);border:1px solid var(--gp-line);border-radius:12px;overflow:hidden}
.gphp-facts>div{padding:12px 16px;background:#fff}
.gphp-facts span{display:block;color:var(--gp-muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.gphp-facts b{color:var(--gp-ink);font-size:15px}

.gphp-bars{display:flex;align-items:flex-end;gap:10px;height:170px;padding-top:18px}
.gphp-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}
.gphp-bar i{display:block;width:100%;max-width:36px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#5b73ff,var(--gp-brand))}
.gphp-bar b{position:absolute;top:0;font-size:10.5px;color:var(--gp-muted);font-weight:600;white-space:nowrap}
.gphp-bar span{margin-top:6px;font-size:12px;color:var(--gp-muted)}
.gphp-feed{list-style:none;margin:0;padding:0}
.gphp-feed li{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;padding:8px 0;border-bottom:1px solid #f0f2f6;font-size:13.5px}
.gphp-feed li:last-child{border-bottom:0}
.gphp-feed span{margin-left:auto;color:var(--gp-muted);font-size:12px}
.gphp-rules{margin:0;padding-left:18px;font-size:13.5px}
.gphp-rules li{margin-bottom:6px}
.gphp-btn--light{background:#fff;color:var(--gp-ink)!important;border-color:#fff}
.gphp-btn--light:hover{background:#eef1ff;border-color:#eef1ff}
.gphp-badge--awaiting_req{background:#f1f5f9;color:#475569}

/* ---------- policies ---------- */
.gphp--doc{display:block;max-width:1120px;margin:0 auto;padding:28px 20px 60px}
.gphp-doc__logo{color:var(--gp-ink)!important;margin-bottom:22px;padding:0}
.gphp-doc__tabs{flex-wrap:wrap}
.gphp-doc__tabs a{flex:1 1 200px}
.gphp-doc__head{padding:30px 32px;border-radius:20px;color:#d7ddf5;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.12),transparent 40%),linear-gradient(140deg,var(--gp-ink),#142fd6 75%,var(--gp-brand));margin-bottom:24px}
.gphp-doc__head h1{color:#fff;font-size:30px;margin:6px 0 10px}
.gphp-doc__head p{margin:0 0 6px;max-width:720px}
.gphp-doc__head .gphp-muted{color:#aab4d8}
.gphp-doc__kicker{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:#9fb0ff!important}
.gphp-doc__layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.gphp-doc__toc{position:sticky;top:20px;padding:18px;border:1px solid var(--gp-line);border-radius:var(--gp-r);background:#fff}
.gphp-doc__toc>p{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gp-ink)}
.gphp-doc__toc ol{margin:0;padding-left:20px;font-size:13px;line-height:1.5}
.gphp-doc__toc li{margin-bottom:6px}
.gphp-doc__body{background:#fff;border:1px solid var(--gp-line);border-radius:var(--gp-r);padding:8px 32px 20px;font-size:15px;line-height:1.75}
.gphp-doc__body section{padding:22px 0;border-bottom:1px solid #f0f2f6;scroll-margin-top:20px}
.gphp-doc__body section:last-child{border-bottom:0}
.gphp-doc__body h2{display:flex;align-items:center;gap:12px;font-size:19px;margin:0 0 12px}
.gphp-doc__body h2 span{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--gp-brand-50);color:var(--gp-brand);font-size:13px}
.gphp-doc__body ul,.gphp-doc__body ol{margin:0 0 12px;padding-left:22px}
.gphp-doc__body li{margin-bottom:6px}
.gphp-doc__body li::marker{color:var(--gp-brand)}
.gphp-auth__policies{display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:center;margin:22px 0 0;font-size:12px}
.gphp-auth__policies a{color:var(--gp-muted)}
.gphp-main .gphp-doc{margin-top:4px}
.gphp-check span{display:block}

/* ---------- responsive ---------- */
@media (max-width:1280px){
	.gphp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
	.gphp-top__chips .gphp-chip--muted{display:none}
}
@media (max-width:1100px){
	.gphp-grid--2-1,.gphp-grid--2{grid-template-columns:1fr}
	.gphp-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
	.gphp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
	.gphp-grid-2,.gphp-grid-2--wide{grid-template-columns:1fr}
	.gphp-filters{grid-template-columns:1fr 1fr 1fr}
	.gphp-row--4{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
	.gphp-doc__layout{grid-template-columns:1fr}
	.gphp-doc__toc{position:static}
	.gphp-doc__body{padding:4px 20px 14px}
	.gphp-doc__head{padding:24px 20px}
	.gphp-doc__head h1{font-size:24px}
	.gphp--app{grid-template-columns:1fr}
	.gphp-side{position:fixed;inset:0 auto 0 0;width:260px;z-index:100;transform:translateX(-100%);transition:transform .2s}
	.gphp--app.menu-open .gphp-side{transform:none;box-shadow:0 0 0 100vmax rgba(11,20,48,.45)}
	.gphp-burger{display:inline-flex}
	.gphp-main{padding:0 16px 48px}
	.gphp-top{justify-content:space-between}
	.gphp-top__chips{margin-right:0}
	.gphp-top__user span:last-child{display:none}
	.gphp-auth{grid-template-columns:1fr}
	.gphp-auth__intro,.gphp-auth__form{padding:28px 22px}
	.gphp-auth__intro h1{font-size:26px;margin-top:24px}
}
@media (max-width:860px){
	.gphp--erp{grid-template-columns:1fr}
	.gphp--erp .gphp-top{padding:10px 16px;flex-wrap:wrap}
	.gphp-top__search{order:5;flex-basis:100%;max-width:none}
	.gphp-top__crumb{min-width:0}
	.gphp-content{padding:16px 14px 48px}
	.gphp-kpis,.gphp-kpis--4{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
	.gphp-facts{grid-template-columns:1fr 1fr}
	.gphp-top__user{display:none}
	.gphp-segs{width:auto}
	.gphp-stats,.gphp-row,.gphp-row--4,.gphp-choice,.gphp-steps--row,.gphp-auth__roles,.gphp-filters{grid-template-columns:1fr}
	.gphp-stats:has(> :nth-child(3):last-child){grid-template-columns:1fr}
	.gphp-card{padding:18px}
	.gphp-dl{grid-template-columns:1fr;gap:2px 0}
	.gphp-dl dd{margin-bottom:10px}
	.gphp-inline-form{grid-template-columns:1fr}
	.gphp-top__chips .gphp-chip--muted{display:none}
	.gphp-msg{max-width:100%}
}
