.tool-library-page{background:#f4f7f9;padding:30px 0 54px;color:#17334e}
.tool-library-page .ct-site{max-width:1080px}
.tool-library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.tool-library-heading h1{font-size:clamp(1.65rem,3vw,2.15rem);line-height:1.2;margin:4px 0 12px;font-weight:700;letter-spacing:-.02em}
.tool-library-heading p{margin:0;line-height:1.5}.tool-library-heading a{white-space:nowrap;color:#173f62;min-height:44px;display:inline-flex;align-items:center}
.tool-library-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.4fr);gap:16px;margin-bottom:10px}
.tool-library-filters label{display:grid;gap:7px;font-size:.9rem;font-weight:600}
.tool-library-filters input,.tool-library-filters select{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #bdcad7;border-radius:8px;background:#fff;color:#17334e;font:inherit;min-height:46px}
.tool-library-count{font-size:.85rem;color:#4d6275;min-height:20px;margin:10px 0}
.tool-library-list.ct-tool-grid{display:block;border:1px solid #dce4eb;border-radius:10px;overflow:hidden;background:#fff}
.tool-library-row.ct-tool-card{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:18px;border:0;border-bottom:1px solid #e4eaf0;border-radius:0;box-shadow:none;margin:0;padding:18px 22px;min-height:0;background:#fff}
.tool-library-row:last-child{border-bottom:0}.tool-library-row h3{margin:0 0 6px;font-size:1rem;line-height:1.35;font-weight:700}.tool-library-row p{font-size:.9rem;line-height:1.5;margin:0;color:#4d6275}
.tool-library-row details{margin-top:6px;font-size:.85rem}.tool-library-row summary{display:inline-flex;align-items:center;cursor:pointer;min-height:32px;color:#244c6e;text-decoration:underline;text-underline-offset:3px}.tool-library-row summary::after{content:' +';margin-left:5px}.tool-library-row details[open] summary::after{content:' −'}.tool-library-row ul{margin:8px 0;padding-left:18px}.tool-library-row li{font-size:.85rem;line-height:1.55}
.tool-library-row .tool-open{margin:0;min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:.9rem;white-space:nowrap;color:#0b3558}
.tool-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:8px;background:#eef4f8;color:#174368;font-size:1.55rem}
.tool-sample{appearance:none;cursor:pointer;background:white;border:1px solid #cbd8e2;padding:0;border-radius:4px;overflow:hidden;width:66px;box-shadow:0 2px 4px #17334e13}.tool-sample img{display:block;width:64px;height:82px;object-fit:cover;object-position:top}.tool-sample span{display:block;background:#edf3f7;padding:3px;font-size:10px;color:#17334e}
.tool-library-page [hidden]{display:none!important}.tool-library-page :focus-visible{outline:3px solid #c59010;outline-offset:3px}
.tool-preview-dialog{box-sizing:border-box;border:1px solid #becbd5;border-radius:12px;padding:20px;width:min(900px,calc(100% - 24px));max-height:calc(100dvh - 24px);color:#17334e;background:#fff}.tool-preview-dialog::backdrop{background:#0a203cc9}.tool-preview-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.tool-preview-head h2{font-size:1.05rem;margin:0}.tool-preview-head button{padding:10px 16px;border:1px solid #bdcad7;border-radius:7px;background:#fff;color:#17334e;font:inherit;cursor:pointer;min-height:44px}.tool-preview-dialog>p{font-size:.85rem;margin:12px 0}.tool-preview-dialog iframe{width:100%;height:65dvh;border:1px solid #dce4eb;background:#fff;display:block;margin-bottom:12px}.tool-preview-dialog>a{display:inline-flex;min-height:44px;align-items:center;color:#0b3558}
@media(max-width:600px){.tool-library-page{padding:22px 0 36px}.tool-library-heading{display:block}.tool-library-heading>a{font-size:.85rem;margin-top:8px}.tool-library-filters{grid-template-columns:1fr;gap:12px}.tool-library-row.ct-tool-card{grid-template-columns:48px minmax(0,1fr);gap:10px 14px;padding:16px}.tool-library-copy{min-width:0}.tool-library-row .tool-open{grid-column:2;justify-self:start}.tool-sample{width:46px}.tool-sample img{width:44px;height:58px}.tool-sample span{font-size:9px}.tool-library-row summary{min-height:40px}.tool-symbol{width:44px;height:44px}.tool-preview-dialog{padding:14px}.tool-preview-dialog iframe{height:60dvh}}
