/* Stock-specific tabs and an explicit, complete industry picker. */
.ff-tab-row{display:flex;align-items:center;gap:7px;min-width:0;margin-top:12px}
.ff-tab-rail{display:flex;align-items:center;gap:3px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;padding:4px;border-radius:26px;background:#ffffff38;overscroll-behavior-x:contain;touch-action:pan-x}
.ff-tab-rail::-webkit-scrollbar{display:none}
.ff-tab-rail button{flex:0 0 auto;min-height:40px;padding:8px 14px;border-radius:22px;color:#59616a;font-size:13px;line-height:20px;font-weight:400;white-space:nowrap}
.ff-tab-rail button.is-selected{color:#24282d;background:var(--selected)}
.ff-expand{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 44px;width:44px;min-height:44px;padding:8px;border:1px solid #ffffff64;border-radius:23px;background:#ffffff52;color:#606976}
.ff-expand svg{width:19px;height:19px}
.ff-expand-label{flex-basis:89px;width:89px;font-size:12px;white-space:nowrap;padding:8px 9px}
.ff-expand-label svg{width:16px;height:16px}
.ff-applied{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:10px 2px 0}
.ff-applied button{display:flex;align-items:center;gap:5px;max-width:100%;min-height:32px;padding:5px 10px;border-radius:18px;background:#ffffff69;font-size:12px;line-height:20px;color:#647080}
.ff-applied svg{width:13px;height:13px}
.ff-empty h3{font-weight:400;margin-bottom:8px}
.ff-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;align-items:center;margin-top:18px}
.ff-empty-actions .btn{margin:0}
.sheet.ff-sheet{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;padding:9px 22px max(20px,env(safe-area-inset-bottom));background:linear-gradient(170deg,#f2f5f8,#faf9f7 80%)}
.ff-sheet>.sheet-handle,.ff-sheet>.sheet-head{flex-shrink:0}
.ff-sheet>.sheet-head{margin-bottom:14px}
.ff-panel{display:flex;flex-direction:column;flex:1;min-height:0}
.ff-panel-top,.ff-panel-footer{flex-shrink:0}
.ff-search{display:flex;align-items:center;gap:10px;padding:0 14px;height:48px;border:1px solid #ffffffb8;border-radius:24px;background:#ffffffba;color:#9299a2}
.ff-search svg{width:19px;height:19px}
.ff-search input{width:0;flex:1;min-width:0;outline:0;border:0;background:transparent;height:44px;font-size:16px;line-height:24px;color:#343941;padding:0}
.ff-search input::placeholder{color:#939ba6}
.ff-universe-tabs{display:flex;gap:3px;padding:4px;border-radius:24px;background:#e9edf080;margin-top:12px}
.ff-universe-tabs button{flex:1;min-height:40px;font-size:14px;line-height:22px;border-radius:21px;color:#727b87;font-weight:400}
.ff-universe-tabs small{margin-left:4px;font-size:11px;font-variant-numeric:tabular-nums;opacity:.72}
.ff-universe-tabs .is-selected{background:var(--selected);color:#343b44}
.ff-panel-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cad1d950 transparent;margin-top:17px;padding:0 1px 12px}
.ff-list-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;line-height:21px;color:#616b78;margin:0 2px 12px}
.ff-list-heading small{font-size:11px;color:#949aa3;white-space:nowrap}
.ff-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ff-option{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:45px;padding:9px 6px;border-radius:15px;background:#ffffffb3;border:1px solid #ffffffc9;color:#626c79;font-size:13px;line-height:21px;font-weight:400;text-align:center;overflow-wrap:anywhere}
.ff-option.is-selected{background:#dfe5eb;color:#303b49;border-color:#cbd4df66}
.ff-tick{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;color:#6f7a88;width:11px;height:11px}
.ff-tick svg{width:11px;height:11px}
.ff-stock-options{display:flex;flex-direction:column;gap:8px}
.ff-stock-options .ff-option{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:12px 16px;min-height:66px;font-size:15px;line-height:22px;border-radius:20px}
.ff-stock-options .ff-option small{font-size:12px;line-height:18px;color:#8a929e}
.ff-stock-options .ff-tick{right:16px;top:25px;bottom:auto;width:16px;height:16px}
.ff-stock-options .ff-tick svg{width:16px;height:16px}
.ff-types{margin-top:24px}
.ff-type-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ff-type-options button{min-height:42px;font-size:12px;line-height:20px;padding:8px 4px;border-radius:20px;background:#ffffffa6;color:#737d8a;white-space:nowrap}
.ff-type-options button.is-selected{background:var(--selected);color:#394450}
.ff-panel-note{font-size:11px;line-height:18px;color:#99a0a9;margin:20px 2px 0}
.ff-no-match{color:#929ba6;font-size:13px;line-height:22px;text-align:center;padding:30px 12px}
.ff-panel-footer{padding-top:10px;border-top:1px solid #8d99a515}
.ff-panel-footer>p{font-size:12px;line-height:20px;color:#828d99;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0 3px 9px}
.ff-footer-actions{display:flex;gap:10px}
.ff-footer-actions button{min-height:48px;border-radius:25px;font-size:14px;line-height:22px;font-weight:400}
.ff-reset{flex:0 0 76px;color:#7d8794;background:#e9edf075}
.ff-apply{flex:1;background:#d9dfe5;color:#35414e}
@media(max-width:359px){.sheet.ff-sheet{padding-left:16px;padding-right:16px}.ff-tab-rail button{padding-left:12px;padding-right:12px}.ff-tab-row{gap:5px}.ff-expand-label{flex-basis:82px;width:82px;font-size:11px;gap:4px}.ff-option-grid{gap:7px}.ff-option{font-size:12px;padding-left:4px;padding-right:4px}.ff-list-heading{font-size:12px}.ff-list-heading small{font-size:10px}}
