.help-open-button{display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:0;border:0;background:transparent;color:var(--green-dark);font:inherit;font-size:10px;font-weight:700;cursor:pointer}.help-open-button:hover{text-decoration:underline}.template-helper{position:fixed;z-index:20;left:240px;bottom:20px;width:min(360px,calc(100vw - 260px));max-height:min(560px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;border:1.5px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 18px 55px #0003}.template-helper[hidden]{display:none!important}.template-helper>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line)}.template-helper>header b,.template-helper>header small{display:block}.template-helper>header b{font-size:13px}.template-helper>header small{margin-top:3px;color:var(--muted);font-size:10px}.template-helper>header button{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--ink);font-size:20px;cursor:pointer}.template-helper-messages{display:flex;flex-direction:column;gap:8px;min-height:120px;overflow:auto;padding:13px}.helper-bubble{max-width:94%;margin:0;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.helper-reply{align-self:flex-start}.helper-user{align-self:flex-end;background:var(--mint);border-color:color-mix(in srgb,var(--green) 35%,var(--line))}.helper-draft{align-self:flex-start;background:color-mix(in srgb,var(--paper) 88%,var(--green) 12%)}.helper-apply{align-self:flex-start;min-height:32px;padding:0 11px;border:1px solid var(--green);border-radius:8px;background:var(--green);color:#fff;font-size:10px;font-weight:700;cursor:pointer}.template-helper>form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}.template-helper>form textarea{min-width:0;resize:vertical;max-height:100px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:11px}.template-helper>form button{padding:0 10px;border:0;border-radius:8px;background:var(--green);color:#fff;font-size:10px;font-weight:700;cursor:pointer}.template-helper-note{padding:0 12px 11px;color:var(--muted);font-size:9px;line-height:1.4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.top-action-button{min-height:34px;padding:0 9px;white-space:nowrap;font-size:10px}.nav-item:focus:not(:focus-visible),.sidebar nav button:focus:not(:focus-visible),.accessibility-select select:focus:not(:focus-visible){outline:none;box-shadow:none}
@media(max-width:850px){.template-helper{left:75px;width:min(360px,calc(100vw - 90px))}}
@media(max-width:580px){.template-helper{left:10px;bottom:calc(84px + env(safe-area-inset-bottom));width:calc(100vw - 20px);max-height:min(540px,calc(100dvh - 110px))}.top-action-button{min-height:30px;padding:0 7px;font-size:9px}.top-actions{gap:5px!important}.top-refresh{min-height:30px;padding:0 7px;font-size:9px}}
