/* portal surface styles (class names prefixed pt-), C2 home / C5 archive language: paper cards, hairlines,
   one green accent, mono figures. Brand v3.1: semantic tokens only (theme.css), light + Deep Emerald dark,
   logical properties, radius 8 / 12 / 999, controls 44 px, never red (clay = --unfav). Shared chat pieces (cx-*) live in app.css. */
.pt-page .page-in { max-width: 1320px; }
.pt-page .page-h h1 { font-size: 26px; font-weight: 800; color: var(--heading); }
.pt-page .page-h p { font-size: 13.5px; }
.pt-page .page-h .chans { gap: var(--sp-2); }
.pt-page .page-h .cx-btn, .pt-hero .cx-btn { height: var(--control-h); padding: 0 var(--sp-4); border-radius: var(--r-1); }
.pt-uploading { font-size: 13px; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-soft-2); border-radius: var(--r-1); padding: var(--sp-2) var(--sp-3); display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pt-center { display: flex; justify-content: center; }
.pt-pad { padding: 14px var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.pt-col { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); align-items: start; }
.pt-tag { margin-inline-start: 6px; vertical-align: middle; }
.pt-soon { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 0; }
.pt-crit { color: var(--unfav); }
.pt-page .sr-only, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero band on the portal home (brand.css draws the band; here: buttons that sit on the emerald ground) */
.pt-home-page .page-body > .pt-hero { margin-block-end: var(--sp-1); }
.pt-hero .cx-btn { background: transparent; color: var(--on-brand); border-color: var(--brand-rule); }
.pt-hero .cx-btn:hover { border-color: var(--on-brand-3); background: var(--brand-bg-3); }
.pt-hero .cx-btn .ic { color: var(--on-brand-2); }
.pt-hero .hero-s .num { color: var(--on-brand); }

/* cards */
.pt-card { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); min-width: 0; }
.pt-card.warn { border-color: var(--attn); }
.pt-card-h { display: flex; align-items: center; gap: 10px; padding: 14px var(--sp-4); border-block-end: 1px solid var(--line); flex-wrap: wrap; }
.pt-card-h h2 { margin: 0; flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--sp-2); font-size: 16px; font-weight: 800; color: var(--heading); }
.pt-card-h h2 .ic, .pt-card-h h2 .bi { color: var(--heading); }
.pt-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--unfav-soft); color: var(--unfav); font: 700 11px/22px var(--font-fig); text-align: center; }
.pt-more { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: 13px; font-weight: 700; color: var(--accent-text); }
.pt-more .ic { transform: none; }
html[dir="ltr"] .pt-more .ic { transform: scaleX(-1); }
.pt-sub { font-size: 12.5px; color: var(--muted); }
.pt-card-h .pt-sel { width: auto; }
.pt-flush { overflow: hidden; }

/* KPI strip: a plain brand line icon (tinted by tone) + label, figure, one comparison */
.pt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); overflow: hidden; }
.pt-kpi { padding: 14px 18px; display: flex; flex-direction: column; gap: var(--sp-1); border-inline-start: 1px solid var(--line); min-width: 0; }
.pt-kpi:first-child { border-inline-start: 0; }
.pt-kpi-l { font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: var(--sp-2); }
.pt-kpi-l .bi { color: var(--heading); }
.pt-kpi.ok .pt-kpi-l .bi { color: var(--accent-text); }
.pt-kpi.warn .pt-kpi-l .bi { color: var(--attn); }
.pt-kpi.crit .pt-kpi-l .bi { color: var(--unfav); }
.pt-kpi.info .pt-kpi-l .bi { color: var(--info); }
.pt-kpi b { font: 700 26px/1.15 var(--font-fig); color: var(--heading); }
.pt-kpi.crit b { color: var(--unfav); }
.pt-kpi b.txt { font-family: var(--font); font-size: 21px; font-weight: 800; }
.pt-kpi-s { font-size: 12px; color: var(--muted); }

/* home (C2) */
.pt-home { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.pt-month .pt-card-h { padding: var(--sp-4) 18px; }
.pt-big { display: inline-flex; align-items: baseline; gap: 6px; margin-inline-start: auto; }
.pt-big b { font: 700 30px/1 var(--font-fig); color: var(--heading); }
.pt-big span { font-size: 12.5px; color: var(--muted); }
.pt-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 18px 18px 6px; position: relative; }
.pt-step { display: flex; flex-direction: column; gap: 3px; padding-inline-end: 14px; position: relative; min-width: 0; }
.pt-step::after { content: ""; position: absolute; inset-block-start: 17px; inset-inline-start: 44px; inset-inline-end: var(--sp-2); height: 2px; background: var(--line); }
.pt-step:last-child::after { display: none; }
.pt-step.done::after { background: var(--accent); }
.pt-step-n { width: 34px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center; border: 2px solid var(--line); color: var(--muted); font: 700 13px/1 var(--font-fig); background: var(--surface); margin-block-end: var(--sp-2); position: relative; z-index: 1; }
.pt-step.done .pt-step-n { border-color: var(--accent); color: var(--accent-text); }
.pt-step.now .pt-step-n { border-color: var(--attn); color: var(--attn); background: var(--attn-soft); }
.pt-step.late .pt-step-n { border-color: var(--unfav); color: var(--unfav); background: var(--unfav-soft); }
.pt-step b { font-size: 14px; color: var(--heading); }
.pt-step-v { font-weight: 800; font-size: 15px; color: var(--text); }
.pt-step-s { font-size: 12px; color: var(--muted); }
.pt-step.late .pt-step-s { color: var(--unfav); font-weight: 700; }
.pt-month-foot { display: flex; align-items: center; gap: 6px; margin: 10px 18px var(--sp-4); padding-block-start: var(--sp-3); border-block-start: 1px dashed var(--line); font-size: 12px; color: var(--muted); }

.pt-chgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-3); padding: var(--sp-4); }
.pt-ch { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface); color: var(--text); font-family: var(--font); text-align: start; cursor: pointer; }
.pt-ch:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.pt-ch.hot { background: var(--accent-soft); border-color: var(--accent-soft-2); }
.pt-ch-top { display: flex; align-items: flex-start; gap: var(--sp-2); }
.pt-ch-top b { flex: 1; font-size: 15px; line-height: 1.4; color: var(--heading); }
.pt-ch-no { height: 26px; min-width: 32px; padding: 0 6px; border-radius: var(--r-1); background: var(--info-soft); color: var(--heading); font: 700 11.5px/26px var(--font-fig); text-align: center; }
.pt-ch-last { margin: 0; flex: 1; font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.pt-ch-last em { font-style: normal; color: var(--text); font-weight: 700; }
.pt-ch-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); padding-block-start: var(--sp-2); border-block-start: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.pt-ch-dr { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--muted-2); }
.pt-ch-badge { position: absolute; inset-block-start: -8px; inset-inline-end: -8px; }

.pt-list { display: flex; flex-direction: column; }
.pt-rq { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-block-end: 1px solid var(--line-2); }
.pt-rq:last-child { border-block-end: 0; }
.pt-rq.late { background: var(--unfav-soft); }
.pt-rq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-rq-main b { font-size: 14px; line-height: 1.45; color: var(--heading); }
.pt-rq-d { font-size: 12.5px; color: var(--muted); white-space: pre-wrap; }
.pt-rq-s { font-size: 12px; color: var(--muted); }
.pt-late { color: var(--unfav); font-weight: 700; }
.pt-rq-act { display: flex; gap: 6px; align-items: center; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.pt-fl { display: flex; align-items: center; gap: var(--sp-3); padding: 11px var(--sp-4); border-block-end: 1px solid var(--line-2); min-width: 0; }
.pt-fl:last-child { border-block-end: 0; }
.pt-fl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-fl-n { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-fl-s { font-size: 12px; color: var(--muted); }
.pt-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: var(--sp-4); }
.pt-team .cx-muted { grid-column: 1 / -1; }
.pt-tm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-tm div { display: flex; flex-direction: column; min-width: 0; }
.pt-tm b { font-size: 14px; color: var(--heading); }
.pt-tm span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* archive (C5) */
.pt-crumbbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); padding: var(--sp-3) var(--sp-4); }
.pt-crumb { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-crumb > .ic { color: var(--muted); }
.pt-crumb-p { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--sp-2); font: 500 13px/1.3 var(--font-fig); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; justify-content: flex-start; }
.pt-crumb-p i { font-style: normal; color: var(--muted-2); }
.pt-crumb-p b { color: var(--heading); }
.pt-crumb-s { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pt-arc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.pt-filters { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 10px; }
.pt-filter { display: flex; align-items: center; gap: var(--sp-2); height: var(--control-h); padding: 0 var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface); color: var(--muted); min-width: 0; cursor: pointer; }
.pt-filter:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.pt-filter-l { font-size: 12.5px; white-space: nowrap; }
.pt-sel { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font); font-weight: 700; font-size: 13px; color: var(--text); cursor: pointer; padding: 6px 0; }
.pt-sel option { background: var(--surface); color: var(--text); }
.pt-card-h .pt-sel { height: var(--control-h); border: 1px solid var(--line); border-radius: var(--r-1); padding: 0 10px; flex: none; }
.pt-sel:focus { outline: 0; }
.pt-card-h .pt-sel:focus-visible { box-shadow: var(--focus); }
.pt-search-in { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-family: var(--font); font-size: 13px; color: var(--text); }
.pt-search-in::placeholder { color: var(--muted-2); }
.pt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); overflow: hidden; }
.pt-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px; border: 0; border-inline-start: 1px solid var(--line); background: none; color: var(--text); font-family: var(--font); cursor: pointer; text-align: start; min-width: 0; }
.pt-stat:first-child { border-inline-start: 0; }
.pt-stat:hover { background: var(--surface-3); }
.pt-stat.on { background: var(--accent-soft); }
.pt-stat-l { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pt-stat-l i { width: 8px; height: 8px; border-radius: 2px; background: var(--muted-2); }
/* file kinds: data tints from the closed palette (the word is always written next to the swatch) */
.pt-stat-l i.all { background: var(--heading); } .pt-stat-l i.pdf { background: var(--unfav); } .pt-stat-l i.image { background: var(--chart-3); }
.pt-stat-l i.excel { background: var(--accent); } .pt-stat-l i.other { background: var(--attn); }
.pt-stat b { font: 700 26px/1 var(--font-fig); color: var(--heading); }
.pt-results { display: flex; flex-direction: column; transition: opacity .15s; }
.pt-results.pt-dim { opacity: .5; }
.pt-tblwrap { overflow-x: auto; }
.pt-tbl { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--text); }
.pt-tbl th { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: start; padding: 10px var(--sp-3); border-block-end: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.pt-tbl td { padding: 10px var(--sp-3); border-block-end: 1px solid var(--line-2); vertical-align: middle; white-space: nowrap; }
.pt-tbl tr:last-child td { border-block-end: 0; }
.pt-tbl tbody tr:hover td { background: var(--surface-3); }
.pt-tbl td.mono, .pt-tbl td.num { font-size: 12.5px; }
.pt-tbl b { color: var(--heading); }
.pt-td-name { width: 40%; max-width: 0; white-space: normal; }
.pt-fn { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-fn-n { font-size: 13px; font-weight: 700; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.pt-td-ch { color: var(--muted); }
.pt-who { display: inline-flex; align-items: center; gap: 6px; }
.pt-who .pt-tag { margin: 0; font-size: 10.5px; color: var(--accent-text); font-weight: 700; }
.pt-td-act { display: flex; gap: 6px; justify-content: flex-end; }
.pt-pager { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-block-start: 1px solid var(--line); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pt-pages { display: inline-flex; gap: var(--sp-1); padding: 3px; background: var(--surface-2); border-radius: var(--r-1); }
.pt-pages button, .pt-pages span { min-width: 34px; height: 34px; border: 0; border-radius: var(--r-1); background: none; font: 700 12px/34px var(--font-fig); color: var(--muted); cursor: pointer; text-align: center; }
.pt-pages button.on { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.pt-results > .pt-soon { padding: 0 var(--sp-4) var(--sp-3); }
.pt-folders { position: sticky; inset-block-start: 0; display: flex; flex-direction: column; }
/* the folder tree mirrors Drive paths: an explicitly LTR block (physical sides are fine inside it) */
.pt-tree { display: flex; flex-direction: column; gap: 1px; padding: 10px var(--sp-2); direction: ltr; }
.pt-node { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline-end: var(--sp-2); border: 0; border-radius: var(--r-1); background: none; font: 500 12.5px/1 var(--font-fig); color: var(--text); cursor: pointer; text-align: start; width: 100%; min-width: 0; }
.pt-node:hover { background: var(--surface-3); }
.pt-node.on { background: var(--accent-soft); font-weight: 700; }
.pt-node.on .ic { color: var(--accent-text); }
.pt-node > .ic:first-child { color: var(--muted-2); }
.pt-node-sp { width: 13px; flex: none; }
.pt-node-l { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; unicode-bidi: plaintext; }
.pt-node-c { font-size: 11px; color: var(--muted-2); }
.pt-node-empty { font-family: var(--font); font-size: 11.5px; color: var(--muted-2); padding: 2px 0 4px 52px; text-align: left; unicode-bidi: plaintext; }
.pt-node.ro { height: auto; padding: var(--sp-2) 10px; margin-block-start: 6px; background: var(--attn-soft); cursor: default; align-items: flex-start; }
.pt-node.ro .pt-node-l { display: flex; flex-direction: column; gap: 3px; white-space: normal; }
.pt-node.ro small { font-family: var(--font); font-size: 11.5px; color: var(--attn); text-align: left; unicode-bidi: plaintext; }
.pt-usage { border-block-start: 1px solid var(--line); padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pt-usage-r { display: flex; justify-content: space-between; }
.pt-usage-r b { font-family: var(--font-fig); color: var(--heading); }
.pt-usage p { margin: var(--sp-1) 0 0; font-size: 12px; line-height: 1.7; }

/* reports */
.pt-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.pt-chart { border: 1px solid var(--line-2); border-radius: var(--r-1); padding: var(--sp-3); min-width: 0; }
.pt-chart-h { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); margin-block-end: var(--sp-2); flex-wrap: wrap; font-size: 13px; }
.pt-chart-h b { color: var(--heading); }
.pt-legend { display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
.pt-legend span { display: inline-flex; align-items: center; gap: var(--sp-1); }
.pt-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
/* brand charts: emerald bars, the selected period in green, the second series a light tint */
.pt-legend i.s, .pt-bars .bar i.s { background: var(--heading); }
.pt-legend i.c, .pt-bars .bar i.c { background: var(--chart-3); }
.pt-bars .bar.pt-on i.s { background: var(--accent); }
.pt-bars { height: 160px; gap: var(--sp-1); }
.pt-bars .bar { cursor: pointer; }
.pt-bars .bar .stack { background: var(--surface-2); border-radius: var(--r-1) var(--r-1) 0 0; }
.pt-bars .bar span { font-family: var(--font); font-size: 10px; color: var(--muted); white-space: nowrap; }
.pt-bars .bar .pt-bar-n { font-family: var(--font-fig); color: var(--heading); font-weight: 700; min-height: 15px; }
.pt-bars .bar.pt-on .stack { outline: 2px solid var(--accent); outline-offset: 1px; }
.pt-bars .bar.pt-on > span:last-child { color: var(--heading); font-weight: 700; }
.pt-tbl tr.pt-click { cursor: pointer; }
.pt-tbl tr.pt-on td { background: var(--accent-soft); }
/* the month's T-account: your messages | FAHEEM messages */
.pt-acct { margin: var(--sp-3) var(--sp-4) var(--sp-2); }
.pt-acct > div { display: flex; flex-direction: column; gap: 2px; }
.pt-acct-l { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pt-acct b { font: 700 22px/1.2 var(--font-fig); color: var(--heading); }

/* company team + settings */
.pt-members { display: flex; flex-direction: column; }
.pt-member, .pt-session { display: flex; align-items: center; gap: var(--sp-3); padding: 14px var(--sp-4); border-block-end: 1px solid var(--line-2); }
.pt-member:last-child, .pt-session:last-child { border-block-end: 0; }
.pt-member.off { opacity: .6; }
.pt-member-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pt-member-main b { font-size: 14.5px; color: var(--heading); }
.pt-member-main > span { font-size: 12px; color: var(--muted); }
.pt-member-side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-2); }
.pt-chips2 { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.card-b > .pt-session { padding: 10px 0; }
.pt-session.on b { color: var(--accent-text); }
/* device icon: a plain icon, no tinted tile (brand 05.2) */
.pt-dev { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--heading); }
.pt-roles { display: flex; flex-direction: column; gap: var(--sp-2); }
.pt-role { display: flex; gap: 10px; align-items: flex-start; padding: 10px var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-1); cursor: pointer; }
.pt-role.on { border-color: var(--accent); background: var(--accent-soft); }
.pt-role input { margin-block-start: var(--sp-1); accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.pt-role > span { display: flex; flex-direction: column; }
.pt-role b { font-size: 14px; color: var(--heading); }
.pt-role span span { font-size: 12px; color: var(--muted); }
.pt-profile { display: flex; align-items: center; gap: var(--sp-3); }
.pt-profile > div { display: flex; flex-direction: column; }
.pt-profile b { color: var(--heading); }
.pt-profile span { font-size: 12.5px; color: var(--muted); }
.pt-kv { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 7px 0; border-block-end: 1px dashed var(--line-2); font-size: 13.5px; }
.pt-kv > span { color: var(--muted); }
.pt-kv > b { color: var(--text); }
.pt-perms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pt-perms li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted-2); }
.pt-perms li.ok { color: var(--text); }
.pt-perms li.ok .ic { color: var(--accent-text); }

@media (max-width: 1280px) {
  .pt-home { grid-template-columns: minmax(0, 1fr) 340px; }
  .pt-arc { grid-template-columns: minmax(0, 1fr) 260px; }
  .pt-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .pt-home, .pt-arc { grid-template-columns: 1fr; }
  .pt-folders { position: static; }
  .pt-charts { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pt-grid { grid-template-columns: 1fr; }
  .pt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .pt-step:nth-child(2)::after { display: none; }
  .pt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-kpi:nth-child(3) { border-inline-start: 0; }
  .pt-kpi:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .pt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-stat:nth-child(4) { border-inline-start: 0; }
  .pt-stat:nth-child(n+4) { border-block-start: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .pt-page .page-h h1 { font-size: 21px; }
  .pt-filters { grid-template-columns: 1fr; }
  .pt-chgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--sp-3); gap: 10px; }
  .pt-ch { min-height: 128px; padding: var(--sp-3); }
  .pt-team { grid-template-columns: 1fr; }
  .pt-rq { flex-wrap: wrap; padding: var(--sp-3); }
  .pt-rq-act { width: 100%; padding-inline-start: 38px; justify-content: flex-start; }
  .pt-member { padding: var(--sp-3); flex-wrap: wrap; }
  .pt-member-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; padding-inline-start: 56px; flex-wrap: wrap; }
  .pt-crumb-s { display: none; }
  .pt-td-name { min-width: 220px; }
  .pt-bars { height: 130px; }
  .pt-bars .bar span { font-size: 9px; }
  .pt-big b { font-size: 24px; }
  .pt-perms { grid-template-columns: 1fr; }
}
