/* Namespaced to keep each tool's workspace and dialogs independent. */
.tn-has-dock{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
.tn-dock,.tn-hub{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203d34}
.tn-dock *,.tn-hub *{box-sizing:border-box}
.tn-dock a,.tn-hub a{color:inherit;text-decoration:none}
.tn-dock{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(740px,calc(100% - 32px));z-index:90}
.tn-dock details{position:relative}
.tn-dock summary{list-style:none;display:flex;align-items:center;gap:14px;padding:12px 18px;background:#173f35;color:#fff;border:1px solid #416458;border-radius:18px;box-shadow:0 10px 35px #163e352b;cursor:pointer;min-height:64px;user-select:none}
.tn-dock summary::-webkit-details-marker{display:none}
.tn-launch-icon{font-size:25px;line-height:1}
.tn-launch-label{font-weight:650;font-size:15px}
.tn-launch-label small{display:block;font-size:11px;color:#c0d1c5;font-weight:400;margin-top:1px}
.tn-site-name{margin-left:auto;font-size:12px;color:#e2eee5;background:#ffffff12;padding:5px 11px;border-radius:20px}
.tn-chevron{font-size:22px;line-height:1;transition:transform .18s}
.tn-dock details[open] .tn-chevron{transform:rotate(180deg)}
.tn-panel{position:absolute;bottom:calc(100% + 10px);width:100%;padding:20px;background:#fbfcf8;border:1px solid #d6dfd5;border-radius:22px;box-shadow:0 18px 60px #163e3526;max-height:min(620px,calc(100dvh - 120px - env(safe-area-inset-bottom,0px)));overflow:auto;overscroll-behavior:contain}
.tn-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.tn-panel-heading strong{font-size:20px;letter-spacing:-.5px}
.tn-panel-heading p{margin:5px 0 0;font-size:12px;color:#65776c}
.tn-close{border:0;border-radius:50%;background:#eaf0e6;color:#294d3e;width:32px;height:32px;flex:none;cursor:pointer;font-size:22px;line-height:1;padding:0}
.tn-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tn-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dfe5dc;background:white;border-radius:13px;min-width:0;transition:background .15s,border-color .15s}
a.tn-card:hover{background:#f0f5e9;border-color:#94ad91}
.tn-icon{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:10px;background:#edf2e6;font-size:22px;color:#386049}
.tn-card-copy{min-width:0;display:block}
.tn-card-copy strong{display:block;font-size:14px;letter-spacing:-.2px}
.tn-card-copy>span{display:block;font-size:11px;color:#65776c;margin-top:2px;line-height:1.5}
.tn-marker{margin-left:auto;flex:none;font-size:13px;color:#718674}
.tn-current{background:#edf3e7;border-color:#a6bca1}
.tn-current .tn-marker{font-size:10px;color:#3d6548}
.tn-overview{display:block;text-align:center;font-weight:600;padding:13px 0 0;margin-top:14px;border-top:1px solid #dfe5dc;font-size:12px}
.tn-dock :focus-visible,.tn-hub :focus-visible{outline:3px solid #c4864c;outline-offset:3px}
body.tn-hub-page{margin:0;background:#f7f8f0;color:#203d34}
.tn-hub{max-width:1140px;margin:auto;padding:28px 32px 40px}
.tn-hub-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tn-hub-brand{display:flex;align-items:center;gap:9px;font-weight:750;font-size:20px;letter-spacing:-.8px}
.tn-hub-brand>span{background:#173f35;color:#e5edd4;border-radius:10px;width:36px;height:36px;display:grid;place-items:center;font-size:25px}
.tn-hub-brand small{font-size:10px;letter-spacing:1.7px;color:#617564;margin-left:4px}
.tn-languages{display:flex;gap:3px;padding:4px;border:1px solid #dfe5d8;border-radius:25px;background:#fff}
.tn-languages button{border:0;background:none;color:#617564;padding:7px 10px;font-size:12px;border-radius:20px;cursor:pointer;font-family:inherit}
.tn-languages button[aria-pressed=true]{background:#173f35;color:#fff}
.tn-hub-intro{background:none;position:static;padding:75px 0 42px;border:0;box-shadow:none}
.tn-eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:#6e8568}
.tn-hub h1{font-size:clamp(34px,5.5vw,66px);font-weight:600;line-height:1.12;letter-spacing:-2.5px;max-width:900px;margin:18px 0 22px}
.tn-hub-intro>p:not(.tn-eyebrow){max-width:610px;font-size:17px;line-height:1.8;color:#69786b}
.tn-hub-count{display:inline-block;margin-top:10px;border:1px solid #dbe3d3;padding:6px 13px;border-radius:20px;font-size:12px;background:#eef2e6}
.tn-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tn-hub-grid .tn-card{padding:24px;align-items:flex-start;flex-direction:column;position:relative;min-height:213px;background:#ffffffd9}
.tn-hub-grid .tn-icon{width:43px;height:43px;font-size:27px;margin-bottom:7px}
.tn-hub-grid .tn-card-copy strong{font-size:19px}
.tn-hub-grid .tn-card-copy>span{font-size:13px;min-height:40px;margin-top:7px}
.tn-hub-grid .tn-card-copy small{display:block;font-size:11px;font-weight:600;margin-top:20px;color:#315943}
.tn-hub-grid .tn-marker{position:absolute;right:20px;top:23px;font-size:17px}
.tn-hub-grid .tn-card:last-child{background:#e8efde;border-color:#bdcdae}
.tn-hub-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 0;margin-top:28px;border-top:1px solid #dce3d3;font-size:12px;color:#677a69}
@media(max-width:850px){.tn-hub-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.tn-dock{width:calc(100% - 24px);bottom:calc(12px + env(safe-area-inset-bottom,0px))}.tn-dock summary{padding:10px 14px;gap:10px}.tn-launch-label{font-size:13px}.tn-site-name{font-size:10px;padding:4px 7px}.tn-panel{padding:16px;border-radius:18px}.tn-panel-heading strong{font-size:18px}.tn-grid{gap:7px}.tn-grid .tn-card{padding:11px;gap:8px;align-items:flex-start;flex-wrap:wrap}.tn-grid .tn-icon{width:27px;height:27px;font-size:18px}.tn-grid .tn-card-copy{flex:1;min-width:75px}.tn-grid .tn-card-copy strong{font-size:12px}.tn-grid .tn-card-copy>span{font-size:10px}.tn-grid .tn-marker{display:none}.tn-grid .tn-current .tn-marker{display:block;width:100%;padding-left:35px;margin-top:-3px;font-size:9px}.tn-hub{padding:20px}.tn-hub-brand{font-size:18px}.tn-hub-brand small{display:none}.tn-hub-intro{padding:52px 0 30px}.tn-hub h1{letter-spacing:-1.4px}.tn-hub-intro>p:not(.tn-eyebrow){font-size:15px}.tn-hub-grid{gap:10px}.tn-hub-grid .tn-card{padding:17px;min-height:216px}.tn-hub-grid .tn-card-copy strong{font-size:17px}.tn-hub-grid .tn-card-copy>span{font-size:12px}.tn-hub-footer{flex-direction:column;align-items:flex-start;gap:8px}}
@media(prefers-reduced-motion:reduce){.tn-dock *,.tn-hub *{transition:none!important}}
@media print{.tn-dock{display:none}.tn-has-dock{padding-bottom:0!important}}
