.project-tools{--pt-bg:#071c35;--pt-card:#102943;--pt-line:#29415a;--pt-soft:#b6c7d6;--pt-accent:#d5fa47;color:#fff;font-family:'Segoe UI',Arial,sans-serif;padding:clamp(18px,3vw,42px);max-width:1500px;margin:auto;scroll-margin-top:90px}.project-tools *,.pt-report *{box-sizing:border-box}.pt-hub-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}.pt-hub-header h2{font-size:clamp(26px,3vw,42px);letter-spacing:-.035em;line-height:1.1;margin:8px 0 12px;color:#fff}.pt-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:var(--pt-accent);margin:0 0 10px}.pt-intro{color:var(--pt-soft);font-size:15px;line-height:1.65;max-width:670px;margin:0}.pt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pt-hub-header>.pt-actions{justify-content:flex-end;max-width:400px}.pt-button{appearance:none;border:1px solid transparent;border-radius:8px;background:var(--pt-accent,#d5fa47);color:#10233a;font:700 12px/1.4 'Segoe UI',Arial,sans-serif;padding:11px 15px;cursor:pointer;text-decoration:none;min-height:42px;transition:background .15s,transform .15s}.pt-button:hover{background:#e2ff7d;transform:translateY(-1px)}.pt-button:focus-visible,.pt-card:focus-visible{outline:3px solid #d5fa47;outline-offset:3px}.pt-button-quiet{border-color:var(--pt-line,#425a71);background:#102943;color:#e8f0f8}.pt-button-quiet:hover{background:#1c3b58}.pt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pt-card{border:1px solid var(--pt-line);border-radius:12px;min-height:230px;text-align:left;background:linear-gradient(135deg,#112d48,#0c223a);padding:24px;color:#fff;cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s,border-color .18s,background .18s}.pt-card:hover{transform:translateY(-3px);border-color:#8aa947;background:linear-gradient(135deg,#17384e,#102a41)}.pt-card-number{display:inline-flex;align-items:center;justify-content:center;color:var(--pt-accent);background:#203d46;border:1px solid #425845;border-radius:6px;width:37px;height:30px;font-size:12px;font-weight:800;letter-spacing:.06em}.pt-card h3{font-size:19px;line-height:1.25;margin:19px 0 9px;letter-spacing:-.02em;color:#fff}.pt-card p{font-size:13px;line-height:1.6;color:var(--pt-soft);margin:0 0 20px}.pt-card-link{font-size:12px;font-weight:700;color:var(--pt-accent);margin-top:auto}.pt-storage-note,.pt-number-hint{font-size:12px;line-height:1.65;color:#9db2c5;margin:24px 0 0}.pt-live{color:#e3f3b7;font-size:13px;line-height:1.6;margin:0}.pt-live:not(:empty){padding:12px 14px;background:#193c3e;border:1px solid #365b48;border-radius:8px;margin-bottom:16px}.pt-file{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.pt-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);gap:24px;align-items:start}.pt-form{min-width:0;border:1px solid var(--pt-line);border-radius:12px;background:#0b223b;padding:24px}.pt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.pt-field{min-width:0}.pt-field-wide{grid-column:1/-1}.pt-field label{display:block;font-size:12px;font-weight:650;line-height:1.5;color:#e8f0f7;margin-bottom:7px}.pt-field input,.pt-field select,.pt-field textarea{width:100%;min-height:43px;border:1px solid #3b526a;border-radius:7px;color:#fff;background:#071a2e;padding:10px 11px;font:400 14px/1.45 'Segoe UI',Arial,sans-serif;color-scheme:dark}.pt-field textarea{resize:vertical;min-height:86px}.pt-field input::placeholder,.pt-field textarea::placeholder{color:#7e96ad;opacity:1}.pt-field input:focus,.pt-field select:focus,.pt-field textarea:focus{outline:2px solid #d5fa47;outline-offset:2px;border-color:#d5fa47}.pt-field input[aria-invalid=true],.pt-field select[aria-invalid=true],.pt-field textarea[aria-invalid=true]{border-color:#ffb1a2}.pt-error{display:block;color:#ffc0b2;font-size:11px;line-height:1.5;margin-top:5px}.pt-error:empty{display:none}.pt-hint{display:block;color:#a5b9cc;font-size:11px;line-height:1.6;margin:6px 0 0}.pt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 12px}.pt-section-heading h3{font-size:16px;margin:0;color:#fff}.pt-entry-list{display:grid;gap:14px}.pt-entry{border:1px solid #2b435b;background:#0e2942;border-radius:9px;padding:16px}.pt-entry-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.pt-entry-heading strong{font-size:12px;color:#a7bdd0;letter-spacing:.03em}.pt-remove{background:transparent;border:0;color:#c8d8e5;padding:3px 5px;min-height:30px;font-size:11px}.pt-remove:hover{color:#fff;background:#29445b;transform:none}.pt-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pt-entry-fields>.pt-field:first-child{grid-column:1/-1}.pt-entry-quotes{grid-template-columns:repeat(3,minmax(0,1fr))}.pt-entry-quotes>.pt-field:first-child{grid-column:1/-1}.pt-entry-schedule>.pt-field:last-child,.pt-entry-notebook>.pt-field:last-child{grid-column:1/-1}.pt-add{margin-top:14px}.pt-suppliers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.pt-supplier{min-width:0;padding:12px;border:1px solid var(--pt-line);border-radius:8px}.pt-supplier h3{font-size:12px;color:#d5fa47;margin:0 0 15px}.pt-supplier .pt-field+.pt-field{margin-top:12px}.pt-tool-actions{border-top:1px solid var(--pt-line);padding-top:20px;margin-top:20px}.pt-results{position:sticky;top:100px;background:#112b43;border:1px solid #30465a;border-radius:12px;padding:23px;overflow:hidden}.pt-results h3{font-size:19px;letter-spacing:-.02em;margin:0 0 22px;color:#fff}.pt-results h4{font-size:12px;margin:22px 0 10px;color:#d4e1ec}.pt-metrics{display:grid;gap:13px}.pt-metric{padding:0 0 14px;border-bottom:1px solid #31495c}.pt-metric span{font-size:11px;line-height:1.5;color:#b7c9d8;display:block}.pt-metric strong{font-size:clamp(21px,2vw,28px);line-height:1.25;color:#e2ff80;display:block;margin-top:5px;overflow-wrap:anywhere;letter-spacing:-.03em}.pt-category{display:flex;justify-content:space-between;gap:12px;margin:10px 0;font-size:12px;line-height:1.5;color:#b9cbd9}.pt-category strong{color:#fff;text-align:right;white-space:nowrap}.pt-result-note{font-size:11px;line-height:1.7;color:#b2c4d3;margin:18px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.pt-saved{font-size:10px;color:#9bbaa5;margin:22px 0 0}.pt-empty{text-align:center;padding:16px 0 24px;color:#c9d7e2}.pt-empty-mark{display:block;font-size:42px;color:#d5fa47;margin-bottom:20px}.pt-empty p{font-size:15px;line-height:1.5}.pt-empty small{font-size:12px;line-height:1.6;display:block;color:#9eb3c6}.pt-notice{color:#f8d7a8;background:#493a26;border:1px solid #705536;border-radius:8px;padding:13px;font-size:12px;line-height:1.6;margin:0 0 16px}.pt-confirm{padding:20px;border:1px solid #d5fa47;border-radius:10px;background:#17334b;margin-bottom:20px}.pt-confirm h3{font-size:18px;margin:0 0 8px;color:#fff}.pt-confirm p{font-size:13px;color:#d3e0ea;line-height:1.6;margin:0 0 16px}.pt-undo{margin:0 0 18px;background:#213e49;color:#e2ff80;border-color:#536849}.pt-results progress{width:100%;height:10px;margin-top:18px;accent-color:#d5fa47}.pt-timeline{margin-top:22px}.pt-timeline h4{margin:0 0 5px}.pt-timeline-task{margin-top:14px}.pt-timeline-task>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:6px;color:#d4e0e9}.pt-timeline-task strong{font-weight:600;overflow-wrap:anywhere}.pt-timeline-task small{font-size:10px;color:#9fb6c8;white-space:nowrap}.pt-timeline svg{display:block;width:100%;height:10px}.pt-timeline-track{fill:#28445b}.pt-timeline-bar{fill:#9bbcf3}.pt-timeline-complete{fill:#d5fa47}.pt-report{color:#10253c;background:#e9eef2;width:min(1100px,95vw);max-height:94vh;border:0;padding:0;border-radius:12px;font-family:'Segoe UI',Arial,sans-serif}.pt-report::backdrop{background:#000c}.pt-report-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:16px 24px;position:sticky;top:0;background:#102943;z-index:1}.pt-report-actions p{font-size:12px;color:#d7e2eb;margin:0 auto 0 0}.pt-report-page{background:#fff;padding:clamp(22px,5vw,55px);color:#10253c}.pt-report-brand{font-size:10px;font-weight:800;letter-spacing:.15em;color:#617140;margin:0 0 24px}.pt-report-page h1{font-size:30px;letter-spacing:-.04em;margin:0 0 10px;line-height:1.2;color:#071c35}.pt-report-page h2{font-size:19px;font-weight:500;line-height:1.4;margin:0 0 12px;color:#31485d}.pt-report-date{font-size:11px;color:#6d7d88;margin-bottom:27px}.pt-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0}.pt-report-metrics>div{padding:15px;border:1px solid #d7e0e7;background:#f4f7f9;break-inside:avoid}.pt-report-metrics span{font-size:11px;color:#52677a;display:block}.pt-report-metrics strong{display:block;font-size:21px;line-height:1.3;margin-top:6px;overflow-wrap:anywhere}.pt-report table{width:100%;border-collapse:collapse;font-size:11px;margin:25px 0}.pt-report th{background:#102943;color:#fff;text-align:left;font-weight:600}.pt-report td,.pt-report th{border:1px solid #d5dfe6;padding:10px;overflow-wrap:anywhere;vertical-align:top}.pt-report td{white-space:pre-wrap}.pt-report tr{break-inside:avoid}.pt-report-note{font-size:11px;line-height:1.7;color:#43576a;white-space:pre-wrap;overflow-wrap:anywhere}.pt-report-page>h3{font-size:14px}.pt-report-page>p:not([class]){font-size:12px}.pt-report footer{border-top:1px solid #d5dfe6;margin-top:35px;padding-top:14px;font-size:9px;color:#6e8191}.pt-report .pt-timeline-task>div{color:#102943}.pt-report .pt-hint{color:#52677a}.pt-report .pt-timeline-track{fill:#e1e9ed}.pt-report .pt-timeline-bar{fill:#3e6891}.pt-report .pt-timeline-complete{fill:#829b27}@media(max-width:1150px){.pt-hub-header{flex-direction:column}.pt-hub-header>.pt-actions{justify-content:flex-start;max-width:none}.pt-workspace{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.pt-form{padding:18px}.pt-suppliers{grid-template-columns:1fr}.pt-supplier{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pt-supplier h3{grid-column:1/-1;margin-bottom:0}.pt-supplier .pt-field+.pt-field{margin-top:0}.pt-grid{gap:12px}.pt-card{padding:20px}}@media(max-width:850px){.pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-workspace{grid-template-columns:1fr}.pt-results{position:static;order:2}.pt-results .pt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-metric strong{font-size:24px}.pt-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-report-actions{flex-wrap:wrap;justify-content:flex-start}.pt-report-actions p{width:100%}.pt-report table{font-size:10px}.pt-report td,.pt-report th{padding:7px}}@media(max-width:520px){.project-tools{padding:18px 14px}.pt-grid{grid-template-columns:1fr}.pt-card{min-height:195px;padding:21px}.pt-card h3{font-size:20px;margin-top:14px}.pt-hub-header{gap:18px}.pt-hub-header>.pt-actions{gap:7px}.pt-hub-header>.pt-actions .pt-button{padding:10px;font-size:11px}.pt-form{padding:15px}.pt-fields{grid-template-columns:1fr}.pt-entry-fields,.pt-entry-quotes{grid-template-columns:1fr 1fr}.pt-entry-fields>.pt-field:first-child{grid-column:1/-1}.pt-entry{padding:13px}.pt-entry-schedule>.pt-field:last-child{grid-column:1/-1}.pt-supplier{grid-template-columns:1fr}.pt-results .pt-metrics{grid-template-columns:1fr}.pt-tool-actions .pt-button{flex:1 1 46%;font-size:11px;padding:10px 8px}.pt-report{width:98vw;border-radius:5px}.pt-report-page{padding:22px 14px}.pt-report-metrics{grid-template-columns:1fr}.pt-report table{font-size:9px;table-layout:fixed}.pt-report td,.pt-report th{padding:5px}.pt-report-page h1{font-size:25px}.pt-report-actions{padding:13px}}@media(prefers-reduced-motion:reduce){.pt-card,.pt-button{transition:none}.pt-card:hover,.pt-button:hover{transform:none}}@media print{body.pt-report-open>*:not(.pt-report){display:none!important}body.pt-report-open{background:#fff!important;margin:0!important}.pt-report[open]{display:block!important;position:static!important;max-height:none!important;overflow:visible!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important}.pt-report::backdrop,.pt-report-actions{display:none!important}.pt-report-page{padding:0!important}.pt-report table{font-size:9px;table-layout:auto}.pt-report thead{display:table-header-group}.pt-report td,.pt-report th{padding:7px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pt-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.pt-report-metrics>div{background:#f4f7f9!important}.pt-report .pt-timeline svg{height:10px;print-color-adjust:exact;-webkit-print-color-adjust:exact}@page{size:A4;margin:16mm}}

/* Formulários estreitos, paisagem e prévia legível sem reduzir a tabela. */
.project-tools,.pt-hub-header>div,.pt-workspace>*,.pt-report-page,.pt-report-metrics>div{min-width:0}
.pt-button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.pt-field input,.pt-field select,.pt-field textarea{min-width:0;max-width:100%}
.pt-metric span,.pt-category span,.pt-report-page h1,.pt-report-page h2,.pt-report-metrics span,.pt-report-metrics strong{overflow-wrap:anywhere}
.pt-category span{min-width:0;flex:1 1 auto}.pt-category strong{min-width:0;flex:0 1 55%;white-space:normal;overflow-wrap:anywhere}
.pt-report{max-height:94vh;max-height:94dvh;overflow:auto;overscroll-behavior:contain}
.pt-report-table-wrap{max-width:100%;overflow-x:auto;margin:25px 0;overscroll-behavior:contain}.pt-report-table-wrap table{margin:0}.pt-report-table-wrap:focus-visible{outline:2px solid #849a26;outline-offset:3px}
@media(max-width:520px){.pt-field input,.pt-field select,.pt-field textarea{font-size:16px}.pt-report table{font-size:11px}.pt-report .pt-report-wide-table{min-width:580px;table-layout:auto}.pt-report td,.pt-report th{padding:8px}}
@media(max-width:380px){.pt-entry-fields,.pt-entry-quotes{grid-template-columns:1fr}.pt-entry-fields>.pt-field{grid-column:1/-1}.pt-tool-actions .pt-button{flex-basis:100%}}
@media(max-height:600px) and (min-width:851px){.pt-results{position:static}}
@media print{.pt-report-table-wrap{overflow:visible!important;margin:22px 0}.pt-report .pt-report-wide-table{min-width:0!important;width:100%;table-layout:auto}.pt-report table{font-size:9px;table-layout:auto}.pt-report td,.pt-report th{padding:7px}}
