/* HighLife Host portal — layered on the shared design (app.css): top bar layout, subscription cards. */
.shell{min-height:100vh}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:12px clamp(16px,4vw,48px);background:rgba(4,4,5,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.top .brand{padding:0}
.top .spacer{flex:1}
.me .av-img{width:32px;height:32px;border-radius:50%;flex:none;object-fit:cover}
.wrap{max-width:1100px;margin:0 auto;padding:34px clamp(16px,4vw,48px) 90px}
.crumb{display:inline-flex;align-items:center;gap:6px;color:var(--muted);margin-bottom:14px;font-size:14px}
.crumb svg{width:14px;height:14px;stroke:currentColor}
.crumb:hover{color:var(--text)}

.subs{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px}
.sub{display:flex;flex-direction:column;gap:18px}
.sub-top{display:flex;align-items:center;gap:12px}
.sub-top div{flex:1;min-width:0;line-height:1.3}
.sub-top h3{font-size:17px;font-weight:600}
.sub-top small{color:var(--muted);font-size:12px}
.meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.meta.one{grid-template-columns:1fr}
.meta>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.meta>div>span:first-child{font-size:12px;color:var(--muted)}
.meta b{font-weight:600;font-size:14px}
.meta small{color:var(--muted);font-size:12px}
.sub-actions{display:flex;gap:10px;margin-top:auto;flex-wrap:wrap}
.sub-actions form{display:contents}

.detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.detail .wide{grid-column:1/-1}
.detail .panel p{margin-bottom:12px}
.detail code,.steps code{font-family:ui-monospace,monospace;font-size:12.5px;background:rgba(255,255,255,.07);padding:1px 6px;border-radius:6px}
.steps{padding-inline-start:20px;display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.steps .btn{margin-inline-start:8px}
.note-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-radius:var(--r);border:1px solid var(--line-2);background:var(--panel-2);margin:12px 0;line-height:1.7}
.note-box svg{width:20px;height:20px;flex:none;stroke:currentColor}
.note-box span{flex:1;min-width:200px}
.note-box.ok{border-color:rgba(126,226,168,.25);background:rgba(126,226,168,.07);color:var(--ok)}
.note-box.bad{border-color:rgba(242,125,125,.28);background:rgba(242,125,125,.07);color:#f6b0b0}
.note-box a:not(.btn){text-decoration:underline;font-weight:600;color:var(--text)}

.forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
.mini{display:flex;flex-direction:column;gap:2px;padding:16px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel-2)}
.mini .btn{align-self:flex-start}
.mini .row{display:flex;gap:8px;flex-wrap:wrap}
textarea.input.plain{direction:rtl;font:inherit;min-height:96px}
input[type=file].input{padding:8px 10px}

@media (max-width:860px){
  .detail,.forms{grid-template-columns:1fr}
  .meta{grid-template-columns:1fr 1fr}
  .me div{display:none}
}

/* ticket settings */
.settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.settings .wide-form{grid-row:span 2}
.settings h3{font-size:15px;font-weight:600;margin-bottom:8px}
select.input[multiple]{min-height:140px;padding:8px}
.cat-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.cat-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.cat-list form{display:contents}
.inline-form{display:flex;gap:8px;flex-wrap:wrap}
.inline-form .input{flex:1;min-width:90px}
.inline-form input[name=emoji]{flex:0 0 70px;min-width:0;text-align:center}
.refresh{display:flex;align-items:center;gap:12px;margin-top:18px}
@media (max-width:860px){.settings{grid-template-columns:1fr}.settings .wide-form{grid-row:auto}}
