:root{color:#172435;background:#f5f8fb}body{margin:0}.page{width:min(1440px,calc(100% - 40px));margin:0 auto;padding:28px 0 48px}.centered{min-height:100vh;display:grid;place-items:center}.topBar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;padding:22px 24px;border:1px solid #d9e7f1;background:linear-gradient(135deg,#fff,#eef7fc)}.topBar.admin{background:#fff}.projectSelect{min-width:320px}.brandBlock{display:flex;align-items:center;gap:18px;min-width:0}.clientLogo{width:132px;max-width:34vw;height:auto;display:block}.draftHint{margin-top:4px!important;color:#66788a!important;font-size:.82rem!important;font-weight:700!important}.sectionGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.impactOverview{margin-top:16px}.impactHero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);align-items:center;gap:16px;margin-top:0}.impactMeter{grid-column:1 / -1;height:13px;border-radius:999px;background:#ffe6e2;overflow:hidden;box-shadow:inset 0 0 0 1px #8f1d1514}.impactMeter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d9a55,#37c878);transition:width .42s ease}.impactHeroStats{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.workflowGuide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.workflowStep{position:relative;display:flex;gap:12px;min-height:112px;padding:16px;border:1px solid #d9e7f1;border-radius:8px;background:#fff;box-shadow:0 8px 20px #153a5b0a}.workflowStep:after{content:"";position:absolute;right:-13px;top:50%;width:13px;height:2px;background:#bfd5e4}.workflowStep:last-child:after{display:none}.workflowStep.current{border-color:#71c8ea;background:linear-gradient(180deg,#f7fcff,#eaf8ff);box-shadow:0 12px 26px #087db61f}.workflowStep.done{border-color:#badfca;background:#f6fcf8}.workflowNumber{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border-radius:999px;color:#fff;background:#087db6;font-weight:900}.workflowStep.done .workflowNumber{background:#1d9a55}.workflowTitle{color:#12324b!important;font-weight:900!important}.compactStats .statTile{min-height:92px}.statTile{padding:18px;min-height:118px;border:1px solid #d9e7f1;background:#fff}.statTile h4{margin-top:8px;color:#12324b;overflow-wrap:anywhere}.statTile.danger{border-color:#ffd0ca;background:#fff7f6}.statTile.warning{border-color:#ffe4a6;background:#fffaf0}.statTile.good{border-color:#badfca;background:#f3fbf6}.panel{padding:22px;margin-top:16px;border:1px solid #d9e7f1;box-shadow:0 10px 28px #153a5b0f!important}.compactPanel{margin-top:0}.accentPanel{border-top:4px solid #0aa7df}.insightGrid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;margin-top:16px}.barList{margin-top:16px}.barRow{display:grid;gap:8px}.barLabel{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.impactBar{height:9px!important;border-radius:999px;background:#edf4f8!important}.impactBar .MuiLinearProgress-bar{border-radius:999px;background:linear-gradient(90deg,#087db6,#0aa7df)}.phraseCloud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.phraseButton{justify-content:space-between!important;min-height:48px;text-align:left;color:#12324b!important;border-color:#c9e2f0!important;background:#fbfdff!important}.phraseButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phraseButton strong{margin-left:12px;color:#087db6}.phraseCard{min-height:64px;padding:12px;border:1px solid #d9e7f1;background:#fbfdff}.folderWorkflow{display:grid;grid-template-columns:minmax(380px,.95fr) minmax(0,1.05fr);gap:16px;margin-top:16px;align-items:start}.stepPanel{margin-top:0}.mainWorkPanel{position:sticky;top:16px}.stepHeader{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.folderList{max-height:640px;overflow:auto;padding-right:4px}.folderTree{padding:2px 0 8px}.folderTree .MuiTreeItem-groupTransition{margin-left:17px;padding-left:13px;border-left:1px solid rgba(103,124,145,.26)}.folderTree .MuiTreeItem-content{min-height:54px;border-radius:6px;padding:6px 8px;align-items:center;border-top:1px solid rgba(217,231,241,.72);position:relative}.folderTree .MuiTreeItem-content:before{content:"";position:absolute;left:-13px;top:19px;width:12px;border-top:1px solid rgba(103,124,145,.26)}.folderTree .MuiTreeItem-content.Mui-selected,.folderTree .MuiTreeItem-content.Mui-selected:hover{background:#e9f6fd;color:#12324b}.treeNodeLabel{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;min-width:0}.folderIdentity{display:flex;align-items:flex-start;gap:9px;min-width:0}.folderIconWrap{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:30px;height:30px;margin-top:1px;border-radius:8px;color:hsl(202 70% calc(30% + (var(--folder-depth, 1) * 4%)));background:hsl(202 72% calc(91% + (var(--folder-depth, 1) * .7%)));box-shadow:inset 0 0 0 1px #087db61f}.treeEditNode.active .folderIconWrap{color:#fff;background:#087db6}.treeEditNode.saved .folderIconWrap{color:#fff;background:#1d9a55}.folderTextBlock{display:grid;gap:3px;min-width:0}.folderName{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:hsl(207 48% calc(18% + (var(--folder-depth, 1) * 5%)));font-weight:850}.folderMetaLine{display:block;min-width:0;color:#66788a;font-size:.76rem;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.windowsRenameInput{min-width:120px;width:100%;flex:1 1 auto;height:30px;padding:2px 7px;border:1px solid #087db6;border-radius:2px;outline:2px solid rgba(8,125,182,.14);background:#fff;color:#12324b;font:inherit;font-weight:800;box-shadow:inset 0 0 0 1px #fff}.windowsRenameInput:focus{border-color:#045f8d;outline-color:#087db638}.treeBadges{display:flex;align-items:center;gap:6px;flex-shrink:0;padding-top:2px}.treeEditNode{width:100%;min-width:0;--folder-depth: 1}.treeEditNode.saved .folderName{color:#126c35;font-weight:900}.treeSavedChip,.treeOkChip{color:#126c35!important;background:#dcf7e7!important}.treePartialChip{color:#765000!important;background:#fff0bf!important}.inlineRenameEditor{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 4px;padding:10px;border:1px solid #b9def0;border-radius:8px;background:#fff;box-shadow:0 8px 18px #153a5b14}.inlineRenameEditor.windowsMode{margin-top:6px;padding:8px;border-style:dashed;box-shadow:none}.inlineSelectedHeader{display:grid;gap:2px}.inlineSelectedHeader p{color:#12324b;font-weight:900;overflow-wrap:anywhere}.inlineRenameEditor .MuiStack-root,.inlineRenameEditor .inlineImpact,.inlineRenameEditor .impactBar{grid-column:1 / -1}.inlineImpact{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:6px}.inlineImpact.ok{color:#126c35;background:#e9f9ef}.inlineImpact.danger{color:#8f1d15;background:#ffe9e6}.softNotice{padding:7px 9px;border:1px solid #f0d37a;border-radius:6px;color:#765000;background:#fff9df}.softNotice p{font-weight:700}.branchGuidance{display:grid;gap:12px;margin-bottom:14px;padding:14px;border:1px solid #d9e7f1;border-radius:8px;background:#fff}.branchGuidance.folder{border-left:4px solid #087db6;background:linear-gradient(180deg,#f8fcff,#eef8fd)}.branchGuidance.file{border-left:4px solid #107c41;background:linear-gradient(180deg,#f9fffb,#effaf3)}.branchGuidanceHeader{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}.branchGuidanceHeader h6{color:#12324b;font-weight:900}.branchGuidanceIcon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;color:#fff;background:#087db6}.branchGuidance.file .branchGuidanceIcon{background:#107c41}.quickWinList{display:grid;gap:8px;padding-top:10px;border-top:1px solid rgba(103,124,145,.18)}.quickWinItem{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:9px;border:1px solid rgba(217,231,241,.86);border-radius:8px;background:#ffffffc2}.quickWinTitle{color:#12324b!important;font-weight:900!important;overflow-wrap:anywhere}.quickWinDetail{color:#66788a!important;font-size:.8rem!important;margin-top:2px!important}.branchProgressMini{display:grid;gap:8px;margin:12px 0 0;padding:12px;border:1px solid #d9e7f1;border-radius:8px;background:#fbfdff}.branchProgressHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}.branchProgressTitle{color:#12324b!important;font-weight:900!important}.branchProgressMeter{height:9px;overflow:hidden;border-radius:999px;background:#ffe6e2;box-shadow:inset 0 0 0 1px #8f1d1514}.branchProgressMeter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d9a55,#37c878);transition:width .36s ease}.branchProgressDetail{color:#66788a!important;font-size:.8rem!important}.nextActionPanel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 0 0;padding:12px;border:1px solid #cfe4f0;border-left:4px solid #0aa7df;border-radius:8px;background:linear-gradient(180deg,#fbfdff,#f0f9fd)}.nextActionTitle{color:#12324b!important;font-weight:900!important;overflow-wrap:anywhere}.fileGroupsPanel{display:grid;gap:12px;margin-top:18px;padding:14px;border:1px solid #d9e7f1;border-radius:8px;background:#fff}.fileGroupsHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.pulseDot{width:12px;height:12px;border-radius:999px;background:#0aa7df;box-shadow:0 0 #0aa7df85;animation:pulseDot 1.2s ease-out infinite}@keyframes pulseDot{70%{box-shadow:0 0 0 12px #0aa7df00}to{box-shadow:0 0 #0aa7df00}}.fileGroupList{max-height:420px;overflow:auto;padding-right:4px}.fileGroupRow{border:1px solid #edf3f7;border-radius:8px;background:#fbfdff;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.fileGroupRow:hover,.fileGroupRow.active{border-color:#b9def0;box-shadow:0 8px 18px #153a5b14;transform:translateY(-1px)}.fileGroupRow.saved{border-color:#badfca;background:#f6fcf8}.fileGroupMain{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;cursor:pointer}.fileGroupPhrase{display:flex;align-items:center;gap:8px;color:#12324b!important;font-weight:900!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fileGroupHint{color:#66788a!important;font-size:.78rem!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px!important}.filePhraseEditor{display:grid;gap:10px;padding:0 10px 10px}.filePhraseEditorControls{position:sticky;top:0;z-index:4;display:grid;gap:8px;padding:10px;border:1px solid #cfe4f0;border-radius:8px;background:#fffffff5;box-shadow:0 10px 18px #153a5b14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.fileInputLabel{color:#456276!important;font-size:.8rem!important;font-weight:900!important}.fileRenameExamples{display:grid;gap:8px;padding:10px;border:1px solid #d9e7f1;border-radius:8px;background:linear-gradient(90deg,#0aa7df12,#fff0 42%),#f8fcff}.fileRenameExampleRow{display:grid;grid-template-columns:1fr;gap:6px;padding:8px;border:1px solid #dceaf3;border-radius:8px;background:#fff}.fileRenameBefore,.fileRenameAfter{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:8px 10px;border:1px solid #e6eef5;border-radius:6px;background:#fbfdff;box-shadow:0 1px #12324b08}.fileRenameName,.fileRenamePath{display:block;min-width:0;overflow-wrap:anywhere}.fileRenameName{font-weight:800;line-height:1.25}.fileRenameName mark{padding:0 3px;border-radius:4px;color:#0f3a56;background:#ffef9f;box-shadow:inset 0 -1px #8060002e}.fileRenamePath{margin-top:4px;color:#66788a;font-size:.76rem;line-height:1.25}.fileRenameMeta{display:inline-flex;width:fit-content;margin-top:7px;padding:3px 7px;border-radius:999px;color:#456276;background:#eef6fb;font-size:.72rem;font-weight:800;line-height:1.1}.fileRenameBefore{color:#12324b}.fileRenameAfter{color:#66788a;border-style:dashed;background:#fff}.fileRenameAfter.placeholder{color:#66788a;background:#f8fbfd;border-style:solid;border-color:#e2edf5;cursor:default}.fileRenameAfter.placeholder .fileRenameName{font-weight:750;font-style:italic}.fileRenameAfter.ready{border-style:solid}.fileRenameAfter.ready.ok{color:#126c35;border-color:#a8dfbd;background:#edfbf2}.fileRenameAfter.ready.warn{color:#8a6100;border-color:#f0d37a;background:#fff9df}.fileRenameAfter.ready.bad{color:#8f1d15;border-color:#ffc7c0;background:#fff2f0}.renameArrow{align-self:center;color:#087db6;font-weight:900;text-align:center}.fileRenameAlert{border:1px solid #f0d37a}.treeFilePreview{margin-top:16px;padding-top:14px;border-top:1px solid #e4eef5}.treeFileHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.treeFileRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 8px;border:1px solid #edf3f7;border-radius:6px;background:#fff}.treeFileRow+.treeFileRow{margin-top:8px}.treeFileName{display:flex;align-items:center;gap:8px;font-weight:800!important;color:#12324b!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeFilePath{color:#66788a!important;font-size:.78rem!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeFileActions{display:flex;align-items:center;gap:4px}.officeIcon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px}.officeIcon svg{display:block;width:24px;height:24px;filter:drop-shadow(0 1px 1px rgba(21,58,91,.16))}.officeIconSheet{fill:#f8fbff;stroke:#c7d8e5;stroke-width:1}.officeIconFold{fill:#dbe8f2}.officeIconPanel{fill:#66788a}.officeIcon text{fill:#fff;font:900 10px/1 Inter,Arial,sans-serif}.officeIcon.word .officeIconPanel{fill:#185abd}.officeIcon.excel .officeIconPanel{fill:#107c41}.officeIcon.office .officeIconPanel{fill:#66788a}.officeIconLink{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:6px;outline:none}.officeIconLink:hover{background:#dff3fb}.officeIconLink:focus-visible{box-shadow:0 0 0 3px #0aa7df38}.focusedPhrases{margin-bottom:18px}.selectedFolderCard{display:grid;gap:4px;margin-bottom:18px;padding:14px;border:1px solid #cfe4f0;border-left:4px solid #087db6;border-radius:8px;background:#f8fcff}.selectedFolderCard h6{color:#12324b;font-weight:900;overflow-wrap:anywhere}.simpleRuleForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.simpleRuleForm .formActions{grid-column:1 / -1}.hiddenSubmitForm{display:none}.reviewGrid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px}.ruleReviewHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 14px}.ruleReviewList{margin-bottom:18px}.ruleReviewRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid #edf3f7;border-radius:8px;background:#fbfdff}.ruleReviewRow.needsReview{border-color:#ffe4a6;background:#fffaf0}.ruleReviewTitle{display:flex;align-items:center;gap:8px;font-weight:900!important;color:#12324b!important;overflow-wrap:anywhere}.ruleReviewPath{color:#66788a!important;font-size:.82rem!important;margin-top:3px!important;overflow-wrap:anywhere}.ruleReviewMetrics{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.ruleTypePill{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:3px 7px;border-radius:999px;color:#fff;font-size:.72rem;font-weight:900}.ruleTypePill.folder{background:#087db6}.ruleTypePill.file{background:#107c41}.savedSuggestions{margin-top:14px}.tableWrap{margin:18px 0 12px;border:1px solid #e3edf4}.fileName{font-weight:700!important;color:#12324b!important}.muted{color:#66788a!important}.risk{font-weight:800!important}.riskCritical{color:#8f1d15!important;background:#ffe1dd!important}.riskProblem{color:#765000!important;background:#fff0bf!important}.riskSelect{min-width:180px}.fieldIcon{margin-right:8px;color:#6c8194}.suggestionForm{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.suggestionForm .wide{grid-column:span 3}.suggestionRow{display:grid;grid-template-columns:2fr 1fr 120px auto;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #edf3f7}.rowActions{display:flex;justify-content:flex-end;gap:4px}.tokenBox{margin-top:16px;overflow-wrap:anywhere}.previewStrip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 18px;padding:12px;border:1px solid #d9e7f1;background:#f8fcff}.previewStrip .impactBar{flex:1 1 220px}.pathSimulation{display:grid;gap:12px;margin-top:18px;padding:14px;border:1px solid #cfe4f0;border-radius:8px;background:linear-gradient(180deg,#fbfdff,#f1f9fd)}.pathLine{display:grid;gap:5px;min-width:0}.pathLine code{display:block;padding:10px 12px;border:1px solid #dbe9f2;border-radius:6px;background:#fff;color:#12324b;font:700 .86rem/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:nowrap;overflow-x:auto}.pathBefore code{border-color:#ffd0ca;background:#fff7f6}.pathAfter code{border-color:#acd8eb;background:#eaf8ff}.pathAfterOk code{border-color:#a8dfbd;background:#edfbf2}.changeLogPanel{display:grid;gap:12px;margin-top:16px;padding:16px 18px;border:1px solid #d9e7f1;border-radius:8px;background:#fff;box-shadow:0 8px 20px #153a5b0a}.changeLogHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.changeLogList{max-height:280px;overflow:auto;padding-right:4px}.changeLogRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid #edf3f7;border-radius:8px;background:#fbfdff}.changeLogRow.needsReview{border-color:#ffe4a6;background:#fffaf0}.changeLogTitle{display:flex;align-items:center;gap:8px;min-width:0}.changeLogTitle p{color:#12324b;font-weight:900;overflow-wrap:anywhere}.changeLogTitle span{color:#087db6;font-weight:900}.changeLogPath{color:#66788a!important;font-size:.8rem!important;margin-top:4px!important;overflow-wrap:anywhere}.changeLogMetrics{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.privateExportPanel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:16px 18px;border:1px solid #d9e7f1;border-radius:8px;background:#fff;box-shadow:0 8px 20px #153a5b0a}.exportHealthBlock{display:grid;gap:10px;min-width:0}.exportHealth{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#456276}.exportHealth.ok{color:#126c35}.exportHealth.warning,.exportHealth.empty{color:#765000}.suggestionToolbar{margin:18px 0 10px}@media(max-width:960px){.page{width:min(100% - 24px,100%);padding-top:16px}.topBar{align-items:stretch;flex-direction:column}.projectSelect{min-width:unset}.sectionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflowGuide{grid-template-columns:1fr}.workflowStep:after{left:33px;right:auto;top:auto;bottom:-13px;width:2px;height:13px}.insightGrid,.folderWorkflow,.reviewGrid{grid-template-columns:1fr}.mainWorkPanel{position:static}.privateExportPanel{align-items:stretch;flex-direction:column}.changeLogHeader,.changeLogRow{grid-template-columns:1fr}.changeLogHeader{display:grid}.changeLogMetrics{justify-content:flex-start}.nextActionPanel,.suggestionForm,.simpleRuleForm{grid-template-columns:1fr}.suggestionForm .wide{grid-column:span 1}}@media(max-width:640px){.sectionGrid,.suggestionRow{grid-template-columns:1fr}.rowActions{justify-content:flex-start}.phraseCloud{grid-template-columns:1fr}}
