.dot-trigger[hidden],.dot-trigger [hidden],.dot-dialog [hidden]{display:none!important}
.workspace-header .dot-trigger{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0;max-width:11rem;padding:3px 8px 3px 4px;min-height:38px;border:1px solid #dbe6d6;border-radius:999px;background:#fffdf5;color:#234c38;font:650 12px system-ui;cursor:pointer}
.dot-trigger svg{display:block;flex:none;width:30px;height:30px}
.dot-trigger .vot-trigger-brand{flex:none;font-weight:800}
.dot-trigger .vot-profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #dbe6d6;padding-left:5px}
.dot-trigger:focus-visible,.dot-dialog button:focus-visible,.dot-dialog input:focus-visible,.dot-characters label:focus-within{outline:2px solid #176149;outline-offset:2px}
.dot-dialog{width:min(560px,calc(100% - 24px));max-height:min(88dvh,720px);padding:20px;border:1px solid #c9d8c7;border-radius:20px;background:#fffdf6;color:#183b30;overflow:auto}
.dot-dialog::backdrop{background:#0d251b91}
.dot-dialog form{margin:0}
.dot-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.dot-dialog h2{margin:0;font:750 clamp(20px,5vw,26px)/1.25 system-ui}
.dot-dialog p,.dot-dialog label{color:#36584b}
.dot-dialog .dot-intro{margin:5px 0 14px;font-size:14px;line-height:1.45}
.dot-dialog #dotName{border:1px solid #b6c9b7;background:#fff;color:#153d30;font:inherit}
.dot-dialog .dot-hint{margin:4px 0 10px;font-size:12px}
.dot-dialog fieldset{margin:0;padding:0;border:0;min-width:0}
.dot-dialog label[for=dotName],.dot-dialog legend{font:650 14px system-ui}
.dot-dialog legend{padding:0 0 8px}
.dot-characters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,80px),1fr));gap:8px}
.dot-characters label{position:relative;display:flex;align-items:center;flex-direction:column;gap:3px;border:1px solid #d5ded0;border-radius:13px;padding:8px 4px;background:#fff;cursor:pointer;text-align:center}
.dot-characters label:has(input:checked){border-color:#267651;background:#ecf5e9;box-shadow:inset 0 0 0 1px #267651}
.dot-characters input{position:absolute;top:5px;left:5px;width:14px;height:14px;margin:0;accent-color:#267651}
.dot-characters svg{display:block;width:min(100%,44px);height:auto}
.dot-characters strong{font-size:13px}
.dot-characters small{font-size:11px;line-height:1.25}
.dot-dialog button{min-height:40px;padding:8px 11px;border:1px solid #bdcebb;border-radius:10px;background:#fff;color:#214f3d;font:650 13px system-ui;cursor:pointer}
.dot-dialog button.dot-close{height:38px;min-height:38px;min-width:38px;padding:4px;font-size:21px}
.dot-dialog #dotSave{background:#215f49;color:#fff;border-color:#215f49}
.dot-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px}
.dot-dialog #dotStatus{min-height:1.3em;margin:9px 0 0;font-size:13px}
@media(max-width:760px){
 .workspace-header .dot-trigger{min-width:58px;height:36px;min-height:36px;gap:3px;padding:2px 5px 2px 3px;justify-content:center;margin-left:4px}
 .dot-trigger svg{width:25px;height:25px}
 .dot-trigger .vot-profile-name{display:none}
 .dot-dialog .dot-dialog-actions{position:sticky;inset-block-end:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);padding:7px 0;border-top:1px solid #d5ded0;background:#fffdf6}
 .dot-dialog .dot-dialog-actions button{min-height:44px}
}
@media(max-width:400px){.dot-dialog{padding:13px}.dot-dialog-actions{justify-content:flex-start}}

.vot-start{padding:10px 12px 8px;border:1px solid #d0ddcb;border-radius:13px;background:#f1f6ec;margin:0 0 16px}
.vot-examples{margin:0 0 8px;display:grid;gap:7px}
.vot-examples div{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px}
.vot-examples dt{font-weight:750}
.vot-examples dd,.vot-start-hint{margin:0;color:#36584b;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.vot-start .vot-start-hint{margin-top:5px}
.vot-start .vot-talk{border-color:#215f49;color:#174b39}
.vot-personalize-heading{margin:0 0 4px;font-size:16px}
#dotEditor>.vot-start-hint{margin:0 0 10px}
.vot-character-preview{display:flex;align-items:center;gap:7px;margin:8px 0 0;padding:5px 8px;background:#f3f5e9;border:1px solid #d0ddcb;border-radius:11px;font-size:12px}
.vot-character-preview svg{flex:none;display:block}
.vot-character-preview strong{display:block;font-size:14px}
