/* v0.5: responsive reusable seating presets on phones and tablets. */
.v05-layout-section {border:1px solid var(--line,#454a57);background:var(--panel,#252b37);border-radius:16px;padding:clamp(12px,2.1vw,20px);margin:12px 0 16px;min-width:0;}
.v05-layout-section .headrow {align-items:flex-start;flex-wrap:wrap;}
.v05-template-actions {display:flex;flex-wrap:wrap;gap:9px;margin:10px 0;}
.v05-template-actions > button {flex:1 1 142px;max-width:100%;min-height:44px;}
.v05-template-list {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px;}
.v05-template-card {min-width:0;padding:12px;border:1px solid #444b5b;border-radius:12px;background:#1b2230;}
.v05-template-card .hint {margin:5px 0 8px;}
.v05-template-title {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-weight:750;overflow-wrap:anywhere;}
.v05-template-title .pill {white-space:nowrap;}
.v05-private-layout {margin-top:14px;}
@media (min-width:720px) {
  .v05-template-list {grid-template-columns:repeat(2,minmax(0,1fr));}
  .v05-template-actions > button {flex:0 1 auto;min-width:145px;}
  .v05-layout-section {width:100%;}
}
@media (min-width:1150px) { .v05-template-list {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:420px){ .v05-layout-section {padding:12px;} .v05-template-actions button {font-size:13px;} }
