.footer-inner.product-footer-r2 {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(155px, 1fr) minmax(190px, 1fr);
    align-items: start;
    gap: 24px;
}
.product-footer-r2 nav { display: grid; align-content: start; gap: 5px; }
.product-footer-r2 nav > strong { margin-bottom: 4px; }
.product-footer-r2 button {
    justify-self: start;
    min-height: 36px;
    padding: 5px 0;
    text-align: left;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.product-footer-r2 button:hover { text-decoration: underline; }
.product-tabs-r2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}
.product-tabs-r2 button { min-height: 44px; border-radius: 8px; padding: 8px; font-weight: 700; }
.product-tabs-r2 [aria-selected="true"] { background: var(--yellow); color: #242a27; }
.product-panel-r2[hidden] { display: none; }
.product-panel-r2 ol { list-style: none; margin: 16px 0 0; padding: 0; }
.product-panel-r2 li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.product-panel-r2 li:last-child { border-bottom: 0; }
.product-step-r2 {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-weight: 800;
}
.product-content-r2 h3 { margin: 0 0 6px; }
.product-content-r2 p { margin: 0; color: var(--muted); line-height: 1.55; }
.product-plans-r2 { display: grid; gap: 12px; }
.product-plans-r2 article, .product-faq-r2 {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}
.product-plans-r2 article p, .product-faq-r2 p { margin-top: 8px; }
.product-faq-r2 + .product-faq-r2 { margin-top: 10px; }
.product-faq-r2 summary { cursor: pointer; font-weight: 700; }
.product-help-r2 { display: grid; gap: 8px; }
.product-help-r2 button { text-align: left; justify-content: flex-start; }
.product-materials-r2 { list-style: none; padding: 0; margin: 0; }
.product-materials-r2 li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}
.product-materials-r2 li > span { color: var(--muted); }
.plan-r2-copy { display: block; line-height: 1.5; }
.plans46 .plan46:has(input:disabled) { opacity: 1; cursor: default; }
@media (max-width: 680px) {
    .footer-inner.product-footer-r2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .product-footer-r2 > .footer-brand { grid-column: 1 / -1; }
}

/* Footer 2026: scoped; preserves current Minitöö brand wordmark and product button handlers. */
.mt-footer-new{background:#1e232a!important;border-top:1px solid #39424b!important;margin-top:48px!important;padding:0!important;color:#e8edf1!important}
.mt-footer-new .mt-footer-wrap{padding-top:54px;padding-bottom:0}
.mt-footer-new .mt-footer-grid{display:grid;grid-template-columns:minmax(225px,1.55fr) repeat(3,minmax(130px,1fr));gap:clamp(24px,4vw,72px);align-items:start}
.mt-footer-new .mt-footer-brand{display:block;font-size:clamp(37px,3.25vw,52px);line-height:1.08;letter-spacing:-2.5px;font-weight:800;color:#f0f2f5;white-space:nowrap}
.mt-footer-new .mt-footer-brand span{color:#c49a35}
.mt-footer-new .mt-footer-tagline{color:#d0d7df;font-size:13px;font-weight:600;margin:15px 0 5px}
.mt-footer-new .mt-footer-summary{max-width:260px;color:#9ca8b5;font-size:12px;line-height:1.7;margin:0 0 24px}
.mt-footer-new .mt-footer-social-label{font-size:11px;color:#aeb8c3;margin:0 0 12px}
.mt-footer-new .mt-footer-socials{display:flex;gap:10px;min-height:42px;align-items:center;flex-wrap:wrap}
.mt-footer-new .mt-footer-socials a{display:grid;place-items:center;width:42px;height:42px;border:1px solid #46515d;background:#2b323b;color:#f1f3f5;border-radius:12px;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}
.mt-footer-new .mt-footer-socials a:hover,.mt-footer-new .mt-footer-socials a:focus-visible{background:#343d46;border-color:#e8bc48;transform:translateY(-2px);outline-offset:3px}
.mt-footer-new .mt-social-glyph{font-size:23px;line-height:1;font-weight:800;font-family:Arial,sans-serif}
.mt-footer-new .mt-social-instagram{font-size:27px}.mt-footer-new .mt-social-tiktok{font-size:25px}.mt-footer-new .mt-social-youtube{font-size:20px}
.mt-footer-new .mt-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.mt-footer-new .mt-footer-nav strong{display:block;font-size:13px;color:#f1f3f6;font-weight:750;margin-bottom:7px}
.mt-footer-new .mt-footer-nav button{display:block;width:auto;min-height:0;padding:0;font-size:12px;line-height:1.6;color:#abb7c3;font-weight:450;text-align:left;background:transparent;border:0;cursor:pointer}
.mt-footer-new .mt-footer-nav button:hover,.mt-footer-new .mt-footer-nav button:focus-visible{color:#f3cc60;text-decoration:none}
.mt-footer-new .mt-footer-bottom{margin-top:48px;padding:23px 0;border-top:1px solid #3a444f;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#93a1ae;font-size:11px}
@media(max-width:900px){.mt-footer-new .mt-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.mt-footer-new .mt-footer-about{grid-column:1/-1}.mt-footer-new .mt-footer-summary{max-width:450px}}
@media(max-width:680px){.mt-footer-new{margin-top:32px!important;padding-bottom:max(72px,env(safe-area-inset-bottom))!important}.mt-footer-new .mt-footer-wrap{padding-top:38px}.mt-footer-new .mt-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 20px}.mt-footer-new .mt-footer-about{grid-column:1/-1}.mt-footer-new .mt-footer-brand{font-size:45px}.mt-footer-new .mt-footer-bottom{margin-top:36px;flex-direction:column;gap:9px;padding:18px 0}.mt-footer-new .mt-footer-nav button{font-size:12px}}

/* Minitöö Materials Library 82 — no changes to other product dialogs. */
.mt-material82-intro{margin-bottom:12px}.mt-material82-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.mt-material82-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.mt-material82-list .mt-material82-item{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:14px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.mt-material82-icon{display:grid;place-items:center;height:44px;width:44px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:var(--bg,var(--paper))}
.mt-material82-main{min-width:0}.mt-material82-main>strong{display:block;color:var(--ink);font-size:14px;line-height:1.45;font-weight:750}
.product-content-r2 .mt-material82-main>p{margin:4px 0 12px;color:var(--muted);font-size:12px;line-height:1.55}
.mt-material82-versions{display:grid;gap:8px}.mt-material82-version{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:9px;border-top:1px solid var(--line)}
.mt-material82-locale{font-size:11px;color:var(--muted);font-weight:650}.mt-material82-actions{display:flex;gap:8px;flex-wrap:wrap}
.mt-material82-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:32px;border:1px solid var(--line);border-radius:9px;padding:5px 11px;color:var(--ink);font-size:11px;font-weight:750;text-decoration:none;background:var(--paper)}
.mt-material82-actions a:last-child{background:var(--yellow);border-color:var(--yellow);color:#1f2937}
.mt-material82-actions a:hover{filter:brightness(.95)}.mt-material82-actions a:focus-visible{outline:2px solid #f59e0b;outline-offset:2px}
.product-content-r2 .mt-material82-disclaimer{font-size:11px;line-height:1.6;color:var(--muted);margin-top:18px}
.product-content-r2 .mt-material82-empty{padding:16px;border:1px dashed var(--line);border-radius:10px;color:var(--muted)}
@media(max-width:500px){.mt-material82-list .mt-material82-item{padding:12px;gap:10px;grid-template-columns:36px minmax(0,1fr)}.mt-material82-icon{width:36px;height:36px}.mt-material82-version{align-items:flex-start}.mt-material82-actions{width:100%}.mt-material82-actions a{flex:1}}

/* Contact modal — uses Minitöö theme variables, no effect on unrelated dialogs. */
.mt-contact87-content { display:grid;gap:18px;padding-top:20px;padding-bottom:18px; }
.mt-contact87-intro { display:flex;align-items:flex-start;gap:14px;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:16px; }
.mt-contact87-icon { display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#ffd54f;color:#1f2937;font-size:23px; }
.mt-contact87-intro strong {display:block;margin-bottom:3px;color:var(--ink);font-size:16px}
.mt-contact87-intro p {margin:0 0 6px}
.mt-contact87-intro a {color:var(--ink);font-weight:750;text-underline-offset:3px}
.mt-contact87-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mt-contact87-fields .field {min-width:0;margin:0;display:flex;flex-direction:column;gap:7px;font-weight:650}
.mt-contact87-fields .mt-contact87-wide {grid-column:1/-1}
.mt-contact87-fields input,.mt-contact87-fields textarea {box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:10px;padding:11px 13px;font:inherit;font-weight:400}
.mt-contact87-fields textarea {min-height:120px;resize:vertical;line-height:1.5}
.mt-contact87-fields input:focus-visible,.mt-contact87-fields textarea:focus-visible {outline:2px solid #f59e0b;outline-offset:2px}
.mt-contact87-fields .hint {font-size:12px;color:var(--muted);font-weight:400}
.mt-contact87-consent {display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;color:var(--muted);cursor:pointer}
.mt-contact87-consent input {flex:0 0 auto;margin-top:3px;accent-color:#f59e0b}
.mt-contact87-consent a {color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.mt-contact87-honey {position:absolute;left:-9999px;visibility:hidden}
.mt-contact87-status {border:1px solid var(--line);border-radius:10px;padding:12px;font-size:13px}
.mt-contact87-status.is-success {border-color:#16a34a;color:var(--ink);background:rgba(22,163,74,.10)}
.mt-contact87-status.is-error {border-color:#dc2626;color:var(--ink);background:rgba(220,38,38,.10)}
.mt-contact87-footer .btn-primary {background:#ffd54f;color:#1f2937}
@media(max-width:560px){.mt-contact87-fields{grid-template-columns:minmax(0,1fr)}.mt-contact87-content{gap:14px}.mt-contact87-intro{padding:12px}}
