/* The toolkit is complete in HTML; JavaScript adds the selectable dock. */
#tools{margin-top:3.5rem;padding:0;border:0;background:none;scroll-margin-top:7rem}
#tools .ecosystem-heading{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;margin-bottom:1.8rem}
#tools .ecosystem-heading .cap{display:block;margin-bottom:.8rem;color:#d6b587}
#tools .ecosystem-heading h3{font-family:var(--display);font-weight:450;font-size:clamp(1.9rem,3.7vw,2.7rem);line-height:1.08;letter-spacing:-.025em;color:#f2e7d9;margin:0}
#tools .ecosystem-heading h3 em{font-weight:400;color:#d8b480}
#tools .ecosystem-heading>p{max-width:31ch;margin:0;color:#bbac9d;font-size:.86rem;line-height:1.75}
#tools .ecosystem-shell{--ecosystem-selected:211,137,106;position:relative;border:1px solid #765840;border-radius:22px;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,rgba(var(--ecosystem-selected),.14),transparent 63%),linear-gradient(125deg,#35291f,#251c16 58%,#35271e);box-shadow:inset 0 1px rgba(255,237,211,.07),0 22px 65px -30px #090603}
#tools .ecosystem-shell::after{content:"";position:absolute;pointer-events:none;inset:0;border-radius:inherit;border:1px solid rgba(242,216,181,.03);box-shadow:inset 0 -1px rgba(0,0,0,.25)}
#tools .ecosystem-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
#tools .ecosystem-tool{position:relative;padding:1.8rem;min-width:0;border-right:1px solid rgba(223,191,150,.12);border-bottom:1px solid rgba(223,191,150,.12)}
#tools .ecosystem-tool-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.4rem;font-family:var(--mono);font-size:.56rem;letter-spacing:.11em;text-transform:uppercase;color:#d3b996}
#tools .ecosystem-position{font-size:.54rem;color:#a79480;white-space:nowrap}
#tools .ecosystem-logo{display:flex;align-items:center;justify-content:center;width:72px;height:72px;flex:none;border-radius:17px;padding:14px;background:linear-gradient(150deg,#fffdf9,#e9e0d4);border:1px solid #fff5e7;box-shadow:0 7px 17px -7px rgba(0,0,0,.75),inset 0 1px #fff}
#tools .ecosystem-logo img{width:100%;height:100%;object-fit:contain;display:block}
#tools .ecosystem-logo.is-app{padding:5px;overflow:hidden}
#tools .ecosystem-logo.is-app img{border-radius:12px}
#tools .ecosystem-tool h4{margin:1.5rem 0 .8rem;font-family:var(--display);font-size:1.6rem;line-height:1.12;font-weight:450;letter-spacing:-.015em;color:#f5eadc}
#tools .ecosystem-tool>p{margin:0;color:#cbbcac;font-size:.85rem;line-height:1.8;max-width:47ch}
#tools .ecosystem-link{display:inline-flex;align-items:center;gap:.8rem;max-width:100%;margin-top:1.65rem;padding:.55rem 0;font-size:.74rem;font-weight:500;line-height:1.5;color:#ecd1aa;border-bottom:1px solid #806247;transition:color .2s,border-color .2s}
#tools .ecosystem-link:hover{color:#fff3e2;border-color:#e1ba85}
#tools .ecosystem-link span{font-size:1rem;line-height:1;flex:none;transition:transform .2s}
#tools .ecosystem-link:hover span{transform:translate(2px,-2px)}
#tools .ecosystem-footnote{margin:.9rem 0 0;color:#b7a38e;font-size:.65rem;line-height:1.7;max-width:90ch}
#tools [hidden]{display:none!important}
#tools.is-enhanced .ecosystem-shell{display:grid;grid-template-columns:minmax(310px,.94fr) minmax(0,1.3fr)}
#tools.is-enhanced .ecosystem-library{display:block;min-width:0;align-self:stretch}
#tools.is-enhanced .ecosystem-tool{height:100%;min-height:407px;padding:2rem 2.4rem 2.2rem;border:0;display:flex;flex-direction:column;align-items:flex-start}
#tools.is-enhanced .ecosystem-tool-top{width:100%;margin-bottom:1.6rem}
#tools.is-enhanced .ecosystem-tool h4{font-size:clamp(1.8rem,3vw,2.5rem);margin-top:1.25rem}
#tools.is-enhanced .ecosystem-tool>p{font-size:.9rem;line-height:1.8}
#tools.is-enhanced .ecosystem-link{margin-top:auto;padding-top:1.5rem}
#tools .ecosystem-dock{position:relative;min-width:0;padding:1.5rem 1.35rem;background:linear-gradient(145deg,rgba(118,80,50,.16),rgba(21,14,10,.35));border-right:1px solid #6d5039}
#tools .ecosystem-dock-label{display:flex;justify-content:space-between;gap:1rem;margin:0 .4rem 1.3rem;font-family:var(--mono);font-size:.57rem;letter-spacing:.14em;text-transform:uppercase;color:#d3b996}
#tools .ecosystem-dock-label span:last-child{color:#a99782}
#tools .ecosystem-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem .45rem}
#tools .ecosystem-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.6rem;min-width:0;margin:0;padding:0 .15rem .55rem;border:0;border-radius:15px;background:none;color:#c0ad98;font-family:var(--body);font-size:.6rem;line-height:1.3;cursor:pointer;transition:color .2s,transform .2s}
#tools .ecosystem-choice .ecosystem-logo{width:clamp(48px,5vw,62px);height:clamp(48px,5vw,62px);border-radius:14px;padding:11px;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 6px 12px -6px rgba(0,0,0,.75),inset 0 1px #fff}
#tools .ecosystem-choice .ecosystem-logo.is-app{padding:4px}
#tools .ecosystem-choice .ecosystem-logo.is-app img{border-radius:10px}
#tools .ecosystem-choice:hover{color:#fff0d9}
#tools .ecosystem-choice:hover .ecosystem-logo{transform:translateY(-3px);box-shadow:0 11px 17px -8px #100a06,0 0 0 3px rgba(238,206,161,.13)}
#tools .ecosystem-choice[aria-pressed="true"]{color:#fff1d8}
#tools .ecosystem-choice[aria-pressed="true"] .ecosystem-logo{box-shadow:0 0 0 3px #423125,0 0 0 5px #d1a775,0 9px 21px -7px #120b07}
#tools .ecosystem-choice[aria-pressed="true"]::after{content:"";position:absolute;bottom:-.06rem;width:4px;height:4px;border-radius:50%;background:#e5c38f}
#tools .ecosystem-choice:focus-visible{outline:2px solid #f5d8ac;outline-offset:5px}
#tools .ecosystem-hint{font-size:.66rem;line-height:1.6;color:#b6a18a;text-align:center;margin:1.3rem 0 0}
@media(min-width:1100px){#tools.is-enhanced .ecosystem-shell{grid-template-columns:400px minmax(0,1fr)}#tools .ecosystem-dock{padding:1.6rem 1.8rem}#tools .ecosystem-choice .ecosystem-logo{width:62px;height:62px}#tools.is-enhanced .ecosystem-tool{padding:2rem 2.7rem 2.2rem}}
@media(max-width:760px){#tools .ecosystem-heading{display:block}#tools .ecosystem-heading>p{max-width:45ch;margin-top:1rem}#tools .ecosystem-library{grid-template-columns:repeat(2,minmax(0,1fr))}#tools.is-enhanced .ecosystem-shell{grid-template-columns:1fr}#tools .ecosystem-dock{padding:1.4rem;border-right:0;border-bottom:1px solid #6d5039}#tools .ecosystem-choices{gap:1.1rem .8rem;max-width:470px;margin:auto}#tools .ecosystem-choice .ecosystem-logo{width:60px;height:60px}#tools .ecosystem-hint{margin-top:1.2rem}#tools.is-enhanced .ecosystem-tool{min-height:370px;padding:1.6rem 1.8rem 1.9rem}#tools.is-enhanced .ecosystem-tool-top{margin-bottom:1.3rem}#tools.is-enhanced .ecosystem-tool h4{font-size:2rem}#tools .ecosystem-footnote{font-size:.62rem}}
@media(max-width:450px){#tools{margin-top:2.6rem}#tools .ecosystem-library{grid-template-columns:1fr}#tools .ecosystem-shell{border-radius:18px}#tools .ecosystem-dock{padding:1.25rem .95rem}#tools .ecosystem-choices{gap:1.05rem .3rem}#tools .ecosystem-choice .ecosystem-logo{width:54px;height:54px;border-radius:13px}#tools .ecosystem-choice{font-size:.6rem}#tools .ecosystem-hint{font-size:.62rem}#tools.is-enhanced .ecosystem-tool{padding:1.4rem 1.3rem 1.65rem;min-height:370px}#tools.is-enhanced .ecosystem-tool h4{font-size:1.8rem}#tools.is-enhanced .ecosystem-tool>p{font-size:.86rem}#tools .ecosystem-tool-top{gap:.5rem;font-size:.53rem}#tools .ecosystem-position{font-size:.5rem}}
@media(prefers-reduced-motion:reduce){#tools .ecosystem-choice,#tools .ecosystem-logo,#tools .ecosystem-link,#tools .ecosystem-link span{transition:none}#tools .ecosystem-choice:hover .ecosystem-logo,#tools .ecosystem-link:hover span{transform:none}}
@media print{#tools.is-enhanced .ecosystem-dock{display:none!important}#tools.is-enhanced .ecosystem-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#tools.is-enhanced .ecosystem-shell{display:block}#tools.is-enhanced .ecosystem-tool[hidden]{display:block!important}#tools.is-enhanced .ecosystem-tool{min-height:0;height:auto;break-inside:avoid}#tools .ecosystem-link{display:none}}
#tools .ecosystem-tool { scroll-margin-top:7rem; }
#tools .ecosystem-heading .cap,#tools .ecosystem-tool-top,#tools .ecosystem-dock-label { font-family:var(--body);font-size:.76rem;letter-spacing:.015em;text-transform:none; }
#tools .ecosystem-position,#tools .ecosystem-footnote,#tools .ecosystem-hint { font-size:.73rem;letter-spacing:0;line-height:1.7; }
#tools .ecosystem-choice { font-size:.74rem; }
#tools .ecosystem-link { font-size:.82rem; }
