@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(vendor/fonts/roboto-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(vendor/fonts/roboto-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(vendor/fonts/roboto-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(vendor/fonts/roboto-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(vendor/fonts/roboto-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(vendor/fonts/roboto-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(vendor/fonts/roboto-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(vendor/fonts/roboto-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(vendor/fonts/roboto-latin-900-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(vendor/fonts/roboto-cyrillic-900-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* Layout and component values from the supplied admin/admin-app.php. */
:root{--pk-orange:#ff4b00;--pk-orange-dark:#df4200;--pk-text:#18202f;--pk-muted:#6f7787;--pk-line:#e3e7ee;--pk-bg:#f3f5f8;--pk-panel:#fff;--pk-soft:#f7f8fa;--pk-green:#147b59;--pk-green-bg:#eaf8f2;--pk-amber:#a95c00;--pk-amber-bg:#fff2df;--pk-blue:#426d9f;--pk-blue-bg:#edf3fb;--pk-orange-soft:#fff0e9;--pk-shadow:0 8px 28px rgba(25,36,54,.08)}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{min-height:100%;margin:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--pk-text);background:var(--pk-bg);font-size:16px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ff9b70;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}svg{width:18px;height:18px;flex-shrink:0}
#pk-prototype{min-height:100vh;color-scheme:light}
.pk-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);transition:grid-template-columns .2s ease}
.pk-sidebar{background:#18202b;color:#dce3ed;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:hidden}
.pk-brand{height:74px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.09);gap:12px;flex-shrink:0}
.pk-brand span{background:var(--pk-orange);color:#fff;padding:8px 12px;border-radius:7px;transform:skew(-7deg);font-size:18px;font-weight:900}
.pk-brand b{font-weight:750;font-size:16px;line-height:1.25}
.pk-nav-caption{padding:22px 22px 9px;color:#7f8a9a;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.pk-sidebar nav{display:grid;gap:5px;padding:0 12px}
.pk-sidebar nav button{border:0;background:transparent;color:#cdd5e0;text-align:left;padding:12px 14px;border-radius:8px;display:flex;align-items:center;gap:11px;font-weight:650;white-space:nowrap;font-size:16px}
.pk-sidebar nav button:hover{background:rgba(255,255,255,.06)}.pk-sidebar nav button.active{background:var(--pk-orange);color:#fff}.pk-sidebar nav svg{width:20px;height:20px}
.pk-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:17px 20px;color:#8e99aa;font-size:13px}
.pk-workspace{min-width:0}.pk-topbar{height:74px;background:#fff;border-bottom:1px solid var(--pk-line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20;gap:16px}.pk-topbar>div{display:flex;align-items:center;gap:12px;min-width:0}.pk-topbar strong{font-size:21px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pk-icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--pk-line);border-radius:8px;background:#fff;color:#263043;padding:7px;min-width:34px;min-height:34px}.pk-icon:hover{background:#f7f8fa}#pk-menu{width:42px;height:42px;border-radius:9px;flex:0 0 auto}.pk-prototype-label{display:inline-flex;align-items:center;gap:8px;color:var(--pk-muted);font-size:14px}.pk-live-dot{width:9px;height:9px;border-radius:50%;background:#20b486;display:inline-block}.pk-avatar{border:1px solid var(--pk-line);background:#fff;color:#273042;padding:9px 13px;border-radius:8px;font-weight:700;font-size:16px}
#pk-content{padding:24px 28px 32px;min-height:calc(100vh - 130px)}.pk-footnote{padding:0 28px 20px;color:var(--pk-muted);font-size:12px}.pk-footnote a:hover{color:var(--pk-orange)}
.pk-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.pk-heading h1{font-size:25px;font-weight:800;line-height:1.25}.pk-subtitle{color:var(--pk-muted);font-size:13px;line-height:1.5;margin-top:5px}.pk-eyebrow{font-size:12px;color:var(--pk-muted);margin-bottom:5px}.pk-small{font-size:13px;color:var(--pk-muted)}
.pk-stats{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin-bottom:18px}.pk-stat{background:#fff;border:1px solid var(--pk-line);border-radius:12px;padding:18px 20px;box-shadow:var(--pk-shadow)}.pk-stat span{color:var(--pk-muted);font-size:14px;display:block;margin-bottom:8px}.pk-stat strong{font-size:28px;font-weight:850;line-height:1.2}
.pk-panel{background:#fff;border:1px solid var(--pk-line);border-radius:13px;box-shadow:var(--pk-shadow);overflow:hidden;margin-bottom:18px}.pk-panel-head{min-height:62px;border-bottom:1px solid var(--pk-line);display:flex;align-items:center;justify-content:space-between;padding:10px 18px;gap:16px;flex-wrap:wrap}.pk-panel-head h2,h2{font-size:17px;font-weight:800}.pk-panel-body{padding:20px 24px}.pk-panel-body p+p{margin-top:12px}
.pk-button{border:1px solid var(--pk-line);background:#fff;color:#273042;padding:9px 13px;border-radius:8px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;min-height:40px;white-space:nowrap}.pk-button:hover{background:#f7f8fa}.pk-primary{border-color:var(--pk-orange);background:var(--pk-orange);color:#fff}.pk-primary:hover{background:var(--pk-orange-dark)}.pk-extra-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.pk-text-button{border:0;background:none;padding:0;color:var(--pk-text);text-align:left;font-weight:650;font-size:inherit}.pk-text-button:hover{color:var(--pk-orange)}
input,select,textarea{width:100%;min-width:0;border:1px solid #d6dbe4;border-radius:8px;padding:0 12px;outline:0;background:#fff;color:var(--pk-text);font-size:14px;height:42px}textarea{height:auto;min-height:96px;padding:10px 11px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--pk-orange);box-shadow:0 0 0 3px rgba(255,75,0,.11)}input::placeholder{color:#8a909a}
.pk-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;align-items:end;padding:18px 18px 16px}.pk-filters label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#5d6573;min-width:0}.pk-filters .pk-button{height:42px}.pk-filter-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:0 18px 16px}.pk-filter-bottom>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.pk-sort-select{width:155px;margin-left:6px;height:36px;font-size:12px}.pk-switch{display:inline-flex;padding:4px;border:1px solid var(--pk-line);border-radius:9px;background:#f7f8fa}.pk-switch button{border:0;background:none;padding:7px 12px;color:var(--pk-muted);font-weight:700;border-radius:6px;font-size:13px}.pk-switch button.active{background:#fff;color:var(--pk-text);box-shadow:0 1px 4px #19243620}.pk-range{display:flex;align-items:center;gap:8px;color:#5f6775;font-size:13px;white-space:nowrap}.pk-range .pk-icon{min-width:32px;min-height:32px;padding:5px}.pk-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}.pk-search{max-width:360px}.pk-filter{max-width:220px}.pk-check{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--pk-muted)}.pk-check input{width:16px;height:16px;accent-color:var(--pk-orange)}
.pk-scroll{overflow:auto;overscroll-behavior-x:contain}.pk-panel>.pk-scroll{margin:0 18px 16px;border:1px solid var(--pk-line);border-radius:10px}table{width:100%;border-collapse:collapse;min-width:700px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--pk-line);font-size:14px;vertical-align:middle}th{background:#f7f8fa;color:#5f6775;font-size:12px;text-transform:uppercase;font-weight:750;white-space:nowrap}tbody tr:hover{background:#fff8f4}tbody tr:last-child td{border-bottom:0}.pk-cell-title{display:block;margin:3px 0;font-weight:700}.pk-pill{display:inline-flex;padding:4px 8px;border-radius:99px;background:#f0f1f4;color:#6b7280;font-size:12px;white-space:nowrap;line-height:1.3}.pk-pill.green{background:var(--pk-green-bg);color:var(--pk-green)}.pk-pill.amber{background:var(--pk-amber-bg);color:var(--pk-amber)}.pk-pill.blue{background:var(--pk-blue-bg);color:var(--pk-blue)}.pk-pills{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.pk-progress{height:5px;min-width:65px;background:#edf0f4;border-radius:4px;overflow:hidden;margin-top:6px}.pk-progress span{display:block;height:100%;background:#20b486}
/* Dense planning rows; sidebar, controls and typography match PIM. */
.pk-gantt{min-width:860px;background:#fff}.pk-gantt-row{display:grid;grid-template-columns:minmax(290px,1.3fr) 112px minmax(440px,2fr);min-height:38px;border-bottom:1px solid var(--pk-line);align-items:stretch}.pk-gantt-row:last-child{border-bottom:0}.pk-gantt-row:hover{background:#fff8f4}.pk-gantt-label{display:flex;align-items:center;gap:8px;padding:7px 12px;min-width:0}.pk-gantt-label .pk-text-button{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.pk-gantt-label small{font-size:11px;color:var(--pk-muted);margin-left:auto;flex-shrink:0}.pk-gantt-status{display:flex;align-items:center;padding:4px 8px;border-left:1px solid var(--pk-line)}.pk-gantt-status .pk-pill{font-size:11px}.pk-gantt-grid{position:relative;display:grid;grid-template-columns:repeat(var(--cols),1fr);border-left:1px solid var(--pk-line);min-width:0}.pk-grid-cell{border-right:1px solid var(--pk-line);min-height:37px}.pk-grid-cell:last-child{border:0}.pk-grid-today{background:#fff5ed}.pk-gantt-head{background:#f7f8fa;color:#5f6775;font-weight:750;font-size:12px;min-height:54px}.pk-gantt-head .pk-gantt-label,.pk-gantt-head .pk-gantt-status{text-transform:uppercase}.pk-gantt-head .pk-gantt-grid>span{padding:8px 3px;text-align:center;border-right:1px solid var(--pk-line);display:flex;flex-direction:column;gap:4px;justify-content:center}.pk-gantt-head small{font-size:11px;color:var(--pk-muted);font-weight:400}.pk-gantt-group{background:#f3f5f8;font-weight:750}.pk-gantt-group .pk-text-button{font-weight:750}.pk-gantt-task .pk-gantt-label{padding-left:36px}.pk-gantt-task .pk-text-button{font-weight:400}.pk-gantt-toggle{border:0;background:none;color:var(--pk-muted);padding:0;width:16px;flex:0 0 16px;font-size:14px}.pk-gantt-bar{position:absolute;left:calc(var(--left)*1% + 3px);width:calc(var(--width)*1% - 6px);top:50%;transform:translateY(-50%);height:20px;border:1px solid #f5ad78;border-radius:4px;background:#ffba85;color:#713907;font-size:11px;padding:1px 7px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:3px}.pk-gantt-bar.blue{background:#b8d1ed;border-color:#a0bfdf;color:#254f7c}.pk-gantt-bar.green{background:#9ed7c3;border-color:#84c8af;color:#1c664d}.pk-gantt-bar.amber{background:#f6dda0;border-color:#ead08f;color:#77581a}.pk-gantt-task .pk-gantt-bar{height:16px}.pk-gantt-group .pk-gantt-bar{height:10px}.pk-gantt-legend{padding:0 18px 14px;display:flex;gap:18px;flex-wrap:wrap;color:var(--pk-muted);font-size:12px}.pk-gantt-legend span{display:inline-flex;gap:7px;align-items:center}.pk-gantt-legend i{display:inline-block;width:12px;height:8px;border-radius:2px}.pk-gantt-note,.pk-table-foot,.pk-inline-note{padding:12px 18px;font-size:12px;color:var(--pk-muted);border-top:1px solid var(--pk-line);line-height:1.5}
.pk-back{display:inline-flex;gap:7px;align-items:center;border:0;background:none;color:var(--pk-muted);padding:0;margin-bottom:12px;font-size:13px}.pk-back:hover{color:var(--pk-orange)}.pk-meta{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--pk-muted);margin-bottom:18px}.pk-tabs{display:flex;gap:24px;border-bottom:1px solid var(--pk-line);margin-bottom:18px;overflow:auto}.pk-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 0;white-space:nowrap;color:var(--pk-muted);font-weight:700;font-size:14px}.pk-tabs button.active{color:var(--pk-orange);border-bottom-color:var(--pk-orange)}.pk-goal{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--pk-line);border-left:3px solid var(--pk-orange);border-radius:10px;padding:16px 18px;margin-bottom:18px;font-size:14px;line-height:1.5}.pk-goal svg{color:var(--pk-orange)}.pk-goal strong{display:block;margin-bottom:4px}.pk-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pk-link-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--pk-line);font-size:14px}.pk-link-row:last-child{border:0}.pk-link-row strong{text-align:right}
.pk-stage{background:#fff;border:1px solid var(--pk-line);border-radius:10px;margin-bottom:12px;overflow:hidden}.pk-stage summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:12px 18px;gap:16px;cursor:pointer}.pk-stage summary::-webkit-details-marker{display:none}.pk-stage-title{display:flex;align-items:center;gap:10px;font-size:14px}.pk-chevron{font-size:22px;color:var(--pk-muted);transition:transform .15s}.pk-stage[open] .pk-chevron{transform:rotate(90deg)}.pk-stage[open] summary{border-bottom:1px solid var(--pk-line)}.pk-stage-right{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--pk-muted)}.pk-task-row{display:grid;grid-template-columns:20px minmax(180px,1fr) 130px 150px 28px;gap:12px;align-items:center;padding:9px 18px;border-bottom:1px solid var(--pk-line)}.pk-task-row:last-child{border:0}.pk-task-row:hover{background:#fff8f4}.pk-task-state{width:18px;height:18px;border:1px solid #bcc5d1;border-radius:4px;background:#fff;color:#147b59;padding:0;font-size:12px}.pk-task-state.done{background:var(--pk-green-bg);border-color:#20b486}.pk-task-name{border:0;background:none;text-align:left;padding:0;font-size:14px;line-height:1.4;color:var(--pk-text)}.pk-task-name:hover{color:var(--pk-orange)}.pk-add-row{display:flex;gap:16px;align-items:center;padding:10px 18px;background:#fafbfc;border-top:1px solid var(--pk-line)}
.pk-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pk-product{background:#fff;border:1px solid var(--pk-line);border-radius:13px;box-shadow:var(--pk-shadow);padding:22px}.pk-product-icon{width:40px;height:40px;background:var(--pk-orange-soft);color:var(--pk-orange);border-radius:9px;display:grid;place-items:center;margin-bottom:16px}.pk-product-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--pk-line);margin-top:18px;padding-top:14px}.pk-product .pk-pills{margin-top:14px}.pk-report-list{display:grid;gap:14px}.pk-report-option{display:flex;gap:18px;align-items:center;text-align:left;padding:22px 24px;border:1px solid var(--pk-line);background:#fff;border-radius:13px;box-shadow:var(--pk-shadow);color:var(--pk-text)}.pk-report-option>svg{color:var(--pk-orange);width:24px;height:24px}.pk-report-option:hover{border-color:#f4b799}.pk-empty{padding:35px;text-align:center;color:var(--pk-muted);font-size:14px;line-height:1.6}
/* Full-height edit panel, matching the PIM modal. */
#pk-overlay{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end;align-items:stretch;padding:0;background:rgba(15,23,42,.48);backdrop-filter:blur(1px)}.pk-drawer{width:33.333vw;min-width:520px;max-width:720px;height:100dvh;background:#fff;box-shadow:-18px 0 50px rgba(15,23,42,.2);display:flex;flex-direction:column;overflow:hidden;animation:panel-show .24s ease}.pk-drawer-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid var(--pk-line)}.pk-drawer-head h2{font-size:22px;line-height:1.25}.pk-drawer-head .pk-icon{width:38px;height:38px;background:#f2f4f7;border:0;border-radius:9px}.pk-form{display:flex;flex:1;min-height:0;flex-direction:column}.pk-form-body{flex:1;min-height:0;overflow:auto;padding:20px 24px 28px;display:flex;flex-direction:column;gap:16px}.pk-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#5d6573}.pk-field input,.pk-field select,.pk-field textarea{font-size:14px;font-weight:400;color:var(--pk-text)}.pk-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pk-form-actions{flex:0 0 auto;display:flex;justify-content:flex-end;gap:9px;padding:15px 24px;border-top:1px solid var(--pk-line);background:#fff;box-shadow:0 -8px 24px rgba(25,36,54,.05)}.pk-form-note{font-size:12px;color:var(--pk-muted);line-height:1.5;padding:12px;background:#f7f8fa;border-radius:8px}#pk-toast{position:fixed;bottom:24px;right:24px;z-index:150;background:#18202f;color:white;padding:14px 18px;box-shadow:var(--pk-shadow);border-radius:9px;font-size:14px;max-width:min(520px,90vw);display:none;pointer-events:none}body.pk-modal-open{overflow:hidden}
.pk-shell.pk-collapsed{grid-template-columns:80px minmax(0,1fr)}.pk-collapsed .pk-brand{justify-content:center;padding:0}.pk-collapsed .pk-brand span{width:46px;height:42px;padding:0;display:grid;place-items:center;font-size:0}.pk-collapsed .pk-brand span:after{content:'PK';font-size:16px;font-weight:900}.pk-collapsed .pk-brand b,.pk-collapsed .pk-nav-caption,.pk-collapsed .pk-nav-text,.pk-collapsed .pk-sidebar-foot{display:none}.pk-collapsed nav{padding:12px}.pk-collapsed nav button{justify-content:center;padding:12px}
@keyframes panel-show{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:1250px){.pk-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.pk-gantt-row{grid-template-columns:290px 112px minmax(440px,1fr)}.pk-task-row{grid-template-columns:20px minmax(180px,1fr) 120px 28px}.pk-owner{display:none}}
@media(max-width:1100px){.pk-shell{grid-template-columns:80px minmax(0,1fr)}.pk-brand{justify-content:center;padding:0}.pk-brand span{width:46px;height:42px;padding:0;display:grid;place-items:center;font-size:0}.pk-brand span:after{content:'PK';font-size:16px;font-weight:900}.pk-brand b,.pk-nav-caption,.pk-nav-text,.pk-sidebar-foot{display:none}.pk-sidebar nav{padding:12px}.pk-sidebar nav button{justify-content:center;padding:12px}.pk-two{grid-template-columns:1fr}}
@media(max-width:700px){.pk-shell,.pk-shell.pk-collapsed{display:block}.pk-sidebar{height:auto;position:static}.pk-brand{display:none}.pk-sidebar nav{display:flex;overflow-x:auto;padding:8px;gap:4px}.pk-sidebar nav button{flex:1;padding:10px}.pk-collapsed .pk-sidebar{display:none}.pk-topbar{padding:0 16px;height:64px}.pk-topbar strong{font-size:18px}.pk-prototype-label{display:none}#pk-content{padding:18px 14px 24px}.pk-stats{grid-template-columns:1fr;gap:10px}.pk-stat{padding:14px 18px;display:flex;align-items:center;justify-content:space-between}.pk-stat span{margin:0}.pk-stat strong{font-size:24px}.pk-filters{grid-template-columns:1fr 1fr;padding:14px}.pk-filters label:first-child{grid-column:1/-1}.pk-panel>.pk-scroll{margin:0 14px 14px}.pk-heading{flex-wrap:wrap}.pk-heading h1{font-size:23px}.pk-product-grid{grid-template-columns:1fr}.pk-drawer{width:100%;min-width:0;max-width:none}.pk-form-row{grid-template-columns:1fr}.pk-form-body{padding:18px}.pk-task-row{grid-template-columns:20px minmax(140px,1fr) 28px;gap:8px;padding:10px 14px}.pk-task-row>.pk-pill{display:none}.pk-stage-right .pk-pill{display:none}.pk-footnote{padding:0 16px 20px}.pk-avatar{font-size:13px}.pk-filter-bottom{padding:0 14px 14px}.pk-tabs{gap:18px}}
@media(prefers-reduced-motion:reduce){.pk-shell{transition:none}.pk-drawer{animation:none}}

/* V3: full-height planning workspace and a scrollable tree timeline. */
.pk-planning .pk-shell{height:100dvh;overflow:hidden}.pk-planning .pk-workspace{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.pk-planning .pk-topbar{height:52px;min-height:52px;padding:0 16px;flex:0 0 52px;position:relative}.pk-planning .pk-topbar strong{font-size:18px}.pk-planning #pk-menu{width:32px;height:32px;min-height:32px}.pk-planning .pk-avatar{padding:5px 9px;font-size:13px}.pk-planning .pk-prototype-label{font-size:12px}.pk-planning .pk-brand{height:52px;padding:0 16px}.pk-planning .pk-brand span{font-size:16px;padding:6px 10px}.pk-planning .pk-brand b{font-size:13px}.pk-planning .pk-nav-caption{padding-top:16px}.pk-planning #pk-content{display:flex;flex-direction:column;flex:1;min-height:0;padding:10px 12px 12px;gap:7px;overflow:hidden}.pk-planning .pk-footnote{display:none}
.pk-plan-surface{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff;border:1px solid var(--pk-line);border-radius:10px;overflow:visible}.pk-plan-tools{display:flex;align-items:center;gap:8px;padding:7px 10px;min-height:48px;flex-shrink:0;flex-wrap:wrap}.pk-plan-tools .pk-button,.pk-plan-tools input{height:32px;min-height:32px;padding:5px 9px;font-size:12px}.pk-plan-tools input{width:180px}.pk-plan-tools svg{width:15px;height:15px}.pk-plan-tools .pk-switch{padding:2px;border-radius:7px}.pk-plan-tools .pk-switch button{padding:5px 9px;font-size:12px;white-space:nowrap}.pk-tools-spacer{flex:1}.pk-plan-caption{font-size:12px;font-weight:650;color:var(--pk-muted)}.pk-plan-context{display:flex;align-items:center;gap:10px;min-height:32px;font-size:14px;flex-shrink:0}.pk-plan-context .pk-button{min-height:28px;height:28px;padding:4px 7px}.pk-plan-context strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pk-project-tabs{display:flex;gap:18px;flex-shrink:0;border-bottom:1px solid var(--pk-line)}.pk-project-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--pk-muted);font-size:12px;font-weight:650;padding:6px 0;white-space:nowrap}.pk-project-tabs button.active{border-color:var(--pk-orange);color:var(--pk-orange)}
.pk-plan-filters{display:flex;gap:8px;padding:0 10px 8px;align-items:center;flex-wrap:wrap;flex-shrink:0}.pk-plan-filters select{width:150px;height:30px;font-size:12px;padding:3px 8px}.pk-plan-filters .pk-button{min-height:30px;padding:4px 8px;font-size:12px}.pk-plan-filters .pk-small{font-size:12px}
.pk-period-picker{position:relative;font-size:12px;flex-shrink:0}.pk-period-picker summary{display:flex;gap:6px;align-items:center;list-style:none;cursor:pointer;height:32px;padding:5px 9px;border:1px solid var(--pk-line);border-radius:8px}.pk-period-picker summary::-webkit-details-marker{display:none}.pk-period-picker[open] summary{border-color:#ffb593;background:#fff5ef}.pk-period-picker form{position:absolute;top:38px;right:0;width:292px;background:#fff;border:1px solid var(--pk-line);border-radius:10px;padding:16px;box-shadow:0 12px 40px #18202b30;z-index:60;display:grid;gap:12px}.pk-period-picker label{display:grid;gap:5px;font-weight:650}.pk-period-picker form input{width:100%;height:36px}.pk-period-picker small{font-size:11px;color:var(--pk-muted);line-height:1.5}.pk-period-error{color:#b34020;font-size:12px}
.pk-timeline-scroll{position:relative;overflow:auto;flex:1;min-height:0;border-top:1px solid var(--pk-line);border-bottom:1px solid var(--pk-line);overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto}.pk-timeline-scroll::-webkit-scrollbar{width:12px;height:12px}.pk-timeline-scroll::-webkit-scrollbar-thumb{background:#b8c0cb;border:2px solid #f2f4f7;border-radius:7px}.pk-timeline-scroll::-webkit-scrollbar-track{background:#f2f4f7}.pk-timeline-scroll .pk-gantt{width:calc(352px + 112px + var(--timeline-width));min-width:100%}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:352px 112px minmax(0,1fr);min-height:34px;--row-bg:#fff;background:var(--row-bg)}.pk-timeline-scroll .pk-gantt-row:hover{--row-bg:#fff8f4}.pk-timeline-scroll .pk-gantt-label{position:sticky;left:0;z-index:4;background:var(--row-bg);padding:5px 58px 5px calc(8px + var(--depth,0)*16px);gap:5px;box-shadow:1px 0 0 var(--pk-line)}.pk-timeline-scroll .pk-gantt-label>.pk-text-button{font-size:12px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}.pk-timeline-scroll .pk-gantt-status{position:sticky;left:352px;z-index:4;background:var(--row-bg);box-shadow:2px 0 4px #18202b0b}.pk-timeline-scroll .pk-gantt-head{position:sticky;top:0;z-index:10;--row-bg:#f7f8fa;min-height:43px;font-size:11px}.pk-timeline-scroll .pk-gantt-head .pk-gantt-label{font-size:11px;padding-left:12px;padding-right:6px}.pk-timeline-scroll .pk-gantt-head .pk-gantt-label,.pk-timeline-scroll .pk-gantt-head .pk-gantt-status{z-index:12}.pk-timeline-scroll .pk-gantt-head .pk-gantt-grid>span{padding:5px 3px;gap:2px}.pk-timeline-scroll .pk-grid-cell{min-height:33px}.pk-timeline-scroll .pk-gantt-bar{height:18px;font-size:10px}.pk-timeline-scroll .pk-tree-product{--row-bg:#e9eff6}.pk-timeline-scroll .pk-tree-version{--row-bg:#f4f6f9}.pk-timeline-scroll .pk-tree-product .pk-text-button,.pk-timeline-scroll .pk-tree-version .pk-text-button{font-weight:750}.pk-timeline-scroll .pk-tree-task .pk-text-button{font-weight:400}.pk-timeline-scroll .pk-tree-task .pk-gantt-bar{height:14px}.pk-tree-spacer{width:16px;flex:0 0 16px}.pk-row-actions{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;gap:2px;opacity:0;pointer-events:none;background:var(--row-bg);border-radius:5px}.pk-gantt-row:hover .pk-row-actions,.pk-gantt-row:focus-within .pk-row-actions{opacity:1;pointer-events:auto}.pk-row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:0;width:25px;height:25px;background:#fff;border:1px solid #d8dee7;border-radius:5px;color:#596779;padding:2px}.pk-row-actions button:hover{border-color:var(--pk-orange);color:var(--pk-orange);background:#fff1e9}.pk-row-actions svg{width:13px;height:13px}.pk-row-actions span{font-size:11px;font-weight:800}.pk-plan-foot{display:flex;justify-content:space-between;gap:12px;padding:5px 10px;color:var(--pk-muted);font-size:11px;min-height:25px;flex-shrink:0;flex-wrap:wrap}
@media(hover:none){.pk-row-actions{opacity:1;pointer-events:auto}}
@media(max-width:1100px){.pk-planning .pk-brand span{font-size:0;padding:0}.pk-plan-tools input{width:140px}.pk-plan-caption{display:none}}
@media(max-width:700px){.pk-planning .pk-shell{height:100dvh;display:flex;flex-direction:column}.pk-planning .pk-sidebar{flex-shrink:0}.pk-planning .pk-workspace{height:auto;min-height:0;flex:1}.pk-planning #pk-content{padding:6px;gap:5px}.pk-plan-tools{gap:5px;padding:6px}.pk-plan-tools input{width:120px}.pk-plan-tools .pk-tools-spacer{display:none}.pk-plan-context .pk-small{display:none}.pk-timeline-scroll .pk-gantt{width:calc(220px + 90px + var(--timeline-width))}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:220px 90px minmax(0,1fr)}.pk-timeline-scroll .pk-gantt-status{left:220px}.pk-timeline-scroll .pk-gantt-label{padding-left:calc(4px + var(--depth,0)*10px)}.pk-plan-foot span:last-child{display:none}.pk-period-picker form{position:fixed;top:160px;left:50%;right:auto;transform:translateX(-50%);width:min(300px,90vw)}}
.pk-planning .pk-collapsed .pk-brand span{font-size:0;padding:0}
/* V4: readable text, stable project tabs, quick inline creation. */
.pk-timeline-scroll .pk-gantt-label>.pk-text-button{font-size:14px}.pk-timeline-scroll .pk-gantt-row{min-height:38px}.pk-timeline-scroll .pk-grid-cell{min-height:37px}.pk-timeline-scroll .pk-gantt-head,.pk-timeline-scroll .pk-gantt-head .pk-gantt-label{font-size:12px}.pk-timeline-scroll .pk-gantt-head small{font-size:12px}.pk-timeline-scroll .pk-gantt-status .pk-pill{font-size:12px}.pk-plan-tools .pk-button,.pk-plan-tools input,.pk-plan-tools .pk-switch button,.pk-period-picker,.pk-project-tabs button,.pk-plan-caption{font-size:13px}.pk-plan-context{font-size:16px}.pk-plan-foot{font-size:12px}.pk-project-body{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding:0 0 12px}.pk-project-body>.pk-toolbar{margin:0 0 12px}.pk-project-body .pk-stage{flex-shrink:0}.pk-planning .pk-plan-context{height:34px;min-height:34px}.pk-planning .pk-project-tabs{height:33px;min-height:33px;align-items:stretch}.pk-project-tabs button{padding:6px 0}.pk-quick-row{--row-bg:#fff4eb!important}.pk-timeline-scroll .pk-quick-row .pk-gantt-label{padding-right:6px;gap:4px}.pk-quick-row input{width:100%;min-width:0;height:30px;padding:4px 7px;font-size:14px;border-color:var(--pk-orange)}.pk-quick-row button{border:1px solid #e2d3c8;background:white;color:var(--pk-orange);border-radius:5px;flex:0 0 24px;height:26px;padding:0}.pk-quick-row .pk-gantt-status{font-size:12px;color:var(--pk-muted)}.pk-quick-hint{display:flex;align-items:center;gap:12px;padding:6px 10px;flex-wrap:wrap;font-size:12px;color:var(--pk-muted)}#pk-quick-error{color:#b34020}
.pk-timeline-scroll .pk-tree-version .pk-gantt-label{padding-right:85px}

/* V5: consistent workspace spacing and direct schedule editing */
.pk-planning #pk-content{padding:24px 28px 32px;gap:10px}
.pk-planning .pk-topbar{padding-left:28px;padding-right:28px}
.pk-date-handle{position:absolute;top:0;bottom:0;width:10px;cursor:ew-resize;z-index:4;opacity:0;background:rgba(135,64,16,.25)}
.pk-date-start{left:0;border-radius:4px 0 0 4px}.pk-date-end{right:0;border-radius:0 4px 4px 0}
.pk-gantt-bar:hover .pk-date-handle,.pk-gantt-bar:focus-visible .pk-date-handle{opacity:1}.pk-date-handle:after{content:'';position:absolute;top:25%;bottom:25%;left:4px;border-left:2px solid #fff}
.pk-aggregate-handle{display:none}.pk-gantt-bar{cursor:grab;touch-action:none}.pk-gantt-bar:active{cursor:grabbing}
.pk-source-bar{background:transparent!important;border-color:transparent!important}.pk-source-segment{position:absolute;top:0;bottom:0;background:#ffbc83;border-radius:3px;pointer-events:none}.pk-source-segment.complete{background:#8fcdb8}.pk-bar-caption{position:relative;z-index:2;pointer-events:none}
.pk-dragging{user-select:none!important;cursor:ew-resize!important}.pk-drag-preview{position:absolute;top:8px;height:22px;background:#ffbd88;border:2px solid #ff5000;border-radius:4px;z-index:8;pointer-events:none}.pk-drag-tip{position:fixed;background:#19212c;color:#fff;padding:9px 12px;border-radius:7px;z-index:20000;pointer-events:none;box-shadow:0 3px 14px #0003;font-size:13px}
.pk-drag-tip small{display:block;color:#dce2ea;margin-top:3px}
@media(max-width:700px){.pk-planning #pk-content{padding:12px;gap:8px}.pk-planning .pk-topbar{padding:0 12px}}

/* V6: fixed compact quarters and always-visible annual selection. */
.pk-timeline-scroll .pk-gantt.pk-quarter-gantt{min-width:0}
.pk-year-control{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--pk-muted);white-space:nowrap}.pk-year-control select,.pk-year-scope{height:32px;border:1px solid var(--pk-line);border-radius:7px;background:white;padding:4px 8px;color:var(--pk-ink);font:inherit;font-size:13px}.pk-year-control select{max-width:175px}.pk-year-scope{max-width:180px}

.pk-project-goal{display:block;max-width:480px;line-height:1.45;margin-top:5px}

/* V8: annual view fills available width; other periods remain compact. */
.pk-timeline-scroll .pk-gantt.pk-year-fit{min-width:100%}
.pk-tree-phase{--row-bg:#f8f9fc}.pk-tree-phase .pk-text-button{font-weight:650}
.pk-scope-breadcrumb{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.pk-scope-breadcrumb .pk-button{font-size:12px;min-height:26px;padding:3px 7px}.pk-scope-result{font-size:13px;color:var(--pk-muted);flex-shrink:0;padding:0 2px 5px}.pk-product-health td{padding:13px 15px}.pk-product-health small{display:block;color:var(--pk-muted);margin-top:4px}.pk-product-health th{white-space:nowrap}

/* V9: entity hierarchy is encoded by labels and shape, not colour alone. */
.pk-timeline-scroll .pk-gantt-status{flex-wrap:wrap;align-content:center;gap:1px;padding-top:3px;padding-bottom:3px}
.pk-row-kind{display:block;width:100%;font-size:10px;font-weight:700;line-height:12px;color:#778294;text-transform:uppercase;letter-spacing:.035em}
.pk-timeline-scroll .pk-gantt-status .pk-pill{font-size:11px;padding:1px 6px;line-height:16px}
.pk-timeline-scroll .pk-tree-product,.pk-timeline-scroll .pk-tree-productPart{--row-bg:#e7edf5;border-top:2px solid #ccd7e5}
.pk-timeline-scroll .pk-tree-version{--row-bg:#f2f5fa}.pk-timeline-scroll .pk-tree-phase{--row-bg:#faf8f3}
.pk-timeline-scroll .pk-tree-project{--row-bg:#f5f2fa}
.pk-timeline-scroll .pk-tree-stage .pk-text-button,.pk-timeline-scroll .pk-tree-task .pk-text-button{font-weight:400}
.pk-timeline-scroll .pk-tree-product .pk-gantt-bar,.pk-timeline-scroll .pk-tree-productPart .pk-gantt-bar{background:#526c89;border-color:#526c89;height:8px;border-radius:1px;color:transparent}
.pk-timeline-scroll .pk-tree-version .pk-gantt-bar{background:#a6b7ce;border-color:#7189aa;height:12px;border-radius:2px}
.pk-timeline-scroll .pk-tree-project .pk-gantt-bar{background:#d4c5eb;border-color:#a48bc8;border-radius:5px;height:22px}
.pk-timeline-scroll .pk-tree-phase .pk-gantt-bar{background:#f3d29d;border:1px solid #c99448;height:16px;border-radius:2px}
.pk-timeline-scroll .pk-expanded.pk-tree-product .pk-gantt-bar,.pk-timeline-scroll .pk-expanded.pk-tree-version .pk-gantt-bar,.pk-timeline-scroll .pk-expanded.pk-tree-phase .pk-gantt-bar,.pk-timeline-scroll .pk-expanded.pk-tree-project .pk-gantt-bar,.pk-timeline-scroll .pk-expanded.pk-tree-productPart .pk-gantt-bar{height:5px;opacity:.6;border-radius:0}
.pk-expanded:not(.pk-tree-stage) .pk-gantt-bar .pk-bar-caption{visibility:hidden}
.pk-timeline-scroll .pk-tree-phase .pk-gantt-bar.green,.pk-timeline-scroll .pk-tree-project .pk-gantt-bar.green{background:#8fcdb8;border-color:#65af96}
.pk-cross-label{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #dacfeb;background:#f2edf9;color:#705692;border-radius:4px;padding:2px 5px;font-size:10px;font-weight:600}
.pk-cross-row{flex-wrap:wrap}.pk-cross-row>.pk-text-button{flex:1;min-width:90px}.pk-cross-row>.pk-cross-label{margin-left:21px}
.pk-kind{display:inline-block;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:650;white-space:nowrap}.pk-kind-project{color:#705692;background:#eee7f7}.pk-kind-phase{color:#94672b;background:#fcf0db}
.pk-phase-description{background:white;border:1px solid var(--pk-line);border-radius:9px;padding:10px 14px;flex-shrink:0;max-height:180px;overflow:auto;font-size:13px}.pk-phase-description strong{margin-left:10px}.pk-phase-description p{margin:7px 0;line-height:1.5}.pk-phase-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pk-phase-links>span{display:inline-flex;align-items:center;gap:4px}.pk-phase-links .pk-button{font-size:12px;padding:3px 7px;min-height:27px}

.pk-expanded:not(.pk-tree-stage) .pk-gantt-bar:before{content:"";position:absolute;inset:-8px 0;pointer-events:auto}

/* V10: readable product/version summaries; project presentation is retained. */
.pk-timeline-scroll .pk-tree-product.pk-gantt-row .pk-gantt-bar,.pk-timeline-scroll .pk-tree-productPart.pk-gantt-row .pk-gantt-bar{height:22px;border-radius:5px;background:#ffbd8c;border:1px solid #f4ac76;color:#79441f;opacity:1}
.pk-timeline-scroll .pk-tree-version.pk-gantt-row .pk-gantt-bar{height:22px;border-radius:5px;background:#ffe0c7;border:1px solid #f3c7a6;color:#79441f;opacity:1}
.pk-timeline-scroll .pk-tree-product.pk-gantt-row .pk-gantt-bar .pk-bar-caption,.pk-timeline-scroll .pk-tree-productPart.pk-gantt-row .pk-gantt-bar .pk-bar-caption,.pk-timeline-scroll .pk-tree-version.pk-gantt-row .pk-gantt-bar .pk-bar-caption{visibility:visible;line-height:20px}
.pk-timeline-scroll .pk-tree-product.pk-gantt-row .pk-gantt-bar:before,.pk-timeline-scroll .pk-tree-productPart.pk-gantt-row .pk-gantt-bar:before,.pk-timeline-scroll .pk-tree-version.pk-gantt-row .pk-gantt-bar:before{content:none}
.pk-timeline-scroll .pk-tree-product,.pk-timeline-scroll .pk-tree-productPart{border-top:1px solid var(--pk-line)}
.pk-timeline-scroll .pk-tree-product.pk-gantt-row .pk-gantt-bar.green,.pk-timeline-scroll .pk-tree-productPart.pk-gantt-row .pk-gantt-bar.green,.pk-timeline-scroll .pk-tree-version.pk-gantt-row .pk-gantt-bar.green{background:#8fcdb8;border-color:#65af96;color:#276a55}

/* V11: status contains only state; warm palette for product planning. */
.pk-timeline-scroll .pk-gantt-status{flex-wrap:nowrap;align-items:center;align-content:normal;padding-top:5px;padding-bottom:5px}
.pk-timeline-scroll .pk-gantt-status .pk-pill{font-size:12px;padding:3px 8px;line-height:18px}
.pk-timeline-scroll .pk-tree-phase .pk-gantt-bar{background:#ffd0aa;border-color:#efb889;color:#79441f}
.pk-timeline-scroll .pk-tree-product,.pk-timeline-scroll .pk-tree-productPart{--row-bg:#edf0f4}
.pk-timeline-scroll .pk-tree-version{--row-bg:#f7f8fa}
.pk-timeline-scroll .pk-tree-phase{--row-bg:#fff}

/* V12: summary rows recede consistently, sprint plans use whole cells. */
.pk-timeline-scroll .pk-expanded.pk-gantt-row:not(.pk-tree-stage):not(.pk-tree-task) .pk-gantt-bar{height:7px;opacity:.7;border-radius:3px}
.pk-timeline-scroll .pk-expanded.pk-gantt-row:not(.pk-tree-stage):not(.pk-tree-task) .pk-gantt-bar .pk-bar-caption{visibility:hidden}
.pk-timeline-scroll .pk-expanded.pk-gantt-row:not(.pk-tree-stage):not(.pk-tree-task) .pk-gantt-bar:before{content:"";position:absolute;inset:-8px 0;pointer-events:auto}
.pk-timeline-scroll .pk-gantt.pk-sprint-gantt{min-width:0}
.pk-sprint-gantt .pk-gantt-head .pk-gantt-grid>span{font-size:12px;overflow:hidden}
.pk-sprint-gantt .pk-gantt-head small{font-size:10px;line-height:1.25;white-space:normal}
.pk-sprint-cell{border:0;border-right:1px solid var(--pk-line);border-radius:0;background:transparent;min-width:0;min-height:37px;padding:3px;cursor:pointer;color:#795036;font-size:10px;line-height:13px;display:flex;align-items:center;justify-content:center}
.pk-sprint-cell>span{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;border-radius:3px;width:100%;min-height:25px;padding:2px}
.pk-sprint-cell.pk-assigned>span{background:#ffd2ae}.pk-sprint-cell.pk-assigned.pk-complete>span{background:#98d2bf;color:#276a55}
.pk-sprint-cell:hover{background:#fff1e5}.pk-sprint-cell:focus-visible{outline:2px solid var(--pk-orange);outline-offset:-2px}
.pk-role-choice{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--pk-line);cursor:pointer}.pk-role-choice input{width:18px;height:18px;accent-color:var(--pk-orange)}
.pk-sprint-editor .pk-form-actions{margin-top:auto;flex-wrap:wrap}.pk-sprint-editor .pk-form-body{overflow:auto}.pk-sprint-editor{display:flex;flex-direction:column}
.pk-cross-mark{flex-shrink:0;color:#8a6d9e;font-size:15px;line-height:18px;margin-left:3px}

.pk-sprint-gantt .pk-date-handle{display:none}.pk-sprint-gantt .pk-gantt-bar{cursor:pointer}

/* V13: shared projects, optional version grouping, distinct calendar years. */
.pk-grouping-select{height:32px;border:1px solid var(--pk-line);border-radius:7px;background:white;padding:4px 8px;font-size:13px;max-width:170px}
.pk-timeline-scroll .pk-tree-direction{--row-bg:#f8f9fb}.pk-tree-direction .pk-text-button{color:#727d8d;font-size:12px!important;font-weight:600!important}
.pk-timeline-scroll .pk-origin-product{--row-bg:#fff1e6}.pk-origin-product .pk-gantt-label{box-shadow:inset 3px 0 #ff5000,1px 0 var(--pk-line)}
.pk-timeline-scroll .pk-gantt-head .pk-quarter-head{display:flex;flex-direction:column;gap:0;padding:0}
.pk-year-band,.pk-quarter-labels{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));width:100%}
.pk-year-band{height:26px;background:#e9edf3;border-bottom:1px solid #cbd3df;color:#34445b;font-size:13px;font-weight:750}
.pk-year-band>span{display:flex;align-items:center;justify-content:center;border-left:2px solid #b5c0cf}.pk-year-band>span:first-child{border-left:0}
.pk-quarter-labels>span{display:flex;align-items:center;justify-content:center;min-height:30px;border-right:1px solid var(--pk-line);font-size:11px}
.pk-gantt-grid .pk-year-start{border-left:2px solid #b5c0cf!important}

.pk-cross-row{flex-wrap:nowrap}.pk-cross-row>.pk-text-button{min-width:0;flex:1}.pk-cross-row>.pk-cross-label{margin-left:0;flex-shrink:0}

/* V14: executive overview stays at product / project depth. */
.pk-executive .pk-tree-project { --row-bg:#fff; }
.pk-executive .pk-tree-project .pk-gantt-bar { background:#ffbd88;border-color:#ffad70;color:#754422; }
.pk-executive .pk-tree-project .pk-gantt-bar.green { background:#98d4bf;border-color:#85c9b1;color:#286b55; }
.pk-epic-button { flex-shrink:0; width:28px; height:28px; padding:5px; color:#7c8797; border:0; background:transparent; }
.pk-epic-button:hover { color:#ff5000;background:#fff0e7; }
.pk-epic-section { margin-bottom:24px; }
.pk-epic-section h3 { font-size:15px;margin:0 0 8px; }
.pk-epic-section p { white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0;color:#4b5565; }

/* V15: neutral hierarchy, warm project bars; sprint cells unchanged. */
.pk-timeline-scroll .pk-tree-project { --row-bg:#fff; }
.pk-timeline-scroll .pk-tree-project .pk-gantt-bar { background:#ffc18f;border-color:#f2b17e;color:#754422; }
.pk-timeline-scroll .pk-tree-project .pk-gantt-bar.green { background:#98d4bf;border-color:#85c9b1;color:#286b55; }
.pk-cross-label,.pk-kind-project { background:#f0f4f7;color:#536879;border-color:#d6e0e7; }
.pk-cross-mark { color:#536879; }
.pk-timeline-scroll .pk-tree-direction { --row-bg:#edf1f4;border-top:2px solid #d9e0e6; }
.pk-tree-direction .pk-text-button { color:#435366;font-weight:700!important; }
.pk-timeline-scroll .pk-tree-version { --row-bg:#f5f7f9;border-top:1px solid #dce3e9; }
.pk-tree-version .pk-text-button { color:#445266; }
.pk-executive .pk-tree-product .pk-gantt-grid { pointer-events:none; }
.pk-epic-button { width:24px;height:24px;padding:4px;margin-right:2px; }

.pk-product-symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;border-radius:6px;background:#fff1e7;color:#d95a16;margin-right:5px}.pk-product-symbol svg{width:16px;height:16px}

/* V16: consistent chrome and compact row actions. */
.pk-topbar,.pk-planning .pk-topbar{height:52px;min-height:52px;flex:0 0 52px;padding:0 28px}
.pk-topbar strong{font-size:18px}.pk-brand,.pk-planning .pk-brand{height:52px;min-height:52px;padding:0 16px}.pk-brand span{font-size:16px;padding:6px 10px}.pk-brand b{font-size:13px}.pk-nav-caption{padding-top:16px}
#pk-menu{width:32px;height:32px;min-height:32px}.pk-avatar{padding:5px 9px;font-size:13px}.pk-prototype-label{font-size:12px}
.pk-timeline-scroll .pk-gantt{width:calc(352px + 68px + var(--timeline-width))}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:352px 68px minmax(0,1fr)}
.pk-row-links{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px!important}.pk-row-links .pk-icon{width:25px;height:27px;min-height:0;padding:4px;border:0;background:transparent;color:#64748b}.pk-row-links .pk-icon:hover{color:#25364b;background:#e9eef3}
.pk-row-complete{appearance:auto;width:15px;height:15px;margin:0 4px 0 0;flex:0 0 15px;accent-color:#249a72;cursor:pointer}
.pk-product-symbol{background:transparent;color:inherit;font-size:19px;padding:0;width:25px;height:25px}
@media(min-width:701px){.pk-shell{height:100dvh;overflow:hidden}.pk-workspace{height:100dvh;overflow:auto} }
@media(max-width:1100px){.pk-brand span{font-size:0;padding:0}}
@media(max-width:700px){.pk-timeline-scroll .pk-gantt{width:calc(220px + 68px + var(--timeline-width))}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:220px 68px minmax(0,1fr)}.pk-topbar,.pk-planning .pk-topbar{padding:0 12px}}

/* V17: quiet icons, full label area and compact quarter scale. */
.pk-timeline-scroll .pk-gantt{width:calc(352px + 30px + var(--timeline-width))}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:352px 30px minmax(0,1fr)}
.pk-timeline-scroll .pk-gantt-label{padding-right:8px}.pk-timeline-scroll .pk-gantt-label>.pk-text-button{flex:1;text-align:left}.pk-row-links{padding:1px!important;gap:0}
.pk-product-symbol{width:19px;height:19px;color:#737f8b;background:transparent;margin-right:3px}.pk-product-symbol svg{width:17px;height:17px;stroke-width:1.5}
.pk-multi-marker{position:absolute;left:calc(8px + var(--depth,0)*16px);width:16px;height:16px;display:flex;align-items:center;color:#7d8893}.pk-multi-marker svg{width:13px;height:13px}.pk-gantt-label:has(.pk-multi-marker)>.pk-gantt-toggle{transform:translateX(-17px)}
.pk-completion-switch{margin-top:24px;padding:20px 0 8px;border-top:1px solid #dce2e9;display:flex;align-items:center;gap:12px;cursor:pointer;position:relative}.pk-completion-switch>span:first-child{flex:1;font-weight:600}.pk-completion-switch small{display:block;font-size:12px;color:#7a8492;font-weight:400;margin-top:5px}.pk-completion-switch input{position:absolute;right:0;opacity:0;width:42px;height:26px}.pk-switch-track{width:42px;height:24px;border-radius:20px;background:#cbd2da;position:relative}.pk-switch-track:after{content:'';position:absolute;width:18px;height:18px;background:white;border-radius:50%;top:3px;left:3px;transition:transform .15s}.pk-completion-switch input:checked+.pk-switch-track{background:#299b75}.pk-completion-switch input:checked+.pk-switch-track:after{transform:translateX(18px)}.pk-completion-switch input:focus-visible+.pk-switch-track{outline:2px solid #486581;outline-offset:3px}
.pk-scale-compact .pk-quarter-labels>span{font-size:9px;overflow:hidden}.pk-scale-compact .pk-bar-caption{font-size:9px}
@media(max-width:700px){.pk-timeline-scroll .pk-gantt{width:calc(220px + 30px + var(--timeline-width))}.pk-timeline-scroll .pk-gantt-row{grid-template-columns:220px 30px minmax(0,1fr)}.pk-multi-marker{left:calc(4px + var(--depth,0)*10px)}}

.pk-switch-track{pointer-events:none}.pk-completion-switch input{z-index:1;cursor:pointer}

.pk-plan-tools select[data-plan-field="planScale"]{width:155px;flex:0 0 155px;height:32px;padding:4px 8px;font-size:12px}.pk-timeline-scroll .pk-gantt.pk-scale-compact{min-width:100%}.pk-scale-compact .pk-quarter-labels>span{font-size:11px;justify-content:center}

.pk-timeline-scroll .pk-tree-version .pk-gantt-label{padding-right:8px}.pk-row-actions{z-index:6}
.pk-plan-tools select[data-plan-field="calendarUnit"]{width:108px;flex:0 0 108px;height:32px;padding:4px 8px;font-size:12px}
.pk-sprint-cell{position:relative;touch-action:pan-y;user-select:none}.pk-cell-remove{position:absolute!important;right:2px;top:0;min-height:0!important;width:13px!important;height:13px!important;padding:0!important;line-height:13px;background:#fff!important;color:#7d6556;border-radius:3px;font-size:13px;opacity:0;z-index:2}.pk-sprint-cell:hover .pk-cell-remove,.pk-sprint-cell:focus .pk-cell-remove{opacity:1}.pk-fill-preview{box-shadow:inset 0 0 0 2px #e69556;background:#fff1e4}

.pk-timeline-scroll .pk-gantt.pk-project-columns{width:calc(352px + 180px + 30px + var(--timeline-width))}.pk-project-columns .pk-gantt-row{grid-template-columns:352px 180px 30px minmax(0,1fr)}.pk-project-products{position:sticky;left:352px;z-index:4;background:var(--row-bg);padding:6px 9px;border-right:1px solid var(--pk-line);font-size:11px;white-space:normal;line-height:1.35;display:flex;align-items:center}.pk-project-columns .pk-gantt-status{left:532px}

/* V19: light executive presentation. */
.pk-executive{box-shadow:none}.pk-executive .pk-timeline-scroll .pk-tree-product{--row-bg:#fff;border-top:1px solid #e2e7ec}.pk-executive .pk-timeline-scroll .pk-tree-version{--row-bg:#fff;border-top:0}.pk-executive .pk-tree-version .pk-text-button{font-weight:500!important;color:#303b4b}.pk-executive .pk-tree-product .pk-text-button{font-weight:650!important}.pk-executive .pk-tree-product .pk-gantt-label{background:#f8fafb}.pk-executive .pk-gantt-row{border-bottom-color:#edf0f3}.pk-executive .pk-gantt-head{--row-bg:#fafbfc}.pk-executive .pk-year-band{background:#fafbfc;color:#526071}.pk-executive .pk-quarter-labels{background:#fafbfc}.pk-executive .pk-gantt-grid .pk-year-start{border-left-color:#d6dde5!important}.pk-executive .pk-year-band>span{border-left-color:#d6dde5}.pk-executive .pk-gantt-status{box-shadow:none}.pk-executive .pk-tree-version .pk-gantt-bar{background:#ffd8b8;border-color:#ffc79b}
.pk-range-nav{display:flex;align-items:center;gap:9px;margin-left:auto;white-space:nowrap;color:#697586;font-size:12px}.pk-range-nav .pk-button{width:28px;height:30px;padding:5px;min-height:0}.pk-plan-filters #pk-plan-search{width:190px;min-width:150px}.pk-executive .pk-plan-tools .pk-tools-spacer{flex:0;width:4px}

/* V20: readable hierarchy across the entire overview row. */
.pk-executive .pk-timeline-scroll .pk-tree-product{--row-bg:#eaf2f8;border-top:1px solid #d8e4ee;border-bottom-color:#d8e4ee}
.pk-executive .pk-timeline-scroll .pk-tree-version{--row-bg:#f3f7fb;border-bottom-color:#e3ebf2}
.pk-executive .pk-tree-product .pk-gantt-label{background:var(--row-bg)}
.pk-executive .pk-tree-version .pk-text-button{font-weight:600!important}

/* V21: aligned filters and project ordering handles. */
.pk-plan-filters #pk-plan-search{height:30px;min-height:30px;padding:4px 10px;font-size:12px;box-sizing:border-box}
.pk-reorder-handle{width:16px;flex:0 0 16px;display:flex;align-items:center;cursor:grab;color:#8593a1;opacity:0}
.pk-gantt-row:hover .pk-reorder-handle{opacity:1}.pk-reorder-handle:active{cursor:grabbing}.pk-reorder-target{outline:2px solid #e9a36b;outline-offset:-2px}
.pk-row-actions [data-row-delete]{color:#8b6f68}

/* V22: separate target frame and work schedule. */
.pk-gantt-label .pk-reorder-handle{position:absolute;left:3px;top:50%;transform:translateY(-50%);width:17px;height:24px;z-index:8;background:var(--row-bg)}
.pk-gantt-label:has(.pk-reorder-handle){padding-left:calc(30px + var(--depth,0)*16px)}
.pk-target-frame,.pk-tree-project .pk-target-frame{background:transparent!important;border:2px solid #e9a66f!important;height:25px!important;top:6px!important;border-radius:5px;color:#88532c}
.pk-target-frame .pk-bar-caption{font-size:9px;align-self:flex-start;line-height:10px}
.pk-execution-bar{position:absolute;top:21px;height:8px;border-radius:3px;background:#f4b17a;pointer-events:none;z-index:2}.pk-execution-bar.complete{background:#83c7b1}
.pk-target-note{padding:12px 15px;margin:0 0 12px;background:#fff8f1;border:1px solid #f0dfce;border-radius:8px;display:flex;gap:8px;flex-direction:column;font-size:12px}.pk-target-note span{color:#7b7167}

.pk-target-frame{transform:none!important}
.pk-tree-target .pk-gantt-bar{background:transparent!important;border:2px solid #e9a66f!important;cursor:default}.pk-tree-target .pk-date-handle{display:none}.pk-tree-target{--row-bg:#fff9f3!important}

.pk-target-frame .pk-bar-caption{position:absolute;left:6px;top:2px;line-height:10px;font-size:9px}.pk-execution-bar{top:24px;height:5px}

/* V23: familiar filled bars with a quiet optional target outline. */
.pk-timeline-scroll .pk-tree-project .pk-target-frame{top:50%!important;transform:translateY(-50%)!important;height:28px!important;background:transparent!important;border:1px dashed #9ba4ae!important;border-radius:6px!important;box-shadow:none!important;opacity:1!important;color:#68727d;z-index:3}
.pk-execution-bar{top:50%;transform:translateY(-50%);height:20px;border-radius:4px;background:#ffbf8b;border:1px solid #ffb177;box-sizing:border-box;z-index:2;padding:2px 7px;font-size:10px;line-height:14px;color:#79441f;white-space:nowrap;overflow:hidden}
.pk-execution-bar.complete{background:#96d2bf;border-color:#84cbb4;color:#276d59}
.pk-target-frame .pk-bar-caption{top:7px;line-height:12px;color:#68727d}
.pk-target-frame .pk-date-handle{background:#89949f}
.pk-plan-tools select[data-plan-field="planLayers"]{width:185px;flex:0 0 185px;height:32px;padding:4px 8px;font-size:12px}
.pk-tree-target .pk-gantt-bar{border:1px dashed #9ba4ae!important;background:transparent!important;color:#68727d}.pk-tree-target{--row-bg:#f8fafb!important}

.pk-timeline-scroll .pk-tree-project .pk-target-frame{left:calc(var(--left)*1% - 2px);width:calc(var(--width)*1% + 4px)}

.pk-epic-editor{max-width:1000px;padding:24px;background:#fff;border:1px solid #e1e6ee;border-radius:10px}.pk-epic-editor textarea{min-height:150px;resize:vertical;line-height:1.6}.pk-epic-editor textarea[name="description"]{min-height:260px}.pk-epic-files h3{font-size:14px;margin:18px 0 10px}.pk-epic-file{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f4}.pk-epic-file a{flex:1;overflow-wrap:anywhere;color:#435b71;text-decoration:none}.pk-epic-file svg{width:15px;height:15px;vertical-align:middle}.pk-attach-label{display:inline-flex;align-items:center;gap:6px;position:relative;margin-top:16px;cursor:pointer}.pk-attach-label input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.pk-epic-save{display:flex;gap:16px;align-items:center;margin-top:20px}#pk-epic-error{color:#ab492f;white-space:pre-wrap}

.pk-epic-editor>.pk-field{margin-bottom:18px}

.pk-planning.pk-document-view #pk-content{display:block;overflow-y:auto;overflow-x:hidden}.pk-document-view .pk-plan-context{margin-bottom:14px}.pk-document-view .pk-project-tabs{margin-bottom:14px}
.pk-rich-content{font-size:14px;line-height:1.65;overflow-wrap:anywhere;color:#263243}.pk-rich-content table{border-collapse:collapse;width:100%;table-layout:fixed;margin:14px 0}.pk-rich-content td,.pk-rich-content th{border:1px solid #cbd3dd;padding:8px;vertical-align:top;white-space:normal}.pk-rich-content th{background:#f4f6f9}.pk-rich-content h1{font-size:25px}.pk-rich-content h2{font-size:21px;margin:20px 0 10px}.pk-rich-content h3{font-size:17px}.pk-rich-content p{margin:8px 0}.pk-rich-content ul,.pk-rich-content ol{padding-left:26px}.pk-rich-content a{color:#286b9d;text-decoration:underline}
#pk-rich-editor{min-height:360px;padding:18px;border:1px solid #d6dde6;border-radius:0 0 6px 6px;outline:none;font-weight:400}#pk-rich-editor:focus{border-color:#a6b8c9}.pk-rich-tools{display:flex;flex-wrap:wrap;gap:4px;position:sticky;top:0;z-index:8;background:#f8fafc;padding:7px;border:1px solid #d6dde6;border-radius:6px 6px 0 0}.pk-rich-tools button{padding:5px 8px;border:1px solid transparent;background:white;border-radius:4px;font-size:12px;cursor:pointer}.pk-rich-tools button:hover{border-color:#c5cfdc}.pk-epic-save{position:sticky;bottom:0;background:white;padding:12px 0;border-top:1px solid #e5eaf0}

/* V33: compact sprints grouped by their start month, with year context. */
.pk-sprint-head .pk-year-band>span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize}
.pk-sprint-head .pk-quarter-labels>span{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 1px;font-size:11px;min-width:0}
.pk-sprint-head .pk-quarter-labels small{font-size:9px;line-height:1.2}

/* Keep project context visible while giving the scrolled plan more room. */

/* V34: quiet headings and a visible current sprint column. */
.pk-sprint-gantt .pk-grid-today{background:#fff0d9!important;box-shadow:inset 1px 0 #edc588,inset -1px 0 #edc588}
.pk-sprint-head .pk-quarter-labels>.pk-grid-today{background:#ffe0ac!important;color:#76440b;font-weight:750}
.pk-sprint-head .pk-quarter-labels>span{min-height:25px;padding:3px 1px}
.pk-sprint-head .pk-year-band{height:24px}

.pk-summary-cell{cursor:default}.pk-summary-cell:hover{background:transparent}.pk-summary-cell>span{min-height:10px;height:10px;border-radius:3px}

/* V37: consistent inset chevrons in planning filters. */
.pk-plan-tools select,.pk-plan-filters select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23596878' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;padding-right:34px}

/* V38: toolbar selects must not inherit full-width form sizing. */
.pk-plan-tools>select{width:auto;flex:0 0 auto;min-width:0;height:32px;min-height:32px;padding:5px 34px 5px 12px;font-size:13px}
.pk-plan-tools>select[data-plan-field="calendarUnit"]{width:108px}
.pk-plan-tools>select[data-plan-field="planStatus"]{width:148px}
.pk-plan-tools>select[data-plan-field="planLayers"]{width:185px}
.pk-executive .pk-plan-tools{flex-wrap:nowrap;overflow-x:auto}
.pk-executive .pk-plan-tools>.pk-switch,.pk-executive .pk-plan-tools>button,.pk-executive .pk-plan-tools>.pk-range-navigation{flex-shrink:0}
