.ccs-firma{--bar:#1B2A1E;--bar-2:#2a3d2d;--row-on:#eef6ec;--head:#efe5d4}
.ccs-firma .fh{padding-bottom:26px}
.ccs-firma .fh-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:start}
.ccs-firma .fh h1{font-size:clamp(32px,3.2vw,46px)}
.ccs-firma .fh .lead{margin-top:12px;max-width:58ch}
.ccs-firma .fh-facts{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;font-size:14.5px;font-weight:700;color:var(--ink-2)}
.ccs-firma .fh-facts li{display:flex;gap:9px;align-items:flex-start;line-height:1.4}
.ccs-firma .fh-facts svg{flex:none;margin-top:1px;color:var(--green)}
.ccs-firma .fh-facts a{color:var(--green-d);text-decoration:underline;text-underline-offset:2px}
.ccs-firma .finder{padding:20px 22px}
.ccs-firma .fh-ft{margin:0;font-weight:800;color:var(--ink)}
.ccs-firma .finder .dims{margin-top:10px}
.ccs-firma .finder .dims input{height:48px;font-size:18px}
.ccs-firma .finder .dims b{padding-bottom:13px}
.ccs-firma .finder .dims i{padding-bottom:14px;font-style:normal;font-weight:700;color:var(--muted)}
.ccs-firma .finder .f-go{width:100%;margin-top:12px}
.ccs-firma .finder .quote{margin-top:12px}

.ccs-firma .fs{margin-top:4px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
.ccs-firma .fs-t{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.ccs-firma .fs-t thead th{position:sticky;top:var(--fs-top,76px);z-index:3;padding:11px 18px;background:var(--head);border-bottom:1px solid var(--line-2);text-align:left;font-size:13.5px;font-weight:800;color:var(--ink-2)}
.ccs-firma .fs-t thead th:first-child{border-top-left-radius:17px}
.ccs-firma .fs-t thead th:last-child{border-top-right-radius:17px}
.ccs-firma .fs-t tbody tr>*{padding:14px 18px;border-bottom:1px solid var(--line);vertical-align:top}
.ccs-firma .fs-t tbody tr:last-child>*{border-bottom:0}
.ccs-firma .fs-t tbody tr.on>*{background:var(--row-on)}
.ccs-firma .fs-t tbody tr.on .c-k{box-shadow:inset 4px 0 0 var(--btn)}
.ccs-firma .c-k{width:28%;text-align:left;font-weight:400}
.ccs-firma .c-k .t{display:block;font-family:var(--sans);font-size:18px;font-weight:800;letter-spacing:-.01em;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--ink)}
.ccs-firma .c-k .t small{font-family:var(--sans);font-size:13px;font-weight:700;color:var(--muted)}
.ccs-firma .c-k .sp{display:block;margin-top:4px;font-size:13.5px;font-weight:600;color:var(--muted)}
.ccs-firma .c-k .fit{display:inline-block;margin:8px 0 0;padding:3px 9px;border-radius:999px;background:var(--cream-2);font-size:12.5px;font-weight:800;color:var(--ink-2)}
.ccs-firma .c-k .fit.exact{background:var(--green-l);color:var(--green-d)}
@media (hover:hover){.ccs-firma .c-k .t:hover{color:var(--green-d);text-decoration:underline;text-underline-offset:3px}}
.ccs-firma .c-o{width:36%}
.ccs-firma .o{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n stp" "p stp" "m stp";gap:3px 14px;align-items:center}
.ccs-firma .o-n{grid-area:n;font-size:13.5px;font-weight:800;color:var(--ink-2)}
.ccs-firma .o-sel{max-width:100%;height:32px;padding:0 28px 0 10px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--card);font-size:13.5px;font-weight:800;color:var(--ink);cursor:pointer}
.ccs-firma .o-sel:focus-visible{outline:3px solid var(--green);outline-offset:1px}
.ccs-firma .o-p{grid-area:p;font-size:18px;font-weight:800;color:var(--ink)}
.ccs-firma .o-m{grid-area:m;display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12.5px;font-weight:700}
.ccs-firma .o-u,.ccs-firma .o-kg{color:var(--muted)}
.ccs-firma .o-st.is-ok{color:var(--green-d)}
.ccs-firma .o-st.is-wait{color:var(--orange-ink)}
.ccs-firma .o-st.is-ask{color:var(--orange-ink);font-weight:800}
.ccs-firma .none{display:block;padding-top:4px;font-size:13.5px;font-weight:600;color:var(--muted)}
.ccs-firma .c-none .ask{margin-left:8px;font-weight:800;color:var(--green-d);text-decoration:underline;text-underline-offset:2px}
.ccs-firma .stp{grid-area:stp;display:flex;align-items:center;border:1.5px solid var(--line-2);border-radius:12px;background:var(--card);overflow:hidden}
.ccs-firma .stp button{width:36px;height:40px;border:0;background:none;font-size:20px;font-weight:700;color:var(--ink-2)}
@media (hover:hover){.ccs-firma .stp button:hover{background:var(--cream-2)}}
.ccs-firma .stp input{width:52px;height:40px;padding:0;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);background:none;text-align:center;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink);-moz-appearance:textfield;appearance:textfield}
.ccs-firma .stp input::-webkit-outer-spin-button,.ccs-firma .stp input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ccs-firma .stp input:focus{outline:none;background:var(--green-l)}
.ccs-firma .stp:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(44,140,46,.16)}
.ccs-firma .stp.has{border-color:var(--btn)}
.ccs-firma .stp.has input{color:var(--green-d)}

.ccs-firma .fs-bar{position:sticky;bottom:calc(14px + var(--cc-cb,0px));z-index:6;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px 22px;margin-top:14px;padding:14px 16px 14px 22px;border-radius:18px;background:var(--bar);color:#fff;box-shadow:0 10px 30px rgba(27,42,30,.22)}
.ccs-firma .fs-bar p{margin:0}
.ccs-firma .b-empty{font-size:15px;font-weight:700;color:#d9e4da}
.ccs-firma .b-lines{font-size:16px;font-weight:800}
.ccs-firma .b-meta{margin-top:2px;font-size:13.5px;font-weight:600;color:#c6d3c7}
.ccs-firma .b-tot{display:grid;justify-items:end;line-height:1.1}
.ccs-firma .b-tot span{font-size:12.5px;font-weight:700;color:#c6d3c7}
.ccs-firma .b-net{font-family:var(--serif);font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff}
.ccs-firma .b-gross{margin-top:2px;font-size:12.5px;font-weight:600;color:#c6d3c7}
.ccs-firma .b-act{display:flex;gap:10px}
.ccs-firma .fs-bar .btn-l{background:transparent;border-color:rgba(255,255,255,.4);color:#fff}
.ccs-firma .fs-bar .btn-l:hover:not(:disabled){border-color:#fff;color:#fff}
.ccs-firma .fs-bar .btn-g{background:#fff;color:var(--bar);min-height:48px;padding:0 22px}
.ccs-firma .fs-bar .btn-g:hover:not(:disabled){background:#e6f1e3;color:var(--bar)}
.ccs-firma .fs-bar .btn-g.is-busy{opacity:.8;cursor:progress}
.ccs-firma .fs-bar :focus-visible{outline-color:#fff}

.ccs-firma .fh-how{margin-top:34px;padding:26px 28px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
.ccs-firma .fh-how h2{font-family:var(--serif);font-size:24px;font-weight:700}
.ccs-firma .fh-how ol{list-style:none;counter-reset:krok;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ccs-firma .fh-how li{counter-increment:krok;position:relative;padding-left:40px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.ccs-firma .fh-how li::before{content:counter(krok);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--green-l);color:var(--green-d);font-weight:800;display:grid;place-items:center;font-size:14px}
.ccs-firma .fh-how li b{display:block;color:var(--ink)}
.ccs-firma .fh-note{margin:18px 0 0;font-size:14px;color:var(--muted)}
.ccs-firma .fh-note a{color:var(--green-d);font-weight:800;text-decoration:underline;text-underline-offset:2px}
.ccs-firma .cc-b2b-bar{margin:0 0 12px}

@media (max-width:1024px){
  .ccs-firma .fh-grid{grid-template-columns:1fr;gap:22px}
  .ccs-firma .fs-t thead th{top:var(--fs-top,64px)}
}
@media (max-width:760px){
  .ccs-firma .fh-facts{grid-template-columns:1fr}
  .ccs-firma .fs{border:0;background:none}
  .ccs-firma .fs-t,.ccs-firma .fs-t tbody,.ccs-firma .fs-t tr,.ccs-firma .fs-t th,.ccs-firma .fs-t td{display:block;width:auto}
  .ccs-firma .fs-t thead{display:none}
  .ccs-firma .fs-t tbody tr{margin-bottom:12px;border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden}
  .ccs-firma .fs-t tbody tr[hidden]{display:none}
  .ccs-firma .fs-t tbody tr>*{padding:12px 14px;border-bottom:1px solid var(--line)}
  .ccs-firma .fs-t tbody tr>*:last-child{border-bottom:0}
  .ccs-firma .fs-t tbody tr:last-child>*{border-bottom:1px solid var(--line)}
  .ccs-firma .fs-t tbody tr:last-child>*:last-child{border-bottom:0}
  .ccs-firma .fs-t tbody tr.on .c-k{box-shadow:inset 4px 0 0 var(--btn)}
  .ccs-firma .c-o[data-label]::before{content:attr(data-label);display:block;margin-bottom:6px;font-size:12.5px;font-weight:800;color:var(--muted)}
  .ccs-firma .stp button{width:44px;height:44px}
  .ccs-firma .stp input{height:44px;width:54px}
  .ccs-firma .fs-bar{bottom:calc(8px + var(--cc-cb,0px));grid-template-columns:minmax(0,1fr) auto;padding:12px 12px 12px 16px;gap:8px 12px}
  .ccs-firma .b-sum{grid-column:1/-1}
  .ccs-firma .b-empty{grid-column:1/-1;font-size:14px}
  .ccs-firma .b-tot{justify-items:start}
  .ccs-firma .b-net{font-size:23px}
  .ccs-firma .b-clr{display:none}
  .ccs-firma .fh-how{padding:20px}
  .ccs-firma .fh-how ol{grid-template-columns:1fr}
}
@media (max-width:640px){.ccs-firma .fh-facts li:nth-child(n+3){display:none}.ccs-firma .fh-facts{margin-top:14px}}
@media (max-width:1024px){body.fs-picking .wa-float{opacity:0;pointer-events:none}}
@media (pointer:coarse){.ccs-firma .stp button{min-width:44px;min-height:44px}.ccs-firma .o-sel{height:40px}}
@media (prefers-reduced-motion:reduce){.ccs-firma *{transition:none!important}}

html[data-theme=dark] .ccs-firma{--bar:#0e1a10;--row-on:#1f3a20;--head:#243024}
html[data-theme=dark] .ccs-firma .fs-bar{border:1px solid #3a4a3b}
html[data-theme=dark] .ccs-firma .fs-bar .btn-g{background:#e3eae3;color:#0e1a10}
