/* dialog + link-suggestion styles, lifted from 4VB Office views/app.css + theme.css */
.vbs-bg { position: fixed; inset: 0; z-index: 100005; background: rgba(10,10,10,.6); display: grid; place-items: center; padding: 16px; }
.vbs-panel { width: min(420px, 100%); max-height: 90vh; overflow: auto; background: #F4F4F4; border: 4px solid #141414; border-radius: 16px; font-family: 'Poppins', system-ui, sans-serif; color: #141414; box-shadow: 0 8px 0 #DF1F46; }
.vbs-head { display: flex; align-items: center; background: #141414; color: #00E85A; font-family: 'Russo One', sans-serif; font-size: 18px; padding: 12px 16px; }
.vbs-head span { flex: 1; letter-spacing: 1px; }
.vbs-x { border: 0; background: #DF1F46; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.vbs-body { padding: 14px 16px 18px; }
.vbs-who { display: flex; flex-direction: column; margin-bottom: 6px; }
.vbs-who b { font-family: 'Russo One', sans-serif; font-weight: 400; font-size: 20px; }
.vbs-who small { color: #5E6B63; }
.vbs-sec { font-family: 'Russo One', sans-serif; font-size: 12px; color: #DF1F46; letter-spacing: 1px; margin: 16px 0 8px; }
.vbs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.vbs-label { font-size: 15px; }
.vbs-seg { display: flex; background: #141414; border-radius: 10px; padding: 3px; gap: 3px; }
.vbs-opt { border: 0; background: transparent; color: #F4F4F4; font: 600 13px 'Poppins', sans-serif; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.vbs-opt.on { background: #00E85A; color: #141414; }
.vbs-form { display: flex; flex-direction: column; gap: 8px; }
.vbs-in { height: 40px; border-radius: 10px; border: 2px solid #141414; padding: 0 12px; font: 15px 'Poppins', sans-serif; background: #fff; color: #141414; }
.vbs-btn { border: 0; border-radius: 10px; padding: 11px 16px; background: #00E85A; color: #141414; font: 600 14px 'Poppins', sans-serif; cursor: pointer; box-shadow: 0 4px 0 #1F2A24; }
.vbs-btn:disabled { opacity: .6; }
.vbs-out { background: #141414; color: #F4F4F4; box-shadow: 0 4px 0 #5C343B; width: 100%; }
.vbs-msg { color: #DF1F46; font-size: 13px; min-height: 0; }
.vbs-hint { color: #5E6B63; font-size: 12px; }
html[data-canvas="dark"] ul.vb-check > li::before { background: #1e1e1e; border-color: #bbb; }
html[data-canvas="dark"] ul.vb-check > li[data-checked="true"]::before { background: #00E85A; border-color: #00E85A; box-shadow: inset 0 0 0 2px #1e1e1e; }
html[data-portal="dark"] .vbv-modal, html[data-portal="dark"] .vbs-panel { background: #1f1f1f; color: #e6e6e6; border-color: #000; }
html[data-portal="dark"] .vbs-in { background: #2a2a2a; color: #eee; border-color: #555; }
html[data-portal="dark"] .vbs-who small, html[data-portal="dark"] .vbs-hint { color: #9a9a9a; }
html[data-portal="dark"] .vbt-ask .vbs-panel { background: #1f1f1f; color: #e6e6e6; }
/* ROUND 5: the app's own questions (VBAsk) */
.vbask { width: min(440px, 100%); }
.vbask-text { margin: 0 0 10px; font-size: 15px; line-height: 1.45; display: block; }
.vbask-list { margin: 0 0 12px; padding: 8px 12px 8px 28px; background: rgba(0,0,0,.06); border-radius: 10px; max-height: 220px; overflow: auto; font-size: 14px; }
.vbask-input { width: 100%; box-sizing: border-box; font: 16px 'Poppins', system-ui, sans-serif; padding: 10px 12px; border: 3px solid #141414; border-radius: 10px; background: #fff; color: #141414; }
.vbask-hint { display: block; opacity: .7; margin-top: 6px; font-size: 12px; }
.vbask-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.vbask-btn { min-height: 44px; padding: 0 18px; border: 3px solid #141414; border-radius: 10px; background: #fff; color: #141414; font: 15px 'Russo One', sans-serif; cursor: pointer; }
.vbask-btn:focus-visible { outline: 3px solid #00E85A; outline-offset: 2px; }
.vbask-ok { background: #00E85A; }
.vbask-danger { background: #DF1F46; color: #fff; }
.vbask-tree { display: flex; flex-direction: column; gap: 4px; max-height: 60vh; overflow: auto; }
.vbask-folder { text-align: left; min-height: 40px; border: 2px solid transparent; border-radius: 8px; background: rgba(0,0,0,.05); color: inherit; font: 14px 'Poppins', system-ui, sans-serif; cursor: pointer; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.vbask-folder:hover { border-color: #00E85A; }
.vbask-folder.on { background: #00E85A33; }
html[data-portal="dark"] .vbask-input, html[data-portal="dark"] .vbask-btn:not(.vbask-ok):not(.vbask-danger) { background: #2a2a2a; color: #eee; border-color: #000; }
html[data-portal="dark"] .vbask-list, html[data-portal="dark"] .vbask-folder { background: rgba(255,255,255,.07); }
.vbs-test {width:100%;margin-top:8px}
.vbs-link {display:block;margin:8px 0 0;background:none;border:0;color:#DF1F46;font:600 13px Poppins,sans-serif;cursor:pointer;padding:4px 0}
.vbs-bg.vbask-bg { z-index: 100030; }
