.od-summary{background:linear-gradient(110deg,#e9f1ee,#f5efe1);border:1px solid var(--border,#dbe5df);border-radius:18px;padding:25px;margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:28px}.od-summary h2,.od-lead h2{margin:5px 0 9px}.od-summary p,.od-lead p{margin:0;color:#617b7b}.od-summary-counts{display:flex;gap:28px;flex-shrink:0}.od-summary-counts div{display:flex;flex-direction:column;gap:5px;text-align:center}.od-summary-counts b{font-size:30px;font-weight:600;color:#005561}.od-summary-counts span{font-size:12px;color:#627b78}.od-lead{display:flex;gap:20px;align-items:center;justify-content:space-between}.od-mini-stats{display:flex;gap:18px;color:#617776}.od-mini-stats b{font-size:25px;color:#005561;padding-inline-end:7px}.od-source-notice,.od-period-note{font-size:12px;color:#647b78;line-height:1.8}.od-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:24px 0}.od-project-grid,.od-indicator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.od-project,.od-indicator{background:white;border:1px solid #d8e3df;border-radius:16px;padding:22px;min-width:0}.od-project-top,.od-indicator header{display:flex;align-items:start;justify-content:space-between;gap:14px}.od-project h3,.od-indicator h3{font-size:18px;color:#085765;line-height:1.7;margin:14px 0 10px}.od-indicator h3{margin:0 0 6px}.od-project-kpi{color:#627b79;font-size:13px;line-height:1.8;min-height:44px}.od-project-meta,.od-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.od-project-meta div,.od-detail-grid div{min-width:0}.od-project-meta dt,.od-detail-grid dt{font-size:11px;color:#758986}.od-project-meta dd,.od-detail-grid dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#244e51;font-size:13px;line-height:1.9}.od-project>.button{width:100%;margin-top:16px;justify-content:space-between}.od-reference{margin-top:20px}.od-reference>summary{font-size:16px;font-weight:600;color:#005561;cursor:pointer}.od-reference>p{color:#637c78;font-size:13px}.od-details{border-top:1px solid #e2e9e6;margin-top:16px;padding-top:15px}.od-details>summary{color:#0b6471;font-size:13px;cursor:pointer}.od-source{display:block;color:#7b8e89;font-size:11px;line-height:1.8;margin-top:8px}.od-dialog{max-width:1000px!important;width:calc(100vw - 40px);padding:0!important}.od-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:24px 28px;position:sticky;top:0;background:white;border-bottom:1px solid #dce7e0;z-index:1}.od-dialog-head h2{font-size:22px;margin:6px 0 0}.od-dialog-body{padding:0 28px 26px}.od-description{font-size:15px;line-height:2;white-space:pre-wrap}.od-plan,.od-linked-tasks{margin-top:30px}.od-plan>p{color:#6c817d;font-size:12px}.od-milestones{list-style:none;padding:0;margin:20px 0;counter-reset:stage}.od-milestones li{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:18px 38px 18px 0;position:relative;border-inline-start:2px solid #d7e5dd;counter-increment:stage}.od-milestones li:before{content:counter(stage);position:absolute;inset-inline-start:-14px;top:18px;border-radius:50%;background:#eaf2ed;color:#075b64;width:26px;height:26px;text-align:center;line-height:26px;font-size:12px}.od-milestones b{font-size:14px;color:#244e51;line-height:1.8}.od-milestones p{font-size:12px;color:#718780;margin:5px 0}.od-milestones small,.od-muted{font-size:11px;color:#758880}.od-milestones li>div:last-child{display:flex;align-items:end;flex-direction:column;gap:8px;flex-shrink:0;max-width:180px}.od-linked-task{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 12px;width:100%;border:0;border-bottom:1px solid #e4e9e5;background:white;text-align:right;font:inherit;color:#20545b;cursor:pointer}.od-linked-task span{font-size:14px;line-height:1.8}.od-linked-task small{font-size:11px;color:#6b8179;flex-shrink:0}.od-linked-task:hover{background:#f1f6f2}.od-indicators{margin-top:22px}.od-indicator-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.od-indicator-values div{background:#f6f7f2;border-radius:9px;padding:13px}.od-indicator-values span{display:block;color:#758780;font-size:11px}.od-indicator-values b{display:block;font-size:24px;color:#005561;margin-top:7px;font-weight:500;overflow-wrap:anywhere}.od-note{color:#a15e28;font-size:12px}.od-approved{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.od-approved h4{font-size:13px;color:#005561}.od-approved p,.od-details li{font-size:12px;color:#688078;line-height:2}.od-log-table{font-size:12px}.od-log-table td{max-width:290px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.od-log-table td small{display:block;color:#7b8c85}.od-log-controls{max-width:480px;margin-top:20px}.od-issues{font-size:13px;line-height:1.9;color:#6b6253}.od-issues li{margin-bottom:14px}.od-task-source{font-size:12px;color:#637e78;margin:12px 0}.od-task-source summary{cursor:pointer;color:#0b6670}.od-task-source p{line-height:1.8;white-space:pre-wrap}.wk-import-note{font-size:12px;background:#f3eee0;border-radius:10px;padding:10px 14px;color:#795b32;line-height:1.9}.wk-import-source{font-size:11px;color:#6d817c;line-height:1.8;margin-top:12px}.wk-import-source p{white-space:pre-wrap;max-height:180px;overflow:auto}.wk-import-source summary{cursor:pointer;color:#0a6570}
@media(max-width:1000px){.od-summary{display:block}.od-summary-counts{justify-content:space-around;margin-top:22px}.od-project-grid,.od-indicator-grid{grid-template-columns:1fr}.od-lead{align-items:start;flex-direction:column}}
@media(max-width:600px){.od-filters,.od-project-meta,.od-detail-grid,.od-approved{grid-template-columns:1fr}.od-summary{padding:19px}.od-summary-counts{gap:10px}.od-summary-counts b{font-size:26px}.od-summary-counts span{font-size:10px}.od-project,.od-indicator{padding:18px}.od-dialog{width:calc(100vw - 20px)}.od-dialog-head,.od-dialog-body{padding:18px}.od-dialog-head h2{font-size:18px}.od-milestones li{flex-direction:column;padding-inline-start:24px}.od-milestones li>div:last-child{align-items:start;max-width:100%}.od-linked-task{align-items:start;flex-direction:column;gap:6px}.od-indicator-values{gap:8px}.od-indicator-values b{font-size:21px}}
@media print{.od-task-source,.wk-import-source{display:none}.od-project-grid{grid-template-columns:repeat(2,1fr)}.od-project,.od-indicator{break-inside:avoid}}
/* Direct editing keeps source facts visible without crowding project cards. */
.od-filters{grid-template-columns:2fr 1fr 1fr}.od-lead{flex-wrap:wrap}.od-lead>div:first-child{flex:1;min-width:240px}.od-mini-stats{white-space:nowrap}.od-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.od-card-actions>.button:first-child{flex:1}.od-save-state{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:16px 0 6px}.od-save-state small{color:#718681;font-size:11px;line-height:1.8}.od-original>p{color:#6b817d;font-size:12px;line-height:1.9}.od-original .od-detail-grid{margin:15px 0}.od-edit-title{font-weight:600;color:#005561;background:#edf4ef;border-radius:10px;padding:14px;line-height:1.9}.od-editor{max-width:850px}.od-editor .form-section{margin-top:20px}.od-editor textarea{resize:vertical;min-height:80px}.od-editor .field input,.od-editor .field textarea,.od-editor .field select{width:100%;box-sizing:border-box}.od-milestones .od-save-state{display:block}.od-milestones .od-save-state small{display:block;margin-top:8px}.od-milestones .od-original{max-width:650px}.od-plan>.section-head{align-items:center}.unit-card>.unit-improvement-button{margin-top:8px;border:1px solid #dbe7e0;border-radius:8px;padding:10px 12px;font-size:12px;color:#5b7771;background:#f5f8f5}.tasks-table td:last-child>.button{margin:3px}
@media(max-width:700px){.od-filters{grid-template-columns:1fr}.od-lead>.button{width:100%}.od-card-actions>.button{flex:1 1 45%;justify-content:center}.od-card-actions>.button:first-child{flex-basis:100%}.od-plan>.section-head{align-items:start;gap:12px;flex-wrap:wrap}.od-editor .form-grid{grid-template-columns:1fr}.od-milestones li>div:first-child{width:100%}}
@media print{.od-card-actions,.od-lead>[data-od-create],.unit-improvement-button{display:none!important}}
