.call-sheet-view {
  display: none;
}

@media (min-width: 901px) {
  body[data-app-view="callsheet"] {
    overflow: hidden;
  }

  body[data-app-view="callsheet"] .header,
  body[data-app-view="callsheet"] .filter-panel,
  body[data-app-view="callsheet"] .grid-wrapper,
  body[data-app-view="callsheet"] .mobile-agenda,
  body[data-app-view="callsheet"] .dashboard-schedule-filter,
  body[data-app-view="callsheet"] [data-dashboard-section="dashboard"],
  body[data-app-view="callsheet"] [data-dashboard-section="settings"] {
    display: none !important;
  }

  body[data-app-view="callsheet"] .dashboard-page {
    height: 100vh;
    padding: 0;
    overflow: hidden;
    background: var(--dashboard-bg);
  }

  body[data-app-view="callsheet"] .call-sheet-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--dashboard-text);
    background: var(--dashboard-bg);
  }

  .call-sheet-page-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 28px;
    background: var(--dashboard-card);
    border-bottom: 1px solid var(--dashboard-border);
  }

  .call-sheet-page-head h1,
  .call-sheet-page-head p {
    margin: 0;
  }

  .call-sheet-page-head h1 {
    margin-top: 3px;
    font-size: 24px;
  }

  .call-sheet-page-head > div:first-child > p:last-child {
    margin-top: 4px;
    color: var(--dashboard-muted);
    font-size: 13px;
  }

  .call-sheet-page-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .call-sheet-page-actions button,
  .call-sheet-preview-toolbar button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
  }

  .call-sheet-local-note {
    flex: 0 0 auto;
    padding: 8px 28px;
    color: #694d00;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    font-size: 12px;
  }

  body.theme-dark .call-sheet-local-note {
    color: #fde68a;
    background: #422006;
    border-color: #713f12;
  }

  .call-sheet-workspace {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px 20px 20px;
    overflow: hidden;
  }

  .call-sheet-editor,
  .call-sheet-preview-shell {
    min-width: 0;
    min-height: 0;
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 10px;
    box-shadow: var(--dashboard-shadow);
  }

  .call-sheet-editor {
    display: none;
    padding: 14px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .call-sheet-form-section {
    margin-bottom: 10px;
    border: 1px solid var(--dashboard-border);
    border-radius: 8px;
    overflow: hidden;
  }

  .call-sheet-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--dashboard-bg);
  }

  .call-sheet-section-head h2 {
    margin: 0;
    font-size: 13px;
    padding-top: 7px;
  }

  .call-sheet-section-head label,
  .call-sheet-visible-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dashboard-muted);
    font-size: 11px;
  }

  .call-sheet-section-controls {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 7px;
  }

  .call-sheet-section-title-field {
    display: grid !important;
    gap: 4px !important;
    width: min(270px, 34vw);
  }

  .call-sheet-section-title-field input {
    width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    color: var(--dashboard-text);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    font: inherit;
    font-size: 11px;
  }

  .call-sheet-visible-control {
    min-height: 32px;
  }

  .call-sheet-section-order {
    display: inline-flex;
    gap: 4px;
  }

  .call-sheet-section-order button {
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--dashboard-text);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    cursor: pointer;
  }

  .call-sheet-section-order button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .call-sheet-color-control {
    display: flex;
    align-items: flex-end;
    gap: 5px;
  }

  .call-sheet-color-control label {
    display: grid;
    gap: 4px;
    color: var(--dashboard-muted);
    font-size: 10px;
    font-weight: 700;
  }

  .call-sheet-color-control input[type="color"] {
    width: 38px;
    height: 32px;
    padding: 3px;
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    cursor: pointer;
  }

  .call-sheet-color-control button {
    min-height: 32px;
    padding: 0 8px;
    color: var(--dashboard-muted);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
  }

  .call-sheet-color-control button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .call-sheet-section-body {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .call-sheet-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .call-sheet-field,
  .call-sheet-upload-field {
    min-width: 0;
    display: grid;
    gap: 5px;
    color: var(--dashboard-muted);
    font-size: 11px;
    font-weight: 700;
  }

  .call-sheet-field.full {
    grid-column: 1 / -1;
  }

  .call-sheet-date-picker {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 8px;
    align-items: end;
  }

  .call-sheet-date-add {
    min-height: 38px;
    padding: 0 16px;
    color: #fff;
    background: var(--dashboard-primary);
    border: 1px solid var(--dashboard-primary);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
  }

  .call-sheet-date-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .call-sheet-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 5px 0 10px;
    color: var(--dashboard-text);
    background: var(--dashboard-bg);
    border: 1px solid var(--dashboard-border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
  }

  .call-sheet-date-chip button {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #b42318;
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 50%;
    cursor: pointer;
  }

  .call-sheet-date-empty {
    color: var(--dashboard-muted);
    font-size: 11px;
  }

  .call-sheet-field-grid > .call-sheet-help.full {
    grid-column: 1 / -1;
  }

  .call-sheet-field input,
  .call-sheet-field select,
  .call-sheet-field textarea,
  .call-sheet-upload-field input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    color: var(--dashboard-text);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
  }

  .call-sheet-field textarea {
    min-height: 68px;
    resize: vertical;
  }

  .call-sheet-field input:focus,
  .call-sheet-field select:focus,
  .call-sheet-field textarea:focus {
    border-color: var(--dashboard-primary);
    outline: 3px solid rgba(37, 99, 235, 0.13);
  }

  .call-sheet-inline-actions,
  .call-sheet-row-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .call-sheet-inline-actions button,
  .call-sheet-row-actions button,
  .call-sheet-add-row {
    min-height: 32px;
    padding: 0 10px;
    color: var(--dashboard-text);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }

  .call-sheet-row-actions button {
    width: 30px;
    padding: 0;
  }

  .call-sheet-row-actions button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .call-sheet-row-actions button[data-cs-remove] {
    color: #b42318;
  }

  .call-sheet-edit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    gap: 7px;
    align-items: end;
    padding: 8px;
    background: var(--dashboard-bg);
    border-radius: 7px;
  }

  .call-sheet-edit-row.is-breakdown {
    grid-template-columns: 82px minmax(110px, 0.8fr) minmax(150px, 1.2fr) auto auto;
  }

  .call-sheet-edit-row.is-call-time,
  .call-sheet-edit-row.is-role {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto auto;
  }

  .call-sheet-edit-row.is-team {
    grid-template-columns: minmax(120px, 0.9fr) minmax(125px, 0.9fr) minmax(130px, 0.9fr) minmax(100px, 0.7fr) auto auto;
  }

  .call-sheet-edit-row.is-warning {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .call-sheet-edit-row.is-image {
    grid-template-columns: minmax(140px, 1fr) 100px minmax(120px, 0.8fr) auto;
  }

  .call-sheet-fixed-logo,
  .call-sheet-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
  }

  .call-sheet-fixed-logo img {
    width: 88px;
    height: 38px;
    object-fit: contain;
  }

  .call-sheet-fixed-logo span,
  .call-sheet-help {
    color: var(--dashboard-muted);
    font-size: 11px;
  }

  .call-sheet-fixed-logo .call-sheet-check {
    margin-left: auto;
  }

  .call-sheet-logo-row {
    grid-column: 1 / -1;
  }

  .call-sheet-logo-row .call-sheet-upload-preview {
    flex: 1 1 auto;
  }

  .call-sheet-flow-insert {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    gap: 6px;
    min-height: 24px;
  }

  .call-sheet-flow-insert span {
    height: 1px;
    background: var(--dashboard-border);
  }

  .call-sheet-flow-insert button {
    min-height: 26px;
    padding: 0 8px;
    color: var(--dashboard-muted);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
  }

  .call-sheet-flow-image-block {
    padding: 9px;
    background: var(--dashboard-bg);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
  }

  .call-sheet-flow-image-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .call-sheet-flow-image-head label,
  .call-sheet-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dashboard-muted);
    font-size: 11px;
  }

  .call-sheet-flow-image-grid {
    display: grid;
    grid-template-columns: minmax(130px, 0.9fr) minmax(110px, 0.7fr) repeat(2, minmax(110px, 1fr));
    gap: 7px;
    align-items: end;
  }

  .call-sheet-flow-image-grid .call-sheet-row-actions {
    grid-column: 4;
    justify-self: end;
  }

  .call-sheet-flow-size-control {
    grid-column: 1 / 4;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 7px 10px;
    align-items: center;
    padding: 8px 10px;
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
  }

  .call-sheet-flow-size-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dashboard-muted);
    font-size: 11px;
  }

  .call-sheet-flow-size-head output {
    color: var(--dashboard-primary);
    font-weight: 800;
  }

  .call-sheet-flow-size-control input[type="range"] {
    width: 100%;
    accent-color: var(--dashboard-primary);
  }

  .call-sheet-flow-size-presets {
    display: flex;
    gap: 5px;
  }

  .call-sheet-flow-size-presets button {
    min-height: 28px;
    padding: 0 8px;
    color: var(--dashboard-muted);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
  }

  .call-sheet-flow-size-presets button[aria-pressed="true"] {
    color: #fff;
    background: var(--dashboard-primary);
    border-color: var(--dashboard-primary);
  }

  .call-sheet-upload-preview {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 7px;
    border: 1px dashed var(--dashboard-border);
    border-radius: 7px;
  }

  .call-sheet-upload-preview img {
    width: 56px;
    height: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 5px;
  }

  .call-sheet-upload-preview.full {
    grid-column: 1 / -1;
  }

  .call-sheet-preview-shell {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .call-sheet-preview-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--dashboard-border);
  }

  .call-sheet-preview-toolbar > span {
    color: var(--dashboard-muted);
    font-size: 12px;
  }

  .call-sheet-visual-tools {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: var(--dashboard-bg);
    border-bottom: 1px solid var(--dashboard-border);
  }

  .call-sheet-visual-tools button,
  .call-sheet-visual-tools label {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    color: var(--dashboard-text);
    background: var(--dashboard-card);
    border: 1px solid var(--dashboard-border);
    border-radius: 7px;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
  }

  .call-sheet-visual-tools button {
    cursor: pointer;
  }

  .call-sheet-visual-tools button:hover,
  .call-sheet-visual-tools button:focus-visible {
    border-color: var(--dashboard-primary);
    outline: none;
  }

  .call-sheet-visual-tools button.is-danger {
    color: #b42318;
  }

  .call-sheet-visual-tools input[type="color"] {
    width: 26px;
    height: 26px;
    padding: 1px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .call-sheet-visual-divider {
    width: 1px;
    height: 28px;
    background: var(--dashboard-border);
  }

  .call-sheet-visual-file {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .call-sheet-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #callSheetDirectEditBtn[aria-pressed="true"] {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
  }

  .call-sheet-preview-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 16px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .call-sheet-paper {
    width: 794px;
    min-height: 1123px;
    margin: 16px auto 32px;
    padding: 34px;
    color: #111;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
  }

  .cs-print-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 116px;
    border: 1px solid #222;
  }

  .cs-project-title {
    display: grid;
    place-items: center;
    padding: 18px;
    font-size: clamp(18px, 2.2vw, 27px);
    font-weight: 800;
    text-align: center;
    overflow-wrap: anywhere;
    border-right: 1px solid #222;
  }

  .cs-logo-date {
    display: grid;
    grid-template-rows: 1fr auto;
  }

  .call-sheet-paper > .cs-print-header:not(:first-child) {
    margin-top: 18px;
  }

  .cs-logos {
    display: grid;
    grid-template-columns: repeat(var(--cs-logo-count, 1), minmax(0, 1fr));
    align-items: center;
    gap: 9px;
    padding: 10px;
  }

  .cs-logos[data-count="1"] { --cs-logo-count: 1; }
  .cs-logos[data-count="2"] { --cs-logo-count: 2; }
  .cs-logos[data-count="3"] { --cs-logo-count: 3; }
  .cs-logos[data-count="4"] { --cs-logo-count: 4; }

  .cs-logos > div {
    min-width: 0;
    display: grid;
    place-items: center;
  }

  .cs-logos img {
    width: 100%;
    height: 50px;
    max-width: 126px;
    object-fit: contain;
  }

  .cs-shoot-date {
    display: grid;
    gap: 3px;
    padding: 7px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    border-top: 1px solid #222;
  }

  .cs-shoot-date[style] {
    color: var(--cs-title-text);
    background: var(--cs-title-bg);
  }

  .cs-shoot-date strong {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .cs-shoot-date span {
    overflow-wrap: anywhere;
  }

  .cs-section {
    margin-top: 18px;
    break-inside: avoid;
  }

  .cs-section-title {
    padding: 6px 8px;
    color: #fff;
    background: #7d7d7d;
    border: 1px solid #222;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .cs-section-title[style] {
    color: var(--cs-title-text);
    background: var(--cs-title-bg);
  }

  .cs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .cs-table th,
  .cs-table td {
    padding: 7px 8px;
    border: 1px solid #333;
    font-size: 11px;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  .cs-table th {
    width: 34%;
    text-align: left;
    background: #f3f3f3;
  }

  .cs-table tr.cs-custom-row > th,
  .cs-table tr.cs-custom-row > td {
    color: var(--cs-row-text);
    background: var(--cs-row-bg);
  }

  .cs-breakdown-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
  }

  .cs-breakdown-row {
    flex: 0 0 100%;
    min-height: 34px;
    display: grid;
    grid-template-columns: 15% 28% 1fr;
    border-bottom: 1px solid #333;
  }

  .cs-breakdown-row > * {
    padding: 7px 8px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .cs-breakdown-row > * + * {
    border-left: 1px solid #333;
  }

  .cs-breakdown-row.is-lunch {
    background: #d9d9d9;
    font-weight: 800;
  }

  .cs-breakdown-row.is-wrap,
  .cs-breakdown-row.is-important {
    background: #fff200;
    font-weight: 800;
  }

  .cs-breakdown-row.cs-custom-row {
    color: var(--cs-row-text);
    background: var(--cs-row-bg);
  }

  .cs-breakdown-empty {
    padding: 8px;
    border: 1px solid #333;
    font-size: 11px;
  }

  .cs-flow-image {
    position: relative;
    width: var(--cs-flow-width, 100%);
    flex: 0 0 var(--cs-flow-width, 100%);
    max-width: 100%;
    margin-block: 0;
    padding: 8px;
    break-inside: avoid;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
  }

  .cs-flow-image.is-align-left { margin-left: 0; margin-right: auto; }
  .cs-flow-image.is-align-center { margin-left: auto; margin-right: auto; }
  .cs-flow-image.is-align-right { margin-left: auto; margin-right: 0; }

  .cs-flow-canvas {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: var(--cs-flow-canvas-height, 360px);
    min-height: 36px;
    overflow: hidden;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
  }

  .cs-flow-canvas .cs-flow-image {
    position: absolute;
    left: var(--cs-flow-x, 0%);
    top: var(--cs-flow-y, 12px);
    width: var(--cs-flow-width, 40%);
    max-width: 100%;
    margin: 0;
    padding: 8px;
    border: 1px solid #333;
    background: #fff;
    box-sizing: border-box;
  }

  .call-sheet-paper.is-direct-edit .cs-flow-canvas .cs-flow-image {
    cursor: grab;
    touch-action: none;
    user-select: none;
  }

  .call-sheet-paper.is-direct-edit .cs-flow-canvas .cs-flow-image.is-direct-moving {
    z-index: 10;
    cursor: grabbing;
  }

  .cs-direct-resize-handle.cs-flow-canvas-resize {
    left: 50%;
    right: auto;
    bottom: 5px;
    top: auto;
    width: 88px;
    height: 10px;
    border-radius: 999px;
    transform: translateX(-50%);
    cursor: ns-resize;
  }

  .cs-flow-image img {
    width: 100%;
    max-height: 310px;
    display: block;
    object-fit: var(--cs-flow-fit, contain);
  }

  .cs-flow-image figcaption {
    display: grid;
    gap: 2px;
    padding-top: 6px;
    font-size: 9px;
  }

  .cs-location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    border: 1px solid #333;
  }

  .cs-location-copy {
    padding: 16px;
  }

  .cs-location-copy h3,
  .cs-location-copy p {
    margin: 0 0 6px;
  }

  .cs-location-copy a {
    color: #174ea6;
    font-weight: 700;
  }

  .cs-map-preview {
    min-height: 132px;
    display: grid;
    place-items: center;
    color: #334155;
    background: #eef2f7;
    border-left: 1px solid #333;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
  }

  .cs-map-preview iframe,
  .cs-map-preview img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    display: block;
    border: 0;
    object-fit: cover;
  }

  .cs-map-preview.is-placeholder {
    align-content: center;
    gap: 4px;
    padding: 12px;
  }

  .cs-map-preview.is-placeholder span { font-size: 28px; }
  .cs-map-preview.is-placeholder small { font-size: 9px; }
  .cs-map-print-fallback { display: none; }

  .cs-image-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
  }

  .cs-image-grid figure {
    position: relative;
    flex: 0 0 calc(var(--cs-image-width, 50%) - 4px);
    min-height: 150px;
    margin: 0;
    display: flex;
    flex-direction: column;
    break-inside: avoid;
    border: 1px solid #333;
  }

  .cs-image-grid img {
    width: 100%;
    min-height: 140px;
    flex: 1 1 auto;
    object-fit: var(--cs-fit, cover);
  }

  .cs-image-grid figcaption {
    padding: 5px 7px;
    font-size: 9px;
    border-top: 1px solid #333;
  }

  .call-sheet-paper.is-direct-edit [contenteditable="true"] {
    min-width: 18px;
    cursor: text;
    outline: 1px dashed rgba(37, 99, 235, 0.55);
    outline-offset: -2px;
  }

  .call-sheet-paper.is-direct-edit [contenteditable="true"]:focus {
    outline: 2px solid #2563eb;
    background: rgba(219, 234, 254, 0.45);
  }

  .call-sheet-paper.is-direct-edit [data-cs-direct-drag-kind] {
    cursor: grab;
  }

  .call-sheet-paper.is-direct-edit [data-cs-direct-drag-kind]:active {
    cursor: grabbing;
  }

  .call-sheet-paper.is-direct-edit [data-cs-direct-drag-kind]:hover {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.28);
  }

  .call-sheet-paper .is-direct-dragging {
    opacity: 0.45;
  }

  .call-sheet-paper.is-direct-edit .is-direct-selected {
    box-shadow: inset 0 0 0 3px rgba(37, 99, 235, 0.62) !important;
  }

  .cs-direct-resize-handle {
    position: absolute;
    z-index: 5;
    top: 10%;
    right: -5px;
    width: 10px;
    height: 80%;
    display: block;
    cursor: ew-resize;
    border-radius: 8px;
    background: #2563eb;
    box-shadow: 0 0 0 2px #fff;
  }

  @media print {
    .cs-direct-resize-handle { display: none !important; }
  }

  .cs-warning-list {
    display: grid;
    gap: 4px;
  }

  .cs-warning {
    padding: 7px 10px;
    text-align: center;
    background: #fff200;
    border: 1px solid #222;
    font-size: 10px;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .cs-warning.cs-custom-row {
    color: var(--cs-row-text);
    background: var(--cs-row-bg);
  }
}

@media (max-width: 900px) {
  .call-sheet-view,
  [data-dashboard-quick="callsheet"] {
    display: none !important;
  }
}
