/* Article-bound tools only. Keep the existing article and sidebar column widths. */
#yk-portal-v2 .at-tools{padding:19px 15px 15px;border:1px solid #dde6f2;border-radius:14px;background:linear-gradient(155deg,#f1f6ff 0,#f9fbff 155px,#fff 320px);box-shadow:0 5px 20px rgb(30 64 110 / 3%);min-width:0}
#yk-portal-v2 .at-tools .at-tools-heading{display:flex;align-items:flex-start;gap:9px;margin:0 0 17px}
#yk-portal-v2 .at-tools .at-heading-icon{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border:1px solid #d9e6fb;border-radius:9px;background:#fff;color:#2763d5;box-shadow:0 2px 5px rgb(38 83 164 / 4%)}
#yk-portal-v2 .at-tools .at-heading-icon svg{width:17px;height:17px}
#yk-portal-v2 .at-tools h2{margin:0;color:#1b3559;font-size:16px;font-weight:650;line-height:1.65}
#yk-portal-v2 .at-tools .at-tools-heading p{margin:5px 0 0;color:#7388a2;font-size:10px;line-height:1.8}
#yk-portal-v2 .at-tools .at-tool-cards{display:grid;gap:12px}
#yk-portal-v2 .at-tools .at-tool-card{display:block;min-width:0;padding:16px 14px 12px;color:#243b5b;text-decoration:none;background:#fff;border:1px solid #e0e8f3;border-radius:11px;box-shadow:0 3px 10px rgb(24 57 104 / 3%)}
#yk-portal-v2 .at-tools .at-tool-card:hover{border-color:#a4bfec;box-shadow:0 7px 19px rgb(34 82 158 / 9%)}
#yk-portal-v2 .at-tools .at-tool-card:focus-visible{outline:3px solid #77a4ef;outline-offset:3px}
#yk-portal-v2 .at-tools .at-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
#yk-portal-v2 .at-tools .at-card-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;color:#2c6bd1;background:linear-gradient(145deg,#eef5ff,#e8f0fe)}
#yk-portal-v2 .at-tools .at-card-icon svg{width:20px;height:20px}
#yk-portal-v2 .at-tools .at-tool-card:nth-child(3n+2) .at-card-icon{color:#268475;background:linear-gradient(145deg,#eff9f6,#e5f3ee)}
#yk-portal-v2 .at-tools .at-tool-card:nth-child(3n+3) .at-card-icon{color:#9c7835;background:linear-gradient(145deg,#faf7ed,#f6efdf)}
#yk-portal-v2 .at-tools .at-access{display:inline-block;padding:3px 7px;border-radius:5px;font-size:10px;font-weight:600;line-height:1.5}
#yk-portal-v2 .at-tools .at-access-free{color:#267767;background:#eef8f3;border:1px solid #e0f0e8}
#yk-portal-v2 .at-tools .at-access-premium{color:#987130;background:#fcf7e9;border:1px solid #f0e5c9}
#yk-portal-v2 .at-tools h3{font-size:13px;line-height:1.85;font-weight:650;margin:0;overflow-wrap:anywhere;color:inherit}
#yk-portal-v2 .at-tools .at-card-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:8px 0 0;font-size:11px;line-height:1.9;color:#7c8ba0;overflow-wrap:anywhere}
#yk-portal-v2 .at-tools .at-card-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:11px;border-top:1px solid #edf1f6;font-size:10px;line-height:1.7;color:#8391a4}
#yk-portal-v2 .at-tools .at-card-bottom strong{display:inline-flex;align-items:center;gap:3px;color:#2b63bc;font-weight:500;white-space:nowrap}
#yk-portal-v2 .at-tools .at-card-bottom svg{width:13px;height:13px}
@media(prefers-reduced-motion:no-preference){#yk-portal-v2 .at-tools .at-tool-card{transition:border-color .18s,box-shadow .18s}}
@media(max-width:820px){
    #yk-portal-v2 .yp-reading-layout > .at-reading-aside{display:grid}
    #yk-portal-v2 .at-reading-aside > :not(.at-tools){display:none}
    #yk-portal-v2 .at-tools{padding:21px}
    #yk-portal-v2 .at-tools h2{font-size:17px}
    #yk-portal-v2 .at-tools .at-tools-heading p{font-size:11px}
    #yk-portal-v2 .at-tools .at-tool-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
    #yk-portal-v2 .at-tools .at-tool-card{padding:18px}
    #yk-portal-v2 .at-tools h3{font-size:14px}
    #yk-portal-v2 .at-tools .at-card-summary{font-size:12px}
}
