/* AI risk desk: low-reflection annotation surfaces over the world map. */
.input-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:-4px 0 16px;padding:3px;border-radius:12px;background:rgba(244,241,232,.045);border:1px solid rgba(244,241,232,.09)}
.input-mode-switch button{min-height:42px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:700;letter-spacing:.02em;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.input-mode-switch button:hover,.input-mode-switch button:focus-visible{color:var(--text);background:rgba(244,241,232,.055);outline:1px solid rgba(210,188,135,.4);outline-offset:-2px}.input-mode-switch button:active{transform:scale(.985)}
.input-mode-switch button.active{color:var(--text);background:rgba(210,188,135,.11);box-shadow:inset 0 -2px var(--accent)}
#scenario-tabs[hidden],#input .form-grid[hidden],.guided-input[hidden]{display:none!important}
.guided-input{height:calc(100% - 116px);min-height:0;overflow:auto;padding:0 5px 12px 0;color:var(--text);scrollbar-color:rgba(99,109,112,.7) transparent}
.ai-skill-bar{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 12px;scrollbar-width:none}.ai-skill-bar::-webkit-scrollbar{display:none}
.ai-skill-bar button{flex:0 0 auto;min-height:36px;padding:0 12px;border:1px solid rgba(244,241,232,.11);border-radius:9px;background:rgba(0,0,0,.26);color:#9da4a3;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}
.ai-skill-bar button:hover,.ai-skill-bar button:focus-visible{color:var(--text);border-color:rgba(210,188,135,.62);outline:0}.ai-skill-bar button.active{color:var(--accent);background:rgba(210,188,135,.07);border-color:rgba(210,188,135,.62);box-shadow:inset 0 -2px var(--accent)}
.guided-context{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.guided-context label{color:#8f9695;font-size:13px;letter-spacing:.04em}.guided-context select{display:block;width:100%;margin-top:5px;padding:9px 10px;border:1px solid rgba(244,241,232,.11);border-radius:9px;background:rgba(0,0,0,.44);color:var(--text);color-scheme:dark}
#guided-model-status{grid-column:1/-1;color:#9da4a3;font:600 12px Consolas,"Microsoft YaHei UI",sans-serif;letter-spacing:.03em}
.guided-log{display:grid;gap:9px;max-height:150px;overflow:auto;padding:3px 2px 8px;margin-bottom:9px}.guided-message{display:grid;grid-template-columns:62px minmax(0,1fr);gap:9px;align-items:start}.guided-message small{padding-top:9px;color:#878f8e;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.guided-message p{margin:0;padding:9px 11px;border-left:2px solid rgba(154,155,197,.6);border-radius:0 9px 9px 0;background:linear-gradient(90deg,rgba(154,155,197,.08),transparent 82%);color:#dfe1dc;line-height:1.55;white-space:pre-wrap}.guided-message.user p{border-left-color:rgba(210,188,135,.72);background:linear-gradient(90deg,rgba(210,188,135,.075),transparent 82%)}
.guided-form{position:relative;display:grid;grid-template-columns:1fr;gap:8px;margin:3px 0 13px;padding:0}.guided-form::before{content:"ASK";position:absolute;z-index:1;left:14px;top:10px;color:var(--accent);font:700 10px Consolas,monospace;letter-spacing:.15em;pointer-events:none}
.guided-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.guided-form textarea{width:100%;min-height:104px;resize:none;padding:30px 14px 13px;border:1px solid rgba(244,241,232,.14);border-radius:13px;background:linear-gradient(145deg,rgba(17,19,21,.84),rgba(5,6,7,.7));color:var(--text);line-height:1.55;box-shadow:inset 0 1px rgba(255,255,255,.025);transition:border-color .18s ease,box-shadow .18s ease}.guided-form textarea::placeholder{color:#727a79}.guided-form textarea:focus{border-color:rgba(210,188,135,.65);outline:0;box-shadow:0 0 0 3px rgba(210,188,135,.08),inset 0 1px rgba(255,255,255,.03)}
.guided-form button{justify-self:end;min-height:40px;padding:0 17px;border:1px solid rgba(210,188,135,.56);border-radius:9px;background:rgba(210,188,135,.1);color:var(--accent);font-weight:800;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}.guided-form button:hover,.guided-form button:focus-visible{background:var(--accent);color:var(--canvas);outline:0;transform:translateY(-1px)}.guided-form button:disabled{opacity:.42;cursor:not-allowed;transform:none}
.guided-review{padding:0 14px 14px;border:1px solid rgba(244,241,232,.1);border-radius:14px;background:rgba(7,8,9,.58);box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 30px rgba(0,0,0,.16);backdrop-filter:blur(18px) saturate(.72)}
.guided-review>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;border-bottom:1px solid rgba(244,241,232,.1)}.guided-review>header small,.guided-review>header strong{display:block}.guided-review>header small{color:var(--text);font-size:14px}.guided-review>header strong{margin-top:3px;color:#7f8887;font-size:11px;font-weight:500}.guided-review>header button{border:0;background:transparent;color:#858d8c;padding:6px;cursor:pointer}.guided-review>header button:hover,.guided-review>header button:focus-visible{color:var(--accent);outline:0}
.guided-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}.guided-candidates>p{grid-column:1/-1;margin:4px 0;color:#858d8c;line-height:1.6}.guided-candidates article{min-width:0;padding:9px 8px;border-radius:9px;background:rgba(244,241,232,.035);border:1px solid rgba(244,241,232,.075)}
.guided-candidates small,.guided-candidates strong,.guided-candidates span{display:block;overflow:hidden;text-overflow:ellipsis}.guided-candidates small{color:#7f8887;font-size:11px}.guided-candidates strong{margin:5px 0;color:var(--text);font-size:15px}.guided-candidates span{font-size:10px;color:#9aa09f}.guided-candidates [data-provenance="external"]{color:var(--secondary)}.guided-candidates [data-provenance="user"]{color:#b8c4bd}.guided-candidates [data-provenance="inferred"]{color:var(--accent)}.guided-candidates [data-provenance="missing"]{color:var(--risk)}
.guided-sources{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0;color:#7f8887;font-size:11px}.guided-sources a{color:#b8b9dc;text-decoration:none;border-bottom:1px solid currentColor}
.guided-review #guided-apply{width:100%;min-height:43px;margin-top:10px;border:0;border-radius:9px;background:var(--accent);color:var(--canvas);font-weight:800;cursor:pointer;transition:filter .18s ease,transform .18s ease}.guided-review #guided-apply:hover,.guided-review #guided-apply:focus-visible{filter:brightness(1.08);outline:2px solid rgba(210,188,135,.28);outline-offset:2px;transform:translateY(-1px)}.guided-review #guided-apply:disabled{background:rgba(244,241,232,.07);color:#626968;cursor:not-allowed;transform:none;filter:none}
.guided-privacy{margin:9px 2px 0;color:#676f6e;font-size:11px;line-height:1.5}
/* Results read as a transparent analytical layer, not a colored dashboard card. */
.output-slot .dynamics{background:rgba(7,8,9,.48)!important;border-color:rgba(244,241,232,.09)!important;backdrop-filter:blur(20px) saturate(.7)!important;-webkit-backdrop-filter:blur(20px) saturate(.7)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}
.output-slot .dynamic-grid>article{background:transparent!important;border-color:rgba(244,241,232,.08)!important;box-shadow:none!important}
.output-slot #survival-summary div{background:rgba(244,241,232,.045)!important;border:1px solid rgba(244,241,232,.07)!important}
.output-slot #survival-summary small{color:#858d8c!important}.output-slot #survival-summary strong{color:var(--text)!important}
@media(max-width:1280px){.guided-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-input{height:auto;max-height:calc(100vh - 230px)}}
@media(prefers-reduced-motion:reduce){.input-mode-switch button,.ai-skill-bar button,.guided-form textarea,.guided-form button,.guided-review #guided-apply{transition:none!important}}
