/* Styles shared by every page in /tools/ (calculators, planners, trackers). */
.tl *,.tl *::before,.tl *::after{box-sizing:border-box}
.tl-app a{color:#9b4d35;text-decoration:underline;text-underline-offset:2px}
.tl{max-width:1040px;margin:0 auto;padding:28px 20px 72px;font-family:'Inter',Arial,sans-serif;color:#2d241f}
.tl h1{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(30px,4.4vw,44px);line-height:1.15;margin:6px 0 12px;letter-spacing:-.01em}
.tl-intro{font-size:18px;line-height:1.6;color:#4a3f38;max-width:740px;margin:0 0 22px}
.tl-app{background:#fff;border:1px solid #eadbd2;border-radius:20px;padding:24px;box-shadow:0 6px 24px #6b3c1a0d;margin:0 0 44px}
.tl-app h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:21px;margin:0 0 14px;color:#2d241f}
.tl-app h3{font-size:15px;font-weight:700;margin:22px 0 10px;color:#7a3a28;text-transform:uppercase;letter-spacing:.04em}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 16px}
.tl-grid.two{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.tl-f{display:flex;flex-direction:column;min-width:0}
.tl label,.tl .lab{display:block;font-weight:600;font-size:14px;margin:0 0 6px;color:#2d241f}
.tl .hint{font-weight:400;color:#756a63;font-size:13px}
.tl input,.tl select,.tl textarea{width:100%;padding:11px 12px;border:1px solid #e2cfc3;border-radius:12px;font:inherit;font-size:16px;background:#fff;color:#2d241f;min-height:46px}
.tl textarea{min-height:120px;resize:vertical;line-height:1.5}
.tl input[type=checkbox],.tl input[type=radio]{width:18px;height:18px;min-height:0;margin:0;accent-color:#9b4d35;flex-shrink:0}
.tl input:focus,.tl select:focus,.tl textarea:focus{outline:2px solid #9b4d3555;outline-offset:1px;border-color:#c98a72}
.tl-check{display:flex;align-items:center;gap:9px;font-weight:500;font-size:15px;margin:0;cursor:pointer;padding:6px 0}
.tl-checks{display:flex;flex-wrap:wrap;gap:4px 18px}
.tl-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tl-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#9b4d35;color:#fff;border:1px solid #9b4d35;border-radius:999px;padding:11px 20px;font:inherit;font-weight:600;font-size:15px;cursor:pointer;text-decoration:none;min-height:44px}
.tl-btn:hover{background:#7a3a28;border-color:#7a3a28}
.tl-btn.ghost{background:#fff;color:#7a3a28;border-color:#e2c3b2}
.tl-btn.ghost:hover{background:#fbf3ea}
.tl-btn.small{padding:7px 14px;font-size:14px;min-height:36px}
.tl-btn.danger{background:#fff;color:#a33a2a;border-color:#efc9c0}
.tl-link{background:none;border:0;padding:0;font:inherit;color:#9b4d35;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tl-seg{display:inline-flex;flex-wrap:wrap;border:1px solid #eadbd2;border-radius:22px;padding:3px;background:#fbf3ea;gap:2px}
.tl-seg button{border:0;background:transparent;padding:8px 14px;border-radius:999px;font:inherit;font-weight:600;font-size:14px;color:#756a63;cursor:pointer;min-height:38px}
.tl-seg button[aria-pressed=true]{background:#fff;color:#7a3a28;box-shadow:0 1px 4px #6b3c1a1f}
.tl-result{background:#fbf3ea;border:1px solid #eadbd2;border-radius:16px;padding:20px;margin-top:20px}
.tl-result h2{margin-bottom:10px}
.tl-big{font-family:'Fraunces',Georgia,serif;font-size:clamp(30px,5vw,42px);color:#7a3a28;line-height:1.1;margin:0 0 4px;font-weight:600}
.tl-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}
.tl-stat{background:#fff;border:1px solid #eadbd2;border-radius:14px;padding:12px 14px}
.tl-stat b{display:block;font-family:'Fraunces',Georgia,serif;font-size:24px;font-weight:600;color:#2d241f;line-height:1.2}
.tl-stat span{display:block;color:#756a63;font-size:13px;margin-top:2px}
.tl-stat.good b{color:#3f6b47}
.tl-stat.bad b{color:#a33a2a}
.tl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px;padding:0 4px}
.tl-table{width:100%;border-collapse:collapse;font-size:15px;background:#fff}
.tl-table th,.tl-table td{padding:10px 10px;border-bottom:1px solid #eadbd2;text-align:left;vertical-align:top}
.tl-table th{font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:#756a63;font-weight:600;background:#fdf8f3}
.tl-table td.num,.tl-table th.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tl-table tfoot td{font-weight:700;background:#fdf8f3}
.tl-result .tl-table{border-radius:12px;overflow:hidden;border:1px solid #eadbd2}
.tl-note{font-size:13.5px;color:#756a63;line-height:1.55;margin:12px 0 0}
.tl-warn{background:#fff6e8;border:1px solid #f0d6a8;border-radius:12px;padding:12px 14px;font-size:14px;color:#6a4b1c;margin:14px 0 0}
.tl-badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap}
.tl-badge.ok{background:#e4f0e5;color:#2f5b37}
.tl-badge.soon{background:#fbecd3;color:#7a5414}
.tl-badge.old{background:#f8dcd6;color:#8e2e20}
.tl-ur{font-family:'Noto Nastaliq Urdu',serif;direction:rtl;line-height:2;font-size:17px}
.tl-ar{direction:rtl;font-size:17px}
.tl-empty{color:#756a63;text-align:center;padding:24px 10px;margin:0}
.tl-list{list-style:none;padding:0;margin:0}
.tl-hide{display:none!important}

/* Article text under the tool */
.tl-text{max-width:760px}
.tl-text h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:26px;margin:44px 0 12px;color:#7a3a28;line-height:1.25}
.tl-text h3{font-size:18px;margin:26px 0 8px}
.tl-text p,.tl-text li{font-size:17px;line-height:1.7;color:#3b322c}
.tl-text p{margin:0 0 14px}
.tl-text ul,.tl-text ol{padding-left:22px;margin:0 0 14px}
.tl-text li{margin-bottom:6px}
.tl-text a{color:#9b4d35;text-decoration:underline;text-underline-offset:3px}
.tl-text .tl-table{font-size:15px;margin:6px 0 16px}
.tl-faq details{border-bottom:1px solid #eadbd2;padding:4px 0}
.tl-faq summary{font-weight:600;font-size:17px;cursor:pointer;padding:12px 0;list-style-position:outside}
.tl-faq details p{margin:0 0 14px}

/* Tool cards (/tools/ page and "More kitchen tools") */
.tlc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tlc{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid #eadbd2;border-radius:16px;background:#fff;color:#2d241f;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.tlc:hover{border-color:#d7a993;box-shadow:0 6px 18px #6b3c1a14;transform:translateY(-1px)}
.tlc-i{font-size:26px;line-height:1;width:48px;height:48px;border-radius:14px;background:#fbf3ea;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tlc-t{display:block;font-weight:600;font-size:16px;margin-bottom:3px;line-height:1.3}
.tlc-m{display:block;color:#756a63;font-size:14px;line-height:1.45}
.tl-more{margin-top:60px;border-top:1px solid #eadbd2;padding-top:8px}
.tl-more h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:24px;margin:28px 0 16px;color:#2d241f}
.tl-all{margin:16px 0 0}
.tl-all a{color:#9b4d35;font-weight:600}

@media (max-width:600px){
  .tl{padding:20px 16px 56px}
  .tl-intro{font-size:16.5px}
  .tl-app{padding:16px;border-radius:16px}
  .tl-result{padding:14px}
  .tl-table th,.tl-table td{padding:9px 7px;font-size:14px}
  .tl-text h2{font-size:23px}
}

@media print{
  .mh,.sf2,.tl-more,.tl-text,.tl-noprint,.crumbs,.tl-intro,[class^="mpk-"],[id^="mpk-"],#mpk-consent{display:none!important}
  body{background:#fff!important}
  .tl{padding:0;max-width:none}
  .tl h1{font-size:24px;margin:0 0 8px}
  .tl-app{border:0;box-shadow:none;padding:0;margin:0}
  .tl-result{background:#fff;border:0;padding:0}
  .tl-table{font-size:12px}
  .tl-print-only{display:block!important}
}
.tl-print-only{display:none}
