.host-template-note{margin:-4px 0 16px;padding:11px 13px;border:1px solid #cfe4e9;border-radius:7px;background:#f3fafb;color:var(--muted);font-size:12px;line-height:1.6}
.host-template-projects{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.host-template-space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.host-template-space{min-width:0;margin:0;padding:14px;border:1px solid #cbdfe4;border-radius:11px;background:linear-gradient(145deg,#fbfdfe,#f4faf9);box-shadow:0 6px 16px rgba(25,57,75,.05)}
.host-template-space-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.host-template-space-head>div:first-child{flex:1;min-width:0}
.host-template-space-title{display:flex;align-items:center;gap:8px;min-width:0}
.host-template-space-index,.host-template-item-index{display:inline-grid;place-items:center;flex:0 0 auto;border-radius:999px;color:#0b7776;background:#e3f4f1;font-size:11px;font-weight:800}
.host-template-space-index{height:24px;padding:0 9px}
.host-template-space-name{width:100%;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:15px;font-weight:800}
.host-template-space-head small{display:block;margin-top:6px;color:var(--muted);font-size:11px}
.host-template-space-actions,.host-template-item-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.host-template-move,.host-template-delete{display:inline-grid;place-items:center;height:28px;min-width:28px;padding:0 7px;border:1px solid #c8dfe2;border-radius:6px;color:#197b7a;background:#fff;font-size:13px;font-weight:800}
.host-template-move:hover{border-color:#159795;background:#e8f7f4}
.host-template-delete{border-color:#efcaca;color:#bf5a5a;font-size:11px;font-weight:700}
.host-template-delete:hover{background:#fff2f2}
.host-template-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.host-template-item{display:grid;grid-template-columns:1fr;gap:7px;min-width:0;padding:9px;border:1px solid #dce9ec;border-radius:8px;background:#fff}
.host-template-item-head{display:flex;align-items:center;gap:7px;min-width:0;color:#315362;font-size:12px}
.host-template-item-head strong{font-size:12px;white-space:nowrap}
.host-template-item-index{width:22px;height:22px}
.host-template-item-actions{margin-left:auto}
.host-template-item input,.host-template-item select{width:100%;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);font-size:12px}
.host-template-item-meta{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:6px}
.host-template-check{display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--muted);font-size:11px}
.host-template-check input{width:16px;height:16px}
.host-template-add-item,.host-template-add-space{margin-top:10px}
.host-template-add-item{width:100%;border-style:dashed}
.host-template-add-space{width:100%;border-style:dashed}
.host-template-space .meta{margin:8px 0}
@media(max-width:1200px){.host-template-space-grid{grid-template-columns:1fr}}
@media(max-width:800px){.host-template-items{grid-template-columns:repeat(2,minmax(0,1fr))}.host-template-space-head{align-items:flex-start}.host-template-space-title{align-items:flex-start}.host-template-space-index{margin-top:7px}.host-template-item-meta{grid-template-columns:1fr}.host-template-item-actions{gap:3px}}
@media(max-width:520px){.host-template-items{grid-template-columns:1fr}.host-template-space-head{display:block}.host-template-space-actions{margin-top:9px}.host-template-space-name{width:100%}}
