/* PromeResearch — PromeSpark workspace, 2026-10-27 */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:#263746;background:#fff;--accent:#107773;--line:#e5e9ec;--muted:#64717d;--brand:#1b3352;--sidebar-width:248px;--surface:#f8fafb;--orange:#e98151}
html{scroll-behavior:smooth}body{background:#fff!important;color:#263746}::selection{background:#d4eeea;color:#153c3a}input,textarea{caret-color:var(--accent)}a{text-underline-offset:3px}button{border-radius:8px;min-height:36px;font-weight:500;transition:background .16s,color .16s,border-color .16s}button:hover{background:#f0f4f5}button.primary{background:var(--accent);border-color:var(--accent)}button.primary:hover{background:#08635f;border-color:#08635f}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #14898655;outline-offset:1px}input,textarea,select{border-color:#dce2e6;border-radius:8px;background:#fff;color:#263746;min-height:39px}label{font-size:13px;font-weight:500}h1,h2,h3{color:var(--brand);letter-spacing:-.025em}h1{font-size:20px;font-weight:600}h2{font-size:18px;font-weight:600}h3{font-weight:600}.eyebrow{display:none}.muted,.hint{color:var(--muted)}.pill{font-weight:500}.pill.good{background:#e8f4ef;color:#22664b}.pill.warn{background:#fff1de;color:#8c5c15}
/* Persistent application shell */
#mainSidebar{width:var(--sidebar-width);background:#f5f6f7;border-right:1px solid #edf0f2;padding:27px 16px 18px;z-index:30;overflow-y:auto;transition:width .18s,transform .18s}
.brand{padding:0 7px 29px;gap:11px;font-size:18px;letter-spacing:-.025em;color:var(--brand);white-space:nowrap}.brand-symbol{height:36px;width:36px;border-radius:11px;flex-shrink:0}.brand-name{font-weight:650}.sub-brand{font-size:10px;letter-spacing:.02em;color:#6d7986;font-weight:450;margin-top:4px}nav{gap:4px}nav button,.aside-footer>button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:11px 13px;color:#586572;border:0;background:transparent;border-radius:9px;box-shadow:none;font-size:13px;min-height:42px;white-space:nowrap}nav button svg,.aside-footer>button svg{width:19px;height:19px;flex-shrink:0}nav button:hover,.aside-footer>button:hover{background:#e9edef;color:#253c4d}nav button.active{color:#146d68;background:#e2eeec;box-shadow:none;border-radius:9px;font-weight:600}nav .new-research{margin-bottom:12px;background:#fff;border:1px solid #dce3e7;font-weight:600;color:#263b4c}nav .new-research.active{background:#fff;border-color:#b7d2cf;color:#106c67}.nav-section{margin:19px 13px 7px;font-size:11px;font-weight:550;color:#77838e;letter-spacing:.04em}.aside-footer{padding:20px 0 0;gap:12px;border-top:1px solid #e4e8eb;margin-top:auto}.sidebar-company{display:flex;align-items:center;gap:8px;padding:5px 12px;font-size:11px;color:#687783;white-space:nowrap}.company-dot{width:7px;height:7px;border-radius:50%;background:#e98151;flex-shrink:0}.workspace{margin-left:var(--sidebar-width);padding:0 36px 36px;max-width:none;min-width:0;transition:margin-left .18s}.workspace>header{min-height:84px;margin:0 0 30px;border-bottom:1px solid #edf0f2;gap:16px}.page-heading{display:flex;align-items:center;gap:15px;min-width:0}.page-heading h1{font-size:17px;margin:0;white-space:nowrap}.icon-button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:7px;background:transparent;border:0;color:#657684}.icon-button svg{width:20px;height:20px}.header-actions{gap:16px}.header-actions>#refresh{font-size:12px;border-color:#e2e7eb;padding:7px 12px;min-height:32px}.header-account{gap:10px;border:0;padding-left:0}.header-account #who{font-size:12px;color:#64717d;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-account #logout{border:0;background:transparent;font-size:12px;color:#657684;padding:6px 8px}.user-avatar{background:#edf3f3;color:#227d77;width:30px;height:30px;border-radius:50%}.page{max-width:1400px;margin-left:auto;margin-right:auto}.card{border-color:var(--line);border-radius:12px;box-shadow:none;padding:24px}.card-heading{margin-bottom:18px}.card-heading h2{font-size:17px}.table-wrap{border-radius:10px}table{font-size:12px}th{background:#f7f9fa;color:#63717e;font-size:11px;font-weight:550}th,td{padding:14px 12px}td{color:#344654}.metrics>div,.usage-metrics>section{border-color:var(--line);box-shadow:none;border-radius:12px}.usage-metrics strong{color:var(--brand);font-variant-numeric:tabular-nums}dialog{border-radius:14px;box-shadow:0 20px 70px #1025392b;border-color:#e3e9ed;padding:28px}dialog::backdrop{background:#132b4659}.secret-box{border-color:#e9d5bf;background:#fff9f1}.history-card{border-color:var(--line);border-radius:12px;box-shadow:none}.history-icon.research{background:#e6f2ef;color:#267c72}.history-icon.access{background:#eef2f8;color:#3c617e}.history-icon.admin{background:#fff0e8;color:#a9552f}.history-heading h2{font-size:15px}.history-summary{padding:22px}.history-body{padding:0 22px 22px}.history-toggle{color:#56717c}.keys-toolbar{margin-bottom:20px}.key-mask{background:#f3f6f7;color:#4b6374}.keys-list th{background:#f7f9fa}.key-actions button{border-radius:6px}.usage-shortcuts button.active{background:#e4f1ee;color:#186a65;border-color:#c8e0da}
/* Research is the primary task, with restrained chrome. */
.research-chat{max-width:900px;min-height:calc(100dvh - 150px)}.chat-topline{min-height:28px;margin-bottom:12px}.chat-topline>span{color:#657684}.empty-chat .chat-topline{display:none}.chat-welcome{padding:clamp(42px,9vh,112px) 0 30px}.welcome-symbol{width:54px;height:54px;border-radius:16px;display:block;margin:0 auto 25px}.chat-welcome h2{font-size:30px;line-height:1.4;font-weight:600;color:#20374e;letter-spacing:-.035em;margin:0 0 11px}.chat-welcome p{font-size:14px;color:#6b7884;display:block;margin:0}.chat-compose-dock{padding-top:16px;background:#fff}.empty-chat .chat-compose-dock{margin-top:0}.chat-composer{border:1px solid #dce4e8;border-radius:20px;background:#fbfcfd;box-shadow:0 5px 20px #15314405;padding:20px 20px 13px}.chat-composer:focus-within{border-color:#85b5ae;box-shadow:0 6px 23px #15314408}#chatInput{font-size:15px;min-height:82px;color:#2b3f50;line-height:1.8;padding:0 2px 12px;background:transparent;outline:none}#chatInput::placeholder{color:#74818c}.composer-toolbar{gap:10px}.composer-mode{display:flex;align-items:center;gap:6px;color:#3c7c76;font-size:12px}.composer-mode::before{content:"";width:5px;height:5px;background:#e98151;border-radius:50%}.composer-icon{color:#627582}.chat-send{background:var(--accent);width:34px;height:34px}.chat-send:hover{background:#08635f}.chat-send:disabled{background:#dfe7e7;color:#839594}.depth-trigger{color:#526a77;background:#edf1f3;border-radius:7px;font-size:12px;min-height:30px;padding:5px 9px}.depth-panel{border-radius:12px;box-shadow:0 12px 36px #1734471a}.depth-panel p{color:#64717d}.depth-options button.selected{background:#e1f0eb;color:#146a63}#chatDepthRange{accent-color:var(--accent)}.research-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0 0}.research-suggestions button{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e3e8eb;border-radius:9px;padding:10px 14px;color:#526773;font-size:12px;min-height:38px}.research-suggestions button:hover{background:#f4f8f7;border-color:#c2d7d2;color:#146b65}.research-suggestions svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.5;fill:none}.research-disclaimer{text-align:center;font-size:11px;color:#72808a;margin:23px 0 0}.research-chat:not(.empty-chat) .research-suggestions,.research-chat:not(.empty-chat) .research-disclaimer{display:none}.chat-avatar{background:transparent;border-radius:10px;overflow:hidden}.chat-avatar img{width:100%;height:100%;object-fit:contain}.user .chat-avatar{color:#557080;background:#edf2f5}.user .message-content{background:#f0f4f5;border-radius:14px}.assistant-label{color:#647582;font-size:11px}.research-dot{background:#148986}.research-status{color:#486574}.research-status small,.research-stats{color:#64717d}.report-body{font-size:15px;line-height:1.9;color:#2f4354}.report-body h1,.report-body h2,.report-body h3{color:var(--brand)}.report-body blockquote{border-left:1px solid #b0cbc5;color:#596e7b;background:#f7faf9;padding:8px 15px}.report-tool{color:#607586}.report-language{color:#64717d}.report-operation{color:#7b6348}.chat-error{color:#923e31;background:#fff1ec}
/* All administration routes share the same controls and surface language. */
.integration-subnav{background:#f8fafb;border-color:#e7ecef;box-shadow:none;border-radius:10px}.integration-subnav>button.active{background:#e5f0ed;color:#1c6b63}.integration-subnav>button{font-size:12px}.integration-section-heading h2,.integration-page-head h2{font-size:18px}.integration-section-heading p,.integration-page-head p,.role-model-card p{color:#64717d}.provider-card,.mcp-service-card,.external-kb-card{border-color:var(--line);box-shadow:none;border-radius:12px}.provider-actions button,.mcp-card-actions button,.external-kb-actions button{border-radius:7px}.provider-icon{background:#e9f3f1;color:#26746b}.integration-tab.active{color:#176d66;border-color:#148986}.role-model-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;padding:18px 0;grid-template-columns:1fr}.role-model-card .role-index{display:none}.role-model-card p{display:block}.role-model-card h3{color:var(--brand)}.role-model-grid{gap:4px 28px}.role-model-card label{grid-column:auto}.settings-page .role-settings-card>.card-heading p{display:block}.history-intro{color:#657684}.workspace .secure-note{color:#63717e}.workspace .field-description{color:#63717e}.workspace .provider-description{color:#63717e}.workspace .mcp-card-description{color:#63717e}.workspace .integration-subnav-title p{color:#63717e}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}#notice{background:#184e46;box-shadow:0 6px 24px #132b4626;border-radius:10px}#notice.error{background:#873d35}
/* Brand-led sign in, no third-party assets or remote fonts. */
.login-shell{min-height:100dvh;padding:0;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:0}.login-story{min-height:100dvh;padding:55px 58px;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#edf4f7 url('/console/assets/promespark-map.png') no-repeat center 65%;background-size:cover}.company-wordmark{width:181px;height:auto;display:block;mix-blend-mode:multiply;align-self:flex-start}.login-story-copy{margin:auto 0;position:relative;z-index:1;padding:50px 0 110px;max-width:440px}.login-story h2{font-size:40px;line-height:1.5;letter-spacing:-.035em;font-weight:600;margin:0 0 22px;color:#1b3352}.login-story p{font-size:15px;color:#4e687b;line-height:1.95;margin:0}.login-story-footer{font-size:11px;color:#547082;display:flex;align-items:center;gap:11px}.brand-swatch{width:28px;height:4px;background:#148986;position:relative}.brand-swatch::after{content:"";position:absolute;width:10px;height:4px;background:#e98151;right:0;top:0}.login-card{width:370px;max-width:calc(100% - 60px);padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;justify-self:center;margin:45px 0}.login-symbol{width:45px;height:45px;border-radius:13px;margin:0 0 24px;display:block}.login-card h1{font-size:27px;letter-spacing:-.035em;margin:0 0 8px}.login-subtitle{font-size:14px;color:#64717d;margin:0 0 36px}.login-card form label{font-size:12px;margin:19px 0;color:#425564}.login-card input{height:45px;border-radius:9px;padding:12px}.login-card .primary{min-height:45px;border-radius:9px;font-size:14px;margin-top:8px}.login-card .hint{font-size:11px;color:#75818b;margin-top:22px;line-height:1.8}.sidebar-backdrop{display:none}.sidebar-collapsed{--sidebar-width:76px}.sidebar-collapsed #mainSidebar{padding:27px 11px 18px}.sidebar-collapsed .brand{padding-left:8px;padding-right:0}.sidebar-collapsed .brand-name,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section,.sidebar-collapsed .sidebar-company{display:none}.sidebar-collapsed nav button,.sidebar-collapsed .aside-footer>button{justify-content:center;padding:11px}.sidebar-collapsed nav .new-research{margin-bottom:24px}.sidebar-collapsed .aside-footer{margin-top:auto}
@media(min-width:1600px){.research-chat{max-width:960px}.workspace{padding-left:48px;padding-right:48px}.chat-welcome{padding-top:110px}}
@media(max-width:1100px){:root{--sidebar-width:224px}.brand{font-size:16px}.workspace{padding:0 24px 28px}.header-account #who{max-width:120px}.login-story{padding:40px}.login-story h2{font-size:33px}.research-suggestions button{gap:8px;font-size:11px;padding:9px 10px}.integration-subnav{position:static}.two-column{grid-template-columns:1fr}.login-shell{grid-template-columns:1fr 1fr}}
@media(max-width:760px){:root{--sidebar-width:0px}.workspace{margin-left:0;padding:0 18px 24px}.workspace>header{min-height:69px;margin-bottom:24px;flex-wrap:nowrap}.page-heading{gap:8px}.page-heading h1{font-size:15px}.header-actions{width:auto!important;margin-left:auto;gap:4px;flex-wrap:nowrap}.header-actions>#refresh{padding:5px 8px;font-size:11px;min-height:30px}.header-account{gap:5px;flex-wrap:nowrap}.header-account #who{display:none}.header-account #logout{font-size:11px;padding:4px}.user-avatar{display:none}#mainSidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:25px 16px 18px;transform:translateX(-100%);height:100dvh;z-index:50}.brand{padding-bottom:28px;font-size:18px}nav{flex-direction:column;overflow:visible}.aside-footer{display:flex}.sidebar-open #mainSidebar{transform:translateX(0)}.sidebar-open .sidebar-backdrop{position:fixed;display:block;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#17324755;z-index:40}.sidebar-collapsed .brand-name,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section{display:revert}.sidebar-collapsed .brand{padding-left:7px}.sidebar-collapsed nav button,.sidebar-collapsed .aside-footer>button{justify-content:flex-start;padding:11px 13px}.sidebar-collapsed nav .new-research{margin-bottom:12px}.research-chat{min-height:calc(100dvh - 125px)}.chat-welcome{padding:48px 0 28px}.welcome-symbol{width:47px;height:47px;margin-bottom:22px}.chat-welcome h2{font-size:24px;line-height:1.5;letter-spacing:-.03em}.chat-welcome p{font-size:12px}.chat-composer{padding:16px 13px 12px;border-radius:16px}#chatInput{font-size:14px;min-height:93px}.research-suggestions{gap:8px;margin-top:18px;justify-content:flex-start}.research-suggestions button{flex:1 1 140px;justify-content:space-between;font-size:11px;padding:9px 11px}.research-disclaimer{font-size:10px;margin-top:20px}.card{padding:18px}.history-summary{padding:16px;gap:10px}.history-body{padding:0 16px 16px}.history-heading h2{font-size:13px}.history-heading p{font-size:11px}.history-count{font-size:10px}.history-toggle{font-size:10px}.role-model-grid{grid-template-columns:1fr}.login-shell{display:flex;flex-direction:column;min-height:100dvh;padding:0}.login-story{min-height:0;height:170px;width:100%;padding:26px 30px;background-position:center 60%;flex-shrink:0}.company-wordmark{width:144px}.login-story-copy{display:none}.login-story-footer{margin-top:auto;font-size:10px}.login-card{align-self:center;width:360px;max-width:calc(100% - 52px);margin:37px 0}.login-symbol{width:38px;height:38px;margin-bottom:18px}.login-card h1{font-size:25px}.login-subtitle{margin-bottom:25px}.login-card form label{margin:16px 0}.report-body{font-size:14px}.depth-panel{position:absolute}.form-row{gap:0 12px}dialog{padding:21px;max-width:calc(100vw - 24px)}.integration-subnav{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-collapsed #mainSidebar{padding:25px 16px 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
/* Keep the sign-in split full-width; map remains subordinate to the copy. */
.login-shell{align-items:stretch;justify-items:stretch}.login-story{width:100%;background:#edf4f7;isolation:isolate}.login-story::before{content:"";position:absolute;inset:0;z-index:-1;background:url('/console/assets/promespark-map.png') no-repeat 65% 70%;background-size:auto 80%;opacity:.42}.company-wordmark{position:relative}.workspace>header{align-items:center}
@media(max-width:760px){.login-story::before{background-size:cover;background-position:50% 60%;opacity:.75}}
@media(max-width:760px){body.sidebar-open{overflow:hidden}}
