#purchasing-content{max-width:1280px;margin:0 auto;color:var(--ink,#152c38)}
.purch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:4px 0 28px}
.purch-heading>div{min-width:0}.purch-heading h2{font-family:Sora,Inter,sans-serif;font-size:clamp(1.7rem,3vw,2.2rem);line-height:1.25;letter-spacing:-.045em;margin:8px 0 13px}
.purch-heading p{max-width:680px;margin:0;color:#566b78;line-height:1.65}.purch-heading .eyebrow{color:#4059cd}
#purchasing-content .button.small,.purch-line-editor .button.small{font-size:.875rem;min-height:40px;line-height:1.4;white-space:normal}
.purch-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce4e9;padding:0 0 18px;margin:0 0 26px}
.purch-tabs button{font:inherit;font-size:.9375rem;border:0;border-radius:9px;padding:11px 15px;background:transparent;color:#526876;cursor:pointer;min-height:44px}
.purch-tabs button:hover{background:#edf2f8}.purch-tabs button.is-active{background:#e8edff;color:#334bc5;font-weight:700}
.purch-tabs button:focus-visible,.purch-account-reference summary:focus-visible{outline:3px solid #7b9afb;outline-offset:3px}
.purch-start{padding:28px 30px;border:1px solid #d2def2;background:linear-gradient(115deg,#edf2ff,#f5f9fb);border-radius:16px;margin-bottom:24px}
.purch-start h3{font-family:Sora,Inter,sans-serif;font-size:1.4rem;letter-spacing:-.025em;line-height:1.4;margin:8px 0 12px}
.purch-start p{max-width:760px;color:#526876;line-height:1.7}
.purch-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0}
.purch-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.purch-metric{padding:18px 20px;border:1px solid #dce4e9;background:#fff;border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.purch-metric>span{font-size:.875rem;color:#526876;line-height:1.5}.purch-metric>strong{font-family:Sora,Inter,sans-serif;font-size:1.4rem;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere}
.purch-metric small{font-size:.875rem;color:#627482;line-height:1.6}
.purch-card{padding:24px;border:1px solid #dce4e9;border-radius:15px;background:#fff;margin:22px 0;min-width:0}
.purch-card>p{line-height:1.7}.purch-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.purch-section-title>h3{font-family:Sora,Inter,sans-serif;font-size:1.15rem;line-height:1.45;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.purch-section-title>.button{flex-shrink:0}.purch-card .purch-metric{background:#f7f9fc}
.purch-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.purch-two-col>.purch-card{margin:0}
.purch-record-list{display:grid;gap:13px}.purch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #dce4e9;border-radius:12px;background:#fff;min-width:0}
.purch-card .purch-row{padding:17px}.purch-row>div{min-width:0}.purch-row h3{margin:0;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
.purch-row h3 .button{padding:0;text-align:left;min-height:0!important;font-size:1.0625rem!important;font-weight:700;justify-content:flex-start;color:#173346}
.purch-row h3 .button:hover{text-decoration:underline;background:transparent}.purch-row p{margin:6px 0;color:#536a78;line-height:1.65;font-size:.9375rem;overflow-wrap:anywhere}
.purch-row small{display:block;color:#617581;font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}.purch-row-end{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0;max-width:48%;text-align:right}
.purch-row-end>strong{font-size:1rem;overflow-wrap:anywhere}.purch-row-title{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;flex-wrap:wrap}
.purch-badge{font-size:.8125rem;line-height:1.4;font-weight:650;padding:6px 9px;border-radius:7px;background:#eef2f5;color:#516673;display:inline-block;white-space:normal}
.purch-badge.blue{background:#edf1ff;color:#354db6}.purch-badge.amber{background:#fff3d4;color:#7e5c12}
.purch-note,.purch-method{color:#596f7e;font-size:.875rem;line-height:1.8;overflow-wrap:anywhere}.purch-method{margin:27px 2px}.purch-note{margin:18px 0 0}.purch-readonly{color:#657887;font-size:.875rem;padding:10px 0}
.purch-empty{padding:30px 24px;border:1px dashed #c6d2dd;border-radius:14px;background:#f8fafc;margin:22px 0}
.purch-empty h3{font-size:1.2rem;line-height:1.4;margin:0 0 13px}.purch-empty p,.purch-empty-note{font-size:1rem;color:#5d7280;line-height:1.75}.purch-empty-note{margin:10px 0}
.purch-filterbar{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:20px 0 25px}.purch-filterbar label{display:block;min-width:180px;font-size:.875rem;font-weight:650;color:#3b5667}
.purch-filterbar label:first-child{flex:1;min-width:220px}.purch-filterbar input,.purch-filterbar select{display:block;width:100%;font:inherit;font-weight:400;font-size:1rem;line-height:1.5;padding:11px 14px;border:1px solid #cbd7df;border-radius:9px;margin-top:7px;min-height:46px;background-color:#fff;color:#263f50;min-width:0}
.purch-filterbar select{padding-right:34px}.purch-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;font-size:.875rem;color:#5a707f}
.purch-order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:6px 0 25px}.purch-order-heading>div{min-width:0}
.purch-order-heading h2{font-family:Sora,Inter,sans-serif;font-size:1.35rem;line-height:1.45;margin:0 0 12px;overflow-wrap:anywhere}.purch-order-heading p{color:#596f7e;line-height:1.65}
.purch-table-wrap{max-width:100%;overflow:auto;border:1px solid #dce4e9;border-radius:10px;margin:22px 0}
.purch-table-wrap table{border-collapse:collapse;width:100%;font-size:.875rem;min-width:630px}.purch-table-wrap th,.purch-table-wrap td{padding:13px 15px;text-align:right;vertical-align:top;border-bottom:1px solid #e5eaef}
.purch-table-wrap th{color:#4b6373;font-weight:650;background:#f3f6fa;line-height:1.5}.purch-table-wrap th:first-child,.purch-table-wrap td:first-child{text-align:left;min-width:160px}
.purch-table-wrap tr:last-child td{border-bottom:0}.purch-table-wrap small{display:block;font-size:.8125rem;color:#637887;line-height:1.65;margin-top:5px}
.purch-movement{padding:21px;border:1px solid #dce4e9;border-radius:12px;background:#fff;min-width:0}.purch-movement h3{font-size:1rem;line-height:1.45;margin:0}.purch-movement p{font-size:.9375rem;line-height:1.7;color:#526a79;overflow-wrap:anywhere}
.purch-movement small{font-size:.875rem;color:#617581;line-height:1.7}.purch-movement details,.purch-card details{font-size:.875rem;line-height:1.75;margin-top:18px}
.purch-movement summary,.purch-card summary{cursor:pointer;font-weight:650;color:#425e70}.purch-movement ul{padding-left:20px}.purch-movement .purch-actions:empty{display:none}.purch-movement .purch-actions{margin-bottom:0}
.purch-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.purch-item-costs{list-style:none;padding:0;margin:20px 0}.purch-item-costs li{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #e4eaef;font-size:.9375rem;line-height:1.65}.purch-item-costs li>span{min-width:0;overflow-wrap:anywhere}.purch-item-costs li>strong{white-space:nowrap}
.purch-line-editor{padding:20px;border:1px solid #d2dce6;border-radius:12px;margin:22px 0;min-width:0;background:#f7f9fc}
.purch-line-editor legend{font-weight:700;font-size:.9375rem;color:#3f5a6d;padding:0 7px}.purch-line-editor label{min-width:0}.purch-line-editor select{max-width:100%}
.purch-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.875rem;color:#526a79;margin-top:14px}.purch-line-bottom>span{overflow-wrap:anywhere}
.purch-editor-total{padding:16px 18px;background:#edf2ff;border-radius:10px;font-size:1rem;font-weight:700;line-height:1.6;color:#304b8e}
.purch-review-check{display:flex!important;align-items:flex-start;gap:12px;font-size:.9375rem!important;line-height:1.7!important;margin-top:22px}
.purch-review-check input{width:20px!important;min-height:20px!important;flex:0 0 20px;margin-top:4px!important}
.purch-receive-line{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;align-items:start;padding:20px 0;border-top:1px solid #dce4e9}
.purch-receive-line p{font-size:.875rem;color:#597180;line-height:1.7}.purch-receive-line>div{min-width:0}
@media(max-width:1000px){.purch-two-col{grid-template-columns:1fr}.purch-metrics{gap:12px}.purch-metric{padding:17px}.purch-metric>strong{font-size:1.2rem}}
@media(max-width:650px){.purch-heading{flex-direction:column;gap:18px}.purch-heading>.button{align-self:flex-start}.purch-tabs{gap:5px;padding-bottom:15px}.purch-tabs button{font-size:.875rem;padding:10px 11px}.purch-start{padding:22px}.purch-metrics{grid-template-columns:1fr;margin:18px 0}.purch-metric>strong{font-size:1.3rem}.purch-card{padding:20px 17px}.purch-row{align-items:flex-start;flex-direction:column;padding:18px;gap:14px}.purch-row-end{align-items:flex-start;max-width:100%;text-align:left;gap:8px}.purch-section-title{flex-wrap:wrap;gap:13px}.purch-filterbar{gap:14px}.purch-filterbar label,.purch-filterbar label:first-child{flex-basis:100%;min-width:0}.purch-filterbar>.button{min-height:42px}.purch-order-heading{flex-direction:column;gap:12px}.purch-line-editor{padding:17px}.purch-line-bottom{align-items:flex-start;flex-direction:column;gap:8px}.purch-receive-line{grid-template-columns:1fr;gap:5px}.purch-item-costs li{flex-direction:column;gap:6px}.purch-movement{padding:18px}.purch-movement .purch-row-title{flex-direction:column;gap:10px}.purch-actions .button{max-width:100%}}
