.help-page{min-height:calc(100vh - 150px);padding:32px 0 64px}
.help-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,var(--surface),var(--surface2));box-shadow:var(--shadow-sm)}
.help-hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:2px 0 8px}
.help-hero p{margin:0;color:var(--text2)}
.help-eyebrow{margin:0;color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.14em}
.help-tabs{display:flex;gap:8px;margin:22px 0;overflow:auto;scrollbar-width:none}
.help-tab{display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 15px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text2);white-space:nowrap;cursor:pointer}
.help-tab.is-active{border-color:var(--accent);background:var(--accent-light);color:var(--accent-dark);font-weight:700}
.help-content{min-height:400px}
.help-manual-head,.help-form-card,.help-ticket-list,.help-ticket-detail,.help-tutorials,.help-article{padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.help-manual-head>label{display:block;margin-bottom:12px;font-family:var(--font-display);font-size:1.65rem}
.help-search{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--border2);border-radius:12px;background:var(--bg)}
.help-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}
.help-search input{width:100%;min-height:52px;border:0;outline:0;background:transparent;color:var(--text1);font:inherit}
.help-category-chips{display:flex;gap:7px;margin-top:16px;overflow:auto}
.help-category-chips button{min-height:44px;padding:7px 11px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text2);white-space:nowrap;cursor:pointer}
.help-category-chips button.is-active{background:var(--text1);color:var(--bg);border-color:var(--text1)}
.help-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.help-article-card,.help-ticket{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text1);cursor:pointer}
.help-article-card:hover,.help-ticket:hover{border-color:var(--accent);transform:translateY(-1px)}
.help-article-card small{color:var(--accent);font-weight:700}
.help-article-card strong{margin:8px 0;font-size:1rem}
.help-article-card span{color:var(--text2);font-size:.85rem;line-height:1.5}
.help-article{max-width:900px;margin:auto}
.help-article>h1{font-size:clamp(1.8rem,4vw,3rem);margin:8px 0}
.help-article-summary{font-size:1.08rem;color:var(--text2);line-height:1.7}
.help-article section{margin-top:28px}
.help-article li{margin:10px 0;line-height:1.65}
.help-article aside,.help-resolution{margin-top:24px;padding:18px;border-left:3px solid var(--accent);background:var(--accent-light);border-radius:10px}
.help-article footer{display:flex;align-items:center;gap:12px;margin-top:34px;padding-top:22px;border-top:1px solid var(--border)}
.help-article footer div{display:flex;flex-direction:column;margin-right:auto}
.help-article footer span{color:var(--text2);font-size:.84rem}
.help-tutorials header{margin-bottom:18px}
.help-tutorials>a{display:flex;flex-direction:column;padding:18px;margin-top:10px;border:1px solid var(--border);border-radius:12px;color:var(--text1);text-decoration:none}
.help-tutorials>a:hover{border-color:var(--accent)}
.help-tutorials>a span{margin-top:4px;color:var(--text2)}
.help-form-card{max-width:920px;margin:auto}
.help-form-card header{margin-bottom:22px}
.help-form-card h2,.help-ticket-list h2{margin:5px 0}
.help-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.help-form-grid label,.help-reply label,.help-reopen label{display:flex;flex-direction:column;gap:7px}
.help-form-grid label>span,.help-reply label>span,.help-reopen label>span{font-size:.78rem;font-weight:700;color:var(--text2)}
.help-form-grid input,.help-form-grid select,.help-form-grid textarea,.help-reply textarea,.help-reopen textarea,.help-confirm textarea,.help-cancel textarea{width:100%;padding:12px;border:1px solid var(--border2);border-radius:10px;background:var(--bg);color:var(--text1);font:inherit}
.help-form-grid .is-wide{grid-column:1/-1}
.help-upload{padding:16px;border:1px dashed var(--border2);border-radius:12px}
.help-form-card footer{display:flex;justify-content:flex-end;margin-top:20px}
.help-form-error{margin-top:14px;padding:12px;border-radius:8px;background:var(--danger-bg);color:var(--danger)}
.help-ticket-list>header,.help-ticket-detail>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.help-ticket-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.help-ticket span:first-child{display:flex;width:100%;justify-content:space-between;gap:10px}
.help-ticket span small,.help-status{padding:4px 8px;border-radius:999px;background:var(--accent-light);color:var(--accent-dark);font-size:.72rem;font-weight:700}
.help-ticket h3{margin:12px 0 5px}
.help-ticket p,.help-ticket time{margin:0;color:var(--text2);font-size:.8rem}
.help-ticket time{margin-top:10px}
.help-ticket-layout{display:grid;grid-template-columns:minmax(230px,320px) 1fr;gap:18px}
.help-ticket-layout>aside,.help-ticket-layout>main{padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--bg)}
.help-ticket-layout dl{margin:0}
.help-ticket-layout dl div{padding:10px 0;border-bottom:1px solid var(--border)}
.help-ticket-layout dt{color:var(--text3);font-size:.72rem;text-transform:uppercase}
.help-ticket-layout dd{margin:3px 0 0}
.help-conversation{display:flex;flex-direction:column;gap:10px;max-height:520px;overflow:auto}
.help-conversation article{max-width:84%;padding:13px;border-radius:12px;background:var(--surface)}
.help-conversation article.is-requester{align-self:flex-end;background:var(--accent-light)}
.help-conversation article header{display:flex;justify-content:space-between;gap:12px;font-size:.76rem}
.help-conversation article p{margin:7px 0 0;white-space:pre-wrap;line-height:1.5}
.help-reply,.help-reopen,.help-confirm{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.help-cancel{margin-top:16px;padding:12px;border:1px solid var(--border);border-radius:12px;color:var(--text2)}
.help-cancel form{display:grid;gap:10px;margin-top:12px}
.help-attachments{display:flex;flex-direction:column;gap:6px}
.help-events{margin-top:18px;padding:16px;border:1px solid var(--border);border-radius:12px}
.help-events>div{display:flex;flex-direction:column;padding:10px 0;border-top:1px solid var(--border)}
.help-events span{color:var(--text2);font-size:.8rem}
.help-empty,.help-loading{display:grid;place-items:center;min-height:260px;text-align:center;color:var(--text2)}

@media(max-width:900px){.help-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.help-ticket-layout{grid-template-columns:1fr}
.help-hero{align-items:flex-start}
}

@media(max-width:640px){.help-page{padding:16px 0 90px}
.help-hero{flex-direction:column;padding:22px;border-radius:16px}
.help-hero .btn-primary{width:100%}
.help-tabs{margin:14px -12px;padding:0 12px}
.help-manual-head,.help-form-card,.help-ticket-list,.help-ticket-detail,.help-tutorials,.help-article{padding:18px;border-radius:14px}
.help-results,.help-ticket-list>div,.help-form-grid{grid-template-columns:1fr}
.help-article footer{align-items:stretch;flex-direction:column}
.help-article footer div{margin:0}
.help-article footer button{width:100%}
.help-ticket-list>header,.help-ticket-detail>header{align-items:flex-start;flex-direction:column}
.help-conversation article{max-width:94%}
}
