/* ============================================================
   قیر هرمز پارس — پرتال مشتریان
   Shared styles for login, the export and domestic dashboards and the
   sales-desk admin page. Loads AFTER ../assets/css/style.css
   and reuses its tokens (--green, --ink-0, --font, --ease …).
   ============================================================ */

body.portal {
  background: var(--ink-0);
  min-height: 100vh;
  color-scheme: dark; /* native widgets (spinners, select lists, scrollbars) match the canvas */
}

/* ---------- cinematic backdrop: real BHP photography under a dark wash ---------- */
.p-bg {
  position: fixed; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
/* a real child, not a pseudo-element: .p-bg carries the page photo inline, so the wash
   that darkens it needs its own box */
.p-bg__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,146,111,.14), transparent 60%),
    linear-gradient(to bottom, rgba(16,18,17,.72), rgba(16,18,17,.9) 45%, rgba(16,18,17,.97));
}

/* ---------- top bar ---------- */
.p-top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16,18,17,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.p-top__inner {
  max-width: var(--container); margin-inline: auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
}
.p-top__logo img { height: 40px; width: auto; }
.p-top__title { font-weight: 700; font-size: 1.02rem; color: #fff; }
.p-top__title small { display: block; font-weight: 500; font-size: .78rem; color: var(--green-soft); }
.p-top__spacer { flex: 1; }
.p-top__user { font-size: .88rem; color: var(--text-dim); }
.p-top__user b { color: #fff; font-weight: 600; }
.p-btn-ghost {
  padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.07); color: #E8E8EA; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); transition: background .25s var(--ease);
}
.p-btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- shared shell ---------- */
.p-main { max-width: var(--container); margin-inline: auto; padding: 30px 24px 90px; }
.p-card {
  background: rgba(25,27,26,.78); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 26px 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
/* the green rule is drawn by the heading's own border, not a pseudo-element: the project
   does not use ::before/::after, and a pseudo-element bar also counts as part of the
   centred text unit, which threw the headings off-centre when the panels were centred. */
.p-h2 {
  font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 18px;
  border-inline-start: 4px solid var(--green); border-start-start-radius: 2px;
  border-end-start-radius: 2px; padding-inline-start: 12px;
}
.p-note { font-size: .85rem; color: var(--text-dim); }

/* ---------- login ---------- */
.p-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.p-login__card { width: min(420px, 100%); text-align: center; }
.p-login__card .p-logo { height: 64px; width: auto; margin-inline: auto; margin-bottom: 18px; }
.p-login__card h1 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.p-login__card .p-sub { color: var(--text-dim); font-size: .9rem; margin: 6px 0 26px; }
.p-field { text-align: right; margin-bottom: 16px; }
.p-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.p-field input {
  width: 100%; padding: 12px 16px; border-radius: 14px; font: inherit; font-size: .95rem;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.p-field input:focus { outline: none; border-color: var(--green-soft); background: rgba(255,255,255,.09); }
.p-field input[name="user"], .p-field input[type="password"] { direction: ltr; text-align: left; }
.p-btn {
  width: 100%; padding: 13px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 700; color: #fff;
  background: var(--green); transition: background .25s var(--ease), transform .2s var(--ease);
}
.p-btn:hover { background: var(--green-strong); }
.p-btn:active { transform: scale(.98); }
.p-error {
  display: none; margin-bottom: 14px; padding: 10px 14px; border-radius: 12px;
  background: rgba(229,27,36,.14); border: 1px solid rgba(229,27,36,.35);
  color: #FFB4B8; font-size: .86rem;
}
.p-error.show { display: block; }
.p-login__help { margin-top: 22px; font-size: .8rem; color: var(--text-dim); line-height: 2; }
.p-login__help a { font-weight: 600; }

/* ---------- KPI strip ---------- */
.p-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 26px; }
.p-kpi { padding: 18px 22px; }
.p-kpi .k { font-size: .8rem; color: var(--text-dim); }
.p-kpi .v { font-size: 1.65rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.p-kpi .v small { font-size: .85rem; font-weight: 500; color: var(--green-soft); margin-inline-start: 6px; }

/* ---------- contract selector ---------- */
.p-contracts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 26px; }
.p-contract {
  text-align: right; cursor: pointer; font: inherit; color: inherit;
  background: rgba(25,27,26,.78); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 18px 20px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.p-contract:hover { transform: translateY(-3px); }
.p-contract.sel { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.p-contract .cid { font-size: .78rem; color: var(--green-soft); font-weight: 600; direction: ltr; text-align: right; }
.p-contract .cname { font-weight: 700; color: #fff; margin: 4px 0 2px; }
.p-contract .cmeta { font-size: .8rem; color: var(--text-dim); }
.p-contract .cbar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 12px; overflow: hidden; }
.p-contract .cbar i { display: block; height: 100%; border-radius: 3px; background: var(--green); }
.p-chip {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; margin-top: 8px;
  background: rgba(0,146,111,.16); color: var(--green-soft); border: 1px solid rgba(0,146,111,.35);
}
.p-chip.done { background: rgba(255,255,255,.08); color: var(--text-dim); border-color: rgba(255,255,255,.14); }
.p-chip.wait { background: rgba(255,190,70,.1); color: #EFC470; border-color: rgba(255,190,70,.3); }

/* ---------- journey tracker: the contract as a drone journey ---------- */
.p-journey { margin-bottom: 26px; }
.p-track { position: relative; margin: 34px 6px 8px; }
.p-track__line {
  position: absolute; top: 17px; right: 0; left: 0; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.12);
}
.p-track__fill {
  position: absolute; top: 17px; right: 0; height: 4px; border-radius: 2px;
  background: linear-gradient(to left, var(--green-strong), var(--green));
  transition: width .9s var(--ease);
}
.p-track__steps { position: relative; display: flex; justify-content: space-between; }
.p-step { flex: 1; text-align: center; min-width: 0; }
.p-step .dot {
  width: 38px; height: 38px; border-radius: 50%; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-1); border: 2px solid rgba(255,255,255,.18);
  color: var(--text-dim); font-size: .8rem; font-weight: 700;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.p-step .dot svg { width: 16px; height: 16px; display: none; }
.p-step .lbl { font-size: .74rem; color: var(--text-dim); margin-top: 9px; line-height: 1.5; padding-inline: 2px; }
.p-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.p-step.done .dot svg { display: block; }
.p-step.done .dot span { display: none; }
/* the current step reads by its ring and its label weight, not a pulsing halo */
.p-step.now .dot {
  background: var(--ink-0); border-color: var(--green); color: #fff;
  box-shadow: 0 0 0 4px rgba(0,146,111,.28);
}
.p-step.now .lbl { color: #fff; font-weight: 600; }

.p-journey__note {
  margin-top: 20px; padding: 13px 18px; border-radius: 14px;
  background: rgba(0,146,111,.09); border: 1px solid rgba(0,146,111,.25);
  color: var(--green-faint); font-size: .88rem;
}

/* ---------- detail grid ---------- */
.p-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-bottom: 14px; }
.p-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .p-grid, .p-grid2 { grid-template-columns: 1fr; } }

.p-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.p-fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.p-fact:nth-last-child(-n+2) { border-bottom: 0; }
.p-fact .k { color: var(--text-dim); font-size: .86rem; }
.p-fact .v { color: #fff; font-size: .9rem; font-weight: 600; text-align: left; }
@media (max-width: 620px) { .p-facts { grid-template-columns: 1fr; } .p-fact:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.06); } }

/* tonnage ring + payment bar */
.p-ring-wrap { display: flex; align-items: center; gap: 22px; }
.p-ring { width: 128px; height: 128px; flex: none; }
.p-ring .bgc { stroke: rgba(255,255,255,.1); }
.p-ring .fgc { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.p-ring text { fill: #fff; font: 700 1.05rem var(--font); }
.p-ring .pct-sign { font-size: .65rem; fill: var(--green-soft); }
.p-ring-legend { line-height: 2.2; font-size: .88rem; color: var(--text-dim); }
.p-ring-legend b { color: #fff; font-weight: 700; }
.p-paybar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin: 14px 0 10px; }
.p-paybar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(to left, var(--green-strong), var(--green)); transition: width .9s var(--ease); }

/* ---------- tables & doc list ---------- */
.p-table-wrap { overflow-x: auto; }
.p-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.p-table th { text-align: right; color: var(--text-dim); font-weight: 600; font-size: .78rem; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.p-table td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.06); color: #E8E8EA; }
.p-table tr:last-child td { border-bottom: 0; }
.p-docs { list-style: none; display: grid; gap: 9px; }
.p-docs li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 13px; padding: 11px 16px; font-size: .88rem; color: #E8E8EA;
}
.p-empty { color: var(--text-dim); font-size: .88rem; padding: 8px 0; }

/* ---------- admin ---------- */
.p-banner {
  margin-bottom: 22px; padding: 13px 18px; border-radius: 14px; font-size: .86rem;
  background: rgba(255,190,70,.08); border: 1px solid rgba(255,190,70,.28); color: #EFC470;
}
.p-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.p-btn-sm {
  padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 700; color: #fff;
  background: var(--green); transition: background .25s var(--ease);
}
.p-btn-sm:hover { background: var(--green-strong); }
.p-btn-sm.ghost { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #E8E8EA; font-weight: 600; }
.p-btn-sm.ghost:hover { background: rgba(255,255,255,.14); }
/* the upload control is a label wrapping a visually-hidden (still focusable) file input */
.p-file-label { position: relative; }
.p-file-label input {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.p-file-label:focus-within { box-shadow: 0 0 0 3px rgba(0,146,111,.5); }
.p-btn-sm.danger { background: rgba(229,27,36,.16); border: 1px solid rgba(229,27,36,.4); color: #FFB4B8; }
.p-btn-sm.danger:hover { background: rgba(229,27,36,.28); }
.p-admin-form { display: none; margin-bottom: 22px; }
.p-admin-form.show { display: block; }
.p-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 16px; }
.p-form-grid .p-field { margin-bottom: 0; }
.p-field select, .p-field textarea {
  width: 100%; padding: 12px 16px; border-radius: 14px; font: inherit; font-size: .92rem;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.p-field select:focus, .p-field textarea:focus { outline: none; border-color: var(--green-soft); }
.p-field select option { background: var(--ink-1); color: #fff; }
.p-field textarea { min-height: 74px; resize: vertical; }
.p-subrows { display: grid; gap: 10px; margin-top: 10px; }
.p-subrow { display: grid; grid-template-columns: 1.2fr .7fr .9fr 1fr auto; gap: 8px; align-items: center; }
.p-subrow input, .p-subrow select {
  padding: 9px 12px; border-radius: 11px; font: inherit; font-size: .85rem;
  background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.12); width: 100%;
}
.p-subrow .del {
  border: 0; background: rgba(229,27,36,.14); color: #FFB4B8; border-radius: 10px;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem; line-height: 1;
  transition: background .25s var(--ease);
}
.p-subrow .del:hover { background: rgba(229,27,36,.26); }
/* doc rows carry two fields, not four — give them their own tracks */
.p-subrow--doc { grid-template-columns: 1.6fr .9fr auto; }
/* shipment rows carry five: title, waybill, tonnage, date, status */
.p-subrow--ship { grid-template-columns: 1.1fr .95fr .6fr .8fr .9fr auto; }
@media (max-width: 760px) { .p-subrow, .p-subrow--ship { grid-template-columns: 1fr 1fr; } }
.p-form-actions { display: flex; gap: 10px; margin-top: 20px; }
.p-tag { font-size: .74rem; padding: 3px 11px; border-radius: 999px; font-weight: 600; }
.p-tag.export { background: rgba(0,146,111,.16); color: var(--green-soft); }
.p-tag.domestic { background: rgba(99,140,220,.16); color: #9FBCF2; }
.p-row-actions { display: flex; gap: 8px; }

@media (max-width: 640px) {
  .p-top__title small { display: none; }
  .p-main { padding-inline: 16px; }
  .p-card { padding: 20px 18px; }
  .p-step .lbl { font-size: .62rem; }
}

/* the 8-step tracker cannot fit a phone: scroll it inside its own container */
.p-track-scroll { overflow-x: auto; scrollbar-width: thin; }
@media (max-width: 640px) {
  .p-track { min-width: 560px; margin-top: 26px; }
  .p-track-scroll { padding-bottom: 8px; }
}

/* contract services: name on top, what the operation is underneath */
.p-services li { align-items: flex-start; }
.p-svc-desc { display: block; margin-top: 4px; font-size: .78rem; color: var(--text-dim); line-height: 1.7; }

/* ---------- company-first admin ---------- */
.p-admin-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 900px) { .p-admin-layout { grid-template-columns: 1fr; } }
.p-companies {
  position: sticky; top: 82px; max-height: calc(100vh - 100px);
  display: flex; flex-direction: column; padding: 22px 20px;
}
@media (max-width: 900px) { .p-companies { position: static; max-height: none; } }
.p-companies__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-companies__head .p-h2 { margin-bottom: 0; }
.p-h3 { font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.p-search {
  width: 100%; margin-top: 14px; padding: 10px 14px; border-radius: 12px; font: inherit; font-size: .9rem;
  background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.12);
}
.p-search:focus { outline: none; border-color: var(--green-soft); background: rgba(255,255,255,.09); }
.p-filter { display: flex; gap: 6px; margin-top: 10px; }
.p-filter button {
  flex: 1; padding: 6px 10px; border-radius: 999px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid rgba(255,255,255,.1);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.p-filter button.on { background: rgba(0,146,111,.18); color: var(--green-soft); border-color: rgba(0,146,111,.45); }
.p-company-list { margin-top: 12px; overflow-y: auto; display: grid; gap: 6px; scrollbar-width: thin; padding-inline-end: 2px; align-content: start; }
/* plain block layout inside the <button>: grid/flex on a button element does not
   grow it reliably, and the two lines were painting over the next row */
.p-company {
  display: block; width: 100%; text-align: right; font: inherit; color: inherit; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 11px 14px; line-height: 1.6;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.p-company:hover { background: rgba(255,255,255,.07); }
.p-company.sel { border-color: var(--green); background: rgba(0,146,111,.13); box-shadow: 0 0 0 1px var(--green); }
.p-company b { display: block; color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.6; }
.p-company small { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; font-size: .74rem; line-height: 1.6; color: var(--text-dim); }
.p-company small code, .p-company__meta code { direction: ltr; unicode-bidi: isolate; font-family: inherit; color: var(--green-soft); }
.p-newco { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.p-newco.show { display: block; }
.p-newco .p-field { margin-bottom: 12px; }
.p-newco .p-form-actions { margin-top: 12px; }
.p-company-panel { min-height: 0; }
.p-company__empty {
  display: grid; gap: 6px; padding: 54px 20px; text-align: center; color: var(--text-dim); font-size: .9rem;
}
.p-company__empty[hidden] { display: none; }   /* author display would outrank the UA hidden rule */
.p-company__empty b { color: #fff; font-size: 1.05rem; }
.p-company__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.p-company__head .p-h2 { margin-bottom: 6px; }
.p-company__meta { font-size: .82rem; color: var(--text-dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.p-contracts--admin { margin-bottom: 0; }
.p-contracts--admin .p-contract { position: relative; padding-inline-start: 46px; }
.p-contracts--admin .p-contract:focus-visible { box-shadow: 0 0 0 3px rgba(0,146,111,.5); outline: none; }
.p-contract .cdel {
  position: absolute; top: 12px; inset-inline-start: 12px;
  width: 28px; height: 28px; border-radius: 9px; cursor: pointer; font: inherit; font-size: 1rem; line-height: 1;
  border: 1px solid rgba(229,27,36,.35); background: rgba(229,27,36,.12); color: #FFB4B8;
  opacity: .8; transition: opacity .2s var(--ease), background .2s var(--ease);
}
.p-contract .cdel:hover { opacity: 1; background: rgba(229,27,36,.3); }
.p-contract--add {
  display: flex; align-items: center; justify-content: center; min-height: 128px;
  border-style: dashed; border-color: rgba(0,146,111,.45); color: var(--green-soft); font-weight: 700;
  background: rgba(0,146,111,.06);
}
.p-contract--add:hover { background: rgba(0,146,111,.12); border-color: var(--green); }
.p-company-panel .p-admin-form { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.p-field input[readonly] { color: var(--text-dim); background: rgba(255,255,255,.03); cursor: default; }
.p-field[data-export-only][hidden] { display: none; }
/* barter (تهاتری) customers and the payment schedule */
.p-tag.barter { background: rgba(239,196,112,.16); color: #EFC470; }
/* the barter lifting summary. An author display: on the card would defeat the UA
   [hidden] rule, so the hidden state is restated explicitly. */
.p-barter { border-color: rgba(239,196,112,.28); }
.p-barter[hidden] { display: none; }
.p-barter .p-h2 { border-inline-start-color: #EFC470; }
.p-bfigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.p-bfig {
  padding: 14px 16px; border-radius: 14px;
  background: rgba(239,196,112,.06); border: 1px solid rgba(239,196,112,.16);
}
.p-bfig .k { display: block; font-size: .78rem; color: var(--text-dim); margin-bottom: 6px; }
.p-bfig .v { display: block; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
/* the waybill column: a number, so it reads left-to-right even in the Persian table */
.p-table .p-wb { font-variant-numeric: tabular-nums; }
.p-table .p-wb span { unicode-bidi: isolate; }
.p-dash { color: var(--text-dim); }
.p-contract .p-tag.barter { display: inline-block; margin-top: 8px; margin-inline-start: 6px; }
.p-paystages[hidden] { display: none; }
/* left-to-right (English) variant of the portal */
[dir="ltr"] .p-field, [dir="ltr"] .p-contract, [dir="ltr"] .p-company, [dir="ltr"] .p-table th { text-align: left; }
[dir="ltr"] .p-contract .cid, [dir="ltr"] .p-fact .v { text-align: left; }
[dir="ltr"] .p-fact .v { text-align: right; }
[dir="ltr"] .p-company small code, [dir="ltr"] .p-company__meta code { direction: ltr; }

/* ── centred panels (Ali, 2026-09-06: "all texts in panels in the centre of the
   panel, horizontally and vertically"). Scope: the customer dashboards' cards —
   KPI tiles, contract cards and the detail sections. The login form and the
   sales-desk admin forms keep their start edge: they are inputs, not panels of
   copy. Logical properties only; no new pseudo-elements. ── */
.p-dash-page .p-card {
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
/* an author display would defeat the UA hidden rule — restate it (the barter card) */
.p-dash-page .p-card[hidden] { display: none; }
/* contract cards on every page, the sales desk included */
.p-contract, .p-contract .cid, [dir="ltr"] .p-contract, [dir="ltr"] .p-contract .cid { text-align: center; }
/* the admin card reserves 46px at the inline-start for the delete control; mirror
   it so the centred copy sits on the card's own centre line */
.p-contracts--admin .p-contract { padding-inline: 46px; }
/* key/value rows: the pair sits together on the centre line instead of being
   pushed to opposite edges */
.p-dash-page .p-fact { justify-content: center; }
.p-dash-page .p-fact .v, [dir="ltr"] .p-dash-page .p-fact .v { text-align: center; }
.p-dash-page .p-ring-wrap { justify-content: center; }
.p-dash-page .p-docs li { justify-content: center; }
.p-dash-page .p-table th, .p-dash-page .p-table td,
[dir="ltr"] .p-dash-page .p-table th { text-align: center; }
