.svc-core{display:grid;gap:1rem;margin:0 0 1rem;padding:1rem;border:1px solid #d9ded9;border-radius:.9rem;background:#fff;min-width:0}
.svc-core__jobs-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:0}
.svc-core__jobs-head h2{margin:0;font-size:1.08rem;line-height:1.3;pointer-events:none;font-weight:650}
.svc-core__message[data-need-service-item]{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.svc-core__empty{margin:.35rem 0 0;min-height:0;padding:0;border:0;background:transparent;color:#5e6b64}
.svc-core--jobs-only{gap:.45rem}
.svc-core--in-s02{margin:0 0 .75rem;padding:.55rem 0;border:0;border-radius:0;background:transparent}
.svc-core__s02-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .4rem}
.svc-core__record-service{
  display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;
  box-sizing:border-box;width:auto;max-width:100%;min-height:40px;padding:6px 12px;
  border:1px solid #165536;border-radius:8px;background:#fff;color:#165536;
  font:inherit;font-size:.875rem;font-weight:650;line-height:1.2;cursor:pointer;
}
.svc-core--jobs-only .svc-core__boundary{margin:0}
@media(min-width:901px){
  .svc-core{margin:0 0 12px;padding:.85rem 1rem}
  .svc-core--in-s02{margin:0 0 10px;padding:.35rem 0}
}
.svc-core header h2,.svc-core header p,.svc-core__panel-head h3,.svc-core__form h3,.svc-core__pricing-setup h4{margin:0}
.svc-core header p{margin-top:.25rem;color:#59675f}
.svc-core__tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.svc-core__tabs button{min-height:44px;border:1px solid #bfcac3;border-radius:.65rem;background:#fff;font:inherit;font-weight:650}
.svc-core__tabs button[aria-pressed=true]{border-color:#0d6b4c;background:#eaf4ef;color:#174c3b}
.svc-core__panel-head,.svc-core__row,.svc-core__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.svc-core__panel-head{margin-bottom:.75rem}
.svc-core button{min-height:44px}
.svc-core--in-s02 .svc-core__record-service{min-height:40px}
.svc-core__row{padding:.75rem 0;border-top:1px solid #e4e8e5;min-width:0}
.svc-core__row>div:first-child{display:grid;gap:.15rem;min-width:0}
.svc-core__row small{color:#637068;overflow-wrap:anywhere}
.svc-core__row-actions{display:flex;gap:.4rem;flex-wrap:wrap}
.svc-core__recorded{display:inline-flex;align-items:center;font-size:.85rem;font-weight:650;color:#174c3b}
.svc-core__form{display:grid;gap:.85rem;padding:.85rem;border:1px solid #dce3de;border-radius:.75rem;background:#fbfcfb}
.svc-core__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.svc-core__grid--identity{align-items:end}
.svc-core__pricing-setup{display:grid;gap:.65rem;padding:.75rem;border:1px solid #e4e8e5;border-radius:.65rem;background:#fff}
.svc-core__pricing-setup h4{font-size:.95rem;color:#174c3b}
.svc-core label{display:grid;gap:.35rem;min-width:0}
.svc-core label>span:first-child{font-weight:650}
.svc-core input,.svc-core select,.svc-core textarea,.svc-core output{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:.65rem;border:1px solid #b9c4bd;border-radius:.55rem;background:#fff;font:inherit}
.svc-core textarea{min-height:76px;resize:vertical}
.svc-core output{display:flex;align-items:center;background:#f4f6f4;color:#637068}
.svc-core__wide{grid-column:1/-1}
.svc-core__money,.svc-core__suffix{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;min-width:0;border:1px solid #b9c4bd;border-radius:.55rem;background:#fff;overflow:hidden}
.svc-core__money--with-unit{grid-template-columns:max-content minmax(0,1fr) max-content max-content}
.svc-core__money b,.svc-core__suffix b,.svc-core__unit-sep,.svc-core__unit-text{padding:.65rem;color:#56645c;white-space:nowrap}
.svc-core__unit-sep{padding-inline:.15rem .35rem}
.svc-core__money input,.svc-core__suffix input,.svc-core__money select{border:0;border-radius:0;min-height:44px}
.svc-core__money select{width:auto;min-width:5.5rem;padding-inline:.55rem;background:#f7faf8}
.svc-core__boundary{margin:0;color:#5e6b64;font-size:.9rem}
.svc-core__message{margin:0;padding:.65rem .75rem;border-radius:.55rem;background:#edf6f1;color:#18533f}
.svc-core__message[data-tone=err]{background:#fff0ee;color:#8b2e22}
.svc-core__labour{display:grid;gap:.65rem}
.svc-core__labour-card{display:grid;gap:.35rem;padding:.75rem;border:1px solid #e4e8e5;border-radius:.65rem;background:#fff;min-width:0}
.svc-core__labour-card p{margin:0;color:#637068}
.svc-core__labour-form{padding:.65rem;background:#fbfcfb}
.svc-core__result{display:grid;gap:.45rem}
.svc-core__result>span{display:flex;justify-content:space-between;gap:.5rem;min-width:0}
@media(max-width:430px){
  .svc-core__labour,.svc-core__labour-card,.svc-core__result{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px){
  .svc-core__labour-card{padding:.65rem}
}
@media(max-width:305px){
  .svc-core__labour-form .svc-core__actions{flex-direction:column}
}
@media(min-width:1280px){
  .svc-core__result{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1440px){
  .svc-core__result{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:520px){
  .svc-core{padding:.8rem}
  .svc-core--in-s02{padding:.4rem 0}
  .svc-core__grid,.svc-core__grid--identity{grid-template-columns:minmax(0,1fr)}
  .svc-core__wide{grid-column:auto}
  .svc-core__panel-head{align-items:flex-start;flex-wrap:wrap}
  .svc-core__row{align-items:flex-start;flex-direction:column}
  .svc-core__row-actions{width:100%}
  .svc-core__row-actions button{flex:1;min-width:0}
  .svc-core__money--with-unit{grid-template-columns:max-content minmax(0,1fr);grid-template-rows:auto auto}
  .svc-core__money--with-unit .svc-core__unit-sep,.svc-core__money--with-unit .svc-core__unit-text,.svc-core__money--with-unit select{grid-column:2}
}
.svc-core__participants,.svc-core__earned-pay{margin:.5rem 0 .35rem;display:grid;gap:.35rem}
.svc-core__participants h4,.svc-core__earned-pay h4{margin:0;font-size:.95rem}
.svc-core__chips{display:flex;flex-wrap:wrap;gap:.35rem}
.svc-core__chip{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;padding:.2rem .55rem;border:1px solid #d9ded9;border-radius:999px;font-size:.875rem;line-height:1.3}
.svc-core__chip button{border:0;background:transparent;color:#165536;cursor:pointer;padding:0;font:inherit}
.svc-core__participant-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;align-items:center}
.svc-core__participant-add select{min-width:0;width:100%}
.svc-core__earned-pay ul{margin:0;padding-left:1.1rem}
@media(max-width:430px){
  .svc-core__participant-add{grid-template-columns:1fr}
  [data-record-service="1"] .svc-core__grid{grid-template-columns:1fr}
}
@media(max-width:340px){
  .svc-core__tabs{grid-template-columns:minmax(0,1fr)}
  .svc-core__actions{align-items:stretch;flex-direction:column}
  .svc-core__actions button{width:100%}
}
.svc-core__job--focused{border:2px solid #0d6b4c;border-radius:.65rem;background:#f6fbf8;padding:.65rem}
.svc-core__project-pay-accordion{margin-top:.4rem;padding:.55rem .75rem;border:1px dashed #cad4ce;border-radius:.6rem;background:#fbfdfc}
.svc-core__project-pay-accordion summary{cursor:pointer;font-weight:600;color:#2c5e48;font-size:.88rem;outline:none}
.svc-core__project-pay-accordion[open] summary{margin-bottom:.65rem}
.svc-core__empty-action{margin-top:.4rem}
.s01-product-record-service{display:inline-flex;align-items:center;padding:4px 10px;font-size:.84rem;font-weight:600;color:#0d6b4c;background:#eef7f2;border:1px solid #b2d7c3;border-radius:6px;cursor:pointer}
.s01-product-record-service:hover{background:#dcf0e4}

.svc-core__variance-block {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fbfdfc;
  border: 1px solid #d9e3dc;
  border-radius: 8px;
}
.svc-core__subheading {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: #174c3b;
}
.svc-core__variance-table-wrap {
  overflow-x: auto;
}
.svc-core__variance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.svc-core__variance-table th,
.svc-core__variance-table td {
  padding: 4px 8px;
  text-align: right;
  border-bottom: 1px solid #eef3f0;
}
.svc-core__variance-table th:first-child,
.svc-core__variance-table td:first-child {
  text-align: left;
  color: #3b5046;
  font-weight: 500;
}
.svc-core__variance-table th {
  color: #596b63;
  font-weight: 600;
  background: #f4f8f5;
}

