/* INTEIRE temporal workspace. Shared objects, different readings of time. */
.pt-root {
  --pt-label-width: 220px;
  --pt-gutter: 48px;
  --pt-grid: color-mix(in srgb, var(--finish-line) 68%, var(--finish-card));
  --pt-appointment: #713348;
  --pt-appointment-fill: #f3e9e9;
  --pt-task: #775931;
  --pt-task-fill: #f6efdf;
  --pt-hover: color-mix(in srgb, var(--focus) 6%, var(--finish-card));
  min-width: 0;
  color: var(--finish-ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
html[data-theme=dark] .pt-root {
  --pt-appointment: #e1adba;
  --pt-appointment-fill: #45333b;
  --pt-task: #dcc39b;
  --pt-task-fill: #413a2d;
}
.pt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 12px; }
.pt-period { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.pt-period strong { min-width: 145px; padding: 0 9px; text-align: center; font-size: 14px; line-height: 22px; font-weight: 550; letter-spacing: -.15px; }
.pt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.pt-tools label { display: flex; align-items: center; gap: 7px; color: var(--finish-secondary); font-size: 12px; }
.pt-root select, .pt-button {
  min-height: 34px;
  border: 1px solid var(--finish-line);
  border-radius: 7px;
  color: var(--finish-ink);
  background: var(--finish-card);
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  line-height: 20px;
}
.pt-root select { max-width: 180px; padding-right: 25px; cursor: pointer; }
.pt-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 450; white-space: nowrap; }
.pt-button:disabled { color: var(--finish-secondary); opacity: .6; cursor: default; }
.pt-period > button { min-width: 34px; }
.pt-button[aria-pressed=true] { color: var(--link); border-color: color-mix(in srgb, var(--focus) 42%, var(--finish-line)); background: var(--pt-hover); }
.pt-root button { transition: background-color 150ms var(--finish-ease), color 150ms var(--finish-ease), border-color 150ms var(--finish-ease), box-shadow 150ms var(--finish-ease); }
.pt-root button:active { transform: none; }
.pt-root button:focus-visible, .pt-root select:focus-visible, .pt-root summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-root :is(.pt-event, .pt-bar, .pt-cell, .pt-hour-cell):focus-visible { outline-offset: -2px; z-index: 6; }
.pt-root :is(.pt-group-heading > button, .pt-row-label button, .pt-calendar-head button, .pt-month-day button, .pt-unscheduled summary):focus-visible { outline-offset: -2px; }
.pt-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; min-height: 30px; margin: 0 0 8px; color: var(--finish-secondary); font-size: 12px; line-height: 18px; }
.pt-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.pt-legend i { display: inline-block; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; background: var(--pt-appointment-fill); color: var(--pt-appointment); }
.pt-legend i.deadline { width: 8px; height: 8px; border-radius: 1px; rotate: 45deg; color: var(--pt-task); background: var(--pt-task-fill); margin-right: 2px; }
.pt-legend i.window { color: var(--pt-task); background: var(--pt-task-fill); width: 16px; height: 8px; }
.pt-grid-note { color: var(--finish-secondary); font-size: 12px; line-height: 19px; margin: 10px 0 0; max-width: 80ch; }
.pt-surface { min-width: 0; border: 1px solid var(--finish-line); border-radius: 11px; background: var(--finish-card); overflow: hidden; box-shadow: var(--finish-card-shadow); }
.pt-calendar-scroll { max-height: min(710px, 69dvh); overflow: auto; position: relative; scrollbar-width: thin; scrollbar-color: var(--finish-line) transparent; overscroll-behavior: contain; }
.pt-calendar-head, .pt-allday, .pt-hours { display: grid; grid-template-columns: var(--pt-gutter) repeat(var(--days, 7), minmax(120px, 1fr)); min-width: calc(var(--pt-gutter) + var(--days, 7) * 120px); }
.pt-calendar-head { position: sticky; top: 0; z-index: 10; min-height: 63px; background: var(--finish-card); border-bottom: 1px solid var(--finish-line); }
.pt-calendar-head > * { min-width: 0; border-left: 1px solid var(--pt-grid); }
.pt-calendar-head > :first-child { border-left: 0; position: sticky; left: 0; z-index: 2; background: var(--finish-card); }
.pt-calendar-head > div:not(:first-child) { padding: 0; }
.pt-calendar-head button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 62px; padding: 7px 4px; background: transparent; color: var(--finish-secondary); font-size: 11px; }
.pt-calendar-head strong { display: inline-grid; place-items: center; min-width: 27px; height: 27px; border-radius: 50%; font-size: 18px; font-weight: 500; color: var(--finish-ink); letter-spacing: -.35px; }
.pt-calendar-head .pt-today { outline: none; box-shadow: none; background: color-mix(in srgb, var(--focus) 4%, var(--finish-card)); }
.pt-calendar-head .pt-today strong { background: var(--action); color: var(--on-action); }
.pt-allday { background: var(--finish-card); min-height: 47px; border-bottom: 1px solid var(--finish-line); }
.pt-allday > * { min-width: 0; border-left: 1px solid var(--pt-grid); padding: 4px; }
.pt-allday > :first-child { border-left: 0; color: var(--finish-secondary); font-size: 10px; line-height: 14px; padding: 9px 5px; position: sticky; left: 0; z-index: 3; background: var(--finish-card); }
.pt-allday button { display: block; width: 100%; min-height: 30px; padding: 6px 7px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 11px; line-height: 17px; color: var(--pt-task); background: var(--pt-task-fill); border: 1px solid color-mix(in srgb, var(--pt-task) 25%, transparent); border-radius: 5px; }
.pt-hours { position: relative; min-height: 240px; background: var(--finish-card); }
.pt-time-gutter { position: sticky; left: 0; z-index: 4; background: var(--finish-card); height: 100%; }
.pt-time-label { position: absolute; right: 8px; color: var(--finish-secondary); font-size: 10px; line-height: 14px; translate: 0 -6px; }
.pt-time-label:first-child { translate: 0 3px; }
.pt-day-column { position: relative; min-width: 0; border-left: 1px solid var(--pt-grid); height: 100%; }
.pt-day-column.pt-today { box-shadow: inset 0 0 0 9999px color-mix(in srgb, var(--focus) 2%, transparent); }
.pt-hour-cell { position: absolute; left: 0; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--pt-grid); border-radius: 0; background: transparent; }
.pt-event {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  z-index: 2;
  min-width: 0;
  min-height: 26px;
  padding: 6px 7px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--pt-appointment) 28%, transparent);
  border-left: 3px solid var(--pt-appointment);
  border-radius: 5px;
  color: var(--pt-appointment);
  background: var(--pt-appointment-fill);
  text-align: left;
  font-size: 11px;
  line-height: 15px;
  cursor: pointer;
}
.pt-event strong { font-size: 12px; font-weight: 550; color: inherit; line-height: 15px; max-width: 100%; overflow: hidden; }
.pt-event time, .pt-event small, .pt-event span { color: inherit; font-size: 10px; line-height: 14px; opacity: .9; }
.pt-event time { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pt-event > span { font-size: 11px; }
.pt-event.deadline { color: var(--pt-task); background: var(--pt-task-fill); border-color: color-mix(in srgb, var(--pt-task) 28%, transparent); border-left-width: 1px; box-shadow: 0 1px 3px rgb(36 35 31 / 7%); }
.pt-event.is-selected, .pt-bar.is-selected { outline: 2px solid var(--focus); outline-offset: 1px; z-index: 5; box-shadow: 0 2px 7px rgb(36 35 31 / 10%); }
.pt-event[draggable=true], .pt-bar[draggable=true] { cursor: grab; }
.pt-root [data-pt-drag] { user-select: none; -webkit-user-drag: element; }
.pt-event.is-dragging, .pt-bar.is-dragging { opacity: .4; }
.pt-event.deadline, .pt-event.is-short { flex-direction: row; align-items: center; gap: 5px; padding: 3px 5px; }
.pt-event.deadline > time, .pt-event.is-short > time { flex: none; font-size: 10px; line-height: 17px; }
.pt-event.deadline > strong, .pt-event.is-short > strong { min-width: 0; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 17px; }
.pt-event.deadline > span, .pt-event.is-short > span { display: none; }
.pt-event[draggable=true]:active, .pt-bar[draggable=true]:active { cursor: grabbing; }
.pt-month { display: grid; grid-template-columns: repeat(7, minmax(105px, 1fr)); min-width: 735px; }
.pt-weekday { position: sticky; top: 0; z-index: 3; padding: 12px 6px; text-align: center; font-size: 10px; letter-spacing: .04em; color: var(--finish-secondary); background: var(--finish-card); border-bottom: 1px solid var(--finish-line); }
.pt-month-day { min-height: 120px; padding: 6px; border-left: 1px solid var(--pt-grid); border-top: 1px solid var(--pt-grid); min-width: 0; }
.pt-month-day:nth-child(7n + 1) { border-left: 0; }
.pt-month-day > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pt-month-day header button { min-width: 32px; min-height: 32px; padding: 5px; border-radius: 50%; color: var(--finish-ink); background: transparent; font-size: 12px; }
.pt-month-day.pt-today > header button:first-child { color: var(--on-action); background: var(--action); }
.pt-month-day.is-outside { background: color-mix(in srgb, var(--finish-canvas) 62%, var(--finish-card)); }
.pt-month-day.is-outside header button { color: var(--finish-secondary); }
.pt-month-day > button { display: block; text-align: left; width: 100%; min-height: 30px; margin-top: 4px; padding: 5px 6px; border: 1px solid color-mix(in srgb, var(--pt-appointment) 20%, transparent); border-radius: 5px; color: var(--pt-appointment); background: var(--pt-appointment-fill); font-size: 11px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-month-day > button.deadline { color: var(--pt-task); background: var(--pt-task-fill); border-color: color-mix(in srgb, var(--pt-task) 20%, transparent); }
.pt-month-day > button small, .pt-month-day > button time { font-size: 10px; }
.pt-month-day > button time { margin-right: 5px; }
.pt-month-day > button.is-selected { outline: 2px solid var(--focus); outline-offset: 1px; }
.pt-chart { overflow: auto; min-width: 0; max-height: min(760px, 68dvh); scrollbar-width: thin; scrollbar-color: var(--finish-line) transparent; overscroll-behavior: contain; }
.pt-chart-inner { min-width: calc(var(--pt-label-width) + var(--days, 14) * var(--day-width, 64px)); }
.pt-chart-header, .pt-chart-row { display: grid; grid-template-columns: var(--pt-label-width) minmax(0, 1fr); }
.pt-chart-header { position: sticky; top: 0; z-index: 8; min-height: 47px; background: var(--finish-card); border-bottom: 1px solid var(--finish-line); }
.pt-chart-header > :first-child { position: sticky; left: 0; z-index: 2; background: var(--finish-card); padding: 14px; color: var(--finish-secondary); font-size: 12px; font-weight: 500; }
.pt-chart-dates { display: grid; grid-template-columns: repeat(var(--days, 14), minmax(0, 1fr)); }
.pt-chart-dates > * { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; border-left: 1px solid var(--pt-grid); color: var(--finish-secondary); font-size: 10px; line-height: 13px; padding: 6px 2px; background: transparent; }
.pt-chart-dates strong { color: var(--finish-ink); font-size: 13px; font-weight: 500; }
.pt-chart-dates .pt-today { background: var(--pt-hover); color: var(--link); }
.pt-chart-dates .pt-today strong { color: var(--link); font-weight: 650; }
.pt-group-heading { min-height: 39px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--pt-grid); background: color-mix(in srgb, var(--finish-canvas) 60%, var(--finish-card)); }
.pt-group-heading > button { display: flex; align-items: center; justify-content: flex-start; gap: 9px; min-height: 37px; padding: 7px 13px; max-width: var(--pt-label-width); border-color: transparent; border-radius: 0; font-size: 12px; font-weight: 550; color: var(--finish-ink); background: inherit; }
.pt-group-heading > button:first-child { position: sticky; left: 0; z-index: 5; }
.pt-group-heading > button:last-child:not(:first-child) { margin-left: auto; margin-right: 7px; padding: 4px 10px; min-width: 32px; min-height: 32px; justify-content: center; border-radius: 6px; color: var(--finish-secondary); }
.pt-group-heading > button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pt-group-heading small { color: var(--finish-secondary); font-size: 11px; font-weight: 400; margin-left: 4px; }
.pt-chart-row { border-bottom: 1px solid var(--pt-grid); min-height: 49px; }
.pt-chart-row:last-child { border-bottom: 0; }
.pt-row-label { position: sticky; left: 0; z-index: 4; min-width: 0; padding: 6px 11px 6px 24px; background: var(--finish-card); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--pt-grid); }
.pt-row-label button { display: block; width: 100%; text-align: left; min-height: 32px; padding: 2px 0; background: transparent; color: var(--finish-ink); font-size: 12px; line-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-row-label small { color: var(--finish-secondary); font-size: 11px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-row-label > strong { font-size: 13px; font-weight: 550; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-track { display: grid; grid-template-columns: repeat(var(--days, 14), minmax(0, 1fr)); position: relative; min-height: 49px; overflow: hidden; }
.pt-chart--gantt .pt-track { height: auto !important; }
.pt-cell { min-height: 100%; border: 0; border-left: 1px solid var(--pt-grid); border-radius: 0; background: transparent; padding: 0; }
.pt-cell:first-child { border-left: 0; }
.pt-cell.pt-today { background: color-mix(in srgb, var(--focus) 3%, transparent); box-shadow: inset 1px 0 0 color-mix(in srgb, var(--focus) 24%, transparent); }
.pt-bar {
  position: absolute;
  top: 8px;
  height: 32px;
  min-height: 32px;
  min-width: 12px;
  padding: 5px 9px;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--pt-task) 30%, transparent);
  border-radius: 5px;
  background: var(--pt-task-fill);
  color: var(--pt-task);
  font-size: 11px;
  line-height: 20px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pt-bar.appointment { background: var(--pt-appointment-fill); color: var(--pt-appointment); border-color: color-mix(in srgb, var(--pt-appointment) 28%, transparent); }
.pt-bar.deadline { border: 0; border-radius: 4px; background: var(--finish-card); color: var(--pt-task); padding-left: 20px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pt-task) 24%, transparent); }
.pt-bar.deadline::before { content: ''; position: absolute; left: 7px; top: 12px; width: 7px; height: 7px; rotate: 45deg; background: currentColor; border-radius: 1px; }
.pt-bar.summary { border-style: dashed; background: transparent; color: var(--finish-secondary); border-color: var(--finish-line); box-shadow: none; }
.pt-chart--timeline .pt-bar { overflow: visible; }
.pt-drag-affordance { position:absolute; inset:0; display:grid; place-items:center; font-style:normal; font-size:15px; opacity:.55; }
.pt-chart--timeline .pt-bar > span { position: absolute; left: calc(100% + 7px); top: 1px; padding: 4px 0; max-width: 240px; color: var(--finish-ink); font-size: 11px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--finish-card); border-radius: 3px; }
.pt-chart--timeline .pt-bar.is-tail > span { left: auto; right: calc(100% + 7px); text-align: right; }
.pt-track .pt-empty { position: absolute; inset: 0 auto 0 13px; display: flex; align-items: center; color: var(--finish-secondary); font-size: 11px; pointer-events: none; }
.pt-unscheduled { border: 1px solid var(--finish-line); border-radius: 9px; margin-top: 14px; background: var(--finish-card); overflow: hidden; }
.pt-unscheduled summary { cursor: pointer; min-height: 43px; padding: 11px 14px; color: var(--finish-ink); font-size: 12px; line-height: 20px; }
.pt-unscheduled summary small { font-size: 12px; color: var(--finish-secondary); margin-left: 5px; }
.pt-unscheduled[open] summary { border-bottom: 1px solid var(--pt-grid); }
.pt-unscheduled-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 7px; padding: 10px; }
.pt-unscheduled-list button { min-height: 49px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; text-align: left; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 12px; color: var(--finish-ink); }
.pt-unscheduled-list button small { color: var(--finish-secondary); font-size: 11px; }
.pt-unscheduled-list p, .pt-unscheduled > p { color: var(--finish-secondary); font-size: 12px; line-height: 19px; margin: 8px 12px 13px; }
.pt-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 14px; padding: 9px 13px; margin: 0 0 12px; border: 1px solid var(--finish-line); border-left: 3px solid var(--green); border-radius: 7px; color: var(--finish-ink); background: var(--finish-card); font-size: 12px; line-height: 19px; }
.pt-notice[role=alert], .pt-notice.error { border-left-color: var(--danger); }
.pt-notice > span { flex: 1; min-width: min(180px, 100%); }
.pt-notice button { flex-shrink: 0; }
.pt-edit .pcrm-form-intro { font-size: 13px; line-height: 21px; }
.pt-edit .pcrm-two-fields { gap: 14px; }
.pt-edit .pcrm-field input, .pt-edit .pcrm-field select { font-variant-numeric: tabular-nums; }
.pt-edit .pt-readonly { padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 21px; }
.pt-edit .pt-readonly small { display: block; color: var(--muted); font-size: 12px; }
.pt-editor-context { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pt-editor-context strong { display: block; color: var(--ink); font-size: 16px; line-height: 23px; font-weight: 550; }
.pt-editor-context p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 21px; }
.pt-edit > .pt-button { margin-top: 14px; }
.pt-hour-cell.pt-drop-ready, .pt-cell.pt-drop-ready, .pt-month-day.pt-drop-ready, .pt-allday > .pt-drop-ready {
  background: color-mix(in srgb, var(--focus) 11%, var(--finish-card));
  box-shadow: inset 0 0 0 2px var(--focus);
}
.pt-narrow-view { display: none; }
.pt-narrow-view > span { font-size: 11px; color: var(--finish-secondary); }
.pt-narrow-view select { display: block; width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--finish-line); border-radius: 8px; padding: 7px 28px 7px 11px; background: var(--finish-card); color: var(--finish-ink); font: inherit; font-size: 13px; box-shadow: var(--finish-shadow); }
.pt-narrow-view select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover:hover) and (pointer:fine) {
  .pt-button:not(:disabled):hover, .pt-root select:hover { background: var(--finish-hover); border-color: color-mix(in srgb, var(--finish-ink) 30%, var(--finish-line)); }
  .pt-hour-cell:hover, .pt-cell:hover { background: var(--pt-hover); }
  .pt-event:hover, .pt-bar:hover { filter: brightness(.98); box-shadow: 0 1px 5px rgb(36 35 31 / 12%); }
  .pt-root .pt-event:hover, .pt-root .pt-bar:hover { z-index: 5; }
  .pt-row-label button:hover, .pt-group-heading > button:hover { color: var(--link); }
  .pt-unscheduled-list button:hover { border-color: var(--finish-line); background: var(--finish-hover); }
  .pt-month-day header button:hover { background: var(--finish-hover); }
}
@container pcrm (max-width:620px) {
  .pcrm-view-toolbar .pcrm-views { display: none; }
  .pt-narrow-view { display: block; min-width: 0; max-width: 220px; flex: 1; }
  .pcrm-view-toolbar { gap: 12px; }
  .pt-toolbar { align-items: flex-start; gap: 10px; }
  .pt-period strong { min-width: 120px; padding-inline: 5px; font-size: 13px; }
  .pt-tools { width: 100%; gap: 8px; }
  .pt-tools label { flex: 1; }
  .pt-tools label select { max-width: none; flex: 1; min-width: 0; }
  .pt-root { --pt-label-width: 180px; }
}
@media (max-width:760px) {
  .pcrm-view-toolbar .pcrm-views { display: none; }
  .pt-narrow-view { display: block; min-width: 0; max-width: 220px; flex: 1; }
  .pcrm-view-toolbar { gap: 12px; }
  .pt-toolbar { gap: 9px; }
  .pt-period strong { min-width: 120px; padding-inline: 5px; font-size: 13px; }
  .pt-tools { width: 100%; gap: 8px; }
  .pt-tools label { flex: 1; }
  .pt-tools label select { max-width: none; flex: 1; min-width: 0; }
  .pt-root { --pt-label-width: 168px; }
  .pt-root select { font-size: 13px; }
  .pt-chart { max-height: 65dvh; }
  .pt-calendar-scroll { max-height: 65dvh; }
  .pt-unscheduled-list { grid-template-columns: 1fr; }
  .pt-legend { gap: 5px 13px; font-size: 11px; }
}
@media (pointer:coarse) {
  .pt-root :is(.pt-button, select, .pt-row-label button, .pt-group-heading > button, .pt-unscheduled summary), .pt-narrow-view select { min-height: 44px; }
  .pt-period > button { min-width: 44px; }
  .pt-root select, .pt-narrow-view select { font-size: 16px; }
  .pt-root .pt-month-day header button { min-width: 44px; min-height: 44px; }
}
/* Spatial marks keep their time geometry; full-size edit controls are also available. */
@media (max-width:720px) {
  html[data-route=crm] main .pt-hour-cell { min-height: 0 !important; min-width: 0 !important; }
  html[data-route=crm] main .pt-event { min-height: 26px !important; min-width: 0 !important; }
  html[data-route=crm] main .pt-bar { min-height: 32px !important; min-width: 12px !important; }
  html[data-route=crm] main .pt-cell { min-height: 100% !important; min-width: 0 !important; }
}
@media (prefers-reduced-motion:reduce) {
  .pt-root *, .pt-narrow-view * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html[data-motion=reduced] .pt-root *, html[data-motion=reduced] .pt-narrow-view * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Final composition checks: orientation, quiet calendar chrome and explicit types. */
.pt-month-day > header .pt-button { border:0; box-shadow:none; }
.pt-month-day { min-height:clamp(92px, calc((65dvh - 34px) / var(--weeks,5)), 122px); }
.pt-chart-row > .pt-track { height:auto !important; min-height:var(--track-height,49px); }
.pt-scroll-hint { display:none; margin:0 0 8px; color:var(--finish-secondary); font-size:12px; line-height:18px; }
.pt-event.deadline::before { content:''; width:6px; height:6px; flex:0 0 6px; rotate:45deg; border-radius:1px; background:currentColor; margin:0 2px; }
.pt-deadline-chip::before { content:'◆'; font-size:8px; margin-right:5px; }
.pt-replan { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:21px; margin:18px 0 6px; }
.pt-replan input { width:18px; height:18px; flex:0 0 18px; margin:2px 0; accent-color:var(--action); }
.pt-edit .pt-shared-note { color:var(--muted); font-size:12px; line-height:19px; margin:16px 0; }
@media (max-width:1000px) { .pt-scroll-hint { display:block; } }
@container pcrm (max-width:800px) { .pt-scroll-hint { display:block; } }

/* O piloto mantém as duas visualizações acessíveis também em telas estreitas. */
@container pcrm (max-width:620px){.pilot-mode .pcrm-root .pcrm-view-toolbar .pcrm-views{display:flex;min-width:0;overflow-x:auto}}
@media(max-width:760px){.pilot-mode .pcrm-root .pcrm-view-toolbar .pcrm-views{display:flex;min-width:0;overflow-x:auto}}
.pilot-mode .pcrm-sections>span{display:inline-flex;align-items:center;min-height:40px;color:var(--ink);font-size:14px;font-weight:600}
