:root{color:#25232b;font-synthesis:none;--ink:#25232b;--muted:#77717d;--line:#e8dfe7;--pink:#fff1f7;--pink-2:#fde4f0;--lime:#c7ff35;--lime-soft:#edffc1;--lime-border:#b8ec36;--white:#fff;--shadow:0 4px 13px #4e324714, 0 1px 2px #4e32470f;background:#fff5fa;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(135deg,#fff9fc 0,#fff1f8 52%,#fbf7ff 100%);min-width:320px;min-height:100vh;margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,[draggable]:focus-visible{outline-offset:2px;outline:3px solid #9ddb1059}h2,p{margin:0}.optimizer-app{background:radial-gradient(circle at 85% 0,#ffd1e799,#0000 27%);min-height:100vh}.app-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffbd;border-bottom:1px solid #eadde7;box-shadow:0 2px 10px #502d480d}.top-row,.scenario-row{justify-content:space-between;align-items:center;gap:18px;padding-inline:30px;display:flex}.top-row{background:linear-gradient(105deg,#fff5faeb 0%,#ffd5ead1 49%,#fff7fba6 49%);min-height:59px}.scenario-row{border-top:1px solid #ecdde7a6;min-height:51px}.identity,.header-controls,.scenario-tabs,.action-row,.surface-title>div,.simulation-title,.results-head,.results-head>div,.matrix-toolbar,.matrix-toolbar>div,.saved-toggle,.chat-message,.decision-box,.metric-grid>div{align-items:center;display:flex}.identity{gap:14px;min-width:460px}.brand-icon{color:#ff56b6;background:#fff0fa;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 0 0 8px #ffffff61}.identity>strong{color:#39223f;white-space:nowrap;font-size:23px}.identity>i{background:#9f8c9d;width:1px;height:31px;margin:0 7px}.identity>div{display:grid}.identity b{font-size:17px}.identity div span{margin-top:2px;font-size:12px}.header-controls{gap:10px;min-width:0}.header-controls label{min-width:180px;height:38px;box-shadow:var(--shadow);background:#ffffffb8;border:1px solid #e8dce5d9;border-radius:13px;align-items:center;gap:4px;padding:0 14px;font-size:12px;display:flex}.header-controls label svg{margin-left:auto}.online-dot{background:#19d663;border-radius:50%;width:9px;height:9px;margin-right:3px}.run-button{border:1px solid var(--lime-border);background:var(--lime);border-radius:14px;justify-content:center;align-items:center;gap:12px;min-width:175px;height:40px;font-size:14px;font-weight:800;display:flex;box-shadow:0 5px 14px #abe12657}.scenario-tabs{gap:10px;min-width:0}.scenario-tabs>strong{margin-right:8px;font-size:14px}.scenario-tabs button,.action-row button,.soft-button{border:1px solid var(--line);white-space:nowrap;background:#ffffffb8;border-radius:13px;min-height:32px;padding:0 18px;font-size:12px;box-shadow:0 2px 6px #462d410a}.scenario-tabs button.active{background:var(--lime);border-color:var(--lime-border);font-weight:800;box-shadow:0 4px 10px #abe12647}.action-row{gap:9px}.action-row button,.soft-button{align-items:center;gap:7px;display:flex}.dashboard{width:100%;min-width:0;padding:10px 14px 20px}.upper-grid{grid-template-columns:minmax(250px,.85fr) minmax(330px,1.05fr) minmax(340px,1.1fr) minmax(350px,1.2fr);align-items:stretch;gap:10px;display:grid}.upper-grid>*,.right-stack{min-width:0}.surface{border:1px solid var(--line);box-shadow:var(--shadow);background:#ffffffc2;border-radius:16px}.surface-title{min-height:43px;padding:9px 14px 6px}.surface-title>div{gap:8px}.surface-title h2{letter-spacing:-.03em;white-space:nowrap;font-size:17px}.surface-title h2 span{font-weight:500}.surface-title>svg{margin-left:auto}.segmented{background:#faf7fa;border-radius:12px;display:flex}.segmented button{background:0 0;border:0;border-radius:11px}.segmented button.active{background:var(--lime);font-weight:800;box-shadow:0 2px 7px #9dd2203b}.team-pool{flex-direction:column;height:493px;padding-bottom:10px;display:flex}.pool-filters{margin:0 14px 9px}.pool-filters button{flex:1;min-height:29px;font-size:11px}.pool-grid{grid-template-columns:repeat(4,1fr);align-content:start;gap:7px;padding:0 13px;display:grid}.pool-person{background:linear-gradient(#fff,#fffafd);border:1px solid #eee5eb;border-radius:12px;flex-direction:column;align-items:center;min-width:0;height:100px;padding:7px 3px 5px;display:flex;box-shadow:0 2px 6px #502d460a}.pool-person:hover{border-color:var(--lime-border);transform:translateY(-1px)}.pool-person strong{text-overflow:ellipsis;white-space:nowrap;width:100%;margin-top:4px;font-size:11px;overflow:hidden}.pool-person>span:last-child{width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:9px;overflow:hidden}.person-token{flex:none;align-content:center;justify-items:center;display:inline-grid}.person-token--labeled{min-width:28px}.short-role{color:#665e64;text-overflow:ellipsis;white-space:nowrap;max-width:38px;margin-top:1px;font-size:6px;font-weight:800;line-height:1;overflow:hidden}.face{--face-accent:#eee;border:1px solid color-mix(in srgb, var(--face-accent) 70%, #d6d0d4);background:var(--face-accent);vertical-align:middle;border-radius:50%;flex:none;place-items:center;display:inline-grid;position:relative;overflow:visible}.face img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.face--lg{width:51px;height:51px}.face--md{width:34px;height:34px}.face--sm{width:25px;height:25px}.face--agent{color:#24222a;background:color-mix(in srgb, var(--face-accent) 58%, white);border:2px solid var(--face-accent);box-shadow:inset 0 0 0 3px #ffffffad, 0 0 0 2px color-mix(in srgb, var(--face-accent) 25%, transparent)}.agent-mark{z-index:1;letter-spacing:-.04em;font-size:10px;font-weight:900;position:relative}.face--sm .agent-mark{font-size:7px}.face--lg .agent-mark{font-size:11px}.profile-tooltip{z-index:80;width:245px;color:var(--ink);text-align:left;pointer-events:none;background:#fff;border:1px solid #e7dce4;border-radius:11px;padding:11px 12px;display:none;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);box-shadow:0 12px 30px #39233333}.profile-tooltip:after{content:"";background:#fff;border-bottom:1px solid #e7dce4;border-right:1px solid #e7dce4;width:10px;height:10px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)rotate(45deg)}.profile-tooltip b,.profile-tooltip b small,.profile-tooltip>span,.profile-tooltip em{display:block}.profile-tooltip b{font-size:12px}.profile-tooltip b small{color:#796f76;margin-top:2px;font-size:9px;font-weight:600}.profile-tooltip>span{margin-top:7px;font-size:10px;line-height:1.4}.profile-tooltip em{color:#9b8993;margin-top:7px;font-size:8px;font-style:normal}.face:hover .profile-tooltip,.pool-person:hover .profile-tooltip,.pool-person:focus .profile-tooltip,.stage-assignee:focus .profile-tooltip{display:block}.saved-box{background:#fffafd;border:1px solid #eadfe7;border-radius:11px;margin:auto 13px 0;overflow:hidden}.saved-toggle{background:0 0;border:0;gap:8px;width:100%;height:42px;padding:0 10px}.saved-toggle strong{font-size:12px}.saved-toggle>svg:last-child{margin-left:auto;transition:rotate .2s}.saved-box.open .saved-toggle>svg:last-child{rotate:180deg}.saved-list{z-index:20;border:1px solid var(--line);background:#fff;border-radius:10px;width:300px;margin:2px 0 0 -1px;padding:6px;position:absolute;box-shadow:0 10px 30px #3c283829}.saved-list button{text-align:left;background:#fff;border:0;border-bottom:1px solid #f0e8ed;justify-content:space-between;width:100%;padding:7px 8px;display:flex}.saved-list button:last-child{border:0}.saved-list strong,.saved-list small{font-size:10px;display:block}.saved-list small{color:var(--muted);margin-top:2px}.saved-list button>span:last-child{color:#738e26;align-self:center;font-size:9px;font-weight:700}.pipeline{height:493px;padding:0 8px 8px}.pipeline .surface-title{display:block}.pipeline .surface-title p{color:var(--muted);margin:2px 0 0 33px;font-size:11px}.stage-list{gap:3px;margin-top:4px;display:grid}.pipeline-stage{background:#ffffffb8;border:1px solid #eee6eb;border-radius:10px;grid-template-columns:28px minmax(120px,1fr) 92px 69px;align-items:center;gap:6px;height:43px;padding:0 7px;transition:all .15s;display:grid}.pipeline-stage--active,.pipeline-stage.is-drop{border-color:var(--lime-border);background:linear-gradient(90deg,#f0ffc5,#e7ff9d);box-shadow:0 2px 8px #abe1262e}.pipeline-stage.is-drop{translate:0 -2px}.stage-number{color:#fff;background:#cec2cb;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:800;display:grid}.pipeline-stage--active .stage-number{color:#314000;background:var(--lime)}.pipeline-stage>strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.stage-people{justify-content:flex-end;padding-left:8px;display:flex}.stage-assignee{cursor:pointer;border-radius:50%;margin-left:-5px;display:inline-flex;position:relative}.stage-assignee .face{border-width:2px;border-color:#fff}.stage-assignee.selected .face{box-shadow:0 0 0 2px #ff7da9}.remove-assignee{z-index:10;color:#fff;background:#e9537f;border:2px solid #fff;border-radius:50%;place-items:center;width:17px;height:17px;padding:0;font-size:13px;font-weight:900;line-height:1;display:grid;position:absolute;top:-7px;right:-8px;box-shadow:0 2px 6px #6a223e47}.mode-select{position:relative}.mode-select select{appearance:none;background:#ffffffad;border:1px solid #eadfe7;border-radius:12px;width:100%;height:29px;padding:0 22px 0 9px;font-size:10px}.mode-select svg{pointer-events:none;position:absolute;top:8px;right:7px}.simulation{flex-direction:column;height:493px;display:flex;overflow:hidden}.simulation-title{justify-content:space-between}.simulation-title>div{align-items:center;gap:8px;display:flex}.simulation-title>strong{font-size:10px}.in-progress{background:var(--lime-soft);border-radius:99px;padding:5px 12px;font-size:10px;font-weight:800}.simulation-tabs{min-height:30px;margin:0 14px 8px}.simulation-tabs button{flex:1;font-size:10px}.sim-content{flex:1;min-height:0;padding:0 13px;overflow:auto}.chat-list{gap:5px;display:grid}.chat-message{align-items:flex-start;gap:8px}.chat-message>div{background:#fff1f7bd;border-radius:10px;flex:1;min-width:0;padding:6px 9px}.chat-message p{align-items:baseline;gap:8px;display:flex}.chat-message p strong{font-size:11px}.chat-message time{color:var(--muted);font-size:9px}.chat-message div>span{margin-top:2px;font-size:11px;line-height:1.25;display:block}.artifact-list{gap:8px;display:grid}.artifact-list button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:8px;display:grid}.artifact-list button>span{background:var(--pink-2);border-radius:8px;place-items:center;width:30px;height:30px;font-size:9px;font-weight:800;display:grid}.artifact-list strong,.artifact-list small{display:block}.artifact-list strong{font-size:11px}.artifact-list small{color:var(--muted);margin-top:2px;font-size:9px}.artifact-list b{color:#718d22;font-size:9px}.stage-log p{border-left:2px solid var(--pink-2);grid-template-columns:52px 1fr;gap:8px;margin-left:26px;padding:0 0 18px 12px;font-size:10px;display:grid}.stage-log time{color:var(--muted);margin-left:-46px}.emotion-list{gap:8px;display:grid}.emotion-list p{background:var(--pink);border-radius:10px;grid-template-columns:70px 1fr auto;padding:10px;font-size:10px;display:grid}.emotion-list b{color:#66831b}.emotion-list small{color:var(--muted);line-height:1.4}.decision-box{background:linear-gradient(90deg,#fff7fb,#fff);border:1px solid #eedfe8;border-radius:11px;justify-content:space-between;gap:8px;min-height:58px;margin:8px 12px 10px;padding:8px 10px}.decision-box>div:first-child{display:grid}.decision-box strong{font-size:10px}.decision-box strong span{font-weight:500}.decision-box small{color:var(--muted);margin-top:4px;font-size:9px}.decision-box>div:last-child{gap:6px;display:flex}.decision-box button{text-transform:uppercase;border-radius:10px;min-height:29px;padding:0 11px;font-size:8px;font-weight:800}.request-button{border:1px solid var(--line);background:#fff}.approve-button{border:1px solid var(--lime-border);background:var(--lime-soft);align-items:center;gap:5px;display:flex}.right-stack{grid-template-rows:264px 219px;gap:10px;display:grid}.preview-panel{overflow:hidden}.preview-panel .surface-title h2{font-size:15px}.preview-app{background:#fff;border:1px solid #d8cfd6;border-radius:10px;height:206px;margin:3px 11px 11px;overflow:hidden;box-shadow:0 4px 12px #3a263624}.preview-bar{color:#fff;background:#332d38;align-items:center;height:29px;padding:0 12px;font-size:10px;display:flex}.preview-shell{grid-template-columns:76px 1fr;height:calc(100% - 29px);display:grid}.preview-shell aside{background:#fbf9fb;border-right:1px solid #ece4e9;align-content:start;gap:12px;padding:10px 7px;font-size:8px;display:grid}.preview-shell aside b{background:var(--lime-soft);border-radius:6px;padding:7px}.preview-shell main{padding:8px}.preview-toolbar{justify-content:flex-end;align-items:center;gap:7px;height:25px;display:flex}.preview-toolbar span{color:var(--muted);gap:3px;font-size:7px;display:flex}.preview-toolbar button{background:var(--lime);border:0;border-radius:7px;padding:5px 8px;font-size:7px;font-weight:800}.kanban{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.kanban>div{background:#faf8fa;border:1px solid #eee7eb;border-radius:6px;min-height:125px;padding:6px}.kanban strong{font-size:7px}.kanban small{color:var(--muted)}.kanban p{background:#fff;border:1px solid #eee7eb;border-radius:4px;margin-top:5px;padding:5px;font-size:6px;line-height:1.3}.results{background:linear-gradient(145deg,#f7ffd7,#efffc4);border-color:#d6ef8d;padding:0 10px 10px;box-shadow:0 5px 15px #89b71c26}.results-head{justify-content:space-between;height:43px}.results-head>div{gap:8px}.results-head>div>svg{color:#278d31}.results-head h2{font-size:16px}.results-head>span{background:#ffffffb8;border:1px solid #dfe9c5;border-radius:13px;align-items:center;gap:4px;padding:6px 10px;font-size:12px;display:flex}.results-head>span svg{color:#69a500}.results-head>span strong{font-size:17px}.mock-warning{color:#6a6e56;text-align:right;margin:-2px 0 5px;font-size:8px}.metric-grid{grid-template-columns:1fr 1fr;gap:5px;display:grid}.metric-grid>div{background:#ffffffc7;border:1px solid #d7e7afd9;border-radius:11px;gap:7px;min-height:48px;padding:6px 8px}.metric-icon{border:2px solid;border-radius:50%;place-items:center;width:26px;height:26px;font-weight:800;display:grid}.metric-icon--purple{color:#ac61f3}.metric-icon--green{color:#1aac45}.metric-icon--amber{color:#f4ad11}.metric-icon--violet{color:#8d5eea}.metric-grid p{flex:1;display:grid}.metric-grid small{font-size:8px}.metric-grid strong{font-size:15px;line-height:1.05}.metric-grid b{color:#179438;white-space:nowrap;font-size:9px}.matrix-panel{margin-top:10px;overflow:hidden}.matrix-toolbar{justify-content:space-between;min-height:51px;padding:7px 16px}.matrix-toolbar>div{gap:9px}.matrix-toolbar h2{font-size:18px}.matrix-toolbar>div:first-child>span{font-size:13px}.matrix-toolbar>div:last-child>span{font-size:10px;font-weight:700}.matrix-toolbar .segmented button{min-width:83px;min-height:28px;font-size:10px}.soft-button{min-height:30px;box-shadow:none}.matrix-scroll{padding:0 14px;overflow-x:auto}.matrix-scroll table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1370px;font-size:9px}.matrix-scroll th,.matrix-scroll td{text-align:center;border-bottom:1px solid #eadfe7;border-right:1px solid #eadfe7;height:30px;padding:4px 6px}.matrix-scroll th{background:linear-gradient(#fff2f8,#fbedf4);font-weight:800}.matrix-scroll thead tr:first-child th:first-child{border-top-left-radius:9px}.matrix-scroll thead tr:first-child th:last-child{border-top-right-radius:9px}.matrix-scroll th:first-child,.matrix-scroll td:first-child{width:34px}.matrix-scroll th:nth-child(2),.matrix-scroll td:nth-child(2){text-align:left;width:145px}.matrix-scroll th span{color:#986b7f;font-size:7px}.matrix-scroll tbody td{background:#ffffff9e}.matrix-scroll tbody tr.active-row td{background:#f3ffd2}.matrix-scroll tbody td:nth-child(11){font-weight:800}.matrix-faces{justify-content:center;align-items:center;display:flex}.matrix-faces .person-token{margin-left:-3px}.matrix-faces .face{border-color:#fff}.score-pill,.mode-pill{color:#34721e;background:#dfffb8;border-radius:99px;min-width:43px;padding:4px 7px;font-weight:800;display:inline-block}.mode-pill{color:#7c4260;background:#fce9f2}.matrix-footer{justify-content:space-between;align-items:center;min-height:40px;padding:5px 16px;display:flex}.matrix-footer button{background:0 0;border:0;align-items:center;gap:7px;font-size:10px;display:flex}.matrix-footer span{color:var(--muted);font-size:9px}.matrix-footer button svg{transition:rotate .2s}.results-empty{height:190px;color:var(--muted);place-content:center;justify-items:center;gap:8px;display:grid}.results-empty strong{color:var(--ink)}.results-empty span{font-size:11px}.toast{z-index:100;background:#f4ffd8;border:1px solid #cce77f;border-radius:12px;padding:10px 16px;font-size:11px;font-weight:700;position:fixed;top:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #42501c2e}.loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}@media (width<=1350px){.upper-grid{grid-template-columns:minmax(250px,.8fr) minmax(330px,1fr) minmax(330px,1fr)}.right-stack{grid-column:1/-1;grid-template-rows:230px;grid-template-columns:1fr 1fr}.team-pool,.pipeline,.simulation{height:493px}.identity{min-width:420px}.header-controls label{min-width:165px}.scenario-row{align-items:flex-start;padding-block:9px}.scenario-tabs{flex-wrap:wrap}.action-row{flex-wrap:wrap;justify-content:flex-end}}@media (width<=1080px){.dashboard{min-width:0;padding:8px}.top-row,.scenario-row{padding-inline:12px}.top-row,.scenario-row,.upper-grid{grid-template-columns:1fr;display:grid}.identity{min-width:0}.identity>strong{font-size:18px}.identity>div,.identity>i{display:none}.header-controls{flex-wrap:wrap}.header-controls label{flex:1;min-width:165px}.run-button{flex:1}.scenario-tabs,.action-row{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}.scenario-tabs button,.action-row button{padding-inline:12px}.upper-grid{gap:8px}.team-pool,.pipeline,.simulation{height:auto;min-height:480px}.right-stack{grid-column:auto;grid-template-rows:auto;grid-template-columns:1fr}.preview-panel{min-height:264px}.results{min-height:220px}.pool-grid{grid-template-columns:repeat(4,1fr)}.matrix-toolbar{flex-wrap:wrap;align-items:flex-start;gap:10px}}@media (width<=520px){.identity{gap:8px}.brand-icon{width:38px;height:38px}.identity>strong{font-size:16px}.header-controls label{width:100%}.pool-grid{grid-template-columns:repeat(3,1fr)}.pipeline-stage{grid-template-columns:28px minmax(100px,1fr) 68px}.stage-people{display:none}.simulation-tabs{overflow-x:auto}.decision-box{flex-direction:column;align-items:flex-start}.metric-grid{grid-template-columns:1fr}.results{min-height:370px}}
