/* Presentation only: field names, values, validation and draft ownership stay intact. */
body .compose-panel { width: min(860px,calc(100% - 32px)); max-width: 860px; margin: 24px auto; padding: 28px; box-sizing: border-box; border: 1px solid #d6e2dc; border-radius: 20px; background: #fff; color: #193f37; box-shadow: 0 8px 28px #193f3708; }
body .compose-panel>div:first-child { align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #e5ece8; }
body .compose-panel h2 { margin: 0; color: #193f37; font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
body .compose-panel>div:first-child>button { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #d6e2dc; border-radius: 12px; background: #fff; color: #50675c; font-size: 24px; }
body .compose-panel form { display: grid; gap: 20px; }
body .compose-panel form label { min-width: 0; display: grid; align-content: start; gap: 8px; color: #3f5c4f; font-size: 12px; line-height: 1.5; font-weight: 700; text-transform: none; letter-spacing: 0; }
body .compose-panel form :is(input,select,textarea) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 11px 13px; border: 1px solid #cbd9d2; border-radius: 10px; background: #fff; color: #193f37; font: inherit; font-size: 16px; line-height: 1.4; font-weight: 500; text-transform: none; }
body .compose-panel form :is(input,textarea)::placeholder { color: #6c8074; opacity: 1; font-size: 14px; font-weight: 400; }
body .compose-panel form select { height: 46px; padding-right: 30px; }
body .compose-panel form textarea { min-height: 160px; resize: vertical; }
body .compose-panel form small { display: block; color: #60776a; font-size: 12px; font-weight: 400; line-height: 1.5; text-transform: none; letter-spacing: 0; }
body .compose-panel form>.form-row { padding: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 18px 20px; border: 1px solid #e0e9e4; border-radius: 14px; background: #f7faf8; }
body .compose-panel .form-row>label:not(.check-line) { display: flex; flex-wrap: wrap; align-items: baseline; align-content: start; gap: 8px; }
body .compose-panel .form-row>label:not(.check-line)>select { flex: 0 0 100%; }
body .compose-panel .form-row>label:not(.check-line)>small { display: inline; font-size: 11px; }
body .compose-panel .form-row>label>select~small { flex-basis: 100%; font-size: 12px; }
body .compose-panel .form-row>div:has(>select[name="language"]) { min-width: 0; display: grid; align-content: start; gap: 8px; }
body .compose-panel .form-row>div:has(>select[name="language"])>small { font-size: 12px; line-height: 1.5; }
body .compose-panel .form-row>label:has(select[name="commercialDisclosure"]) { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid #dde7e1; }
body .compose-panel form label.check-line { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; min-height: 0; padding: 13px; border: 1px solid #dae5de; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; }
body .compose-panel form input[type="checkbox"] { flex: none; width: 18px; height: 18px; min-height: 18px; margin-top: 2px; padding: 0; border-radius: 4px; accent-color: #25634e; }
body .compose-panel .community-conversation-control>span { min-width: 0; gap: 4px; font-weight: 600; }
body .compose-panel .community-conversation-control small { font-size: 11px; line-height: 1.5; }
body .compose-panel form>label:has(input[name="title"]) { padding-top: 2px; }
body .compose-panel form input[type="file"] { min-height: 68px; padding: 12px; border: 1px dashed #adc7b8; background: #f7faf8; font-size: 12px; }
body .compose-panel form input[type="file"]::file-selector-button { min-height: 36px; padding: 8px 12px; margin-right: 12px; border: 1px solid #d1dfd7; border-radius: 8px; background: #fff; color: #24523d; font: inherit; font-weight: 600; cursor: pointer; }
body .compose-panel form .compose-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid #e5ece8; }
body .compose-panel form .compose-actions>button,body .compose-panel .form-row>div:has(>select[name="language"])>button { width: auto; min-height: 44px; padding: 10px 18px; border: 1px solid #193f37; border-radius: 10px; background: #193f37; color: #fff; font: inherit; font-size: 13px; line-height: 1.4; font-weight: 700; cursor: pointer; }
body .compose-panel form .compose-actions>.quiet-button,body .compose-panel .form-row>div:has(>select[name="language"])>button { border-color: #cbd9d2; background: #fff; color: #3f5c4f; }
body .compose-panel form .compose-actions>button[type="submit"] { min-width: 120px; }
body .compose-panel form :is(input,select,textarea,button):focus-visible { outline: 3px solid #2584ad; outline-offset: 3px; }
body .compose-panel form :is(input,select,textarea,button):disabled { opacity: .7; cursor: not-allowed; }
body .compose-panel :is(.compose-status,.compose-draft-state) { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
@media(max-width:650px) {
  body .compose-panel { width: calc(100% - 24px); margin: 16px auto; padding: 18px; border-radius: 16px; }
  body .compose-panel h2 { font-size: 21px; }
  body .compose-panel form>.form-row { grid-template-columns: minmax(0,1fr); padding: 14px; gap: 16px; }
  body .compose-panel .form-row>label:has(select[name="commercialDisclosure"]) { grid-column: 1; }
  body .compose-panel form .compose-actions { justify-content: stretch; }
  body .compose-panel form .compose-actions>button { flex: 1; }
}
