/* One recruiting workflow, with optional natural-language input. */
.market-mode-switch{display:flex;gap:5px;padding:4px;background:#edf3f1;border:1px solid #dce7e1;border-radius:10px;margin:0 0 18px}
.market-mode-switch button{flex:1;min-height:42px;border-radius:7px;font-size:13px;padding:8px 12px;color:#57746d;display:flex;align-items:center;justify-content:center;gap:7px}
.market-mode-switch button[aria-pressed=true]{color:#145f58;background:white;box-shadow:0 1px 4px #18343b14;font-weight:600}
.market-mode-switch button>span{font-size:9px;letter-spacing:.4px;padding:2px 5px;border:1px solid #cadbd4;border-radius:4px;font-weight:600}
.market-question{margin:2px 0 17px}.market-question[hidden],.market-api-status[hidden],.market-strategy-field[hidden],#market-strategy-hint[hidden],.market-footer[hidden]{display:none!important}
.market-question>label{display:block;font-size:13px;color:#335f55;font-weight:600;margin:0 0 8px}
.market-question textarea{display:block;width:100%;min-height:104px;resize:vertical;border:1px solid #c4d8d0;border-radius:8px;padding:12px;color:#244e45;background:#fff;font:inherit;font-size:16px;line-height:1.5;max-height:240px}
.market-question textarea::placeholder{color:#798d8c}.market-question textarea:focus-visible{outline:2px solid #146d68;outline-offset:2px}
.market-question>p{margin:8px 0 10px;font-size:11px;line-height:1.6;color:#698078}.market-examples{display:flex;flex-wrap:wrap;gap:6px}.market-examples button{font-size:11px;line-height:1.4;color:#315e54;border:1px solid #d3e2db;border-radius:7px;background:white;padding:7px 9px;min-height:36px;text-align:left}
.market-examples button:hover{background:#e7f2ef}.market-api-status{font-size:12px;line-height:1.6;color:#5d7872;padding:10px 0 0;margin:0 0 12px}.market-api-status.is-error{color:#845827}
#market-dialog[data-mode=question] .market-criteria>summary{padding-bottom:9px}#market-dialog[data-mode=question] .market-submit{margin-top:10px}
.market-takeaway{border-left:3px solid #bfd7d0;padding:2px 0 2px 12px;margin:0 0 18px}.market-takeaway h4{font-size:13px;font-weight:600;color:#315d54;margin:0 0 5px}.market-takeaway p{font-size:12px;color:#637d78;line-height:1.65;margin:0}
.market-answer{padding:16px;border:1px solid #d6e5df;border-radius:10px;background:#f7faf8;margin:0 0 18px}.market-ai-label{display:inline-block;font-size:10px;line-height:1.4;letter-spacing:.2px;color:#356c61;border:1px solid #cbded6;background:#eaf4ef;border-radius:5px;padding:4px 7px;margin-bottom:10px}.market-answer h4{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.25px;margin:0 0 7px;color:#254d47}.market-answer>p{font-size:13px;color:#5f7872;line-height:1.65;margin:7px 0}.market-answer .market-assumptions{font-size:11px;color:#72857f}.market-answer ol{padding:0 0 0 19px;margin:14px 0}.market-answer li{padding-left:3px;color:#3b655b;font-size:12px;line-height:1.6;margin:9px 0}.market-answer li strong,.market-answer li span{display:block}.market-answer li span{color:#678078;font-size:12px}.market-answer .market-answer-caution{font-size:11px;margin:12px 0 0;padding-top:10px;border-top:1px solid #e0eae5;color:#72847f}
.chart-tool-heading>div:first-child{min-width:0}.chart-tool-heading>div:first-child>span{display:block;max-width:740px;line-height:1.55}
.market-answer{margin-top:18px}.market-answer>summary{display:flex;align-items:center;gap:10px;min-height:44px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:#315f54}.market-answer>summary::-webkit-details-marker{display:none}.market-answer>summary>.market-ai-label{margin:0 0 0 auto;font-size:9px;font-weight:450}.market-answer>summary>.icon{width:14px;height:14px;flex:none}.market-answer[open]>summary{margin-bottom:10px}.market-answer[open]>summary>.icon{transform:rotate(180deg)}
@media(max-width:900px){.market-mode-switch{margin-bottom:15px}.market-mode-switch button{font-size:12px;padding:8px;min-height:44px}.market-mode-switch button>span{font-size:8px}.market-question textarea{min-height:110px}.market-question>p{font-size:11px}.market-examples{gap:5px}.market-examples button{font-size:10px;min-height:40px;flex:1}.market-answer{padding:13px}.market-answer h4{font-size:16px}.market-answer>p{font-size:12px}.market-takeaway p{font-size:12px}.chart-tool-heading>div:first-child>span{font-size:12px;max-width:70ch}}
@media(max-width:380px){.market-mode-switch button{font-size:11px;gap:4px;padding:7px 5px}.market-mode-switch button>span{font-size:8px;padding:2px 4px}.market-question>label{font-size:12px}.market-question textarea{padding:10px}.market-head h2{font-size:21px}.market-takeaway{padding-left:10px}.market-examples button{font-size:10px;padding:6px}}
@media(prefers-reduced-motion:reduce){.market-scroll{scroll-behavior:auto}}

/* Keep phone questions as one open form, without a nested panel. */
.market-context-label{display:none;font-size:12px;line-height:1.5;color:#5e7c73;margin:18px 0 10px}
#market-dialog[data-mode=question] .market-context-label{display:block}
#market-dialog[data-mode=question] .market-criteria[open]{border-color:transparent;background:transparent}
#market-dialog[data-mode=question] .market-criteria[open]>summary{display:none}
#market-dialog[data-mode=question] .market-criteria[open]>form{padding:0}
.market-mode-switch button{white-space:nowrap}
@media(max-width:900px){
 #market-dialog{width:calc(100% - 12px);max-height:calc(100dvh - 16px)}
 .market-head{padding:18px 16px 15px;align-items:center}.market-eyebrow{display:none}.market-head h2{margin:0;font-size:22px}.market-head .icon-button{margin:-2px -4px -2px 0;min-height:44px;min-width:44px}
 .market-scroll{padding:16px}.market-intro{margin-bottom:14px}.market-mode-switch button>span{display:none}
 #market-dialog[data-mode=question] .market-question>label{font-size:13px}.market-question textarea{min-height:100px}.market-question>p{margin-bottom:9px}
 .market-mode-switch{margin-bottom:18px}.market-examples button{font-size:11px;padding:7px 8px}.market-context-label{margin-top:20px}
}
@media(max-width:380px){.market-head h2{font-size:20px}.market-scroll{padding:14px}.market-mode-switch button{font-size:12px}.market-examples button{font-size:10px}}

#market-dialog[data-has-result=true] .market-intro{display:none}
#market-dialog[data-has-result=true]:not(:has(.market-criteria[open])) .market-mode-switch{display:none}
@media(max-width:380px){.market-head h2{font-size:18px;letter-spacing:-.4px}.market-head{gap:8px}.market-head>div{min-width:0}}
