.ptbg-wrap:has(.pt-request-grid){width:min(1550px,calc(100% - 32px));max-width:none;margin:24px auto}
.pt-request-head{margin-bottom:18px}
.pt-request-head h1{font-size:clamp(1.45rem,3vw,2rem);margin:0 0 5px}
.pt-request-head p{margin:0;color:#654f55}
.ptbg-form.pt-request-grid{display:grid;grid-template-columns:minmax(210px,1fr) minmax(330px,1.85fr) minmax(240px,1.08fr);gap:14px;align-items:start;background:#faf3f4;padding:14px;border-radius:14px}
.pt-request-panel,.pt-request-paper{min-width:0;background:#fff;border:1px solid #ecd6da;border-radius:12px;padding:15px}
.pt-request-panel h2{font-size:1rem;margin:0 0 13px}
.pt-request-panel .ptbg-grid{grid-template-columns:minmax(0,1fr);gap:9px}
.pt-request-panel .ptbg-btn{width:100%;margin-top:10px}
.pt-request-panel .ptbg-drop{padding:12px 8px}
.pt-request-panel .ptbg-drop-in small{line-height:1.45}
.pt-request-shop{display:inline-block;margin-top:12px;color:#89192b}
.pt-request-paper{padding:clamp(15px,2.6vw,34px);box-shadow:0 8px 22px #58172412;overflow-wrap:anywhere}
.pt-request-letterhead{display:grid;gap:3px;border-bottom:2px solid #9c1b30;padding-bottom:13px}
.pt-request-letterhead strong{font-size:clamp(1rem,1.8vw,1.3rem)}
.pt-request-letterhead span{color:#654f55;font-size:.85rem}
.pt-request-paper h2{font-size:clamp(1.12rem,2vw,1.5rem);margin:20px 0 14px;color:#791527;text-align:center}
.pt-request-recipient{padding:10px;background:#fcf1f3;border-left:3px solid #ac2336}
.pt-request-paper h3{font-size:1rem;margin-bottom:7px}
.pt-request-lines{list-style:decimal;padding-left:24px;margin:0}
.pt-request-lines li{padding:7px 0;border-bottom:1px solid #f1e4e6;white-space:pre-wrap}
.pt-request-meta dt{font-weight:700}
.pt-request-meta dd{margin:0 0 8px;white-space:pre-wrap}
@media(max-width:1000px){
 .ptbg-form.pt-request-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pt-request-paper{order:3;grid-column:1/-1}
}
@media(max-width:620px){
 .ptbg-wrap:has(.pt-request-grid){width:calc(100% - 20px);margin:14px auto}
 .ptbg-form.pt-request-grid{grid-template-columns:minmax(0,1fr);padding:8px}
 .pt-request-paper{order:0}
}
.pt-request-preview-jump{display:none}
.pt-request-paper h3 small{display:inline-block;color:#67444b;background:#fae8eb;border-radius:999px;padding:2px 7px;margin-left:5px;font-size:.74rem;font-weight:600}
.pt-request-table-wrap{overflow:auto;border:1px solid #ecd6da;border-radius:8px}
.pt-request-table{width:100%;border-collapse:collapse;font-size:.86rem;text-align:left;font-variant-numeric:tabular-nums}
.pt-request-table th,.pt-request-table td{padding:8px;border-bottom:1px solid #f0e0e3}
.pt-request-table th{background:#f8e7ea;color:#751627;white-space:nowrap}
.pt-request-table tr:last-child td{border-bottom:0}
.pt-request-table td:nth-child(n+3){white-space:nowrap}
@media(max-width:1000px){.pt-request-preview-jump{display:inline-block;margin-top:8px;color:#89192b}}
.ptbg-form.pt-request-grid{display:block}
.pt-request-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.85fr) minmax(0,1.1fr);gap:14px;align-items:start}
.pt-request-columns .pt-request-panel,.pt-request-columns .pt-request-paper{overflow-wrap:anywhere}
.pt-request-material>.ptbg-box{margin:0 0 12px}
.pt-request-material .ptbg-paste>label{display:block;font-weight:650;margin:0 0 5px}
.pt-request-table-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 7px}
.pt-request-table-heading h3{margin:0}
.pt-request-table-heading button{white-space:nowrap}
.pt-request-table td{padding:3px 5px}
.pt-request-table input{width:100%;min-width:3.4rem;padding:6px 5px;font:inherit;border:1px solid transparent;border-radius:4px;background:#fff}
.pt-request-table td:nth-child(2){width:65%}
.pt-request-table input:focus{outline:2px solid #9c1b30;outline-offset:-2px;border-color:#9c1b30}
@media(max-width:1000px){.pt-request-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pt-request-columns{grid-template-columns:minmax(0,1fr)}}
.pt-request-signoff{margin:16px 0 0;padding:12px;border:1px solid #ecd6da;border-radius:8px;background:#fff7f8}
.pt-request-signoff h3{margin:0 0 7px;color:#751627}
.pt-request-signoff dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0;font-size:.87rem}
.pt-request-signoff dt{font-weight:700}
.pt-request-signoff dd{margin:0}
.pt-request-picker{margin:0 0 14px;padding:10px;border:1px solid #ecd6da;border-radius:8px;background:#fff}
.pt-request-picker>label{display:block;font-size:.83rem;font-weight:650;margin:5px 0 3px}
.pt-request-picker>select,.pt-request-picker>input{width:100%;min-width:0;margin:0 0 5px;padding:7px;border:1px solid #d9c8cd;border-radius:6px;font:inherit}
.pt-request-product-list{max-height:206px;overflow:auto;overscroll-behavior:contain;margin-top:5px}
.pt-request-product-list label.pt-request-product{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;align-items:start;margin:0;padding:7px 2px;border-top:1px solid #f1e7e9;font-size:.79rem;line-height:1.4;cursor:pointer}
.pt-request-picker .pt-request-product input{width:16px;height:16px;margin:2px 0;accent-color:#ac2336}
.pt-request-picker .pt-request-picker-status{min-height:1.15em;font-size:.78rem;margin:6px 0 0}
.pt-request-jumps{display:none}
.ptbg-wrap:has(.pt-request-grid){max-width:1520px;margin-inline:auto}
.ptbg-form.pt-request-grid{background:#f7eff1;border:1px solid #ebd8dc}
.pt-request-columns{grid-template-columns:minmax(220px,1fr) minmax(390px,2.2fr) minmax(240px,1.08fr);gap:16px}
.pt-request-columns .pt-request-panel{padding:14px}
.pt-request-columns .pt-request-paper{padding:clamp(17px,2.4vw,36px);min-height:520px}
.pt-request-panel>h2{color:#881c32;padding-bottom:8px;border-bottom:1px solid #ead7db}
.pt-request-paper .pt-request-letterhead{grid-template-columns:1fr;text-align:right}
.pt-request-paper .pt-request-letterhead strong{color:#641326}
.pt-request-table-heading{align-items:center}
.pt-request-table{table-layout:fixed;min-width:0}
.pt-request-table th{white-space:normal}
.pt-request-table th:first-child{width:38px}
.pt-request-table th:nth-child(3){width:clamp(52px,6vw,88px)}
.pt-request-table th:nth-child(4){width:49px}
.pt-request-table th:last-child{width:34px}
.pt-request-table td:nth-child(2){width:auto}
.pt-request-table input,.pt-request-table textarea{display:block;width:100%;min-width:0;min-height:34px}
.pt-request-table textarea{padding:5px 6px;font:inherit;border:1px solid #e5cfd5;border-radius:5px;resize:vertical;field-sizing:content}
.pt-request-table input{border-color:#e5cfd5}
.pt-request-remove{width:29px;height:30px;border:1px solid #e8c6cc;border-radius:6px;background:#fff4f5;color:#84132c;cursor:pointer}
.pt-request-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pt-request-paper,.pt-request-panel>h2{scroll-margin-top:106px}
@media(max-width:1050px){
 .pt-request-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pt-request-paper{grid-column:1/-1;order:3}
 .pt-request-jumps{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
 .pt-request-jumps a{padding:4px 8px;border:1px solid #eed3d9;border-radius:6px;color:#81182b}
}
@media(max-width:620px){
 .pt-request-columns{grid-template-columns:minmax(0,1fr);gap:10px}
 .pt-request-columns .pt-request-paper{min-height:0}
 .pt-request-paper{order:0}
 .pt-request-table th:first-child{width:32px}
 .pt-request-table th:nth-child(3){width:53px}
 .pt-request-table th:nth-child(4){width:42px}
}
.pt-request-table th:first-child{white-space:nowrap}
.pt-request-signoff input{width:100%;max-width:100%;min-width:0;padding:5px 7px;border:1px solid #e4cbd2;border-radius:5px;background:#fff;font:inherit}
.pt-request-signoff input:focus{outline:2px solid #a71c35;outline-offset:1px}
