:root{--radius: 12px;--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary-foreground: 0 0% 100%;--secondary-foreground: 0 0% 100%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 201 96% 32%}.dark,[data-theme=dark]{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 201 96% 32%}:root{color-scheme:light dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:hsl(var(--background));color:hsl(var(--foreground))}*{box-sizing:border-box}body{margin:0;background:hsl(var(--background));color:hsl(var(--foreground))}button,input,select,textarea{font:inherit}.topolo-starter-workspace,.topolo-starter-card-stack{display:grid;gap:18px}.topolo-starter-card h2{margin:0 0 12px;font-size:24px;line-height:1.2}.topolo-starter-card p{margin:0;color:hsl(var(--muted-foreground));line-height:1.55}.topolo-starter-card{border:1px solid hsl(var(--border));border-radius:var(--radius);padding:20px;background:hsl(var(--card));color:hsl(var(--card-foreground))}.p2p-page{display:grid;gap:20px;padding:4px 4px 32px}.p2p-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.p2p-page-header h1{margin:0 0 4px;font-size:24px;line-height:1.2}.p2p-muted{margin:0;color:hsl(var(--muted-foreground));font-size:13px;line-height:1.5}.p2p-empty,.p2p-error,.p2p-flash{border-radius:var(--radius);padding:14px 16px;font-size:14px}.p2p-empty{border:1px dashed hsl(var(--border));color:hsl(var(--muted-foreground))}.p2p-error{border:1px solid hsl(var(--destructive));color:hsl(var(--destructive));background:hsl(var(--destructive) / .08)}.p2p-flash{border:1px solid hsl(var(--border));background:hsl(var(--muted))}.p2p-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;list-style:none;margin:0;padding:0}.p2p-card{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card))}.p2p-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.p2p-card-header h2{margin:0;font-size:16px;line-height:1.3}.p2p-card-description{margin:0;font-size:13px;color:hsl(var(--muted-foreground));line-height:1.5}.p2p-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0;font-size:12px}.p2p-card-meta div{display:grid;gap:2px}.p2p-card-meta dt{color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.04em;font-size:11px}.p2p-card-meta dd{margin:0}.p2p-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.p2p-badge-free{background:#248f472e;color:#1f7a3d}.p2p-badge-fixed,.p2p-badge-metered,.p2p-badge-quote,.p2p-badge-invoice{background:#256af42e;color:#0b50da}.p2p-state{display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.p2p-state-auto_accepted,.p2p-state-accepted,.p2p-state-completed{background:#248f4729;color:#1f7a3d}.p2p-state-approval_required,.p2p-state-quoted,.p2p-state-pending{background:#f99e1f2e;color:#a16512}.p2p-state-rejected,.p2p-state-disputed{background:#e236362e;color:#b31919}.p2p-table{width:100%;border-collapse:collapse;font-size:13px}.p2p-table th,.p2p-table td{text-align:left;padding:10px 12px;border-bottom:1px solid hsl(var(--border));vertical-align:top}.p2p-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:hsl(var(--muted-foreground));font-weight:600}.p2p-cell-primary{font-weight:500}.p2p-cell-secondary{font-size:12px;color:hsl(var(--muted-foreground))}.p2p-cell-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.p2p-row-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.p2p-amount-positive{color:#1f7a3d}.p2p-amount-negative{color:#c91d1d}.p2p-btn-primary,.p2p-btn-secondary,.p2p-btn-ghost{cursor:pointer;border-radius:var(--radius);padding:8px 14px;font-size:13px;font-weight:500;border:1px solid transparent;transition:background .12s ease,border-color .12s ease}.p2p-btn-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.p2p-btn-primary:disabled{opacity:.6;cursor:not-allowed}.p2p-btn-secondary{background:hsl(var(--card));color:hsl(var(--foreground));border-color:hsl(var(--border))}.p2p-btn-secondary:hover{background:hsl(var(--muted))}.p2p-btn-ghost{background:transparent;color:hsl(var(--foreground));border-color:hsl(var(--border))}.p2p-btn-ghost:hover{background:hsl(var(--muted))}.p2p-filter-row{display:flex;gap:8px;align-items:center}.p2p-select{border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground));border-radius:var(--radius);padding:6px 10px;font-size:13px}.p2p-form{display:grid;gap:16px;max-width:640px}.p2p-field{display:grid;gap:6px}.p2p-field input,.p2p-field textarea{border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground));border-radius:var(--radius);padding:8px 10px;font-size:13px}.p2p-field-label{font-weight:500;font-size:13px}.p2p-field-help{font-size:12px;color:hsl(var(--muted-foreground))}.p2p-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px}.p2p-form-actions{display:flex;gap:8px}.p2p-settlement-total{font-size:22px;font-weight:600}
