.gt-page,.gt-form{display:grid;gap:.8rem;min-width:0;color:#312445}
.gt-period,.gt-tools,.gt-line,.gt-card-head{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}
.gt-period{background:#f2edff;border-inline-start:3px solid #7044bc;padding:.65rem .85rem;border-radius:10px}
.gt-tools .input{width:auto;max-width:100%}.gt-page .btn,.gt-form .btn{min-height:36px;padding:.4rem .7rem}
.gt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:.65rem}
.gt-card{background:white;border:1px solid #e2d9ed;border-radius:13px;padding:.7rem;box-shadow:0 2px 8px #4128640b;overflow-wrap:anywhere}
.gt-card-head{justify-content:space-between}.gt-card-head strong{flex:1}.gt-card .gt-line{margin:.35rem 0;font-size:.86rem}
.gt-line .gantt-actual-progress{display:inline-block;width:70px;height:6px;background:#ded8e9;border-radius:5px;overflow:hidden}
.gt-line .gantt-actual-progress span{display:block;height:100%;background:#6d44ad}.gt-critical{color:#792c80}
.gt-page details,.gt-card small{font-size:.86rem}.gt-page summary{cursor:pointer}.gt-warning,.gt-issues{border-radius:9px;background:#fff4e4;color:#6a4619;padding:.55rem 1.4rem}.gt-error{color:#a0263a}
.gt-form label{display:grid;gap:.3rem;min-width:0}.gt-form fieldset{display:flex;flex-wrap:wrap;gap:.6rem}.gt-form fieldset label{display:block}.gt-form fieldset label:last-child{width:100%}
.gt-link{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(65px,1fr) auto;gap:.4rem;align-items:end;padding:.45rem 0}
/* One scrolling board under the company header. The inspector shares its workspace. */
:root .app-ui[data-gantt-sidebar] main.ui-content {
  max-width:none; padding:12px; min-width:0;
}
:root .app-ui[data-gantt-sidebar].nav-sidebar-collapsed main.ui-content {
  width:100%!important; margin-inline-start:0!important;
}
.gt-workspace {
  display:flex; flex-direction:column; gap:8px; color:#312445;
  height:calc(100dvh - var(--company-header-height,88px) - 24px);
  min-width:0; min-height:340px;
}
.gt-workspace [hidden]{display:none!important}
.gt-header,.gt-toolbar,.gt-panel-head,.gt-width {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px;
}
.gt-header h1 {font-size:clamp(1.07rem,1.7vw,1.5rem);line-height:1.25;overflow-wrap:anywhere;margin:0;flex:1}
.gt-header .gt-period {font-size:.88rem}
.gt-toolbar {justify-content:space-between}
.gt-workspace>.gt-warning,.gt-workspace>details {margin:0;font-size:.86rem}
.gt-workspace>details[open] {overflow:auto;max-height:20%}
.gt-workarea,.gt-board,.gt-panel {min-width:0;min-height:0}
.gt-workarea {display:flex;flex:1;gap:12px}
.gt-board {flex:1;display:flex;flex-direction:column;gap:6px;container-type:inline-size}
.gt-width {margin-inline-start:auto;font-size:.8rem}
.gt-width input {width:86px;accent-color:#7548b5}
.gt-panel {
  flex:0 0 clamp(320px,34%,600px);box-sizing:border-box;background:#fff;
  border:1px solid #dfd6ec;border-radius:12px;padding:12px;overflow:auto;overflow-wrap:anywhere;
}
.gt-panel h2 {flex:1;margin:0;font-size:1.1rem}.gt-panel-head {margin-bottom:12px;flex-wrap:nowrap}
.gt-panel .form-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
.gt-panel .gt-link {grid-template-columns:minmax(0,1fr) minmax(65px,.65fr) auto}
.gt-panel .gt-link label:first-child {grid-column:1/-1}
.gt-cards {overflow:auto;align-content:start;min-height:0}
.gt-scroll {
  flex:1; min-width:0; min-height:0; overflow:auto; isolation:isolate; background:white;
  border:1px solid #dfd6ec; border-radius:12px; --names:min(var(--preferred-names,320px),55cqw);
}
.gt-grid {width:max(100%,calc(var(--names) + var(--track-min)));background:#fff}
.gt-chart-row {display:grid;grid-template-columns:var(--names) minmax(0,1fr);min-height:48px;border-bottom:1px solid #ece7f3}
.gt-axis-row {position:sticky;top:0;z-index:4;min-height:38px;background:#f5f0fb;font-size:.86rem}
.gt-chart-body {position:relative}
.gt-sticky {
  position:sticky; left:0; z-index:3; border:0; border-right:1px solid #dcd2eb;
  background:#faf8fe; color:inherit; text-align:start; white-space:normal; overflow-wrap:anywhere;
  font:inherit; padding:.5rem .7rem; line-height:1.35;
}
button.gt-sticky {cursor:pointer}.gt-axis-row .gt-sticky {background:#f1eafa;align-content:center}
.gt-axis,.gt-track {position:relative;background:linear-gradient(to right,#e8e1f2 1px,transparent 1px);background-size:calc(100% / var(--buckets)) 100%}
.gt-axis {display:flex}.gt-axis span {flex:1;align-content:center;text-align:center}.gt-axis .today {background:#eee5ff}
.gt-arrows,.gt-today-track {position:absolute;top:0;left:var(--names);width:calc(100% - var(--names));height:100%;pointer-events:none}
.gt-today {position:absolute;top:0;bottom:0;border-left:2px dashed #ad6b0d}
.gt-bar {position:absolute;top:50%;transform:translateY(-50%);height:18px;border-radius:5px;background:#d8c9ee;border:1px solid #956ec3;overflow:hidden;padding:0;cursor:pointer}
.gt-bar.critical{background:#c782c6;border-color:#782c80}.gt-bar.late{border-bottom:3px solid #be4a33}.gt-bar i{display:block;height:100%;background:#6d46a0}
.gt-arrows>path{fill:none;stroke:#654883;stroke-width:1.2}.gt-arrows marker path{fill:#654883}
.gt-compare{width:100%;table-layout:fixed;border-collapse:collapse}.gt-compare td,.gt-compare th{padding:.45rem;text-align:start;border-bottom:1px solid #dfd7e8;overflow-wrap:anywhere}.gt-compare thead{background:#f6f2fb}
.gt-form [hidden],.gt-tools [hidden]{display:none!important}
@media(max-width:600px){.gt-link{grid-template-columns:1fr 1fr}.gt-link label:first-child{grid-column:1/-1}.gt-link button{justify-self:start}.gt-compare{font-size:.8rem}.gt-page .gt-tools .btn{font-size:.82rem}.gt-compare bdi{white-space:normal}}

.gt-sticky small{display:block;font-size:.7rem;color:#655671}

@media(max-width:900px){
  :root .app-ui[data-gantt-sidebar] main.ui-content {padding:8px}
  :root .app-ui[data-gantt-sidebar]>.ui-mobile-nav {display:none}
  .gt-workspace {height:calc(100dvh - var(--company-header-height,80px) - 16px - env(safe-area-inset-bottom,0px))}
}
@media(max-width:700px){
  .gt-workspace {gap:6px}.gt-header {gap:4px 8px}
  .gt-header .gt-period {width:100%;padding:.3rem .55rem;font-size:.76rem}
  .gt-workspace .btn,.gt-tools .input {width:auto;min-height:36px;font-size:.82rem;padding:.35rem .55rem}
  .gt-toolbar,.gt-tools {gap:4px 6px}.gt-workspace .gt-tools label {font-size:.77rem}
  .gt-scroll {--names:min(var(--preferred-names,180px),55cqw)}
  .gt-workarea {flex-direction:column;gap:6px}
  .gt-panel {flex:1 1 60%;padding:9px}.gt-workarea:has(.gt-panel:not([hidden])) .gt-board {flex:1 1 40%}
  .gt-workspace:has(.gt-panel:not([hidden]))>:is(.gt-toolbar,details),.gt-workspace:has(.gt-panel:not([hidden])) .gt-header .gt-period {display:none}
  .gt-workarea:has(.gt-panel:not([hidden])) .gt-board>.gt-tools {display:none}
}

.tracking-content,.tracking-editor,.tracking-row {min-width:0;overflow-wrap:anywhere}
.tracking-list {display:grid;gap:.45rem;margin-block:.5rem}
.tracking-row,.tracking-editor:not(:empty) {display:grid;gap:.3rem;padding:.7rem;border:1px solid #e5ddf1;border-radius:12px;background:#fff}
.tracking-row small {display:block;color:#5b5067}
.tracking-editor .gt-form [hidden] {display:none}
.tracking-content ol {max-height:18rem;overflow:auto}
.tracking-content .btn {min-height:40px}
.gt-stop-band {padding:0;border-block:0;border-radius:0;cursor:pointer;position:absolute;inset-block:0;background:repeating-linear-gradient(135deg,#f6b9bbbd 0 4px,#ffdadcb8 4px 9px);border-inline:1px solid #d7868b;z-index:2}
.gt-bar.baseline,.gt-bar.baseline i {background:#a6a8b0;border-color:#787a84}
.gt-stop-scope details {max-height:28vh;overflow:auto;border:1px solid #ded5ed;padding:.5rem;border-radius:8px}
.gt-stop-scope label {display:block;padding:.25rem}
.gt-workarea:has(.gt-stop-preview) .gt-board {display:none}
.gt-workarea:has(.gt-stop-preview) .gt-panel {flex:1 1 100%}
.gt-stop-comparison {display:grid;gap:.4rem}
.gt-stop-pair {display:grid;grid-template-columns:minmax(7em,28%) 1fr;gap:.5rem;align-items:center;font-size:.84rem}
.gt-stop-pair>div {position:relative;height:1.5rem;border-inline:1px solid #ddd5e9;background:#faf8fd}
.gt-stop-pair i {position:absolute;height:.48rem;border-radius:3px}
.gt-before {top:.15rem;background:#777c8b}
.gt-after {bottom:.15rem;background:#7647ae}

.gt-stop-key {display:flex;gap:1rem;font-size:.8rem}
.gt-stop-key span::before {content:"";display:inline-block;width:1em;height:.65em;border-radius:2px;margin-inline-end:.3em;background:#7647ae}
.gt-stop-key span:first-child::before {background:#f5babd}

.gt-stop-table {overflow-x:auto;max-width:100%;min-width:0}
.gt-stop-table table {min-width:550px}
.gt-stop-table th:first-child {width:23%}
.gt-compare-key span:first-child::before {background:#777c8b}

/* Gantt V3.2. The same workspace owns the chart and its editing panel in both modes. */
html.gt-immersive,html.gt-immersive body {overflow:hidden;overscroll-behavior:none}
html.gt-immersive #app {isolation:isolate}
html.gt-immersive .app-ui :is(.ui-sidebar,.nav-topbar,.ui-mobile-nav) {display:none!important}
.gt-workspace {--gt-ink:#302341;--gt-violet:#6940aa;--gt-line:#e4deec}
.gt-workspace.gt-full {position:fixed;inset:0;z-index:1500;width:100%;height:100%;height:100dvh;min-height:0;box-sizing:border-box;margin:0;
  padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background:#faf8fc;gap:8px;color:var(--gt-ink)}
.gt-workspace.gt-full>.gt-header,.gt-full:not(.gt-options-open)>:is(.gt-toolbar,details),.gt-full .gt-toolbar :is([data-gt-view],.gt-scale) {display:none}
.gt-full.gt-options-open>.gt-toolbar {display:flex;background:white;border:1px solid var(--gt-line);border-radius:12px;padding:8px;overflow:auto;max-height:32dvh;flex:none}
.gt-workspace :is(.gt-focusbar,.gt-quick,.gt-zoom,.gt-end,.gt-identity,.gt-action,.gt-logomark,.gt-ruler-tools,.gt-window) {display:flex;align-items:center}
.gt-focusbar {flex:none;gap:12px;border:1px solid var(--gt-line);border-radius:14px;background:#fff;padding:7px 9px}
.gt-identity {min-width:0;flex:1;gap:10px}.gt-identity>div {min-width:0}
.gt-identity strong,.gt-identity small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gt-identity strong {line-height:1.25;font-size:1.12rem}.gt-identity small {color:#665a72;font-size:.78rem}
.gt-logomark {color:white;background:#6940aa;border-radius:10px;width:38px;height:38px;justify-content:center;flex:none}
.gt-end,.gt-quick {gap:5px}.gt-quick {min-width:0}
.gt-action,.gt-period-step,.gt-fold {cursor:pointer;font:inherit;color:var(--gt-ink);background:transparent;border:0}
.gt-action {min-height:40px;gap:6px;border-radius:8px;padding:0 10px;justify-content:center;font-weight:650;font-size:.85rem;white-space:nowrap}
.gt-action:hover,.gt-action:focus-visible,.gt-period-step:hover:not(:disabled),.gt-fold:hover {background:#eee7f8}
.gt-action[aria-expanded=true] {background:#eee7f8;color:#512a89}
.gt-reduce {background:#f1ebfb;color:#55318c}
.gt-zoom {border:1px solid var(--gt-line);border-radius:10px;overflow:hidden;flex:none}
.gt-zoom .gt-action {min-width:36px;padding:0}
.gt-zoom .gt-scale.input {height:38px;min-height:0;width:auto;max-width:110px;border:0;border-radius:0;background-color:transparent;color:var(--gt-ink);font-size:.85rem}
.gt-enter {display:inline-flex;align-items:center;gap:6px}
.gt-ruler-tools {justify-content:space-between;gap:8px;font-size:.8rem;color:#594d65}
.gt-window,.gt-width {gap:6px}.gt-period-step {font-size:1.3rem;border-radius:8px;min-width:32px}
.gt-period-step:disabled {opacity:.25;cursor:default}.gt-full .gt-scroll {border-radius:12px}
.gt-row-window {position:absolute;inset-inline:0;top:0}
.gt-chart-body .gt-chart-row {box-sizing:border-box;height:var(--gt-row);min-height:0}
.gt-axis-row {height:38px;box-sizing:border-box}
.gt-axis>span {position:absolute;inset-block:0;overflow:hidden;white-space:nowrap;align-content:center}
.gt-frozen {position:sticky;left:0;z-index:3;display:flex;align-items:center;min-width:0;
  padding-left:var(--indent,0px);border-right:1px solid #dcd2eb;box-sizing:border-box;background:white}
.gt-frozen .gt-name {position:static;min-width:0;width:100%;height:100%;display:block;text-align:start;overflow:hidden;background:transparent;border:0;padding:4px 8px}
.gt-name strong,.gt-lot strong {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;line-height:1.4}
.gt-name bdi:first-child {font-weight:500;color:#6d6277}
.gt-name small {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45;font-size:.71rem}
.gt-dot {display:inline-block;width:7px;height:7px;border-radius:100%;margin-inline-end:4px;background:#948a9e}
.gt-dot.done {background:#297956}.gt-dot.late {background:#b34a41}.gt-dot.paused {background:#a37117}.gt-dot.active {background:#7044a7}
.gt-lot :is(.gt-frozen,.gt-track) {background-color:#f3eef9}
.gt-lot strong {text-transform:none;color:#54377b}
.gt-lot small {margin-inline-start:auto;margin-inline-end:10px;padding:1px 6px;border-radius:6px;color:#624c75;background:#e8def1}
.gt-fold {align-self:stretch;min-width:32px;padding:0;font-size:22px;color:#62447c}
.gt-fold span {display:inline-block;line-height:1}.gt-fold[aria-expanded=true] span {transform:rotate(90deg)}
.gt-selected .gt-frozen {background:#f1eafb;box-shadow:inset 3px 0 #7446af}
.gt-task:hover .gt-track,.gt-selected .gt-track {background-color:#fbf9fe}
.gt-bar {min-width:2px;background:#d8c8ed}.gt-bar.critical {background:#e1c8e5}.gt-bar.done:not(.baseline) i {background:#488467}
.gt-summary-bar {height:10px}
.gt-arrows {z-index:1;overflow:hidden}.gt-today-track {z-index:1}
.gt-workspace :is(button,select,input,summary):focus-visible {outline:2px solid #7543bc;outline-offset:-2px}
.gt-choice-field {min-width:0}
.gt-panel .gt-link>.gt-choice-field:first-child {grid-column:1/-1}
.gt-picker,.gt-full .gt-choice-field>label {display:none}
.gt-full .gt-picker {display:block}
.gt-picker summary {cursor:pointer;list-style:none;overflow-wrap:anywhere}
.gt-picker summary::-webkit-details-marker {display:none}
.gt-picker summary strong {display:flex;align-items:center;justify-content:space-between;gap:.5rem;box-sizing:border-box;
  min-height:44px;margin-top:.3rem;padding:.45rem .65rem;border:1px solid var(--gt-line);border-radius:9px;background:white;font-weight:500}
.gt-picker summary strong::after {content:'▾';color:var(--gt-violet)}
.gt-picker[open] summary strong,.gt-picker summary:focus-visible strong {border-color:var(--gt-violet)}
.gt-picker summary[aria-invalid=true] strong {border-color:#ae3542}
.gt-choices {margin-top:.2rem;padding:.3rem;border:1px solid var(--gt-line);border-radius:9px;background:white}
.gt-choice-list {display:grid;max-height:min(30dvh,260px);overflow:auto;overscroll-behavior:contain}
.gt-choice-list button {width:100%;min-height:44px;padding:.4rem .6rem;border:0;border-radius:6px;background:transparent;
  color:inherit;text-align:start;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.gt-choice-list button:is(:hover,[aria-pressed=true]) {background:#f0eafa;color:var(--gt-ink)}
.gt-choices>small:empty {display:none}
@media(max-width:850px){
  .gt-focusbar {flex-wrap:wrap;gap:4px 8px;padding:5px 7px}
  .gt-focusbar .gt-quick {order:3;flex:1 1 100%;border-top:1px solid var(--gt-line);padding-top:3px;overflow-x:auto}
  .gt-quick>.gt-action {flex:1}.gt-focusbar .gt-action {min-height:44px}.gt-zoom .gt-action {min-width:42px}
  .gt-workspace.gt-full {padding:max(5px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));gap:4px}
  .gt-full .gt-fold {min-width:38px}.gt-period-step {min-height:38px}
  .gt-ruler-tools,.gt-width {font-size:.72rem}.gt-width input {width:64px}
  .gt-name strong {font-size:.8rem}.gt-frozen .gt-name {padding-inline:5px}
}
@media(max-width:450px){
  .gt-quick>.gt-action span {font-size:.74rem}.gt-quick>.gt-action {padding:0 4px}
  .gt-ruler-tools {flex-wrap:wrap;gap:0 4px}.gt-full .gt-width {font-size:0;gap:0}.gt-full .gt-width input {width:60px}
  .gt-identity strong {font-size:1rem}
}
@media(orientation:landscape) and (max-height:520px){
  .gt-focusbar {flex-wrap:nowrap}.gt-focusbar .gt-quick {order:0;flex:0 1 auto;border:0;padding:0}
  .gt-focusbar .gt-quick>.gt-action span {display:none}.gt-workspace.gt-full .gt-workarea {flex-direction:row}
  .gt-full .gt-workarea:has(.gt-panel:not([hidden])) .gt-panel {flex:1 1 52%}
}
@media(max-width:450px){
  .gt-end [data-gt-options] span,.gt-quick>.gt-action span {display:none}
  .gt-end [data-gt-options],.gt-quick>.gt-action {min-width:44px}
  .gt-identity small {font-size:.75rem}
  .gt-lot small {display:none}
  .gt-name small {display:flex;align-items:center;gap:2px}.gt-state-label {min-width:0;overflow:hidden;text-overflow:ellipsis}.gt-dot {flex:none}
  .gt-name strong,.gt-lot strong {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow-wrap:anywhere;line-height:1.15}
}
.gt-ruler-tools .gt-stop-key {margin-inline-start:auto}
@media(max-width:700px){.gt-ruler-tools .gt-stop-key {display:none}.gt-options-open .gt-ruler-tools .gt-stop-key {display:flex;order:3;width:100%}}

#gt-auto section {display:grid;gap:.6rem;min-width:0}
#gt-auto h3,#gt-auto p {margin:0}
.gt-form .gt-estimate,.gt-suggest-link {display:grid;gap:.5rem;padding:.75rem;border:1px solid var(--border,#ded8ea);border-radius:.65rem;min-width:0}
.gt-estimate legend {padding-inline:.25rem;font-weight:600;overflow-wrap:anywhere}
.gt-form .gt-estimate label,.gt-suggest-link label {display:grid;grid-template-columns:minmax(0,1fr) minmax(5.5rem,30%);align-items:center;gap:.45rem}
.gt-suggest-link label:first-child {grid-template-columns:auto minmax(0,1fr);min-height:44px}
.gt-suggest-link small {display:block}
.gt-estimate .input,.gt-suggest-link .input {width:100%;min-width:0}
#gt-auto details>.gt-estimate {margin-block-start:.5rem}
#gt-auto summary {cursor:pointer;padding-block:.4rem;font-weight:600}
