/* Pomoc AI: kolory, fonty i komponenty pochodzą ze wspólnego style.css. */
.help-hero__inner { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 48px; padding-block: 46px 42px; }
.help-hero .eyebrow { color: #7fb0ff; }
.help-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.help-hero__lead { color: var(--on-dark-mut); font-size: 1.06rem; margin: 0; }
.help-hero__note { border-left: 1px solid rgba(127,176,255,.24); padding-left: 38px; }
.help-kicker { color: var(--on-dark-mut); font-size: .8rem; }
.help-hero__note p { font-family: var(--display); color: #fff; font-size: 1.28rem; line-height: 1.4; margin: 10px 0 16px; }
.help-ai-tag { display: inline-flex; padding: 5px 10px; border: 1px solid rgba(127,176,255,.25); border-radius: 6px; color: #c8dafa; font: .72rem var(--mono); }
.help-section { padding-top: 36px; }
.help-layout { display: grid; grid-template-columns: 275px minmax(0,1fr); gap: 34px; align-items: start; }
.help-aside { padding-top: 12px; }
.help-aside h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 14px; }
.help-aside > p:not(.eyebrow) { font-size: .91rem; color: var(--muted); }
.help-topics { display: grid; gap: 8px; margin: 24px 0; }
.help-topics button { text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 47px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card); font: 500 .85rem var(--body); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.help-topics button:hover { border-color: var(--brand); background: var(--brand-tint); }
.help-topics button span { color: var(--brand); font-family: var(--mono); }
.help-aside__tip { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); }
.help-aside__tip .ic { flex: none; width: 18px; height: 20px; color: var(--safe-600); }
.help-aside__tip p, .help-privacy p { font-size: .78rem; line-height: 1.65; }
.help-privacy summary { cursor: pointer; font-size: .8rem; color: var(--brand-700); min-height: 44px; padding-block: 9px; }
.help-privacy p { color: var(--muted); }
.help-chat { border: 1px solid var(--line-2); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.help-chat__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.help-chat__identity { display: flex; gap: 12px; align-items: center; }
.help-avatar { background: var(--ink); color: #fff; border-radius: 12px; width: 40px; height: 40px; display: grid; place-items: center; font: 700 .78rem var(--mono); }
.help-chat__identity h2 { font-size: 1rem; margin: 0 0 4px; }
.help-chat__identity p { color: var(--muted); margin: 0; font-size: .73rem; }
.help-reset { border: 1px solid var(--line-2); background: transparent; border-radius: 8px; padding: 8px 12px; min-height: 44px; color: var(--muted); font: 500 .76rem var(--body); cursor: pointer; }
.help-reset:hover { color: var(--brand); border-color: var(--brand); }
.help-chat__messages { height: 338px; overflow-y: auto; overscroll-behavior: contain; padding: 24px; scrollbar-width: thin; }
.help-welcome { text-align: center; padding: 22px 0 12px; }
.help-welcome__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; color: var(--brand); background: var(--brand-tint); border-radius: 16px; margin-bottom: 17px; }
.help-welcome__icon .ic { width: 26px; height: 26px; }
.help-welcome h3 { font-size: 1.4rem; }
.help-welcome p { font-size: .88rem; color: var(--muted); }
.help-products { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.help-products span { padding: 4px 8px; font: .65rem var(--mono); color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.help-message { max-width: 95%; margin-bottom: 22px; }
.help-message__name { font: 600 .69rem var(--mono); color: var(--muted); margin-bottom: 6px; display: block; }
.help-message__text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.7; background: var(--paper); padding: 13px 16px; border-radius: 3px 14px 14px; }
.help-message--user { margin-left: auto; }
.help-message--user .help-message__name { text-align: right; }
.help-message--user .help-message__text { background: var(--brand-tint); color: var(--brand-900); border-radius: 14px 3px 14px 14px; }
.help-copy { display: block; min-height: 44px; margin-top: 2px; padding: 6px 8px; border: none; background: transparent; color: var(--muted); font: .75rem var(--body); cursor: pointer; }
.help-copy:hover { color: var(--brand); }
.help-composer { border-top: 1px solid var(--line); padding: 16px 22px 12px; }
.help-composer label { font-size: .79rem; font-weight: 600; display: block; margin-bottom: 8px; }
.help-composer textarea { display: block; width: 100%; min-height: 92px; max-height: 260px; resize: vertical; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--text); padding: 12px 14px; font: .94rem/1.6 var(--body); }
.help-composer textarea::placeholder { color: var(--muted); opacity: 1; }
.help-composer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; }
#help-hint { font-size: .64rem; color: var(--muted); margin-right: auto; }
#help-count { color: var(--muted); font: .63rem var(--mono); }
.help-composer .btn { padding: 11px 16px; font-size: .82rem; min-height: 44px; }
.help-disclaimer { margin: 0; padding: 0 22px 16px; color: var(--muted); font-size: .68rem; line-height: 1.6; }
.help-feedback { margin: 0 22px 14px; border: 1px solid #f0cba0; background: #fff8ec; padding: 11px 14px; color: #79420b; font-size: .85rem; border-radius: 8px; }
.help-reconnect { display: flex; align-items: center; gap: 16px; margin: 0 22px 16px; font-size: .85rem; }
.help-chat [hidden] { display: none !important; }
.help-chat button:disabled, .help-topics button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.help-composer textarea:disabled { opacity: .7; }
@media (max-width: 1000px) { .help-layout { grid-template-columns: 235px minmax(0,1fr); gap: 22px; } #help-hint { flex-basis: 100%; } #help-count { margin-right: auto; } }
@media (max-width: 760px) { .help-hero__inner { grid-template-columns: 1fr; padding-block: 32px; gap: 0; } .help-hero__note { display: none; } .help-layout { display: flex; flex-direction: column; gap: 28px; } .help-chat { width: 100%; order: -1; } .help-aside { width: 100%; } .help-aside h2 br { display: none; } .help-topics { grid-template-columns: 1fr 1fr; margin: 16px 0; } .help-chat__messages { height: 320px; padding: 18px 16px; } .help-chat__bar { padding: 14px 16px; } .help-composer { padding: 14px 16px 12px; } .help-disclaimer { padding-inline: 16px; } .help-welcome { padding-top: 18px; } .help-reset { max-width: 120px; } .help-hero__lead br { display: none; } .help-section { padding-top: 22px; } .help-composer textarea { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .help-chat *, .help-topics * { scroll-behavior: auto !important; transition: none !important; } }
