/* Service management shares the site's black, gold and warm neutral palette. */
.prest-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex-shrink:0}.prest-heading-actions .button{font-size:12px;padding:13px 16px;min-height:43px}
.prest-counters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}
.prest-counters button{display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid #e4decf;background:#fff;border-radius:9px;padding:16px;font:inherit;color:#514936;cursor:pointer;min-height:98px}
.prest-counters span{font-size:11px;line-height:1.45}.prest-counters strong{font-size:27px;line-height:1;color:#27251c;font-variant-numeric:tabular-nums}
.prest-counters button:last-child{background:#fff9e8;border-color:#e4cf96}.prest-counters button:hover{border-color:#b89a50}
.prest-catalogue{border:1px solid #ddd4be;border-radius:9px;background:#fbf8ef;margin-bottom:22px;padding:17px 19px;font-size:13px}
.prest-catalogue>summary{font-weight:600;cursor:pointer;color:#69501b}.prest-catalogue>summary>span{display:block;font-weight:400;font-size:11px;color:#746b56;margin:6px 0 0 17px}
/* The catalogue description must stay upright when the disclosure is opened. */
.prest-catalogue[open]>summary>span{transform:none}
.prest-catalogue-services{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.prest-catalogue-services>details{padding:15px;background:#fff;border:1px solid #e8e0cc;border-radius:7px;min-width:0}
.prest-catalogue-services summary{font-weight:600;cursor:pointer;line-height:1.5}.prest-catalogue-services summary small{display:block;font-size:10px;font-weight:400;color:#82765b;margin:3px 0 0 15px}
.prest-catalogue h4{font-size:11px;font-weight:600;line-height:1.5;color:#806022;margin:19px 0 7px}
.prest-catalogue-types{display:grid;gap:4px}.prest-catalogue-types button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;background:transparent;border:0;border-bottom:1px solid #f0eadc;font:inherit;font-size:11px;line-height:1.7;text-align:left;cursor:pointer;color:#514936;overflow-wrap:anywhere}.prest-catalogue-types button span{font-size:20px;color:#8e6b1e;flex-shrink:0}
.prest-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.prest-filters .crm-field{min-width:0}
.prest-list-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.prest-list-tools label{display:flex;align-items:center;gap:8px;font-size:11px;color:#736b57}.prest-list-tools select{padding:7px;border:1px solid #d7cfbd;border-radius:5px;color:#514936;background:#fff;font:inherit;min-height:35px}
.prest-table{min-width:1000px}.prest-table td:nth-child(2){max-width:250px}.prest-table .dash-record-title{overflow-wrap:anywhere}.prest-table tbody>tr>th{min-width:180px;max-width:240px}
.prest-progress{height:6px;width:100%;min-width:68px;background:#eee9da;border-radius:5px;overflow:hidden;margin:5px 0 6px}.prest-progress i{height:100%;display:block;background:#b58b28;border-radius:5px}
.prest-late{color:#8a6216;font-size:11px;font-weight:600;line-height:1.5}
.prest-form-section{min-width:0;border:0;border-top:1px solid #e8e1d2;margin:24px 0 0;padding:17px 0 0}.prest-form-section legend{font-size:15px;font-weight:600;padding:0 10px 0 0;color:#4e4124}
.prest-prepare{background:#fbf7eb;border-radius:7px;border:1px solid #e5d9b7;padding:15px;margin:22px 0}.prest-prepare p{margin:10px 0 0}
.prest-step-editor{background:#faf9f5;border:1px solid #e8e1d2;border-radius:7px;padding:12px 14px;margin:0 0 12px}
.prest-step-editor>.crm-field{margin:0 0 8px}.prest-step-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}.prest-step-fields .crm-field{margin:0;min-width:0}.prest-step-fields>button{margin-top:21px}
.prest-detail-hero{background:#f7f3e8;border:1px solid #e3d7ba;border-radius:9px;padding:23px;margin-bottom:18px}.prest-detail-hero .eyebrow{font-size:10px;letter-spacing:.12em;color:#86621a;margin:0 0 10px}.prest-detail-hero h3{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.02em;color:#242117;margin:0 0 10px;overflow-wrap:anywhere}.prest-detail-hero p{font-size:13px;line-height:1.7;margin:8px 0;color:#69614f}.prest-detail-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0;font-size:11px;color:#7c7158}.prest-detail-hero .prest-progress{margin-top:15px}
.prest-detail-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.prest-detail-actions .button{font-size:12px;padding:12px 16px;min-height:42px}
.prest-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 18px;margin:0 0 26px}.prest-detail-meta dt{font-size:10px;color:#85785c;margin-bottom:5px}.prest-detail-meta dd{font-size:12px;color:#393327;margin:0;line-height:1.6;overflow-wrap:anywhere}
.prest-detail-section{border-top:1px solid #e6dfcd;padding:22px 0 3px;margin-top:20px}.prest-detail-section h4{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;font-weight:600;margin:0 0 18px;color:#3e3523}.prest-detail-section h4 small{font-size:11px;color:#8b7b56;font-weight:400}.prest-detail-section h5{font-size:12px;font-weight:600;margin:18px 0 8px;color:#7c6230}.prest-detail-section p{white-space:pre-wrap;font-size:13px;line-height:1.8;color:#665e4c;margin:0 0 16px;overflow-wrap:anywhere}
.prest-finance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.prest-finance>div{border:1px solid #e7dfcd;border-radius:7px;background:#fcfaf4;padding:15px}.prest-finance span{font-size:10px;color:#766849;display:block;margin-bottom:8px}.prest-finance strong{font-size:19px;font-weight:600;color:#423822;overflow-wrap:anywhere}
.prest-time-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.prest-time-totals>div{padding:15px;background:#faf7ef;border:1px solid #e5ddc9;border-radius:7px;min-width:0}.prest-time-totals span{display:block;font-size:10px;line-height:1.6;color:#766849;margin-bottom:8px}.prest-time-totals strong{font-size:18px;color:#423822;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.prest-linked-list{list-style:none;padding:0;margin:0 0 15px}.prest-linked-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eee7d7}.prest-linked-list li>div{flex:1;min-width:0}.prest-linked-list button{display:block;min-height:44px;padding:6px 0;background:none;font:inherit;font-size:12px;text-align:left;color:#745719;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}.prest-linked-list button span{display:inline-block;margin-left:8px}.prest-linked-list small{display:block;font-size:10px;color:#82765b;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:520px){.prest-time-totals{grid-template-columns:1fr}.prest-time-totals>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.prest-time-totals span{margin:0}.prest-linked-list li{align-items:flex-start;flex-wrap:wrap}.prest-linked-list li>div{flex-basis:100%}}
.prest-step-list{list-style:none;padding:0;margin:0}.prest-step-list li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0eadc;font-size:12px;line-height:1.6}.prest-step-list li>span:first-child{flex:1;overflow-wrap:anywhere}.prest-step-list small{display:block;font-size:10px;color:#82775e;margin-top:5px}.prest-step-list .prest-late{color:#8a6216}
.prest-related{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prest-related button{display:flex;align-items:center;gap:10px;text-align:left;padding:13px 14px;border:1px solid #e2d7bc;border-radius:6px;background:#fff;font:inherit;font-size:12px;color:#53472a;cursor:pointer}.prest-related button strong{margin-left:auto;font-size:12px;background:#f7f1df;padding:3px 7px;border-radius:4px}
.prest-history{border:1px solid #e5dcc8;border-radius:7px;background:#faf8f2;padding:17px;margin:23px 0 4px;font-size:12px}.prest-history summary{cursor:pointer;font-weight:600;color:#6e5421}.prest-history summary small{font-weight:400;margin-left:9px}.prest-history>div{border-top:1px solid #e8e0cc;margin-top:15px;padding-top:13px;line-height:1.7}.prest-history strong{display:block;font-size:12px}.prest-history time{font-size:10px;color:#85785c;display:block;margin-top:3px}.prest-history p{font-size:11px;color:#7d725a;line-height:1.8;margin:7px 0 0}
@media(max-width:1100px){.prest-counters{grid-template-columns:repeat(3,minmax(0,1fr))}.prest-filters{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.prest-heading-actions{width:100%;flex-shrink:1}.prest-table{min-width:0;width:100%;display:block}.prest-table caption,.prest-table thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.prest-table tbody{display:grid;gap:14px}.prest-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border:1px solid #e4d8bc;border-radius:9px;padding:17px}.prest-table tbody>tr>th{grid-column:1/-1;max-width:none;min-width:0;padding:0;border:0}.prest-table tbody>tr>td{display:block;padding:0;border:0;min-width:0}.prest-table tbody>tr>td:nth-child(2),.prest-table tbody>tr>td:last-child{grid-column:1/-1;max-width:none}.prest-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#8a7c59;margin-bottom:5px}.prest-table .dash-row-actions{margin-top:7px;gap:7px}.prest-table .crm-small{min-height:42px}.prest-catalogue-services{grid-template-columns:1fr}.prest-detail-meta{grid-template-columns:1fr 1fr}.prest-finance{grid-template-columns:1fr}.prest-finance>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.prest-finance span{margin:0}.prest-step-list li{flex-wrap:wrap}.prest-step-list li>span:first-child{flex-basis:65%}.prest-list-tools{width:100%;justify-content:space-between}.prest-list-tools select{min-height:42px}}
@media(max-width:520px){.prest-counters{grid-template-columns:1fr 1fr}.prest-counters button:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;min-height:65px}.prest-filters{grid-template-columns:1fr}.prest-step-fields{grid-template-columns:1fr 1fr}.prest-step-fields>button{grid-column:1/-1;margin:4px 0 0;min-height:42px}.prest-related{grid-template-columns:1fr}.prest-detail-actions .button{width:100%;justify-content:center}.prest-catalogue{padding:15px}.prest-detail-hero{padding:19px}.prest-detail-hero h3{font-size:21px}}
