/* BlenderBundle additions on top of the shared bundle site.css */
.bb { display: grid; gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.small { font-size: .88rem; }
.ok { color: var(--accent, #1f8a5b); font-weight: 600; }

.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  border: 2px dashed var(--line, #ccd); border-radius: .9rem; padding: 1.4rem; cursor: pointer;
  text-align: center; transition: background .15s, border-color .15s;
}
.drop.over { border-color: var(--accent, #e87d0d); background: rgba(232, 125, 13, .06); }
.drop input[type=file] { max-width: 100%; }

.mode-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.radio { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; cursor: pointer; }
.radio input { width: auto; margin: 0; }

.grid-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.grid-fields label { display: grid; gap: .3rem; }
.grid-fields .wide { grid-column: 1 / -1; }
.grid-fields [hidden] { display: none; }

.bar { height: .55rem; border-radius: 999px; background: var(--line, #e4e4ea); overflow: hidden; margin: .5rem 0; }
.bar > span { display: block; height: 100%; width: 0; background: var(--accent, #e87d0d); transition: width .4s; }

.jobs { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .75rem; }
.job { border: 1px solid var(--line, #dde); border-radius: .85rem; padding: .85rem 1rem; display: grid; gap: .35rem; }
.job p { margin: 0; }
.job-head { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.job-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .55rem; border-radius: 999px; background: var(--line, #eee); white-space: nowrap; }
.badge-done { background: #d8f3e4; color: #12673f; }
.badge-error { background: #fbe0e0; color: #9b1c1c; }
.badge-rendering, .badge-preparing, .badge-packaging { background: #ffe9cf; color: #8a4b00; }
.badge-cancelled { background: #eee; color: #666; }
.thumb img { max-width: 100%; max-height: 320px; border-radius: .6rem; display: block; margin: .35rem 0; background: #111; }
.job-error { white-space: pre-wrap; font-size: .8rem; background: #fff4f4; color: #8a1c1c; padding: .6rem; border-radius: .5rem; max-height: 14rem; overflow: auto; margin: .25rem 0; }
.warnings { margin: 0; padding-left: 1.1rem; font-size: .82rem; color: #8a5a00; }
.job .btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
