.jpt-tool-navigation [hidden],.jpt-catalog [hidden],.jpt-no-tools[hidden]{display:none!important}
.jpt-tool-panel #tools{display:block!important;overflow:visible}.jpt-tool-group .tool{width:100%;white-space:normal}
.jpt-mobile-tools{display:none}.jpt-tool-search{box-sizing:border-box;width:100%;min-width:0;min-height:46px;border:1px solid #cbd9dd;border-radius:8px;background:white;padding:11px 12px;margin:0 0 14px;font:inherit;font-size:16px;color:#294957}
.jpt-tool-group{border-bottom:1px solid #dce5e8;margin:0 0 8px;padding:0 0 8px}.jpt-tool-group summary{cursor:pointer;font-size:13px;font-weight:700;color:#455d68;padding:12px 4px;line-height:1.5;min-height:44px;letter-spacing:.2px}.jpt-tool-group .tool{min-height:46px;margin:2px 0}.jpt-tool-group .icon{flex-shrink:0}.jpt-tool-group summary:focus-visible{outline:3px solid #00826d;outline-offset:2px}.jpt-no-tools{font-size:14px;line-height:1.5}.jpt-tool-panel{min-width:0}
.catalog.jpt-catalog{display:block}.jpt-catalog-group{margin:12px 0 30px}.jpt-catalog-group h2{font-size:20px;margin:0 0 12px}.jpt-catalog-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}.jpt-catalog-cards a{min-height:52px;display:flex;align-items:center;font-weight:600}.jpt-catalog-cards a:focus-visible{outline:3px solid #00826d;outline-offset:3px}
@media(max-width:800px){.jpt-mobile-tools{display:block;width:100%;min-height:48px;padding:12px 14px;text-align:left;border:1px solid #bcdccf;border-radius:8px;color:#095e4d;background:#edf6f3;font-weight:600}.jpt-mobile-tools::after{content:' ▾';float:right}.jpt-tool-panel{margin-top:12px;max-height:60vh;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain;padding:3px}.layout aside .asideNote{display:none}.jpt-tool-navigation{margin-bottom:16px}.jpt-catalog-cards{grid-template-columns:minmax(0,1fr)}}
/* Keep Google's picker inside a phone viewport; never change its internal iframe DOM. */
@media(max-width:600px){body.jpt-picker-open .picker-dialog{position:fixed!important;left:4px!important;top:max(4px,env(safe-area-inset-top))!important;width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important;min-width:0!important;height:calc(100vh - 12px)!important;height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;margin:0!important;box-sizing:border-box!important}body.jpt-picker-open .picker-dialog-content{width:100%!important;min-width:0!important;height:100%!important}body.jpt-picker-open .picker-dialog iframe{width:100%!important;min-width:0!important;height:100%!important}body.jpt-picker-open{overflow:hidden}}
#sourceHelp button{min-height:44px;max-width:100%;white-space:normal}#sourceHelp input{font-size:16px;max-width:100%}.jpt-import-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* First-load tools must never flash the legacy flat list. */
#tools:not([data-jpt-ready="true"])>.tool{display:none!important}#jpt-tools-loading{font-size:14px;line-height:1.5;padding:12px 0;color:#455d68}#jpt-tools-loading[hidden]{display:none!important}

/* Mobile: categories are visible immediately. Each heading opens its tools. */
.jpt-tool-navigation .jpt-tool-panel{max-height:none;overflow:visible;margin-top:0;padding:0}
.jpt-mobile-tools{display:none!important}
#icloud[hidden]{display:none!important}
@media(max-width:800px){.jpt-tool-navigation .jpt-tool-panel{max-height:none;overflow:visible}.jpt-tool-group summary{font-size:15px;min-height:48px;padding:14px 12px;border:1px solid #c7dfd5;border-radius:10px;background:#eff7f3;box-sizing:border-box}.jpt-tool-group{border:0;margin:0 0 8px;padding:0}.jpt-tool-group[open]{padding-bottom:8px}.jpt-tool-group[open] summary{margin-bottom:6px}.jpt-tool-search{margin-bottom:12px}}
