@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Montserrat:ital,wght@0,700;0,800;1,700;1,800&display=swap');

/* PALLETIS APS — styles des composants. Toutes les valeurs viennent de tokens.css. */
body { margin: 0; font-family: var(--font-ui); font-size: 15px; line-height: 22px; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
.pt-num { font-variant-numeric: tabular-nums; }
.pt-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.pt-col { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.pt-icon { display: inline-block; flex: none; vertical-align: middle; }

/* Button */
.pt-btn { font: inherit; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-5); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.pt-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-btn:disabled { opacity: .45; cursor: not-allowed; }
.pt-btn-sm { height: 32px; padding: 0 var(--space-3); font-size: 14px; }
.pt-btn-lg { height: var(--touch-target); padding: 0 var(--space-6); font-size: 16px; }
.pt-btn-block { display: flex; width: 100%; }
.pt-btn-primary { background: var(--green-strong); color: var(--on-green); }
.pt-btn-primary:hover { background: var(--green-text); }
.pt-btn-ai { background: var(--ai); color: var(--on-ai); box-shadow: var(--shadow-ai); }
.pt-btn-ai:hover { background: var(--ai-strong); }
.pt-btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.pt-btn-secondary:hover { background: var(--surface-sunken); }
.pt-btn-ghost { background: transparent; color: var(--ink); }
.pt-btn-ghost:hover { background: var(--surface-sunken); }
.pt-btn-danger { background: var(--danger); color: var(--on-danger); }
.pt-btn-create { background: var(--orange); color: var(--on-orange); }

/* Segmented */
.pt-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-md); background: var(--surface-sunken); border: 1px solid var(--line); }
.pt-seg button { font: inherit; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: var(--space-2); height: 34px; padding: 0 var(--space-4); border: 0; border-radius: 6px; background: transparent; color: var(--ink-muted); cursor: pointer; }
.pt-seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.pt-seg button[aria-pressed="true"] { background: var(--green-strong); color: var(--on-green); }
.pt-seg-ai button[aria-pressed="true"] { background: var(--ai); color: var(--on-ai); }

/* Pills */
.pt-pill { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 10px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pt-pill-success { background: var(--green-soft); color: var(--green-text); }
.pt-pill-danger { background: var(--danger-soft); color: var(--danger-text); }
.pt-pill-warning { background: var(--warning-soft); color: var(--warning-text); }
.pt-pill-info { background: var(--info-soft); color: var(--info-text); }
.pt-pill-ai { background: var(--ai-soft); color: var(--ai-text); }
.pt-pill-neutral { background: var(--surface-sunken); color: var(--ink-muted); }
.pt-ai-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--radius-full); background: var(--ai); color: var(--on-ai); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pt-ai-badge.pt-soft { background: var(--ai-soft); color: var(--ai-text); }

/* Card */
.pt-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-5); }
.pt-card-ai { background: var(--ai-soft); border-color: transparent; }
.pt-card-head { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); }
.pt-card-head h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; flex: 1; }
.pt-card-head .pt-icon { color: var(--green); }
.pt-card-ai .pt-card-head .pt-icon { color: var(--ai); }
.pt-card-sub { font-size: 15px; font-weight: 600; color: var(--ai-text); }

/* KPI */
.pt-kpi { display: flex; align-items: center; gap: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-4) var(--space-5); min-width: 200px; }
.pt-kpi-ico { color: var(--green); }
.pt-kpi-ico.ai { color: var(--ai); } .pt-kpi-ico.warning { color: var(--warning); } .pt-kpi-ico.info { color: var(--info); }
.pt-kpi-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.pt-kpi-value { font-size: 26px; line-height: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-kpi-delta { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--green-text); }
.pt-kpi-delta.down { color: var(--danger-text); }
.pt-kpi-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

/* Progress */
.pt-progress { height: 8px; border-radius: var(--radius-full); background: var(--surface-sunken); overflow: hidden; }
.pt-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.pt-progress.ai > span { background: var(--ai); } .pt-progress.warning > span { background: var(--warning); } .pt-progress.danger > span { background: var(--danger); }

/* Table */
.pt-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.pt-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.pt-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-muted); background: var(--surface-sunken); padding: 10px var(--space-3); white-space: nowrap; }
.pt-table td { padding: 10px var(--space-3); border-top: 1px solid var(--line); white-space: nowrap; }
.pt-table tr.sel td { background: var(--green-soft); }
.pt-table .r { text-align: right; }
.pt-table .b { font-weight: 600; }

/* Gantt */
.pt-gantt { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; }
.pt-gantt-grid { display: grid; min-width: 720px; font-size: 14px; }
.pt-gantt-hd { font-size: 13px; font-weight: 600; color: var(--ink-muted); background: var(--surface-sunken); padding: 10px var(--space-3); white-space: nowrap; }
.pt-gantt-day { text-align: center; padding: 10px 0; font-size: 12px; border-left: 1px solid var(--line); }
.pt-gantt-day.today { color: var(--danger-text); }
.pt-gantt-cell { padding: 10px var(--space-3); border-top: 1px solid var(--line); white-space: nowrap; display: flex; align-items: center; }
.pt-gantt-track { position: relative; border-top: 1px solid var(--line); background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / var(--days)) 100%; }
.pt-gantt-bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: var(--radius-full); background: var(--green); }
.pt-gantt-bar.ai { background: var(--ai); } .pt-gantt-bar.info { background: var(--info); } .pt-gantt-bar.warning { background: var(--warning); }
.pt-gantt-bar.proposed { background: repeating-linear-gradient(135deg, var(--ai) 0 6px, var(--ai-strong) 6px 12px); }
.pt-gantt-now { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--danger); pointer-events: none; }
.pt-gantt-now span { position: absolute; bottom: 4px; left: -40px; width: 80px; text-align: center; background: var(--danger); color: var(--on-danger); font-size: 12px; font-weight: 600; border-radius: 4px; padding: 2px 0; }

/* Stepper */
.pt-steps { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; font-size: 15px; }
.pt-step { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); font-weight: 500; }
.pt-step i { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--ink-muted); font-weight: 700; font-size: 14px; border: 1px solid var(--line-strong); }
.pt-step.done i { background: var(--green-strong); color: var(--on-green); border-color: transparent; }
.pt-step.current { color: var(--ink); font-weight: 600; }
.pt-step.current i { background: var(--ai); color: var(--on-ai); border-color: transparent; }
.pt-step.human.current i { background: var(--warning); color: var(--on-orange); }
.pt-step-sep { width: 32px; height: 1px; background: var(--line-strong); }

/* Banner */
.pt-banner { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 14px; line-height: 20px; }
.pt-banner .pt-icon { margin-top: 1px; }
.pt-banner-warning { background: var(--warning-soft); color: var(--warning-text); }
.pt-banner-ai { background: var(--ai-soft); color: var(--ai-text); }
.pt-banner-success { background: var(--green-soft); color: var(--green-text); }
.pt-banner-danger { background: var(--danger-soft); color: var(--danger-text); }
.pt-banner-info { background: var(--info-soft); color: var(--info-text); }
.pt-banner strong { display: block; color: inherit; }

/* Checklist + slider + field */
.pt-check { display: flex; align-items: center; gap: var(--space-3); min-height: 32px; font-size: 15px; cursor: pointer; }
.pt-check input { appearance: none; margin: 0; width: 20px; height: 20px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface-raised); display: grid; place-items: center; cursor: pointer; }
.pt-check input:checked { background: var(--green-strong); border-color: var(--green-strong); }
.pt-check input:checked::after { content: ""; width: 10px; height: 5px; border: solid var(--on-green); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.pt-check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-slider { display: grid; grid-template-columns: 1fr 120px 48px; align-items: center; gap: var(--space-3); font-size: 14px; }
.pt-slider input { accent-color: var(--green-strong); width: 100%; }
.pt-slider b { text-align: right; font-variant-numeric: tabular-nums; }
.pt-field { display: flex; align-items: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink-muted); }
.pt-field:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.pt-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.pt-field input::placeholder { color: var(--ink-muted); }
.pt-field kbd { font: 600 12px var(--font-ui); background: var(--surface-sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--ink-muted); }

/* Recommendation list */
.pt-reco { display: flex; flex-direction: column; gap: var(--space-4); }
.pt-reco-head { display: flex; gap: var(--space-4); align-items: flex-start; }
.pt-reco-head h3 { margin: 0 0 4px; font-size: 20px; line-height: 26px; font-weight: 600; }
.pt-reco-head p { margin: 0; color: var(--ink-muted); }
.pt-reco-orb { flex: none; width: 52px; height: 52px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--ai); color: var(--on-ai); }
.pt-reco ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.pt-reco li { display: flex; gap: var(--space-3); align-items: flex-start; }
.pt-reco li label { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; }
.pt-reco li .pt-icon { color: var(--green); margin-top: 1px; }
.pt-reco-gain { font-weight: 700; color: var(--green-text); }
.pt-reco-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pt-metrics { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pt-metric { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-2) var(--space-4); min-width: 104px; }
.pt-metric b { display: block; font-size: 22px; line-height: 28px; color: var(--ai-text); font-variant-numeric: tabular-nums; }
.pt-metric span { font-size: 12px; line-height: 16px; color: var(--ink-muted); }

/* AI approval dialog */
.pt-dialog { width: 100%; max-width: 560px; background: var(--surface-raised); border-radius: var(--radius-xl); box-shadow: var(--shadow-float); border: 1px solid var(--line); overflow: hidden; }
.pt-dialog-head { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-5) var(--space-5) var(--space-4); }
.pt-dialog-head h2 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; flex: 1; }
.pt-dialog-body { padding: 0 var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.pt-diff { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.pt-diff-row { display: grid; grid-template-columns: 1.3fr 1fr 18px 1fr; gap: var(--space-2); align-items: center; padding: 10px var(--space-3); font-size: 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pt-diff-row:first-child { border-top: 0; }
.pt-diff-row s { color: var(--ink-muted); }
.pt-diff-row b { color: var(--ai-text); }
.pt-dialog-why { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.pt-dialog textarea { width: 100%; box-sizing: border-box; min-height: 64px; font: inherit; font-size: 14px; padding: var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); resize: vertical; }
.pt-dialog textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.pt-dialog-foot { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; padding: var(--space-4) var(--space-5) var(--space-5); }
.pt-dialog-foot .grow { flex: 1; }
.pt-dialog-state { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-3) var(--space-5); font-weight: 600; font-size: 14px; }

/* Assistant */
.pt-chat { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; max-width: 380px; }
.pt-chat-head { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); border-bottom: 1px solid var(--line); }
.pt-chat-head b { display: block; font-size: 18px; line-height: 24px; color: var(--ai-text); }
.pt-chat-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); }
.pt-chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pt-chat-log { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.pt-msg { max-width: 88%; padding: var(--space-3); border-radius: var(--radius-lg); font-size: 14px; line-height: 20px; }
.pt-msg.ai { background: var(--ai-soft); color: var(--ink); border-top-left-radius: 4px; }
.pt-msg.me { align-self: flex-end; background: var(--green-strong); color: var(--on-green); border-top-right-radius: 4px; }
.pt-msg-action { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-2); }
.pt-msg-action small { font-size: 12px; color: var(--ai-text); font-weight: 600; }
.pt-chat-input { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-4); }
.pt-chat-input .pt-field { flex: 1; }
.pt-send { flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); border: 0; background: var(--ai); color: var(--on-ai); display: grid; place-items: center; cursor: pointer; }
.pt-send:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Decision log */
.pt-log { list-style: none; margin: 0; padding: 0; }
.pt-log li { display: grid; grid-template-columns: 32px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); align-items: start; font-size: 14px; line-height: 20px; }
.pt-log li:first-child { border-top: 0; }
.pt-log-dot { width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center; }
.pt-log-dot.ai { background: var(--ai-soft); color: var(--ai-text); }
.pt-log-dot.approved { background: var(--green-soft); color: var(--green-text); }
.pt-log-dot.rejected { background: var(--danger-soft); color: var(--danger-text); }
.pt-log-dot.modified { background: var(--warning-soft); color: var(--warning-text); }
.pt-log time { font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.pt-log p { margin: 2px 0 0; color: var(--ink-muted); }

/* Sidebar + top bar */
.pt-side { width: var(--sidebar-width); background: var(--nav); color: var(--nav-ink); padding: var(--space-4) var(--space-3); box-sizing: border-box; display: flex; flex-direction: column; gap: 2px; }
.pt-side a { display: flex; align-items: center; gap: var(--space-3); height: 42px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--nav-ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; min-width: 0; }
.pt-side a > span.lbl { overflow: hidden; text-overflow: ellipsis; }
.pt-side a:hover { background: var(--nav-raised); }
.pt-side a:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.pt-side a[aria-current="page"] { background: var(--green-strong); color: var(--on-green); font-weight: 600; }
.pt-side a .chev { margin-left: auto; opacity: .7; }
.pt-side hr { border: 0; border-top: 1px solid var(--nav-raised); margin: var(--space-2) 0; width: 100%; }
.pt-side a.ai .pt-icon { color: var(--ai); background: var(--nav-ink); border-radius: 6px; padding: 2px; }
.pt-top { display: flex; align-items: center; gap: var(--space-4); height: var(--topbar-height); padding: 0 var(--space-6); background: var(--surface-raised); border-bottom: 1px solid var(--line); box-sizing: border-box; }
.pt-top-logo { height: 52px; width: auto; }
.pt-top-brand { display: flex; flex-direction: column; border-left: 2px solid var(--green); padding-left: var(--space-4); }
.pt-top-brand b { font-family: var(--font-brand); font-style: italic; font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -.01em; }
.pt-top-brand b em { font-style: italic; background: var(--green-strong); color: var(--on-green); border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.pt-top-brand b em.ai { background: var(--ai); color: var(--on-ai); }
.pt-top-brand span { font-size: 13px; color: var(--ink-muted); }
.pt-top .spacer { flex: 1; }
.pt-top .pt-field { width: 360px; }
.pt-bell { position: relative; color: var(--ink); }
.pt-bell i { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--danger); color: var(--on-danger); font: 700 11px/18px var(--font-ui); text-align: center; font-style: normal; }
.pt-user { display: flex; align-items: center; gap: var(--space-3); }
.pt-avatar { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; font-weight: 700; }
.pt-user b { display: block; font-size: 15px; line-height: 20px; }
.pt-user small { font-size: 13px; color: var(--ink-muted); }

/* Mobile */
.pt-phone { width: 375px; height: 760px; border-radius: 40px; border: 10px solid var(--nav); background: var(--surface); overflow: hidden; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-float); }
.pt-appbar { display: flex; align-items: center; gap: var(--space-3); padding: 44px var(--space-4) var(--space-3); background: var(--nav); color: var(--nav-ink); }
.pt-appbar b { font-family: var(--font-brand); font-style: italic; font-weight: 800; font-size: 20px; flex: 1; }
.pt-appbar b em { font-style: italic; background: var(--green-strong); color: var(--on-green); border-radius: 5px; padding: 0 5px; margin-left: 3px; font-size: 16px; }
.pt-appbar button { width: 40px; height: 40px; border: 0; background: transparent; color: inherit; border-radius: var(--radius-md); display: grid; place-items: center; position: relative; }
.pt-appbar button i { position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; border-radius: 8px; background: var(--danger); color: var(--on-danger); font: 700 10px/16px var(--font-ui); font-style: normal; }
.pt-mbody { flex: 1; overflow: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.pt-mbody h1 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; }
.pt-tabs { display: flex; height: var(--tabbar-height); padding-bottom: 18px; background: var(--surface-raised); border-top: 1px solid var(--line); }
.pt-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-muted); text-decoration: none; min-height: var(--touch-target); position: relative; }
.pt-tabs a[aria-current="page"] { color: var(--green-text); }
.pt-tabs a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green-strong); }
.pt-tabs a.ai .pt-icon { background: var(--ai); color: var(--on-ai); border-radius: var(--radius-full); padding: 6px; margin-top: -14px; box-shadow: var(--shadow-ai); }
.pt-tabs a i { position: absolute; top: 4px; left: 54%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--ai); color: var(--on-ai); font: 700 10px/16px var(--font-ui); font-style: normal; text-align: center; }
.pt-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface-raised); border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-float); padding: var(--space-3) var(--space-4) 28px; display: flex; flex-direction: column; gap: var(--space-3); }
.pt-sheet::before { content: ""; align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.pt-scrim { position: absolute; inset: 0; background: #0b1f1f8c; }
.pt-mcard { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.pt-mcard-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font-size: 14px; }
.pt-mkpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.pt-mkpis .pt-kpi { min-width: 0; padding: var(--space-3); gap: var(--space-2); flex-direction: column; align-items: flex-start; }
.pt-mkpis .pt-kpi-value { font-size: 22px; line-height: 26px; }
.pt-offline { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; font-weight: 600; padding: 6px var(--space-4); background: var(--warning-soft); color: var(--warning-text); }
