/* Internal editor follows the client confirmation sheet, with editing controls retained. */
.cc-tabs{display:flex;gap:6px;margin:0 0 16px;border-bottom:1px solid #d7e2ed;padding:0 0 10px}
.cc-tabs button{border:0;border-radius:9px;padding:10px 20px;background:transparent;color:#53667f;font-weight:600}
.cc-tabs button[aria-pressed=true]{background:#e4efff;color:#1d59a7}
.cc-panel{container-type:inline-size;padding:24px;border:1px solid #fff;border-radius:20px;background:linear-gradient(135deg,#e8f3ffbd,#f1fbffbd);color:#263e5c}
.cc-panel[hidden],.cc-tabs[hidden],#projectProgressBuilder[hidden]{display:none!important}
.cc-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:22px}
.cc-heading-copy{flex:1 1 190px}
.cc-heading h2{font-size:23px;margin:0 0 7px;color:#263e5c}
.cc-heading p{color:#657e9d;margin:0;font-size:12px}
.cc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto;justify-content:flex-end}
.cc-panel button,.cc-actions a{border:1px solid #d3e3f5;background:#ffffffd9;padding:9px 13px;border-radius:9px;color:#385f8c;cursor:pointer;font-size:13px;text-decoration:none;line-height:1.5}
.cc-actions button,.cc-actions a{white-space:nowrap}
.cc-panel button:hover,.cc-actions a:hover{background:#f1f7ff;border-color:#a6c8ef}
.cc-panel button.cc-primary{background:linear-gradient(105deg,#2f75df,#2e99dd);color:#fff;border-color:transparent;font-weight:600;padding-left:20px;padding-right:20px}
.cc-panel button:disabled{opacity:.55;cursor:wait}
.cc-panel :is(button,a,input,textarea,summary):focus-visible{outline:2px solid #6dabea;outline-offset:3px}
.cc-overview{display:flex;align-items:center;gap:28px;padding:23px 26px;background:#ffffffed;border:1px solid #fff;border-radius:17px;box-shadow:0 8px 24px #3678ae0b}
.cc-overview-title{display:flex;gap:12px;align-items:center;flex-shrink:0}
.cc-overview-icon{display:grid;place-items:center;width:44px;height:46px;border-radius:13px;background:linear-gradient(145deg,#ddf7ff,#d9e7ff);color:#448de2;font-size:25px}
.cc-overview-title h3{margin:0 0 4px;font-size:17px;color:#2e496d}
.cc-overview-title [data-cc-sync]{font-size:11px;color:#6b83a0}
.cc-progress-area{flex:1;min-width:120px}
.cc-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#5a769b;font-size:13px;margin-bottom:10px}
.cc-progress-meta strong{font-size:23px;color:#2b78e2;font-variant-numeric:tabular-nums}
.cc-progress-meta [data-cc-remaining]{font-size:12px}
.cc-progress-area progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e7edf9}
.cc-progress-area progress::-webkit-progress-bar{background:#e7edf9}
.cc-progress-area progress::-webkit-progress-value{border-radius:8px;background:linear-gradient(90deg,#367ee8,#57c9d8)}
.cc-progress-area progress::-moz-progress-bar{border-radius:8px;background:linear-gradient(90deg,#367ee8,#57c9d8)}
.cc-link-state{font-size:11px;color:#537a7a;white-space:nowrap}
.cc-message{font-size:12px;color:#46765e;min-height:18px;margin:10px 3px 14px;overflow-wrap:anywhere}
.cc-message.cc-error{color:#b44730}
.cc-workspace{display:grid;grid-template-columns:185px minmax(0,1fr);gap:22px;align-items:start}
.cc-directory{position:sticky;top:18px;border:1px solid #fff;border-radius:17px;padding:20px 12px;background:linear-gradient(145deg,#f4fbffcc,#e0eeffba)}
.cc-directory h3{margin:0 0 16px 8px;font-size:18px;color:#365a89}
.cc-directory nav{display:flex;flex-direction:column;gap:8px}
.cc-directory nav button{display:flex;align-items:center;gap:9px;text-align:left;min-height:58px;padding:10px 9px;background:#ffffff9c;border-color:#fff;color:#3b6499;min-width:0}
.cc-directory nav button[aria-current=location]{background:#fff;border-color:#99beee;box-shadow:0 3px 10px #3f7bc00b}
.cc-nav-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#e7f3ff;color:#488fdf;font-size:20px}
.cc-directory nav button>span:nth-child(2){font-weight:600;overflow-wrap:anywhere;min-width:0}
.cc-directory nav small{margin-left:auto;white-space:nowrap;font-size:10px;color:#7189a9}
.cc-directory nav .cc-schedule-link{margin-top:8px}
.cc-directory nav .cc-schedule-link>span:nth-child(2){white-space:nowrap;overflow-wrap:normal}
.cc-group-tools{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px;padding-top:17px;border-top:1px solid #d6e5f6}
.cc-group-tools>span{flex-basis:100%;font-size:11px;color:#7187a1;margin-bottom:2px}
.cc-group-tools button{font-size:11px;padding:6px 8px;background:#f7fbff}
.cc-sheet{min-width:0;padding:22px 26px;background:#ffffffed;border:1px solid #fff;border-radius:20px}
.cc-groups{display:grid;gap:24px}
.cc-group{min-width:0;scroll-margin-top:20px}
.cc-group-heading{display:flex;align-items:center;gap:12px;padding:13px 16px;min-height:54px;background:linear-gradient(100deg,#dfebff,#edfbff);border-radius:9px;list-style:none;cursor:pointer}
.cc-group-heading::-webkit-details-marker{display:none}
.cc-group-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;color:#5188d8;background:#ffffffb8;font-size:21px}
.cc-group-heading h3{display:flex;align-items:center;flex:1;min-width:0;gap:12px;margin:0;font-size:18px;color:#365e92;overflow-wrap:anywhere}
.cc-group-heading h3 span{font-size:11px;font-weight:400;color:#6e89ad;white-space:nowrap}
.cc-group-heading button{flex-shrink:0;padding:6px 9px;font-size:11px;background:#ffffff9c;border-color:#ffffffc7}
.cc-fold-label{font-size:11px;color:#6e89ad;white-space:nowrap}
.cc-fold-label::before{content:'展开'}
.cc-group[open]>.cc-group-heading .cc-fold-label::before{content:'收起'}
.cc-chevron{font-size:15px;color:#6e89ad;transform:rotate(180deg)}
.cc-group[open]>.cc-group-heading .cc-chevron{transform:none}
.cc-items{display:grid;gap:0}
.cc-item{display:flex;align-items:flex-start;gap:12px;padding:25px 4px;border-bottom:1px solid #e1edf7;background:transparent}
.cc-item:last-child{border-bottom:0}
.cc-item-number{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:#dfecff;color:#3c76c7;font-size:12px;font-weight:700;margin-top:3px;font-variant-numeric:tabular-nums}
.cc-item-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:25px;flex:1;min-width:0}
.cc-definition,.cc-reply{min-width:0}
.cc-item-top{display:flex;justify-content:space-between;align-items:flex-end;gap:9px;margin-bottom:10px}
.cc-item-top label{min-width:0;flex:1;max-width:210px;margin-bottom:0!important}
.cc-item-top button{border:0;background:transparent;color:#a16c67;padding:8px 4px;font-size:11px;flex-shrink:0}
.cc-item label{display:block;font-size:11px;color:#6b83a0;margin-bottom:12px}
.cc-item input,.cc-item textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;border:1px solid #dce8f5;border-radius:8px;background:#fafdff;color:#2e4c6f;font:inherit;font-size:13px;line-height:1.65;resize:vertical}
.cc-item-top input{padding:7px 10px;font-size:12px}
.cc-item .cc-title-field input{font-size:15px;font-weight:600;color:#2e4c6f}
.cc-item textarea{min-height:100px}
.cc-definition>h3{font-size:16px;color:#2c4769;margin:12px 0 8px;overflow-wrap:anywhere}
.cc-definition>p{font-size:13px;line-height:1.8;color:#6b83a0;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-reply{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:2px}
.cc-response-label{font-size:12px;color:#6b83a0;order:0}
.cc-status{display:inline-block;padding:5px 10px;border-radius:6px;background:#fff0f1;color:#b34350;font-size:11px;order:2}
.cc-status.cc-confirmed{background:#e5f5ed;color:#28775b}
.cc-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;margin:0;color:#3c5c80}
.cc-reply .cc-answer{order:1;background:#f6fbff;border:1px solid #d8e6f8;border-radius:9px;min-height:144px;padding:15px 17px;width:100%;box-sizing:border-box}
.cc-reply small{order:3;font-size:10px;color:#7c91ad}
.cc-empty{padding:36px 16px;text-align:center;color:#778da8;font-size:13px}
.cc-draft-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px;font-size:13px;color:#9b6d19}
.cc-schedule-notes{margin-top:22px;border-top:1px solid #dce8f5;padding-top:24px;scroll-margin-top:20px}
.cc-schedule-notes>h3{margin:0;padding:14px 16px;border-radius:9px;background:linear-gradient(100deg,#e2f0ff,#eefbff);font-size:18px;color:#365e92}
.cc-note-hint{font-size:11px;color:#7188a6;margin:12px 0 18px}
.cc-schedule-note-group{margin-top:14px}
.cc-schedule-note-group h4{margin:0 0 8px;font-size:14px;color:#36577c}
.cc-schedule-note{border-bottom:1px solid #e1edf7;padding:16px 4px}
.cc-schedule-note>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}
.cc-schedule-note>div>span,.cc-schedule-note small{font-size:11px;color:#7188a6}
.cc-schedule-note .cc-note-empty{color:#8195af;font-size:12px}
.cc-schedule-note .cc-answer{margin:12px 0 6px;padding:12px 14px;border:1px solid #dce8f5;border-radius:8px;background:#f6fbff}
@container(max-width:950px){.cc-workspace{grid-template-columns:160px minmax(0,1fr);gap:16px}.cc-directory{padding:17px 9px}.cc-directory nav button{gap:6px;padding:10px 7px;font-size:12px}.cc-directory nav small{font-size:9px}.cc-nav-icon{width:26px;height:26px;flex-basis:26px;font-size:18px}.cc-sheet{padding:18px}.cc-item-body{gap:18px}.cc-item{gap:9px}.cc-group-heading{padding:11px 12px;gap:8px}.cc-fold-label{display:none}.cc-overview{gap:20px;padding:20px}.cc-link-state{display:none}}
@container(max-width:760px){.cc-workspace{display:block}.cc-directory{position:static;padding:15px;margin-bottom:18px}.cc-directory h3{font-size:16px;margin:0 0 12px}.cc-directory nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.cc-directory nav .cc-schedule-link{margin-top:0}.cc-group-tools{margin-top:12px;padding-top:12px;align-items:center}.cc-group-tools>span{flex-basis:auto;margin:0 5px 0 0}.cc-overview{gap:18px}.cc-overview-title h3{font-size:15px}.cc-overview-title [data-cc-sync]{font-size:10px}.cc-sheet{padding:16px 18px}.cc-item-body{gap:22px}}
@container(max-width:520px){.cc-heading{gap:14px;margin-bottom:16px}.cc-heading-copy{flex-basis:100%}.cc-actions{margin-left:0;justify-content:flex-start;gap:7px}.cc-actions button,.cc-actions a{font-size:12px;padding:10px}.cc-overview{padding:16px;gap:15px;flex-wrap:wrap}.cc-overview-title{gap:9px}.cc-overview-icon{width:34px;height:36px;font-size:21px}.cc-progress-area{flex-basis:100%}.cc-progress-meta strong{font-size:20px}.cc-item-body{grid-template-columns:1fr;gap:7px}.cc-item{gap:9px;padding:22px 0}.cc-item-number{width:25px;height:25px;flex-basis:25px;font-size:11px}.cc-group-heading h3{font-size:16px;gap:7px}.cc-group-heading button{font-size:10px;padding:7px}.cc-group-icon{display:none}.cc-group-heading{gap:7px;padding:12px 10px}.cc-sheet{padding:12px}.cc-reply .cc-answer{min-height:110px}.cc-item input,.cc-item textarea{font-size:16px}.cc-item-top input{font-size:14px}.cc-item .cc-title-field input{font-size:16px}.cc-draft-footer{align-items:flex-start;flex-direction:column}.cc-schedule-notes>h3{font-size:16px}}
@media(max-width:700px){.cc-panel{padding:14px;border-radius:16px}.cc-tabs{margin-bottom:12px}}

.cc-group-dialog{width:min(420px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #dce8f5;border-radius:17px;padding:25px;background:#fff;color:#2e4c6f;box-shadow:0 22px 60px #1e4c7833}
.cc-group-dialog::backdrop{background:#173a624d}
.cc-group-dialog h3{font-size:20px;margin:0 0 20px}
.cc-group-dialog label{display:block;font-size:13px;color:#617b9d}
.cc-group-dialog input{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid #cfdef0;border-radius:9px;background:#f7fbff;font:inherit;color:#2e4c6f}
.cc-group-dialog p{font-size:12px;line-height:1.7;color:#7389a5;margin:10px 0 22px}
.cc-group-dialog .cc-dialog-actions{display:flex;justify-content:flex-end;gap:9px}
.cc-group-dialog button{padding:10px 18px;border:1px solid #d3e3f5;border-radius:9px;background:#f9fcff;color:#385f8c;cursor:pointer;font:inherit;font-size:13px}
.cc-group-dialog button[type=submit]{background:linear-gradient(105deg,#2f75df,#2e99dd);color:#fff;border-color:transparent}
.cc-group-dialog :is(button,input):focus-visible{outline:2px solid #6dabea;outline-offset:3px}

.cc-group-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.cc-group-heading .cc-delete-group{color:#a65b62;background:#fff7f7;border-color:#eedcde}
.cc-group-heading .cc-delete-group:hover{background:#ffebed;border-color:#dfaeb4}
@container(max-width:520px){.cc-group-heading{display:grid;grid-template-columns:minmax(0,1fr) auto}.cc-group-heading h3{grid-column:1;grid-row:1}.cc-group-heading .cc-chevron{grid-column:2;grid-row:1}.cc-group-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end}.cc-group-actions button{min-height:36px}}
