/* Global search entry, filters and results. */
.topbar-right{display:flex;align-items:center;gap:7px}.global-search-btn{position:relative;display:grid;place-items:center;width:35px;height:35px;flex:none;border:1px solid #eee2e2;border-radius:13px;background:rgba(255,255,255,.74);color:#895f6e;box-shadow:0 7px 18px rgba(91,61,72,.06)}.global-search-btn>span,.global-search-query>span{position:relative;width:14px;height:14px;border:2px solid currentColor;border-radius:50%}.global-search-btn>span:after,.global-search-query>span:after{content:"";position:absolute;width:6px;height:2px;right:-5px;bottom:-2px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.global-search-view{padding-bottom:22px}.global-search-head{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;margin:8px 0 17px}.global-search-head small{display:block;color:#d9567b;font-size:9px;font-weight:900;letter-spacing:1.6px}.global-search-head h1{margin:4px 0 3px;font-size:25px}.global-search-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}
.global-search-panel{padding:14px;border:1px solid #efdfdf;border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,247,249,.94));box-shadow:0 13px 34px rgba(102,67,79,.08)}.global-search-query{display:grid;grid-template-columns:23px minmax(0,1fr) 28px;align-items:center;gap:6px;margin:0;padding:5px 7px 5px 13px;border:1px solid #e9dadd;border-radius:17px;background:#fff;color:#ce5578;transition:.18s}.global-search-query:focus-within{border-color:#e891aa;box-shadow:0 0 0 4px rgba(232,145,170,.12)}.global-search-query>span{width:13px;height:13px}.global-search-query input{min-width:0;width:100%;height:39px;border:0;background:transparent;color:var(--ink);font-size:12px;outline:0}.global-search-query input::-webkit-search-cancel-button{display:none}.global-search-query button{width:27px;height:27px;border:0;border-radius:9px;background:#fff2f5;color:#c96a84;font-size:17px}
.global-search-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.global-search-filters label{min-width:0;margin:0;color:#7d6870;font-size:8px;font-weight:800}.global-search-filters label>span{display:block;margin:0 0 5px 3px}.global-search-filters select,.global-search-filters input{width:100%;height:38px;margin:0;padding:0 10px;border:1px solid #eadfe0;border-radius:12px;background:#fff;color:#5d4b52;font-size:9px;outline:0}.global-search-filters input:focus,.global-search-filters select:focus{border-color:#e796ac;box-shadow:0 0 0 3px rgba(231,150,172,.1)}.global-search-filter-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:11px}.global-search-filter-actions button{padding:7px 11px;border:1px solid #e8dce0;border-radius:10px;background:#fff;color:#8a6c77;font-size:8px;font-weight:800}.global-search-filter-actions button:last-child{border-color:#d9e8e2;background:#f3faf7;color:#4e8b76}
.global-search-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 3px 10px}.global-search-summary>div{display:flex;align-items:baseline;gap:5px}.global-search-summary strong{font:700 24px Georgia,serif;color:#d65378}.global-search-summary span{color:#806b73;font-size:9px}.global-search-summary p{margin:0;color:#a09096;font-size:8px;text-align:right}.global-search-summary p.busy:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border:1.5px solid #e6c8d1;border-top-color:#d65378;border-radius:50%;vertical-align:-1px;animation:globalSearchSpin .75s linear infinite}@keyframes globalSearchSpin{to{transform:rotate(360deg)}}
.global-search-results{display:grid;gap:8px}.global-search-result{display:grid;grid-template-columns:42px minmax(0,1fr) 12px;gap:11px;align-items:start;width:100%;padding:13px;border:1px solid #eee2e2;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 8px 22px rgba(91,61,71,.045);text-align:left;transition:.16s}.global-search-result:active{transform:scale(.985);background:#fffafb}.global-search-result-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff0f4;color:#d24f75;font-size:18px}.global-search-result-icon.trip{background:#edf8f4;color:#47836f}.global-search-result-icon.voice{background:#f3efff;color:#7460ad}.global-search-result-icon.ai{background:linear-gradient(135deg,#6d7be7,#8053b3);color:#fff}.global-search-result-icon.game{background:#fff4db;color:#a67822}.global-search-result-icon.reminder{background:#eef7ff;color:#527fa1}.global-search-result>div{min-width:0}.global-search-result small{display:flex;align-items:center;gap:6px;color:#d65378;font-size:8px;font-weight:900;letter-spacing:.5px}.global-search-result small i{padding:2px 5px;border-radius:99px;background:#f5f0f2;color:#927c84;font-size:6px;font-style:normal;letter-spacing:0}.global-search-result strong{display:block;margin-top:4px;font-size:12px;line-height:1.4}.global-search-result p{display:-webkit-box;margin:5px 0 0;overflow:hidden;color:#746269;font-size:9px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:2}.global-search-result em{display:block;margin-top:6px;overflow:hidden;color:#a6979c;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.global-search-result>b{align-self:center;color:#c8b9be;font-size:16px}
.global-search-empty{padding:46px 22px;text-align:center;color:#98878e}.global-search-empty[hidden]{display:none}.global-search-empty>span{display:grid;place-items:center;width:58px;height:58px;margin:auto;border:1px solid #eedfe4;border-radius:20px;background:#fff7f9;color:#d77290;font-size:28px}.global-search-empty h3{margin:13px 0 6px;color:#49373e;font-size:14px}.global-search-empty p{max-width:330px;margin:auto;font-size:9px;line-height:1.7}
@media(max-width:460px){.global-search-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search-panel{padding:12px}.global-search-summary{align-items:flex-end}.global-search-summary p{max-width:65%}.sync-pill{padding-left:8px;padding-right:8px}.global-search-btn{width:33px;height:33px}}
@media(max-width:350px){.global-search-btn{display:none}.global-search-filters{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.global-search-summary p.busy:before{animation:none}.global-search-result{transition:none}}
