:root{font-family:Inter,"Noto Sans KR","Malgun Gothic",system-ui,sans-serif;color:#18242d;background:#eef2f5;font-synthesis:none;--border:#cbd5dc;--header:#e8edf0;--input:#eaf4ff;--calc:#ebf8ef;--manual:#fff5cf;--danger:#fff0ef;--muted:#667681;--ink:#18242d;--accent:#315e7d;--accent-soft:#dbeaf3;--panel:#f9fbfc}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:#eef2f5;color:var(--ink)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.app-header{display:flex;justify-content:space-between;align-items:center;padding:10px 18px 8px;background:#f8fafb;border-bottom:1px solid var(--border)}.app-header h1{font-size:18px;margin:0 0 2px}.app-header p{font-size:11px;color:var(--muted);margin:0}.baseline-badge{font-size:10px;color:#3c596c;border:1px solid #b9cbd6;background:#eef7fc;padding:3px 7px;border-radius:3px}.main-nav{background:#f8fafb;border-bottom:1px solid var(--border);padding:0 18px}.compact-tabs{display:flex;gap:2px;flex-wrap:wrap}.compact-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:8px 13px;font-size:12px;font-weight:700}.compact-tabs button:hover{background:#edf3f6}.compact-tabs button.active{color:#174a69;border-bottom-color:#2c6a8f;background:#eaf3f8}.page{padding:10px 12px 24px;max-width:1800px;margin:0 auto}.section-block{background:var(--panel);border:1px solid var(--border);margin-bottom:8px}.section-title{min-height:34px;padding:6px 9px;background:var(--header);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title h2{font-size:13px;margin:0}.section-title span{font-size:10px;color:var(--muted)}.table-scroll{overflow:auto;max-width:100%}.dense-table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.25;table-layout:fixed}.dense-table th,.dense-table td{border-right:1px solid #d7dfe4;border-bottom:1px solid #d7dfe4;padding:4px 5px;vertical-align:top;overflow-wrap:anywhere}.dense-table thead th{position:sticky;top:0;z-index:2;background:#dde5ea;text-align:left;font-size:10px;color:#334955}.dense-table tbody th{background:#eef2f4;text-align:left}.dense-table tr:last-child td,.dense-table tr:last-child th{border-bottom:0}.input-cell{width:100%;min-height:25px;border:1px solid #aac7da;background:var(--input);padding:2px 4px;border-radius:2px}.number-input{max-width:92px}.compact-form-row{display:flex;align-items:center;gap:10px;padding:6px 8px;font-size:11px}.compact-form-row label{display:flex;align-items:center;gap:5px}.compact-form-row input{width:80px}.initial-detail{display:flex;flex-wrap:wrap;gap:8px;padding:5px 0}.cycle-toolbar{align-items:flex-start}.cycle-toolbar>div:first-child{display:flex;flex-direction:column}.toolbar-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:4px}.toolbar-actions button,.row-buttons button{border:1px solid #aebfc9;background:#f7fafb;padding:3px 6px;border-radius:2px;font-size:10px}.toolbar-actions button:hover,.row-buttons button:hover{background:#e7f0f5}.toolbar-actions button.active{background:#dbeef8;border-color:#75a9c5}.toolbar-actions .manual-button{background:var(--manual);border-color:#dac77e}.manual-row{background:var(--manual)!important}.rejected-row{background:var(--danger)!important}.manual-input{display:flex;align-items:center;gap:4px;font-weight:700}.manual-input input{width:70px;border:1px solid #d8c36c;background:#fffaf0;padding:2px 4px}.row-buttons{display:flex;gap:2px;flex-wrap:wrap}.row-buttons button:disabled{opacity:.35;cursor:default}.inline-line{display:block;margin-bottom:2px}.issue{color:#9e302b;font-weight:700}.reject-box{border-left:3px solid #c14942;padding-left:5px;display:flex;flex-direction:column}.reject-box b{color:#a32924}.state-brief{display:flex;flex-wrap:wrap;gap:3px}.state-brief span{background:#eef5ef;border:1px solid #cfdfd2;padding:1px 3px}.event-groups{display:flex;flex-direction:column;gap:3px}.event-group{display:grid;grid-template-columns:58px 1fr;column-gap:4px}.event-group-label{font-size:9px;color:#596a75;font-weight:700}.event-line{display:block}.manual-event{background:#fff1b8;padding:1px 3px;font-weight:700}.event-groups.compact .event-group:nth-child(n+5){display:none}.row-detail summary{font-size:10px;color:#315e7d;cursor:pointer;margin-top:3px}.detail-panel{position:absolute;right:14px;width:min(760px,85vw);z-index:5;background:white;border:1px solid #9eb2bf;box-shadow:0 5px 18px #31444f2b;padding:7px;display:grid;grid-template-columns:1fr 2fr 1fr;gap:8px;text-align:left}.detail-panel b{font-size:10px}.detail-line{display:block;font-size:9px;border-bottom:1px dotted #d8e0e5;padding:2px 0}.state-panel{background:#f9fbfc;border:1px solid var(--border);padding:0;margin-top:8px}.panel-title{background:#e8edf0;border-bottom:1px solid var(--border);padding:6px 8px;font-size:12px;font-weight:700}.panel-title span{font-size:9px;color:var(--muted);font-weight:400}.state-grid{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:0}.state-grid section{padding:6px 8px;border-right:1px solid #dce3e7}.state-grid h4{font-size:10px;margin:0 0 4px;color:#4d5e68}.state-value{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding:1px 0}.reservation-state-value{align-items:center;flex-wrap:wrap}.reservation-duration{white-space:nowrap}.reservation-expire-button{border:1px solid #aebfc9;background:#f7fafb;padding:2px 5px;border-radius:2px;font-size:9px;white-space:nowrap}.reservation-expire-button:hover{background:#e7f0f5}.muted{color:var(--muted);font-size:10px}.verification{font-size:9px;cursor:help}.verification-conflict{color:#c32f28}.verification-unverified{color:#9a7100}.settings-table{min-width:860px}.settings-table .setting-key,.settings-table tbody th{width:160px}.settings-table td{background:white}.settings-table .settings-group th{background:#dfe7eb;color:#2e4b5a;padding:4px 6px;font-size:10px}.triple-input,.quad-input{display:grid;gap:2px}.triple-input{grid-template-columns:repeat(3,1fr)}.quad-input{grid-template-columns:repeat(4,1fr)}.triple-input input,.quad-input input{width:100%;min-width:0;border:1px solid #aac7da;background:var(--input);padding:2px}.metric-pair{display:block;font-size:10px}.metric-pair strong{background:var(--calc);padding:1px 2px}.descriptions-page .compact-tabs{padding:0 8px;border-bottom:1px solid var(--border)}.description-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px}.description-sheet{border:1px solid var(--border);background:white}.description-sheet h3{font-size:13px;margin:0;padding:6px 8px;background:#eaf0f3}.desc-section{padding:5px 7px;border-top:1px solid #dce3e7}.desc-section h4{font-size:10px;margin:0 0 4px;color:#4a6575}.desc-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(120px,1fr) minmax(180px,1.5fr) 18px;gap:5px;padding:3px 0;border-bottom:1px dotted #dde4e8;font-size:10px}.description-list{padding:6px;display:grid;gap:4px}.list-record{display:grid;grid-template-columns:1fr 30px 2fr;gap:8px;align-items:start;border:1px solid var(--border);background:white;padding:6px}.list-record h3{font-size:12px;margin:0}.list-record span,.list-record p{font-size:10px;margin:2px 0}.dictionary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px}.dictionary-item{border:1px solid var(--border);background:white;padding:6px;min-height:100px}.dictionary-title{display:flex;gap:5px;align-items:center}.dictionary-title b{font-size:12px}.dictionary-category{font-size:9px;color:#546a76}.dictionary-item p{font-size:10px;line-height:1.4}.dictionary-item code{font-size:9px;color:#75858e}.calc-cell{background:var(--calc)}
@media(max-width:900px){.app-header{padding:8px 10px}.baseline-badge{display:none}.main-nav{padding:0 8px}.page{padding:7px 6px 18px}.party-summary .table-scroll{overflow:visible}.manual-row td:nth-child(2){width:100%}.detail-panel{position:fixed;left:5vw;right:auto;top:18vh;width:90vw;max-height:65vh;overflow:auto;grid-template-columns:1fr}.state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.description-grid{grid-template-columns:1fr}.dictionary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-table{min-width:760px}.toolbar-actions{width:100%}.cycle-toolbar{flex-direction:column}}
@media(max-width:520px){.state-grid{grid-template-columns:1fr}.dictionary-grid{grid-template-columns:1fr}.compact-tabs button{padding:7px 9px}.app-header h1{font-size:15px}.section-title{align-items:flex-start}.cycle-toolbar .toolbar-actions button{flex:1 1 auto}.event-group{grid-template-columns:54px 1fr}}

.event-groups{gap:7px}.event-group{grid-template-columns:64px 1fr;row-gap:1px}.event-group+.event-group{padding-top:3px;border-top:1px dotted #d9e1e5}.event-group-label{font-size:9px;color:#4d626f}.event-groups.compact .event-group:nth-child(n){display:grid}.effect-label{font-size:9px;color:#365b70}.dual-state-brief{display:flex;flex-direction:column;gap:4px}.state-scope{display:flex;flex-wrap:wrap;align-items:center;gap:3px}.state-scope>b{font-size:9px;min-width:28px;color:#4a5f6c}.state-chip{background:#eef5ef;border:1px solid #cfdfd2;padding:1px 3px;white-space:nowrap}.enemy-scope .state-chip{background:#f4f0ec;border-color:#ded3c8}.resource-scope .state-chip{background:#eef4f8;border-color:#cfdae2}.compact-empty{font-size:9px}.state-brief{display:none}
.description-table-wrap{padding:6px}.description-compare{min-width:1280px;table-layout:auto}.description-compare th,.description-compare td{font-size:10px;line-height:1.35}.description-compare thead th{white-space:nowrap}.description-compare .sticky-operator{position:sticky;left:0;z-index:1;background:#eef2f4;min-width:92px}.skill-talent-table{min-width:1760px}.skill-talent-table th:nth-child(1){width:105px}.skill-talent-table th:nth-child(2){width:90px}.skill-talent-table th:nth-child(3){width:105px}.skill-talent-table th:nth-child(4){width:130px}.skill-talent-table th:nth-child(5){width:150px}.skill-talent-table th:nth-child(6){width:170px}.skill-talent-table th:nth-child(7){width:205px}.skill-talent-table th:nth-child(8){width:180px}.skill-talent-table th:nth-child(9){width:190px}.skill-talent-table th:nth-child(10){width:230px}.skill-talent-table th:nth-child(11){width:210px}.spec-line{display:block;margin:1px 0}.spec-block{display:block;padding:2px 0;border-bottom:1px dotted #dce3e7}.spec-block:last-child{border-bottom:0}.spec-block>b,.spec-block>span{display:block}.active-spec{background:#f0f8f2}.inactive-spec{opacity:.62}.applied-spec-cell{background:var(--calc)!important}.applied-metric{padding:3px 0;border-bottom:1px solid #cfdfd2}.applied-metric:last-child{border-bottom:0}.applied-metric>b,.applied-metric>span{display:block}.applied-metric small{color:var(--muted)}.weapon-description-table{min-width:1320px}.equipment-description{padding:6px}.subsection-heading{font-size:11px;margin:8px 0 4px;padding:4px 6px;background:#e7edf1;border:1px solid var(--border)}.current-equipment-table{min-width:1220px}.equipment-spec-table{min-width:1050px}.equipment-set-table{min-width:980px}
.dictionary-sections{padding:6px;display:grid;gap:6px}.dictionary-section{border:1px solid var(--border);background:#fff}.dictionary-section-heading{padding:6px 8px;background:#e8edf0;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.dictionary-section-heading span:last-child{font-size:9px;color:var(--muted);font-weight:400}.dictionary-table{display:table;width:100%;border-collapse:collapse}.dictionary-row{display:grid;grid-template-columns:minmax(150px,.8fr) 100px minmax(260px,2fr) 22px;gap:6px;padding:4px 7px;border-top:1px solid #e0e6e9;align-items:start;font-size:10px}.dictionary-row>b{display:flex;align-items:center;gap:5px}.dictionary-symbol{min-width:22px;text-align:center;font-size:12px}.dictionary-kind{font-size:9px;color:#526875}.dictionary-row .verification{justify-self:end}
@media(max-width:900px){.description-table-wrap{padding:4px 0}.description-compare{min-width:1100px}.skill-talent-table{min-width:1650px}.description-compare .sticky-operator{box-shadow:2px 0 3px #32434d18}.dictionary-row{grid-template-columns:minmax(120px,.8fr) 85px minmax(220px,2fr) 20px}.event-groups{gap:6px}}
@media(max-width:520px){.dictionary-sections{padding:4px}.dictionary-row{grid-template-columns:115px 1fr;gap:3px}.dictionary-row>span:nth-child(3){grid-column:1/-1}.dictionary-row>.verification{grid-column:2;grid-row:1;justify-self:end}.description-compare .sticky-operator{min-width:86px}.event-group{grid-template-columns:58px 1fr}}

.compact-chips{display:flex;flex-wrap:wrap;gap:3px;align-items:flex-start}.compact-chip{display:inline-block;padding:1px 4px;border:1px solid #cfdae1;background:#f3f7f9;border-radius:2px;font-size:9px;line-height:1.35}.info-groups{display:flex;flex-direction:column;gap:7px}.info-group{display:grid;grid-template-columns:62px minmax(0,1fr);gap:4px;align-items:start}.info-group+.info-group{padding-top:3px;border-top:1px dotted #d9e1e5}.info-group-label{font-size:9px;font-weight:700;color:#506571}.info-group-items{min-width:0}.info-line{display:block;font-size:10px;line-height:1.35;margin:0 0 1px}.info-line:last-child{margin-bottom:0}.state-info-groups .info-group{grid-template-columns:34px minmax(0,1fr)}
.engraving-inputs,.forge-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.forge-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.engraving-inputs label,.forge-inputs label,.lookup-selectors label,.weapon-lookup-selectors label,.equipment-lookup-selectors label,.preset-controls label{font-size:9px;color:#536873;display:flex;flex-direction:column;gap:1px}.engraving-inputs input,.forge-inputs input,.lookup-selectors input,.lookup-selectors select,.weapon-lookup-selectors input,.equipment-lookup-selectors input,.preset-controls input,.preset-controls select{width:100%;min-width:0;border:1px solid #aac7da;background:var(--input);padding:2px 3px;color:var(--ink)}
.preset-manager{margin-top:8px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px}.preset-box{border:1px solid var(--border);background:#fff;padding:6px}.preset-box h3{font-size:11px;margin:0 0 5px}.preset-controls{display:grid;grid-template-columns:150px minmax(160px,1fr) minmax(180px,1.2fr);gap:4px}.preset-box:nth-child(2) .preset-controls{grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr)}.preset-actions{display:flex;gap:3px;flex-wrap:wrap;margin-top:5px}.preset-actions button{border:1px solid #aebfc9;background:#f7fafb;padding:3px 7px;font-size:10px}.preset-actions button:disabled{opacity:.35}.danger-button{background:#fff0ef!important;border-color:#d79a96!important;color:#9a2d27}.preset-note{font-size:9px;color:var(--muted);margin:5px 0 0}
.preset-empty{margin:6px 6px 0;padding:6px 8px;border:1px dashed #b9c8d0;background:#f7fafb;color:#526875;font-size:10px}.storage-recovery-warning{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:6px 12px 0;padding:7px 9px;border:1px solid #d5a46d;background:#fff4df;color:#6b451f;font-size:10px}.storage-recovery-warning>div,.storage-recovery-warning details{display:flex;flex-direction:column;gap:2px}.storage-recovery-warning button,.import-confirmation button{border:1px solid #b8a17d;background:#fffaf2;padding:3px 6px;border-radius:2px;font-size:10px}.import-confirmation{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:4px;border:1px solid #d5a46d;background:#fff4df}.import-confirmation b{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lookup-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;min-width:112px}.skill-talent-table{min-width:1600px}.skill-talent-table th:nth-child(1){width:100px}.skill-talent-table th:nth-child(2){width:90px}.skill-talent-table th:nth-child(3){width:145px}.skill-talent-table th:nth-child(4){width:160px}.skill-talent-table th:nth-child(5){width:190px}.skill-talent-table th:nth-child(6){width:230px}.skill-talent-table th:nth-child(7){width:205px}.skill-talent-table th:nth-child(8){width:200px}.skill-talent-table th:nth-child(9){width:180px}.skill-talent-table tbody tr{height:auto}.skill-talent-table .spec-block{padding:2px 0}.skill-talent-table .info-groups{gap:4px}.skill-talent-table .info-group{grid-template-columns:48px minmax(0,1fr)}.potential-details summary{cursor:pointer;font-size:10px;color:#315e7d;white-space:nowrap}.potential-chips{display:inline-flex;gap:3px;margin-left:3px;flex-wrap:wrap}.potential-chip{min-width:30px;border:1px solid #aebec8;border-radius:3px;background:#f5f8fa;padding:2px 5px;font-size:9px;color:#5e707b}.potential-chip.on{border-color:#9fc5aa;color:#315c3c}.potential-chip.selected,.potential-chip[aria-pressed="true"]{background:#dff1e5;border-color:#72a983;box-shadow:inset 0 0 0 1px #72a983;font-weight:800}.potential-detail-panel{margin-top:4px;border-top:1px solid #d8e0e5;padding-top:3px}.potential-spec{padding:3px 0;border-bottom:1px dotted #dce3e7}.potential-spec:last-child{border-bottom:0}.talent-spec .info-group,.potential-spec .info-group{grid-template-columns:44px minmax(0,1fr)}
.weapon-description-table{min-width:980px}.weapon-description-table th:nth-child(1){width:100px}.weapon-description-table th:nth-child(2){width:150px}.weapon-description-table th:nth-child(3){width:230px}.weapon-description-table th:nth-child(4){width:260px}.weapon-lookup-selectors{display:grid;grid-template-columns:repeat(5,minmax(52px,1fr));gap:2px}.equipment-spec-table{min-width:900px}.equipment-spec-table th:nth-child(1){width:210px}.equipment-spec-table th:nth-child(2){width:90px}.equipment-spec-table th:nth-child(3){width:120px}.equipment-spec-table th:nth-child(4){width:auto}.equipment-spec-table th:nth-child(5){width:140px}.equipment-lookup-selectors{display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:4px;align-items:end}.equipment-set-table{min-width:720px}.equipment-set-table th:nth-child(1){width:160px}.equipment-set-table th:nth-child(2){width:90px}.pre-line{white-space:pre-line}
@media(max-width:900px){.preset-grid{grid-template-columns:1fr}.preset-controls,.preset-box:nth-child(2) .preset-controls{grid-template-columns:1fr 1fr}.skill-talent-table{min-width:1450px}.lookup-selectors{grid-template-columns:repeat(2,minmax(54px,1fr))}.weapon-lookup-selectors{grid-template-columns:repeat(3,minmax(58px,1fr))}.info-group{grid-template-columns:55px minmax(0,1fr)}}
@media(max-width:520px){.preset-controls,.preset-box:nth-child(2) .preset-controls{grid-template-columns:1fr}.info-group{grid-template-columns:50px minmax(0,1fr)}.lookup-selectors{grid-template-columns:repeat(2,minmax(52px,1fr))}.weapon-lookup-selectors{grid-template-columns:repeat(2,minmax(58px,1fr))}}

.manual-sp-inline{display:flex;flex-direction:column;gap:2px;background:#fff7d7;border:1px solid #e0ce86;padding:3px 4px;font-size:9px;font-weight:700}.manual-sp-inline input{width:64px;border:1px solid #d8c36c;background:#fffdf4;padding:2px 3px}
.staged-skill-list,.staged-action-group{display:block}.staged-action-details{margin-top:3px;border-top:1px dotted #cfd9df;padding-top:2px}.staged-action-details>summary{cursor:pointer;color:#315e7d;font-size:10px;font-weight:700}.staged-action-details[open]>summary{margin-bottom:2px}
.table-filter-bar{display:flex;gap:5px;flex-wrap:wrap;padding:5px 6px;background:#f5f8fa;border:1px solid var(--border);border-bottom:0}.table-filter-bar label{display:flex;align-items:center;gap:4px;font-size:9px;color:#526875}.table-filter-bar select,.table-filter-bar input{border:1px solid #aac7da;background:var(--input);padding:2px 4px;min-width:110px}.weapon-description-table{min-width:1420px}.weapon-description-table th:nth-child(1){width:150px}.weapon-description-table th:nth-child(2){width:95px}.weapon-description-table th:nth-child(3){width:235px}.weapon-description-table th:nth-child(4){width:220px}.weapon-description-table th:nth-child(5),.weapon-description-table th:nth-child(6),.weapon-description-table th:nth-child(7){width:175px}.weapon-description-table th:nth-child(8){width:160px}.weapon-effect-slot .info-group{grid-template-columns:40px minmax(0,1fr)}.empty-filter-row td{text-align:center;color:var(--muted);padding:12px}.equipment-current-stats{display:flex;flex-direction:column;gap:2px}.equipment-stat-line{display:grid;grid-template-columns:minmax(80px,1fr) minmax(55px,.7fr);gap:6px;border-bottom:1px dotted #dde4e8;padding:1px 0}.equipment-stat-line:last-child{border-bottom:0}.equipment-stat-line b{font-size:9px}.equipment-stat-line span{text-align:right;font-size:10px}
.dictionary-source-icon{display:inline-flex;min-width:44px;min-height:18px;align-items:center;justify-content:center}.dictionary-source-icon img{max-width:20px;max-height:20px}.icon-source-unavailable{font-size:8px;color:#8a6d23;border:1px dashed #c9b56f;padding:1px 2px;background:#fff9df;white-space:nowrap}.dictionary-resource-symbol{min-width:22px;text-align:center;font-size:11px}
.entity-tooltip-wrap{position:relative;display:inline-block}.entity-tooltip-trigger{border:0;background:transparent;padding:0;color:#245d7a;text-decoration:underline dotted;text-underline-offset:2px;font:inherit;text-align:left}.entity-tooltip-panel{position:absolute;z-index:20;left:0;top:calc(100% + 3px);width:min(300px,70vw);display:flex;flex-direction:column;gap:4px;padding:7px;background:#fff;border:1px solid #8199a7;box-shadow:0 5px 18px #31444f2b;color:var(--ink);font-size:9px;line-height:1.4}.entity-tooltip-panel>b{font-size:11px}.entity-tooltip-panel span{display:block}.entity-tooltip-panel strong{color:#4b6270}
@media(max-width:900px){.weapon-description-table{min-width:1350px}.entity-tooltip-panel{position:fixed;left:5vw;right:5vw;top:auto;bottom:8vh;width:90vw;max-height:45vh;overflow:auto}.table-filter-bar{position:sticky;left:0;z-index:3}}
@media(max-width:520px){.manual-sp-inline{max-width:110px}.table-filter-bar label{width:100%;justify-content:space-between}.table-filter-bar select,.table-filter-bar input{min-width:180px}.entity-tooltip-panel{left:4vw;right:4vw;width:92vw}}

.numeric-stepper{display:inline-grid;grid-template-columns:22px minmax(38px,52px) 22px;align-items:center;gap:1px;max-width:100%}.numeric-stepper button{height:22px;border:1px solid #afc2cd;background:#f7fafb;padding:0;font-size:12px;font-weight:700}.numeric-stepper input{width:100%!important;min-width:0!important;height:22px;border:1px solid #aac7da!important;background:var(--input)!important;padding:1px 3px!important;text-align:center}.compact-select{max-width:100%;min-height:22px;border:1px solid #aac7da;background:var(--input);padding:1px 4px}.compact-search{min-height:22px}.main-operator-setting{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:700}.main-op-chip{display:inline-block;margin-left:4px;padding:1px 3px;border:1px solid #9ebecf;background:#e8f5fb;color:#245d7a;font-size:8px}.party-status-resource-groups{gap:5px}.party-status-resource-groups .info-group{grid-template-columns:36px minmax(0,1fr)}.self-state-cell{display:flex;flex-direction:column;gap:5px}.manual-sp-in-state{display:flex;align-items:center;justify-content:space-between;gap:3px;padding-top:4px;border-top:1px dotted #d8c679;background:#fff9de}.manual-sp-in-state .mini-group-label{font-size:9px;font-weight:700;color:#776521}.active-operator-line{display:flex;align-items:center;gap:7px;padding:4px 8px;border-bottom:1px solid #dce3e7;background:#f5f8fa;font-size:10px}.active-operator-line span{color:var(--muted);margin-left:auto}
.lookup-setting-groups{display:flex;flex-direction:column;gap:5px;min-width:125px}.lookup-setting-group{display:grid;grid-template-columns:1fr;gap:2px;padding:3px 4px;border:1px solid #d7e0e5;background:#fbfcfd}.lookup-setting-group>b{font-size:9px;color:#3e5968}.lookup-setting-group label{display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px;align-items:center;font-size:9px;color:#536873}.lookup-setting-group .numeric-stepper{justify-self:end}.skill-collapse-control{width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;border:1px solid #bfd0da;background:#edf5f8;padding:3px 5px;font-size:10px;font-weight:700;text-align:left}.skill-collapse-control small{font-size:8px;color:#617681}.staged-action-group{display:block;margin-bottom:4px}.staged-action-details{display:block;margin-top:2px;border-top:1px dotted #cfd9df;padding-top:2px}.stage-toggle{border:0;background:transparent;padding:1px 2px;color:#315e7d;font-size:9px;font-weight:700;text-align:left}.skill-mode-core .info-group{opacity:.98}.skill-mode-collapsed{margin-bottom:2px}.skill-mode-collapsed .skill-collapse-control{background:#f6f8f9;color:#536873}.table-filter-bar .compact-select{min-width:105px}
.weapon-description-table{min-width:1260px}.weapon-description-table th:nth-child(1){width:140px}.weapon-description-table th:nth-child(2){width:90px}.weapon-description-table th:nth-child(3){width:165px}.weapon-description-table th:nth-child(4){width:150px}.weapon-description-table th:nth-child(5),.weapon-description-table th:nth-child(6),.weapon-description-table th:nth-child(7){width:175px}.weapon-description-table th:nth-child(8){width:150px}.weapon-setting-groups{display:flex;flex-direction:column;gap:4px}.weapon-setting-group{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 3px;padding:3px;border:1px solid #d9e1e6;background:#fbfcfd}.weapon-setting-group>b{grid-column:1/-1;font-size:9px;color:#3e5968}.weapon-setting-group label{display:contents;font-size:9px}.weapon-setting-group label>.numeric-stepper{justify-self:end}.weapon-traits-compact{display:flex;flex-direction:column;gap:4px}.weapon-trait-summary{display:grid;grid-template-columns:38px minmax(0,1fr) 42px;gap:3px;align-items:center;border-bottom:1px dotted #dbe3e7;padding-bottom:2px;font-size:9px}.weapon-trait-summary:last-child{border-bottom:0}.weapon-trait-summary>b{color:#536873}.weapon-trait-summary strong{text-align:right;font-size:9px}.equipment-lookup-selectors .numeric-stepper{margin-top:2px}.dictionary-source-icon{display:inline-flex;min-width:23px;min-height:18px;align-items:center;justify-content:center;margin-right:3px}.dictionary-unicode-icon{font-size:15px;line-height:1}.dictionary-source-icon.unverified .dictionary-unicode-icon{opacity:.55}.dictionary-row b{display:flex;align-items:center}
@media(max-width:900px){.lookup-setting-groups{min-width:120px}.weapon-description-table{min-width:1180px}.numeric-stepper{grid-template-columns:22px 42px 22px}}
@media(max-width:520px){.main-operator-setting{width:100%;justify-content:flex-end}.lookup-setting-group label{grid-template-columns:34px minmax(0,1fr)}.weapon-setting-group{grid-template-columns:34px minmax(0,1fr)}}
.active-operator-current{font-size:10px;font-weight:700;white-space:nowrap}


:root{
 --cell-section:#edf2f5;
 --cell-header:#e1e9ee;
 --cell-input:#eef7ff;
 --cell-derived:#f1f8f3;
 --cell-manual:#fff7d9;
 --cell-warning:#fff0ed;
 --cell-selected:#e7f3fa;
 --cell-pinned:#f6fafc;
 --cell-neutral:#fafcfd;
}
.section-title,.panel-title{background:var(--cell-section)}
.dense-table thead th,.settings-group th{background:var(--cell-header)!important}
.cell-input,.input-cell,.numeric-select,.compact-select{background:var(--cell-input)}
.cell-derived{background:var(--cell-derived)!important}
.manual-row,.manual-value,.manual-sp-toolbar{background:var(--cell-manual)}
.issue,.rejected-row,.cell-warning{background:var(--cell-warning)}
.dense-table td{background-color:var(--cell-neutral)}
.fixed-value{display:inline-flex;align-items:center;min-height:22px;padding:1px 4px;border:1px solid #d3dde3;background:var(--cell-derived);font-size:10px;font-weight:700;white-space:nowrap}
.numeric-select{min-width:54px;max-width:100%;min-height:22px;border:1px solid #aac7da;padding:1px 4px}


.result-groups{display:flex;flex-direction:column;gap:1px;min-width:0}
.result-group{display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px;align-items:start;min-width:0;padding:1px 0}
.result-group-label{font-size:9px;font-weight:700;color:#536873;white-space:nowrap;line-height:1.25}
.result-group-content{display:flex;flex-direction:column;gap:0;min-width:0}
.result-line{display:block;line-height:1.25;min-width:0;overflow-wrap:anywhere}
.result-group.manual .result-group-content{background:var(--cell-manual)}


.manual-sp-toolbar{display:inline-flex;align-items:center;gap:4px;border:1px solid #ddcf94;border-radius:2px;padding:2px 4px;font-size:10px;font-weight:700}
.manual-sp-toolbar select{min-width:58px;max-width:88px;border:1px solid #c7b96f;background:#fffdf2;padding:1px 3px}
.manual-sp-toolbar.disabled{opacity:.55;background:var(--cell-neutral)}
.self-state-cell .manual-value{display:inline-block;padding:1px 3px;border:1px solid #e1cf89;border-radius:2px;font-weight:700}


.lookup-setting-groups,.weapon-setting-groups{display:flex;flex-direction:column;gap:3px;min-width:118px}
.lookup-setting-group,.weapon-setting-group{display:block;padding:2px 3px;border:1px solid #d7e0e5;background:var(--cell-input)}
.lookup-setting-group.collapsed,.weapon-setting-group.collapsed{padding:1px 3px}
.lookup-group-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:transparent;padding:1px 0;color:#3e5968;font-size:9px;font-weight:700;text-align:left}
.lookup-group-body{display:grid;grid-template-columns:1fr;gap:2px;margin-top:2px}
.lookup-group-body label{display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px;align-items:center;font-size:9px;color:#536873}
.lookup-group-body select,.lookup-group-body .fixed-value{justify-self:end;max-width:85px}
.weapon-setting-group .lookup-group-body label{grid-template-columns:34px minmax(0,1fr)}


.operator-specific-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:6px;padding:5px}
.operator-specific-group{border:1px solid #d7e0e5;background:var(--cell-neutral)}
.operator-specific-group h4{margin:0;padding:4px 6px;background:var(--cell-section);border-bottom:1px solid #d7e0e5;font-size:10px}


.entity-tooltip-wrap{display:inline-block;max-width:100%}
.entity-tooltip-trigger{border:0;background:transparent;padding:0;color:#245d7a;text-decoration:underline dotted;text-underline-offset:2px;font:inherit;text-align:left;max-width:100%}
.entity-tooltip-trigger:focus{outline:2px solid #7da7bd;outline-offset:1px;border-radius:2px}
.entity-tooltip-panel{position:fixed!important;z-index:80;width:min(320px,calc(100vw - 16px));max-height:min(320px,calc(100vh - 16px));overflow:auto;display:flex;flex-direction:column;gap:4px;padding:7px;background:#fff;border:1px solid #8199a7;box-shadow:0 5px 18px #31444f38;color:var(--ink);font-size:9px;line-height:1.4}
.entity-tooltip-panel>b{font-size:11px}.entity-tooltip-panel span{display:block}.entity-tooltip-panel strong{color:#4b6270}


.pin-section{position:relative}
.pin-toggle{position:absolute;top:5px;right:7px;z-index:35;border:1px solid #b8c9d3;background:#f8fbfc;padding:2px 5px;border-radius:2px;font-size:9px;font-weight:700}
.pin-toggle[aria-pressed="true"]{background:var(--cell-pinned);border-color:#759bb1;color:#24526a}
.pin-section.is-pinned .section-title{background:var(--cell-pinned)}

@media(max-width:700px){
 .pin-toggle{top:4px;right:5px}
 .entity-tooltip-panel{width:calc(100vw - 16px)!important;max-height:46vh;left:8px!important;top:auto!important;bottom:8px!important}
 .operator-specific-groups{grid-template-columns:1fr}
}
.pin-section>.section-title{padding-right:72px}


:root{
 --border:#bfd0dc;
 --header:#d9e8f5;
 --input:#eaf5ff;
 --calc:#edf4fb;
 --manual:#eef6f7;
 --danger:#f8e8e8;
 --muted:#5f7483;
 --ink:#172b38;
 --accent:#376d8d;
 --accent-soft:#dcecf7;
 --panel:#f5f9fc;
 --cell-section:#e5eef8;
 --cell-header:#d9e8f5;
 --cell-input:#eaf5ff;
 --cell-derived:#edf4fb;
 --cell-manual:#e8f4f6;
 --cell-warning:#f8e9e8;
 --cell-selected:#d7ebfa;
 --cell-pinned:#e1eff9;
 --cell-neutral:#f4f8fc;
 --element-cryo:#dceff7;
 --element-heat:#f5e7e1;
 --element-electric:#f0ebcf;
 --element-nature:#e3f0e6;
 --status-freeze:#cfe7f2;
 --status-burn:#f0ddd5;
 --status-shock:#ebe4bf;
 --status-corrosion:#d9e9dc;
 --status-defense-break:#e7e8ee;
 --status-armor-break:#e6e1df;
 --status-physical-vulnerability:#eee5e3;
 --status-arts-vulnerability:#e2e6f2;
}
body{background:#eaf1f6}
.app-header,.main-nav{background:#f3f8fb}
.section-block,.description-sheet,.state-panel{background:var(--panel)}
.section-title,.panel-title,.description-sheet h3,.dense-table thead th,.settings-table .settings-group th{background:var(--cell-header)}
.dense-table td{background:var(--cell-neutral)}
.dense-table tbody th{background:var(--cell-section)}
.dense-table .cell-input,.settings-table td.cell-input{background:var(--cell-input)}
.dense-table .cell-derived,.settings-table td.cell-derived{background:var(--cell-derived)}
.dense-table .cell-manual{background:var(--cell-manual)}
.dense-table:not(.cycle-table) .selected-row>td,.dense-table:not(.cycle-table) .selected-row>th{background:var(--cell-selected)!important}
.rejected-row>td,.rejected-row>th,.cell-warning{background:var(--cell-warning)!important}
.pinned-row>td,.pinned-row>th{background:var(--cell-pinned)!important}


.party-operator-cell .compact-select{max-width:130px}
.party-operator-cell .main-op-chip{display:inline-block;margin:2px 0 0 4px;padding:1px 4px;border:1px solid #8eb3c8;background:var(--cell-selected);border-radius:8px;font-size:8px;font-weight:700}
.party-skill-groups,.party-core-condition-groups,.party-status-resource-groups{gap:1px}
.party-skill-groups .info-group,.party-core-condition-groups .info-group,.party-status-resource-groups .info-group{grid-template-columns:42px minmax(0,1fr);gap:3px}
.party-skill-groups .info-group-label,.party-core-condition-groups .info-group-label,.party-status-resource-groups .info-group-label{font-size:8px;white-space:nowrap}


.preset-load-compact{position:relative;flex:0 0 auto;font-size:9px}
.preset-load-compact>summary{list-style:none;border:1px solid #9ebaca;background:var(--cell-input);padding:3px 7px;border-radius:2px;font-weight:700;cursor:pointer;white-space:nowrap}
.preset-load-compact>summary::-webkit-details-marker{display:none}
.preset-load-panel{position:absolute;right:0;top:calc(100% + 3px);z-index:60;min-width:270px;max-width:min(360px,calc(100vw - 24px));display:grid;grid-template-columns:1fr;gap:4px;padding:6px;background:#f6fbfe;border:1px solid #9ebaca;box-shadow:0 5px 16px #36576a2a}
.preset-load-panel label{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:5px}
.preset-load-panel .compact-select{width:100%;min-width:0}
.preset-load-panel button{justify-self:end;border:1px solid #95b2c3;background:var(--cell-input);padding:3px 8px;border-radius:2px;font-size:9px;font-weight:700}
.preset-load-panel button:disabled{opacity:.45;cursor:default}
.preset-load-mode-note{padding-top:3px;border-top:1px solid #d2e0e8;color:var(--muted);text-align:right}


.row-title-with-pin{display:flex;align-items:flex-start;gap:4px}
.row-pin-button{flex:0 0 auto;border:1px solid transparent;background:transparent;padding:0 2px;border-radius:2px;font-size:10px;line-height:1.25}
.row-pin-button:hover,.row-pin-button:focus{border-color:#9bb7c7;background:var(--cell-input);outline:none}
.row-pin-button[aria-pressed="true"]{background:var(--cell-pinned);border-color:#769fb6}
.pinned-compare-area{margin:4px 6px 7px;border:1px solid #9db8c8;background:var(--cell-pinned);max-height:34vh;overflow:auto}
.pinned-compare-title{position:sticky;top:0;z-index:8;padding:3px 6px;background:#d8eaf6;border-bottom:1px solid #a8c1d0;font-size:9px;font-weight:700;color:#31596f}
.pinned-compare-table{margin:0}
.pinned-compare-table thead th{top:24px;background:#dcebf5!important}


.entity-tooltip-wrap[data-semantic-color="element-cryo"] .entity-tooltip-trigger{background:var(--element-cryo);text-decoration-color:#6b9eb4}
.entity-tooltip-wrap[data-semantic-color="element-heat"] .entity-tooltip-trigger{background:var(--element-heat);text-decoration-color:#b78470}
.entity-tooltip-wrap[data-semantic-color="element-electric"] .entity-tooltip-trigger{background:var(--element-electric);text-decoration-color:#a69655}
.entity-tooltip-wrap[data-semantic-color="element-nature"] .entity-tooltip-trigger{background:var(--element-nature);text-decoration-color:#6f9e79}
.entity-tooltip-wrap[data-semantic-color="status-freeze"] .entity-tooltip-trigger{background:var(--status-freeze);text-decoration-color:#548fa9}
.entity-tooltip-wrap[data-semantic-color="status-burn"] .entity-tooltip-trigger{background:var(--status-burn);text-decoration-color:#aa705d}
.entity-tooltip-wrap[data-semantic-color="status-shock"] .entity-tooltip-trigger{background:var(--status-shock);text-decoration-color:#97863e}
.entity-tooltip-wrap[data-semantic-color="status-corrosion"] .entity-tooltip-trigger{background:var(--status-corrosion);text-decoration-color:#5d8e67}
.entity-tooltip-wrap[data-semantic-color="status-defense-break"] .entity-tooltip-trigger{background:var(--status-defense-break)}
.entity-tooltip-wrap[data-semantic-color="status-armor-break"] .entity-tooltip-trigger{background:var(--status-armor-break)}
.entity-tooltip-wrap[data-semantic-color="status-physical-vulnerability"] .entity-tooltip-trigger{background:var(--status-physical-vulnerability)}
.entity-tooltip-wrap[data-semantic-color="status-arts-vulnerability"] .entity-tooltip-trigger{background:var(--status-arts-vulnerability)}
.entity-tooltip-wrap[data-semantic-color] .entity-tooltip-trigger{padding:0 2px;border-radius:2px}

.setting-operator-select .compact-select{width:100%;min-width:100px}
.manual-sp-toolbar{margin-left:auto}

@media(max-width:700px){
 .preset-load-panel{position:fixed;left:8px;right:8px;top:auto;bottom:8px;max-width:none;min-width:0;z-index:90}
 .pinned-compare-area{max-height:28vh;margin:4px 3px 6px}
 .pinned-compare-title{font-size:8px}
 .row-pin-button{font-size:11px}
 .party-operator-cell .compact-select{max-width:110px}
}

.dictionary-row[data-semantic-color="element-cryo"]{background:var(--element-cryo)}
.dictionary-row[data-semantic-color="element-heat"]{background:var(--element-heat)}
.dictionary-row[data-semantic-color="element-electric"]{background:var(--element-electric)}
.dictionary-row[data-semantic-color="element-nature"]{background:var(--element-nature)}
.dictionary-row[data-semantic-color="status-freeze"]{background:var(--status-freeze)}
.dictionary-row[data-semantic-color="status-burn"]{background:var(--status-burn)}
.dictionary-row[data-semantic-color="status-shock"]{background:var(--status-shock)}
.dictionary-row[data-semantic-color="status-corrosion"]{background:var(--status-corrosion)}


:root{
 --v027-blue:#d7e7f3;--v027-blue-strong:#c5dced;--v027-mint:#dff1e8;--v027-lavender:#e9e2f3;--v027-peach:#f6e7d8;--v027-sand:#f3e7bc;--v027-rose:#f3d9dc;--v027-special:#e5dcf0;--v027-neutral:#eef3f6;
 --cell-section:var(--v027-blue);--cell-header:var(--v027-blue-strong);--cell-input:var(--v027-mint);--cell-derived:var(--v027-lavender);--cell-manual:var(--v027-peach);--cell-warning:var(--v027-rose);--cell-selected:#cfeaf2;--cell-pinned:var(--v027-sand);--cell-neutral:var(--v027-neutral);
 --font-core:12px;--font-normal:11px;--font-caption:9px;
 --element-cryo:#d7ecf4;--element-heat:#f2ded6;--element-electric:#eee6bd;--element-nature:#d9ecd9;
 --status-freeze:#c6e1ed;--status-burn:#eccfc5;--status-shock:#e5dcab;--status-corrosion:#cde4d0;--status-slow:#dce8ee;
}
body{background:#e7eef3;font-size:var(--font-normal)}
.app-header,.main-nav{background:#edf4f8}.section-block,.description-sheet,.state-panel{border-color:#aebfca}
.section-title,.panel-title{background:var(--cell-section);border-color:#aebfca}.section-title h2,.panel-title{font-size:var(--font-core)}
.section-title span,.muted,.preset-note{font-size:var(--font-caption)}
.dense-table{font-size:var(--font-normal)}.dense-table thead th{font-size:10px;border-color:#bcc9d1}.dense-table th,.dense-table td{border-color:#c6d0d6}
.dense-table tbody tr:hover>td,.dense-table tbody tr:hover>th{background:#e5f0f3!important}
.dense-table:not(.cycle-table) tbody tr.selected-row>td,.dense-table:not(.cycle-table) tbody tr.selected-row>th{background:var(--cell-selected)!important;border-left-color:#3c92ad}.selected-row{box-shadow:inset 3px 0 #3c92ad}
.pin-section.is-pinned,.pinned-row>td,.pinned-row>th{background:var(--cell-pinned)!important}.pin-section.is-pinned{border-color:#b99c42;box-shadow:0 3px 9px #76611922}.pin-toggle[aria-pressed="true"],.row-pin-button[aria-pressed="true"]{background:#efd990;border-color:#b49639;color:#5f4d14}


.settings-group-basic th{background:#d4e5f2!important}.settings-group-skill th{background:#dcdcf1!important}.settings-group-weapon th{background:#e5def0!important}.settings-group-equipment th{background:#dcebdd!important}.settings-group-special th{background:#eadff1!important}
.settings-table tr.setting-basic-row>th{background:#e3edf4}.settings-table tr.setting-skill-row>th{background:#e8e6f2}.settings-table tr.setting-weapon-row>th{background:#ede5f2}.settings-table tr.setting-equipment-row>th{background:#e4eee3}.settings-table tr.setting-special-row>th{background:#eee5f2}
.settings-table .cell-input{background:var(--cell-input)!important}.settings-table .cell-derived{background:var(--cell-derived)!important}.preset-manager .preset-box{background:#edf3f6;border-color:#b8c5cd}.preset-manager .preset-box:nth-child(1){background:#e3f1ea}.preset-manager .preset-box:nth-child(2){background:#eae4f2}


.operator-ident-cell{position:relative;font-weight:700;font-size:var(--font-core);padding-left:9px!important}.operator-element-accent{display:inline-flex;align-items:center;justify-content:center;min-width:17px;margin-right:3px;font-size:11px;font-weight:800;vertical-align:middle}.operator-ident-cell[data-operator-element="CRYO"]{border-left:3px solid #6ca9c2}.operator-ident-cell[data-operator-element="HEAT"]{border-left:3px solid #bf8069}.operator-ident-cell[data-operator-element="ELECTRIC"]{border-left:3px solid #aa9447}.operator-ident-cell[data-operator-element="NATURE"]{border-left:3px solid #669d70}.operator-ident-cell[data-operator-element="PHYSICAL"]{border-left:3px solid #7c8791}
.skill-type-label{display:inline-flex;align-items:center;gap:2px;padding:1px 4px;border:1px solid #aebbc9;border-radius:2px;font-size:10px;font-weight:800;white-space:nowrap}.skill-type-normal{background:#e7ecef}.skill-type-battle{background:#d9eaf4;border-color:#8fb8cd}.skill-type-chain{background:#e1e5f4;border-color:#9da9d0}.skill-type-ultimate,.skill-type-ultimate-subaction{background:#eee0ef;border-color:#bea0c1}.skill-type-followup,.skill-type-special,.skill-type-counter{background:#e3efe5;border-color:#9abd9e}


.toolbar-actions,.table-filter-bar,.eventlog-filters,.transfer-controls{align-items:center}.toolbar-actions button,.toolbar-file-button,.table-filter-bar button,.eventlog-filters button,.preset-load-compact>summary{min-height:24px;border:1px solid #a8bac5;border-radius:3px;padding:3px 7px;background:#eef4f7;font-size:10px;font-weight:700;line-height:1.2}.toolbar-actions button:hover,.toolbar-file-button:hover,.table-filter-bar button:hover,.eventlog-filters button:hover{background:#e1edf2}.eventlog-filters button.active{background:var(--cell-selected);border-color:#6f9fb4}.toolbar-file-button{position:relative;display:inline-flex;align-items:center;cursor:pointer}.toolbar-file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.transfer-controls{display:inline-flex;gap:4px;position:relative}.transfer-message{position:absolute;right:0;top:100%;z-index:15;white-space:nowrap;background:#e0f0e7;border:1px solid #93b49e;padding:2px 5px;font-size:9px}.transfer-message.error{background:var(--cell-warning);border-color:#c38d92}.skill-lookup-load-right{margin-left:auto}


.cycle-summary-panel>summary{display:flex;align-items:center;gap:8px;padding:6px 9px;background:var(--cell-section);border-bottom:1px solid #afbec7;cursor:pointer;list-style:none}.cycle-summary-panel>summary::-webkit-details-marker{display:none}.cycle-summary-panel>summary strong{font-size:var(--font-core)}.cycle-summary-panel>summary span{font-size:var(--font-caption);color:var(--muted)}.cycle-summary-body{padding:5px 7px}.cycle-summary-counts{display:flex;flex-wrap:wrap;gap:3px}.summary-count{display:grid;grid-template-columns:auto 24px;gap:5px;padding:2px 5px;border:1px solid #bcc8cf;background:#eef3f6;font-size:10px}.summary-count strong{text-align:right}.operator-contribution{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:4px;margin-top:5px}.operator-contribution section{border:1px solid #c1cbd1;background:#f0f3f5}.operator-contribution h4{margin:0;padding:3px 5px;background:#dde7ed;font-size:11px}.contribution-line{display:flex;justify-content:space-between;gap:8px;padding:1px 5px;font-size:10px}.eventlog-toolbar{align-items:flex-start}.eventlog-list{max-height:280px;overflow:auto}.eventlog-row{display:grid;grid-template-columns:45px 90px minmax(0,1fr);gap:4px;padding:2px 6px;border-bottom:1px solid #ccd5da;background:#f1f4f6;font-size:10px}.eventlog-row:hover{background:#e7eff2}.eventlog-row.event-warning{background:var(--cell-warning)}.eventlog-row.event-resource{border-left:3px solid #bb9e68}.eventlog-row.event-buff{border-left:3px solid #75a67d}.eventlog-row.event-debuff{border-left:3px solid #b17d83}.eventlog-row.event-trigger{border-left:3px solid #8c88b6}.eventlog-row.event-swap{border-left:3px solid #6f9fb3}.eventlog-seq{color:var(--muted)}.eventlog-actor{font-weight:700}


.dictionary-top-section{border:1px solid #aebfc9;margin:5px;background:#eef3f6}.dictionary-top-section>.dictionary-section-heading,.dictionary-section>.dictionary-section-heading{padding:5px 7px;background:#d7e5ee;font-size:11px;font-weight:800}.dictionary-section-heading span:last-child,.dictionary-subsection-heading span:last-child{color:var(--muted);font-size:9px}.dictionary-subsection{margin:4px;border:1px solid #bfccd3;background:#f3f6f7}.dictionary-subsection-heading{padding:3px 5px;background:#e2e9ed;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.dictionary-source-note{display:block;margin-top:2px;color:var(--muted);font-size:var(--font-caption)}.dictionary-row{border-left:3px solid transparent;background:#f2f5f6!important}.dictionary-row[data-semantic-color="element-cryo"]{border-left-color:#6ba8c0}.dictionary-row[data-semantic-color="element-heat"]{border-left-color:#bd806b}.dictionary-row[data-semantic-color="element-electric"]{border-left-color:#aa9344}.dictionary-row[data-semantic-color="element-nature"]{border-left-color:#649b6e}.dictionary-row[data-semantic-color="status-freeze"]{border-left-color:#4f91ac}.dictionary-row[data-semantic-color="status-burn"]{border-left-color:#ad6855}.dictionary-row[data-semantic-color="status-shock"]{border-left-color:#94813e}.dictionary-row[data-semantic-color="status-corrosion"]{border-left-color:#548a5d}.dictionary-row[data-semantic-color="status-slow"]{border-left-color:#7897a7}
.entity-tooltip-wrap[data-semantic-color="status-slow"] .entity-tooltip-trigger{background:var(--status-slow);text-decoration-color:#7897a7}


.app-header h1,.section-title h2,.panel-title,.operator-ident-cell,.operator-contribution h4{font-weight:800}.info-group-content,.result-line,.state-value,.dictionary-row,.eventlog-row{font-size:var(--font-normal)}.info-group-label,.result-group-label,.verification,.dictionary-kind,.dictionary-source-note,.eventlog-seq{font-size:var(--font-caption)}

@media(max-width:700px){.operator-ident-cell{font-size:11px}.operator-element-accent{min-width:15px}.transfer-controls{flex-wrap:wrap}.transfer-message{position:fixed;left:8px;right:8px;top:auto;bottom:8px;white-space:normal}.eventlog-row{grid-template-columns:36px 72px minmax(0,1fr)}.eventlog-filters{max-width:100%;overflow-x:auto;flex-wrap:nowrap!important}.cycle-summary-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.operator-contribution{grid-template-columns:1fr}.skill-lookup-load-right{margin-left:0;width:100%;display:flex;justify-content:flex-end}
}


.main-nav{display:flex;align-items:center;justify-content:space-between;gap:8px}.main-nav .compact-tabs{min-width:0}.nav-tools{margin-left:auto;display:flex;align-items:center;gap:4px;flex:0 0 auto}.nav-tools>button,.ui-pref-controls>summary,.pin-manager-popover button,.state-view-toggle button,.problem-navigator button,.long-cell-toggle,.related-jump{min-height:23px;border:1px solid #a8bac5;border-radius:3px;padding:2px 6px;background:#eef4f7;font-size:10px;line-height:1.2}.nav-tools>button:hover,.ui-pref-controls>summary:hover,.pin-manager-popover button:hover,.state-view-toggle button:hover,.problem-navigator button:hover,.long-cell-toggle:hover,.related-jump:hover{background:#e1edf2}.nav-tools>button:disabled{opacity:.4;cursor:default}
.ui-pref-controls{position:relative}.ui-pref-controls>summary{list-style:none;cursor:pointer;white-space:nowrap}.ui-pref-controls>summary::-webkit-details-marker{display:none}.pin-manager-popover{position:absolute;right:0;top:calc(100% + 3px);z-index:80;width:min(320px,86vw);max-height:320px;overflow:auto;border:1px solid #9fb3bf;background:#f8fafb;box-shadow:0 5px 18px #31444f2b;padding:6px}.pin-manager-popover h4{margin:0 0 5px;font-size:11px}.pin-manager-list{display:grid;gap:2px;margin:0 0 6px;padding:0;list-style:none}.pin-manager-list li{padding:2px 4px;border:1px solid #d1d9de;background:#f1f4f6;font-size:9px;overflow-wrap:anywhere}.pin-manager-actions{display:flex;flex-wrap:wrap;gap:3px}.pin-manager-actions .destructive-action{margin-left:auto}

.preset-source-status{display:inline-flex!important;align-items:center;gap:3px;margin-left:5px;padding:1px 4px;border:1px solid #abc3b3;border-radius:2px;background:#e3f1e8;color:#385d45!important;font-weight:700}.preset-source-status.dirty{background:#f4ead0;border-color:#cdb56d;color:#6d5720!important}

.state-panel .panel-title{display:flex;align-items:center;justify-content:space-between;gap:7px}.state-view-toggle{display:inline-flex;gap:2px;margin-left:auto}.state-view-toggle button[aria-pressed="true"]{background:var(--cell-selected);border-color:#70a5b9;font-weight:800}.snapshot-diff{padding:5px 7px;background:#f7f9fa}.snapshot-diff-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:3px}.snapshot-diff-item{display:grid;grid-template-columns:minmax(70px,.8fr) 1fr;gap:5px;border:1px solid #c7d1d7;background:#eef3f6;padding:3px 5px;font-size:10px}.snapshot-diff-label{font-weight:800}.snapshot-diff-values{display:flex;align-items:center;gap:4px;min-width:0}.snapshot-diff-arrow{color:#5e7786}.snapshot-diff-empty{padding:7px;color:var(--muted);font-size:10px}


.pinned-compare-table .compare-different{background:#eee6f6!important;box-shadow:inset 0 0 0 1px #c6acd7}.pinned-compare-table .compare-different[data-numeric-direction="up"]::after,.pinned-compare-table .compare-different[data-numeric-direction="down"]::after{font-size:8px;color:#657680;margin-left:3px}.pinned-compare-table .compare-different[data-numeric-direction="up"]::after{content:"▲"}.pinned-compare-table .compare-different[data-numeric-direction="down"]::after{content:"▼"}

.verification-badge{display:inline-flex;align-items:center;white-space:nowrap;margin-left:4px;padding:0 3px;border-radius:2px;border:1px solid #bdc8cf;background:#eef2f4;font-size:8px;font-weight:800;line-height:1.5;vertical-align:middle}.verification-badge-verified{background:#e0efe5;border-color:#9fbdaa;color:#3d694b}.verification-badge-unverified{background:#f3ecd5;border-color:#c9b77c;color:#735e20}.verification-badge-conflict{background:#f1dadd;border-color:#cc969c;color:#8a333c}.verification-badge-derived{background:#e9e1f2;border-color:#b7a6cb;color:#635376}

.description-global-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:5px 8px;border-bottom:1px solid #bcc9d1;background:#e9f0f4}.description-global-tools label{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:700}.description-global-tools .compact-search{min-width:190px}.description-global-tools .lookup-source{margin-left:auto;font-size:9px;font-weight:700;color:#4c6574}.active-filter-chips{display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:3px 8px;border-bottom:1px solid #d0d8dd;background:#f4f6f7}.filter-chip{display:inline-flex;align-items:center;gap:3px;border:1px solid #aebec8;background:#e7eff3;border-radius:10px;padding:1px 5px;font-size:9px}.filter-chip button{border:0;background:transparent;padding:0;line-height:1;font-size:11px}.search-highlight{background:#f1e49c;border-radius:2px;padding:0 1px;color:inherit}.description-return-button{white-space:nowrap}


.table-scroll{position:relative}.table-scroll.scroll-shadow-right{box-shadow:inset -12px 0 10px -12px #4f657a99}.table-scroll.scroll-shadow-left{box-shadow:inset 12px 0 10px -12px #4f657a99}.table-scroll.scroll-shadow-left.scroll-shadow-right{box-shadow:inset 12px 0 10px -12px #4f657a99,inset -12px 0 10px -12px #4f657a99}


@media(min-width:901px){
 .description-compare th:first-child,.description-compare td:first-child,.weapon-description-table th:first-child,.weapon-description-table td:first-child,.equipment-spec-table th:first-child,.equipment-spec-table td:first-child,.dictionary-table th:first-child,.dictionary-table td:first-child{position:sticky;left:0;z-index:4;background:#edf2f5;box-shadow:2px 0 2px #566a7820}
 .description-compare thead th:first-child,.weapon-description-table thead th:first-child,.equipment-spec-table thead th:first-child,.dictionary-table thead th:first-child{z-index:7;background:var(--cell-header)}
 .pinned-compare-table thead th{top:0}
}


@media(min-width:701px){.dense-table thead th{position:sticky}.column-resize-handle{position:absolute;top:0;right:-2px;width:5px;height:100%;cursor:col-resize;z-index:12;touch-action:none}.column-resize-handle::after{content:"";position:absolute;right:2px;top:20%;bottom:20%;width:1px;background:#71889555}.column-resize-handle:hover::after{background:#557b93}}

.problem-navigator{display:inline-flex;align-items:center;gap:2px;border:1px solid #c4a2a6;background:#f5e6e8;padding:2px 3px;border-radius:3px;white-space:nowrap}.problem-navigator strong{font-size:10px;color:#843942}.problem-navigator button{background:#f8eeee;border-color:#c7a7ab;padding:2px 4px}.related-jump{display:inline;padding:0 2px;min-height:0;border-color:transparent;background:transparent;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.related-jump:focus{outline:2px solid #84aebe;outline-offset:1px}

.destructive-action{border-color:#c29a9e!important}.destructive-action:hover,.destructive-action:focus{background:#f2dadd!important;border-color:#b66f77!important;color:#7f2932}.row-buttons .destructive-action{color:#874047}.row-buttons button{white-space:nowrap}

.long-cell{min-width:0}.long-cell-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.long-cell.expanded .long-cell-content{display:block;overflow:visible}.long-cell-toggle{margin-top:2px;min-height:19px;padding:1px 4px;background:#f2f5f6;color:#426171}


.skill-type-label,.result-group-label,.info-group-label,.problem-navigator,.manual-sp-toolbar label,.state-view-toggle button,.verification-badge,.filter-chip,.toolbar-actions>button,.toolbar-actions>label{white-space:nowrap}.dense-table td,.dense-table th,.long-cell-content,.result-group-content,.info-group-content{white-space:normal}.dictionary-row b,.operator-ident-cell{overflow-wrap:normal;word-break:keep-all}


@media(max-width:700px){
 .main-nav{padding:0 5px;gap:3px}.main-nav>.compact-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.main-nav>.compact-tabs button{flex:0 0 auto;padding:7px 8px}.nav-tools{gap:2px}.nav-tools>button{padding:2px 4px}.ui-pref-controls>summary{padding:2px 4px}.nav-tools .undo-label{display:none}
 .cycle-toolbar .toolbar-actions{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;padding-bottom:2px;scrollbar-width:thin}.cycle-toolbar .toolbar-actions>*{flex:0 0 auto}.cycle-toolbar .manual-sp-toolbar{margin-left:6px;order:999}
 .description-global-tools{flex-wrap:wrap;padding:4px}.description-global-tools label:first-child{width:100%}.description-global-tools .compact-search{min-width:0;width:100%}.description-global-tools .lookup-source{margin-left:0;width:100%}.active-filter-chips{overflow-x:auto;flex-wrap:nowrap}.filter-chip{flex:0 0 auto}
 .snapshot-diff-list{grid-template-columns:1fr}.snapshot-diff-item{grid-template-columns:90px minmax(0,1fr)}
 .column-resize-handle{display:none!important}.pin-manager-popover{position:fixed;left:8px;right:8px;top:64px;width:auto;max-height:50vh}
 .problem-navigator{flex:0 0 auto}.long-cell-content{-webkit-line-clamp:2}
 body,.app-shell,.page{max-width:100%;overflow-x:hidden}.table-scroll{max-width:100%;overflow-x:auto}
}
@media(max-width:700px){.cycle-toolbar .toolbar-actions{flex-wrap:wrap!important;overflow-x:visible}.cycle-toolbar .toolbar-actions>*{flex:0 0 auto}.cycle-toolbar .manual-sp-toolbar{margin-left:auto;order:999}}
.pin-manager-panel{position:absolute;right:0;top:calc(100% + 3px);z-index:80;width:min(320px,86vw);max-height:320px;overflow:auto;border:1px solid #9fb3bf;background:#f8fafb;box-shadow:0 5px 18px #31444f2b;padding:6px}.pin-manager-panel>b{display:block;margin-bottom:4px}.pin-manager-items{display:grid;gap:2px;margin-bottom:5px}.pin-manager-items>span{display:block;padding:2px 4px;border:1px solid #d1d9de;background:#f1f4f6;font-size:9px;overflow-wrap:anywhere}.pin-manager-panel>button{margin-top:4px}.danger-soft,.danger-button{border-color:#c29a9e!important}.danger-soft:hover,.danger-soft:focus,.danger-button:hover,.danger-button:focus{background:#f2dadd!important;color:#7f2932}
@media(max-width:700px){.pin-manager-panel{position:fixed;left:8px;right:8px;top:64px;width:auto;max-height:50vh}}.snapshot-diff-row{display:grid;grid-template-columns:minmax(78px,.8fr) minmax(0,1fr) 14px minmax(0,1fr);gap:5px;align-items:center;border-bottom:1px solid #c7d1d7;padding:3px 5px;font-size:10px}.snapshot-diff-row:last-child{border-bottom:0}.snapshot-diff-row>b{font-weight:800}.snapshot-diff-row>strong{font-weight:800;color:#325d73}
@media(max-width:700px){.snapshot-diff-row{grid-template-columns:82px minmax(0,1fr) 12px minmax(0,1fr)}}


:root{
 --control-height:30px;
 --font-core:13px;
 --font-normal:12px;
 --font-caption:10px;
 --cell-section:#dce8f0;
 --cell-header:#d4e1e9;
 --cell-input:#ffffff;
 --cell-derived:#f7f9fa;
 --cell-neutral:#f7f9fa;
 --cell-pinned:#fff7dc;
 --cell-selected:#d9eef5;
}
body{font-size:var(--font-normal);background:#eaf0f4}
.app-header p{font-size:10px}.baseline-badge{font-size:9px;opacity:.82}
.section-title,.panel-title{min-height:38px;padding:6px 9px;background:var(--cell-section)}
.section-title h2,.panel-title{font-size:var(--font-core)}
.section-title span,.muted,.preset-note{font-size:var(--font-caption)}
.dense-table{font-size:var(--font-normal)}
.dense-table thead th{font-size:11px;background:var(--cell-header)}
.dense-table th,.dense-table td{border-color:#dbe2e6;padding:4px 5px}
.settings-table .settings-group th{border-top:2px solid #aebfc9;border-bottom:1px solid #bfcbd2;background:#e2eaf0!important}
.settings-table tr.setting-basic-row>th,.settings-table tr.setting-skill-row>th,.settings-table tr.setting-weapon-row>th,.settings-table tr.setting-equipment-row>th,.settings-table tr.setting-special-row>th{background:#f0f4f6!important}
.settings-table td,.settings-table td.cell-input,.settings-table td.cell-derived{background:#fff!important}
.settings-table select,.settings-table input,.descriptions-page select,.descriptions-page input,.preset-controls select,.preset-controls input,.preset-load-panel select{background:#fff!important;border:1px solid #9fb4c1!important}
.fixed-value{display:inline;padding:0;border:0;background:transparent!important;font-size:inherit;font-weight:700;min-height:0;box-shadow:none}
.lookup-setting-group,.weapon-setting-group{background:#f7f9fa!important;border-color:#d6e0e5}
.preset-manager .preset-box,.preset-manager .preset-box:nth-child(1),.preset-manager .preset-box:nth-child(2){background:#f8fafb!important;border-color:#c6d0d6!important}
.preset-source-status{background:#eef3f6;border-color:#b9c6cd;color:#405864!important}.preset-source-status.dirty{background:#fff3d6;border-color:#ccb36f;color:#6d5720!important}
.verification-badge,.verification{display:none!important}


.toolbar-actions button,.toolbar-file-button,.table-filter-bar button,.eventlog-filters button,.preset-load-compact>summary,.preset-actions button,.nav-tools>button,.screen-settings>summary,.state-view-toggle button,.problem-navigator button,.long-cell-toggle,.row-buttons button,.compact-select,.numeric-select,.filter-select,.manual-sp-toolbar select{
 min-height:var(--control-height);height:var(--control-height);border-radius:3px;line-height:1.15;font-size:11px;
}
.toolbar-actions button,.toolbar-file-button,.table-filter-bar button,.eventlog-filters button,.preset-load-compact>summary,.preset-actions button,.nav-tools>button,.screen-settings>summary,.state-view-toggle button,.problem-navigator button,.long-cell-toggle,.row-buttons button{padding:4px 8px;border:1px solid #a9b9c3;background:#f5f8fa}
.toolbar-actions button.active,.eventlog-filters button.active,.compact-tabs button.active{background:#e0eef5;border-color:#719db5;color:#234f68}
.screen-settings{position:relative}.screen-settings>summary{display:flex;align-items:center;list-style:none;cursor:pointer;white-space:nowrap}.screen-settings>summary::-webkit-details-marker{display:none}
.screen-settings-panel{position:absolute;right:0;top:calc(100% + 4px);z-index:90;display:grid;gap:4px;min-width:150px;padding:6px;border:1px solid #a9bac4;background:#fff;box-shadow:0 5px 18px #31444f2b}
.screen-settings-panel button{min-height:30px;border:1px solid #a9b9c3;background:#f7fafb;border-radius:3px;padding:4px 7px;text-align:left}


.pinned-compare-area{background:#fbfcfd;border-color:#b9c6ce}
.pinned-compare-title{background:#edf2f5;border-bottom-color:#c6d0d6;color:#3e5968}
.pinned-compare-table .compare-different{background:#eef6fa!important;box-shadow:inset 0 0 0 1px #b7d3df}


.cycle-page .table-scroll,.party-summary .table-scroll{overflow-x:visible!important;box-shadow:none!important}
@media(min-width:901px){.description-compare tbody th:first-child,.description-compare tbody td:first-child,.weapon-description-table tbody th:first-child,.weapon-description-table tbody td:first-child,.equipment-spec-table tbody th:first-child,.equipment-spec-table tbody td:first-child,.dictionary-table tbody th:first-child,.dictionary-table tbody td:first-child{position:static!important;left:auto!important;box-shadow:none!important}.description-compare thead th,.weapon-description-table thead th,.equipment-spec-table thead th,.equipment-set-table thead th{position:sticky!important;top:0;z-index:5}
}
@media(min-width:701px){.cycle-page .column-resize-handle,.descriptions-page .column-resize-handle{display:block!important}}
.party-element-class{white-space:nowrap}


.descriptions-page .table-scroll{overflow-x:visible!important;box-shadow:none!important}
.skill-talent-table,.weapon-description-table,.equipment-spec-table,.equipment-set-table{min-width:0!important;width:100%!important;table-layout:fixed}
.skill-talent-table th:nth-child(1){width:10%}.skill-talent-table th:nth-child(2){width:8%}.skill-talent-table th:nth-child(3){width:12%}.skill-talent-table th:nth-child(4){width:12%}.skill-talent-table th:nth-child(5),.skill-talent-table th:nth-child(6),.skill-talent-table th:nth-child(7){width:12%}.skill-talent-table th:nth-child(8),.skill-talent-table th:nth-child(9){width:11%}
.weapon-description-table th:nth-child(1){width:12%}.weapon-description-table th:nth-child(2){width:8%}.weapon-description-table th:nth-child(3){width:14%}.weapon-description-table th:nth-child(4){width:14%}.weapon-description-table th:nth-child(5),.weapon-description-table th:nth-child(6),.weapon-description-table th:nth-child(7),.weapon-description-table th:nth-child(8){width:13%}
.equipment-spec-table th:nth-child(1){width:18%}.equipment-spec-table th:nth-child(2){width:10%}.equipment-spec-table th:nth-child(3){width:18%}.equipment-spec-table th:nth-child(4){width:36%}.equipment-spec-table th:nth-child(5){width:18%}
.equipment-set-table th:nth-child(1){width:20%}.equipment-set-table th:nth-child(2){width:10%}.equipment-set-table th:nth-child(3){width:70%}
.weapon-description-table td,.skill-talent-table td,.equipment-spec-table td,.equipment-set-table td{overflow-wrap:anywhere;word-break:keep-all}


.cell-input,.input-cell{background:#fff!important}.cell-derived{background:#f7f9fa!important}
.dictionary-row{background:#fff!important;border-bottom:1px solid #e0e6e9}
.dictionary-top-section{background:#f7f9fa}.dictionary-subsection{background:#fafbfc}.dictionary-subsection-heading{background:#edf2f5}


.info-group-content,.result-line,.state-value,.dictionary-row,.eventlog-row{font-size:12px}
.info-group-label,.result-group-label,.dictionary-kind,.dictionary-source-note,.eventlog-seq{font-size:10px}
.party-skill-groups,.party-core-condition-groups{gap:1px}.info-group{row-gap:1px}.spec-line{line-height:1.25}


@media(max-width:700px){
 body,.app-shell,.page{max-width:100%;overflow-x:visible!important}
 .baseline-badge{display:none}
 .main-nav{display:flex;flex-wrap:wrap;padding:0 5px 5px;gap:3px}
 .main-nav>.compact-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:2px}
 .main-nav>.compact-tabs button{min-width:0;padding:8px 5px;white-space:nowrap;font-size:12px}
 .nav-tools{width:100%;justify-content:flex-end;gap:3px}
 .nav-tools>button,.screen-settings>summary{min-height:36px;height:36px;padding:5px 8px}
 .screen-settings-panel{position:fixed;left:8px;right:8px;top:82px;min-width:0}
 .section-title{padding:5px 7px;min-height:36px}.section-title h2{font-size:13px}.party-summary .info-group{grid-template-columns:48px minmax(0,1fr)}
 .cycle-page .table-scroll,.descriptions-page .table-scroll{overflow-x:visible!important}
 .cycle-toolbar .toolbar-actions{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;max-width:100%}.cycle-toolbar .toolbar-actions>*{flex:0 0 auto}.cycle-toolbar .manual-sp-toolbar{margin-left:auto;order:999}
 .row-buttons button,.row-pin-button,.pin-toggle,.long-cell-toggle,.preset-actions button,.table-filter-bar button,.eventlog-filters button{min-height:38px;min-width:38px;height:auto}
 .compact-select,.numeric-select,.filter-select,.manual-sp-toolbar select{min-height:38px;height:38px}
 .description-global-tools{gap:4px}.description-global-tools label{font-size:11px}.active-filter-chips{padding:3px 5px}
 .skill-talent-table,.weapon-description-table,.equipment-spec-table,.equipment-set-table{display:block!important;width:100%!important;min-width:0!important}
 .skill-talent-table thead,.weapon-description-table thead,.equipment-spec-table thead,.equipment-set-table thead{display:none!important}
 .skill-talent-table tbody,.weapon-description-table tbody,.equipment-spec-table tbody,.equipment-set-table tbody{display:block!important}
 .skill-talent-table tr,.weapon-description-table tr,.equipment-spec-table tr,.equipment-set-table tr{display:block!important;margin:5px 0;border:1px solid #c6d0d6;background:#fff}
 .skill-talent-table th,.skill-talent-table td,.weapon-description-table th,.weapon-description-table td,.equipment-spec-table th,.equipment-spec-table td,.equipment-set-table th,.equipment-set-table td{display:grid!important;grid-template-columns:108px minmax(0,1fr);gap:6px;width:auto!important;position:static!important;border-right:0;padding:5px 6px;align-items:start}
 .skill-talent-table th:first-child,.weapon-description-table th:first-child,.equipment-spec-table th:first-child,.equipment-set-table th:first-child{display:block!important;background:#edf2f5;font-size:13px}
 .skill-talent-table td::before,.weapon-description-table td::before,.equipment-spec-table td::before,.equipment-set-table td::before{font-size:10px;font-weight:800;color:#526a78;white-space:nowrap}
 .skill-talent-table td:nth-child(2)::before{content:"속성/직군"}.skill-talent-table td:nth-child(3)::before{content:"조회 세팅"}.skill-talent-table td:nth-child(4)::before{content:"일반 · 강력한 일격"}.skill-talent-table td:nth-child(5)::before{content:"◆ 배틀"}.skill-talent-table td:nth-child(6)::before{content:"↻ 연계"}.skill-talent-table td:nth-child(7)::before{content:"★ 궁극기"}.skill-talent-table td:nth-child(8)::before{content:"전투재능"}.skill-talent-table td:nth-child(9)::before{content:"잠재"}
 .weapon-description-table td:nth-child(2)::before{content:"등급/유형"}.weapon-description-table td:nth-child(3)::before{content:"세팅"}.weapon-description-table td:nth-child(4)::before{content:"기질"}.weapon-description-table td:nth-child(5)::before{content:"효과 1"}.weapon-description-table td:nth-child(6)::before{content:"효과 2"}.weapon-description-table td:nth-child(7)::before{content:"효과 3"}.weapon-description-table td:nth-child(8)::before{content:"사용 가능"}
 .equipment-spec-table td:nth-child(2)::before{content:"부위"}.equipment-spec-table td:nth-child(3)::before{content:"세팅"}.equipment-spec-table td:nth-child(4)::before{content:"스펙"}.equipment-spec-table td:nth-child(5)::before{content:"세트"}
 .equipment-set-table td:nth-child(2)::before{content:"발동"}.equipment-set-table td:nth-child(3)::before{content:"효과"}
 .pinned-compare-area{max-height:36vh;margin:4px 2px 6px}.pinned-compare-title{font-size:10px}
 .dictionary-row{grid-template-columns:minmax(92px,.8fr) minmax(70px,.6fr) minmax(0,2fr);font-size:12px}.dictionary-kind{font-size:10px}
 .app-header{padding:7px 9px}.app-header h1{font-size:17px}.app-header p{font-size:10px}
}

@media(max-width:700px){
 .pinned-compare-area{max-height:28vh;overflow:auto}
 .dictionary-row{display:grid;grid-template-columns:1fr!important;gap:2px;padding:6px 7px}
 .dictionary-row>b{font-size:13px}
 .dictionary-row .dictionary-kind{display:block;font-size:10px;color:#5a6d78}
}


:root{
 --section-flow-gap:8px;
 --control-gap:4px;
 --focus-ring:#2f78a0;
 --mobile-label-width:94px;
 --compact-number-width:62px;
}
.section-block,.state-panel{margin-bottom:var(--section-flow-gap)}
.section-title+.table-scroll,.section-title+.settings-mobile-editor{margin-top:0}
button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[role="tab"]:focus-visible,.row-pin-button:focus-visible,.pin-toggle:focus-visible{
 outline:2px solid var(--focus-ring)!important;outline-offset:2px!important;
}
button:disabled{opacity:.5;color:#6f7c84}
.main-nav>.compact-tabs button{font-weight:800}.nav-tools{opacity:.88}.nav-tools button{font-weight:600}
.row-pin-button{opacity:.48;filter:grayscale(.55)}
.row-pin-button:hover,.row-pin-button:focus-visible{opacity:.85;filter:none}
.row-pin-button[aria-pressed="true"]{opacity:1;filter:none}
.pin-toggle[aria-pressed="false"]{color:#687984;background:#f7f9fa}
.pin-toggle[aria-pressed="true"]{opacity:1}
.pinned-row{box-shadow:inset 3px 0 #b49739}.selected-row{box-shadow:inset 3px 0 #3c92ad}
.pinned-compare-title{font-weight:800;letter-spacing:.01em}
.row-buttons{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #d3dce1;border-radius:4px;background:#fafcfd;flex-wrap:nowrap}
.row-buttons button{margin:0;min-width:30px}
.cycle-skill-info{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #b9c8d0!important;border-radius:50%;width:24px;height:24px;padding:0!important;margin-left:4px;color:#315e7d;background:#f7fafb!important}
.long-cell-content,.dictionary-row>span:last-child,.info-line,.detail-line{line-height:1.36}
.long-cell-toggle{display:block;margin:3px 0 0 auto}
.numeric-select{width:var(--compact-number-width);max-width:var(--compact-number-width)}
.engraving-inputs label,.forge-inputs label,.lookup-group-body label,.mobile-inline-controls label,.equipment-lookup-selectors label{gap:3px}
.short-label,.skill-type-label,.manual-sp-toolbar,.party-element-class{white-space:nowrap}
.description-empty-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:70px;padding:12px;color:#61717b;background:#fafcfd}
.description-empty-state .secondary-action{border:1px solid #b7c5ce;background:#f3f7f9;border-radius:3px;padding:4px 8px}
.canonical-description{display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;margin:0 0 4px;padding:4px 5px;border-left:3px solid #7aa7bf;background:#f3f8fb;color:var(--ink);font-size:10px;line-height:1.45}
.operator-canonical-description{margin-top:4px;font-weight:400}
.potential-details summary{white-space:normal}
.canonical-rarity{font-weight:800;color:#6d5420}


.settings-mobile-editor{display:none}
.setting-operator-select .setting-operator-name{display:block;font-size:12px;font-weight:800;margin-bottom:3px;color:#233d4b}
.settings-desktop-table thead th{position:sticky!important;top:0;z-index:8;background:#e8eef2!important}
.settings-desktop-table thead .setting-operator-select{box-shadow:inset 0 -1px #b8c6ce}
.mobile-operator-picker{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:6px;padding:7px;background:#edf3f6;border-bottom:1px solid #c6d1d7;font-weight:800}
.mobile-setting-operator-head{display:flex;align-items:center;justify-content:space-between;padding:7px 8px;border-bottom:2px solid #afbec7;background:#f8fafb}
.mobile-setting-operator-head strong{font-size:14px}.mobile-setting-operator-head span{color:#667681}
.mobile-setting-section{border-bottom:1px solid #d5dee3;background:#fff}.mobile-setting-section>h3{margin:0;padding:6px 8px;font-size:12px;color:#304f60;background:#f2f6f8;border-bottom:1px solid #dfe6ea}
.mobile-setting-row{display:grid;grid-template-columns:var(--mobile-label-width) minmax(0,1fr);gap:6px;align-items:center;padding:5px 8px;border-bottom:1px solid #edf1f3}
.mobile-setting-row:last-child{border-bottom:0}.mobile-setting-label{font-size:11px;font-weight:750;color:#526976}.mobile-setting-value{min-width:0}
.mobile-inline-controls{display:flex;flex-wrap:wrap;gap:5px}.mobile-inline-controls label{display:flex;align-items:center;gap:3px;font-size:10px}


.weapon-effect-groups{display:grid;gap:4px}.weapon-effect-group{padding-top:3px;border-top:1px dotted #d5dee3}.weapon-effect-group:first-child{padding-top:0;border-top:0}.weapon-effect-group>b{display:block;font-size:10px;color:#4a6473;margin-bottom:2px}
.lookup-settings-summary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:5px;border:1px solid #c8d4da;background:#f7fafb;border-radius:3px;padding:4px 5px;text-align:left}
.lookup-settings-summary>span{font-weight:800;white-space:nowrap}.lookup-settings-summary>small{color:#647680;text-align:right;line-height:1.25}
.lookup-setting-groups.collapsed{min-width:0}.lookup-settings-body{margin-top:3px}
.potential-details>summary{cursor:pointer;font-weight:700;color:#3d5d6e}.potential-detail-panel{padding-top:4px}
.description-tabs>.compact-tabs{width:100%}


.dictionary-section[data-taxonomy-level="1"]>.dictionary-section-heading{font-size:13px;font-weight:900;padding:7px 8px;border-bottom:2px solid #9eb1bd;background:#eaf0f4}
.dictionary-section[data-taxonomy-level="1"]>.dictionary-section-heading span:last-child{font-size:10px;font-weight:600;color:#687a84}
.dictionary-subsection[data-taxonomy-level="2"]{margin:5px 6px 7px;border-left:3px solid #93a9b7;background:#fff}
.dictionary-subsection[data-taxonomy-level="2"]>.dictionary-subsection-heading{padding:5px 7px;font-size:12px;font-weight:850;border-bottom:1px solid #d6e0e5;background:#f5f8fa}
.dictionary-subsection[data-taxonomy-level="3"]{margin:4px 6px 5px 16px;border-left:2px solid #b4c2cb;background:#fff}
.dictionary-subsection[data-taxonomy-level="3"]>.dictionary-subsection-heading{padding:4px 7px;font-size:11px;font-weight:800;border-bottom:1px solid #e1e7ea;background:#fafbfc}
.dictionary-subsection[data-taxonomy-level="2"]>.dictionary-group-content>.dictionary-table>.dictionary-row{padding-left:16px}
.dictionary-subsection[data-taxonomy-level="3"] .dictionary-row{padding-left:28px}
.dictionary-taxonomy-children{padding-bottom:2px}.taxonomy-title{display:inline-block}.dictionary-row{line-height:1.36}.dictionary-description{display:block;white-space:normal;overflow:visible;max-height:none}
.dictionary-row>b{min-width:0}.dictionary-row>span:last-child{min-width:0}
.panel-title .state-panel-heading{font-size:var(--font-core);color:var(--ink);font-weight:800}.panel-title .state-panel-heading small{font-size:var(--font-caption);color:var(--muted);font-weight:400}

@media(max-width:820px){
 .settings-desktop-table{display:none!important}
 .settings-mobile-editor{display:block}
 .settings-page .section-title{align-items:flex-start;flex-wrap:wrap}
 .settings-page .main-operator-setting{width:100%;display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:6px}
}
@media(min-width:821px){
 .settings-mobile-editor{display:none!important}
 .settings-desktop-table{display:block}
}

@media(max-width:700px){
 :root{--mobile-label-width:94px}
 .app-header{min-height:46px}.app-header p{display:none}
 .main-nav{align-items:start}.main-nav>.compact-tabs{order:0}.nav-tools{order:1}
 .description-title{display:block}.description-title>div:first-child{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
 .description-global-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:5px;width:100%;margin-top:6px}
 .description-global-tools>.description-search-label{grid-column:1/-1;display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:5px;width:100%}
 .description-global-tools>.description-search-label input{width:100%;min-width:0}
 .description-global-tools>.description-rarity-filter{grid-column:1;display:flex;align-items:center;gap:4px}
 .description-global-tools>.description-filter-reset{grid-column:2;justify-self:end}
 .description-global-tools>button:first-child{grid-column:1/-1;justify-self:start}
 .description-tabs>.compact-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:4px!important}
 .description-tabs>.compact-tabs button{min-width:0;white-space:normal;min-height:42px;padding:6px 5px;line-height:1.2}
 .skill-talent-table th,.skill-talent-table td,.weapon-description-table th,.weapon-description-table td,.equipment-spec-table th,.equipment-spec-table td,.equipment-set-table th,.equipment-set-table td{grid-template-columns:var(--mobile-label-width) minmax(0,1fr)!important;gap:5px!important}
 .weapon-description-table td:nth-child(2)::before{content:"등급/유형"}.weapon-description-table td:nth-child(3)::before{content:"세팅"}.weapon-description-table td:nth-child(4)::before{content:"기질"}.weapon-description-table td:nth-child(5)::before{content:"효과"}.weapon-description-table td:nth-child(6)::before{content:"사용 가능"}.weapon-description-table td:nth-child(n+7)::before{content:none}
 .settings-mobile-editor .compact-select,.settings-mobile-editor .numeric-select{max-width:100%}
 .mobile-operator-picker{grid-template-columns:var(--mobile-label-width) minmax(0,1fr)}
 .mobile-setting-row{grid-template-columns:var(--mobile-label-width) minmax(0,1fr);padding:5px 6px}
 .cycle-control-cell{display:flex!important;align-items:center;gap:5px;flex-wrap:wrap;margin-top:4px}
 .row-buttons{gap:2px}.row-buttons button,.cycle-skill-info,.row-pin-button,.pin-toggle,.long-cell-toggle{min-width:40px!important;min-height:40px!important}
 .cycle-skill-info{width:40px!important;height:40px!important;border-radius:4px}
 .row-buttons button{padding:5px 7px}
 .long-cell-toggle{width:auto!important;margin:5px 0 0 auto}
 .dictionary-section[data-taxonomy-level="1"]>.dictionary-section-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between}
 .dictionary-subsection[data-taxonomy-level="2"]>.dictionary-subsection-heading,.dictionary-subsection[data-taxonomy-level="3"]>.dictionary-subsection-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between}
 .dictionary-subsection[data-taxonomy-level="2"]{margin:4px 3px 6px}.dictionary-subsection[data-taxonomy-level="3"]{margin-left:12px}
 .dictionary-subsection[data-taxonomy-level="2"]>.dictionary-group-content>.dictionary-table>.dictionary-row{padding-left:10px}.dictionary-subsection[data-taxonomy-level="3"] .dictionary-row{padding-left:20px}
 .pinned-compare-title{padding:5px 7px}.pinned-compare-area{border-top:2px solid #aebdc6}
 .table-filter-bar{gap:4px}.table-filter-bar label{min-width:0}
 .compact-select,.numeric-select{min-height:40px!important;height:40px!important}
 .screen-settings-panel button{min-height:40px!important;height:40px!important}
}
@media(max-width:380px){
 :root{--mobile-label-width:90px}
 .page{padding-left:4px;padding-right:4px}
 .description-tabs>.compact-tabs button{font-size:11px}
 .mobile-setting-row{padding-left:5px;padding-right:5px}
 .row-buttons button{min-width:38px!important;min-height:40px!important;padding-left:5px;padding-right:5px}
}


.equipment-lookup-selectors.compact-horizontal{display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:4px 8px;align-items:end;width:100%}
.equipment-lookup-selectors.compact-horizontal label{min-width:0}.equipment-lookup-selectors.compact-horizontal>.muted{align-self:center;white-space:normal}
.special-settings-list{display:grid;gap:3px}.special-setting-entry{display:grid;grid-template-columns:minmax(84px,.8fr) minmax(0,1fr);gap:5px}.special-setting-label{color:#425d6c}.special-setting-entry[data-special-setting-status="UNCONFIRMED"]{border-left:2px solid #bd8d37;padding-left:4px;background:#fff8e8}
.item-name-lore,.feedback-help-tooltip{position:relative;display:inline-flex;align-items:center;gap:3px;min-width:0}
.item-name-text{min-width:0}.item-lore-trigger,.feedback-help-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;border:1px solid #aebec8;border-radius:50%;background:#f5f8fa;color:#315e7d;font-size:10px;font-weight:800;padding:0}
.item-lore-tooltip,.feedback-help-panel{position:absolute;z-index:130;left:0;top:calc(100% + 4px);width:min(330px,80vw);padding:7px 8px;border:1px solid #9fb2bd;border-radius:4px;background:#fff;box-shadow:0 6px 18px #253a4730;color:var(--ink);font-size:10px;font-weight:400;line-height:1.45;text-align:left;white-space:normal}
.operator-name-main{display:inline-flex;align-items:center;gap:3px}.operator-metadata-cell{display:flex;flex-direction:column;gap:3px}.operator-rarity-row{font-weight:800;color:#6d5420}.operator-element-class-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.operator-element-label{white-space:nowrap}.operator-class-disclosure .feedback-help-trigger{border-radius:3px;width:auto;padding:1px 5px}
.talent-disclosure{display:block;border:1px solid #d7e0e5;border-radius:3px;margin-bottom:3px;background:#fafcfd}.talent-disclosure-toggle{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:28px;border:0;background:#f2f6f8;padding:3px 5px;text-align:left}.talent-disclosure-panel{padding:4px 5px;border-top:1px solid #d7e0e5}
.potential-disclosure{display:grid;gap:4px}.potential-chips{margin-left:0}.potential-chip{min-height:28px}.potential-detail-panel{margin-top:0}
.cycle-operator-cell{min-width:0}.cycle-operator-name{min-width:0}.cycle-operator-metadata{display:flex;flex-direction:column;gap:2px;margin-top:3px;padding-top:3px;border-top:1px dotted #d8e0e5;font-size:9px}.cycle-operator-rarity{font-weight:800;color:#6d5420}.cycle-operator-element-class{display:flex;gap:2px;flex-wrap:wrap;color:#4d6573}.runtime-context-semantic{background:var(--cell-manual)!important}.runtime-context-target{margin-top:4px}.combat-context-placeholder{color:var(--muted)}
@media(max-width:900px) and (min-width:701px){
}
@media(max-width:700px){
 .equipment-lookup-selectors.compact-horizontal{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .item-lore-tooltip,.feedback-help-panel{position:fixed;z-index:180;left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:55vh;overflow:auto}
 .cycle-operator-metadata{display:flex!important}.runtime-context-semantic,.runtime-context-target,.runtime-context-inputs{display:block!important}
}
@media(max-width:600px){}
@media(min-width:701px) and (max-width:900px){
 .toolbar-actions{gap:3px}.toolbar-actions button,.compact-select,.numeric-select{font-size:10px}
 .description-title{flex-wrap:wrap}.description-global-tools{flex-wrap:wrap}
 .dictionary-row{grid-template-columns:minmax(130px,.8fr) 90px minmax(0,2fr)!important}
}


.settings-desktop-table thead th{pointer-events:none}
.settings-desktop-table thead th select,.settings-desktop-table thead th input,.settings-desktop-table thead th button,.settings-desktop-table thead th .column-resize-handle{pointer-events:auto}

.main-nav{position:relative;z-index:120}


@media(min-width:821px){
 .settings-page .table-scroll{overflow:visible}
}


@media(min-width:901px){
 .operator-specific-group{min-width:0}
.operator-specific-group .dictionary-table{min-width:0;width:100%}


.dictionary-column-head,.dictionary-row{grid-template-columns:minmax(140px,.75fr) 92px minmax(280px,2.25fr) 22px;gap:8px}
.dictionary-column-head{display:grid;align-items:center;padding:5px 8px;background:#f1f5f7;border-top:1px solid #dce4e8;color:#526875;font-size:9px;font-weight:700;letter-spacing:.02em}
.dictionary-row{padding:5px 8px;line-height:1.45;align-items:center}
.dictionary-row>b,.dictionary-kind{align-self:start}
.dictionary-description{max-width:78ch}
.operator-specific-group h4{margin:0;padding:6px 8px;background:#f7f9fa;font-size:10px;color:#314956}
.manual-badge{display:inline-flex;margin:0 0 4px;padding:2px 5px;border:1px solid #9a6a24;border-radius:999px;background:#fff4d8;color:#704a13;font-size:9px;font-weight:700}
.action-info-popover{position:relative;display:inline-block;margin-left:4px}
.action-info-popover>summary{display:inline-flex;cursor:pointer;list-style:none;padding:2px 5px;border:1px solid var(--border);border-radius:4px;background:#f6f8f9;color:#304c5b;font-size:9px;font-weight:700}
.action-info-popover>summary::-webkit-details-marker{display:none}
.action-info-panel{position:absolute;z-index:40;left:0;top:calc(100% + 4px);display:grid;gap:6px;width:min(300px,70vw);padding:9px;border:1px solid #879aa5;border-radius:6px;background:#fff;box-shadow:0 8px 24px #1528322e;font-size:10px;line-height:1.45}
.action-info-panel>b{font-size:11px}.action-info-panel button{justify-self:start}
.cycle-truth{display:grid;gap:2px}.cycle-truth>small{display:block;color:#60737f;font-size:8px;line-height:1.35}
@media(max-width:760px){.dictionary-column-head,.dictionary-row{grid-template-columns:minmax(110px,.8fr) 76px minmax(210px,2fr) 18px}.action-info-panel{left:auto;right:0}}


.dictionary-column-head{display:grid;grid-template-columns:minmax(140px,.75fr) 92px minmax(280px,2.25fr) 22px;gap:8px;padding:5px 8px;background:#f2f5f7;border-top:1px solid #dce4e8;color:#536875;font-size:9px;font-weight:700;letter-spacing:.02em;align-items:center}
.dictionary-row{grid-template-columns:minmax(140px,.75fr) 92px minmax(280px,2.25fr) 22px;gap:8px;padding:5px 8px;line-height:1.45;align-items:center}
.dictionary-row .dictionary-kind{text-align:center;white-space:nowrap}
.dictionary-description{max-width:78ch}
.operator-specific-group h4{margin:7px 8px 3px;font-size:11px;color:#2f4654}
.manual-badge{display:inline-flex;align-items:center;margin:0 4px 3px 0;padding:1px 5px;border:1px solid #b37a20;border-radius:999px;background:#fff6de;color:#76500f;font-size:9px;font-weight:700;white-space:nowrap}
.action-info-popover{position:relative;display:inline-block;margin-left:4px;vertical-align:middle}
.action-info-popover>summary{list-style:none;cursor:pointer;border:1px solid var(--border);border-radius:3px;background:#f6f8f9;padding:2px 5px;font-size:9px;color:#365160}
.action-info-popover>summary::-webkit-details-marker{display:none}
.action-info-panel{position:absolute;z-index:30;left:0;top:calc(100% + 4px);display:grid;gap:5px;width:280px;max-width:min(80vw,340px);padding:8px;border:1px solid #9caeb8;border-radius:4px;background:#fff;box-shadow:0 6px 18px #24364030;font-size:10px;line-height:1.45;text-align:left}
.action-info-panel .related-jump{justify-self:start}
.cycle-truth small{display:block;margin-top:2px;color:#627783;font-size:8px}
@media(max-width:760px){.dictionary-column-head,.dictionary-row{grid-template-columns:minmax(110px,.8fr) 76px minmax(190px,2fr) 18px}.action-info-panel{left:auto;right:0}}
 .operator-specific-group .dictionary-row{grid-template-columns:minmax(0,.8fr) minmax(64px,.55fr) minmax(0,2fr)!important}
 .operator-specific-group .dictionary-row>b,.operator-specific-group .dictionary-row>span{min-width:0}
 .operator-specific-group .dictionary-description{overflow-wrap:anywhere}
}


.runtime-context-row > td{vertical-align:top}.runtime-context-row .manual-value{display:block;margin-bottom:4px}.runtime-context-inputs{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:flex-end}.runtime-context-field{display:inline-flex;gap:4px;align-items:center;white-space:nowrap;font-size:12px}.runtime-context-field select,.runtime-context-field input{max-width:132px;min-width:74px}.runtime-context-field small{color:var(--muted);font-size:10px}@media(max-width:600px){.runtime-context-inputs{display:grid;grid-template-columns:1fr}.runtime-context-field{justify-content:space-between}.runtime-context-field select,.runtime-context-field input{max-width:150px}}
.status-application-state-value{align-items:center;flex-wrap:wrap;border-bottom:1px dotted #d8e0e5;padding:3px 0}.status-application-magnitude{white-space:nowrap}.status-application-duration{color:var(--muted);white-space:nowrap}.status-application-state{font-size:9px;font-weight:800}.status-application-state.active{color:#27643b}.status-application-state.expired{color:#7d858a}.status-application-expire-button{border:1px solid #aebfc9;background:#f7fafb;padding:2px 5px;border-radius:2px;font-size:9px;white-space:nowrap}.status-application-expire-button:hover{background:#e7f0f5}


@media(max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 body,.app-shell,.page{width:100%;max-width:100%;overflow-x:clip!important}
 .page,.section-block,.section-title,.cycle-editor,.cycle-toolbar,.toolbar-actions,.transfer-controls,.settings-page,.settings-mobile-editor,.mobile-setting-row,.mobile-setting-value,.preset-manager,.preset-grid,.preset-box,.preset-controls,.preset-actions,.descriptions-page,.description-global-tools,.table-filter-bar{min-width:0;max-width:100%}
 .cycle-page .table-scroll,.descriptions-page .table-scroll{width:100%;max-width:100%;overflow-x:visible!important}
 .skill-type-cell>.skill-type-label{display:inline-flex;margin:0 4px 3px 0;padding:2px 5px;border:1px solid currentColor;border-radius:999px;font-size:9px;font-weight:800;line-height:1.2}
 .cycle-toolbar .toolbar-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible!important;gap:4px}
 .cycle-toolbar .toolbar-actions>*{min-width:0;max-width:100%;margin:0!important}
 .cycle-toolbar .toolbar-actions>button,.cycle-toolbar .toolbar-file-button,.cycle-toolbar .manual-sp-toolbar{width:100%;min-height:40px}
 .cycle-toolbar .transfer-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;width:100%;gap:4px}
 .cycle-toolbar .transfer-controls>*{min-width:0;max-width:100%;width:100%}
 .import-confirmation{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-column:1/-1;width:100%;min-width:0}
 .import-confirmation b{max-width:none;white-space:normal;overflow-wrap:anywhere}
 .storage-recovery-warning{flex-direction:column;width:auto;max-width:calc(100% - 8px);margin:4px;padding:7px}
 .storage-recovery-warning button{width:100%;min-height:40px}
 .main-nav{min-width:0;max-width:100%;overflow:hidden}
 .nav-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;gap:3px}
 .nav-tools>*{min-width:0;max-width:100%;width:100%}
 .settings-page .section-title{align-items:stretch;flex-direction:column}
 .settings-page .main-operator-setting,.settings-page .main-operator-setting .compact-select{width:100%;min-width:0;max-width:100%}
 .settings-mobile-editor,.mobile-setting-section,.mobile-setting-row,.mobile-setting-value,.mobile-inline-controls{width:100%;min-width:0;max-width:100%}
 .settings-mobile-editor select,.settings-mobile-editor input,.preset-manager select,.preset-manager input{width:100%;min-width:0;max-width:100%}
 .preset-grid{grid-template-columns:minmax(0,1fr)!important;padding:4px}
 .preset-controls{grid-template-columns:minmax(0,1fr)!important}
 .preset-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:4px}
 .preset-actions button{width:100%;min-width:0;min-height:40px;white-space:normal}
 .description-title,.description-global-tools{align-items:stretch;flex-direction:column;width:100%}
 .description-global-tools>*{width:100%;min-width:0;max-width:100%}
 .table-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;position:static}
 .table-filter-bar label{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;min-width:0}
 .table-filter-bar select,.table-filter-bar input{width:100%;min-width:0;max-width:100%}
 .skill-talent-table th,.skill-talent-table td,.weapon-description-table th,.weapon-description-table td,.equipment-spec-table th,.equipment-spec-table td,.equipment-set-table th,.equipment-set-table td{width:100%!important;min-width:0!important;max-width:100%!important}
 .dictionary-column-head,.dictionary-row{grid-template-columns:minmax(0,.8fr) minmax(58px,.45fr) minmax(0,1.8fr) 18px!important;min-width:0;max-width:100%}
 .action-info-panel{position:fixed;z-index:160;left:8px!important;right:8px!important;top:auto!important;bottom:8px;width:auto;max-width:none;max-height:70vh;overflow:auto}
 .entity-tooltip-panel{left:8px!important;right:8px!important;width:auto!important;max-width:none!important}
}
@media(max-width:380px){
 .import-confirmation{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.import-confirmation b{grid-column:1/-1}
 .table-filter-bar{grid-template-columns:minmax(0,1fr)}
 .dictionary-column-head,.dictionary-row{grid-template-columns:minmax(0,.8fr) 58px minmax(0,1.55fr) 18px!important}
}


/* Audited v1 UI: percentages share semantic columns; mobile retains each field. */
html,body,.app-shell,.page{overflow-x:visible!important}
.main-nav{overflow:visible!important}
.app-shell,.page,.section-block,.table-scroll{min-width:0;max-width:100%}
.page .table-scroll{overflow:visible!important}
.page table.dense-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse}
.page table.dense-table th,.page table.dense-table td{min-width:0!important;max-width:none;overflow:visible;overflow-wrap:anywhere;word-break:normal;white-space:normal;text-overflow:initial;border-right:1px solid #d4dee4}
.page .dense-table th{position:relative}
.page .dense-table .sticky-operator{position:static}
.page .dense-table select,.page .dense-table input{width:100%;min-width:0!important;max-width:100%!important}
.page .dense-table .info-group{grid-template-columns:minmax(0,1fr);gap:2px}
.page .dense-table .info-group-items{min-width:0;max-width:100%;white-space:normal}
.table-tools{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;margin-left:auto}
.table-tools button,.description-common-toolbar button{min-height:26px;padding:3px 6px;border:1px solid #afc3ce;background:#f7fafb;border-radius:2px;font-size:10px}
.column-resize-handle{position:absolute;right:-3px;top:0;height:100%;width:7px;cursor:col-resize;z-index:3}
.column-resize-handle:focus{outline:2px solid #397a9a}
.party-operator-picker{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:3px;width:100%}
.party-row-pin{border:0!important;background:transparent!important;padding:0!important;min-width:0!important;width:18px;filter:grayscale(1);opacity:.4;box-shadow:none!important}
.party-row-pin[aria-pressed="true"]{filter:none;opacity:1;color:#176885}
.party-row-pinned>td{background:#edf7fb!important;border-top:1px solid #7cacbf;border-bottom:1px solid #7cacbf}
.party-operator-cell .main-op-chip{display:block;width:max-content;margin:3px 0 0 21px}
.party-rarity{display:block;margin-top:3px;font-size:10px;color:#6d5420}
.party-element-class{display:flex;flex-wrap:wrap;gap:3px;align-items:center}
.party-table .feedback-help-trigger{width:auto;border-radius:3px;padding:2px 4px}
.cycle-table [data-column-key="order"]{text-align:center}
.cycle-table .row-buttons{display:flex;flex-wrap:wrap;gap:2px}
.cycle-table .row-buttons button{min-width:20px;padding:2px;font-size:10px}
.cycle-operator-name,.cycle-operator-metadata{display:block;min-width:0}
.cycle-operator-element-class{display:flex;flex-wrap:wrap;font-size:9px}
.cycle-toolbar .toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.cycle-synergy-sections{display:grid;gap:6px;margin-bottom:6px}
.ui-disclosure,.team-builder{border:1px solid #c4d4de;background:#fbfcfd}
.disclosure-heading{display:block;text-align:left;width:100%;border:0;background:#edf3f6;padding:6px 8px;font-weight:700;font-size:11px}
.ui-disclosure>div{padding:6px 8px}
.team-tag-family{display:grid;grid-template-columns:76px minmax(0,1fr);gap:6px;text-align:left;padding:4px 0;align-items:start}
.team-tag-family>div{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.team-tag{display:inline-block;padding:3px 5px;background:#eef2f5;border:1px solid #d0dce2;font-size:10px;overflow-wrap:anywhere}
.team-tag.selected{color:#174e69;background:#dfeef5;border-color:#8ab4c8}
.team-tag.inactive{color:#71828a;background:#f7f9fa}
.team-tag-family:nth-child(2) .selected{color:#664c30;background:#f3eadd;border-color:#cbb38f}
.team-tag-family:nth-child(3) .selected{color:#386047;background:#e7f1e8;border-color:#99b9a1}
.current-cycle-linkage{padding:4px 0;font-size:10px;text-align:left;border-bottom:1px dotted #d5dfe5;overflow-wrap:anywhere}
.current-cycle-linkage>b{margin-right:6px}
.team-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:8px;padding:8px}
.team-builder-grid>section{min-width:0}.team-builder-grid h3{margin:0 0 5px;font-size:11px}
.team-builder-party{display:flex;flex-direction:column;gap:5px}
.team-builder-party label{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;font-size:10px}
.team-builder-party select{min-width:0;width:100%}
.description-common-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:6px}
.description-common-toolbar label{display:flex;align-items:center;gap:4px;font-size:10px}
.description-common-toolbar select{max-width:170px;min-width:0}
.operator-metadata-cell{display:table-cell!important}.operator-rarity-row{display:block;margin-top:4px}
.dictionary-subsection{padding:5px;border:1px solid #c6d6e0;margin:6px 0;background:#fafcfd}
.dictionary-subsection h4{margin:0;padding:3px 5px;font-size:11px}
.dictionary-subsection .dictionary-subsection{margin-left:8px;background:white}
.dictionary-data-table,.operator-specific-table{font-size:11px}
.dictionary-data-table th,.dictionary-data-table td,.operator-specific-table th,.operator-specific-table td{padding:5px;vertical-align:top;text-align:left}
.dictionary-data-table .dictionary-source-icon{min-width:0}
.vulnerability-family{border-left:3px solid #97b4c4;background:#f4f8fa}
.row-pin-button[aria-pressed="false"]{filter:grayscale(1);opacity:.4}
.action-help{position:relative;display:inline-block}.action-help>button{font-size:10px;padding:2px 4px}
.action-help-panel{position:absolute;top:100%;left:0;z-index:160;display:grid;gap:5px;width:min(320px,80vw);max-height:65vh;overflow:auto;white-space:normal;text-align:left;padding:8px;border:1px solid #8baaba;background:#fff;box-shadow:0 4px 18px #24394330;font-size:11px}
.official-skill-description{text-align:left;margin:4px 0}
.preset-grid{grid-template-columns:1fr!important}
.preset-box .preset-controls,.preset-box:nth-child(2) .preset-controls{display:grid;grid-template-columns:minmax(0,28fr) minmax(0,30fr) minmax(0,42fr);align-items:end;gap:5px}
.preset-box:nth-child(2) .preset-controls{grid-template-columns:minmax(0,28fr) minmax(0,42fr) minmax(0,30fr)}
.preset-controls input,.preset-controls select{height:28px!important;min-height:28px!important;box-sizing:border-box}
.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}
@media(min-width:901px){
 .cycle-table,.party-table{display:table!important}.cycle-table thead,.party-table thead{display:table-header-group!important}
 .cycle-table tbody,.party-table tbody{display:table-row-group!important}.cycle-table tr,.party-table tr{display:table-row!important}
 .cycle-table td,.party-table td{display:table-cell!important}
}
@media(max-width:900px){
 .cycle-page .dense-table,.descriptions-page .dense-table,.cycle-page .dense-table tbody,.descriptions-page .dense-table tbody{display:block!important;width:100%!important;min-width:0!important}
 .cycle-page .dense-table thead,.descriptions-page .dense-table thead{display:none!important}
 .cycle-page .dense-table tr,.descriptions-page .dense-table tr{display:block!important;position:relative;width:100%;margin:6px 0;padding:5px;border:1px solid #c2d2dc;background:white}
 .cycle-page .dense-table tr>td,.cycle-page .dense-table tr>th,.descriptions-page .dense-table tr>td,.descriptions-page .dense-table tr>th{display:block!important;position:static;width:100%!important;min-width:0!important;padding:5px;border:0;border-bottom:1px dotted #d4dfe5;max-width:100%!important}
 .cycle-page .dense-table [data-column-key]::before,.descriptions-page .dense-table tbody [data-column-key]::before{content:attr(data-column-label);display:block;color:#4b697a;font-size:10px;font-weight:700;margin-bottom:3px}
 .cycle-page .cycle-table [data-column-key="order"]{position:absolute;right:5px;top:5px;width:32px!important;min-width:32px!important;text-align:center;background:#e7eef2;border-radius:3px;padding:3px}
 .cycle-page .cycle-table [data-column-key="order"]::before{content:none}
 .cycle-page .cycle-table [data-column-key="operator"]{padding-right:43px}
 .cycle-page .dense-table .cycle-control-cell{display:block!important}
 .cycle-page .cycle-table .row-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}
 .cycle-page .cycle-table .row-buttons button{min-height:36px;width:100%}
 .cycle-toolbar .toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .cycle-toolbar .toolbar-actions>*{min-width:0;max-width:100%;white-space:normal}
 .cycle-toolbar .table-tools,.cycle-toolbar .transfer-controls{grid-column:1/-1}
 .cycle-table .compact-select,.cycle-table .runtime-context-field,.cycle-table .runtime-context-inputs{min-width:0;max-width:100%;width:100%}
 .table-tools{margin:0;gap:4px;grid-column:1/-1}
 .team-builder-grid{grid-template-columns:1fr}.team-tag-family{grid-template-columns:65px minmax(0,1fr)}
 .description-common-toolbar{align-items:stretch}.description-common-toolbar label{width:100%;display:grid;grid-template-columns:80px minmax(0,1fr)}
 .description-common-toolbar select{width:100%;max-width:100%}
 .action-help-panel{position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto}
 .preset-box .preset-controls,.preset-box:nth-child(2) .preset-controls{grid-template-columns:minmax(0,1fr)!important}
 .dictionary-subsection .dictionary-subsection{margin-left:4px}
}

/* Image-supported desktop Settings correction; grouped and header controls retain their widths. */
.settings-page .settings-desktop-table .settings-table td.cell-input > .compact-select{width:auto}
.settings-page .settings-desktop-table .settings-table tbody > tr:not(.settings-group) > th{font-weight:400}

/* v6: Windows-image-supported toolbar composition and compact desktop presentation. */
.table-width-band{display:flex;align-items:center;gap:6px;padding:3px 6px;border-bottom:1px solid var(--border);background:#f5f8fa}
.table-width-band>span:first-child{font-size:9px;color:var(--muted)}
.descriptions-page .table-filter-bar>.table-tools{order:10;margin-left:auto}
.skill-main-toolbar{align-items:center}
.skill-operator-controls,.skill-toolbar-actions{display:inline-flex;align-items:center;gap:5px;min-width:0}
.skill-toolbar-actions{margin-left:auto}
.descriptions-page .skill-main-toolbar>.table-tools{margin-left:0}
.descriptions-page .dictionary-section>.table-tools{display:flex;justify-content:flex-end;padding:3px 6px;background:#f5f8fa;border-bottom:1px solid var(--border)}
.lookup-apply-dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid #91a9b8;border-radius:5px;padding:16px;background:#f8fbfd;color:var(--ink);font-size:12px}
.lookup-apply-dialog::backdrop{background:#162b3c70}
.lookup-apply-dialog h3{margin:0 0 10px;font-size:14px}
.lookup-apply-dialog label{display:flex;align-items:center;gap:8px}
.lookup-apply-dialog select{flex:1;min-width:0}
.lookup-apply-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:14px}
.lookup-apply-actions button{border:1px solid #9fb4c1;border-radius:3px;background:#edf4f8;min-height:32px;padding:4px 14px}
@media(min-width:901px){
 .settings-page .preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .settings-page .preset-box:nth-child(2) .preset-controls{grid-template-columns:minmax(0,28fr) minmax(0,42fr) minmax(0,30fr)}
 .settings-page .settings-table select{height:27px;min-height:27px}
 .descriptions-page .table-filter-bar{gap:5px;padding:4px 6px;align-items:center}
 .descriptions-page .table-filter-bar select,.descriptions-page .table-filter-bar input{min-width:0;max-width:170px;min-height:22px;height:22px;font-size:10px}
 .descriptions-page .table-filter-bar button,.descriptions-page .table-filter-bar .preset-load-compact>summary{min-height:22px;height:22px;padding:2px 6px;font-size:10px}
 .skill-operator-controls>label>select{width:100px}
 .skill-main-toolbar>label>select{max-width:80px}
 .party-summary .party-table .info-group,.cycle-table .info-group{grid-template-columns:38px minmax(0,1fr);gap:3px}
 .party-summary .party-table .info-groups,.cycle-table .info-groups{gap:1px}
 .party-summary .party-table .info-group+.info-group,.cycle-table .info-group+.info-group{padding-top:1px}
 .party-summary .party-table .info-group-label,.cycle-table .info-group-label{font-size:8px;font-weight:400;line-height:1.35}
 .party-summary .party-table .info-line,.cycle-table .info-line{display:inline;font-size:10px;line-height:1.35;margin:0}
 .party-summary .party-table .info-line+.info-line::before,.cycle-table .info-line+.info-line::before{content:" · ";color:#758b99}
 .party-summary .party-table td{padding:4px 5px}
 .party-summary .party-table select{height:27px;min-height:27px}
 .cycle-page .team-tag-family,.team-builder .team-tag-family{padding:2px 0;gap:5px;font-size:10px}
 .cycle-page .team-tag,.team-builder .team-tag{padding:1px 4px;font-size:9px}
 .cycle-page .ui-disclosure>div>p{margin:3px 0}
 .cycle-page .disclosure-heading,.team-builder .disclosure-heading{padding:5px 8px;font-size:10px}
 .cycle-toolbar .toolbar-actions button,.cycle-toolbar .toolbar-actions select,.table-width-band button{min-height:24px;height:24px;padding:2px 5px;font-size:10px}
 .cycle-table .compact-select{min-height:27px;height:27px}
 .cycle-table .row-buttons button{min-height:22px;height:22px}
 .descriptions-page .dictionary-data-table th,.descriptions-page .dictionary-data-table td{font-size:10px;font-weight:400;padding:4px 5px;line-height:1.3}
 .descriptions-page .dictionary-data-table [data-column-key="0"]{text-align:center}
 .descriptions-page .dictionary-data-table tbody th{background:#f5f8fa}
}
@media(max-width:900px){
 .skill-operator-controls{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;grid-column:1/-1;width:100%}
 .skill-operator-controls label{min-width:0}
 .skill-toolbar-actions{grid-column:1/-1;flex-wrap:wrap;width:100%;margin:0}
 .table-width-band{flex-wrap:wrap}
 .table-width-band .table-tools{margin-left:auto;flex-wrap:wrap}
 .lookup-apply-dialog button{min-height:40px}
}

/* v1.0 user-feedback correction: compact ownership and coherent grouped surfaces. */
.party-summary .preset-load-compact>summary{min-height:24px;height:24px;padding:2px 6px;font-size:10px}
.party-operator-picker .compact-select{width:66%;max-width:86px;justify-self:start}
.party-rarity-line{display:inline-flex;align-items:center;gap:5px;margin:3px 0 0 21px}
.party-rarity-line .party-rarity{display:inline;margin:0}
.party-operator-cell .party-rarity-line .main-op-chip{display:inline-flex;width:auto;margin:0;padding:1px 4px}

.team-tag .entity-tooltip-wrap{display:block}
.team-tag .entity-tooltip-trigger{display:block;width:100%;background:transparent!important;color:inherit;text-decoration-color:currentColor}
.team-tag-family[data-team-tag-family="아츠 부착"] .team-tag.selected{color:#174e69;background:#dfeef5;border-color:#8ab4c8}
.team-tag-family[data-team-tag-family="아츠 이상"] .team-tag.selected{color:#3e4f78;background:#e5eaf7;border-color:#9ba9ca}
.team-tag-family[data-team-tag-family="물리"] .team-tag.selected{color:#664c30;background:#f3eadd;border-color:#cbb38f}
.team-tag-family[data-team-tag-family="물리 이상"] .team-tag.selected{color:#70451f;background:#f5e5d5;border-color:#d0a477}
.team-tag-family[data-team-tag-family="초자연"] .team-tag.selected{color:#5c3f6f;background:#eee4f3;border-color:#b69ac4}
.team-tag-family[data-team-tag-family="전투 효과"] .team-tag.selected{color:#386047;background:#e7f1e8;border-color:#99b9a1}

.action-select-with-help{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px;width:100%;margin-top:2px}
.action-help{vertical-align:middle}
.action-help>button{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:20px;min-height:20px;padding:0;border:1px solid #8fa8b7;border-radius:50%;background:#f4f8fa;color:#285870;font-weight:900;line-height:1}
.skill-type-cell .action-select{width:100%;max-width:100%;vertical-align:middle}
.runtime-context-target{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px;margin-top:0}
.runtime-context-action{background:var(--cell-manual)!important}
.swap-operator-cell{display:grid;gap:4px}
.swap-current,.swap-target{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px}
.swap-target{grid-template-columns:auto minmax(0,1fr)}
.swap-current>span:first-child,.swap-target>span{font-size:9px;color:var(--muted);font-weight:700}
.swap-action-cell{font-weight:800}

.description-global-tools .description-search-label input,
.description-global-tools .description-rarity-filter select,
.description-global-tools .description-filter-reset{height:var(--control-height);min-height:var(--control-height);border:1px solid #9fb4c1;border-radius:3px;background:#fff;padding:3px 7px;font-size:11px;line-height:1.15}
.operator-description-disclosure .feedback-help-trigger{width:20px;min-width:20px;min-height:20px;padding:0;border-radius:50%}
.dictionary-section-title{display:flex;align-items:center;min-height:28px;margin:0;padding:4px 7px;border-bottom:1px solid #c6d2d9;background:#e7eef2;font-size:12px;line-height:1.2}
.vulnerability-family{margin:4px 6px 6px;border:1px solid #b9cbd5;border-left:3px solid #789db1;background:#f7fafb}
.vulnerability-family>h4{margin:0;padding:4px 6px;border-bottom:1px solid #c7d5dc;background:#fff;font-size:11px}
.vulnerability-family .dictionary-data-table{margin:0}
.operator-specific-table .operator-special-owner{vertical-align:top;background:#eef3f6;font-weight:800}
.operator-specific-table .operator-special-group-start>th,
.operator-specific-table .operator-special-group-start>td{border-top:2px solid #9fb4c1}
.operator-specific-table tbody .operator-special-group-start:first-child>th,
.operator-specific-table tbody .operator-special-group-start:first-child>td{border-top-width:1px}

/* Wave 2: row kind owns color; selection remains a left-edge marker. */
.cycle-table tbody tr[data-row-kind="swap"]>td{background:#eee9f5!important}
.cycle-table tbody tr[data-row-kind="runtime-context"]>td,
.cycle-table tbody tr.manual-row>td{background:#fff1db!important}
.cycle-table tbody tr.selected-row>td:first-child{box-shadow:inset 3px 0 #3c92ad}
.cycle-synergy-example{margin:8px 0;padding:6px 8px;border:1px dashed #9eaebc;background:#f8fafc}
.cycle-synergy-example>summary{cursor:pointer;font-size:11px;font-weight:700}
.cycle-synergy-example .current-cycle-linkage{font-size:11px}
.dictionary-top-section .dictionary-subsection{margin:6px 0!important;padding:0;border:0}
.dictionary-top-section .dictionary-subsection h4{border-left:3px solid #93a9b7;padding:4px 7px}
.dictionary-top-section .taxonomy-level-3 h4{padding-left:15px}
.stored-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.operator-specific-table .stored-description{max-width:none}
.operator-specific-table .stored-description .spec-line{padding-top:3px;color:var(--muted)}

/* Wave 3: one inset and whole-table column configuration for both dictionaries. */
.dictionary-table-inset{padding:6px 8px 8px}
.dictionary-top-section .dictionary-subsection,
.dictionary-top-section .dictionary-combat-tables{background:#fff}
.dictionary-table-tools{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:6px;padding:4px 8px;background:#f5f8fa;border-bottom:1px solid var(--border)}
.dictionary-table-tools button{font-size:11px;padding:3px 6px}
.page .equipment-set-table tbody>tr>th{border-bottom:1px solid #b6c4ce}
.page .equipment-set-table tbody>tr>td{border-bottom:1px solid #dbe2e6}
.set-effect-summary{display:block;white-space:pre-line;line-height:1.45}
.equipment-set-brief{padding-top:5px;font-size:11px}
.equipment-set-brief>small{display:block;color:var(--muted)}
.page .cycle-table .condition-dropdown{display:inline-block;position:relative;width:25%;max-width:25%;min-width:0;flex:0 1 25%;vertical-align:middle}
.page .cycle-table .condition-dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;max-width:100%;min-width:0;text-align:left}
.condition-dropdown-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.condition-dropdown-trigger>span:last-child{flex:none;font-size:9px}
.condition-dropdown-list{z-index:400;overflow-y:auto;box-sizing:border-box;padding:3px;background:#fff;border:1px solid #aac7da;border-radius:2px;box-shadow:0 3px 10px #263c5026;font-size:12px;line-height:1.4}
.condition-dropdown-list [role="option"]{padding:5px 7px;cursor:pointer;overflow-wrap:anywhere}
.condition-dropdown-list [role="option"].active{background:var(--cell-input)}
.condition-dropdown-list [aria-selected="true"]{font-weight:700}
.condition-dropdown-list [aria-disabled="true"]{opacity:.5;cursor:default}
.page .cycle-table .condition-dropdown.condition-number-dropdown{width:50%;max-width:50%;flex:0 1 50%}

@media(min-width:901px){
 .cycle-toolbar .toolbar-file-button,.cycle-toolbar .problem-navigator,.cycle-toolbar .manual-sp-toolbar{height:24px;min-height:24px;padding:1px 5px;font-size:10px}
 .cycle-toolbar .problem-navigator button{height:18px;min-height:18px;padding:1px 4px;font-size:9px}
 .cycle-toolbar .manual-sp-toolbar select{height:18px;min-height:18px;padding:0 3px;font-size:9px}
}
@media(max-width:900px){
 .party-operator-picker .compact-select{width:100%}
 .action-help>button{width:40px;min-width:40px;height:40px;min-height:40px}
 .action-select-with-help{grid-template-columns:minmax(0,1fr) 40px}
}

.stat-node-controls{display:flex;flex-wrap:wrap;gap:8px}.stat-node-controls fieldset{flex:1 1 220px;min-width:0}.stat-node-controls label{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.lookup-settings-summary small,.detail-line{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.cycle-detail-grid>div{min-width:0}

/* FB06 confirmed palette: color properties only. */
.entity-tooltip-wrap[data-semantic-color="feedback-heat"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-heat"]{background-color:var(--element-heat)!important;color:#7d3525;text-decoration-color:#7d3525}
.entity-tooltip-wrap[data-semantic-color="feedback-cryo"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-cryo"]{background-color:var(--element-cryo)!important;color:#245b70;text-decoration-color:#245b70}
.entity-tooltip-wrap[data-semantic-color="feedback-electric"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-electric"]{background-color:var(--element-electric)!important;color:#62511f;text-decoration-color:#62511f}
.entity-tooltip-wrap[data-semantic-color="feedback-nature"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-nature"]{background-color:var(--element-nature)!important;color:#315d39;text-decoration-color:#315d39}
.entity-tooltip-wrap[data-semantic-color="feedback-physical"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-physical"]{background-color:var(--status-defense-break)!important;color:#4b4d58;text-decoration-color:#4b4d58}
.entity-tooltip-wrap[data-semantic-color="feedback-arts"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-arts"]{background-color:var(--status-arts-vulnerability)!important;color:#384967;text-decoration-color:#384967}
.entity-tooltip-wrap[data-semantic-color="feedback-buff"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-buff"]{background-color:#d9eee6!important;color:#285d4e;text-decoration-color:#285d4e}
.entity-tooltip-wrap[data-semantic-color="feedback-debuff"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-debuff"]{background-color:#f0dee5!important;color:#754157;text-decoration-color:#754157}
.entity-tooltip-wrap[data-semantic-color="feedback-system"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-system"]{background-color:var(--status-slow)!important;color:#465c6a;text-decoration-color:#465c6a}
.entity-tooltip-wrap[data-semantic-color="feedback-sp"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-sp"]{background-color:#dbeafe!important;color:#234d7b;text-decoration-color:#234d7b}
.entity-tooltip-wrap[data-semantic-color="feedback-ultimate-energy"] .entity-tooltip-trigger,.dictionary-row[data-semantic-color="feedback-ultimate-energy"]{background-color:#e9dff4!important;color:#5c357d;text-decoration-color:#5c357d}

/* Approved START-RESOURCE-UI-001 panel only. */
#start-resource-input {margin:0; padding:6px 9px; border-bottom:1px solid #a8bcc8; background:#f4f8fb; font-size:12px; color:#17364b;}
#start-resource-input summary {cursor:pointer; width:max-content; font-weight:600; padding:0;}
#start-resource-input .start-resource-fields {display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; margin-top:6px;}
#start-resource-input label {display:inline-flex; gap:5px; align-items:center; white-space:nowrap; font-size:12px;}
#start-resource-input input {width:72px; min-width:0; height:26px; margin:0; padding:3px 5px; border:1px solid #a8bcc8; border-radius:3px; background:#fff; color:#17364b; font:inherit;}
#start-resource-input input:focus {outline:2px solid #6085ab; outline-offset:1px;}
#start-resource-input .start-resource-note {margin-top:5px; color:#556c7b; font-size:11px;}
#start-resource-error:not(:empty) {margin-top:4px; color:#9d2b22; font-size:11px;}

