/* TC W5: keep the original upper-right link-sharing icon.
 * AA: keep the original upper-right share icon.
 * KA: introduce the same small icon without changing W5 section styling.
 * "Jaa" next to existing Etusivulle is a second entry to that share.
 */
.tc-w5-share-heading-row {
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px; width:100%;
}
.tc-w5-share-heading-row>.tc-ka-w5-title {flex:1; min-width:0;}
.tc-ka-w5-share {
  width:40px; height:40px; min-width:40px; display:inline-flex;
  align-items:center; justify-content:center;
  appearance:none; border:1px solid #ccd6d2;
  border-radius:10px; background:transparent; color:#0f4f45;
  cursor:pointer;
}
.tc-ka-w5-share svg {display:block!important; width:22px!important; height:22px!important;
  visibility:visible!important; opacity:1!important; fill:none!important;
  stroke:#0f4f45!important; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.tc-w5-share-bottom-row {
  display:flex!important; align-items:stretch; flex-wrap:wrap;
  gap:10px; margin-top:20px;
}
.tc-w5-share-bottom-row>.tc-w5-home,
.tc-w5-share-bottom-row>.tc-aa-appliance-home,
.tc-w5-share-bottom-row>.tc-aa-fixed-asset-home,
.tc-w5-share-bottom-row>.tc-aa-service-home,
.tc-w5-share-bottom-row>.tc-aa-safety-home,
.tc-w5-share-bottom-row>.tc-ka-w5-cta {
  margin-top:0!important; flex:1 1 150px;
  width:auto!important; max-width:none; min-width:0;
}
.tc-w5-share-bottom {
  display:inline-flex; flex:1 1 120px; align-items:center; justify-content:center;
  min-height:42px; padding:10px 18px; border:1px solid #0f4f45;
  border-radius:12px; background:#fff; color:#0f4f45;
  font:inherit; font-size:14px; font-weight:650; line-height:1.35;
  cursor:pointer;
}
.tc-w5-share-bottom:hover {background:#eef5f2;}
.tc-w5-share-bottom:disabled {opacity:.58; cursor:wait;}
.tc-w5-share-bottom:focus-visible,.tc-ka-w5-share:focus-visible {
  outline:3px solid #287a67; outline-offset:2px;
}
.tc-w5-share-status {
  width:100%; min-height:0; font-size:13px; line-height:1.4;
  color:#345a50;
}
.tc-w5-share-status:empty {display:none;}
@media(max-width:400px) {
  .tc-w5-share-bottom-row {gap:8px;}
  .tc-w5-share-bottom-row>.tc-w5-share-bottom {flex-basis:100px;}
}

/* Same share-arrow shape as AA/TC; no dependence on KA page svg overrides. */
.tc-ka-w5-share>.tc-ka-w5-share-glyph {
  display:block!important; width:22px!important; height:22px!important;
  flex:0 0 22px; opacity:1!important; visibility:visible!important;
  background-repeat:no-repeat; background-position:center; background-size:22px 22px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%230f4f45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V3m0 0L7.5 7.5M12 3l4.5 4.5M5 11v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8'/%3E%3C/svg%3E");
}

/* Resident-confirmed actions: immediately after the optional extra note. */
.tc-aa-completed-panel { margin:12px 0 18px; padding:12px 15px; border:1px solid var(--tc-border,#d2dcd8); border-radius:10px; line-height:1.5; font-size:14px; }
.tc-aa-completed-panel[hidden] { display:none!important; }
.tc-aa-completed-panel-title { font-weight:650; margin-bottom:7px; }
.tc-aa-completed-panel ol { margin:0 0 0 20px; padding:0; }
.tc-aa-completed-panel li+li { margin-top:5px; }
