/* Agathos / scenario 15 planning. Scoped to preserve the existing research UI. */
.fsp-shell{--fsp-bg:#15191f;--fsp-surface:#1c222a;--fsp-border:#35434d;--fsp-ink:#e5edf2;--fsp-muted:#a4b5c0;--fsp-rose:#d6a0b5;--fsp-cyan:#8ccecd;color:var(--fsp-ink);font:400 15px/1.65 "Segoe UI","Microsoft YaHei",Arial,sans-serif;min-width:0;isolation:isolate}
.fsp-shell *{box-sizing:border-box}
.fsp-shell [hidden]{display:none!important}
.fsp-shell :where(h2,h3,h4,p){margin:0}
.fsp-shell h2{font-size:24px;line-height:1.35;letter-spacing:.015em;font-weight:650}
.fsp-shell h3{font-size:18px;line-height:1.4;font-weight:650}
.fsp-shell :where(button,select,input){font:inherit;color:inherit}
.fsp-shell :where(button,select,input[type=text],input[type=number]){min-height:42px;border:1px solid #43505d;border-radius:7px;background:#202731}
.fsp-shell button{padding:8px 14px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.fsp-shell button:hover{background:#2b3540;border-color:#95afb8}
.fsp-shell button:active{transform:translateY(1px)}
.fsp-shell button:disabled{cursor:not-allowed;opacity:.45}
.fsp-shell :where(button,select,input,summary,a):focus-visible{outline:2px solid var(--fsp-cyan);outline-offset:3px}
.fsp-shell select{width:100%;padding:8px 34px 8px 11px;color-scheme:dark;max-width:100%}
.fsp-shell input:not([type=checkbox]):not([type=file]){width:100%;padding:8px 11px;max-width:100%;color-scheme:dark}
.fsp-shell input[type=checkbox]{width:17px;height:17px;accent-color:#b7d7d6;vertical-align:middle}
.fsp-shell :where(label,.fsp-field){display:grid;gap:6px;min-width:0;font-size:14px;font-weight:500;color:#c4d0d9}
.fsp-shell :where(small,.fsp-hint,.fsp-muted){color:var(--fsp-muted);font-size:13px;font-weight:400}
.fsp-shell :where(a,.fsp-link){color:#b9dfe2;text-underline-offset:4px}
.fsp-shell :where(img){display:block;object-fit:contain}
.fsp-heading{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 30px 26px;border:1px solid #4c4e5c;border-radius:12px 12px 0 0;background:radial-gradient(ellipse at 95% 0,rgba(134,107,128,.19),transparent 52%),linear-gradient(115deg,#242a34,#1b2229);overflow:hidden}
.fsp-heading:after{content:"";pointer-events:none;position:absolute;width:195px;height:90px;right:24px;top:15px;opacity:.28;background:linear-gradient(142deg,transparent 49.5%,#bad5df 50%,transparent 50.5%),linear-gradient(23deg,transparent 49.5%,#d9a1b9 50%,transparent 50.5%);transform:skewX(-12deg)}
.fsp-heading>div{position:relative;z-index:1}
.fsp-heading p{margin-top:9px;max-width:790px;color:#b9c9d3;font-size:15px}
.fsp-eyebrow,.fsp-kicker{display:block;color:#b8becf;font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:650;margin-bottom:9px}
.fsp-badge{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #5a6274;border-radius:5px;white-space:nowrap;font-size:12px;color:#d6dfe8;background:#171f2980}
.fsp-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:16px 20px;background:#1a2028;border:1px solid var(--fsp-border);border-top:0}
.fsp-toolbar :where(button,a){font-size:14px}
.fsp-toolbar .fsp-primary,.fsp-primary{background:#ac7c93!important;border-color:#d0a5ba!important;color:#fff!important;font-weight:650}
.fsp-toolbar .fsp-primary:hover{background:#bc8ba2!important}
.fsp-controls{margin-top:22px;border:1px solid var(--fsp-border);border-radius:10px;background:linear-gradient(130deg,#1d242e,#1a2027);overflow:hidden}
.fsp-controls>summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:650;display:flex;align-items:center;gap:12px;border-bottom:1px solid transparent}
.fsp-controls[open]>summary{border-bottom-color:var(--fsp-border)}
.fsp-controls>summary:before{content:"+";color:#b5d3d8;font-size:20px;font-weight:400}
.fsp-controls[open]>summary:before{content:"−"}
.fsp-controls>summary::-webkit-details-marker{display:none}
.fsp-settings-grid{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(130px,1fr));gap:16px;padding:20px 22px}
.fsp-settings-grid label>small{line-height:1.5}
.fsp-pairs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0 22px 20px}
.fsp-pair{min-width:0;padding:16px 13px;background:#151c23;border:1px solid #394754;border-radius:8px;position:relative}
.fsp-pair>header,.fsp-pair-title{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:14px;line-height:1.45}
.fsp-pair img{width:37px;height:37px;flex:none}
.fsp-pair label{font-size:12px}
.fsp-pair p{font-size:12px;color:var(--fsp-muted);margin-top:8px}
.fsp-pairs-help,.fsp-rule-note{margin:0 22px 20px;color:#b7c8d3;font-size:13px;padding:10px 0;border-top:1px solid #38424d}
.fsp-stage-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:22px 0 0;border:1px solid #45505c;border-radius:9px 9px 0 0;overflow:hidden}
.fsp-stage-tabs button{border:0;border-radius:0;border-right:1px solid #45505c;background:#202731;min-height:62px;font-size:14px;line-height:1.45;text-align:left;padding:11px 14px;position:relative}
.fsp-stage-tabs button:last-child{border-right:0}
.fsp-stage-tabs button small{display:block;font-size:11px;margin-top:3px}
.fsp-stage-tabs button[aria-selected=true]{background:#34313d;color:#fff;box-shadow:inset 0 -3px #d2a0b4}
.fsp-stage-editor{padding:22px;border:1px solid #45505c;border-top:0;background:#1a2029;border-radius:0 0 9px 9px}
.fsp-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.fsp-editor-heading label{display:flex;align-items:center;gap:10px;font-size:13px}
.fsp-editor-heading select{min-width:80px;width:auto}
.fsp-assignment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.fsp-slot{min-width:0;background:#151c24;border:1px solid #3a4654;border-radius:8px;padding:16px 14px;position:relative;overflow:hidden}
.fsp-slot:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--fsp-stat,#9bbed2);opacity:.8}
.fsp-slot>header,.fsp-slot-header{display:flex;align-items:center;gap:10px;font-weight:650;margin-bottom:15px}
.fsp-slot>header img,.fsp-slot-header img{width:32px;height:32px}
.fsp-slot>label{margin-top:11px}
.fsp-slot :where(.fsp-slot-name,h4){font-size:15px;font-weight:650}
.fsp-slot small{display:block;margin-top:10px;line-height:1.5}
.fsp-slot-effects{list-style:none;margin:12px 0 0;padding:12px 0 0;border-top:1px solid #35424e;font-size:12px;line-height:1.55;color:#bccecf}
.fsp-slot-effects li+li{margin-top:6px}
.fsp-notice{margin:16px 0 0;padding:13px 17px;border-left:2px solid #89c4c2;background:#202e31;color:#d1e7e6;font-size:14px;line-height:1.6;white-space:pre-line}
.fsp-notice[data-kind=error],.fsp-notice.is-error{background:#392831;border-color:#d59aae;color:#f3ccd5}
.fsp-warning,.fsp-warnings{padding:12px 16px;border-left:2px solid #c6ae75;background:#302e25;color:#e5d7b9;margin:14px 0;font-size:13px}
.fsp-preview{margin-top:24px;border:1px solid #455462;border-radius:11px;background:#181f27;min-width:0;overflow:hidden}
.fsp-preview>header,.fsp-preview-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;gap:16px;border-bottom:1px solid #394653;background:linear-gradient(100deg,#242d39,#1b252d)}
.fsp-preview>header p{font-size:13px;color:var(--fsp-muted);margin-top:5px}
.fsp-preview-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fsp-preview-tools label{display:flex;align-items:center;gap:7px;font-size:13px}
.fsp-preview-tools select{width:auto;min-width:86px}
.fsp-viewport{min-width:0;overflow:auto;overscroll-behavior-x:contain;max-height:1100px;background-color:#131a21;background-image:linear-gradient(45deg,#1c2730 25%,transparent 25%),linear-gradient(-45deg,#1c2730 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1c2730 75%),linear-gradient(-45deg,transparent 75%,#1c2730 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
.fsp-svg-host{width:100%;min-width:0;padding:20px}
.fsp-svg-host>svg{display:block;width:100%;height:auto;margin:auto;max-width:none}
.fsp-preview-caption{padding:12px 20px;font-size:13px;color:#a9bdc7;border-top:1px solid #36424e}
.fsp-sources{margin:22px 0 0;border-top:1px solid #48545c;border-bottom:1px solid #35414a;padding:17px 0;color:#acbdc8;font-size:13px;line-height:1.8}
.fsp-sources>summary{cursor:pointer;font-weight:600;color:#c6d6de}
.fsp-sources :where(p,ul,ol){margin-top:12px}
.fsp-sources code{font:12px Consolas,monospace;color:#d1b2c3}
.fsp-sources img{max-width:100%;height:auto;margin-top:12px}
.fsp-shell .fsp-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.fsp-shell .fsp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.fsp-pair-row{display:flex;align-items:center;gap:10px;min-width:0}
.fsp-pair-row img{width:36px;height:36px;flex:none}
.fsp-pair-row select{min-width:0}
.fsp-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#b4c8d1;padding-top:10px}
.fsp-legend i{width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:6px;background:currentColor}
.fsp-shell input:not([type=checkbox]):not([type=file]){border:1px solid #43505d;border-radius:7px;background:#202731;min-height:42px}
.fsp-controls>.fsp-section-title,.fsp-preview>.fsp-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #36434f;background:linear-gradient(110deg,#242c37,#1b232c)}
.fsp-section-title>span{font-size:12px;color:#a8bdc7;font-weight:400}
.fsp-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.fsp-actions button{font-size:13px;min-height:37px;padding:6px 12px}
.fsp-settings-grid{grid-template-columns:minmax(250px,2fr) repeat(2,minmax(160px,1fr))}
.fsp-deck-sync{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:0 22px 12px;color:#aebfca;font-size:13px}
.fsp-deck-sync label{display:flex;align-items:center;gap:8px;font-size:13px}
.fsp-help{color:#aabecb;font-size:13px;padding:0 22px 18px;line-height:1.75}
.fsp-pairs{padding-top:20px}
.fsp-pair>span{display:flex;align-items:center;gap:10px;line-height:1.4;margin-bottom:8px;font-size:14px}
.fsp-pair>span img{width:36px;height:36px}
.fsp-stage-tabs{margin:18px 22px 0}
.fsp-stage-editor{margin:0 22px 18px;padding:18px;border-color:#3f4c5b;background:#151c24}
.fsp-stage-period{margin-bottom:16px!important;color:#b4cbd4;font-size:13px}
.fsp-slot-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.fsp-slot-heading>img{width:30px;height:30px;flex:none}
.fsp-slot-heading>div{display:grid;gap:2px}
.fsp-slot-heading strong{font-size:15px}.fsp-slot-heading small{font-size:12px;margin:0;color:#90a9bb}
.fsp-slot-current{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:11px 0 2px;color:#a9cfca;font-size:12px;line-height:1.5}
.fsp-slot-current img{width:24px;height:24px;flex:none}
.fsp-slot-current small{margin:0;color:#c4ad8b}
.fsp-local-tag{font-size:12px;color:#b2cad0;white-space:nowrap;border:1px solid #4e626a;border-radius:5px;padding:6px 10px}
.fsp-warnings{margin:0;border:0;border-top:1px solid #4b4d42;background:#292b26;padding:14px 22px 14px 38px;color:#cccaaf;line-height:1.7}
.fsp-file-tools{margin-top:22px;padding:22px;border:1px solid #364b54;border-radius:9px;background:linear-gradient(120deg,#1b292d,#1c232b)}
.fsp-file-tools>p{font-size:13px;color:#b3c6cf;margin:8px 0 15px}
.fsp-file-tools>button,.fsp-file-button{display:inline-flex!important;min-height:42px;align-items:center;justify-content:center;padding:8px 13px!important;border:1px solid #51646a;border-radius:7px;background:#263239;cursor:pointer;font-size:14px!important;margin:0 8px 8px 0}
.fsp-file-button input{position:absolute;width:1px;height:1px;opacity:0}
.fsp-toolbar label{display:flex;align-items:center;gap:7px;font-size:12px}
.fsp-toolbar select{width:auto;min-width:88px;min-height:36px;padding:6px 28px 6px 9px;font-size:12px}
.fsp-preview .fsp-toolbar{border-left:0;border-right:0;border-top:0;padding:14px 20px;gap:10px 17px}
.ag-planner .agp-modebar{flex-wrap:wrap}
.ag-planner .agp-modebar>button[data-mode=festa]{color:#c4dddf}
.ag-planner .agp-modebar>button[data-mode=festa][aria-selected=true]{color:#f5eef1}
@media(min-width:1600px){.fsp-shell{font-size:16px}.fsp-slot{padding:20px 17px}.fsp-heading h2{font-size:27px}}
@media(max-width:1100px){.fsp-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fsp-pairs{grid-template-columns:repeat(3,minmax(0,1fr))}.fsp-assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fsp-stage-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.fsp-stage-tabs button:nth-child(3){border-right:0}.fsp-stage-tabs button:nth-child(-n+3){border-bottom:1px solid #45505c}.fsp-heading{padding:22px}.fsp-preview>header{align-items:flex-start}}
@media(max-width:680px){.fsp-shell{font-size:14px}.fsp-heading{display:block;padding:20px 17px}.fsp-heading h2{font-size:22px}.fsp-heading p{font-size:14px}.fsp-heading:after{opacity:.13;right:-10px}.fsp-toolbar{padding:13px;gap:8px}.fsp-toolbar button{font-size:13px;padding:8px 10px}.fsp-settings-grid{padding:16px;gap:13px}.fsp-settings-grid>label:first-child{grid-column:1/-1}.fsp-pairs{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px 16px;gap:10px}.fsp-pair{padding:13px 11px}.fsp-pair:last-child{grid-column:1/-1}.fsp-pair img{width:32px;height:32px}.fsp-stage-tabs button{font-size:12px;padding:10px;min-height:58px}.fsp-stage-editor{padding:16px}.fsp-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fsp-slot{padding:13px 11px}.fsp-slot:last-child{grid-column:1/-1}.fsp-slot select{font-size:13px}.fsp-preview>header,.fsp-preview-heading{display:block;padding:16px}.fsp-preview-tools{margin-top:12px}.fsp-preview-tools select{font-size:13px}.fsp-svg-host{padding:12px}.fsp-viewport{max-height:800px}.fsp-editor-heading{display:block}.fsp-editor-heading label{margin-top:12px}.fsp-pairs-help,.fsp-rule-note{margin:0 16px 16px}.fsp-sources{font-size:12px}.fsp-heading .fsp-badge{margin-top:12px}.fsp-controls>summary{padding:15px 16px}.fsp-shell h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.fsp-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:680px){.fsp-controls>.fsp-section-title,.fsp-preview>.fsp-section-title{display:block;padding:14px 16px}.fsp-section-title>span{display:block;margin-top:5px}.fsp-actions{margin-top:11px}.fsp-settings-grid{grid-template-columns:1fr 1fr}.fsp-deck-sync{display:block;padding:0 16px 10px}.fsp-deck-sync label{margin-top:10px}.fsp-help{padding:0 16px 15px;font-size:12px}.fsp-stage-tabs{margin:15px 16px 0}.fsp-stage-editor{margin:0 16px 16px;padding:13px}.fsp-pairs{padding-top:15px}.fsp-toolbar label{flex:1 1 calc(50% - 12px);min-width:0;display:grid}.fsp-toolbar select{width:100%;font-size:12px;min-width:0}.fsp-preview .fsp-toolbar{gap:12px;padding:15px}.fsp-file-tools{padding:16px}.fsp-file-tools>button,.fsp-file-button{font-size:12px!important;padding:8px 10px!important}.fsp-local-tag{display:inline-block;margin-top:13px}.fsp-warnings{padding:13px 16px 13px 30px;font-size:12px}.fsp-pair>span{font-size:12px;gap:8px}.fsp-pair>span img{width:31px;height:31px}.fsp-shell h3{font-size:16px}.fsp-shell select,.fsp-shell input{font-size:14px}}

/* Direct manipulation workspace: the board is the primary control surface. */
.fsp-heading{border-radius:12px;padding:23px 26px}
.fsp-wizard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:20px 0 0;border:1px solid #44515c;border-radius:9px;overflow:hidden;background:#1c242e}
.fsp-wizard button{border:0;border-right:1px solid #44515c;border-radius:0;text-align:left;display:flex;align-items:center;gap:13px;padding:15px 19px;background:transparent;min-height:68px}
.fsp-wizard button:last-child{border-right:0}
.fsp-wizard button>span:first-child,.fsp-wizard .fsp-step-number{font:600 22px/1.2 Consolas,monospace;color:#8199a8}
.fsp-wizard button strong{display:block;font-size:16px;font-weight:600}
.fsp-wizard button small{display:block;font-size:12px;margin-top:2px}
.fsp-wizard button[aria-current=step],.fsp-wizard button[aria-selected=true],.fsp-wizard button.is-active{background:linear-gradient(120deg,#41323f,#29343d);box-shadow:inset 0 -2px #d2a2b6}
.fsp-wizard button[aria-current=step]>span:first-child,.fsp-wizard button.is-active>span:first-child{color:#e3aec4}
.fsp-step-guide{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:19px 4px 18px;border-bottom:1px solid #394955;margin-bottom:18px}
.fsp-step-guide h3{font-size:19px}.fsp-step-guide p{font-size:14px;color:#adc3cf;margin-top:5px;max-width:850px}
.fsp-step-guide .fsp-progress{flex:none;align-self:center;color:#acd4cc;border:1px solid #48675f;border-radius:25px;padding:5px 12px;font-size:13px}
.fsp-plan-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}
.fsp-plan-actions button{min-height:36px;padding:6px 11px;font-size:12px;background:#1e2933}
.fsp-plan-actions .fsp-secondary{border-color:#62605f}
.fsp-workbench{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:18px;min-width:0}
.fsp-tray{position:sticky;top:90px;padding:18px 14px;background:linear-gradient(155deg,#24343d,#1a222c);border:1px solid #49616a;border-radius:10px;min-width:0;box-shadow:inset 0 1px #b8dce212}
.fsp-tray h3,.fsp-tray h4{font-size:15px;margin-bottom:7px}
.fsp-tray p{font-size:12px;color:#aac1ce;line-height:1.6;margin-bottom:13px}
.fsp-tray-group+.fsp-tray-group{margin-top:17px;padding-top:14px;border-top:1px solid #475360}
.fsp-token-grid{display:grid;gap:8px}
.fsp-token{touch-action:none;user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:62px!important;padding:9px!important;border:1px solid #4f6574!important;background:linear-gradient(105deg,#293b49,#22303c)!important;position:relative;overflow:visible}
.fsp-token>img{width:39px;height:39px;flex:none;pointer-events:none}
.fsp-token>span{display:block;min-width:0;pointer-events:none;font-size:13px}
.fsp-token strong{font-size:13px;display:block;font-weight:600}.fsp-token small{font-size:11px;display:block;color:#b1c6d1;margin-top:3px}
.fsp-token[aria-pressed=true],.fsp-token.is-selected{border-color:#a6dfdc!important;background:#354c57!important;box-shadow:0 0 0 2px #b2eeeb24}
.fsp-token.is-used{border-style:dashed!important;opacity:.65}
.fsp-token.is-used[aria-pressed=true]{opacity:1}
.fsp-token:disabled,.fsp-token.is-locked{opacity:.45;cursor:default;touch-action:pan-y}
.fsp-token[data-fsp-kind=advanced]{background:linear-gradient(105deg,#39314a,#292736)!important;border-color:#6b6083!important}
.fsp-tray-note{font-size:11px;color:#9fb8c9;border-top:1px solid #425461;padding-top:12px;margin-top:13px}
.fsp-board-wrap,.fsp-board-area{min-width:0}
.fsp-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;padding:19px;background:radial-gradient(ellipse at 0 0,#31434e44,transparent 55%),#161e28;border:1px solid #415666;border-radius:10px;min-width:0;position:relative}
.fsp-board:before{content:"";position:absolute;inset:8px;pointer-events:none;border:1px solid #7faeb412;border-radius:6px}
.fsp-drop-slot{border:1px dashed #4b687a;border-radius:9px;min-height:258px;min-width:0;position:relative;padding:14px 10px 12px;background:#1b273288;display:flex;flex-direction:column;gap:11px;transition:background .15s,border-color .15s,box-shadow .15s;scroll-margin-top:150px}
.fsp-drop-slot>header,.fsp-drop-slot .fsp-slot-heading{display:flex;gap:7px;align-items:center;margin:0;padding-bottom:10px;border-bottom:1px solid #45607355;font-size:13px;min-height:47px}
.fsp-drop-slot>header img{width:26px;height:26px;flex:none}.fsp-drop-slot>header strong{font-size:13px}.fsp-drop-slot>header small{font-size:10px}
.fsp-drop-slot.is-empty{background:repeating-linear-gradient(135deg,transparent,transparent 9px,#6488a007 9px,#6488a007 10px),#1a253080}
.fsp-drop-slot.is-drop-target,.fsp-drop-slot.is-over,.fsp-drop-slot[data-drop-active=true]{border-color:#b4eee3;border-style:solid;background:#29494b;box-shadow:inset 0 0 0 2px #97d8d233,0 0 22px #82d5c020}
.fsp-empty-hint,.fsp-drop-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:1;text-align:center;color:#9cb7c7;min-height:105px;font-size:12px;line-height:1.6;cursor:pointer}
.fsp-empty-hint:before,.fsp-drop-placeholder:before{content:"+";width:34px;height:34px;display:grid;place-items:center;border:1px solid #5d839b;border-radius:50%;font:300 24px/1 Arial;color:#bdd9e4}
.fsp-board-node{touch-action:none;user-select:none;-webkit-user-select:none;position:relative;border:1px solid #567f90;border-radius:7px;background:linear-gradient(150deg,#314856,#253442);padding:13px 9px;min-height:118px;text-align:center;cursor:grab;display:grid;justify-items:center;align-content:start;gap:7px;box-shadow:inset 0 1px #deffff18}
.fsp-board-node:active{cursor:grabbing}
.fsp-board-node>img{width:49px;height:49px;pointer-events:none}.fsp-board-node strong{font-size:12px;line-height:1.45;overflow-wrap:anywhere;pointer-events:none}
.fsp-board-node .fsp-buff-summary{font-size:11px;color:#bed6d8;line-height:1.6}
.fsp-attachment{position:relative;border:1px solid #766a91;border-radius:7px;background:linear-gradient(130deg,#3a344c,#292b3b);padding:12px 8px;text-align:center;font-size:12px;min-height:65px;display:flex;align-items:center;gap:6px;justify-content:center;touch-action:none}
.fsp-attachment:before{content:"";width:15px;height:9px;position:absolute;left:calc(50% - 8px);top:-10px;background:#453b57;border:1px solid #766a91;border-bottom:0;border-radius:10px 10px 0 0}
.fsp-attachment>img{width:31px;height:31px;flex:none}.fsp-attachment.is-empty{border-style:dashed;background:#272a3a55;color:#acabc0;touch-action:manipulation}
.fsp-attachment strong{font-size:11px;line-height:1.45}
.fsp-drop-slot .fsp-node-tools{display:flex;gap:4px;align-items:center;justify-content:space-between;margin-top:auto;font-size:11px}
.fsp-drop-slot .fsp-node-tools button{padding:4px 7px;min-height:30px;font-size:11px}
.fsp-drop-slot .fsp-node-tools input{max-width:55px;min-height:30px;padding:3px 6px;font-size:12px}
.fsp-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0 4px}
.fsp-step-actions button{min-height:42px;padding:8px 17px;font-size:14px}
.fsp-details-controls{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:12px;margin:14px 0}
.fsp-details-controls label,.fsp-pin-details,.fsp-show-all{display:flex!important;align-items:center;gap:7px;font-size:12px!important}
.fsp-detail-panel{grid-column:1/-1;padding:19px 21px;border:1px solid #52636c;background:linear-gradient(110deg,#203038,#222532);border-radius:9px;position:relative}
.fsp-detail-panel>header{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #455562;padding-bottom:12px;margin-bottom:12px}
.fsp-detail-panel h3{font-size:16px}.fsp-detail-panel p,.fsp-detail-panel li{font-size:13px;color:#c1d3dd;line-height:1.8}.fsp-detail-panel ul{padding-left:20px;margin:0}
.fsp-detail-panel button{font-size:12px;min-height:32px;padding:4px 9px}
.fsp-tooltip{position:absolute;z-index:25;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:280px;padding:14px 16px;border:1px solid #7c9d9f;border-radius:8px;background:#172833;box-shadow:0 10px 34px #0008;color:#dfebee;text-align:left;pointer-events:none;font-size:12px;line-height:1.7;font-weight:400;user-select:text;white-space:normal}
.fsp-tooltip>strong{font-size:13px!important;margin-bottom:7px;display:block}.fsp-tooltip p{font-size:12px}.fsp-tooltip:after{content:"";position:absolute;left:calc(50% - 5px);bottom:-5px;width:8px;height:8px;border-right:1px solid #7c9d9f;border-bottom:1px solid #7c9d9f;background:#172833;transform:rotate(45deg)}
.fsp-tooltip[data-fsp-tooltip]{bottom:auto;transform:none;height:auto;min-height:0;max-height:min(55vh,420px);overflow:auto;display:block;white-space:normal}
.fsp-tooltip[data-fsp-tooltip]>span{display:block;line-height:1.7}
.fsp-drag-ghost{position:fixed;z-index:2147483000;pointer-events:none;display:flex;align-items:center;gap:8px;padding:10px 12px;max-width:225px;min-height:63px;border:1px solid #c3e9e6;border-radius:8px;background:#253c47ed;color:#ecfaff;box-shadow:0 15px 45px #0007;font:600 13px/1.5 "Segoe UI","Microsoft YaHei",Arial,sans-serif;transform:translate(-50%,-50%) rotate(-3deg);opacity:.96}
.fsp-drag-ghost img{width:42px;height:42px;object-fit:contain;pointer-events:none}
.fsp-shell.is-dragging{cursor:grabbing}.fsp-shell.is-dragging *{cursor:grabbing!important}
.fsp-settings,.fsp-overview{border-top:1px solid #485361;border-bottom:1px solid #36424e;margin-top:18px;padding:15px 0;min-width:0}
.fsp-settings>summary,.fsp-overview>summary{cursor:pointer;font-size:14px;color:#b8cedb;font-weight:550}
.fsp-settings[open]>summary,.fsp-overview[open]>summary{margin-bottom:16px}
.fsp-overview-grid{display:grid;gap:9px;margin-top:15px}
.fsp-overview-row{display:grid;grid-template-columns:115px repeat(5,minmax(0,1fr));gap:9px;align-items:center;border-top:1px solid #3d4a55;padding-top:9px}
.fsp-overview-row>strong{font-size:12px;color:#aec1cc}
.fsp-overview-node{display:flex;align-items:center;gap:7px;padding:8px!important;min-height:50px!important;min-width:0;font-size:10px!important}
.fsp-overview-node img{width:26px;height:26px;flex:none}.fsp-overview-node span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fsp-overview-node.is-current{border-color:#c0a1bd}
.fsp-export-panel{border:1px solid #485c69;border-radius:10px;background:#1b2530;overflow:hidden;min-width:0}
.fsp-export-panel .fsp-preview{border:0;margin-top:0}
.fsp-export-panel .fsp-file-tools{margin:0;border:0;border-radius:0;border-top:1px solid #455a65;background:#1d2b33}
.fsp-export-panel>.fsp-section-title{padding:18px 22px;border-bottom:1px solid #425564}
.fsp-stage-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:11px 0 16px;font-size:12px;min-height:38px}
.fsp-stage-tools>p,.fsp-stage-tools>.fsp-stage-period{flex:1;min-width:210px;margin:0!important;color:#acc4d2;font-size:12px}
.fsp-stage-tools label{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}
.fsp-stage-tools select{width:68px;min-height:33px;font-size:12px;padding:4px 22px 4px 8px}
.fsp-stage-tools button{font-size:12px;min-height:33px;padding:5px 10px}
.fsp-stage-tools input[type=checkbox]{width:15px;height:15px}
.fsp-node-footer{display:flex;align-items:center;gap:5px;margin-top:auto;font-size:11px;flex-wrap:wrap}
.fsp-node-footer label{display:flex;align-items:center;gap:5px;font-size:11px}
.fsp-node-footer input:not([type=checkbox]){width:48px!important;min-height:31px!important;font-size:12px;padding:4px 5px!important}
.fsp-node-footer button{font-size:11px;padding:4px 7px;min-height:31px;margin-left:auto}
.fsp-node-effects{font-size:11px;line-height:1.65;padding:9px 0 0;color:#bdd4db;margin:0;border-top:1px solid #54707b55;white-space:pre-line;text-align:left;max-width:100%;overflow-wrap:anywhere}
.fsp-node-effects ul{padding-left:14px;margin:0}
.fsp-empty-plus{font:300 25px/1 Arial;color:#a0cadb;padding:5px}
.fsp-selection-status{font-size:12px;line-height:1.65;color:#9ed7d2;margin-top:11px;padding:9px 0 0;border-top:1px solid #526b75}
.fsp-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #455865;padding-bottom:11px;margin-bottom:12px}
.fsp-detail-heading>div{display:flex;align-items:center;gap:10px}.fsp-detail-heading img{width:36px;height:36px}
.fsp-detail-effects{font-size:13px;line-height:1.8;color:#ccdee6}.fsp-detail-effects ul{padding-left:19px}
.fsp-export-status{margin:13px 18px;color:#becdcb;font-size:13px}
.fsp-overview-rows{display:grid;gap:9px;overflow-x:auto;margin-top:15px}
.fsp-overview-row{grid-template-columns:110px repeat(5,minmax(0,1fr))}
.fsp-step-guide .fsp-plan-actions{margin:0}.fsp-step-guide{padding-top:14px;padding-bottom:14px;align-items:center}
.fsp-heading{padding:19px 25px}.fsp-heading p{margin-top:6px}
.fsp-board-workspace>.fsp-stage-tabs{margin:0}
.fsp-node-summary{font-size:11px;color:#b5d1da;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fsp-stage-quick{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.fsp-stage-quick>p{flex:1;margin:0!important;font-size:13px}.fsp-stage-quick label{display:flex;gap:8px;align-items:center;font-size:12px}.fsp-stage-quick select{width:80px;font-size:12px;min-height:34px}.fsp-stage-quick button{font-size:12px;min-height:34px;padding:5px 10px}
.fsp-level-buffs{margin:15px 22px 20px;border-top:1px solid #435360;padding-top:13px;font-size:13px;color:#b8ceda}
.fsp-level-buffs summary{cursor:pointer}
.fsp-level-buffs [data-fsp-level-buffs]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:15px}
.fsp-level-buffs article{padding:14px;background:#17232c;border:1px solid #3c5364;border-radius:7px;min-width:0}
.fsp-level-buffs h4{font-size:13px;margin-bottom:8px}.fsp-level-buffs ul{font-size:12px;padding-left:16px;margin:0;line-height:1.7}
.fsp-level-buffs .fsp-effect-inactive{color:#9c888d;text-decoration:none}
@media(min-width:1750px){.fsp-workbench{grid-template-columns:250px minmax(0,1fr)}.fsp-board{gap:15px;padding:24px}.fsp-drop-slot{padding:17px 13px}.fsp-board-node strong{font-size:14px}.fsp-drop-slot>header strong{font-size:15px}}
@media(max-width:1150px){.fsp-workbench{grid-template-columns:1fr}.fsp-tray{position:static;padding:15px}.fsp-token-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.fsp-token{display:grid;justify-items:center;text-align:center;padding:9px 6px!important;gap:5px}.fsp-token>img{width:35px;height:35px}.fsp-token strong{font-size:12px}.fsp-token small{font-size:10px}.fsp-tray h4,.fsp-tray p{margin-bottom:8px}.fsp-tray-group+.fsp-tray-group{margin-top:12px}.fsp-detail-panel{grid-column:1/-1}.fsp-drop-slot{min-height:242px}.fsp-tooltip{width:230px}.fsp-stage-tabs{margin-left:0;margin-right:0}}
@media(max-width:720px){.fsp-wizard button{padding:12px 10px;gap:8px;min-height:62px}.fsp-wizard button>span:first-child{font-size:18px}.fsp-wizard button strong{font-size:12px}.fsp-wizard button small{font-size:10px}.fsp-step-guide{display:block;padding:15px 2px}.fsp-step-guide h3{font-size:17px}.fsp-step-guide p{font-size:12px}.fsp-step-guide .fsp-progress{display:inline-block;margin-top:10px;font-size:11px}.fsp-workbench{gap:12px}.fsp-tray{padding:13px 10px}.fsp-token-grid{gap:5px}.fsp-token{border-radius:6px;padding:8px 3px!important;min-height:70px!important}.fsp-token strong{font-size:10px;line-height:1.4}.fsp-token small{font-size:9px}.fsp-token>img{width:31px;height:31px}.fsp-plan-actions{gap:6px}.fsp-plan-actions button{font-size:11px;min-height:32px;padding:5px 8px}.fsp-board{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}.fsp-drop-slot{min-height:240px;padding:12px}.fsp-drop-slot:last-child{grid-column:1/-1;min-height:210px}.fsp-board-node{padding:11px 9px;min-height:110px}.fsp-board-node>img{width:45px;height:45px}.fsp-board-node strong{font-size:13px}.fsp-drop-slot>header strong{font-size:14px}.fsp-board-node .fsp-buff-summary{font-size:11px}.fsp-drop-slot:last-child .fsp-board-node{display:grid;grid-template-columns:48px 1fr;text-align:left;justify-items:start;align-items:center;min-height:75px}.fsp-drop-slot:last-child .fsp-board-node>img{grid-row:1/3}.fsp-tooltip{display:none!important}.fsp-detail-panel{padding:15px}.fsp-detail-panel p,.fsp-detail-panel li{font-size:12px}.fsp-step-actions button{font-size:12px;padding:7px 13px;min-height:39px}.fsp-details-controls{gap:10px}.fsp-overview{overflow:hidden}.fsp-overview-grid{overflow-x:auto;padding-bottom:10px}.fsp-overview-row{min-width:710px;grid-template-columns:100px repeat(5,110px);gap:8px}.fsp-settings .fsp-settings-grid{padding:16px 0}.fsp-level-buffs{margin:14px 0}.fsp-level-buffs [data-fsp-level-buffs]{grid-template-columns:1fr}.fsp-stage-quick{display:block}.fsp-stage-quick label{display:inline-flex;margin:10px 8px 0 0}.fsp-stage-quick button{margin-top:10px}.fsp-export-panel .fsp-toolbar{gap:9px;padding:12px}.fsp-heading{padding:19px 17px}.fsp-heading h2{font-size:20px}.fsp-heading p{font-size:13px}}
@media(max-width:720px){.fsp-step-guide .fsp-plan-actions{margin-top:11px}.fsp-stage-tools{gap:7px;margin-top:12px}.fsp-stage-tools>p,.fsp-stage-tools>.fsp-stage-period{flex-basis:100%;font-size:11px}.fsp-stage-tools button{font-size:10px;padding:5px 7px}.fsp-stage-tools label{font-size:11px}.fsp-stage-tools select{width:58px}.fsp-node-footer{gap:7px}.fsp-node-footer button{font-size:11px}.fsp-detail-heading{align-items:flex-start;gap:8px}.fsp-detail-heading img{width:30px;height:30px}.fsp-board-workspace{min-width:0}.fsp-settings{padding:12px 0;margin-top:12px}}
