:root{font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;color:#243a32;background:#f7f9f7;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button{border:0}input,textarea,select{border:1px solid #dce3dd;background:#fff;border-radius:7px;color:#243a32}input:focus,textarea:focus,select:focus,button:focus-visible{outline:2px solid #3c795c;outline-offset:2px}input[type=checkbox]{accent-color:#265c43;width:16px;height:16px;cursor:pointer}.sidebar{width:228px;height:100vh;position:fixed;left:0;top:0;background:#fff;border-right:1px solid #e3e8e3;padding:36px 20px;display:flex;flex-direction:column}.brand{text-decoration:none;font-size:32px;font-weight:850;letter-spacing:3px;color:#204532;margin:0 15px}.brand span{display:block;font-size:9px;letter-spacing:3px;color:#87958c;margin-top:5px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid #e3e9e3;border-radius:9px;padding:12px 10px;margin:38px 0 32px;font-size:12px;font-weight:700}.workspace i,.profile i{font-style:normal;background:#e5ede3;border-radius:8px;width:32px;height:32px;display:grid;place-items:center;color:#315d3b}.workspace small{display:block;font-size:10px;font-weight:400;color:#8a948f;margin-top:4px}.navlabel{font-size:10px;font-weight:600;letter-spacing:.5px;color:#9aa59f;margin:0 12px 12px}nav{display:grid;gap:7px}nav button{text-align:left;display:flex;align-items:center;gap:12px;padding:13px 12px;background:transparent;border-radius:7px;color:#76847b;font-size:13px;font-weight:600}nav button span{font-size:11px;font-weight:500;opacity:.7;width:20px}nav b{margin-left:auto;background:#f1f4f0;border-radius:5px;font-size:10px;padding:2px 6px;color:#77897c}nav button.active{background:#eaf1e7;color:#2b593d}nav button.active b{background:#d6e5d2;color:#2b593d}.sidebar-bottom{margin-top:auto;font-size:11px;color:#56755d;padding:0 12px}.online{display:inline-block;width:6px;height:6px;border-radius:100%;background:#7cad6a;margin-right:7px}.sidebar-bottom small{display:block;font-size:10px;color:#a2aaa5;margin-top:9px}main{margin-left:228px}.topbar{height:76px;border-bottom:1px solid #e4e9e3;padding:0 38px;display:flex;justify-content:space-between;align-items:center;font-size:11px;background:#ffffffb8;color:#8a988f}.topbar span{margin:0 12px;color:#c2cbc4}.topbar strong{color:#455e4e;font-weight:500}.profile{display:flex;align-items:center;gap:12px!important;color:#607466!important}.profile i{width:30px;height:30px;background:#f1eee1;color:#827d5f;border-radius:100%}.content{padding:40px 38px 28px;max-width:1640px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#8ba180}h1{font-size:28px;letter-spacing:-1.3px;margin:10px 0 10px;font-weight:750}.heading p{font-size:12px;margin:0;color:#869188}.secondary{background:white;border:1px solid #dce3dc;color:#597060;border-radius:7px;padding:9px 13px;font-size:11px}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:30px}.summary article{background:#fff;border:1px solid #e1e8df;border-radius:10px;padding:21px 23px;min-height:135px}.summary article>span{font-size:11px;color:#7e8c81}.summary strong{display:block;font-size:31px;margin:12px 0 8px;letter-spacing:-.5px;font-weight:650}.summary strong span{font-size:12px;font-weight:400;color:#859680;letter-spacing:0}.summary small{font-size:10px;color:#9ba598}.summary article.budget{background:#edf2e8;border-color:#dfe7d7}.budget strong{color:#406137}.listbox{background:#fff;border:1px solid #e1e7df;border-radius:10px;overflow:hidden}.toolbar{padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.filters{display:flex;background:#f2f5f0;border-radius:6px;padding:3px;gap:2px}.filters button{font-size:11px;padding:7px 14px;border-radius:4px;background:transparent;color:#8b998c}.filters button.active{background:#fff;color:#36593e;box-shadow:0 1px 3px #00180013;font-weight:650}.searchgroup{display:flex;gap:9px}.searchgroup select,.searchgroup input{padding:8px 10px;font-size:11px}.searchgroup input{width:185px}::placeholder{color:#abb3aa}.bulk{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0ea;padding:12px 21px;background:#fbfcf9;font-size:11px}#selectedCount{color:#4b6c43;font-weight:650}.bulk-hint{color:#a0ac9b;margin-right:auto}.primary{background:#315d43;color:white;padding:9px 15px;border-radius:6px;font-size:11px;font-weight:550}.primary:hover{background:#234b34}.reject{border:1px solid #e5dcd6;background:#fff;color:#9b7765;padding:8px 15px;border-radius:6px;font-size:11px}.table-wrap{overflow-x:auto;min-height:248px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}th{font-size:10px;color:#95a18f;background:#f7f9f4;font-weight:550;padding:12px 9px;border-bottom:1px solid #e5ebe1}td{padding:18px 9px;border-bottom:1px solid #edf0e9;font-size:12px;color:#65705f}th.check{width:40px;padding-left:20px}.check input{vertical-align:middle}.assetcol{min-width:225px}.reasoncol{min-width:190px;width:22%}td .asset-button{display:flex;gap:11px;align-items:center;text-align:left;background:none;padding:0;width:100%;color:#334e3b}.thumb{width:43px;height:58px;object-fit:cover;border-radius:5px;background:#f2f4ed;flex-shrink:0}.asset-name{font-size:11px;font-weight:650;max-width:220px;white-space:normal;line-height:1.55}.tags{display:flex;gap:5px;align-items:center;margin-top:6px}.tag{font-size:9px;font-weight:400;border-radius:4px;padding:2px 5px;background:#f3f4ef;color:#929a87}.tag.pending{color:#a78a41;background:#f8f3e3}.tag.live{color:#4b7952;background:#edf4e7}.tag.error{color:#a57159;background:#f8ebe5}.reason-input{width:100%;min-width:170px;height:51px;resize:vertical;padding:8px 9px;font-size:10px;line-height:1.55;border-color:#e6e9df}.reason-saved{white-space:normal;font-size:10px;line-height:1.6;color:#8a9583}.date{font-size:10px;color:#9aa390}tr.selected{background:#f6f9f1}.table-footer{padding:15px 21px;display:flex;justify-content:space-between;font-size:10px;color:#a3ac9b}.note{text-align:center;font-size:10px;color:#a2ad99;margin-top:22px}#empty{text-align:center;padding:70px 20px;color:#879881}#empty p{font-size:11px;color:#a6b09e}dialog{border:1px solid #dfe5d9;border-radius:15px;width:min(1200px,94vw);max-height:92vh;padding:0;color:#243a32;box-shadow:0 24px 100px #15391b30}dialog::backdrop{background:#20352cc0;backdrop-filter:blur(4px)}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #e8ece3;background:#fff;position:sticky;top:0;z-index:2}.detail-top h2{font-size:20px;margin:7px 0 0}.icon-button{background:#f4f6ef;color:#70846a;width:32px;height:32px;border-radius:100%}.detail-body{display:grid;grid-template-columns:44% 56%;padding:26px;gap:0}.preview-col{padding:0 25px 0 0}.story-col{border-left:1px solid #e6ecdf;padding-left:27px}#media{background:#eef1e7;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:250px}#media img,#media video{display:block;max-width:100%;max-height:56vh;object-fit:contain}#media:fullscreen{background:#0d1812}#media:fullscreen img,#media:fullscreen video{max-height:100vh;max-width:100vw;height:100%;width:100%;object-fit:contain}.variant-buttons{display:flex;gap:7px;margin:10px 0}.variant-buttons button{padding:6px 13px;background:#eef3e7;color:#5d7950;border-radius:5px;font-size:10px}.preview-col>.secondary{width:100%;margin-top:10px}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.detail-metrics>div{background:#f5f7f1;padding:12px 11px;border-radius:6px;font-size:10px;color:#8d9e81}.detail-metrics b{display:block;font-size:18px;margin-top:6px;color:#48613b;font-weight:600}.detail-meta{color:#9aa690;font-size:10px;line-height:1.7}.detail-section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px}.detail-section-heading h3{font-size:15px;margin:0}.detail-section-heading span{font-size:8px;letter-spacing:1px;color:#a1af94}.element{border:1px solid #e5eadf;padding:17px;border-radius:9px;margin-bottom:12px}.element-label{font-size:9px;color:#7b966a;letter-spacing:1px;text-transform:uppercase;display:flex;align-items:center;gap:8px}.element-label b{font-size:10px;background:#eff4e8;padding:3px 7px;border-radius:4px;letter-spacing:0}.element h4{font-size:13px;line-height:1.7;margin:10px 0;font-weight:600}.element p{font-size:11px;line-height:1.8;color:#89967d;margin:7px 0}.element p.improvement{border-top:1px solid #eef1e8;padding-top:9px}.element p strong{color:#6f855e;font-weight:550}.review-box{padding:18px;border-radius:9px;background:#f4f7ee;margin-top:24px}.review-box h3{font-size:13px;margin:0 0 12px}.review-box textarea{width:100%;height:86px;padding:11px;resize:vertical;font-size:11px;line-height:1.7}.review-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}#decisionInfo{font-size:10px;color:#8e9f7d;line-height:1.7;margin:10px 0 0}details{font-size:10px;color:#9ba88d;margin-top:20px;line-height:1.8}details summary{cursor:pointer}details code{font-size:8px;overflow-wrap:anywhere}#toast{position:fixed;bottom:28px;left:calc(50% + 114px);transform:translateX(-50%);background:#284531;color:white;padding:13px 22px;border-radius:8px;font-size:12px;box-shadow:0 4px 24px #0002;opacity:0;pointer-events:none;transition:opacity .2s;z-index:9}#toast.show{opacity:1}@media(max-width:1100px){.sidebar{width:190px}.content{padding:28px 22px}main{margin-left:190px}.topbar{padding:0 22px}.summary article{padding:18px}.reasoncol{min-width:180px}.assetcol{min-width:210px}.table-wrap{overflow-x:auto}table{min-width:1010px}#toast{left:50%}}@media(max-width:750px){.sidebar{position:relative;width:100%;height:auto;padding:20px}.brand{font-size:25px;margin:0}.brand span,.workspace,.navlabel,.sidebar-bottom{display:none}nav{display:flex;margin-top:20px;gap:7px}nav button{flex:1;padding:9px 8px;font-size:11px;gap:5px}nav b{display:none}main{margin-left:0}.topbar{height:50px}.content{padding:25px 16px}.heading{align-items:flex-start;gap:14px}h1{font-size:25px}.heading p{font-size:11px;line-height:1.6}.heading .secondary{white-space:nowrap;font-size:10px}.summary{grid-template-columns:1fr 1fr;gap:10px}.summary article{min-height:120px}.summary strong{font-size:26px}.toolbar{align-items:stretch;flex-direction:column;padding:14px}.searchgroup input{flex:1;width:100px}.bulk{padding:12px}.bulk-hint{font-size:9px}.table-footer{gap:18px;line-height:1.7}.detail-body{grid-template-columns:1fr;padding:17px}.preview-col{padding:0 0 25px}.story-col{border:0;padding:0}.detail-top{padding:18px}#media img,#media video{max-height:55vh}}
.heading-actions{display:flex;gap:8px}.progresscol{min-width:190px}.test-progress{width:185px;white-space:normal}.progress-title{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9aab8c}.progress-title b{font-size:12px;color:#63814f}.test-progress progress{width:100%;height:5px;display:block;margin:6px 0 8px;accent-color:#759b5d;border:0;border-radius:5px;overflow:hidden}.test-progress progress::-webkit-progress-bar{background:#edf1e7}.test-progress progress::-webkit-progress-value{background:#8eaf77}.test-progress small{font-size:9px;color:#6c865a;display:block}.test-progress em{font-size:8px;font-style:normal;display:block;color:#a3af99;line-height:1.7}.reasoncol{min-width:180px}#kpiDialog{max-width:680px}#kpiForm{padding:24px}#kpiForm p{font-size:12px;color:#849675;line-height:1.8}#kpiFields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}fieldset{border:1px solid #e0e6d8;border-radius:8px;padding:15px}legend{font-size:12px;color:#71935b}fieldset label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#94a184;margin:10px 0}fieldset input{padding:8px;width:100%}@media(max-width:750px){.heading-actions{flex-direction:column}#kpiFields{grid-template-columns:1fr}}
.asset-number{font-size:9px;font-weight:600;display:block;letter-spacing:.5px;color:#9baa8f;margin-bottom:3px}

[hidden]{display:none!important}.main-readiness{padding:20px;background:#e8f1ec;border:1px solid #b2cabc;border-radius:12px;margin-bottom:20px;font-size:14px;line-height:1.8}#standardsTabs{flex-wrap:wrap;gap:8px;margin:24px 0}#standardDoc{background:white;padding:28px;border-radius:16px;max-width:1160px}#standardDoc h3{margin-top:32px}.standard-body{white-space:pre-wrap;line-height:1.9;margin:24px 0;font-size:15px}#standardDoc td{white-space:normal;min-width:100px;max-width:440px;overflow-wrap:anywhere;line-height:1.6}.source-paths{font-family:monospace;font-size:12px;overflow-wrap:anywhere}.standard-comment{background:#f3f6f2;padding:16px;border-radius:8px;margin:10px 0;white-space:pre-wrap}#standardComment{display:block;width:100%;min-height:130px;padding:14px;margin:12px 0;border:1px solid #d7ddd8;border-radius:8px}#standardCommentForm p{font-size:12px;color:#6a756d}#sourceQuery{padding:12px;border:1px solid #d7ddd8;border-radius:8px;width:100%}.source-row{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #e7ebe8;padding:14px 0;font-size:12px;overflow-wrap:anywhere}.source-row code{color:#406152}#sourceResults{max-height:440px;overflow:auto} .asset-number{display:block;font-size:12px;color:#5e7968;margin-bottom:5px}

.searchgroup{flex-wrap:wrap;justify-content:flex-end}.searchgroup select{max-width:185px}.toolbar{flex-wrap:wrap;gap:14px}.component-tag{background:#eef0f7;color:#45567b}.tags{flex-wrap:wrap}

.bulk{flex-wrap:wrap}.bulk-reason{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:260px}.bulk-reason textarea{min-width:220px;flex:1;padding:10px;border:1px solid #cbd5cf;border-radius:8px;min-height:55px}.bulk-reason small{flex-basis:100%;color:#607265;font-size:12px}

.body-plan{background:#fff;border:1px solid #e4e7e5;border-radius:12px;padding:20px;margin:12px 0;line-height:1.8}.body-plan summary{cursor:pointer}.body-plan p{max-width:850px;overflow-wrap:anywhere}

.row-decisions{display:flex;gap:8px;margin-top:8px}.row-decisions button{padding:7px 14px;font-size:12px;min-height:34px}.reasoncol{min-width:190px}

.column-filters td{vertical-align:top;background:#f5f8f4;padding:10px 8px;white-space:normal}.column-filters input,.column-filters select{display:block;width:100%;min-width:94px;padding:7px 6px;font-size:11px;margin:3px 0}.column-filters input[type=date]{min-width:145px}.column-filters label{font-size:10px;color:#617568}.column-range{display:flex;gap:4px;min-width:134px}.column-range input{min-width:62px;width:64px;flex:1}.column-filters input:invalid{border-color:#bb5346;background:#fff2ef}.column-filters select{min-width:134px}.column-reset{font-size:10px;background:#e1ebdf;color:#31583b;padding:8px 6px;border-radius:6px}.column-filters td:nth-child(2) input{min-width:220px}

.column-sort{background:transparent;color:inherit;font:inherit;font-weight:700;padding:4px 0;white-space:nowrap;text-align:left}.column-sort:hover{color:#266d40}.column-sort:focus-visible{outline:2px solid #266d40;outline-offset:3px}

#i2vPage{padding:30px}#i2vPage td{white-space:normal;vertical-align:top;min-width:170px}#i2vPage td:first-child{min-width:35px}.i2v-preview{width:220px;max-height:280px;object-fit:contain}#i2vPage textarea{width:240px;min-height:80px}#i2vPage td:nth-child(5){max-width:300px}#i2vPage .bulk{display:flex;gap:10px;align-items:center;padding:12px 0}

#learningPage{padding:32px;overflow:auto} #learningPage td{white-space:normal;max-width:400px}

#typographyPage{padding:32px}#typographyGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px}.typography-card{border:1px solid #deded9;border-radius:14px;overflow:hidden;background:#fff}.typography-preview{position:relative;aspect-ratio:9/16;background:#26342d}.typography-preview video,.typography-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.typography-preview img{pointer-events:none}.typography-play{position:absolute;bottom:12px;left:12px;z-index:2;background:#fff;color:#17271f;padding:8px 12px;border-radius:20px}.typography-meta{padding:16px}.typography-meta p{font-size:13px;min-height:36px}.typography-meta .danger{color:#ae332c;border:1px solid #ead0ce;padding:7px 16px;border-radius:6px}@media(max-width:600px){#typographyPage{padding:16px}#typographyGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.typography-play{font-size:10px;bottom:8px;left:8px}}

#productionPage{padding:40px 38px 28px;max-width:1640px;min-width:0;margin:auto}
#productionPage .heading{gap:20px;align-items:flex-start}
#productionPage .heading>div{min-width:0}
#productionPage .heading p{line-height:1.7}
#productionPage .heading button{flex-shrink:0;white-space:nowrap}
#productionPage .toolbar{padding:16px;background:#fff;border:1px solid #e1e7df;border-radius:10px;justify-content:flex-start;flex-wrap:wrap;gap:12px}
#productionPage .toolbar select,#productionPage .toolbar input{padding:9px 12px;font-size:12px;min-width:0;max-width:100%}
#productionPage .toolbar input{width:320px;margin-left:auto}
#productionSummary{font-size:12px;line-height:1.8;margin:20px 0 12px;overflow-wrap:anywhere}
#productionPage .production-guide{padding:12px 16px;margin-bottom:20px;background:#edf3ed;border:1px solid #e1e8df;border-radius:10px;font-size:12px;line-height:1.8}
#productionPage .production-guide p{margin:4px 0;overflow-wrap:anywhere}
#productionPage .production-guide p:last-child{font-size:11px;color:#6d7e70;margin-top:8px}
#productionPage .table-wrap{max-width:100%;min-height:0;border:1px solid #e1e7df;border-radius:10px;background:#fff}
#productionPage table{table-layout:fixed;min-width:960px;white-space:normal}
#productionPage th,#productionPage td{padding:16px;vertical-align:top;line-height:1.7;overflow-wrap:anywhere}
#productionPage th:nth-child(1){width:24%}
#productionPage th:nth-child(2){width:10%}
#productionPage th:nth-child(3){width:19%}
#productionPage th:nth-child(4){width:9%}
#productionPage th:nth-child(5){width:38%}
#productionPage .production-steps{min-width:0;max-width:none}
#productionPage .production-steps li{white-space:normal}
#productionPage>p:last-child{font-size:11px;line-height:1.8;color:#7b897d;margin-top:16px}
#productionEmpty{padding:24px;text-align:center;font-size:12px;color:#7b897d}
@media(max-width:1100px){#productionPage{padding:28px 22px}}
@media(max-width:750px){#productionPage{padding:25px 16px}#productionPage .heading{flex-wrap:wrap;gap:12px}#productionPage .toolbar{padding:12px}#productionPage .toolbar input{width:100%;margin-left:0}#productionPage .production-guide{padding:12px}}
.production-current{display:block;color:#183e33;margin-bottom:10px;font-size:13px}
.production-steps{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;min-width:310px;max-width:490px}
.production-steps li{display:flex;align-items:center;gap:5px;font-size:11px;color:#69756f;background:#f3f5f3;border:1px solid #e2e7e3;border-radius:6px;padding:5px 7px;white-space:nowrap}
.production-steps li span{font-weight:700;font-variant-numeric:tabular-nums}
.production-steps li.is-current{background:#e1f3e8;color:#145238;border-color:#56a777;font-weight:700}
#captionTypographyPage{padding:36px 40px}#captionTypographyGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}.caption-typography-controls{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.caption-typography-controls select{min-width:160px;padding:10px;border:1px solid #d4ded3;border-radius:8px;background:white}#captionTypographyNote{max-width:1100px;line-height:1.7;color:#64765f}@media(max-width:700px){#captionTypographyPage{padding:24px 16px}#captionTypographyGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.caption-typography-controls select{min-width:0;max-width:100%}}

nav .report-link{display:block;padding:13px 12px;margin-bottom:16px;border-radius:7px;background:#eaf1e7;color:#2b593d;font-size:13px;font-weight:600;text-decoration:none}nav .report-link:hover{background:#d6e5d2}

/* Keep every navigation item reachable on short screens. */
.sidebar{height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#a9b9ad transparent}
.sidebar>*{flex-shrink:0}
.sidebar-bottom{padding-top:28px}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:#a9b9ad;border-radius:6px}
@media(max-width:750px){
 .sidebar{height:auto;overflow:visible}
 .sidebar nav{overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px;scrollbar-width:thin}
 .sidebar nav button,.sidebar nav .report-link{flex:0 0 auto;white-space:nowrap}
 .sidebar nav .report-link{margin-bottom:0}
}

/* Shared channel navigation; retain independent sidebar scrolling. */
.service-header{height:64px;position:sticky;top:0;z-index:45;background:#fff;border-bottom:1px solid #e1e7e2;display:flex;align-items:center;padding:0 28px;gap:32px}.service-brand{font-size:15px;font-weight:850;letter-spacing:1px;color:#20342a;text-decoration:none;white-space:nowrap}.channel-tabs{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;min-width:0}.channel-tabs a{padding:10px 15px;color:#66726c;text-decoration:none;border-radius:8px;font-size:14px}.channel-tabs a.active{background:#e7f0e9;color:#244d32;font-weight:700}.sidebar{top:64px;height:calc(100dvh - 64px)}
@media(max-width:800px){.service-header{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 16px;gap:10px}.channel-tabs{width:100%}.channel-tabs a{padding:9px 12px}.sidebar{top:0;height:auto}}

/* KPI decision flow: compact on desktop, one column on mobile. */
#kpiDialog{width:min(940px,calc(100vw - 32px));max-height:90dvh;overflow-y:auto;box-sizing:border-box}
.kpi-process{background:#f7f9fc;border:1px solid #dbe3ee;border-radius:16px;padding:24px;margin:0 0 24px}
.kpi-process-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}.kpi-process h3{margin:0 0 14px;font-size:20px}.kpi-process-heading span,.kpi-process small{font-size:12px;color:#53647d;line-height:1.7}
.kpi-relaunch{background:#fff3e2;border:1px solid #efc98d;border-radius:12px;padding:16px;margin-bottom:20px;display:grid;gap:7px}
.kpi-relaunch>span{font-size:12px;color:#8a5511;font-weight:600}
.kpi-relaunch>b{font-size:19px;color:#6b3f06}
.kpi-relaunch>div{font-size:14px;color:#6b3f06;line-height:1.7}
.kpi-relaunch>small{font-size:12px;color:#7d5a2a;line-height:1.7}
.kpi-benchmark{background:#eaf2ff;border:1px solid #c7dcfa;border-radius:12px;padding:16px;margin-bottom:24px;display:grid;gap:7px}.kpi-benchmark>span{font-size:12px;color:#3462a0}.kpi-benchmark>div{font-size:22px;color:#183d72}
.kpi-flow{list-style:none;margin:0;padding:0;display:grid;gap:24px}.kpi-flow>li{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;background:white;padding:18px;border:1px solid #dbe3ee;border-radius:12px}.kpi-flow>li:not(:last-child)::after{content:'↓';position:absolute;bottom:-24px;left:32px;color:#6887b2;font-size:20px;line-height:24px}.kpi-step-number{background:#183d72;color:#fff;border-radius:10px;height:36px;display:grid;place-items:center;font-weight:700}.kpi-flow h4{font-size:16px;margin:0 0 10px}.kpi-flow p{font-size:14px;line-height:1.7;margin:6px 0}.kpi-flow details{margin-top:8px;font-size:12px}.kpi-flow summary{cursor:pointer;color:#53647d}.kpi-flow .kpi-budget-formula{font-size:22px;font-weight:700;color:#183d72}.kpi-budget-formula span{color:#7288a5}.kpi-process-note{font-size:12px;line-height:1.7;color:#53647d;margin:18px 0 0}
@media(max-width:600px){#kpiDialog{width:calc(100vw - 16px);padding:16px}.kpi-process{padding:14px}.kpi-flow>li{padding:12px;grid-template-columns:30px minmax(0,1fr);gap:10px}.kpi-step-number{height:30px;font-size:12px}.kpi-flow .kpi-budget-formula{font-size:18px}.kpi-benchmark>div{font-size:19px}}
#kpiDialog{max-width:940px}
#kpiFields{align-items:start}
#kpiFields>.kpi-process{grid-column:1 / -1;min-width:0}
#kpiFields>.kpi-process p{color:#34465d}
#kpiFields>.kpi-process .kpi-budget-formula{color:#183d72}

#macConnection{position:sticky;top:0;z-index:100;padding:14px 24px;background:#fff0d8;color:#573300;font-size:14px}#macConnection[hidden]{display:none}#macReconnect{margin-left:12px;padding:6px 12px;border:1px solid #b18a54;border-radius:6px;background:white;color:inherit;cursor:pointer}
