/* Task-only spacing overrides. Keep 44px controls and existing business states. */
ion-content.task-form-content.task-form-content {
  --sb-common-label: 80px;
  --create-label: var(--sb-common-label);
  --sb-checkin-label: var(--sb-common-label);
}
ion-content.task-form-content.task-form-content .form {
  margin: 8px 12px !important;
  padding: 8px 12px !important;
}
ion-content.task-form-content.task-form-content .form > .title {
  padding: 2px 0 4px;
  margin: 0 0 4px !important;
  font-size: 15px !important;
  line-height: 22px;
}
ion-content.task-form-content.task-form-content .form > .field:not(.round-title):not(.notice) {
  margin: 0;
  padding: 2px 0;
  min-height: 44px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px !important;
}
ion-content.task-form-content.task-form-content .form > .field:not(.round-title):not(.notice) > span:first-child,
ion-content.task-form-content.task-form-content .sb-create-row > span:first-child {
  flex: 0 0 var(--sb-common-label);
  margin: 0;
}
.task-form-content .form > .field > :not(:first-child) { min-width: 0; text-align: left; }
.task-form-content .form > .field > .primary { overflow-wrap: anywhere; }
.task-form-content .field .radio { justify-content: flex-start; }
.task-form-content .field .holder { width: auto; }
ion-content.task-form-content.task-form-content .sb-create-row { padding: 2px 0; min-height: 44px; }
.task-form-content .task-id-row,
.task-form-content .sb-detail-links,
.task-form-content .sb-detail-fixed-link,
.task-form-content task-link-summary,
.task-form-content task-text-preview,
.task-form-content task-create-preview[data-compact="true"],
.task-form-content topic-detail-images,
.task-form-content .sb-post-section-row,
.task-form-content .sb-post-image-count,
.task-form-content .sb-checkin-state-row,
.task-form-content checkin-topic-summary {
  grid-template-columns: var(--sb-common-label) minmax(0,1fr);
  column-gap: 12px;
}
.task-form-content .sb-topic-rules { --sb-topic-label: var(--sb-common-label); }
.task-form-content .sb-execution-row { grid-template-columns: var(--sb-common-label) minmax(0,1fr) auto; }
.task-form-content account-port-picker .sb-execution-row { grid-template-columns: var(--sb-common-label) minmax(0,1fr); }
.task-form-content[data-v-44daeccb] .form > .field:not(.round-title):not(.notice) > span:first-child,
.task-form-content[data-v-44daeccb] .task-id-row > span:first-child,
.task-form-content .sb-create-row > span:first-child,
.task-form-content .sb-execution-label,
.task-form-content .sb-text-label,
.task-form-content .sb-detail-link-label,
.task-form-content .sb-detail-fixed-link > span:first-child,
.task-form-content .sb-summary-label {
  color: var(--ui-ink,#111318);
  font-size: 14px;
  font-weight: 500;
}
.task-form-content .sb-detail-fixed-link > ion-item { margin: 0; --min-height: 44px; }
.task-form-content .sb-detail-links,
.task-form-content .sb-detail-fixed-link,
.task-form-content task-link-summary,
.task-form-content task-text-preview,
.task-form-content task-create-preview[data-compact="true"] { padding: 2px 0; }
.task-form-content .task-link-overview { min-height: 44px; }
.task-form-content .task-link-toggle,
.task-form-content .sb-summary-toggle,
.task-form-content .sb-text-toggle {
  color: var(--ui-link,#cf4b00);
  font: 400 13px/20px var(--ui-font,system-ui);
}
.task-form-content .task-link-toggle,
.task-form-content .sb-text-toggle { min-height: 44px; padding: 0 4px; }
.task-form-content .task-link-toggle { min-width: 44px; }
.task-form-content .sb-text-toggle { padding-left: 0; }
.task-form-content .sb-create-preview-body .sb-post-preview-toggle {
  color: var(--ui-link,#cf4b00);
  font: 400 13px/20px var(--ui-font,system-ui);
}
.task-form-content .task-id-copy { flex-basis: 44px; width: 44px; min-height: 44px; }
.task-form-content .sb-copy-icon { width: 10px; height: 12px; border-width: 1.25px; }
.task-form-content .sb-copy-icon::before { left: -4px; top: -4px; width: 7px; height: 9px; border-width: 1.25px; }
.task-form-content .form > .record { margin-top: 4px; }
.task-form-content .form > .empty { padding: 8px 0; }
.task-form-content .sb-record-heading { min-height: 44px; }
.task-form-content .sb-inner-fields { gap: 4px; }
/* Remove only a section's final separator. Inner row separators remain. */
ion-content.task-form-content.task-form-content .form > .field:last-child,
ion-content.task-form-content.task-form-content .form > .sb-create-row:last-child,
.task-form-content .form > .task-id-row:last-child,
.task-form-content .form > .sb-detail-links:last-child,
.task-form-content .form > .sb-detail-fixed-link:last-child,
.task-form-content .form > task-link-summary:last-child,
.task-form-content .form > task-text-preview:last-child,
.task-form-content .form > topic-post-sections:last-child,
.task-form-content .form > topic-detail-images:last-child,
.task-form-content .form > .sb-checkin-state-row:last-child,
.task-form-content .form > checkin-topic-summary:last-child,
.task-form-content .sb-superlike-link:last-child { border-bottom: 0; }
ion-content.task-form-content.task-form-content .form > .sb-link-choice:last-child .sb-single-link,
ion-content.task-form-content.task-form-content .form > .sb-link-choice:last-child .sb-link-manage,
.task-form-content .form > .sb-link-choice:last-child task-create-preview,
.task-form-content .form > task-create-preview:last-child { border-bottom: 0; }
@media (max-width:359px) {
  ion-content.task-form-content.task-form-content { --sb-common-label: 72px; }
  ion-content.task-form-content.task-form-content .form { margin: 6px 10px !important; padding: 6px 10px !important; }
  ion-content.task-form-content.task-form-content .form > .field:not(.round-title):not(.notice) { gap: 8px !important; }
  .task-form-content .task-id-row,.task-form-content .sb-detail-links,.task-form-content .sb-detail-fixed-link,
  .task-form-content task-link-summary,.task-form-content task-text-preview,.task-form-content topic-detail-images,
  .task-form-content task-create-preview[data-compact="true"],
  .task-form-content .sb-post-section-row,.task-form-content .sb-checkin-state-row,.task-form-content checkin-topic-summary { column-gap: 8px; }
}

/* A task row owns its separator in both creation and detail pages. */
ion-content.task-form-content .form ion-item{--border-width:0;--inner-border-width:0;--highlight-height:0}
ion-content.task-form-content .form ion-item::part(native){border-bottom:0!important}
/* Inline sorting matches the other unboxed task values. */
.task-form-content .sb-inner-sort-trigger{border:0;border-radius:0;background:transparent;padding:8px 0}
/* The following text area's frame already separates it from its label. */
ion-content.task-form-content.task-form-content .form>.field:has(+textarea){border-bottom:0}
