/* Wezzet Host page. Layout and cards come from the AI Comms workspace styles. */
.host-page .h-soft{font-size:.85rem;color:var(--ink-soft)}
.host-page .h-hint{font-size:.85rem;color:var(--ink-soft);margin:6px 0}
.host-page .ac-card-b{padding:20px}
.host-page .h-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.host-page .ac-card-b label:not(.btn):not(.check){display:block;font-size:.82rem;font-weight:600;color:var(--ink-soft)}
.host-page .ac-card-b label input[type=text]{display:block;width:100%;margin-top:4px}
.host-page .h-full{margin-top:8px}
.host-page .h-drop{border:2px dashed var(--line-strong);border-radius:14px;padding:22px 16px;text-align:center;margin:16px 0;transition:border-color .15s,background .15s}
.host-page .h-drop.on{border-color:var(--purple);background:var(--purple-soft)}
.host-page .h-drop p{margin:4px 0}
.host-page .h-files{list-style:none;margin:8px auto 0;padding:0;max-width:420px;max-height:150px;overflow:auto;text-align:left;font-size:.82rem;color:var(--ink-soft)}
.host-page .h-files li{display:flex;justify-content:space-between;gap:12px;padding:2px 0}
.host-page .h-meter{height:6px;border-radius:99px;background:var(--line);max-width:420px;margin:12px auto 4px;overflow:hidden}
.host-page .h-meter span{display:block;height:100%;width:0;background:var(--purple)}
.host-page .h-meter.over span{background:#c0392b}
.host-page .h-grid{list-style:none;margin:0;padding:16px 20px 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.host-page .h-grid li{border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}
.host-page .h-grid a{display:block;padding:14px;color:inherit;text-decoration:none;height:100%}
.host-page .h-grid li:hover{border-color:var(--purple)}
.host-page .h-grid b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.host-page .h-grid .h-url{font-size:.8rem;color:var(--purple);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.host-page .h-grid p{margin:6px 0;font-size:.86rem;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.host-page .h-grid small{font-size:.76rem;color:var(--ink-soft)}
.host-page .h-empty{grid-column:1/-1;border:0!important;background:none!important;color:var(--ink-soft);padding:8px 0}
.host-page .h-more{display:flex;justify-content:space-between;padding:0 20px 16px}
.host-page .h-more:not(:has(button:not([hidden]))){display:none}
.host-page .h-edit{display:grid;grid-template-columns:1fr 1fr;min-height:480px;border-top:1px solid var(--line)}
.host-page .h-edit textarea{border:0;border-radius:0;resize:none;padding:14px;font-size:13px;line-height:1.5;min-height:480px;background:var(--surface);color:var(--ink);tab-size:2;width:100%}
.host-page .h-edit iframe{border:0;border-left:1px solid var(--line);width:100%;height:100%;min-height:480px;background:#fff}
.host-page #m-list li{gap:8px 12px}
.host-page #m-list .h-info{flex:1 1 220px;min-width:0}
.host-page #m-list .h-info a{font-weight:650;color:var(--purple)}
.host-page #m-list .h-info div{font-size:.84rem;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis}
.host-page #m-list .btn{padding:6px 12px;font-size:.84rem;min-height:0}
.host-page #m-list .h-set{flex-basis:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;align-items:center}
.host-page .ac-tools #e-name{flex:1 1 180px}
@media (max-width:760px){.host-page .h-edit{grid-template-columns:1fr}.host-page .h-edit iframe{border-left:0;border-top:1px solid var(--line)}.host-page .h-edit textarea{min-height:300px}.host-page .h-edit iframe{min-height:320px}.host-page .h-grid{padding:14px}}
.host-page .page-heading p a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.host-page .h-drop p{max-width:none}.host-page .h-grid p:empty{display:none}

/* Hosting workspace */
.host-page .comms-content { max-width: 1400px; }
.host-page .page-heading { padding-block: 28px; }
.host-page .page-heading h1 { font: 400 clamp(38px,4.5vw,64px)/1.06 "Instrument Serif",Georgia,serif; letter-spacing:-.025em; }
.host-page .page-heading p:not(.eyebrow) { max-width: 60ch; font-size: 16px; line-height: 1.7; }
.host-start { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:0 0 28px; }
.host-start a { border:1px solid var(--line); border-radius:16px; background:var(--surface); padding:24px; text-decoration:none; color:var(--ink); transition:border-color .15s; }
.host-start a:hover { border-color:var(--purple); }
.host-start span { font-size:11px; letter-spacing:.1em; color:var(--ink-soft); }
.host-start strong { display:block; font-size:20px; margin:16px 0 8px; font-weight:600; }
.host-start p { font-size:14px; line-height:1.6; color:var(--ink-soft); margin:0; }
.host-page .ac-card { border-radius:16px; overflow:hidden; }
.host-page .h-drop { min-height:220px; display:flex; flex-direction:column; justify-content:center; background:var(--surface); }
.host-page .h-drop b { font-size:22px; font-weight:500; }
.host-page .h-grid { gap:18px; padding:24px; }
.host-page .h-grid li { position:relative; border-radius:14px; }
.host-page .h-grid a { padding:24px; min-height:175px; }
.host-page .h-grid b { font-size:19px; margin-bottom:8px; }
.host-page .h-grid p { font-size:14px; line-height:1.6; }
.host-page .h-grid small { font-size:12px; }
.host-page .h-grid .host-report { margin:0 0 14px 24px; padding:0; background:none; border:0; color:var(--ink-soft); font-size:12px; cursor:pointer; }
.h-preview-tools { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:12px 20px; border-top:1px solid var(--line); font-size:13px; }
.h-preview-tools label { display:flex; gap:8px; align-items:center; }
#e-save-state { flex:1; color:var(--ink-soft); }
.host-page .h-preview-stage { overflow:auto; background:var(--line); min-width:0; }
.host-page .h-edit iframe { display:block; max-width:none; margin:auto; }
.host-page .h-edit textarea { font:14px/1.6 ui-monospace,monospace; min-height:560px; }
.host-ai-steps { display:grid;grid-template-columns:repeat(3,1fr); gap:20px; margin:24px 0; }
.host-ai-steps b,.host-ai-steps span { display:block; }
.host-ai-steps span { color:var(--ink-soft); font-size:14px; line-height:1.6; margin-top:8px; }
#h-key-form { align-items:end; max-width:650px; }
#h-key-result { margin-top:20px; padding:20px; background:var(--surface); border:1px solid var(--line); border-radius:12px; }
#h-key-value { width:100%; font-family:monospace; }
#h-key-list li { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.host-page .ac-card-b > p { font-size:16px; line-height:1.7; max-width:75ch; }
@media(max-width:760px) { .host-start { grid-template-columns:1fr; gap:10px; } .host-start a { padding:18px; } .host-start strong { margin-top:8px; } .host-ai-steps { grid-template-columns:1fr; gap:0; } .host-page .page-heading h1 { font-size:42px; } .host-page .h-edit textarea { min-height:320px; } .h-preview-tools { padding:12px; } }
