/* Tommy Cash sector compass */
.tc-sector-color-detail{margin-top:28px;padding:22px 0 0;border-top:1px solid #445260}
.tc-sector-color-detail>summary{font-size:1.1rem;font-weight:750;cursor:pointer;color:#f4f6fa;line-height:1.4}
.tc-sector-color-detail>p{font-size:.88rem;color:#c2ccd7;margin:18px 0}
.tc-sector-color-detail .tc-sector-period{margin:20px 0}
.tc-focus-legend{display:flex;flex-wrap:wrap;gap:20px}
.tc-focus-legend span{display:inline-flex;gap:8px;align-items:center;color:#f4f6fa;font-size:.82rem;font-weight:700}
.tc-focus-legend span:before{content:"";display:inline-block;width:25px;height:3px;background:var(--sector-color)}
.tc-focus-benchmark{--sector-color:#089981}
.tc-focus-embed{min-width:0;border:1px solid #3a4652;border-radius:8px;overflow:hidden}
@media(max-width:700px){.tc-sector-color-detail select{max-width:100%}.tc-sector-color-detail .tc-sector-period{align-items:stretch}.tc-sector-color-detail .tc-sector-period label{width:100%}.tc-sector-color-detail .tc-sector-period select{width:100%}}

.tc-sector-compass{border-top:3px solid #ffd237}
.tc-sector-form{margin:24px 0}
.tc-sector-period{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.tc-sector-period label{font-size:.85rem;font-weight:750}
.tc-sector-period select{font:inherit;font-size:.9rem;background:#24313d;border:1px solid #607080;color:#fff;border-radius:8px;padding:10px 36px 10px 12px;min-height:44px}
.tc-sector-benchmark{font-size:.78rem;color:#c2ccd7}
.tc-sector-form fieldset{padding:0;border:0;margin:0;min-width:0}
.tc-sector-form legend{font-size:.85rem;font-weight:750;padding:0;margin:0 0 12px}
.tc-sector-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tc-sector-options label{display:flex;align-items:center;gap:10px;border:1px solid #445260;background:#1d2934;padding:12px;border-radius:10px;cursor:pointer;min-width:0;min-height:58px}
.tc-sector-options input{accent-color:#ffd237;width:18px;height:18px;flex-shrink:0}
.tc-sector-options span{font-size:.86rem;font-weight:700;line-height:1.3}
.tc-sector-options small{display:block;font-size:.7rem;color:#b8c3d1;font-weight:500;margin-top:4px}
.tc-sector-options label:has(input:checked){border-color:#ffd237;background:#ffd2370d}
.tc-sector-options label:has(input:disabled){opacity:.55;cursor:default}
.tc-sector-hint{font-size:.76rem!important;color:#b8c3d1!important;margin:14px 0!important;max-width:850px}
.tc-sector-actions{display:flex;gap:10px;flex-wrap:wrap}
.tc-sector-actions .button{font-size:.84rem;cursor:pointer}
.tc-sector-secondary{font:inherit;font-size:.8rem;font-weight:650;border:1px solid #657380;background:transparent;color:#f5f7f9;border-radius:9px;min-height:44px;padding:10px 14px;cursor:pointer}
.tc-sector-secondary:hover{background:#ffffff10}
.tc-sector-status{font-size:.82rem!important;color:#ffd237!important;line-height:1.6}
.tc-sector-reading{display:flex;gap:18px;align-items:start;border-top:1px solid #445260;padding:16px 0 20px}
.tc-sector-reading strong{font-size:.83rem;min-width:190px;color:#f6f7f9}
.tc-sector-reading span{font-size:.8rem;color:#b8c3d1;line-height:1.6}
.tc-sector-explain{margin-top:22px;display:grid;gap:10px}
.tc-sector-explain details{border:1px solid #445260;border-radius:10px;padding:15px 18px}
.tc-sector-explain summary{cursor:pointer;font-size:.88rem;font-weight:700}
.tc-sector-explain p{font-size:.85rem;color:#c2ccd7;margin:12px 0 0}
.tc-sector-compass :where(button,select,input,summary):focus-visible{outline:3px solid #ffd237;outline-offset:3px}
.tc-sector-compass .tc-advanced-embed{height:620px!important}
@media(max-width:900px){.tc-sector-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.tc-sector-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-sector-options label{padding:10px 8px;gap:7px}.tc-sector-options span{font-size:.78rem}.tc-sector-options small{font-size:.68rem}.tc-sector-period{gap:10px}.tc-sector-benchmark{flex-basis:100%}.tc-sector-actions{display:grid;grid-template-columns:1fr}.tc-sector-actions button{width:100%}.tc-sector-reading{display:block}.tc-sector-reading strong{display:block;margin-bottom:8px}.tc-sector-compass .tc-advanced-embed{height:520px!important}}
