/* Folder entry flow, shared tour status, and prospect shortlist. */
.tl-gateway{background:radial-gradient(ellipse at 15% 0,#f9fbfa 0,transparent 60%),#eef3f1;gap:20px;overflow-y:auto}
.tl-gateway .tl-launch-nav.tl-folder-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1100px;width:100%;padding:16px 4px;background:none;border:0;box-shadow:none;overflow:visible}
.tl-gateway .tl-folder-nav>button{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:220px;min-width:0;padding:24px 20px;text-align:left;border:1px solid #c8d9d1;border-radius:7px 24px 24px 24px;background:#e2ece6;color:#29463e;box-shadow:0 8px 20px #304c3f08;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s;overflow:visible}
.tl-gateway .tl-folder-nav>button::before{content:'';position:absolute;left:-1px;top:-13px;width:44%;height:22px;background:inherit;border:1px solid #c8d9d1;border-bottom:0;border-radius:14px 20px 0 0;z-index:-1}
.tl-gateway .tl-folder-nav>button:nth-child(2){background:#e3eaf1;border-color:#cad7e2;color:#344b63}.tl-gateway .tl-folder-nav>button:nth-child(3){background:#ece7f2;border-color:#d8cfe4;color:#574b69}.tl-gateway .tl-folder-nav>button:nth-child(4){background:#f2e8e3;border-color:#e2d4cb;color:#6c5040}
.tl-gateway .tl-folder-nav>button:hover{transform:translateY(-7px);box-shadow:0 17px 30px #304c3f15}.tl-gateway .tl-folder-nav>button:focus-visible{outline:3px solid #587b6b;outline-offset:5px}
.tl-folder-number{font-size:9px;letter-spacing:.09em;line-height:1.5;position:absolute;top:18px;left:20px;right:18px;text-wrap:balance;opacity:.8}.tl-folder-sheet{font-size:34px;display:grid;place-items:center;background:#ffffffb3;border:1px solid #ffffff;border-radius:12px;width:58px;height:62px;transform:rotate(-5deg);margin:12px 0 22px;transition:transform .45s}.tl-folder-nav button:hover .tl-folder-sheet{transform:translateY(-5px) rotate(0)}
.tl-gateway .tl-folder-nav strong{font-size:22px;letter-spacing:-.035em}.tl-gateway .tl-folder-nav small{font-size:12px;max-width:none;margin-top:5px;color:inherit;opacity:.8}
.tl-prospects-link{background:transparent;border:0;color:#405c52;cursor:pointer;display:block;font:inherit;text-decoration:underline;margin:0 auto 12px;padding:8px}
.tl-launch-picker{background:#fff;box-shadow:0 20px 65px #294b3c13;border-color:#d8e2dc;max-width:760px;animation:tl-folder-open .5s cubic-bezier(.2,.8,.2,1) both;padding:22px;max-height:calc(100dvh - 230px)}
.tl-agent-select{border:0;margin:0;padding:4px 0 12px;border-bottom:1px solid #e4ebe7}.tl-agent-select legend{font-size:12px;color:#597266;margin:0 0 10px;font-weight:650}.tl-agent-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.tl-agent-choices button{border:1px solid #dce5df;background:#f5f8f6;color:#40594d;border-radius:12px;min-height:46px;font:inherit;font-size:12px;padding:10px;cursor:pointer}.tl-agent-choices button[aria-pressed=true]{background:#486b5b;border-color:#486b5b;color:#fff;box-shadow:0 3px 8px #42654e1a}
.tl-picker-start{border:0;border-radius:14px;background:#486b5b;color:#fff;padding:20px;min-height:66px;font-size:16px;cursor:pointer}.tl-picker-team{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}.tl-picker-team small{width:100%}.tl-all-agents{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px}.tl-all-agents input{width:18px;height:18px;accent-color:#486b5b}.tl-picker-row{background:#f6f9f7;border-color:#dce6df;color:#314a3e}.tl-picker-row:focus-visible{outline:3px solid #abc1b3;outline-offset:2px}
.tl-sync-status{border:1px solid #d9e1dc;background:#f6f8f6;color:#5a6e61;border-radius:20px;min-height:32px;padding:6px 12px;font-size:11px;max-width:260px;white-space:normal;cursor:pointer}.tl-sync-status[data-state=saved]{color:#386549;background:#edf6f0}.tl-sync-status[data-state=conflict]{color:#875b2a;background:#fff4de}.tl-measure-direct{font-size:12px;color:#42604e;white-space:nowrap;padding:8px}
.tl-feedback{margin:14px 0;padding:16px;border:1px solid #dce5df;border-radius:16px;background:#f7f9f7}.tl-feedback h3{font-size:13px;margin:0 0 12px}.tl-feedback-choices{display:flex;gap:8px}.tl-feedback button{border:1px solid #d4dfd7;background:#fff;color:#476052;min-height:44px;border-radius:10px;padding:10px 13px;cursor:pointer;font:inherit;font-size:13px}.tl-feedback-choices>button{flex:1}.tl-feedback button[aria-pressed=true]{background:#dcecdf;color:#2b583f;border-color:#8fb29a}.tl-feedback [data-feedback-choice=pass][aria-pressed=true]{background:#f0e5e1;color:#7a4b3f;border-color:#ccb1a5}.tl-feedback-reasons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tl-feedback-reasons[hidden]{display:none}.tl-feedback-reasons button{font-size:12px;border-radius:20px;padding:7px 13px;min-height:38px}
.tl-shared-dialog{width:min(720px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d8e3dc;border-radius:24px;padding:28px;color:#29443c;background:#fafcfb;box-shadow:0 25px 90px #243e3826}.tl-shared-dialog::backdrop{background:#233e445e;backdrop-filter:blur(7px)}.tl-shared-dialog h2{font-size:25px;letter-spacing:-.035em;margin:0 0 12px}.tl-shared-dialog p{line-height:1.6;color:#677e73;font-size:13px}.tl-shared-dialog button,.tl-shared-dialog select,.tl-shared-dialog input:not([type=checkbox]){border:1px solid #ccdcd1;background:#fff;color:#345745;border-radius:11px;padding:11px 14px;min-height:44px;font:inherit;font-size:13px}.tl-shared-dialog button{cursor:pointer}.tl-shared-dialog button:disabled{opacity:.5;cursor:default}.tl-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.tl-dialog-actions .primary{background:#486b5b;color:#fff}.tl-shortlist-home{padding:14px 0;border-top:1px solid #dee7e0}.tl-shortlist-home label{display:flex;gap:12px;align-items:center;font-size:14px;margin-bottom:10px}.tl-shortlist-home select{width:100%;max-width:100%;white-space:normal}.tl-shortlist-home small{display:block;font-size:11px;color:#698071;margin-top:8px}.tl-share-review{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:13px;margin:20px 0}.tl-share-review input,.tl-shortlist-home input{accent-color:#486b5b;width:18px;height:18px;flex:none}.tl-share-url{width:100%;box-sizing:border-box}.tl-shared-dialog [role=status]{overflow-wrap:anywhere}.tl-share-existing{border-top:1px solid #dbe5de;padding-top:14px;margin-top:14px}.tl-share-existing a{color:#38624c;overflow-wrap:anywhere}.tl-share-existing small{display:block;margin:8px 0}.tl-share-existing button{margin-right:8px}
.tl-version{position:fixed;right:12px;top:10px;z-index:905;border:1px solid #dae3dd;border-radius:20px;background:#ffffffeb;color:#677c70;font-size:10px;padding:5px 10px;cursor:pointer}.tl-version-dialog a{color:#416653}
@keyframes tl-folder-open{from{opacity:0;transform:translateY(32px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:850px){.tl-gateway .tl-launch-nav.tl-folder-nav{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px;gap:24px 14px}.tl-gateway .tl-folder-nav>button{min-height:175px;padding:17px}.tl-folder-number{left:17px;top:14px}.tl-folder-sheet{margin:22px 0 12px;width:44px;height:44px;font-size:27px}.tl-gateway .tl-folder-nav strong{font-size:20px}.tl-gateway .tl-folder-nav small{font-size:11px}.tl-gateway-brand{width:min(350px,70vw)}.tl-sync-status{max-width:190px}.tl-agent-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.tl-gateway{justify-content:flex-start;padding:50px 18px 22px;gap:16px}.tl-gateway .tl-launch-nav.tl-folder-nav{gap:23px 12px;padding:8px 0}.tl-gateway .tl-folder-nav>button{min-height:167px;border-radius:7px 19px 19px 19px;padding:15px}.tl-folder-number{font-size:8px;left:15px}.tl-gateway .tl-folder-nav strong{font-size:18px}.tl-gateway-title{font-size:24px}.tl-gateway:has(.tl-launch-picker:not([hidden])){padding-top:32px}.tl-launch-picker{padding:14px;max-height:calc(100dvh - 185px)}.tl-picker-list{max-height:none}.tl-agent-choices button{min-height:44px}.tl-sync-status{max-width:175px;font-size:10px}.tl-shared-dialog{padding:20px;border-radius:20px}.tl-feedback{padding:12px}.tl-feedback-choices{gap:5px}.tl-feedback button{padding:9px;font-size:12px}}
@media(max-height:650px){.tl-gateway .tl-folder-nav>button{min-height:128px}.tl-folder-sheet{display:none}.tl-gateway .tl-folder-nav strong{margin-top:25px}.tl-gateway{gap:12px}.tl-gateway-brand{max-width:220px}.tl-gateway-label{display:none}}
@media(prefers-reduced-motion:reduce){.tl-launch-picker,.tl-folder-nav button,.tl-folder-sheet{animation:none!important;transition:none!important;transform:none!important}}

#tlGateway{background:radial-gradient(ellipse at 15% 0,#f9fbfa 0,transparent 60%),#eef3f1}#tlGateway .tl-folder-nav>button:first-child{background:#e2ece6;color:#29463e}#tlGateway .tl-launch-nav.tl-folder-nav{width:min(1100px,100%);gap:18px}#tlGateway .tl-folder-number{position:static;font-size:9px;min-height:26px;margin-bottom:auto}#tlGateway .tl-folder-sheet{margin-top:16px}@media(max-width:850px){#tlGateway .tl-launch-nav.tl-folder-nav{max-width:600px;gap:24px 14px}}

/* iPad shortlist: keep an exit reachable above long lists and the keyboard. */
.tl-shortlist-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-top:0!important}
.tl-shortlist-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafcfb;border-bottom:1px solid #d8e3dc;padding:12px 0;margin-bottom:18px}
.tl-shortlist-top button{min-width:90px;min-height:48px}
@media(pointer:coarse){.tl-shortlist-dialog select,.tl-shortlist-dialog input:not([type=checkbox]){font-size:16px!important}}
