
.tccalc .tc-field-error{display:block;color:#b42318;font-size:12px;line-height:1.4;margin-top:5px}.tccalc .tc-results h3,.tccalc .tc-smart h3{font-size:clamp(20px,2.2vw,26px);line-height:1.3}.tccalc .tc-data>div,.tccalc .tc-card{min-width:0}.tccalc .tc-source,.tccalc .tc-card b{overflow-wrap:anywhere}
.tccalc{--navy:#142d69;--blue:#1648d8;--line:#d8deea;--soft:#f5f7fb;max-width:1120px;margin:32px auto;padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;color:#182238;font-family:inherit;font-size:16px;line-height:1.45;box-shadow:0 4px 18px #1023480d}.tccalc *{box-sizing:border-box}.tccalc [hidden]{display:none!important}.tccalc h1,.tccalc h2,.tccalc h3{color:var(--navy);margin:0 0 12px}.tccalc h1,.tccalc h2{font-size:clamp(25px,3vw,36px)}.tccalc p{margin:0 0 16px}.tccalc .tc-intro{color:#42506a;max-width:900px}.tccalc .tc-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:18px 0}.tccalc label{display:block;font-size:13px;font-weight:650;margin:0 0 5px;color:#34415a}.tccalc input,.tccalc select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #bbc5d6;border-radius:7px;background:#fff;color:#172033;font:inherit}.tccalc input.tc-invalid,.tccalc select.tc-invalid{border-color:#b42318;background:#fff5f4}.tccalc input:focus,.tccalc select:focus{outline:2px solid #8baaff;border-color:var(--blue)}.tccalc button,.tccalc .tc-linkbtn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:0;border-radius:7px;background:var(--blue);color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer;text-decoration:none}.tccalc button.secondary,.tccalc .tc-linkbtn.secondary{background:#e9eef9;color:var(--navy);border:1px solid #cbd5e8}.tccalc button.remove{background:transparent;color:#9a2633;border:1px solid #e7c8cd;padding:6px 10px;min-height:36px}.tccalc .tc-add{display:grid;grid-template-columns:minmax(230px,1fr) auto auto;gap:9px;align-items:end;flex:1}.tccalc .tc-serves{width:145px}.tccalc .tc-yield{width:190px}.tccalc .tc-lines{display:grid;gap:12px}.tccalc .tc-line{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}.tccalc .tc-line-top{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(100px,.65fr) minmax(95px,.55fr) auto;gap:10px;align-items:end}.tccalc .tc-meta{font-size:12px;color:#5b6880;margin-top:4px}.tccalc details{margin-top:12px;border-top:1px solid #e6eaf1;padding-top:10px}.tccalc summary{font-size:13px;color:var(--blue);font-weight:650;cursor:pointer}.tccalc .tc-data{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:9px;margin-top:12px}.tccalc .tc-data .wide{grid-column:span 2}.tccalc .tc-data input,.tccalc .tc-data select{min-height:38px;font-size:14px}.tccalc .tc-missing{color:#795400;background:#fff8df;border:1px solid #efdfa8;border-radius:8px;padding:10px 12px;font-size:13px;margin:14px 0}.tccalc .tc-results,.tccalc .tc-smart{margin-top:22px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.tccalc .tc-results h3,.tccalc .tc-smart h3{padding:14px 16px;margin:0;background:var(--soft)}.tccalc table{width:100%;border-collapse:collapse;font-size:14px}.tccalc th,.tccalc td{text-align:left;padding:10px 12px;border-top:1px solid #e7ebf2}.tccalc th{color:#34415a;background:#fbfcfe}.tccalc .tc-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.tccalc .tc-card{background:var(--soft);border-radius:8px;padding:12px}.tccalc .tc-card b{display:block;color:var(--navy);font-size:20px}.tccalc .tc-note{font-size:12px;color:#65718a;padding:0 14px 14px}.tccalc .tc-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.tccalc .tc-foot{font-size:12px;color:#65718a;border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.tccalc .tc-empty{padding:18px;color:#65718a;text-align:center;background:var(--soft);border-radius:8px}.tccalc .tc-source{font-weight:500}.tccalc .tc-source.bad{color:#8b5b00}.tccalc .tc-tools{display:flex;gap:9px;align-items:end;flex-wrap:wrap;margin:12px 0}.tccalc .tc-import{max-width:260px;font-size:13px}.tccalc .tc-tools-note{font-size:12px;color:#65718a;margin:0 0 12px}.tccalc .tc-smart-body{padding:14px 16px}.tccalc .tc-rating-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(200px,1.2fr);gap:10px;align-items:end}.tccalc .tc-rating{min-height:42px;display:flex;align-items:center;padding:8px 12px;border-radius:8px;border:1px solid var(--line);font-weight:700;background:#f2f4f7;color:#475467}.tccalc .tc-rating.green{background:#e7f5e9;color:#176b31;border-color:#a9d9b3}.tccalc .tc-rating.amber{background:#fff3d6;color:#805500;border-color:#f0d28a}.tccalc .tc-rating.red{background:#fde8e8;color:#a32127;border-color:#f2b7b7}.tccalc .tc-rating-help{font-size:12px;color:#65718a;margin:10px 0 0}.tccalc .tc-branding{font-size:12px;color:#65718a;margin:12px 0 0}.tccalc .tc-actions .tc-linkbtn{min-height:42px}@media(max-width:720px){
.tccalc{padding:16px;margin:18px 10px}
.tccalc .tc-line-top{grid-template-columns:1fr 1fr}
.tccalc .tc-line-top .tc-name{grid-column:1/-1}
.tccalc .tc-data{grid-template-columns:repeat(2,minmax(0,1fr))}
.tccalc .tc-data .wide{grid-column:span 2}
.tccalc .tc-summary,.tccalc .tc-rating-row{grid-template-columns:1fr}
.tccalc .tc-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.tccalc .tc-add{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;flex:none}
.tccalc .tc-add>div:first-child{grid-column:1/-1;width:100%;min-width:0}
.tccalc .tc-add>button{width:100%;min-width:0;padding:8px 10px;line-height:1.25;overflow-wrap:anywhere}
.tccalc .tc-yield,.tccalc .tc-serves{width:100%;min-width:0}
.tccalc .tc-results h3{font-size:20px;line-height:1.25}
.tccalc .tc-results table{display:block;width:100%;font-size:12px}
.tccalc .tc-results thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tccalc .tc-results tbody{display:grid;gap:8px;padding:8px}
.tccalc .tc-results tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;overflow:hidden}
.tccalc .tc-results td{display:block;min-width:0;padding:8px 6px;font-size:11px;overflow-wrap:anywhere}
.tccalc .tc-results td:first-child{grid-column:1/-1;background:#fbfcfe;font-size:13px;font-weight:650}
.tccalc .tc-results td:nth-child(2)::before,.tccalc .tc-results td:nth-child(3)::before,.tccalc .tc-results td:nth-child(4)::before{display:block;margin-bottom:3px;color:#5b6880;font-size:10px;font-weight:600;line-height:1.2}
.tccalc .tc-results td:nth-child(2)::before{content:"Per serving"}
.tccalc .tc-results td:nth-child(3)::before{content:"Batch total"}
.tccalc .tc-results td:nth-child(4)::before{content:"Per 100 g"}
}
