/* LET'S DRAW TECH — wspólna, dyskretna ankieta narzędzi */
.ldt-tool-feedback{margin:8px clamp(10px,2vw,18px) 10px;border-top:1px solid var(--line,#d9e0e1);padding-top:6px;color:var(--text,var(--ink-strong,#22363a));font:inherit}
.ldt-tool-feedback>summary{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:2px 4px;list-style:none;cursor:pointer;color:var(--muted,#718185);font-size:.68rem;font-weight:650;opacity:.72;user-select:none}
.ldt-tool-feedback>summary::-webkit-details-marker{display:none}
.ldt-tool-feedback>summary:hover,.ldt-tool-feedback[open]>summary{opacity:1;color:var(--text,var(--ink-strong,#22363a))}
.ldt-tool-feedback__mark{font-size:.85rem;line-height:1;transform:translateY(-1px)}
.ldt-tool-feedback__body{max-width:560px;margin:5px 0 2px;padding:10px 11px;border:1px solid var(--line,#d9e0e1);border-radius:10px;background:color-mix(in srgb,var(--surface-2,#f6f8f8) 82%,transparent)}
.ldt-tool-feedback form{display:grid;gap:8px;margin:0}
.ldt-tool-feedback__question{margin:0!important;font-size:.72rem!important;font-weight:750;color:var(--text,var(--ink-strong,#22363a))!important}
.ldt-tool-feedback__choices{display:flex;gap:6px;flex-wrap:wrap}
.ldt-tool-feedback__choices label{position:relative;display:block!important;margin:0!important;cursor:pointer}
.ldt-tool-feedback__choices input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.ldt-tool-feedback__choices label>span{
    display:block;
    min-width:56px;
    padding:5px 10px;
    border:1px solid var(--line,#d9e0e1);
    border-radius:8px;
    background:#1c272b;
    color:var(--accent);
    font-size:.68rem;
    font-weight:750;
    text-align:center
}
.ldt-tool-feedback__choices input:checked+span{
    border-color:#39575E;
    background:#39575E;
    color:#fff;
}

.ldt-tool-feedback__comment{display:grid!important;gap:4px!important;margin:0!important;color:var(--text,var(--ink-strong,#22363a))!important;font-size:.67rem!important;font-weight:650!important}
.ldt-tool-feedback__comment small{font-size:.62rem;font-weight:400;color:var(--muted,#718185)}
.ldt-tool-feedback__comment textarea{width:100%;min-height:48px;max-height:140px;resize:vertical;padding:7px 9px;border:1px solid var(--line,#d9e0e1);border-radius:8px;background:var(--surface,#fff);color:var(--text,var(--ink-strong,#22363a));font:inherit;line-height:1.35;outline:none}
.ldt-tool-feedback__comment textarea:focus{border-color:var(--accent,#45656a);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#45656a) 15%,transparent)}
.ldt-tool-feedback__actions{display:flex;align-items:center;gap:10px;min-height:30px}


.ldt-tool-feedback__actions .button{min-height:30px!important;height:auto!important;padding:5px 10px!important;font-size:.67rem!important;border-radius:8px!important}
.ldt-tool-feedback__status{font-size:.65rem;color:var(--muted,#718185)}
.ldt-tool-feedback__status[data-kind="ok"]{color:#2f7650;font-weight:700}
.ldt-tool-feedback__status[data-kind="bad"]{color:#a9433a;font-weight:700}
.ldt-tool-feedback__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ldt-tool-feedback.is-sent .ldt-tool-feedback__body{display:none}
.ldt-tool-feedback.is-sent>summary{color:#2f7650;opacity:.8;cursor:default}
.ldt-tool-feedback.is-sent>summary .ldt-tool-feedback__mark{font-size:0}
.ldt-tool-feedback.is-sent>summary .ldt-tool-feedback__mark::after{content:"✓";font-size:.75rem}
[data-theme="dark"] .ldt-tool-feedback__body,.dark .ldt-tool-feedback__body,.theme-dark .ldt-tool-feedback__body{background:color-mix(in srgb,var(--surface-2,#111820) 90%,transparent)}
@media(max-width:520px){.ldt-tool-feedback__body{max-width:none}.ldt-tool-feedback__comment textarea{min-height:54px}.ldt-tool-feedback__actions{align-items:flex-start;flex-direction:column;gap:5px}}
