.kg-status-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.kg-status-filters button{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid #e0e8f3;border-radius:11px;background:#fff;color:#6d819b;font:inherit;cursor:pointer}.kg-status-filters button[aria-pressed=true]{border-color:#86a9df;background:#edf4ff;color:#3568ad}.kg-status-filters strong{font-size:22px}.kg-filters{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:22px}.kg-filters>.field{min-width:180px;flex:1}.kg-card{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;border:1px solid #e2e9f3;transition:box-shadow .15s,border-color .15s}.kg-card:hover{border-color:#96b2de;box-shadow:0 4px 16px #2c528212}.kg-card:focus-visible,.kg-status-filters button:focus-visible{outline:2px solid #3878c9;outline-offset:3px}.kg-card h2{font-size:17px;line-height:1.6;overflow-wrap:anywhere;margin:15px 0 10px}.kg-card p{font-size:12px;line-height:1.8;color:#7a8ba1}.kg-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.kg-status{display:inline-flex;padding:5px 9px;border-radius:6px;font-size:11px;font-weight:650;background:#edf3fc;color:#4e73a4}.kg-completed{background:#e9f4ee;color:#3e8062}.kg-expired{background:#f5efeb;color:#96725c}.kg-metric{font-size:10px;color:#8294ac}.kg-score{font-size:36px;font-weight:700;margin:20px 0 6px;color:#345f9e}.kg-score small{font-size:16px;font-weight:500;margin-left:5px}.kg-progress{display:block;width:100%;height:7px;border-radius:8px;overflow:hidden;margin:12px 0}.kg-progress-track{fill:#edf1f7}.kg-progress-fill{fill:#6b95d8}.kg-detail-link{display:block;margin-top:20px;color:#4779b6;font-size:12px}.kg-help,.kg-empty p{font-size:12px;line-height:1.8;color:#7a8ea9;margin:15px 0}.kg-empty{padding:38px;text-align:center;background:#fff;border:1px solid #e2e9f3;border-radius:12px}.kg-empty h2{font-size:16px;color:#607b9d}dialog.goals-dialog{width:min(920px,calc(100vw - 32px));max-width:920px}.kg-detail h3{font-size:16px;line-height:1.8;margin:18px 0 14px;color:#3c5c82;overflow-wrap:anywhere}.kg-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.kg-metadata dt{font-size:11px;color:#8b9bb0;margin-bottom:6px}.kg-metadata dd{margin:0;font-size:13px;color:#526b8a;overflow-wrap:anywhere}.kg-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.kg-detail-stats>div{padding:17px 15px;border-radius:10px;background:#f4f7fc;min-width:0}.kg-detail-stats span{display:block;font-size:11px;color:#8194ad;margin-bottom:10px}.kg-detail-stats strong{font-size:20px;color:#3b659b;overflow-wrap:anywhere}.kg-detail-stats small{font-size:12px;font-weight:500}.kg-progress-summary{padding:12px 0 18px}.kg-progress-summary p{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#6a82a0;margin:15px 0 8px}.kg-progress-summary p span{font-size:11px;color:#8b9cb2}.kg-source,.kg-history{border-top:1px solid #e5ebf4;margin-top:20px;padding-top:6px}.kg-source p{font-size:12px;color:#7a8ca4;line-height:1.8}.kg-source h4{font-size:13px;color:#5e7899;margin:20px 0 12px}.kg-table-wrap{overflow-x:auto}.kg-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.kg-table-wrap th,.kg-table-wrap td{border-bottom:1px solid #e8edf5;padding:11px 12px;text-align:right;color:#6b819c}.kg-table-wrap th:first-child,.kg-table-wrap td:first-child{text-align:left}.kg-history ol{list-style:none;padding:0;margin:0}.kg-history li{padding:17px 0;border-bottom:1px solid #edf1f7}.kg-history-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#506f97}.kg-history-top>span{font-size:11px;color:#879ab2}.kg-history li p{font-size:12px;line-height:1.8;color:#6e83a0;white-space:pre-wrap;overflow-wrap:anywhere}.kg-history small{font-size:11px;color:#91a2b8}.kg-history>p{font-size:12px;color:#7b90aa;line-height:1.8}.kg-evidence{padding:10px 13px;border-radius:7px;background:#f6f8fc}.kg-update{border:1px solid #dce6f5;border-radius:11px;padding:18px;margin-top:28px}.kg-update legend{padding:0 8px;color:#5477a6;font-size:13px}.kg-update .field{margin-top:15px}.kg-update textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:90px;line-height:1.8}.kg-update .form-grid{margin-top:0}
@media(max-width:650px){.kg-status-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kg-status-filters button{padding:14px}.kg-detail-stats{grid-template-columns:minmax(0,1fr)}.kg-detail-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.kg-detail-stats span{margin:0}.kg-metadata{grid-template-columns:minmax(0,1fr)}.kg-filters>.field{min-width:0;flex-basis:100%}.kg-update{padding:14px}.kg-update .form-grid{grid-template-columns:minmax(0,1fr)}}
.kg-detail-actions,.kg-record-actions>div{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.kg-detail-actions .button{margin:0}.kg-description,.kg-alignment,.kg-record-actions,.kg-posts{margin-top:28px;padding-top:22px;border-top:1px solid #e2e9f3}.kg-description p,.kg-post-body,.kg-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}.kg-description p{font-size:13px;color:#607c9e}.kg-record-actions{border:1px solid #dce7f6;border-radius:14px;padding:20px;background:#f7faff}.kg-record-actions h3,.kg-posts h3{margin:0 0 10px}.kg-record-actions p{color:#728aaa;font-size:12px;line-height:1.8}.kg-record-actions>div{margin-bottom:0}.kg-post{margin:20px 0;padding:22px;border:1px solid #e0e8f4;border-radius:14px;background:#fff}.kg-post small{font-size:11px;color:#8295af;line-height:1.8}.kg-post-body{font-size:13px;color:#536e90;margin:18px 0}.kg-change-up{color:#32745a}.kg-change-down{color:#a05d66}.kg-danger{color:#a6656b!important}.kg-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:20px 0}.kg-attachments a{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e2e9f3;border-radius:10px;color:#557aa9;font-size:12px;overflow-wrap:anywhere}.kg-attachments img{width:100%;height:150px;object-fit:contain;border-radius:7px;background:#f5f8fc}.kg-comments{margin-top:22px;padding-top:18px;border-top:1px solid #ebeff6}.kg-comment{padding:12px 14px;background:#f6f8fc;border-radius:9px;margin-bottom:12px}.kg-comment p{font-size:12px;color:#617b9b;margin:6px 0}.kg-comments textarea{width:100%;resize:vertical;min-height:72px}.kg-comments>.button{margin-top:12px}.kg-composer{animation:kg-compose-in .2s ease-out}.kg-composer>.field,.kg-composer>.form-grid,.kg-workspace-link{margin-top:24px}.kg-composer textarea,.goals-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;line-height:1.8;min-height:90px}.kg-composer .field>input,.kg-composer .field>select{margin-top:6px}.kg-draft-change{padding:18px 20px;background:#f2f7fc;border-radius:12px;font-size:23px;font-weight:700;margin:0 0 26px}.kg-draft-change span{display:block;font-size:12px;font-weight:400;color:#8092aa;margin-top:8px}.kg-draft-file{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #e1e9f4;border-radius:10px;margin-top:10px;font-size:12px;color:#6b84a4}.kg-draft-file img{width:64px;height:64px;object-fit:cover;border-radius:7px}.kg-draft-file span{flex:1;overflow-wrap:anywhere}.kg-link-options{display:grid;gap:12px;padding:14px 0;max-height:240px;overflow:auto}.kg-link-options label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;color:#6881a0}.kg-link-options input{width:auto;flex:none;margin-top:4px}.kg-workspace-link h3{font-size:14px;color:#5b7da5;margin:28px 0 16px}.kg-alignment p{line-height:1.9;font-size:12px;color:#6e87a6}.kg-alignment .button{max-width:100%;white-space:normal;text-align:left}@keyframes kg-compose-in{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.kg-composer{animation:none}.kg-card{transition:none}}@media(max-width:600px){.kg-post{padding:16px}.kg-detail-actions,.kg-record-actions>div{gap:10px}.kg-record-actions>div>.button{flex:1 1 100%}.kg-draft-change{font-size:20px}.kg-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}}
