/* Visual handoff: top navigation, focused editing and an ordered designer brief. */
#artModule .art-workbench { grid-template-columns: 230px minmax(0,1fr); gap: 16px; padding: 16px; background: #f4f6f8; }
#artModule .art-sidebar { border-radius: 12px; box-shadow: none; min-width: 0; }
#artModule .art-side-head { flex-direction: column; background: #fff; }
#artModule .art-side-head h1 { font-size: 19px; }
#artModule .art-side-head p { font-size: 12px; }
#artModule #newArtRequestBtn { width: 100%; height: 36px; box-shadow: none; background: #2563eb; border-color: #2563eb; }
#artModule .art-standards-button { height: 34px; font-size: 12px; font-weight: 500; color: #596777; background: #f8fafb; border-color: #dfe5ea; }
#artModule .art-request-card { grid-template-columns: 36px minmax(0,1fr); padding: 10px 8px; border-radius: 8px; box-shadow: none; }
#artModule .art-request-cover { width: 36px; height: 40px; }
#artModule .art-request-card.active { box-shadow: none; border-color: #b8cff5; background: #edf4ff; }
#artModule .art-request-card strong { font-size: 13px; }
#artModule .art-editor { padding: 0 20px 24px; border: 1px solid #e1e6eb; border-radius: 12px; background: #fff; }
#artModule .art-editor-head { top: 0; margin: 0 -20px; padding: 18px 20px; align-items: center; background: #fff; box-shadow: none; backdrop-filter: none; z-index: 8; }
#artModule .art-editor-head h2 { font-size: 19px; }
#artModule .art-editor-head p { font-size: 12px; }
#artModule .art-editor-actions { align-items: center; gap: 12px; }
#artModule .art-editor-actions button { min-width: 60px; height: 34px; font-size: 12px; }
#artModule .art-editor-actions .view-switch { display: flex; align-items: center; height: 38px; gap: 18px; padding: 0 22px 0 0; margin-right: 2px; border-right: 1px solid #e6ebef; border-radius: 0; background: transparent; }
#artModule .art-editor-actions .view-switch button { position: relative; height: 38px; min-width: 0; padding: 0 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #83909b; font-size: 13px; font-weight: 500; }
#artModule .art-editor-actions .view-switch button:hover { color: #1d4ed8; background: transparent; }
#artModule .art-editor-actions .view-switch button.active { background: transparent; color: #1d4ed8; box-shadow: none; font-weight: 700; }
#artModule .art-editor-actions .view-switch button.active::after { content: ""; position: absolute; bottom: 0; left: 2px; right: 2px; height: 2px; border-radius: 2px; background: #2563eb; }
#artModule #deleteArtRequestBtn { min-width: 0; padding: 0 6px; border: 0; background: transparent; box-shadow: none; color: #9a8383; font-size: 12px; font-weight: 400; }
#artModule #deleteArtRequestBtn:hover { background: #fff5f4; color: #c54740; }
#artModule #saveArtRequestBtn { height: 38px; padding: 0 20px; border: 1px solid #2563eb; border-radius: 8px; background: #2563eb; box-shadow: none; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
#artModule #saveArtRequestBtn:hover { background: #1d4ed8; border-color: #1d4ed8; }
#artModule .art-editor-actions button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
#artModule .art-brief-bar { display: flex; gap: 16px; align-items: end; padding: 20px 0; }
#artModule .art-brief-title { flex: 1; }
#artModule .art-brief-bar label > span, #artModule .art-meta-field > span, #artModule .art-focus-head label > span, #artModule .art-image-field > span { display: block; font-size: 12px; font-weight: 600; color: #5f6c7a; margin-bottom: 7px; }
#artModule input, #artModule select, #artModule textarea { border-color: #dce3e9; border-radius: 6px; box-shadow: none; background: #fff; color: #243345; font-size: 13px; }
#artModule input:focus, #artModule select:focus, #artModule textarea:focus { border-color: #2563eb; outline: 2px solid #2563eb18; }
#artModule .art-brief-bar input { width: 100%; font-size: 15px; }
#artModule .art-content-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e6ebef; margin-bottom: 20px; }
#artModule .art-content-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; height: 42px; padding: 0 2px; color: #687584; font-size: 13px; }
#artModule .art-content-tabs button.active { color: #1d4ed8; border-bottom-color: #2563eb; font-weight: 700; }
#artModule .art-sheet-block { border: 0; border-radius: 0; margin: 0; box-shadow: none; overflow: visible; }
#artModule .art-section-head { padding: 0 0 16px; border: 0; background: #fff; align-items: center; }
#artModule .art-section-head h3 { font-size: 16px; }
#artModule .art-section-head p { color: #7b8794; font-size: 12px; margin: 6px 0 0; }
#artModule .art-card-actions button, #artModule #addArtResearchBtn { font-size: 12px; min-width: 0; border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
#artModule .art-meta-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 4px 0; }
#artModule .art-meta-field input, #artModule .art-meta-field select, #artModule .art-meta-field textarea { width: 100%; }
#artModule .art-meta-wide { grid-column: 1/-1; }
#artModule .art-meta-field textarea { min-height: 84px; }
#artModule .art-image-navigation { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 16px; }
#artModule .art-image-navigation button { flex: 0 0 auto; height: 38px; padding: 0 14px; border: 1px solid #e0e6eb; background: #fff; border-radius: 7px; font-size: 12px; color: #617080; }
#artModule .art-image-navigation small { margin-right: 8px; color: #9ba6b1; }
#artModule .art-image-navigation button.active { background: #edf4ff; border-color: #93b9f4; color: #1d4ed8; }
#artModule .art-focus-card { border: 1px solid #e0e6eb; border-radius: 10px; overflow: hidden; }
#artModule .art-focus-head { display: flex; align-items: end; gap: 16px; padding: 16px 20px; background: #fafbfc; border-bottom: 1px solid #e6ebef; }
#artModule .art-focus-head label:first-child { flex: 1; }
#artModule .art-focus-head input { width: 100%; }
#artModule .art-focus-head label:nth-child(2) { width: 160px; }
#artModule .art-focus-head button { height: 36px; font-size: 12px; }
#artModule .art-focus-body { display: grid; grid-template-columns: minmax(200px,.85fr) minmax(0,1.5fr); }
#artModule .art-reference-panel { padding: 20px; background: #fafbfc; border-right: 1px solid #e6ebef; }
#artModule .art-reference-panel h4 { margin: 0 0 12px; color: #5f6c7a; font-size: 12px; }
#artModule .art-writing-panel { display: grid; gap: 20px; padding: 20px; min-width: 0; }
#artModule .art-image-field textarea { width: 100%; min-height: 100px; padding: 12px; line-height: 1.6; resize: vertical; }
#artModule .art-image-field:first-child textarea { min-height: 130px; }
#artModule .art-image-cell { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 190px; border: 1px solid #dce3e9; border-radius: 6px; margin-bottom: 14px; background: #fff; cursor: cell; overflow: hidden; outline: none; }
#artModule .art-image-cell:focus { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb26; }
#artModule .art-image-cell-caption { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; font-size: 11px; color: #7e8a97; border-bottom: 1px solid #edf0f3; }
#artModule .art-cell-upload { cursor: pointer; color: #697986; font-size: 11px; }
#artModule .art-cell-upload input { display: none; }
#artModule .art-image-cell-placeholder { flex: 1; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 24px 4px; color: #94a0ac; font-size: 12px; }
#artModule .art-image-cell-placeholder b { font-size: 24px; font-weight: 300; }
#artModule .art-cell-hint { display: block; text-align: center; padding: 8px; color: #8995a2; font-size: 11px; }
#artModule .art-image-cell > img { display: block; width: 100%; height: 210px; object-fit: contain; padding: 8px; }
#artModule .art-image-cell-tools { display: flex; justify-content: space-between; padding: 0 8px; }
#artModule .art-image-cell-tools button { position: static; width: auto; height: 26px; min-width: 26px; padding: 0 7px; border: 0; color: #667785; background: #f3f6f8; font-size: 11px; border-radius: 4px; }
#artModule .art-research-list { padding: 0; max-height: none; overflow: visible; }
#artModule .art-research-item { grid-template-columns: 24px minmax(180px,.8fr) minmax(0,1.6fr) auto; gap: 16px; padding: 20px 0; border: 0; border-bottom: 1px solid #e6ebef; border-radius: 0; box-shadow: none; }
#artModule .art-research-fields textarea { min-height: 84px; }
#artModule .art-aplus-module-list { padding: 0; }
#artModule .art-aplus-module-card { margin: 0; border-color: #e0e6eb; box-shadow: none; }
#artModule .art-preview-content { border: 0; padding: 20px 0; box-shadow: none; background: #fff; }
#artModule .preview-sheet-title { background: #fff; color: #243345; border: 0; padding: 0; text-align: left; font-size: 24px; }
#artModule .preview-status-row { justify-content: flex-start; }
#artModule .preview-block { border: 0; margin: 24px 0; overflow: hidden; }
#artModule .preview-block > h3 { color: #445568; background: #f6f8fa; border: 0; padding: 10px 12px; font-size: 14px; }
#artModule .preview-table { min-width: 0; width: 100%; table-layout: fixed; }
#artModule .preview-table th, #artModule .preview-table td { border-color: #e6ebef; background: #fff; overflow-wrap: anywhere; font-size: 13px; }
#artModule .art-read-card { margin: 16px 0; border: 1px solid #e0e6eb; border-radius: 10px; overflow: hidden; }
#artModule .art-read-card > header { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f6f9ff; border-bottom: 1px solid #e6ebef; }
#artModule .art-read-card > header > span { color: #2563eb; font-size: 18px; }
#artModule .art-read-body { display: grid; grid-template-columns: minmax(180px,.85fr) minmax(0,1.5fr); gap: 24px; padding: 20px; }
#artModule .art-read-images { display: grid; align-content: start; gap: 14px; }
#artModule .art-read-images .preview-ref-image { height: auto; min-height: 120px; }
#artModule .art-read-images img { max-height: 240px; object-fit: contain; }
#artModule .art-read-copy h4 { font-size: 12px; color: #7c8995; font-weight: 500; margin: 0 0 8px; }
#artModule .art-read-copy p { font-size: 14px; line-height: 1.7; margin: 0 0 22px; overflow-wrap: anywhere; }
#artModule .preview-research-list, #artModule .preview-aplus-module-list { min-width: 0; }
#artModule .preview-research-card { min-width: 0; }
@media (max-width: 1200px) {
  #artModule .art-workbench { grid-template-columns: 190px minmax(0,1fr); padding: 10px; gap: 10px; }
  #artModule .art-editor-head { flex-wrap: wrap; }
  #artModule .art-editor-actions { justify-content: flex-start; }
  #artModule .art-research-item { grid-template-columns: 20px minmax(130px,.8fr) minmax(0,1.5fr); }
  #artModule .art-remove-research { grid-column: 3; justify-self: end; }
}
@media (max-width: 760px) {
  #artModule .art-workbench { grid-template-columns: minmax(0,1fr); }
  #artModule .art-sidebar { max-height: 230px; }
  #artModule .art-side-head { flex-direction: row; align-items: center; padding: 12px; }
  #artModule .art-side-head p { display: none; }
  #artModule #newArtRequestBtn { width: auto; }
  #artModule .art-filters { display: flex; padding: 8px; gap: 6px; }
  #artModule .art-filters > * { min-width: 0; }
  #artModule .art-request-list { max-height: 94px; }
  #artModule .art-editor { padding: 0 12px 16px; }
  #artModule .art-editor-head { position: static; margin: 0 -12px; padding: 14px 12px; }
  #artModule .art-editor-actions { gap: 5px; }
  #artModule .art-editor-actions button { min-width: 0; padding: 0 8px; }
  #artModule .art-brief-bar { gap: 10px; }
  #artModule .art-brief-bar select { max-width: 100px; }
  #artModule .art-focus-head { flex-wrap: wrap; padding: 12px; gap: 10px; }
  #artModule .art-focus-head label:first-child { flex-basis: 50%; }
  #artModule .art-focus-head label:nth-child(2) { width: 110px; }
  #artModule .art-focus-body, #artModule .art-read-body { grid-template-columns: minmax(0,1fr); }
  #artModule .art-reference-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border-right: 0; border-bottom: 1px solid #e6ebef; padding: 12px; }
  #artModule .art-reference-panel h4 { grid-column: 1/-1; margin: 0; }
  #artModule .art-image-cell { min-height: 150px; }
  #artModule .art-image-cell-caption { flex-wrap: wrap; gap: 4px; }
  #artModule .art-meta-grid { grid-template-columns: minmax(0,1fr); }
  #artModule .art-research-item { grid-template-columns: minmax(0,1fr); }
  #artModule .art-research-order { display: none; }
  #artModule .art-remove-research { grid-column: 1; }
  #artModule .art-research-topline { flex-wrap: wrap; }
  #artModule .art-read-images { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #artModule .aplus-module-main { grid-template-columns: minmax(0,1fr); }
}

#artModule .art-editor-head > div:first-child { flex: 1; min-width: 0; }
#artModule .art-editor-actions { flex-shrink: 0; }
#artModule #artSyncFeedback { border: 0; background: transparent; padding: 0; margin: 7px 0 0; font-size: 11px; color: #657481; }
#artModule #artSyncFeedback button { min-height: 24px; height: auto; margin: 0 0 0 6px; padding: 3px 7px; border-color: #dce3e9; font-size: 11px; }
#artModule .art-focus-head .art-remove-item { width: auto; min-width: 72px; white-space: nowrap; }
#artModule .art-image-cell.empty { display: flex; padding: 0; text-align: left; }
#artModule .art-image-cell .art-image-cell-caption { display: flex; width: 100%; }
#artModule .art-image-cell .art-image-cell-caption span { color: #7e8a97; font-size: 11px; }
#artModule .art-image-cell .art-cell-upload { display: inline; padding: 0; color: #697986; }

#artModule .preview-block > h3 { box-shadow: none; }
#artModule .preview-status-row { background: transparent; border: 0; padding-left: 0; }
#artModule .art-read-images .preview-ref-image { width: 100%; margin: 0; }
#artModule .art-read-images .preview-ref-image img { width: 100%; height: auto; }
#artModule .art-brief-unfilled { color: #8b97a3; }

@media (max-width: 760px) {
  #artModule .art-editor-actions { width: 100%; gap: 10px; justify-content: flex-end; }
  #artModule .art-editor-actions .view-switch { gap: 14px; padding-right: 14px; margin-right: auto; }
  #artModule .art-editor-actions .view-switch button { padding: 0 1px; font-size: 12px; }
  #artModule #saveArtRequestBtn { padding: 0 14px; font-size: 12px; }
}
#artModule .art-editor-actions .view-switch button:not(:disabled):hover,
#artModule .art-editor-actions .view-switch button.active:not(:disabled):hover { background: transparent; box-shadow: none; color: #1d4ed8; border-radius: 0; }

#artModule .art-image-cell > img, #artImageViewerImg { cursor: zoom-in; }
#artImageViewerImg { cursor: zoom-out; }
