.intervention-workshop { width: min(1480px, calc(100vw - 24px)); height: min(860px, calc(100dvh - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
.intervention-workshop > header { align-items: center; padding: 14px 20px; }.intervention-workshop-heading { flex: 1; min-width: 0; }.intervention-workshop-logo { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }.intervention-workshop-logo.is-thinking { animation: maria-workshop-thinking 1.8s ease-in-out infinite; }
.intervention-workshop .intervention-workshop-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; padding: 0; overflow: hidden; }
.intervention-editor-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 18px 20px 12px; }
.intervention-editor-heading { display: flex; align-items: center; justify-content: space-between; min-height: 28px; gap: 8px; font-size: 14px; }.intervention-editor-heading span { font-size: 11px; color: #286a4b; background: #eaf7f0; padding: 5px 8px; border-radius: 12px; }
.intervention-workshop-fields { display: grid; flex: 1; min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)) minmax(64px, .45fr); gap: 12px 16px; margin-top: 10px; }.intervention-workshop-fields > label { min-height: 0; display: flex; flex-direction: column; gap: 6px; }.intervention-workshop .intervention-workshop-fields textarea { flex: 1; min-height: 0; resize: none; padding: 12px; line-height: 1.75; font-size: 13px; }.intervention-workshop-notes-field { grid-column: 1 / -1; }.intervention-workshop-fields .field-changed textarea { border-color: #a5c5b6; background: #fbfefd; }.intervention-workshop-fields small { color: #378263; font-size: 10px; }.intervention-editor-references { padding-top: 8px; color: #8a98aa; font-size: 10px; }
.intervention-conversation { min-height: 0; display: flex; flex-direction: column; background: #f7f9fd; border-left: 1px solid #e8edf3; }.intervention-conversation > header { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid #e8edf3; font-size: 13px; }
.intervention-conversation-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 14px; }.intervention-conversation-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 100%; text-align: center; }.intervention-conversation-welcome img { width: 80px; height: 80px; object-fit: contain; }.intervention-workshop .intervention-conversation-welcome p { font-size: 13px; color: #7b8ba0; line-height: 1.8; }
.intervention-user-adjustment { margin: 0 0 16px 20px; padding: 12px; border: 1px solid #dde8ff; background: #eef4ff; border-radius: 12px 12px 3px 12px; }.intervention-user-adjustment small { font-size: 10px; color: #8293b0; }.intervention-workshop .intervention-user-adjustment p { font-size: 13px; line-height: 1.7; white-space: pre-wrap; margin-top: 5px; color: #34475d; }
.intervention-assistant-adjustment { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }.intervention-assistant-adjustment > img { width: 28px; height: 28px; object-fit: contain; }.intervention-assistant-adjustment > :last-child { min-width: 0; }.intervention-assistant-adjustment p { color: #34475d; font-size: 13px; line-height: 1.8; }
.intervention-workshop .intervention-adjustment-applied { margin: 8px 0 14px 32px; padding: 8px 10px; border: 1px solid #d7eddf; border-radius: 8px; color: #2b7a58; background: #eaf7f0; font-size: 11px; }
.intervention-adjustment-progress { display: flex; align-items: center; gap: 10px; padding: 8px 0 12px; font-size: 12px; color: #617797; }
.intervention-conversation-composer { padding: 12px 14px 14px; border-top: 1px solid #e8edf3; background: #fff; }.intervention-workshop .intervention-conversation-composer label { font-size: 11px; color: #61718a; }.intervention-workshop .intervention-conversation-composer textarea { min-height: 76px; max-height: 150px; field-sizing: content; font-size: 13px; resize: none; }.intervention-conversation-composer button { margin-top: 8px; width: 100%; color: #3158a8; background: #edf3ff; border-color: #dce7fc; }
.intervention-workshop-receipt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; text-align: center; background: #f4faf7; border-left: 1px solid #e0eee5; color: #286a4b; font-size: 14px; }.intervention-workshop-receipt img { width: 80px; height: 80px; object-fit: contain; }.intervention-workshop .intervention-workshop-receipt p { color: #6d8c7d; font-size: 12px; line-height: 1.8; }
.intervention-workshop .intervention-error { margin: 0; padding: 10px 18px; border-radius: 0; flex-shrink: 0; }
@keyframes maria-workshop-thinking { 50% { transform: scale(1.08) rotate(7deg); opacity: .65; } }@media(prefers-reduced-motion:reduce) { .intervention-workshop-logo.is-thinking { animation: none; } }
@media(max-width:800px) { .intervention-workshop .intervention-workshop-body { display: flex; flex-direction: column; overflow-y: auto; }.intervention-editor-panel { flex-shrink: 0; padding: 12px 14px; }.intervention-workshop-fields { flex: initial; grid-template-columns: 1fr; grid-template-rows: none; }.intervention-workshop-notes-field { grid-column: auto; }.intervention-workshop .intervention-workshop-fields textarea { min-height: 126px; }.intervention-workshop .intervention-workshop-notes-field textarea { min-height: 76px; }.intervention-conversation { flex-shrink: 0; height: 450px; border-left: 0; border-top: 1px solid #e8edf3; }.intervention-workshop-receipt { min-height: 180px; flex-shrink: 0; } }
