.payapp-project{--pa-bg:var(--panel,#202126);--pa-soft:var(--surface,#26272d);--pa-line:var(--line,#383a41);--pa-ink:var(--ink,#f2f3f5);--pa-muted:var(--muted,#acafb8);--pa-accent:var(--red,#b3403d);color:var(--pa-ink);width:100%;max-width:1800px;min-width:0;margin:22px auto;font:13px/1.5 system-ui,sans-serif}
.payapp-project *{box-sizing:border-box}.payapp-project [hidden]{display:none!important}.payapp-project button{font:650 12px/1.4 system-ui,sans-serif;cursor:pointer;min-height:34px;padding:7px 11px;border:1px solid var(--pa-line);border-radius:7px;color:var(--pa-ink);background:var(--pa-soft);box-shadow:none;white-space:nowrap}.payapp-project button:hover:not(:disabled){border-color:var(--pa-muted)}.payapp-project button:disabled{opacity:.46;cursor:default}.payapp-project button.pa-primary{background:var(--pa-accent);border-color:var(--pa-accent);color:#fff}.payapp-project button:focus-visible,.payapp-project input:focus-visible,.payapp-project select:focus-visible,.payapp-project textarea:focus-visible,.pa-table-scroll:focus-visible{outline:2px solid #7f9ee5;outline-offset:3px}.payapp-project h1{font-size:17px;line-height:1.45;margin:0;border-left:4px solid var(--pa-accent);padding-left:12px;font-weight:800;overflow-wrap:anywhere}.payapp-project h2{font-size:16px;line-height:1.5;margin:0;font-weight:750}.payapp-project h3{font-size:14px;margin:22px 0 10px}.pa-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.pa-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.pa-actions select{min-width:205px;max-width:300px;min-height:38px;border:1px solid var(--pa-line);border-radius:7px;background:var(--pa-soft);color:var(--pa-ink);padding:8px 10px;font:13px/1.4 system-ui,sans-serif}.pa-status{white-space:pre-wrap;font-size:13px;line-height:1.6;margin:10px 0;color:var(--pa-ink)}.pa-status:empty,.pa-recovery:empty{display:none}.pa-recovery{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.pa-panel{padding:18px;border:1px solid var(--pa-line);border-radius:10px;background:var(--pa-bg);min-width:0}.pa-lock-notice{background:color-mix(in srgb,var(--pa-accent) 14%,var(--pa-bg));color:var(--pa-ink);border:1px solid color-mix(in srgb,var(--pa-accent) 55%,var(--pa-line));border-radius:8px;padding:11px 14px;margin:0 0 20px;line-height:1.6;font-size:12px;font-weight:600}.pa-summary{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px 20px;margin:12px 0 18px}.pa-metric{display:flex;flex-direction:column;gap:4px}.pa-metric>span{font-size:11px;color:var(--pa-muted)}.pa-metric>strong{font-size:17px;line-height:1.3;font-weight:800;font-variant-numeric:tabular-nums}.pa-allocation{font-size:12px;font-weight:750;line-height:1.6}.pa-positive{color:#4b9256}.pa-warning{color:#bb7825}.pa-dates{display:flex;gap:16px;margin-left:auto}.pa-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:600;color:var(--pa-muted);margin:0}.payapp-project input,.payapp-project textarea{width:100%;min-width:0;min-height:34px;border:1px solid var(--pa-line);border-radius:6px;background:var(--pa-soft);color:var(--pa-ink);padding:7px 9px;font:400 12px/1.4 system-ui,sans-serif}.payapp-project input:disabled,.payapp-project textarea:disabled{opacity:.85}.payapp-project textarea{resize:vertical;min-height:34px;white-space:pre-wrap;overflow-wrap:anywhere}.pa-dates input{width:160px;min-height:40px;font-size:13px}.pa-help{font-size:11px;color:var(--pa-muted);line-height:1.7;margin:10px 0}.pa-table-scroll{width:100%;max-width:100%;overflow:auto;min-width:0;margin:12px 0;overscroll-behavior-x:contain}.pa-table{width:100%;border-collapse:collapse;min-width:1130px;table-layout:fixed}.pa-table th{font-size:10px;line-height:1.45;text-align:right;text-transform:uppercase;letter-spacing:.02em;color:var(--pa-muted);padding:11px 7px;border-bottom:1px solid var(--pa-line);white-space:normal;font-weight:700;vertical-align:middle}.pa-table th:nth-child(1){width:60px;text-align:left}.pa-table th:nth-child(2){width:29%;text-align:left}.pa-table th:nth-child(3){width:105px;border-left:2px solid var(--pa-line)}.pa-table th:nth-child(4){width:108px}.pa-table th:nth-child(5){width:106px}.pa-table th:nth-child(6){width:114px}.pa-table th:nth-child(7){width:75px}.pa-table th:nth-child(8){width:110px}.pa-table th:nth-child(9){width:100px}.pa-table th:last-child{width:80px}.pa-table td{font-size:12px;padding:5px 7px;border-bottom:1px solid color-mix(in srgb,var(--pa-line) 65%,transparent);line-height:1.5;vertical-align:middle;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pa-table td:nth-child(3){border-left:2px solid var(--pa-line)}.pa-table .pa-money{text-align:right;white-space:nowrap}.pa-table input{text-align:right;min-height:32px;padding:5px 8px;font-variant-numeric:tabular-nums}.pa-table textarea{text-align:left;padding:5px 8px;min-height:32px}.pa-description small{display:block;color:var(--pa-muted);font-size:10px;line-height:1.6}.pa-description strong{font-weight:750}.pa-row-number>span{font-weight:750;font-size:11px;white-space:nowrap}.pa-grip{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;padding:2px;color:var(--pa-muted);cursor:grab;min-width:19px;min-height:26px;font-size:18px!important}.pa-table .pa-row-actions{white-space:nowrap;text-align:right;padding:4px 2px}.pa-row-actions button{min-width:24px;min-height:28px;padding:3px 5px;border:0;background:transparent;font-size:13px}.pa-row-actions button.pa-remove{font-size:18px;color:var(--pa-accent)}.pa-percent input{display:inline-block;width:calc(100% - 13px);max-width:65px;padding-left:3px;padding-right:3px}.pa-percent>span{padding-left:3px}.pa-total{font-weight:750}.pa-table .pa-section-row>th{border:0!important;border-top:22px solid var(--pa-bg)!important;border-radius:7px;text-align:left;background:#111317;color:#f3f4f6;padding:10px 12px;font-size:11px;font-weight:800}.pa-table .pa-empty{text-align:left;color:var(--pa-muted);font-size:12px;padding:16px 8px;white-space:normal;border-left:0}.pa-table .pa-totals td,.pa-table .pa-totals th{font-size:12px;font-weight:800;color:var(--pa-ink);background:var(--pa-soft);padding:11px 7px;border-top:17px solid var(--pa-bg);border-bottom:0}.pa-table .pa-totals th{text-align:left}.pa-table.pa-sov{min-width:680px}.pa-table.pa-sov th:nth-child(2){width:auto}.pa-table.pa-sov th:nth-child(3){width:140px}.pa-table.pa-sov th:nth-child(4){width:145px}.pa-table.pa-sov th:last-child{width:88px}.pa-net{text-align:right;font-size:12px;margin:14px 0;font-variant-numeric:tabular-nums}.pa-panel-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px;border-top:1px solid var(--pa-line);padding-top:12px}.pa-panel-footer>.pa-help{margin-right:auto}.pa-overlay{position:fixed;inset:0;background:#0009;z-index:1100;display:flex;align-items:center;justify-content:center;overflow:auto;padding:24px}.pa-dialog{width:min(520px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:20px;border:1px solid var(--pa-line);border-radius:10px;background:var(--pa-bg);box-shadow:0 18px 70px #0007}.pa-dialog-wide{width:min(1000px,100%)}.pa-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--pa-line);padding-bottom:14px;margin-bottom:18px}.pa-dialog-head button{padding:5px 8px;min-height:30px}.pa-dialog .pa-field{margin:14px 0}.pa-dialog .pa-field>span{text-transform:uppercase;font-size:10px;letter-spacing:.035em}.pa-dialog input[type=number]{max-width:130px}.pa-dialog input[type=date],.pa-dialog input[type=month]{max-width:200px}.pa-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.pa-checkbox{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;margin:14px 0}.pa-checkbox input{width:16px;min-width:16px;height:16px;min-height:16px;margin:2px 0;accent-color:var(--pa-accent)}.pa-publication{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--pa-line)}.pa-publication>div{flex:1;min-width:0}.pa-publication strong,.pa-publication small{display:block;overflow-wrap:anywhere}.pa-publication small{font-size:11px;color:var(--pa-muted);margin-top:4px}.pa-history-entry{border-bottom:1px solid var(--pa-line);padding:12px 0}.pa-history-entry p{font-size:11px;color:var(--pa-muted);margin:5px 0;overflow-wrap:anywhere}
@media(min-width:1650px){.pa-table th:nth-child(2){width:33%}.pa-table th:last-child{width:85px}}
@media(max-width:1200px){.pa-header{align-items:flex-start;flex-direction:column;gap:14px}.pa-actions{justify-content:flex-start;width:100%}.pa-dates{margin-left:auto}.pa-table th:nth-child(2){width:310px}}
@media(max-width:650px){.payapp-project{margin:14px auto}.payapp-project h1{font-size:16px}.pa-header{gap:12px}.pa-actions{gap:6px}.pa-actions select{width:100%;max-width:none}.pa-actions>button{flex:1;min-height:36px}.pa-actions>.pa-primary{flex-basis:100%}.pa-panel{padding:13px 10px}.pa-summary{gap:14px 18px;margin-top:6px}.pa-metric>strong{font-size:16px}.pa-allocation{flex-basis:100%}.pa-dates{margin-left:0;width:100%;gap:10px}.pa-dates .pa-field{flex:1}.pa-dates input{width:100%;font-size:12px}.pa-lock-notice{padding:10px;font-size:11px;margin-bottom:16px}.pa-table-scroll{margin:12px 0;max-height:70vh}.pa-table{min-width:1090px}.pa-table.pa-sov{min-width:680px}.pa-table th:nth-child(2){width:270px}.pa-table thead th{position:sticky;top:0;z-index:1;background:var(--pa-bg)}.pa-panel-footer{justify-content:flex-start}.pa-panel-footer>.pa-help{flex-basis:100%;margin:0}.pa-panel-footer>button{flex:1}.pa-overlay{padding:8px}.pa-dialog{max-height:calc(100dvh - 16px);padding:15px}.pa-publication{gap:7px;flex-wrap:wrap}.pa-publication>div{flex-basis:100%}.pa-publication>button{flex:1}.pa-net{text-align:left;line-height:1.7}.pa-net strong{display:block}.pa-help{font-size:11px}}
@media print{.pa-actions,.pa-panel-footer,.pa-recovery,.pa-overlay,.pa-row-actions,.pa-grip,.pa-status{display:none!important}.pa-table-scroll{overflow:visible;max-height:none}.pa-table{min-width:0;font-size:9px}.payapp-project{max-width:none}.pa-panel{padding:0;border:0}.payapp-project input,.payapp-project textarea{border:0;background:transparent}.pa-table thead{display:table-header-group}.pa-table tr{break-inside:avoid}}
