/* Propuestas y Comunidad */
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--raised); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.host-box { border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.lock { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 18px; flex-wrap: wrap; }
.lock .ico { color: var(--accent); }
.lock > span:nth-child(2) { flex: 1; min-width: 200px; }

.share-bar { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; background: var(--raised); box-shadow: var(--shadow); }
.share-bar input { border: 0; outline: none; background: transparent; flex: 1; min-width: 0; padding: 8px 0; }
.share-bar select { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; max-width: 190px; }
@media (max-width: 640px) {
  .share-bar { flex-wrap: wrap; border-radius: 16px; padding: 10px; }
  .share-bar input { flex-basis: 100%; }
  .share-bar select { flex: 1; max-width: none; }
}

.list-head { margin-top: 40px; margin-bottom: 0; align-items: center; }
.list-head h2 { font-size: 20px; margin: 0; }
.list-filters { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.list-filters .input { max-width: 280px; }

.posts { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.post { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--raised); min-height: 180px; }
.post .banner { display: grid; place-items: center; }
.post .banner .ico { width: 56px; height: 56px; opacity: .5; }
.post .banner .tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.9); color: #111; }
.post .pb { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post .pb .top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.post .pb h3 { font-size: 19px; }
.post .pb h3 a { color: inherit; text-decoration: none; }
.post .pb .foot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; } .post .banner { height: 110px; } }

.mine { margin-top: 28px; }
.mine h3 { font-size: 17px; margin-bottom: 10px; }
.mrow { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.mrow > div { min-width: 0; overflow-wrap: anywhere; }
.mrow .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Mis envíos */
.envios { display: flex; flex-direction: column; gap: 12px; }
.envio { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--raised); display: flex; flex-direction: column; gap: 8px; }
.envio-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.envio-top small { margin-left: auto; }
.envio h3 { font-size: 17px; }
.envio p a { color: var(--accent); }
.msg-admin { border-radius: 10px; padding: 10px 12px; font-size: 14px; background: var(--surface); border-left: 3px solid var(--line); }
.msg-admin.ok { background: var(--ok-soft); border-left-color: var(--ok); }
.msg-admin.bad { background: var(--bad-soft); border-left-color: var(--bad); }
.envio-acts { display: flex; gap: 8px; }

/* Mensaje de éxito tras enviar */
.exito { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); color: var(--fg); animation: fade .25s ease-out; }
.exito > .ico { color: var(--ok); width: 24px; height: 24px; flex: none; margin-top: 2px; }
.exito b { color: var(--ok); }
.exito p { margin: 4px 0 6px; font-size: 14px; }
.exito a { font-weight: 600; color: var(--ok); }
#pCats { display: contents; }
.otra-wrap { margin-top: 10px; max-width: 360px; }
