/* Compact free-service cards; product cards and service applications are separate. */
body .services{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:242px;gap:16px}body .services>li{min-width:0;grid-column:auto;grid-row:auto}body .services>li>a.clay-card{display:flex;flex-direction:column;position:relative;height:100%;min-height:0;padding:14px 14px 30px;border-radius:22px;gap:0}body .services .preview{display:flex;align-items:center;justify-content:center;flex:0 0 96px;height:96px;min-height:96px;max-height:96px;width:100%}body .services .preview .clay-icon{width:96px;height:96px}body .services .preview svg{max-width:96px;max-height:96px}body .services h3{font-size:16px;line-height:21px;min-height:42px;margin:8px 0 4px;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}body .services p{font-size:13px;line-height:19px;margin:0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}body .services .arrow{right:14px;bottom:9px;font-size:18px}body .services .service-action{position:absolute;left:14px;right:14px;bottom:8px;margin:0;min-height:20px;font-size:11px}body .featured{grid-auto-rows:242px}body .featured>li>a.clay-card{height:100%;min-height:0;padding:14px}body .featured .preview{height:104px;min-height:104px;max-height:104px}body .featured .preview .clay-icon{width:104px;height:104px}body .featured h3{font-size:18px;line-height:24px;margin:10px 0 4px}body .featured p{font-size:13px;line-height:20px;margin:0}body .featured .service-action{margin:8px 0 0;min-height:20px;font-size:12px}

/* Full descriptions stay available without stretching every closed card. */
.tools-page .grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:256px;gap:14px}
.tools-page .grid>.card{height:100%;min-height:256px;padding:12px;border-radius:20px}
.tools-page .tool-title{height:40px;min-height:40px;flex-direction:row;align-items:center;gap:8px;margin:0 0 8px}
.tools-page .tool-icon,.tools-page .tool-icon .clay-icon{width:40px;height:40px;flex:0 0 40px}
.tools-page .meta{min-width:0;font-size:11px;line-height:15px}
.tools-page .grid>.card h3{font-size:15px;line-height:21px;min-height:63px;margin:0 0 4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.tools-page .tool-description{margin:0 0 8px}
.tools-page .tool-description summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:12px;font-weight:700;color:#36553e}
.tools-page .tool-description summary::before{content:'＋';margin-right:5px}
.tools-page .tool-description[open] summary::before{content:'−'}
.tools-page .tool-description p{margin:0 0 10px;font-size:13px;line-height:1.7;flex:initial;overflow-wrap:anywhere}
.tools-page .btns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-top:auto}
.tools-page .btns .btn{min-width:0;min-height:48px;padding:6px 4px;font-size:12px;line-height:16px;text-align:center;word-break:keep-all;overflow-wrap:normal;gap:2px;flex-direction:column;border-radius:12px}
.tools-page .btns .btn small{font-size:10px;line-height:12px;font-weight:400}
@media(max-width:950px) and (min-width:701px){.services{grid-template-columns:repeat(3,minmax(0,1fr))}.tools-page .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
body .services{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:224px;gap:10px}body .services>li>a.clay-card{padding:10px 10px 28px;border-radius:19px}body .services .preview{flex-basis:84px;height:84px;min-height:84px;max-height:84px}body .services .preview .clay-icon{width:84px;height:84px}body .services .preview svg{max-width:84px;max-height:84px}body .services h3{font-size:14px;line-height:20px;min-height:40px;margin:7px 0 4px}body .services p{font-size:12px;line-height:18px}body .services .arrow{right:10px;bottom:8px}body .services .service-action{left:10px;right:10px;bottom:7px;font-size:10px;line-height:14px}body .featured{grid-auto-rows:114px;gap:10px}body .featured>li>a.clay-card{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;padding:12px;min-height:0;border-radius:19px}body .featured .preview{height:80px;min-height:80px;max-height:80px;grid-row:span 3}body .featured .preview .clay-icon{width:76px;height:76px}body .featured h3{font-size:16px;line-height:21px;margin:0 0 2px}body .featured p{font-size:12px;line-height:18px;margin:0}body .featured .service-action{font-size:11px;min-height:20px;margin:3px 0 0}
 .tools-page .grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:264px;gap:10px}
 .tools-page .grid>.card{min-height:264px;padding:10px;border-radius:18px}
 .tools-page .tool-title{gap:6px}
 .tools-page .tool-icon,.tools-page .tool-icon .clay-icon{width:34px;height:34px;flex-basis:34px}
 .tools-page .meta{font-size:10px;line-height:14px}
 .tools-page .grid>.card h3{font-size:14px;line-height:20px;min-height:60px}
 .tools-page .btns .btn{font-size:11px;line-height:15px}
}
@media(max-width:350px){.tools-page .grid{grid-template-columns:minmax(0,1fr)}.tools-page .grid>.card{min-height:244px}.tools-page .grid>.card h3{min-height:42px;-webkit-line-clamp:2}}

.tools-page .grid:has(.tool-description[open]){grid-auto-rows:minmax(256px,auto)}
.tools-page #tool-more[hidden]{display:none}
@media(max-width:700px){.tools-page .grid:has(.tool-description[open]){grid-auto-rows:minmax(264px,auto)}}
