.opl-page .back-link { display:inline-block; margin-bottom:16px; color:var(--muted,#71808e); font-size:12px; text-decoration:none; }
.opl-heading { margin-bottom:18px; }
.opl-heading h1 { display:flex; align-items:center; gap:10px; }
.opl-heading h1 .badge { font-size:10px; font-weight:500; }
.opl-heading .page-actions { flex-wrap:wrap; }
.opl-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:22px 0 12px; }
.opl-section-heading > div { display:flex; align-items:baseline; gap:12px; }
.opl-section-heading h2 { margin:0; font-size:15px; }
.opl-section-heading .muted { font-size:11px; }
.opl-filters { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:0 0 12px; }
.opl-filters > select { width:auto; min-width:106px; max-width:175px; height:31px; padding:4px 22px 4px 8px; font-size:11px; }
.opl-filters > .button { min-height:31px; padding:5px 10px; }
.opl-search { width:250px; height:31px; flex:none; }
.opl-search input { font-size:11px; }
.opl-scroll { max-height:calc(100vh - 310px); min-height:160px; border:1px solid var(--line,#dce3e9); background:#fff; }
.opl-table { width:2234px; min-width:2234px; table-layout:fixed; border-collapse:separate; border-spacing:0; }
.opl-table th { height:32px; padding:6px 7px; border-bottom:1px solid #cfd8e1; border-right:1px solid #e2e8ee; font-size:10px; line-height:1.2; vertical-align:middle; background:#f4f6f8; color:#657382; white-space:nowrap; }
.opl-table td { height:33px; padding:2px 6px; border-bottom:1px solid #e2e8ee; border-right:1px solid #e2e8ee; font-size:11px; line-height:1.3; vertical-align:middle; background:#fff; }
.opl-table tr:hover td { background:#fafcfd; }
.opl-table .is-dirty td { background:#fffdf4; }
.opl-table .is-dirty:hover td { background:#fffbed; }
.opl-table th { position:sticky; top:0; z-index:4; }
.opl-table th:first-child,.opl-table td:first-child { position:sticky; left:0; z-index:2; }
.opl-table th:nth-child(2),.opl-table td:nth-child(2) { position:sticky; left:57px; z-index:2; border-right-color:#cbd6e0; }
.opl-table th:last-child,.opl-table td:last-child { position:sticky; right:0; z-index:3; border-left:1px solid #cbd6e0; }
.opl-table th:first-child,.opl-table th:nth-child(2),.opl-table th:last-child { z-index:5; }
.opl-table .opl-cancelled .row-name { color:#82909d; }
.opl-table input[data-opl-field],.opl-table select[data-opl-field] { width:100%; min-width:0; height:27px; margin:0; padding:3px 4px; border:1px solid transparent; border-radius:2px; background:transparent; font-size:11px; line-height:1.3; color:#263440; }
.opl-table select[data-opl-field] { padding-right:17px; }
.opl-table input[data-opl-field]:hover,.opl-table select[data-opl-field]:hover { border-color:#dce4eb; background:#fff; }
.opl-table input[data-opl-field]:focus,.opl-table select[data-opl-field]:focus { border-color:#93a5b6; outline:1px solid #93a5b6; outline-offset:-1px; background:#fff; }
.opl-table input[data-opl-field]:disabled,.opl-table select[data-opl-field]:disabled { opacity:1; cursor:default; color:#425463; -webkit-text-fill-color:#425463; }
.opl-table .opl-finish-date input:disabled { color:#8d99a5; -webkit-text-fill-color:#8d99a5; }
.opl-table input[type=number] { appearance:textfield; }
.opl-table input[type=number]::-webkit-inner-spin-button,.opl-table input[type=number]::-webkit-outer-spin-button { appearance:none; margin:0; }
.opl-table .row-name { display:block; width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:11px; }
.opl-number { width:57px; }
.opl-task-name { width:330px; }
.opl-person { width:178px; }
.opl-open-date { width:98px; }
.opl-required-date { width:165px; }
.opl-finish-date { width:123px; }
.opl-status { width:114px; }
.opl-priority { width:87px; }
.opl-categories { width:164px; }
.opl-signal { width:103px; }
.opl-report { width:137px; }
.opl-documents { width:262px; }
.opl-comments { width:210px; }
.opl-save { width:106px; }
.opl-table th.opl-number,.opl-table td.opl-number { text-align:center; }
.opl-number-link { border:0; padding:3px 4px; background:none; color:#5d7185; cursor:pointer; font:inherit; }
.opl-number-link:hover { text-decoration:underline; }
.opl-required-mark { color:#e30613; }
.opl-date-control { display:flex; align-items:center; gap:3px; }
.opl-date-control input { flex:1; }
.opl-history-count { display:flex; align-items:center; justify-content:center; gap:3px; min-width:28px; height:22px; border:1px solid transparent; border-radius:2px; background:#f1f4f7; color:#687a8a; font-family:inherit; font-size:10px; cursor:pointer; }
.opl-history-count:hover { border-color:#c3ced8; color:#263440; }
.opl-history-count.many-changes { color:#9a5b00; background:#fff2d9; }
.opl-category-button { display:flex; align-items:center; justify-content:space-between; gap:4px; width:100%; min-height:25px; padding:3px 4px; border:1px solid transparent; border-radius:2px; background:transparent; color:#425463; font:inherit; cursor:pointer; }
.opl-category-button > span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.opl-category-button:hover { border-color:#dce4eb; background:#fff; }
.opl-table .badge { padding:3px 5px; font-size:10px; }
.opl-table .inline-files { display:flex; flex-wrap:nowrap; align-items:center; gap:5px; max-height:28px; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; }
.opl-table .file-chip { flex:none; max-width:150px; min-height:24px; padding:3px 5px; font-size:10px; }
.opl-table .file-chip > span { max-width:120px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.opl-upload { flex:none; min-height:23px; padding:3px 6px; font-size:10px; cursor:pointer; }
.opl-upload input { position:absolute; inset:0; display:block; width:100%; height:100%; opacity:0; cursor:pointer; }
.opl-inline-comments { display:flex; align-items:center; gap:4px; }
.opl-inline-comments > input { flex:1; }
.opl-inline-comments > span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#687a8a; }
.opl-comment-count { display:flex; flex:none; align-items:center; justify-content:center; gap:3px; padding:3px 4px; height:22px; min-width:27px; border:1px solid #dce4eb; border-radius:2px; background:#fff; color:#617383; font-size:10px; cursor:pointer; }
.opl-comment-count:hover { border-color:#93a5b6; color:#263440; }
.opl-save { white-space:nowrap; }
.opl-table .row-save { display:inline-flex; align-items:center; gap:3px; height:25px; min-height:25px; padding:3px 6px; font-size:10px; }
.opl-table .opl-discard { display:inline-flex; width:21px; height:23px; padding:3px; margin-left:2px; }
.opl-table .opl-empty { padding:22px; text-align:center; color:#71808e; }
.opl-empty-list { padding:36px 22px; border:1px solid #dce3e9; background:#fff; text-align:center; }
.opl-empty-list h3 { margin:0 0 9px; font-size:15px; }
.opl-empty-list p { max-width:500px; margin:0 auto 16px; color:#71808e; font-size:12px; line-height:1.6; }
.opl-table-note { display:flex; justify-content:space-between; gap:16px; margin-top:10px; font-size:10px; color:#71808e; }
.opl-inactive,.opl-draft-notice { margin-bottom:14px; font-size:12px; }
.opl-item-fields { min-width:0; margin:0; padding:0; border:0; }
.opl-item-fields .form-grid { margin-bottom:15px; }
.opl-task-description { padding:8px 10px; border:1px solid #dce3e9; border-radius:3px; background:#f7f9fa; font-size:13px; white-space:pre-wrap; }
.opl-category-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 14px; margin:14px 0 20px; padding:0; border:0; }
.opl-category-options legend { padding:0; margin-bottom:10px; color:#52616e; font-size:12px; font-weight:600; }
.opl-category-options label { display:flex; align-items:center; justify-content:flex-start; gap:8px; min-height:27px; font-size:12px; color:#354552; cursor:pointer; }
.opl-category-options input[type=checkbox] { flex:0 0 14px; width:14px; height:14px; min-height:14px; margin:0; padding:0; accent-color:#e30613; }
.opl-date-change-summary { display:flex; align-items:center; justify-content:center; gap:24px; padding:16px 12px; margin:0 0 20px; border:1px solid #e0e6eb; background:#f7f9fb; }
.opl-date-change-summary div { display:flex; flex-direction:column; gap:6px; }
.opl-date-change-summary div > span { color:#71808e; font-size:11px; }
.opl-date-change-summary strong { font-size:15px; }
.opl-drawer-files { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:16px; }
.opl-drawer-files .file-chip { max-width:calc(100% - 45px); }
.opl-drawer-files .file-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.opl-remove-file { width:21px; height:25px; padding:4px; margin-left:-5px; }
.opl-comment-history article { padding:12px 0; border-bottom:1px solid #e4e9ee; }
.opl-comment-history article > div { display:flex; align-items:baseline; gap:12px; font-size:12px; }
.opl-comment-history article time { margin-left:auto; color:#71808e; font-size:10px; }
.opl-comment-history article p,.opl-history-list p { margin:7px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.6; }
.opl-deadline-history { scroll-margin-top:14px; }
.opl-history-summary { display:flex; flex-wrap:wrap; gap:12px 24px; margin:12px 0 18px; }
.opl-history-summary > span { display:flex; flex-direction:column; gap:5px; color:#71808e; font-size:11px; }
.opl-history-summary strong { color:#354552; font-size:12px; }
.opl-history-list { margin:0; padding:0; list-style:none; }
.opl-history-list li { padding:12px 0; border-bottom:1px solid #e4e9ee; }
.opl-history-list li > div { display:flex; flex-direction:column; gap:5px; font-size:12px; }
.opl-history-list li > div > span { color:#71808e; font-size:10px; }
@media(max-width:900px) { .opl-heading { align-items:flex-start; flex-direction:column; } .opl-table-note { flex-direction:column; gap:4px; } .opl-scroll { max-height:65vh; } .opl-filters > select { flex:1; max-width:none; } .opl-search { flex:1 0 230px; } }
@media(max-width:760px) { .opl-table td:first-child,.opl-table td:nth-child(2) { position:static; } .opl-table th:first-child,.opl-table th:nth-child(2) { left:auto; } }
.opl-table .row-name{white-space:normal;text-overflow:clip;overflow:visible;overflow-wrap:anywhere;line-height:1.4}.opl-table .opl-task-name>div{align-items:flex-start}

.opl-table textarea[data-opl-field=name]{width:100%;min-height:27px;padding:3px 4px;border:1px solid transparent;resize:none;overflow:hidden;background:transparent;font-size:11px;line-height:1.4;border-radius:2px;white-space:pre-wrap;overflow-wrap:anywhere}.opl-table textarea[data-opl-field=name]:focus{border-color:#93a5b6;outline:1px solid #93a5b6}.phase-review-opl .opl-page .back-link{display:none}
.opl-add-footer{padding:8px 0}.opl-new-row-form{margin:0;padding:0;min-height:0}.opl-new-row-form>.inline-new-error{display:block;color:#b62335;padding:5px}.opl-table tr[data-inline-new] input,.opl-table tr[data-inline-new] select{width:100%;min-width:80px;font-size:11px;height:29px}.opl-table tr[data-inline-new] select[multiple]{height:55px}.opl-table tr[data-inline-new]{background:#fffdf1}
