#contentGoalsEditor,#contentDirectionsEditor { margin:24px 0; padding:26px; border:1px solid #e4ded6; border-radius:20px; background:#faf8f5; }
#contentGoalsEditor[hidden],#contentDirectionsEditor[hidden] { display:none; }
.cg-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.cg-heading h3 { margin:0 0 8px; color:#493c30; font-size:20px; }
.cg-heading h3 span { margin-left:12px; font-size:12px; color:#a08a75; font-weight:500; }
.cg-heading p { margin:0; font-size:13px; color:#8c8176; line-height:1.7; }
#contentGoalList { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cg-item { min-width:0; padding:20px; border:1px solid #e6ded5; border-radius:16px; background:white; }
.cg-item header { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.cg-number { color:#a18164; font-size:12px; font-weight:700; }
.cg-item header>strong { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.cg-actions { display:flex; align-items:center; gap:5px; margin-left:auto; }
.cg-actions label { display:flex; align-items:center; gap:4px; margin:0 8px 0 0; white-space:nowrap; }
#contentGoalsEditor .cg-actions input,#contentDirectionsEditor .cg-actions input { width:14px; height:14px; margin:0; }
.cg-actions button { min-height:28px; padding:4px 8px; border:1px solid #e7e0d8; border-radius:7px; background:#fff; color:#88715c; font-size:12px; }
.cg-actions button:disabled { opacity:.35; cursor:default; }
.cg-fields { display:grid; grid-template-columns:1fr 1.35fr; gap:12px; }
.cg-item label { color:#837367; font-size:12px; }
#contentGoalsEditor input:not([type=checkbox]),#contentGoalsEditor textarea,#contentDirectionsEditor input:not([type=checkbox]),#contentDirectionsEditor textarea { box-sizing:border-box; width:100%; margin-top:8px; padding:10px 12px; border:1px solid #e5dfd8; border-radius:9px; background:#fdfcfb; color:#493e34; font-size:13px; }
#contentGoalsEditor input:focus,#contentGoalsEditor textarea:focus,#contentDirectionsEditor input:focus,#contentDirectionsEditor textarea:focus { outline:2px solid #cbb59e; outline-offset:1px; }
.cg-prompt { display:block; margin-top:16px; }
#contentGoalsEditor textarea,#contentDirectionsEditor textarea { min-height:116px; resize:vertical; line-height:1.8; }
.cg-item footer { margin-top:8px; color:#aaa096; font-size:11px; }
@media(max-width:1250px) { #contentGoalList,#contentDirectionList { grid-template-columns:1fr; } }
@media(max-width:650px) { #contentGoalsEditor,#contentDirectionsEditor{padding:16px}.cg-heading{align-items:flex-start;flex-direction:column}.cg-fields{grid-template-columns:1fr}.cg-item header{flex-wrap:wrap}.cg-actions{margin-left:0} }
