/* Editable site entry and pending-upload controls. */
#home-form { max-width: 760px; }
.home-field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.home-composer { padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.home-composer:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
#home-question { display: block; width: 100%; min-height: 64px; max-height: 200px; border: 0; padding: 0; resize: none; overflow-y: auto; font: 15px/22px var(--font-sans); color: var(--ink); background: transparent; }
#home-question::placeholder { color: var(--ink-muted); opacity: 1; }
#home-question:focus-visible { outline: none; }
.home-composer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; border: 1px solid var(--ink); padding: 9px 14px; border-radius: var(--radius-md); background: var(--ink); color: var(--paper); font: 600 13px/20px var(--font-sans); text-decoration: none; cursor: pointer; }
.home-button:hover:not(:disabled) { background: var(--gray-800); }
.home-composer-actions .home-button { margin-left: auto; font: 600 13px/20px var(--font-sans); }
.entry-form button:disabled { opacity: .5; cursor: default; }
.home-attach { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; min-height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
.home-attach svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-composer-actions .home-attach { font-size: 12px; }
.home-formats { font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.home-help, #home-status { font-size: 12px; line-height: 18px; color: var(--ink-muted); margin: 10px 0 0; }
.home-help.ph-no-capture { display: none; }
#home-status { color: var(--danger); }
#home-status:empty, [hidden] { display: none !important; }
.home-fallback { display: none; font-size: 12px; margin-top: 8px; }
#home-status:not(:empty) + .home-fallback { display: inline-block; }
.home-attachments { display: flex; flex-wrap: wrap; gap: 8px; }
.home-attachment { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; padding: 6px 8px; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 12px; }
.home-attachment-name { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-attachment-status { color: var(--ink-muted); font-size: 11px; }
.home-attachment button { background: transparent; color: var(--ink); border: 0; padding: 4px; cursor: pointer; min-height: 32px; }

@media (max-width: 720px) { #home-question { font-size: 16px; } .home-formats { display: none; } }
