.ht-entry{border:1px solid #d6dbcf;background:#fffdf6;border-radius:12px;padding:17px 20px;margin:24px 0;font:15px/1.6 Arial,sans-serif;color:#284b4b}.ht-entry h3{font:700 21px/1.3 Georgia,serif;margin:0 0 8px}.ht-entry p{margin:8px 0}.ht-entry .actions{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.ht-entry button,.ht-dialog button{font:600 14px/1.4 Arial,sans-serif;min-height:42px;cursor:pointer;padding:9px 13px;border:1px solid #cbd5c8;background:#fffdf7;color:#315d50;border-radius:9px}.ht-entry button:disabled,.ht-dialog button:disabled{opacity:.5;cursor:default}.ht-entry button:focus-visible,.ht-dialog :is(button,input,select,summary):focus-visible{outline:3px solid #c59d45;outline-offset:3px}.ht-dialog{width:min(940px,95vw);max-height:92vh;overflow:auto;border:1px solid #c7cfc0;border-radius:16px;padding:24px;background:#fffdf7;color:#284b4b;font:16px/1.6 Arial,sans-serif}.ht-dialog::backdrop{background:#18373ab3}.ht-dialog header{display:flex;justify-content:space-between;align-items:start;gap:15px;border-bottom:1px solid #dedfce;padding-bottom:15px}.ht-dialog header h2{font:700 25px/1.3 Georgia,serif;margin:0}.ht-dialog h3{font:700 21px/1.45 Georgia,serif}.ht-dialog .primary{background:#315f56;color:#fff;border-color:#315f56}.ht-dialog .actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.ht-note,.ht-meta{font-size:13px;color:#63766b}.ht-dialog progress{width:100%;height:9px;accent-color:#618771}.ht-kind{font-size:11px;letter-spacing:.05em;font-weight:700;color:#856237}.ht-question{padding:18px 0}.ht-options{display:grid;gap:10px}.ht-options button{text-align:left;justify-content:start}.ht-options [aria-pressed=true],.ht-slots [aria-pressed=true]{outline:2px solid #6d927f;background:#e9f1e5}.ht-dialog input,.ht-dialog select{display:block;width:100%;font:16px/1.5 Arial,sans-serif;border:1px solid #b8c8bd;border-radius:8px;padding:11px;background:#fff;color:#244b48;margin:7px 0}.ht-input{display:block;font-size:14px}.ht-slots,.ht-bank{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}.ht-slots button{border-style:dashed;min-width:110px;background:#f0f3e9}.ht-bank [draggable]{cursor:grab}.ht-bank span{display:block;padding:9px 12px;border:1px solid #cbd5c8;background:#fff;border-radius:9px;font-size:14px}.ht-match{display:grid;gap:12px}.ht-match label{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center;border:1px solid #d9ddcf;border-radius:10px;padding:10px;font-size:14px}.ht-stimulus{font:18px/1.8 Georgia,serif;border-left:3px solid #c7b779;padding:12px 17px;margin:15px 0;background:#f5f2e5;white-space:pre-line}.ht-feedback,.ht-hint{padding:15px 18px;border-radius:10px;background:#eef3e7;border-left:3px solid #6f9278;margin-top:16px}.ht-feedback p{font-size:15px}.ht-levels{display:grid;gap:10px;margin:15px 0}.ht-levels section{padding:13px;border:1px solid #d9decf;border-radius:10px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ht-levels strong{flex:1;font-size:15px}.ht-levels small{display:block;width:100%;font-size:12px}.ht-level{font-size:12px;padding:4px 9px;border-radius:15px;background:#eee9d8}.ht-level-2{background:#f9e6be}.ht-level-3{background:#d9ebd3}.ht-dashboard-row{border-top:1px solid #d5dcca;padding:20px 0}.ht-detail{padding:12px 0;border-bottom:1px solid #ddd}.ht-detail h3{font-size:17px}.ht-detail p{font-size:14px}.ht-pending{border-left:3px solid #c29a4d;padding:10px 15px;background:#fbefcf}.ht-dialog [data-t-message]:empty{display:none}@media(max-width:600px){.ht-dialog{padding:17px;width:96vw;max-height:94vh}.ht-dialog header h2{font-size:22px}.ht-match label{grid-template-columns:1fr;gap:4px}.ht-entry{padding:15px}.ht-levels strong{flex-basis:100%}.ht-stimulus{font-size:17px}.ht-slots button{min-width:90px;flex:1}}@media(prefers-reduced-motion:no-preference){.ht-feedback{animation:ht-arrive .2s ease-out}@keyframes ht-arrive{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}
.ht-dialog select,.ht-dialog input,.ht-match label{min-width:0;max-width:100%}
.ht-match label{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:600px){.ht-match label{grid-template-columns:minmax(0,1fr)}}
.ht-howto{font-size:14px;background:#f2efdf;border-radius:9px;padding:10px 13px}.ht-hint{display:flex;gap:14px;align-items:flex-start}.ht-hint img{width:58px;height:64px;object-fit:contain;flex-shrink:0}.ht-hint p{margin:6px 0}.ht-document{margin:14px 0;max-width:100%;background:#fff;border:1px solid #e0ddcf;border-radius:10px;padding:8px}.ht-document img{display:block;width:100%;height:200px;object-fit:contain}.ht-document figcaption{font-size:12px;color:#63766b;text-align:center}.ht-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.ht-stages button{text-align:left}.ht-stages small{display:block;font-size:11px;margin-bottom:5px}.ht-stages [aria-pressed=true]{outline:2px solid #6d927f;background:#eef3e7}.ht-stages p{font-size:13px;padding:10px;background:#f3f1e7;border-radius:8px;margin:0}@media(max-width:600px){.ht-stages{grid-template-columns:1fr}.ht-document img{height:160px}}
.ht-document details img{height:auto}.ht-document summary{font-size:13px;cursor:pointer;padding:6px}.ht-hint{scroll-margin:15px}
.ht-version{display:block;margin-top:15px;font:11px/1.5 system-ui;color:#64766b}.ht-dependency-warning{padding:12px;border-left:4px solid #be8c42;background:#fff0ce;font:14px/1.6 system-ui}.ht-dialog .ht-feedback[data-feedback-state="incorrect"]{background:#fff0d8;border-color:#c99845}.ht-dialog .ht-feedback[data-feedback-state="pending"]{background:#edf0f6;border-color:#8196b6}
