.project-cover{background:linear-gradient(135deg,var(--card),color-mix(in srgb,var(--primary) 10%,var(--card)));overflow:hidden}.project-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.project-metric{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px;border-radius:18px;background:color-mix(in srgb,var(--bg) 55%,transparent)}.project-metric strong{font-size:clamp(17px,5vw,25px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.project-metric small{opacity:.75}.project-progress{margin:16px 0}.project-progress .row{font-size:13px;margin-bottom:8px}.project-tabs{display:flex;gap:6px;overflow-x:auto;padding:6px 0 14px;scrollbar-width:none}.project-tabs button{flex:0 0 auto;border-radius:20px}.project-tabs .active{background:var(--primary);color:var(--bg)}.project-milestone{padding:18px 0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}.project-milestone:last-child{border:0}.project-milestone .row{gap:10px;flex-wrap:wrap}.project-thumb{width:100%;max-height:260px;object-fit:contain;border-radius:14px;background:#ffffff10}.project-pdf{font-weight:800;font-size:30px;padding:28px;border-radius:14px;background:#3978ff20}.project-icon svg{width:32px;height:32px}.project-docs{display:grid;gap:8px}.project-milestone .split{flex-wrap:wrap}.project-metric span:empty{display:none}
.project-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin:0 0 14px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.project-breadcrumb button{font-size:12px;padding:7px;max-width:100%;overflow-wrap:anywhere;text-align:start;min-height:38px}.project-breadcrumb button+button::before{content:'›';display:inline-block;margin-inline-end:10px;color:var(--muted)}[dir=rtl] .project-breadcrumb button+button::before{content:'‹'}.project-breadcrumb [aria-current=page]{color:var(--primary);font-weight:750}.flow-heading{align-items:flex-start;margin-top:20px}.flow-heading h2{font-size:26px;margin:7px 0;overflow-wrap:anywhere}.flow-heading .sub{margin-bottom:0}.flow-next{display:flex;gap:12px;background:var(--active-bg);border:1px solid var(--primary);padding:18px;border-radius:22px;margin:24px 0 14px}.flow-step{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-weight:bold}.flow-next p{line-height:1.7;margin:8px 0 14px}.flow-next strong{font-size:17px}.flow-child h3{font-size:21px;margin:14px 0}.flow-open{width:100%;margin-top:20px}.flow-icon svg{width:26px;height:26px;color:var(--primary)}.flow-empty{padding:10px 18px;color:var(--muted);line-height:1.7;font-size:14px}.flow-details>summary{font-weight:650;cursor:pointer;line-height:1.6;padding:4px 0}.flow-details[open]>summary{margin-bottom:18px}.flow-metrics{gap:8px}.flow-metrics .project-metric{padding:12px;border:1px solid var(--line)}.flow-due-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.flow-due-row small{display:block;color:var(--muted);margin-top:5px}.flow-form-context{background:var(--active-bg);border-radius:14px;padding:13px;color:var(--primary);overflow-wrap:anywhere;line-height:1.6}.flow-schedule-item .project-milestone{padding:0}.flow-schedule-item:focus{outline:2px solid var(--primary);outline-offset:3px}.flow-heading>div{min-width:0}.flow-heading>.text{flex-shrink:0}.flow-back{margin-inline-start:-5px}

.delete-toolbar{display:flex;justify-content:flex-end;margin-bottom:18px}.transaction-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:-4px;margin-bottom:8px}.danger-text{color:var(--red)!important}.transaction-actions button{min-height:44px}.transaction-record{border-bottom:1px solid var(--line)}
