@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url('v7-assets/inter-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url('v7-assets/inter-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url('v7-assets/inter-latin-600-normal.woff2') format('woff2')}
:root{font-family:Inter,-apple-system,Segoe UI,sans-serif;color:#fff;background:#343a38;--ink:#fff;--accent:#e1bb61;--line:#ffffff30;--v7-pane:#ffffff12;--v7-edge:#ffffff4a;--v7-text:#ffffffc9;--v7-shadow:0 20px 60px #0003,inset 0 1px 0 #ffffff20}
html,body{width:100%;height:100%;overflow:hidden;font-size:14px}
body:before{content:"";position:fixed;inset:-60px;z-index:-2;pointer-events:none;background:url('v7-assets/2157eeae8a4105c1.jpg') center/cover;filter:blur(28px) saturate(1.25) brightness(.78)}
body:after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#23364814,#3435200a)}
button,input,select,textarea{font-family:inherit}
button,a{touch-action:manipulation}
button,.outline,.quiet,button.primary{color:#fff;background:#ffffff10;border:1px solid #ffffff30;border-radius:999px;box-shadow:none;font-weight:400}
button:hover:not(:disabled),.outline:hover:not(:disabled),.primary:hover:not(:disabled){background:#ffffff24}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f1ce77;outline-offset:4px}
button:disabled{opacity:.45}
a{color:#f1d48d}
.muted,.section-label,.fine,.canvas-hint,.axis-label,.header-right,.quantity,.quantity strong,.tree-title,.tree-level span,.object-list button,.object-list button span,.nav-bottom small,.inspector p.muted,.inspector-footer,.proposal-header span,#proposal-detail,#proposal-card small,#activity-list{color:var(--v7-text)}
.local-dot,.status-dot{background:#f0cd75;box-shadow:0 0 9px #ffd77e66}
.brand-mark{display:none}
.welcome{position:fixed;inset:0;display:block;min-height:0;background:none}
.v7-home-bar,#workspace>header{position:fixed;top:10px;left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 32px));height:48px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:12;font:400 12px Inter,Segoe UI,sans-serif}
.v7-home-bar .v7-person{display:flex;align-items:center;gap:12px;letter-spacing:.13em}
.v7-home-bar .v7-person span:last-child{letter-spacing:0;color:#ffffffd9}
.v7-home-bar .v7-home-meta{display:flex;align-items:center;gap:16px;color:#ffffffa6;font-size:11px}
.v7-home-bar b{font-weight:400;color:#f1d48d}
.welcome-card{position:absolute;inset:0;padding:0;width:auto;max-width:none;border:0;background:none;border-radius:0;box-shadow:none;pointer-events:none}
.v7-figure-wrap{position:absolute;left:50%;top:50%;transform:translate(-50%,-75%);width:132px;height:132px}
#v7-figure{width:132px;height:132px}
.v7-home-caption{position:absolute;left:50%;top:calc(50% + 90px);transform:translateX(-50%);width:min(520px,calc(100vw - 40px));font-size:12px;text-align:center;color:#ffffffc7;line-height:1.6}
.v7-launch-line{position:absolute;left:50%;bottom:clamp(70px,12vh,124px);transform:translateX(-50%);width:min(520px,calc(100vw - 36px));min-height:52px;display:flex;align-items:center;gap:12px;padding:5px 7px 5px 22px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);pointer-events:auto}
.v7-launch-line span{flex:1;color:#ffffffb3;font-size:13px}
.v7-launch-line #open-workspace{margin:0;display:block;flex:none;padding:10px 16px;background:#ffffff14;color:#fff;font-size:12px;border-radius:999px}
.v7-home-note{position:absolute;left:50%;bottom:36px;transform:translateX(-50%);width:min(540px,90vw);text-align:center;color:#ffffff8c;font-size:10px}
.v7-home-pen,.v7-pen{position:fixed;right:18px;bottom:18px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ecd78b70;border-radius:50%;color:#e6ce7e;background:#a7985e18;backdrop-filter:blur(20px);z-index:18}
.v7-home-pen{pointer-events:none}
.v7-home-pen svg,.v7-pen svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.4}
.brand{font-size:12px;gap:10px;min-width:0}
.brand strong{font-size:11px;letter-spacing:.14em;font-weight:500;white-space:nowrap}
.brand strong:before{content:"";display:inline-block;width:6px;height:6px;margin-right:12px;border-radius:50%;background:#f0cc72;box-shadow:0 0 9px #ffd77e66}
.brand em{color:#e5c97e}.brand #project-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:250px}.divider{background:#ffffff30}
.header-right{gap:6px}.header-right button{font-size:11px;padding:6px 10px;border-color:transparent;background:#ffffff0e}.header-right>a{margin-left:5px}.header-right>span{font-size:10px}
.layout{display:block;position:fixed;inset:0;height:auto;min-height:0;pointer-events:none}
.model-area{position:absolute;inset:0;display:block;background:transparent;pointer-events:auto}
.canvas-wrap{position:absolute;inset:0;min-height:0;background:transparent}
#model-canvas{width:100%;height:100%}
.model-toolbar{position:fixed;left:50%;bottom:48px;transform:translateX(-50%);height:auto;min-height:52px;width:min(520px,calc(100% - 112px));padding:7px 14px;gap:12px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:8}
.model-toolbar .section-label{display:none}.model-toolbar .revision{margin-left:0;border:0;padding:0;color:#ffffffd9;font-size:11px}.model-toolbar .view-controls{margin-left:auto}.model-toolbar button{border-color:transparent;background:#ffffff0e;white-space:nowrap}
.canvas-hint{bottom:117px;left:50%;transform:translateX(-50%);text-align:center;width:max-content;max-width:90%;font-size:10px;color:#ffffffb3}.axis-label{right:20px;bottom:78px;color:#ffffffb3}
.navigator,.inspector{position:fixed;top:78px;bottom:122px;width:380px;max-width:calc(100vw - 32px);border:1px solid var(--v7-edge);border-radius:22px;background:#3a403b72;backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);overflow:auto;pointer-events:auto;z-index:10}
.navigator{left:16px;width:280px;padding:24px 20px;display:none}.inspector{right:16px;display:none}
body.v7-model-open .navigator{display:flex}body.v7-properties-open .inspector{display:block}
.inspector section{padding:23px;border-color:#ffffff20}.inspector .agent-panel{background:#ffffff05}.inspector h2,.agent-panel h2{font:500 16px/1.5 Inter,Segoe UI,sans-serif}
.object-list{max-height:38vh;flex-shrink:0}.object-list button{border-radius:12px}.object-list button.selected{background:#f1d48d20;color:#f3d991;box-shadow:inset 2px 0 #e2bf67}
.nav-bottom{padding-top:18px;border-color:#ffffff25}.navigator>.muted{margin-bottom:25px}
input,select,textarea,.runtime-panel select,.runtime-panel textarea{color:#fff;background:#0000001c;border:1px solid #ffffff36;border-radius:10px;accent-color:#dfba62}
input:focus{border-color:#ead18c;outline:2px solid #eed49430}
select option{background:#36413e;color:#fff}label,label span{color:#ffffffbd}input::placeholder,textarea::placeholder{color:#ffffff80}
.warning,.runtime-error{color:#ffe5ba;background:#8d48283d;border:1px solid #eac58b50;border-radius:12px}
.activity{position:fixed;left:50%;bottom:118px;transform:translateX(-50%);width:min(620px,calc(100% - 32px));height:180px;display:none;padding:20px;border:1px solid var(--v7-edge);border-radius:20px;background:#3a403b99;backdrop-filter:blur(30px);z-index:11;pointer-events:auto}
body.v7-activity-open .activity{display:block}.activity-heading>span:last-child{color:#e6cb83}
.runtime-panel{position:fixed;inset:78px 28px 118px;max-height:none;margin:0;overflow:auto;border:1px solid var(--v7-edge);border-radius:22px;background:#303b38eb;backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:20;color:#fff;scroll-margin-top:0}
.runtime-panel :is(p,li,label,.runtime-hint){color:#ffffffbf}.runtime-panel :is(h2,h3,h4,strong){color:#fff;font-family:Inter,Segoe UI,sans-serif}.runtime-panel :is(.runtime-node,.runtime-task,.runtime-task-card,.catalog-entry,.runtime-evidence,.runtime-pending){background:#ffffff09;border-color:#ffffff26;color:#fff}.runtime-panel pre,.catalog-json{background:#00000024;color:#e8e8df;border-color:#ffffff28}.runtime-badge{background:#c5ac6526;color:#efd58c}.runtime-sidebar{border-color:#ffffff24}
.empty-model h2{font-family:Inter,Segoe UI,sans-serif;color:#fff}.empty-model p{color:#ffffffb8}.empty-icon{color:#e9ce87}
footer{position:fixed;bottom:8px;left:22px;right:76px;height:auto;padding:0;border:0;background:none;color:#ffffff9c;font-size:9px;z-index:7;gap:12px}footer .muted{color:#ffffff72}
.notice{z-index:80;border:1px solid #ffffff50;background:#39443ef2;backdrop-filter:blur(25px);border-radius:20px}.notice.error{background:#734330ee}
@media(max-width:1100px){.brand #project-name{display:block;max-width:160px}.navigator{padding:22px 18px}.inspector section{padding:20px}}
@media(max-width:800px){.v7-home-bar,#workspace>header{left:12px;right:12px;transform:none;width:auto;padding:0 12px;gap:6px}.header-right>span,.header-right>a,.brand .divider,.brand #project-name{display:none}.brand strong{font-size:10px}.header-right{gap:2px}.header-right button{padding:7px;font-size:10px}.model-area{height:auto;min-height:0}.navigator{display:none}.inspector{grid-template-columns:none;border:1px solid var(--v7-edge)}.model-toolbar{padding:8px 12px;bottom:40px;width:calc(100% - 88px);min-height:50px}.canvas-hint{bottom:104px}.axis-label{bottom:104px;right:12px}.runtime-panel{inset:74px 12px 106px;padding:20px 16px}.runtime-columns{grid-template-columns:1fr}.runtime-sidebar{padding-right:0;border-right:0;border-bottom:1px solid #ffffff24;padding-bottom:16px}.v7-home-meta>span:first-child{display:none}.v7-pen{right:12px;bottom:38px;width:38px;height:38px}footer{left:12px;right:12px;bottom:8px;font-size:8px}footer #receipt-label{max-width:50%}.v7-home-caption{top:calc(50% + 80px)}.navigator,.inspector{top:74px;bottom:108px;left:12px;right:12px;width:auto;max-width:none}.v7-home-pen{right:12px;bottom:12px}}
@media(max-width:480px){.brand strong:before{margin-right:6px}.brand strong{letter-spacing:.04em}.header-right button{padding:6px}.v7-launch-line{padding-left:16px;gap:8px}.v7-launch-line span{font-size:11px}.v7-launch-line #open-workspace{padding:10px 12px;font-size:11px}.v7-home-meta{gap:8px!important}.v7-person span:last-child{max-width:96px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.model-toolbar .revision{font-size:10px}.model-toolbar button{font-size:10px;padding:7px}.model-toolbar{gap:6px}.canvas-hint{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

.v7-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#workspace{min-height:100dvh}.v7-home-caption{display:none}

.inspector .agent-msg.assistant{background:#ffffff14;color:var(--v7-text)}.inspector .agent-msg.user{background:#d9b65b;color:#1c1a12}
.inspector .agent-tool{background:#ffffff0a;border-color:#ffffff26}.inspector .agent-tool p,.inspector .agent-tool strong{color:var(--v7-text)}
.inspector #agent-form textarea{background:#ffffff0f;color:var(--v7-text);border-color:#ffffff26}.inspector #agent-status{color:var(--v7-text)}
.inspector .agent-tool.committed{border-color:#9fc9a8}
.inspector .agent-ai,.inspector .agent-check,.inspector .agent-delegate{color:var(--v7-text)}
.inspector .agent-sub{border-color:#ffffff26}.inspector .agent-sub input,.inspector .agent-sub select,.inspector .agent-sub textarea{background:#ffffff0f;color:var(--v7-text);border-color:#ffffff26}
.inspector .agent-sub option{color:#1c1a12}

/* DAVINCI logo effect (V7 heart.js + breath). The orb sits where V7 tucks DAVINCI in the corner (0.42 of the
   orb, 46 px from the right), lifted just above V8's axis label so the two never overlap. */
.v8-heart{position:absolute;inset:0;pointer-events:none}
@keyframes dvBreath{0%{transform:scale(1)}40%{transform:scale(1.07)}55%{transform:scale(1.07)}95%{transform:scale(1)}100%{transform:scale(1)}}
body.breath .v8-heart{animation:dvBreath 10s cubic-bezier(.45,0,.55,1) infinite}
@media(prefers-reduced-motion:reduce){body.breath .v8-heart{animation:none!important}}
.v8-orb{position:fixed;right:21px;bottom:112px;width:50px;height:50px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;z-index:18}
.v8-orb:focus-visible{outline:2px solid #e6ce7e;outline-offset:6px}
@media(max-width:800px){.v8-orb{right:15px;bottom:138px;width:46px;height:46px}}
.inspector .agent-plan{border-color:#ffffff26;color:var(--v7-text)}.inspector .agent-plan li.proposed{color:#d9b65b}
.inspector .agent-note{color:var(--v7-text)}
.inspector .agent-brief-add input,.inspector .agent-brief-add select{background:#ffffff0f;color:var(--v7-text);border-color:#ffffff26}.inspector .agent-brief li{color:var(--v7-text)}
/* Online sign-in with the V7 account (2026-11-07) */
.v7-launch-line[hidden],.v7-sign-in[hidden],.v7-sign-in-help[hidden],#project-pick[hidden]{display:none}
.v7-sign-in input{flex:1;min-width:0;background:transparent;border:0;color:#fff;font:400 12px Inter,Segoe UI,sans-serif;padding:8px 4px;outline:none}
.v7-sign-in input::placeholder{color:#ffffff80}
.v7-sign-in input+input{border-left:1px solid #ffffff24;padding-left:12px}
.v7-sign-in button{margin:0;flex:none;padding:10px 16px;background:#ffffff14;color:#fff;font-size:12px;border:0;border-radius:999px;cursor:pointer}
.v7-sign-in-help{position:absolute;left:50%;bottom:calc(clamp(70px,12vh,124px) + 62px);transform:translateX(-50%);width:min(520px,calc(100vw - 36px));text-align:center;color:#ffffffa6;font-size:11px;pointer-events:auto}
.v7-sign-in-help a{color:#f1d48d}
.v7-launch-line #project-pick{flex:1;min-width:0;background:transparent;border:0;color:#fff;font:400 12px Inter,Segoe UI,sans-serif;outline:none;cursor:pointer}
.v7-launch-line #project-pick option{color:#111}
/* Drawer close button (2026-11-07) */
.v7-drawer-close{position:sticky;top:10px;z-index:3;display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;margin:10px 10px -46px auto;padding:0;border:1px solid var(--v7-edge);border-radius:999px;background:#00000040;color:#fff;font:300 22px/1 Inter,Segoe UI,sans-serif;cursor:pointer}
.v7-drawer-close:hover{background:#ffffff26}
.navigator .v7-drawer-close{margin:-12px -8px -24px auto}
/* Edit mode: view cube and edit bar (2026-11-07) */
#view-cube{position:fixed;top:76px;right:18px;width:112px;height:112px;z-index:7;cursor:pointer;touch-action:none;border-radius:50%;border:1px solid var(--v7-edge);background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);transform-origin:70% 30%;transform:scale(calc(.62 + .38 * var(--near,0)));transition:box-shadow .3s}
body.v7-properties-open #view-cube{right:var(--pw,412px)}
.v7-edit-bar{position:fixed;top:82px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:5px 6px 5px 18px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:7;color:#fff;font:400 12px Inter,Segoe UI,sans-serif}
.v7-edit-bar[hidden]{display:none}
.v7-edit-bar #edit-title{color:#fff}
.v7-edit-bar button{margin:0;padding:8px 14px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:400 12px Inter,Segoe UI,sans-serif;cursor:pointer}
@media(max-width:800px){#view-cube{top:70px;right:8px;width:96px;height:96px}body.v7-properties-open #view-cube{display:none}.v7-edit-bar{top:76px;left:12px;transform:none}}
/* Project switcher in the top bar (2026-11-07) */
.brand{position:relative}
.v7-project-switch{margin:0;padding:6px 26px 6px 10px;border:1px solid transparent;border-radius:999px;background:none;color:inherit;font:inherit;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px;position:relative}
.v7-project-switch:after{content:'';position:absolute;right:10px;top:50%;width:6px;height:6px;margin-top:-5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.8}
.v7-project-switch:hover,.v7-project-switch[aria-expanded=true]{border-color:var(--v7-edge);background:#ffffff14}
.v7-project-menu{position:absolute;top:calc(100% + 14px);left:0;min-width:280px;max-width:min(420px,calc(100vw - 32px));max-height:min(60vh,440px);overflow:auto;padding:8px;border:1px solid var(--v7-edge);border-radius:18px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:20}
.v7-project-menu[hidden]{display:none}
.v7-project-menu .v7-pm-label{padding:6px 10px 8px;color:#ffffff99;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.v7-project-menu button{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:10px 12px;border:0;border-radius:12px;background:none;color:#fff;font:400 13px Inter,Segoe UI,sans-serif;text-align:left;cursor:pointer}
.v7-project-menu button:hover,.v7-project-menu button:focus-visible{background:#ffffff1a;outline:none}
.v7-project-menu button[aria-selected=true]{color:#f1d48d}
.v7-project-menu button[aria-selected=true]:before{content:'';width:6px;height:6px;border-radius:50%;background:#f1d48d;flex:none}
.v7-project-menu .v7-pm-new{margin-top:6px;border-top:1px solid #ffffff1f;border-radius:0 0 12px 12px;color:#ffffffcc}
@media(max-width:800px){.brand #project-name{display:block;max-width:26vw;font-size:11px;padding:5px 20px 5px 8px}.brand{min-width:0;flex:1 1 auto}.header-right{flex:none}.v7-project-menu{position:fixed;top:68px;left:12px;right:12px;min-width:0;max-width:none}}
/* DAVINCI speaks: notes in the conversation and a bubble by the orb (2026-11-07) */
.inspector .agent-msg.davinci-note{background:#ffffff14;color:#fff;border-left:2px solid #f1d48d}
.inspector .agent-msg.davinci-note.error{border-left-color:#e58b6f}
.davinci-bubble{position:fixed;right:84px;bottom:110px;max-width:min(340px,calc(100vw - 120px));display:flex;flex-direction:column;gap:3px;margin:0;padding:10px 14px;border:1px solid var(--v7-edge);border-radius:16px 16px 4px 16px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);color:#fff;font:400 13px/1.45 Inter,Segoe UI,sans-serif;text-align:left;cursor:pointer;z-index:17;animation:davinci-in .25s ease-out}
.davinci-bubble[hidden]{display:none}
.davinci-bubble b{font-size:10px;letter-spacing:.14em;color:#f1d48d;font-weight:600}
.davinci-bubble.error{border-color:#e58b6f99}
@keyframes davinci-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.davinci-bubble{animation:none}}
@media(max-width:800px){.davinci-bubble{right:70px;bottom:136px}}
.v7-edit-bar #edit-context[aria-pressed=true]{background:rgb(0,59,189);color:#fff}
@media(max-width:560px){#workspace>header .brand strong{display:none}}
@media(prefers-reduced-motion:reduce){#view-cube{transform:none}}
/* F00 0.2: 2D plan view in edit mode */
.v8-plan-readout{position:fixed;left:50%;bottom:128px;transform:translateX(-50%);z-index:7;padding:6px 14px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px);color:#f1d48d;font:600 12px ui-monospace,Consolas,monospace;white-space:pre;pointer-events:none}
.v8-plan-readout[hidden]{display:none}
body.v8-plan2d #view-cube,body.v8-plan2d .axis-label{display:none}
.v7-edit-bar #edit-2d[aria-pressed=true]{background:#f1d48d;color:#2b2b2b}
@media(max-width:800px){.v8-plan-readout{bottom:118px}}
.v8-plan-typed{position:fixed;left:50%;bottom:168px;transform:translateX(-50%);z-index:7;width:min(320px,calc(100vw - 32px));padding:8px 14px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px);color:#fff;font:600 13px ui-monospace,Consolas,monospace}
.v8-plan-typed[hidden]{display:none}
.v7-edit-bar #edit-draw-wall[aria-pressed=true]{background:rgb(0,59,189);color:#fff}
@media(max-width:800px){.v8-plan-typed{bottom:158px}}
/* F00 0.2 part 2: the element's own drawing sheet */
.v8-sheet{position:fixed;inset:76px 16px 16px 16px;z-index:30;display:flex;flex-direction:column;border:1px solid var(--v7-edge);border-radius:22px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);overflow:hidden;color:#fff;font:400 13px Inter,Segoe UI,sans-serif}
.v8-sheet[hidden]{display:none}
.v8-sheet header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;border-bottom:1px solid var(--v7-edge);background:rgba(22,26,30,.88);color:#fff}
.v8-sheet #sheet-hint{flex:1;min-width:160px;color:#ffffffb3;font-size:12px}
.v8-sheet #sheet-type{order:2;width:110px;padding:6px 10px;border:1px solid rgb(0,59,189);border-radius:10px;background:#fff;color:#000;font:600 13px ui-monospace,Consolas,monospace}
.v8-sheet #sheet-type[hidden]+#sheet-type-label{display:none}
.v8-sheet #sheet-type-label{order:1;font-size:12px}
.v8-sheet .sheet-actions{order:3;display:flex;gap:6px}
.v8-sheet button{margin:0;padding:7px 12px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:400 12px Inter,Segoe UI,sans-serif;cursor:pointer}
.v8-sheet .sheet-scroll{flex:1;overflow:auto;padding:12px;background:#ffffff0d}
.v8-sheet #sheet-svg{display:block;width:100%;height:auto;border-radius:8px}
.sheet-dim.editable{cursor:pointer}.sheet-dim.editable:hover text,.sheet-dim.editable:focus text{fill:rgb(0,59,189)}.sheet-handle{fill:#fff;stroke:rgb(0,59,189);stroke-width:2;cursor:move}
@media(max-width:800px){.v8-sheet{inset:70px 8px 8px 8px}}
@media print{body.v8-sheet-open *{visibility:hidden}body.v8-sheet-open #element-sheet,body.v8-sheet-open #element-sheet *{visibility:visible}body.v8-sheet-open #element-sheet{position:absolute;inset:0;border:0;background:#fff}body.v8-sheet-open #element-sheet header{display:none}}
#sheet-svg .sheet-paper{fill:#fff}#sheet-svg .sheet-frame{fill:none;stroke:#c8c8c8;stroke-width:.8}#sheet-svg .sheet-view-title{font:600 12px Inter,Segoe UI,sans-serif;fill:#222}#sheet-svg .sheet-edge{stroke:#000;stroke-width:.9;vector-effect:non-scaling-stroke}#sheet-svg .sheet-hidden{stroke:#888;stroke-width:.5;vector-effect:non-scaling-stroke;stroke-dasharray:4 3}#sheet-svg .sheet-cut{stroke:#000;stroke-width:1.6;vector-effect:non-scaling-stroke}#sheet-svg .sheet-dim{stroke:#000;fill:#000;font:400 11px Inter,Segoe UI,sans-serif}#sheet-svg .sheet-dim line{stroke-width:.55;vector-effect:non-scaling-stroke}#sheet-svg .sheet-dim text{stroke:none;paint-order:stroke}#sheet-svg .sheet-ext{stroke:#666}#sheet-svg .sheet-level{font:10px Inter,Segoe UI,sans-serif;fill:#333}#sheet-svg .sheet-title rect{fill:none;stroke:#000;stroke-width:1}#sheet-svg .sheet-title-key{font:600 9px Inter,Segoe UI,sans-serif;fill:#666;letter-spacing:.08em;text-transform:uppercase}#sheet-svg .sheet-title-value{font:12px Inter,Segoe UI,sans-serif;fill:#000}
#sheet-svg .sheet-handle.small{stroke-width:1;fill:#fff}#sheet-svg .sheet-handle.small:hover,#sheet-svg .sheet-handle.small:focus{r:6;stroke-width:2}
.header-right .davinci-chat-open{color:#f1d48d;letter-spacing:.08em;font-weight:600}
/* DAVINCI chat bar in V7's style (Eddy 2026-11-07): one slim glass pill at the bottom, the whole pill is the chat line;
   small round icons at its end; V7's wave microphone; the conversation opens above it. */
.davinci-dock{position:fixed;left:50%;bottom:44px;transform:translateX(-50%);width:min(560px,calc(100vw - 32px));z-index:16;display:flex;flex-direction:column;gap:10px;color:#fff;pointer-events:none}
.davinci-dock>*{pointer-events:auto}
.davinci-dock #agent-chat{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;background:none;max-height:none}
.davinci-dock #agent-chat>.section-label,.davinci-dock #agent-title{display:none}
.davinci-dock:not(.open) #agent-chat>*:not(#agent-form):not(#agent-commit-all){display:none}
.davinci-dock.open #agent-chat>*:not(#agent-form):not(#agent-commit-all){padding:0 14px}
.davinci-dock.open #agent-chat{padding:12px 0 0;border:1px solid var(--v7-edge);border-radius:22px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow)}
.davinci-dock.open #agent-messages{max-height:min(40vh,380px);overflow:auto;margin:0}
.davinci-dock #agent-status,.davinci-dock #agent-budget{font-size:11px;color:#ffffffb3;margin:0}
/* the pill */
.davinci-dock #agent-form{display:flex;align-items:center;gap:2px;flex-wrap:wrap;margin:0;min-height:44px;padding:3px 6px 3px 20px;border:1px solid var(--v7-edge);border-radius:999px;
background:linear-gradient(135deg,rgba(255,255,255,.06),transparent 60%),var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow)}
.davinci-dock.open #agent-form{margin:0 6px 6px;box-shadow:none}
.davinci-dock #agent-input{flex:1 1 140px;min-width:0;height:36px;min-height:0;max-height:36px;resize:none;overflow:hidden;margin:0;padding:9px 4px;border:0;border-radius:0;background:transparent;color:#fff;font:400 14px/18px Inter,Segoe UI,sans-serif;outline:0}
.davinci-dock #agent-input::placeholder{color:rgba(255,255,255,.55)}
.davinci-dock #agent-form .proposal-actions{display:flex;align-items:center;gap:0;margin:0;flex:none}
.davinci-dock #agent-new,.davinci-dock #agent-attach{display:none}
.davinci-dock.open #agent-attach{display:flex;flex-basis:100%;order:9;padding:2px 0 4px}
/* round icon buttons (V7 .gbtn) */
.dv-gbtn,.davinci-dock .dock-tool,.davinci-dock #agent-send,.davinci-dock .agent-mic{width:34px;height:34px;min-width:0;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:none;color:rgba(255,255,255,.75);font-size:0;line-height:0;cursor:pointer}
:is(.dv-gbtn,.davinci-dock .dock-tool,.davinci-dock #agent-send,.davinci-dock .agent-mic):hover{color:#fff;background:rgba(255,255,255,.14)}
:is(.dv-gbtn,.davinci-dock .dock-tool,.davinci-dock #agent-send):disabled{opacity:.25;pointer-events:none}
.dv-gbtn.on{color:#fff}
.dv-gbtn svg,.davinci-dock .dock-tool svg,.davinci-dock #agent-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.davinci-dock #agent-send:not(.has-text){display:none}
/* V7 wave microphone */
.davinci-dock .agent-mic{border:0;animation:none!important;box-shadow:none!important}
.agent-mic .wave{display:flex;align-items:center;gap:2.5px;height:18px}
.agent-mic .wave i{width:2.5px;border-radius:2px;background:currentColor;height:6px;animation:micwv 2.4s ease-in-out infinite}
.agent-mic .wave i:nth-child(2){animation-delay:-.3s}.agent-mic .wave i:nth-child(3){animation-delay:-.6s}.agent-mic .wave i:nth-child(4){animation-delay:-.9s}.agent-mic .wave i:nth-child(5){animation-delay:-1.2s}
.agent-mic.listening{color:#8fe3c8;background:rgba(143,227,200,.12)}
.agent-mic.listening .wave i{animation-duration:.5s}
@keyframes micwv{0%,100%{height:5px;opacity:.7}50%{height:13px;opacity:1}}
@media(prefers-reduced-motion:reduce){.agent-mic .wave i{animation:none}}
.davinci-dock-fold{display:none}
.model-toolbar.replaced-by-chat{display:none}
body:has(.davinci-dock) .canvas-hint,.axis-label{display:none}
.davinci-bubble{bottom:104px}
@media(max-width:800px){.davinci-dock{bottom:36px;width:calc(100vw - 24px)}.davinci-dock #agent-form{padding-left:14px}.davinci-bubble{bottom:96px}
.davinci-dock :is(.dock-tool,#dock-chat){display:none}}
/* Revit-style 2D sketch editing (sketch-edit.js) */
.sketch-bar{position:fixed;top:78px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:6px 6px 6px 18px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:19;color:#fff;font:400 12px Inter,Segoe UI,sans-serif}
.sketch-bar[hidden]{display:none}
.sketch-bar b{font-weight:600;white-space:nowrap}
.sketch-bar #sketch-hint{color:#ffffffb3;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sketch-bar button{margin:0;padding:8px 14px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:500 12px Inter,Segoe UI,sans-serif;white-space:nowrap;cursor:pointer}
.sketch-bar button:disabled{opacity:.35}
.sketch-bar .sketch-finish{background:#2f9e5b}
.sketch-bar .sketch-cancel{background:#c94a3d}
body.v8-sketching .v7-edit-bar{display:none}
.sketch-dim-input{position:fixed;z-index:30;width:88px;height:30px;padding:0 8px;border:2px solid rgb(0,59,189);border-radius:6px;background:#fff;color:rgb(0,59,189);font:600 13px Inter,Segoe UI,sans-serif;text-align:center}
@media(max-width:800px){.sketch-bar{top:70px;left:12px;right:12px;transform:none;flex-wrap:wrap;border-radius:18px}.sketch-bar #sketch-hint{display:none}}
.autocenter-2d{display:none;align-items:center;gap:6px;padding:0 10px;color:#ffffffd9;font:400 12px Inter,Segoe UI,sans-serif;white-space:nowrap;cursor:pointer}
body.v8-plan2d .autocenter-2d{display:inline-flex}
.autocenter-2d input{accent-color:rgb(0,59,189);width:15px;height:15px;margin:0}
/* Voice mode: a small ring around the microphone while DAVINCI listens, in the intro ring's colours (red, violet, blue) */
.davinci-dock .agent-mic{position:relative;overflow:visible}
.davinci-dock .agent-mic.listening{background:none;color:#fff}
.davinci-dock .agent-mic.listening::before,.davinci-dock .agent-mic.listening::after{content:'';position:absolute;inset:-5px;border-radius:50%;pointer-events:none;
background:conic-gradient(from 0deg,#ff5a5f,#ff8a6b,#c86bff,#5b8cff,#3fa9ff,#c86bff,#ff5a5f);
-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));
animation:dv-ring 2.6s linear infinite}
.davinci-dock .agent-mic.listening::after{inset:-8px;filter:blur(5px);opacity:.75;animation:dv-ring 2.6s linear infinite,dv-breathe 1.6s ease-in-out infinite}
@keyframes dv-ring{to{transform:rotate(360deg)}}
@keyframes dv-breathe{50%{opacity:.35;transform:rotate(180deg) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.davinci-dock .agent-mic.listening::before,.davinci-dock .agent-mic.listening::after{animation:none}}
/* the ring stays visible but very faded while not listening (Eddy) */
.davinci-dock .agent-mic:not(.listening)::before{content:'';position:absolute;inset:-5px;border-radius:50%;pointer-events:none;opacity:.18;
background:conic-gradient(from 0deg,#ff5a5f,#ff8a6b,#c86bff,#5b8cff,#3fa9ff,#c86bff,#ff5a5f);
-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));
animation:dv-ring 9s linear infinite}
@media(prefers-reduced-motion:reduce){.davinci-dock .agent-mic:not(.listening)::before{animation:none}}
/* listening: calmer (slower, smaller); while words are heard or DAVINCI speaks: faster (Eddy) */
.davinci-dock .agent-mic.listening::before{inset:-3px;animation-duration:6s}
.davinci-dock .agent-mic.listening::after{inset:-5px;filter:blur(3px);opacity:.5;animation-duration:6s,2.4s}
.davinci-dock .agent-mic:is(.hearing,.speaking)::before{inset:-4px;opacity:1;animation:dv-ring 1.4s linear infinite}
.davinci-dock .agent-mic:is(.hearing,.speaking)::after{content:'';position:absolute;inset:-7px;border-radius:50%;pointer-events:none;background:conic-gradient(from 0deg,#ff5a5f,#ff8a6b,#c86bff,#5b8cff,#3fa9ff,#c86bff,#ff5a5f);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));filter:blur(4px);opacity:.7;animation:dv-ring 1.4s linear infinite,dv-breathe .9s ease-in-out infinite}
.sketch-bar .sketch-views{display:inline-flex;gap:0;padding:2px;border-radius:999px;background:#0000002e}
.sketch-bar .sketch-views button{padding:6px 12px;background:none}
.sketch-bar .sketch-views button[aria-pressed=true]{background:#ffffff33}
.model-gl{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:0}
.model-gl[hidden]{display:none}
#model-canvas{position:relative;z-index:1}
body.v8-plan2d .model-gl{display:none}

/* View bar under the cube (view-bar.js): a vertical column of dots; the name shows beside a dot on hover */
.v8-view-bar{position:fixed;top:166px;right:47px;z-index:7;display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);font:400 12px Inter,Segoe UI,sans-serif;color:#fff}
.v8-view-bar>button{position:relative;flex:none;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:50%;background:#ffffff14;color:#fff;font:600 10px Inter,Segoe UI,sans-serif;cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s,transform .2s}
.v8-view-bar>button:hover{background:#ffffff33;transform:scale(1.1)}
.v8-view-bar>button[aria-pressed=true]{background:#fff;color:#1d1d1f}
.v8-view-bar>button.vb-dim{opacity:.35}
.v8-view-bar>button::before{content:attr(data-name);position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);white-space:nowrap;padding:4px 9px;border-radius:999px;background:var(--v7-pane);border:1px solid var(--v7-edge);backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);color:#fff;font:400 11px Inter,Segoe UI,sans-serif;opacity:0;pointer-events:none;transition:opacity .15s}
.v8-view-bar>button:hover::before{opacity:1}
.v8-view-bar .vb-sep{flex:none;width:14px;height:1px;background:#ffffff40;margin:2px 0}
.v8-view-bar .vb-cut{position:absolute;right:calc(100% + 8px);bottom:0;display:flex;align-items:center;gap:6px;padding:5px 6px 5px 12px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);white-space:nowrap}
.v8-view-bar .vb-cut[hidden]{display:none}
.v8-view-bar .vb-cut button{padding:6px 10px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:inherit;cursor:pointer}
.v8-view-bar input[type=range]{width:110px;accent-color:rgb(0,59,189)}
.v8-view-bar output{min-width:84px;font-variant-numeric:tabular-nums;color:#ffffffd0}
body.v7-properties-open .v8-view-bar{right:calc(var(--pw,412px) + 29px)}
body:where(:not(.v8-revit)).v8-plan2d .v8-view-bar{top:132px;right:18px}
/* XYZ reference and world location dots (site-dots.js) */
.v8-site-dots{position:fixed;top:96px;right:108px;z-index:7;display:flex;flex-direction:column;gap:8px}
body.v7-properties-open .v8-site-dots{right:calc(var(--pw,412px) + 90px)}
body.v8-plan2d .v8-site-dots{top:132px;right:auto;left:18px;flex-direction:row}
.v8-dot{width:26px;height:26px;padding:0;border-radius:50%;border:1px solid var(--v7-edge);background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);display:grid;place-items:center;cursor:pointer;touch-action:none;transition:transform .2s}
.v8-dot:hover{transform:scale(1.15)}
.v8-dot-xyz span{font:600 8px Inter,Segoe UI,sans-serif;color:#fff;letter-spacing:.02em}
.v8-dot-xyz{cursor:grab}
.v8-dot-xyz.set{background:rgb(0,59,189);border-color:#ffffffa0}
.v8-dot-geo span{width:9px;height:9px;border-radius:50%;background:#ffffff80;box-shadow:0 0 0 3px #ffffff26}
.v8-dot-geo.set span{background:#f2b8c6;box-shadow:0 0 0 3px #f2b8c655}
body.v8-placing-xyz,body.v8-placing-xyz *{cursor:crosshair!important}
.v8-site-pop{position:fixed;z-index:30;width:min(340px,calc(100vw - 16px));padding:12px 14px;border:1px solid var(--v7-edge);border-radius:18px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);color:#fff;font:400 12px Inter,Segoe UI,sans-serif}
.v8-site-pop[hidden]{display:none}
.v8-site-pop .hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.v8-site-pop .hd strong{font-weight:600;font-size:13px}
.v8-site-pop .x{border:0;background:transparent;color:#fff;font-size:18px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:999px}
.v8-site-pop p{margin:6px 0;color:#ffffffd0}
.v8-site-pop .row3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}
.v8-site-pop label{display:flex;flex-direction:column;gap:3px;color:#ffffffc0}
.v8-site-pop input{min-width:0;padding:7px 9px;border:1px solid #ffffff40;border-radius:10px;background:#00000026;color:#fff;font:inherit}
.v8-site-pop .find{display:flex;gap:6px}
.v8-site-pop .find input{flex:1}
.v8-site-pop button{padding:7px 12px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:inherit;cursor:pointer}
.v8-site-pop button.primary{background:#fff;color:#1d1d1f}
.v8-site-pop button:disabled{opacity:.4;cursor:default}
.v8-site-pop .ft{display:flex;justify-content:space-between;gap:8px;margin-top:10px}
.v8-site-pop .results{list-style:none;margin:8px 0 0;padding:0;max-height:180px;overflow:auto}
.v8-site-pop .results button{display:block;width:100%;text-align:left;border-radius:10px;margin-bottom:3px;background:#ffffff14}
.v8-site-pop .where span{font-variant-numeric:tabular-nums;color:#ffffffa0}
.v8-site-pop .north{flex-direction:row;align-items:center;gap:6px}
.v8-site-pop .north input{width:70px}
.v8-site-pop .links{display:flex;gap:14px}
.v8-site-pop .links a{color:#f2b8c6;text-decoration:none}
.v8-site-pop .muted{color:#ffffff90}
@media(max-width:800px){.v8-view-bar{top:136px;right:22px}.v8-site-dots{top:82px;right:92px}body:where(:not(.v8-revit)).v7-properties-open .v8-view-bar,body:where(:not(.v8-revit)).v7-properties-open .v8-site-dots{display:none}}

/* DAVINCI chat history (Eddy 2026-11-07 "why box showing like this"): DAVINCI's words are plain white text, no card behind them;
   the person's own words sit in a faint glass pill on the right; the brief is a quiet line, not an outlined box. */
.davinci-dock .agent-msg.assistant,.davinci-dock .agent-msg.davinci-note{background:none!important;color:#fff!important;border:0!important;box-shadow:none!important;padding:3px 2px!important;border-radius:0!important;max-width:100%;font-size:14px;line-height:1.45;text-shadow:0 1px 6px #0006}
.davinci-dock .agent-msg.user{background:#ffffff1f!important;color:#fff!important;border:1px solid #ffffff26!important;box-shadow:none!important;margin-left:auto}
.davinci-dock .agent-plan{border:0!important;border-top:1px solid #ffffff26!important;border-bottom:1px solid #ffffff26!important;border-radius:0!important;padding:6px 2px!important;color:#ffffffc0}
.davinci-dock .agent-messages{gap:6px}

/* Declutter (Eddy 2026-11-07 "tools overcrowded"): in edit mode the cube and its dots sit below the edit bar; with the properties
   panel open, the edit bar and the chat are centred in the space left of the panel and the edit bar drops its title (the panel
   names the element). */
body:has(#edit-bar:not([hidden])) #view-cube{top:136px}
body:has(#edit-bar:not([hidden])) .v8-view-bar{top:226px}
body:has(#edit-bar:not([hidden])) .v8-site-dots{top:156px}
body.v7-properties-open .v7-edit-bar{left:calc((100vw - var(--pw,412px)) / 2)}
body.v7-properties-open .v7-edit-bar #edit-title{display:none}
body.v7-properties-open .davinci-dock{left:calc((100vw - var(--pw,412px)) / 2);width:min(560px,calc(100vw - calc(var(--pw,412px) + 32px)))}
@media(max-width:800px){body:has(#edit-bar:not([hidden])) #view-cube{top:130px}body:has(#edit-bar:not([hidden])) .v8-view-bar{top:196px}body:has(#edit-bar:not([hidden])) .v8-site-dots{top:142px}body:where(:not(.v8-revit)).v7-properties-open .v7-edit-bar,body:where(:not(.v8-revit)).v7-properties-open .davinci-dock{left:12px}body:where(:not(.v8-revit)).v7-properties-open .davinci-dock{width:calc(100vw - 24px)}}
/* F00 0.4: ribbon and command line of edit mode */
.v8-ribbon{position:fixed;left:12px;top:150px;z-index:7;display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--v7-edge);border-radius:18px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow)}
.v8-ribbon[hidden]{display:none}
.v8-ribbon .ribbon-group{display:flex;flex-direction:column;gap:4px;padding-bottom:6px;border-bottom:1px solid #ffffff26}
.v8-ribbon .ribbon-group:last-child{padding-bottom:0;border-bottom:0}
.v8-ribbon button{display:flex;align-items:center;gap:8px;margin:0;padding:6px 10px 6px 6px;border:0;border-radius:12px;background:none;color:#fff;font:400 12px Inter,Segoe UI,sans-serif;cursor:pointer;text-align:left}
.v8-ribbon button:hover,.v8-ribbon button:focus-visible{background:#ffffff26;outline:none}
.v8-ribbon .k{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:9px;background:#ffffff1f;font:600 11px ui-monospace,Consolas,monospace}
.v8-cmd{position:fixed;left:50%;bottom:82px;transform:translateX(-50%);z-index:7;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:min(380px,calc(100vw - 32px))}
.v8-cmd[hidden]{display:none}
.v8-cmd input{width:100%;box-sizing:border-box;padding:8px 14px;border:1px solid var(--v7-edge);border-radius:999px;background:var(--v7-pane);backdrop-filter:blur(30px);color:#fff;font:600 13px ui-monospace,Consolas,monospace}
.v8-cmd .cmd-out{padding:6px 14px;border-radius:14px;background:rgba(22,26,30,.88);color:#fff;font:400 12px Inter,Segoe UI,sans-serif}
.v8-cmd .cmd-out[hidden]{display:none}
.v8-cmd .cmd-out.error{color:#ffb4a8}
@media(max-width:800px){.v8-ribbon{left:8px;top:130px;padding:6px}.v8-ribbon .t{display:none}.v8-ribbon button{padding:4px}}

/* The command line follows the chat when the properties panel is open (both centred left of the panel). */
body.v7-properties-open .v8-cmd{left:calc((100vw - var(--pw,412px)) / 2)}
@media(max-width:800px){body.v7-properties-open .v8-cmd{left:50%}}

/* The chat is the conversation only (Eddy 2026-11-07 "why do I need this ... I need it slim"): one slim bar, no second row
   (the upload icon attaches; plan or photo is guessed from the file); the AI settings, status, brief and spend open from the
   ⋯ button in the bar; errors and results are said by DAVINCI in the chat. */
.davinci-dock #agent-attach{display:none!important}
.davinci-dock:not(.settings) #agent-status,.davinci-dock:not(.settings) #agent-ai,.davinci-dock:not(.settings) #agent-plan,.davinci-dock:not(.settings) #agent-budget{display:none!important}
.davinci-dock #agent-status.error{color:#ffb4a8}
#dock-more.on{background:#ffffff33}

/* Direct editing, compact by default (v7-shell.js adds the expand button): name, editable sizes, Apply. The panel is as tall as
   its content. Expanded shows everything. While sketching, the sketch bar stays left of the panel. */
.inspector:not(.expanded) .properties>.section-label,.inspector:not(.expanded) #selected-meta,.inspector:not(.expanded) .quantity,
.inspector:not(.expanded) #delete-element,.inspector:not(.expanded) .properties>.fine,.inspector:not(.expanded) .agent-panel,
.inspector:not(.expanded) .inspector-footer{display:none!important}
.inspector:not(.expanded){bottom:auto;max-height:calc(100vh - 200px)}
.v7-drawer-expand{position:absolute;top:14px;right:58px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font:600 16px/1 Inter,Segoe UI,sans-serif;cursor:pointer;z-index:2}
.v7-drawer-expand:hover{background:#ffffff33}
.inspector:not(.expanded) #selected-title{margin-right:84px}
body:where(:not(.v8-revit)).v7-properties-open .sketch-bar{left:16px;right:var(--pw,412px);transform:none;max-width:none;justify-content:flex-end}
@media(max-width:800px){body:where(:not(.v8-revit)).v7-properties-open .sketch-bar{left:12px;right:12px}}

/* Chat words thinner (Eddy 2026-11-07 "don't use bold, make it thinner"): the system's light face, a softer shadow. */
.davinci-dock .agent-msg,.davinci-dock .agent-msg *{font-family:system-ui,-apple-system,"Segoe UI",Inter,sans-serif!important;font-weight:300!important}
.davinci-dock .agent-msg.assistant,.davinci-dock .agent-msg.davinci-note{font-size:13.5px!important;line-height:1.55!important;letter-spacing:.005em;text-shadow:0 1px 3px #0005!important}
.davinci-dock #agent-input{font-weight:300}

/* The command line is the DAVINCI chat now (edit-commands.js): the separate box stays hidden. */
.v8-cmd{display:none!important}

/* The conversation's close button (v7-shell.js) */
.davinci-dock #agent-chat{position:relative}
.davinci-dock .dock-close{position:absolute;top:8px;right:10px;width:28px;height:28px;display:grid;place-items:center;padding:0!important;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font:300 18px/1 system-ui,-apple-system,sans-serif;cursor:pointer;z-index:3}
.davinci-dock .dock-close:hover{background:#ffffff38}
.davinci-dock:not(.open) .dock-close{display:none!important}
.davinci-dock.open #agent-messages{padding-right:46px}

/* Clear of the cube at its full size (it grows under the pointer from 62% to 100% of 112 px): the view column starts below the
   cube's full height and sits under its middle; the xyz and location dots sit left of its full width. */
.v8-view-bar{top:198px;right:55px}
.v8-site-dots{top:84px;right:140px}
body.v7-properties-open .v8-view-bar{right:calc(var(--pw,412px) + 37px)}
body.v7-properties-open .v8-site-dots{right:calc(var(--pw,412px) + 122px)}
body:has(#edit-bar:not([hidden])) .v8-view-bar{top:258px}
body:has(#edit-bar:not([hidden])) .v8-site-dots{top:144px}
body:where(:not(.v8-revit)).v8-plan2d .v8-view-bar{top:132px;right:18px}
body.v8-plan2d .v8-site-dots{top:132px;right:auto;left:18px}
.v8-view-bar>button svg{display:block}
@media(max-width:800px){.v8-view-bar{top:176px;right:37px}.v8-site-dots{top:76px;right:112px}body:has(#edit-bar:not([hidden])) .v8-view-bar{top:236px}body:has(#edit-bar:not([hidden])) .v8-site-dots{top:136px}}

/* 2D plan: the cube is hidden; the xyz/location dots sit in a row at the top right and the view column under them, clear of the
   Dell's ribbon on the left. */
body.v8-plan2d .v8-site-dots{top:132px;right:18px;left:auto;flex-direction:row}
body:where(:not(.v8-revit)).v8-plan2d .v8-view-bar{top:172px;right:18px}
body.v7-properties-open.v8-plan2d .v8-site-dots,body.v7-properties-open.v8-plan2d .v8-view-bar{right:var(--pw,412px)}

.davinci-dock #agent-chat:not(:has(.agent-msg)) .dock-close{display:none!important}

/* The conversation shows only words (Eddy 2026-11-07 "I don't want to see this when I click on chat"): DAVINCI's internal steps
   (reading the model, a rejected try it then fixed) and the "DAVINCI saw your changes" sync line stay out of sight. Proposals that
   wait for approval, committed changes and pictures still show. */
.davinci-dock .agent-tool.read,.davinci-dock .agent-tool.recorded:not(.agent-render),.davinci-dock .agent-tool.rejected,.davinci-dock .agent-note{display:none!important}
/* What still shows is quiet glass, not a white card. */
.davinci-dock .agent-tool{background:#ffffff14!important;color:#fff!important;border:1px solid #ffffff26!important;box-shadow:none!important}
.davinci-dock .agent-tool strong{color:#ffffffb0!important;font-weight:400!important;font-size:11px;letter-spacing:.04em}
.davinci-dock .agent-tool p{color:#fff!important;font-weight:300}

/* Live view vs history (v7-shell.js marks everything before your last question as .past). */
.davinci-dock:not(.history) #agent-messages>.past{display:none!important}
.davinci-dock.history #agent-messages{max-height:min(52vh,460px);overflow-y:auto;gap:2px!important}
.davinci-dock.history .agent-msg{font-size:12px!important;line-height:1.45!important;padding:2px 2px!important;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.davinci-dock.history .agent-msg.full{display:block;-webkit-line-clamp:unset}
.davinci-dock.history .agent-msg.assistant{color:#ffffffc8!important;padding-left:14px!important}
.davinci-dock.history .agent-msg.user{margin:10px 0 0!important;padding:0 2px!important;background:none!important;border:0!important;color:#fff!important;font-weight:400!important}
.davinci-dock.history .agent-msg.user:first-child{margin-top:0!important}
.davinci-dock.history .agent-msg.user::before{content:"You · ";color:#f2b8c6}
.davinci-dock.history .agent-msg.turn-start{border-top:1px solid #ffffff1f!important;padding-top:8px!important}
.davinci-dock.history .agent-msg.turn-start:first-child{border-top:0!important;padding-top:0!important}
.davinci-dock.history .agent-tool{font-size:11px;padding:4px 8px!important;margin-left:14px}
#dock-chat.on{background:#ffffff33}

/* Leaving a project: the menu's last item, and the DAVINCI logo (workspace.js closeProject) */
.v7-pm-leave{color:#ffffffb0!important;border-top:1px solid #ffffff26!important}
#workspace header .brand{cursor:pointer}

/* Slim top bar (v7-shell.js builds the ⋯ menu) */
#workspace .header-right #v7-activity-toggle,#workspace .header-right #catalog-toggle,#workspace .header-right #runtime-toggle,
#workspace .header-right #sign-out,#workspace .header-right .local-dot,#workspace .header-right #host-label{display:none!important}
.header-more{position:relative}
#header-more{font-size:18px;line-height:1;letter-spacing:.05em}
.header-more-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:220px;display:flex;flex-direction:column;gap:2px;padding:6px;border:1px solid var(--v7-edge);border-radius:16px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);z-index:40}
.header-more-menu[hidden]{display:none}
.header-more-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 12px;border:0;border-radius:10px;background:none;color:#fff;font:400 13px Inter,Segoe UI,sans-serif;text-align:left;cursor:pointer}
.header-more-menu button:hover{background:#ffffff1f}
.header-more-menu small{color:#ffffff90;font-size:11px}

#workspace>header{z-index:30!important}
.header-more-menu{background:rgba(58,64,59,.92)}

/* Click-and-hold element menu (element-menu.js) */
.v8-elmenu{position:fixed;z-index:45;width:300px;max-height:calc(100vh - 16px);overflow:auto;padding:6px;border:1px solid var(--v7-edge);border-radius:16px;background:rgba(52,57,53,.94);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:var(--v7-shadow);color:#fff;font:400 13px Inter,Segoe UI,sans-serif}
.v8-elmenu[hidden]{display:none}
.v8-elmenu-head{display:flex;align-items:baseline;justify-content:space-between;padding:6px 10px 4px;font-weight:500}
.v8-elmenu-head small{color:#ffffff80;font-weight:400;font-size:11px}
.v8-elmenu-group{padding:8px 10px 2px;color:#ffffff70;font-size:10px;letter-spacing:.08em;text-transform:uppercase;border-top:1px solid #ffffff1a;margin-top:4px}
.v8-elmenu button{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 10px;border:0;border-radius:10px;background:none;color:#fff;font:300 13px system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left;cursor:pointer}
.v8-elmenu button:hover,.v8-elmenu button:focus-visible{background:#ffffff1f;outline:none}
.v8-elmenu button small{color:#ffffff80;font-size:11px;white-space:nowrap}
.v8-elmenu button.danger span{color:#ffb4a8}
.v8-hold-ring{position:fixed;z-index:44;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;pointer-events:none;background:conic-gradient(rgba(0,59,189,.85) calc(var(--p,0) * 1%),transparent 0);-webkit-mask:radial-gradient(circle,transparent 15px,#000 16px);mask:radial-gradient(circle,transparent 15px,#000 16px)}
.v8-hold-ring[hidden]{display:none}
@property --p{syntax:'<number>';inherits:false;initial-value:0}
.v8-hold-ring.go{animation:v8-hold calc(var(--ms,1000ms) - 180ms) linear forwards}
@keyframes v8-hold{from{--p:0}to{--p:100}}

/* Removed from the top bar (Eddy): DAVINCI (the chat is the bottom bar) and Properties (it opens when you edit an element). */
#workspace .header-right #davinci-chat-open,#workspace .header-right #v7-properties-toggle{display:none!important}

/* View column centred under the cube as it rests (scaled .62 about 70% 30%, so its visual centre sits right of its box's centre). */
.v8-view-bar{right:46px}
body.v7-properties-open .v8-view-bar{right:calc(var(--pw,412px) + 28px)}
@media(max-width:800px){.v8-view-bar{right:29px}}

/* One column under the cube (Eddy "align"): the xyz and location dots, then the view dots, all on the cube's centre line and
   clear of the cube at its full size. */
.v8-site-dots{top:196px;right:53px;flex-direction:column;gap:6px}
.v8-view-bar{top:262px}
body:has(#edit-bar:not([hidden])) .v8-site-dots{top:256px}
body:has(#edit-bar:not([hidden])) .v8-view-bar{top:322px}
body.v7-properties-open .v8-site-dots{right:calc(var(--pw,412px) + 35px)}
@media(max-width:800px){.v8-site-dots{top:174px;right:36px}.v8-view-bar{top:240px}body:has(#edit-bar:not([hidden])) .v8-site-dots{top:234px}body:has(#edit-bar:not([hidden])) .v8-view-bar{top:300px}}

/* Compact direct editing (Eddy "minimize"): narrower and tighter; what stands beside it follows its width through --pw. */
body{--pw:412px}
body.v8-props-compact{--pw:322px}
.inspector:not(.expanded){width:290px;padding:12px 14px 14px!important}
.inspector:not(.expanded) .properties{padding:0!important}
.inspector:not(.expanded) #selected-title{font-size:15px;margin:4px 70px 14px 0}
.inspector:not(.expanded) .field-grid{gap:8px!important}
.inspector:not(.expanded) .field-grid label{font-size:11px}
.inspector:not(.expanded) .field-grid input{height:32px;padding:4px 10px;font-size:13px}
.inspector:not(.expanded) #save-properties{margin-top:10px;height:34px;padding:0 12px;font-size:12px}
.inspector:not(.expanded) .v7-drawer-close,.inspector:not(.expanded) .v7-drawer-expand{top:10px;width:28px;height:28px;font-size:13px}
.inspector:not(.expanded) .v7-drawer-close{right:10px}
.inspector:not(.expanded) .v7-drawer-expand{right:44px}

/* The size box that opens on a clicked dimension (workspace.js) */
.v8-dim-input{position:fixed;z-index:46;transform:translate(-50%,-50%);width:86px;height:28px;padding:0 8px;border:1px solid var(--v7-edge);border-radius:10px;background:var(--v7-pane);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);color:#fff;font:400 13px Inter,Segoe UI,sans-serif;text-align:center;outline:none;box-shadow:var(--v7-shadow)}
.v8-dim-input::-webkit-inner-spin-button{display:none}

/* Start screen: the same slim DAVINCI chat bar (welcome-chat.js); the old launch line steps aside */
body.v8-home-dock #launch-line{display:none!important}
body.v8-home-dock .davinci-dock{z-index:20}

/* One integrated chat box (Eddy 2026-11-07): the slim bar on top, DAVINCI's words under it. While talking: only the latest answer,
   three lines, the third half faded; a click on them (or the speech-bubble) opens the older messages under the bar, scrollable,
   newest at the bottom. The box grows upward from the bar's place. */
.davinci-dock.open #agent-chat>#agent-form{order:-1}
.davinci-dock.open #agent-chat>#agent-messages{order:1}
.davinci-dock.open #agent-chat>:is(#agent-status,#agent-ai,#agent-plan,#agent-budget){order:2}
.davinci-dock.open #agent-chat{padding:6px 0 10px!important}
.davinci-dock:not(.history) #agent-messages>.user{display:none!important}
.davinci-dock.open:not(.history) #agent-messages{display:block!important;max-height:calc(3 * 1.55 * 13.5px)!important;overflow:hidden!important;padding:8px 18px 0!important;cursor:pointer;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 66%,rgba(0,0,0,.45) 100%);mask-image:linear-gradient(to bottom,#000 0,#000 66%,rgba(0,0,0,.45) 100%)}
.davinci-dock.open:not(.history) #agent-messages>.agent-msg{margin:0!important;padding:0!important}
.davinci-dock.history #agent-messages{padding:8px 46px 0 18px!important}
.davinci-dock:not(.history) .dock-close{display:none!important}
.davinci-dock.history .dock-close{position:absolute;top:66px!important;bottom:auto!important;right:12px}

/* No box around the chat (Eddy): only the slim bar, and DAVINCI's words under it as plain text (no fill, edge, blur or shadow). */
.davinci-dock.open #agent-chat{border:0!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}

/* Start screen: the chat sits above the small footer line, not on it */
body.v8-home-dock .davinci-dock{bottom:64px}

/* The microphone's ring stays inside the bar's lines (Eddy): drawn within the button, which keeps a little room from the bar's end. */
.davinci-dock .agent-mic{margin-right:4px}
.davinci-dock .agent-mic:not(.listening)::before{inset:1px}
.davinci-dock .agent-mic.listening::before{inset:2px}
.davinci-dock .agent-mic.listening::after{inset:1px;filter:blur(2px)}
.davinci-dock .agent-mic:is(.hearing,.speaking)::before{inset:1px}
.davinci-dock .agent-mic:is(.hearing,.speaking)::after{inset:0;filter:blur(2px)}

/* Glass behind DAVINCI's words only (Eddy): a blur of what is behind, no edge lines, no box shape (its edges fade out). */
.davinci-dock.open #agent-messages{backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);background:rgba(255,255,255,.05)!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin-top:4px}
.davinci-dock.open:not(.history) #agent-messages{padding:10px 22px 8px!important;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 18%,#000 66%,rgba(0,0,0,.45) 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 18%,#000 66%,rgba(0,0,0,.45) 100%);mask-composite:intersect;max-height:calc(3 * 1.55 * 13.5px + 18px)!important}
.davinci-dock.history #agent-messages{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 4%,#000 96%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 4%,#000 96%,transparent 100%);mask-composite:intersect}

/* The microphone ring is DAVINCI's particle ring (mic-ring.js); the old drawn rings step aside */
.davinci-dock .agent-mic::before,.davinci-dock .agent-mic::after{display:none!important}
.davinci-dock .agent-mic .mic-ring{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* Text under the bar (Eddy): the glass starts at the bar, no side or top fade, only the third line half faded; the wheel scrolls it. */
.davinci-dock.open #agent-chat{gap:0!important}
.davinci-dock.open #agent-messages{margin-top:0!important}
.davinci-dock.open:not(.history) #agent-messages{overflow-y:auto!important;scrollbar-width:none;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 66%,rgba(0,0,0,.45) 100%)!important;mask-image:linear-gradient(to bottom,#000 0,#000 66%,rgba(0,0,0,.45) 100%)!important;-webkit-mask-composite:source-over!important;mask-composite:add!important}
.davinci-dock.open:not(.history) #agent-messages::-webkit-scrollbar{display:none}
.davinci-dock.history #agent-messages{-webkit-mask-image:none!important;mask-image:none!important}

/* Scrolling up in the three-line view reaches the older messages (they are no longer cut off there). */
.davinci-dock.open:not(.history) #agent-messages>.past{display:block!important}
.davinci-dock.open:not(.history) #agent-messages>.user{display:block!important;background:none!important;border:0!important;padding:0!important;margin:6px 0 0!important;color:#ffffffb0!important;text-align:right}

/* the ring opens a little beyond the button, still inside the bar's lines (bar 44 px, ring 42 px) */
.davinci-dock .agent-mic .mic-ring{inset:-4px!important;width:calc(100% + 8px)!important;height:calc(100% + 8px)!important}

/* the glass under the bar has the bar's own curve (Eddy: "use same curved style") */
.davinci-dock.open #agent-messages{border-radius:22px!important}

/* the microphone's bars: thinner, fading in and out as they move (Eddy) */
.davinci-dock .agent-mic .wave{gap:3px}
.davinci-dock .agent-mic .wave i{width:1.5px!important;animation-name:micwv,micfade!important;animation-duration:2.4s,2.4s;animation-timing-function:ease-in-out,ease-in-out;animation-iteration-count:infinite,infinite}
.davinci-dock .agent-mic.listening .wave i{animation-duration:.5s,1.2s}
@keyframes micfade{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.davinci-dock .agent-mic .wave i{animation:none!important;opacity:.8}}

/* Removed from the chat bar (Eddy): the settings dots, Undo and Fit */
.davinci-dock #dock-more,.davinci-dock .dock-tool{display:none!important}

/* Removed from the chat bar (Eddy): the speech-bubble; older messages open by clicking or scrolling the text under the bar */
.davinci-dock #dock-chat{display:none!important}

/* the glass under the bar has exactly the bar's edges and curve (Eddy: "same curve, aligned") */
.davinci-dock.open #agent-messages{margin-left:6px!important;margin-right:6px!important;border-radius:22px!important}

/* no close button on the conversation (Eddy); a click on the model or Esc closes it */
.davinci-dock .dock-close{display:none!important}
.davinci-dock.history #agent-messages{padding-right:18px!important}

/* The chat text is always small, in every view (Eddy: "don't change when I click, keep text small always"). */
.davinci-dock.open #agent-messages .agent-msg{font-size:12px!important;line-height:1.45!important}
.davinci-dock.open:not(.history) #agent-messages{max-height:calc(3 * 1.45 * 12px + 18px)!important}

/* Your own lines: plain words on the right, no "You ·" label, no outline (Eddy) */
.davinci-dock .agent-msg.user::before{content:none!important}
.davinci-dock .agent-msg.user{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;color:#ffffffb0!important;text-align:right}

.davinci-dock.open #agent-messages .agent-msg.user,.davinci-dock.history #agent-messages .agent-msg.turn-start{border:0!important}
/* no space between the bar and the glass under it (Eddy) */
.davinci-dock.open #agent-form{margin-bottom:0!important}

/* Organised text space (Eddy): even margins inside the glass, one gap between messages, three whole lines visible; scrolling stops at
   the start of a message so no line is cut at the top. */
.davinci-dock.open #agent-messages{padding:12px 22px 10px!important;scroll-padding-top:12px;scroll-snap-type:y proximity}
.davinci-dock.open:not(.history) #agent-messages{max-height:calc(3 * 1.45 * 12px + 22px)!important}
.davinci-dock.open #agent-messages>.agent-msg{margin:0 0 8px!important;padding:0!important;scroll-snap-align:start}
.davinci-dock.open #agent-messages>.agent-msg:last-child{margin-bottom:0!important}
.davinci-dock.open #agent-messages>.agent-msg.user{margin-top:4px!important;font-size:11.5px!important}

/* newest first (v7-shell.js sets each message's order): the list is a column the order can rearrange */
.davinci-dock.open #agent-messages{display:flex!important;flex-direction:column}

/* Expanded by a click on the text: half the screen, the whole conversation, the same small text, scroll inside (Eddy) */
.davinci-dock.history #agent-messages{max-height:50vh!important;height:auto;overflow-y:auto!important;scrollbar-width:thin;cursor:pointer}
.davinci-dock.history #agent-messages .agent-msg{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}

/* One vertical line for everything on the right (Eddy "align all"): the cube grows from its top centre (so its middle never moves),
   and the xyz and location dots, the view column, the DAVINCI orb and the pen all sit on the cube's centre line. */
#view-cube{transform-origin:50% 0!important}
.v8-view-bar{right:54px!important}
.v8-site-dots{right:61px!important}
#v8-orb{right:49px!important}
#v7-pen-toggle{right:52px!important}
body.v7-properties-open .v8-view-bar{right:calc(var(--pw,412px) + 36px)!important}
body.v7-properties-open .v8-site-dots{right:calc(var(--pw,412px) + 43px)!important}
@media(max-width:800px){.v8-view-bar{right:36px!important}.v8-site-dots{right:43px!important}#v8-orb{right:31px!important}#v7-pen-toggle{right:34px!important}}

/* DAVINCI's internal steps stay hidden in every view (the scrollable older messages must not bring them back) */
.davinci-dock #agent-messages>.agent-note,.davinci-dock #agent-messages>.agent-tool.read,.davinci-dock #agent-messages>.agent-tool.rejected,.davinci-dock #agent-messages>.agent-tool.recorded:not(.agent-render),
.davinci-dock.open:not(.history) #agent-messages>.agent-note.past,.davinci-dock.open:not(.history) #agent-messages>.agent-tool.past{display:none!important}

/* The magic pen (pen-v8.js, V7's pen in web/pen/): V7's own values for the names its look uses, kept to the pen so V8 is untouched;
   V8's pen button opens it, so V7's own launcher stays hidden. */
#magicSketch,#magicSketchPen{--ink:#211f1a;--text:#fff;--soft:rgba(255,255,255,.86);--muted:rgba(255,255,255,.72);--pane:rgba(255,255,255,.075);
--field:rgba(255,255,255,.10);--faint:rgba(255,255,255,.04);--hover:rgba(255,255,255,.20);--pane-edge:rgba(255,255,255,.28);--pane-hi:rgba(255,255,255,.35);
--line:rgba(255,255,255,.20);--shd:rgba(0,0,0,.26);--hd:#f2a93b;--accent:#fff;--accent2:#f4e6c8;--gold:#f3d58c;--ease:cubic-bezier(.2,.8,.2,1);
--v2-panel:var(--pane);--v2-blur:30px;--v2-card-radius:18px;--v2-label:12px;--v2-font:Inter,-apple-system,"Segoe UI",sans-serif}
#magicSketchPen{display:none!important}

/* The xyz and location dots stand to the left of the cube, stacked (Eddy); the view column sits right under the cube. */
.v8-site-dots{top:84px!important;right:140px!important;flex-direction:column!important;gap:6px!important}
.v8-view-bar{top:196px!important}
body:has(#edit-bar:not([hidden])) .v8-site-dots{top:144px!important}
body:has(#edit-bar:not([hidden])) .v8-view-bar{top:256px!important}
body.v7-properties-open .v8-site-dots{right:calc(var(--pw,412px) + 122px)!important}
@media(max-width:800px){.v8-site-dots{top:76px!important;right:112px!important}.v8-view-bar{top:174px!important}body:has(#edit-bar:not([hidden])) .v8-site-dots{top:136px!important}body:has(#edit-bar:not([hidden])) .v8-view-bar{top:234px!important}}

/* DAVINCI's figure over the chat bar (orb-place.js sets left/top while centred); otherwise it waits in the corner */
#v8-orb{transition:left .45s cubic-bezier(.2,.8,.2,1),top .45s cubic-bezier(.2,.8,.2,1),right .45s,bottom .45s}
#v8-orb.orb-centre{right:auto!important;bottom:auto!important}
/* the pen and the chat never overlap: the chat steps aside while the pen is open */
body.v8-pen-open .davinci-dock{visibility:hidden}

/* the quill out of its circle while the pen draws; the pointer is the quill */
#v7-pen-toggle.pen-out svg{opacity:0;transform:scale(.6);transition:opacity .3s,transform .3s}
#v7-pen-toggle svg{transition:opacity .3s,transform .3s}
#magicSketch canvas,#magicSketch .mCatch,.mCatch{cursor:var(--quill-cursor,crosshair)!important}

/* The pen's bar inside the chat bar (pen-v8.js keeps it aligned): the chat bar stays, widens with a visible motion, hides its own
   contents and lets the pen's tools fill it; the conversation under it waits. */
body.v8-pen-open .davinci-dock{visibility:visible!important;width:min(980px,calc(100vw - 32px))!important}
.davinci-dock{transition:width .55s cubic-bezier(.2,.8,.2,1)}
body.v8-pen-open .davinci-dock #agent-form>*{opacity:0!important;pointer-events:none!important}
body.v8-pen-open .davinci-dock #agent-chat>:not(#agent-form){display:none!important}
body.v8-pen-open .davinci-dock #agent-chat{background:none!important;border:0!important;box-shadow:none!important}
#magicSketch .mDock{position:fixed!important;transform:none!important;bottom:auto!important;max-width:none!important;z-index:20}
#magicSketch .magicBar{width:100%!important;max-width:none!important;flex-wrap:nowrap!important;justify-content:space-between!important;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0 8px 0 16px!important;border-radius:999px!important;opacity:0;animation:pen-in .35s .3s forwards}
@keyframes pen-in{to{opacity:1}}

/* newest first in every view: the list stays a column the order can rearrange (an older rule forced plain stacking) */
.davinci-dock.open:not(.history) #agent-messages,.davinci-dock.open.history #agent-messages{display:flex!important;flex-direction:column!important}

/* the start screen's plume opens the plume (pen-v8.js) */
.v7-home-pen{pointer-events:auto!important;cursor:pointer}
.v7-home-pen .gx{width:20px;height:20px;color:#f3d58c}

/* The chat bar keeps its own middle while the plume is open (Eddy): its words and buttons stay; the plume adds its tools at the sides */
body.v8-pen-open .davinci-dock #agent-form>*{opacity:1!important;pointer-events:auto!important}
body.v8-pen-open .davinci-dock #agent-input{opacity:1!important}
#magicSketch .magicBar{pointer-events:none!important}
#magicSketch .magicBar>*,#magicSketch .magicBar button{pointer-events:auto}
#magicSketch .mWrite{display:none!important}
#magicSketch .magicBar .mTools{margin-right:auto}
#agent-form{transition:padding .45s cubic-bezier(.2,.8,.2,1)}
body.v8-pen-open #agent-input::placeholder{color:#ffffffb0}

/* both plume circles are empty while the plume draws (the quill is the pointer) */
.v7-home-pen.pen-out svg{opacity:0;transform:scale(.6)}
.v7-home-pen svg{transition:opacity .3s,transform .3s}

/* the plume's full-screen layer itself never catches the pointer; its drawing surface, tools and notes do (so the chat bar stays usable) */
#magicSketch{pointer-events:none!important}
#magicSketch canvas,#magicSketch .mNote,#magicSketch .mNote *,#magicSketch .mSay{pointer-events:auto}
/* start screen footer: only the company, aligned left (Eddy) */
.v7-home-note{left:24px!important;right:auto!important;transform:none!important;text-align:left!important;width:auto!important}

/* the widened chat bar leaves room for the plume's circle at the bottom right */
body.v8-pen-open .davinci-dock{width:min(980px,calc(100vw - 220px))!important}

/* Tools sheet = V7's Tools sheet, its rules copied exactly (tools-sheet.js builds the same markup) */
#toolsSheet{position:fixed;z-index:35;left:50%;top:66px;transform:translateX(-50%);width:min(860px,calc(100vw - 24px));max-height:calc(100vh - 90px);overflow:auto;display:none;padding:20px 22px;border-radius:28px;background:rgba(37,36,29,.96);border:1px solid rgba(255,255,255,.28);color:#fff;box-sizing:border-box;font-family:Inter,-apple-system,"Segoe UI",sans-serif}
#toolsSheet.on{display:block;animation:sheet .35s cubic-bezier(.2,.8,.2,1)}
@keyframes sheet{from{opacity:0;transform:translate(-50%,8px)}}
#toolsSheet .winX{position:absolute;top:14px;right:14px;width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;z-index:3}
#toolsSheet .winX .gx{width:14px;height:14px}
#toolsList .toolFind{position:sticky;top:0;z-index:2;display:block;width:calc(100% - 44px);box-sizing:border-box;margin:0 0 12px;padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#1c2029;color:#fff;font:500 13px Inter,sans-serif;outline:none}
#toolsList .toolFind:focus{border-color:rgba(246,210,122,.6)}
#toolsList.store h4{font:600 12px/1.2 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.55);margin:22px 4px 10px}
#toolsList.store h4:first-of-type{margin-top:8px}
#toolsList.store .fam{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:18px 6px;justify-items:center}
#toolsList.store .fam button{display:flex;flex-direction:column;align-items:center;gap:7px;width:92px;padding:4px 2px 6px;background:none;border:0;box-shadow:none;text-align:center;border-radius:18px;color:#fff;cursor:pointer}
#toolsList.store .fam button .ic{display:grid;place-items:center;width:62px;height:62px;border-radius:17px;background:linear-gradient(160deg,rgba(255,255,255,.22),rgba(255,255,255,.08));box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 6px 16px rgba(0,0,0,.25);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
#toolsList.store .fam button:hover .ic{transform:scale(1.06)}
#toolsList.store .fam button:active .ic{transform:scale(.94)}
#toolsList.store .fam button .ic svg{width:30px;height:30px;color:#f6d27a}
#toolsList.store .fam button b{font:500 11.5px/1.25 Inter,sans-serif;color:#fff;max-width:92px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:.01em}
#toolsList.store .fam button[hidden],#toolsList.store .fam[hidden],#toolsList.store h4[hidden]{display:none!important}
#toolsSheet{--accent:#fff;--spark:#f6d27a;--ease:cubic-bezier(.2,.8,.2,1)}

/* Tools sheet in the DAVINCI glass (Eddy: "use DAVINCI colours, where is the dark coming from"): the same see-through pane, blur and
   edge as V8's other panels; the search box is a glass field, not a dark slab. */
#toolsSheet{background:var(--v7-pane)!important;backdrop-filter:blur(30px) saturate(1.6)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;border:1px solid var(--v7-edge)!important;box-shadow:var(--v7-shadow)!important}
#toolsList .toolFind{background:rgba(255,255,255,.10)!important;border:1px solid var(--v7-edge)!important;color:#fff!important}
#toolsList .toolFind::placeholder{color:rgba(255,255,255,.72)}
#toolsList .toolFind:focus{border-color:rgba(255,255,255,.5)!important}
#toolsSheet .winX{background:rgba(255,255,255,.12)}

/* top bar glyph buttons, the name under each on hover (tools-sheet.js); the ⋯ menu is gone */
#workspace .header-right .header-more{display:none!important}
#workspace .header-right .bar-glyph{position:relative;width:34px;height:34px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer;transition:background .2s cubic-bezier(.2,.8,.2,1)}
#workspace .header-right .bar-glyph:hover{background:rgba(255,255,255,.2)}
#workspace .header-right .bar-glyph .gx{width:18px;height:18px}
#workspace .header-right .bar-glyph::after{content:attr(data-name);position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:4px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.075);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);color:#fff;font:400 12px Inter,sans-serif;opacity:0;pointer-events:none;transition:opacity .15s}
#workspace .header-right .bar-glyph:hover::after,#workspace .header-right .bar-glyph:focus-visible::after{opacity:1}
#workspace .header-right .bar-glyph[hidden]{display:none}
#workspace>header .gx{--accent:#f3d58c;--spark:#f3d58c}

/* Approved standard applied: glyphs in the view column and the ribbon; the click-and-hold menu is a standard glass menu */
.v8-view-bar>button .gx{width:16px;height:16px;color:#f3d58c}
.v8-view-bar>button{--accent:#f3d58c;--spark:#f3d58c}
#edit-ribbon .k.glyph{background:none}
#edit-ribbon .k.glyph .gx{width:18px;height:18px;color:#f3d58c}
#edit-ribbon{--accent:#f3d58c;--spark:#f3d58c}
.v8-elmenu.dv-menu{background:var(--dv-pane)!important;border:1px solid var(--dv-edge)!important;backdrop-filter:blur(30px) saturate(1.6)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;width:auto!important;min-width:220px;padding:6px!important;border-radius:16px!important;--accent:#f3d58c;--spark:#f3d58c}
.v8-elmenu.dv-menu .v8-elmenu-head{font:500 13px Inter,sans-serif;padding:6px 12px 2px}
.v8-elmenu.dv-menu .v8-elmenu-head small{display:none}
.v8-elmenu.dv-menu .dv-title{margin:8px 12px 2px!important;font-size:10px!important;border:0!important;padding:0!important}
.v8-elmenu.dv-menu button{display:flex!important;align-items:center;gap:10px;justify-content:flex-start!important;font:400 13px Inter,sans-serif!important;padding:7px 12px!important}
.v8-elmenu.dv-menu button .gx{width:16px;height:16px;color:#f3d58c;flex:none}
.v8-elmenu.dv-menu button.danger span{color:#fff}

/* With the edit panel open (Eddy): the panel stays on the right; the cube, the xyz and location dots and the view column go to the
   left side, clear of the drawing; the tool ribbon sits beside them. */
body.v7-properties-open #view-cube{right:auto!important;left:18px!important}
body.v7-properties-open .v8-view-bar{right:auto!important;left:54px!important}
body.v7-properties-open .v8-site-dots{right:auto!important;left:138px!important;top:84px!important}
body.v7-properties-open:has(#edit-bar:not([hidden])) .v8-site-dots{top:144px!important}
body.v7-properties-open .v8-ribbon{left:138px!important;top:220px!important}
body.v7-properties-open.v8-plan2d .v8-site-dots{left:18px!important;top:132px!important;flex-direction:row!important}
body:where(:not(.v8-revit)).v7-properties-open.v8-plan2d .v8-view-bar{left:18px!important;top:172px!important}
body.v7-properties-open.v8-plan2d .v8-ribbon{left:76px!important;top:172px!important}

/* the chat is always in the middle of the screen (Eddy), whatever panel is open */
body.v7-properties-open .davinci-dock:not(.x){left:50%!important;width:min(560px,calc(100vw - 32px))!important}
body.v7-properties-open.v8-pen-open .davinci-dock{width:min(980px,calc(100vw - 220px))!important}

/* Flipped (Eddy): the edit panel opens on the LEFT; the cube, the xyz and location dots and the view column stay on the right as
   usual; the ribbon and the sketch bar sit right of the panel. (Overrides the earlier panel-on-the-right placements.) */
@media(min-width:801px){
body.v7-properties-open .inspector{right:auto!important;left:16px!important}
body.v7-properties-open #view-cube{left:auto!important;right:18px!important}
body.v7-properties-open .v8-view-bar{left:auto!important;right:54px!important}
body.v7-properties-open .v8-site-dots{left:auto!important;right:140px!important;top:84px!important;flex-direction:column!important}
body.v7-properties-open:has(#edit-bar:not([hidden])) .v8-site-dots{top:144px!important}
body.v7-properties-open .v8-ribbon{left:calc(var(--pw,412px) + 4px)!important;top:150px!important}
body:where(:not(.v8-revit)).v7-properties-open .sketch-bar{left:calc(var(--pw,412px) + 4px)!important;right:16px!important}
body.v7-properties-open .v7-edit-bar{left:calc(var(--pw,412px) + (100vw - var(--pw,412px)) / 2)!important}
body.v7-properties-open.v8-plan2d .v8-site-dots{left:auto!important;right:18px!important;top:132px!important;flex-direction:row!important}
body:where(:not(.v8-revit)).v7-properties-open.v8-plan2d .v8-view-bar{left:auto!important;right:18px!important;top:172px!important}
body.v7-properties-open.v8-plan2d .v8-ribbon{left:calc(var(--pw,412px) + 4px)!important;top:172px!important}
}

/* The edit ribbon is removed for good (Eddy: "never show this again"); its tools live in the Tools sheet, the click-and-hold menu and the chat */
#edit-ribbon,.v8-ribbon{display:none!important}

/* Slim edit panel, every field stacked (Eddy): one row each - name, box, unit; the panel is narrow */
body{--pw:262px}
body.v8-props-compact{--pw:262px}
.inspector:not(.expanded){width:230px!important}
.inspector:not(.expanded) .field-grid{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
.inspector:not(.expanded) .field-grid label{display:grid!important;grid-template-columns:1fr 78px 12px;align-items:center;column-gap:6px;font-size:12px!important;color:rgba(255,255,255,.8)}
.inspector:not(.expanded) .field-grid label input{order:2;grid-column:2;height:30px!important;padding:3px 8px!important;font-size:13px!important;text-align:right;width:100%;box-sizing:border-box;border-radius:10px}
.inspector:not(.expanded) .field-grid label span{order:3;grid-column:3;font-size:11px;color:rgba(255,255,255,.6)}
.inspector:not(.expanded) #save-properties{margin-top:10px!important;height:32px!important}
.inspector:not(.expanded) #properties-form,.inspector:not(.expanded) #property-fields{border:0!important;padding:0!important;margin:0!important}
.inspector:not(.expanded) #selected-title{font-size:14px!important;margin:2px 40px 10px 0!important}
.inspector:not(.expanded) .v7-drawer-close{top:8px!important;right:8px!important;width:26px!important;height:26px!important}

.inspector:not(.expanded) #selected-title{margin:2px 40px 18px 0!important;line-height:26px}

/* While a shape is being edited (Eddy): the edit bar starts at the left and the element's panel sits right under it */
@media(min-width:801px){
body:where(:not(.v8-revit)).v8-sketching .sketch-bar{left:16px!important;right:auto!important;transform:none!important;max-width:calc(100vw - 32px)!important}
body:where(:not(.v8-revit)).v8-sketching.v7-properties-open .inspector{left:16px!important;top:134px!important}
}

/* Eddy's markups (2026-11-08): in edit mode the edit bar sits top left with the element's panel under it; in the 2D plan the
   xyz/location dots and the view column move up under the top bar's right end. */
@media(min-width:801px){
body:where(:not(.v8-revit)):has(#edit-bar:not([hidden])) .v7-edit-bar{left:16px!important;right:auto!important;transform:none!important;top:78px!important;white-space:nowrap}
body:has(#edit-bar:not([hidden])) .v7-edit-bar button{white-space:nowrap}
body:where(:not(.v8-revit)):has(#edit-bar:not([hidden])).v7-properties-open .inspector{left:16px!important;top:134px!important}
body.v8-plan2d .v8-site-dots,body.v8-plan2d:has(#edit-bar:not([hidden])) .v8-site-dots,body.v8-plan2d.v7-properties-open .v8-site-dots{top:82px!important;right:18px!important;left:auto!important;flex-direction:row!important}
body:where(:not(.v8-revit)).v8-plan2d .v8-view-bar,body:where(:not(.v8-revit)).v8-plan2d:has(#edit-bar:not([hidden])) .v8-view-bar,body:where(:not(.v8-revit)).v8-plan2d.v7-properties-open .v8-view-bar{top:120px!important;right:18px!important;left:auto!important}
}

/* Panel markup (Eddy): boxes right next to their names, the panel only as wide as its content, the x on the title line */
.inspector:not(.expanded){width:max-content!important;min-width:0!important;padding:10px 12px 12px!important}
.inspector:not(.expanded) .field-grid label{grid-template-columns:74px 72px 12px!important;column-gap:6px!important}
.inspector:not(.expanded) #selected-title{margin:0 34px 8px 0!important;line-height:26px;font-size:14px!important}
.inspector:not(.expanded) .v7-drawer-close{top:10px!important;right:10px!important;width:24px!important;height:24px!important;font-size:12px!important}
.inspector:not(.expanded) #save-properties{width:100%!important}

.inspector:not(.expanded) .v7-drawer-close{position:absolute!important;margin:0!important;float:none!important}

/* Edit bar inside the top bar (tools-sheet.js moves it there); no box of its own, the top bar is its pill */
.v7-edit-bar.in-topbar{position:static!important;transform:none!important;left:auto!important;top:auto!important;margin-left:10px;padding:0!important;gap:6px!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:auto}
.v7-edit-bar.in-topbar[hidden]{display:none!important}
.v7-edit-bar.in-topbar button{padding:6px 12px!important;font-size:12px!important;white-space:nowrap}
.v7-edit-bar.in-topbar #edit-title{display:none}
#workspace>header .brand{display:flex;align-items:center;min-width:0}
@media(min-width:801px){
body:where(:not(.v8-revit)):has(#edit-bar:not([hidden])).v7-properties-open .inspector{top:78px!important;left:16px!important}
body:where(:not(.v8-revit)).v8-sketching.v7-properties-open .inspector{top:134px!important}
}

/* Right side up under the top bar (Eddy's markup): the edit bar is in the top bar now, so edit mode no longer pushes them down */
@media(min-width:801px){
#view-cube,body:has(#edit-bar:not([hidden])) #view-cube{top:66px!important}
.v8-site-dots,body:has(#edit-bar:not([hidden])) .v8-site-dots{top:74px!important}
.v8-view-bar,body:has(#edit-bar:not([hidden])) .v8-view-bar{top:186px!important}
body.v8-plan2d .v8-site-dots,body.v8-plan2d:has(#edit-bar:not([hidden])) .v8-site-dots{top:70px!important}
body:where(:not(.v8-revit)).v8-plan2d .v8-view-bar,body:where(:not(.v8-revit)).v8-plan2d:has(#edit-bar:not([hidden])) .v8-view-bar{top:108px!important}
}

@media(min-width:801px){
/* editing a shape: the element's panel sits below the edit bar (wins over the edit-mode rule) */
body:where(:not(.v8-revit)).v8-sketching.v7-properties-open:has(#edit-bar) .inspector{top:134px!important;left:16px!important}
/* the dots stay up under the top bar with the panel open too */
body.v7-properties-open:has(#edit-bar) .v8-site-dots,body.v7-properties-open .v8-site-dots{top:74px!important}
body.v8-plan2d.v7-properties-open:has(#edit-bar) .v8-site-dots{top:70px!important}
body:where(:not(.v8-revit)).v8-plan2d.v7-properties-open:has(#edit-bar) .v8-view-bar{top:108px!important}
}

/* Editing a shape (Eddy's markup): everything below the edit bar's line - the panel on the left and, on the right, the dots and the
   view column start at the same height */
@media(min-width:801px){
body.v8-sketching .v8-site-dots,body.v8-sketching.v8-plan2d.v7-properties-open:has(#edit-bar) .v8-site-dots,body.v8-sketching.v8-plan2d:has(#edit-bar) .v8-site-dots{top:134px!important}
body:where(:not(.v8-revit)).v8-sketching .v8-view-bar,body:where(:not(.v8-revit)).v8-sketching.v8-plan2d.v7-properties-open:has(#edit-bar) .v8-view-bar,body:where(:not(.v8-revit)).v8-sketching.v8-plan2d:has(#edit-bar) .v8-view-bar{top:172px!important}
}

/* the start screen's Choose project opens the projects list (welcome-chat.js), same look as the project menu */
.home-choose{cursor:pointer;border-radius:999px;padding:4px 10px;margin-left:-10px;transition:background .2s}
.home-choose:hover,.home-choose:focus-visible{background:rgba(255,255,255,.18);outline:none}
.home-choose::after{content:' \2304';font-size:11px;opacity:.8}
.home-project-menu{position:fixed!important;z-index:40}

/* the shape edit bar is centred at the top (Eddy) */
@media(min-width:801px){body:where(:not(.v8-revit)).v8-sketching .sketch-bar{left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:calc(100vw - 32px)!important}}

/* Material composition under the element's fields (Eddy 2026-11-08): glass rows, swatch, name, thickness */
.v8-composition{margin:10px 0 4px;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.075);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6)}
.v8-composition .dv-title{margin:0 0 6px}
.v8-comp-row{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:8px;font:400 12px Inter,system-ui,sans-serif;color:#fff;padding:3px 0}
.v8-comp-row i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.v8-comp-row b{font-weight:400;opacity:.85}
.v8-comp-total{border-top:1px solid rgba(255,255,255,.18);margin-top:3px;padding-top:6px}
.v8-comp-total i{box-shadow:none}
.v8-comp-ask{margin:8px auto 0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;padding:0}
.v8-comp-ask svg{width:24px;height:24px;color:#f3d58c}
#agent-form{position:relative}
.v8-chat-link{position:absolute;left:22px;top:-30px;display:flex;align-items:center;gap:6px;height:24px;padding:0 4px 0 8px;border-radius:999px;font:400 12px Inter,system-ui,sans-serif;color:#fff;z-index:3}
.v8-chat-link[hidden]{display:none}
.v8-chat-link>svg{width:16px;height:16px;color:#f3d58c}
.v8-chat-link button{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.v8-chat-link button svg{width:12px;height:12px}
/* Composition editor rows (Eddy 2026-11-08): name you type or pick, thickness in mm, + after each, x to remove */
.v8-comp-edit{grid-template-columns:12px minmax(0,1fr) 54px 18px auto;gap:6px}
.v8-comp-edit input{min-width:0;height:24px;padding:0 8px;border-radius:999px;border:0;background:rgba(255,255,255,.075);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff;font:400 12px Inter,system-ui,sans-serif;outline:none}
.v8-comp-edit input:focus{box-shadow:inset 0 0 0 1px rgba(243,213,140,.8)}
.v8-comp-edit .v8-comp-mm{text-align:right;padding:0 6px;-moz-appearance:textfield}
.v8-comp-edit .v8-comp-mm::-webkit-inner-spin-button{display:none}
.v8-comp-edit small{font-size:11px;opacity:.7}
.v8-comp-tools{display:flex;gap:2px}
.v8-comp-tools button{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;opacity:.75}
.v8-comp-tools button:hover{opacity:1;background:rgba(255,255,255,.12)}
.v8-comp-tools svg{width:14px;height:14px}
.v8-comp-total{grid-template-columns:12px 1fr auto}
.v8-comp-apply{display:block;width:100%;margin-top:6px;border-radius:999px;font-size:12px}
.v8-comp-apply[hidden]{display:none}
.v8-comp-note{margin-top:6px;font:400 11px Inter,system-ui,sans-serif;color:rgba(255,255,255,.6)}
/* The DAVINCI logo = the gold figure in motion (davinciLogo); its sand stays inside its circle */
.dv-logo{position:relative;overflow:hidden}
.v8-comp-ask.dv-logo{width:44px;height:44px}
.v8-chat-link-logo{display:block;width:20px;height:20px;border-radius:50%}
/* Chat lines under the pill (Eddy 2026-11-08): four lines, the fourth half faded; every line left aligned, yours a little dimmer */
.davinci-dock.open:not(.history) #agent-messages{max-height:calc(4 * 1.45 * 12px + 22px)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 74%,rgba(0,0,0,.45) 100%)!important;mask-image:linear-gradient(to bottom,#000 0,#000 74%,rgba(0,0,0,.45) 100%)!important}
.davinci-dock .agent-msg.user,.davinci-dock.open:not(.history) #agent-messages>.user,.davinci-dock.open #agent-messages .agent-msg{text-align:left!important}
.davinci-dock{bottom:72px}
@media(max-width:800px){.davinci-dock{bottom:56px}}
body.v8-home-dock .davinci-dock{bottom:64px}
/* Under the pill only DAVINCI's words: a change it made shows no card (the history keeps it) (Eddy 2026-11-08 "too much text") */
.davinci-dock.open:not(.history) #agent-messages>.agent-tool.committed{display:none!important}
/* Chat lines readable (Eddy 2026-11-08 "text still not clear", "extend 7 lines down"): seven lines, the seventh half faded;
   your line starts at the left like DAVINCI's (no push to the right); a darker glass behind them so white text reads on any model */
.davinci-dock.open:not(.history) #agent-messages{max-height:calc(7 * 1.45 * 12px + 22px)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 86%,rgba(0,0,0,.45) 100%)!important;mask-image:linear-gradient(to bottom,#000 0,#000 86%,rgba(0,0,0,.45) 100%)!important}
.davinci-dock .agent-msg.user,.davinci-dock #agent-messages>.agent-msg{margin-left:0!important;align-self:stretch!important;text-align:left!important}
.davinci-dock.open #agent-messages{background:rgba(28,30,28,.42)!important;backdrop-filter:blur(22px) saturate(1.3)!important;-webkit-backdrop-filter:blur(22px) saturate(1.3)!important}
.davinci-dock.open #agent-messages .agent-msg{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.davinci-dock.open #agent-messages .agent-msg.user{color:rgba(255,255,255,.72)!important}
/* Report and AI cards under the top bar (Eddy 2026-11-08): glass, rounded, glyph rows; the owner's fix list */
.v8-topcard{position:fixed;top:84px;right:16px;width:min(380px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;z-index:60;color:#fff;font:400 12px Inter,system-ui,sans-serif}
.v8-topcard[hidden]{display:none}
.v8-topcard-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.v8-topcard-head .dv-x{width:26px;height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
.v8-topcard-head .dv-x svg{width:14px;height:14px}
.v8-report-text{width:100%;box-sizing:border-box;min-height:64px;resize:vertical;padding:10px 12px;border-radius:16px;border:0;background:rgba(255,255,255,.075);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff;font:400 12px Inter,system-ui,sans-serif;outline:none}
.v8-report-text:focus{box-shadow:inset 0 0 0 1px rgba(243,213,140,.8)}
.v8-report-shot{display:flex;align-items:center;gap:8px;margin:8px 2px;opacity:.85;cursor:pointer}
.v8-report-send,.v8-fix-act{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:4px;border-radius:999px}
.v8-report-send svg,.v8-fix-act svg{width:16px;height:16px}
.v8-report-said{min-height:16px;margin-top:6px;opacity:.8}
.v8-fix{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18)}
.v8-fix-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.v8-fix-tabs{display:flex;gap:4px}
.v8-fix-tabs .dv-chip{padding:3px 10px;border-radius:999px;border:0;background:rgba(255,255,255,.08);color:#fff;font:400 11px Inter,system-ui,sans-serif;cursor:pointer}
.v8-fix-tabs .dv-chip.on{background:rgba(243,213,140,.28)}
.v8-fix-none{opacity:.7;padding:6px 2px}
.v8-fix-row{border-radius:14px}
.v8-fix-row+.v8-fix-row{margin-top:2px}
.v8-fix-top{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;width:100%;padding:7px 8px;border:0;border-radius:14px;background:none;color:#fff;text-align:left;cursor:pointer}
.v8-fix-top:hover{background:rgba(255,255,255,.08)}
.v8-fix-top svg{width:16px;height:16px;margin-top:1px;color:#f3d58c}
.v8-fix-words{display:flex;flex-direction:column;min-width:0}
.v8-fix-words b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-fix-words small{font-size:11px;opacity:.65}
.v8-fix-more{padding:2px 8px 8px 34px}
.v8-fix-more pre{margin:0 0 8px;white-space:pre-wrap;word-break:break-word;font:400 11px/1.45 ui-monospace,Menlo,monospace;opacity:.85}
.v8-fix-more img{display:block;width:100%;border-radius:12px;margin-bottom:8px}
.v8-report-badge{position:absolute;top:2px;right:0;min-width:15px;height:15px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#f3d58c;color:#2a2618;font:600 9px/15px Inter,system-ui,sans-serif;text-align:center;pointer-events:none}
.v8-report-badge[hidden]{display:none}
#v8-ai-card .agent-sub,#v8-ai-card .agent-ai{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px}
#v8-ai-card input,#v8-ai-card select{height:30px;padding:0 10px;border-radius:999px;border:0;background:rgba(255,255,255,.075);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff;font:400 12px Inter,system-ui,sans-serif}
#v8-ai-card button{height:30px;padding:0 12px;border-radius:999px;border:0;background:rgba(255,255,255,.12);color:#fff;font:400 12px Inter,system-ui,sans-serif;cursor:pointer}
#v8-ai-card button:hover{background:rgba(255,255,255,.2)}
/* The chat with DAVINCI is human, nothing technical unless asked (Eddy 2026-11-08): no operation cards (UPDATE_WALL, coordinates,
   Review proposal) in the chat, short or expanded; DAVINCI's own sentence says what happened, pictures it made stay, and a change
   that needs approval shows the Approve button above the chat */
.davinci-dock #agent-messages>.agent-tool:not(.agent-render){display:none!important}
/* Mic (Eddy 2026-11-08): the vertical bars show only while someone talks (your words heard, or DAVINCI speaking); the ring stays */
.davinci-dock .agent-mic .wave{transition:opacity .35s cubic-bezier(.2,.8,.2,1)}
.davinci-dock .agent-mic:not(.hearing):not(.speaking) .wave{opacity:0}
/* Element panel smaller and minimizable (Eddy 2026-11-08 "too big, too intrusive") */
#v7-properties-drawer.inspector:not(.expanded){width:236px!important;padding:12px 12px 10px!important}
#v7-properties-drawer.inspector:not(.expanded) #selected-title{font-size:13px!important;font-weight:500!important;margin:0 64px 10px 0!important;line-height:24px}
#v7-properties-drawer.inspector:not(.expanded) .field-grid{gap:4px!important}
#v7-properties-drawer.inspector:not(.expanded) .field-grid label{grid-template-columns:1fr 70px 12px;font-size:11.5px!important}
#v7-properties-drawer.inspector:not(.expanded) .field-grid label input{height:26px!important;font-size:12px!important;padding:2px 8px!important}
#v7-properties-drawer.inspector:not(.expanded) #save-properties{height:28px!important;margin-top:8px!important;font-size:12px!important}
#v7-properties-drawer.inspector:not(.expanded) .v7-drawer-close{top:10px!important;right:10px!important;width:24px!important;height:24px!important}
#v7-properties-drawer .v8-panel-min{position:absolute;top:10px;right:40px;width:24px;height:24px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;z-index:2}
#v7-properties-drawer .v8-panel-min:hover{background:rgba(255,255,255,.2)}
#v7-properties-drawer .v8-panel-min svg{width:14px;height:14px}
#v7-properties-drawer.v8-min .properties>:not(#selected-title){display:none!important}
#v7-properties-drawer.v8-min{padding-bottom:4px!important}
#v7-properties-drawer.v8-min #selected-title{margin-bottom:6px!important}
#v7-properties-drawer .v8-composition{margin-top:8px;padding:8px 10px;border-radius:16px}
#v7-properties-drawer .v8-comp-edit{grid-template-columns:10px minmax(0,1fr) 44px 16px auto;gap:4px}
#v7-properties-drawer .v8-comp-edit input{height:22px;font-size:11px;padding:0 6px}
#v7-properties-drawer .v8-comp-row{font-size:11px}
#v7-properties-drawer .v8-comp-row i{width:10px;height:10px}
#v7-properties-drawer .v8-comp-ask.dv-logo{width:32px;height:32px;margin-top:4px}
/* Drawings sheet in the DAVINCI look (Eddy 2026-11-08): glass header, no dark bar; × closes; the typing box opens on the dimension */
.v8-sheet header{background:rgba(255,255,255,.075)!important;backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);border-bottom:1px solid rgba(255,255,255,.28)!important}
.v8-sheet #sheet-hint{display:none}
.v8-sheet #sheet-heading{font-weight:500;font-size:13px}
.v8-sheet .sheet-actions{margin-left:auto}
.v8-sheet #sheet-close.dv-x{position:static!important;inset:auto!important;width:30px;height:30px;padding:0;display:grid;place-items:center;border-radius:50%}
.v8-sheet #sheet-close svg{width:16px;height:16px}
.v8-sheet #sheet-type.v8-on-dim{position:fixed;z-index:70;transform:translate(-50%,-50%);width:92px;height:28px;padding:0 10px;border:0;border-radius:999px;background:rgba(40,42,40,.55);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);box-shadow:inset 0 0 0 1px rgba(243,213,140,.9);color:#fff;font:500 12px Inter,system-ui,sans-serif;text-align:center;outline:none}
.v8-sheet #sheet-type.v8-on-dim+#sheet-type-label{display:none}
/* The DAVINCI logo in a button is only the moving gold figure (Eddy 2026-11-08): no circle, no light background, no hover box */
.v8-comp-ask,.v8-comp-ask:hover,.v8-comp-ask:focus,#v7-properties-drawer .v8-comp-ask.dv-logo{background:none!important;box-shadow:none!important;border:0!important;outline:none}
.v8-comp-ask.hv::after,.v8-comp-ask.hv::before{display:none!important}
.v8-chat-link-logo{background:none!important;box-shadow:none!important}
/* Panel fields the same light glass pills as the rest (Eddy 2026-11-08 "change colour, make it like the rest") */
#v7-properties-drawer .field-grid label input,#v7-properties-drawer #element-fields input{background:rgba(255,255,255,.075)!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)!important;border-radius:999px!important;color:#fff!important}
#v7-properties-drawer .field-grid label input:focus,#v7-properties-drawer #element-fields input:focus{box-shadow:inset 0 0 0 1px rgba(243,213,140,.8)!important;outline:none}
#v7-properties-drawer input[type=number]{-moz-appearance:textfield;appearance:textfield}
#v7-properties-drawer input[type=number]::-webkit-inner-spin-button,#v7-properties-drawer input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#v7-properties-drawer .v7-drawer-close,#v7-properties-drawer .v8-panel-min{background:rgba(255,255,255,.1)!important;border:0!important;box-shadow:none!important;color:#fff!important}
#v7-properties-drawer .v7-drawer-close:hover,#v7-properties-drawer .v8-panel-min:hover{background:rgba(255,255,255,.2)!important}
/* Chat pill: low when empty, grows with the text; the empty strip under it is not shown (Eddy 2026-11-08) */
.davinci-dock #agent-input{transition:height .2s cubic-bezier(.2,.8,.2,1);overflow-y:auto;resize:none}
.davinci-dock.v8-empty #agent-input{height:30px!important;padding-top:6px!important;padding-bottom:6px!important;overflow:hidden}
.davinci-dock.v8-empty #agent-form{padding-top:2px!important;padding-bottom:2px!important;min-height:0!important}
.davinci-dock #agent-messages:empty,.davinci-dock.open:not(.history) #agent-messages:empty,.davinci-dock.open.history #agent-messages:empty{display:none!important}
.davinci-dock:not(.v8-empty) #agent-input{max-height:108px!important}
/* Round menu on a 2-second hold (Eddy 2026-11-08): glass circle, glyph buttons on the ring, name on hover, centre = more */
.v8-radial{position:fixed;z-index:58;border-radius:50%;padding:0;box-sizing:border-box;transform:scale(.6);opacity:0;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s}
.v8-radial[hidden]{display:none}
.v8-radial.in{transform:scale(1);opacity:1}
.v8-radial-item,.v8-radial-centre{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff;cursor:pointer;transition:background .2s}
.v8-radial-item:hover,.v8-radial-centre:hover{background:rgba(243,213,140,.28)}
.v8-radial-item svg,.v8-radial-centre svg{width:20px;height:20px}
.v8-radial-item{width:76px;height:48px;margin:-24px 0 0 -38px;align-content:center;gap:1px;border-radius:999px;font-size:10px}
.v8-radial-centre{left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;background:rgba(255,255,255,.06)}
.v8-radial-centre[data-name]:hover::after{content:attr(data-name);position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:3px 9px;border-radius:999px;background:rgba(40,42,40,.55);backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);font:400 11px Inter,system-ui,sans-serif;color:#fff;pointer-events:none}
.v8-release{margin-left:10px;opacity:.6;font-weight:400}
.v8-update{position:fixed;top:84px;left:50%;transform:translateX(-50%);z-index:62;display:flex;align-items:center;gap:10px;height:40px;padding:0 6px 0 14px;border-radius:999px;color:#fff;font:400 12px Inter,system-ui,sans-serif;white-space:nowrap}
.v8-update>i{width:8px;height:8px;border-radius:50%;background:#f3d58c;box-shadow:0 0 8px rgba(243,213,140,.8)}
.v8-update .dv-btn{height:28px;padding:0 14px;border-radius:999px;font-size:12px}
.v8-update-x{width:24px;height:24px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.v8-update-x svg{width:12px;height:12px}
/* Start bar: no host, AI state or V8 label (Eddy 2026-11-08 "remove") */
.v7-home-meta{display:none!important}
/* Start bar right side (Eddy 2026-11-08): AI model, cost today, Live code, Report; same text style as the bar */
.v8-home-right{margin-left:auto;display:flex;align-items:center;gap:16px;color:rgba(255,255,255,.82);font:400 13px Inter,system-ui,sans-serif;white-space:nowrap}
.v8-home-cost[hidden]{display:none}
.v8-home-live{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border:0;border-radius:999px;background:rgba(214,64,64,.85);color:#fff;font:500 12px Inter,system-ui,sans-serif;cursor:pointer}
.v8-home-live>i{width:7px;height:7px;border-radius:50%;background:#fff}
.v8-home-live>b{font-weight:600}
.v8-home-live>b:empty{display:none}
.v8-home-live:not(.has){background:rgba(255,255,255,.14)}
.v8-home-live:not(.has)>i{background:#7be0a0}
.v8-home-report{position:relative;width:32px;height:32px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer}
.v8-home-report:hover{background:rgba(255,255,255,.2)}
.v8-home-report svg{width:18px;height:18px}
.v7-home-bar{display:flex;align-items:center}
/* No flash on reload (Eddy 2026-11-08 "white and grey screen appear before the main DAVINCI page"): the page starts on the DAVINCI dusk
   colour under the background picture (fetched first, see index.html), and the old launch line is never shown (the chat starts everything) */
html{background-color:#4a4537!important}
body{background-color:transparent!important}      /* the picture (body:before) sits behind the body: the body stays clear */
#launch-line{display:none!important}
.v8-home-live,.v8-home-live:not(.has){background:rgba(255,255,255,.14)!important}
.v8-home-live>i,.v8-home-live:not(.has)>i{background:#e5484d!important;box-shadow:0 0 6px rgba(229,72,77,.8);transition:background .25s,box-shadow .25s}
.v8-home-live.run>i{background:#46d17c!important;box-shadow:0 0 8px rgba(70,209,124,.9)}
/* Live code is only the dot now (Eddy 2026-11-08): red at rest, green while running; it opens Report */
.v8-home-live,.v8-home-live:not(.has){background:none!important;padding:0!important;width:22px;height:22px;justify-content:center}
.v8-home-live>i{width:10px!important;height:10px!important}
.v8-home-live>b{display:none!important}
.v8-fix-trail{max-height:220px;overflow:auto;margin:0 0 8px;padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.18);white-space:pre-wrap;word-break:break-word;font:400 10.5px/1.45 ui-monospace,Menlo,monospace;opacity:.9}
/* AI per area (Eddy 2026-11-08): rows per area, a list per area with price and usage on hover, the suggested model marked gold */
.v8-areas{margin-bottom:12px}
.v8-area-group{margin:10px 0 4px}
.v8-area-group:first-child{margin-top:0}
.v8-area{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 0}
.v8-area>span{opacity:.85}
.v8-area-pick{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:26px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff;font:400 12px Inter,system-ui,sans-serif;cursor:pointer}
.v8-area-pick:disabled{cursor:default;opacity:.85}
.v8-area-pick:not(:disabled):hover{background:rgba(255,255,255,.18)}
.v8-area-menu{margin:2px 0 8px;padding:4px;border-radius:14px;background:rgba(0,0,0,.16);max-height:260px;overflow:auto}
.v8-area-menu[hidden]{display:none}
.v8-area-item{display:flex;flex-direction:column;align-items:stretch;gap:1px;width:100%;padding:6px 8px;border:0;border-radius:10px;background:none;color:#fff;text-align:left;cursor:pointer}
.v8-area-item:hover,.v8-area-item.on{background:rgba(255,255,255,.1)}
.v8-area-top{display:flex;align-items:center;gap:6px}
.v8-area-top b{font-weight:500;font-size:12px}
.v8-area-top small{opacity:.6;font-size:11px}
.v8-area-sug{width:7px;height:7px;border-radius:50%;background:#f3d58c;box-shadow:0 0 6px rgba(243,213,140,.8);margin-left:auto}
.v8-area-info{display:none;font-size:11px;opacity:.75}
.v8-area-item:hover .v8-area-info{display:block}
.v8-home-model{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0}
.v8-home-model:hover{text-decoration:underline;text-underline-offset:3px}
/* The green background from the first paint (Eddy 2026-11-08 "stop the grey and white"): a 2 KB copy of the picture is built into this
   style sheet under the full one, with the same blur, so the page never shows a flat colour while the picture loads */
body:before{background:url('v7-assets/2157eeae8a4105c1.jpg') center/cover,url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAKgAAAAD/wAARCAAqAEADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9sAQwADAwMDAwMEAwMEBgQEBAYIBgYGBggKCAgICAgKDQoKCgoKCg0NDQ0NDQ0NDw8PDw8PEhISEhIUFBQUFBQUFBQU/9sAQwEDAwMFBQUJBQUJFQ4MDhUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUV/90ABAAE/9oADAMBAAIRAxEAPwDpfAWvnxDcBZ0mzKAFj2qwXJJ3bhzj+Hp6H1r129sLDS7Z77UZ0traPG+SQhVXJwMk+pr5Gu9S0zTHEPhTxQI42n2MiSMEMYDK3zcMA23PIBGRXZeNdf0fxP8ACqz8P3GveRf2nzmNGEhuArAIGbIK7QT1yeBXVlvE9eNNxrJtq7TfVnDisgpyqJ07JabdD3KLW/BzkBNbsyTyP3y/41cn1rwpY20l7c6xaRwRKWZzIpGB6YPP0FfEdvY+FrlWgtdksiDDBXwR25+bqa5s+G7JEsWMdxLLFKWkRmDRhQzbcEsc/Ltzx1q3xZXSfNBX7XNFw3SbSjJ27n2Fb/GPwdKwZYZ/JZmWORgqhwDjcAxBwevSums/ij4HuMDz5Ub3jJH5jIr5wig8O6pp1pbanAkfl3DZlbgRxsqkfhuXH411ugeCvhpJdxy3eoR+V9oZ2QSsi7BGu0cHOC2ayoZzjqseZTjvs+gYrA4Si3Fwk7dV1Poqy8a+Cr11ii1JBI+AqlWBJPbpXoSaUi4J59hya818E+IvAGjjRtC0q2tS5iKT3jFRsKru5ZssxPSvoawayvIvtFhLDcRAld6MGG4dsjvzXqYfM6kl+8ab8jkqYOCf7tNLzP/Q+YNK1TSPElrYXKWi2kqwst0BgebPuDM4x2O7A+laFxZaZGDjgj3r2/UPgn4Q8HQSXmpazZwQREbo4ZN0rE4G1V9TxXOyaH8N9StpNO0yeaPURyjynCsG5UMvY4r5vFzoU5K8t+x7eHnUcbNbHDeFdT0bTbkJ/Z0d1kkFiNxZicdfzxS/EGy02HW9BW1U2yXGPMRSQFLMoxj6Guk8P22leEp3la3W7jVsT7stLGfuhlVRtwTyDmuxe+8MeOb+0/4SjS2nFvM9uZoV8sqwAKsTx2HfrjivBeJjKtonba51UnyptvXscDaCxi0J4I5A7SMuULZJAC8gE84rT1e6utHsLe6i05TYgIHnZAeSrAjHX723n3rqfGPwg8P6FAviHSJ7ma3QbhGkbSkKR1XaeeK1vCx0w28kWoyH7LJHHvjvFUI5IyCoY54xk8da7qlRUVfp3OadOVaVm7HqXwu8Y+A9LsDp+oaRZyXvmK26QrvIMaA4DZ43Zrt/CXxGOkeI9duL68gl0i4fdZ2kJVFiXPHoMhcBj3PNfMXjeK8snjbTIbeSGQ7oriziUlQwAKtnkD39K8xu5PEWgra3vk/2nDcqTdpyHUZGGVevTnivRwefwcVJwul20ZxYnL5RfLF2P//R9H1/Q/hB4oeOW8SS1uo2DrLEqkgg9erA/lXP3fwt+HVzPJe6Z4ifT7iVVVnNsrMdgwDnb97jrXlkDN6mtIswA5NfM1KSl8Wp7ysuh3A+GllbX7ajaeN7cCRQsnmRHLKF27cZ4z1OBTLH4WWUsryXnjKymtnGFhDBRkNuVtzNuz2Oc1ztrLJt++35mthpJPKX526eprnWGpx2RqoeZ61YeEbIaRFo0GswPHCpVZFmjZ8Y6ZIrxTxB+zhqN1qaXul6958cpxJG8wAAGNpXaCOB2xitywRGlO5QfqK3ja2ysSsKA+oUVslZciJlTUtWeaXvwd8caJp2ny3F8stvprlrho8uzqTwwAORjjPpXnnijR/Go8Rm70UQS6SdqIsmFZRgElgR2Ocba90nkkjMojcpwehI/lWHJc3JYgzORkcbj7VwzwkYu0evdX6jlax//9k=') center/cover!important}
/* AI per area list, displayed better (Eddy 2026-11-08): rows size to their text (the AI card's pill button style does not apply), the
   price and usage line opens under the name on hover without covering the next row, the model in use is marked gold */
#v8-ai-card .v8-area-menu{padding:6px;border-radius:16px;background:rgba(0,0,0,.18)}
#v8-ai-card .v8-area-item{height:auto!important;min-height:0;padding:8px 12px!important;border-radius:12px!important;background:none!important;box-shadow:none!important;gap:3px;line-height:1.3}
#v8-ai-card .v8-area-item+.v8-area-item{margin-top:2px}
#v8-ai-card .v8-area-item:hover{background:rgba(255,255,255,.1)!important}
#v8-ai-card .v8-area-item.on{background:rgba(243,213,140,.16)!important;box-shadow:inset 0 0 0 1px rgba(243,213,140,.55)!important}
#v8-ai-card .v8-area-top b{font-size:12.5px;font-weight:500}
#v8-ai-card .v8-area-top small{font-size:11px;opacity:.55}
#v8-ai-card .v8-area-info{display:none;font-size:11px;line-height:1.4;opacity:.75;white-space:normal}
#v8-ai-card .v8-area-item:hover .v8-area-info,#v8-ai-card .v8-area-item.on .v8-area-info{display:block}
#v8-ai-card .v8-area-pick{height:28px!important;padding:0 14px!important;font-size:12px!important}
/* Signed out there is one bar: the sign-in. The chat input takes its place once the person is signed in. */
body:has(.v7-sign-in:not([hidden])) .davinci-dock #agent-form{display:none}
body:has(.v7-sign-in:not([hidden])) .v7-sign-in{bottom:150px}
body:has(.v7-sign-in:not([hidden])) .v7-sign-in-help{bottom:calc(150px + 62px)}
/* The remodel story in DAVINCI's lines (Eddy 2026-11-08): choice buttons, photo thumbnails, the phone QR code */
.v8-note-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.v8-note-choices .dv-chip{height:30px;padding:0 14px;border:0;border-radius:999px;background:rgba(243,213,140,.22);box-shadow:inset 0 0 0 1px rgba(243,213,140,.6);color:#fff;font:500 12px Inter,system-ui,sans-serif;cursor:pointer}
.v8-note-choices .dv-chip:hover{background:rgba(243,213,140,.36)}
.v8-note-photos{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.v8-note-photos img{width:64px;height:64px;object-fit:cover;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.v8-note-qr{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:10px}
.v8-note-tile{display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;border:0;background:none;color:#fff;cursor:pointer;font:inherit}
.v8-note-tile-face{display:grid;place-items:center;width:72px;height:72px;box-sizing:border-box;border-radius:14px;transition:width .18s ease,height .18s ease}
.v8-note-tile.qr .v8-note-tile-face{background:#fff;padding:5px}
.v8-note-tile.qr img{width:100%;height:100%;display:block}
.v8-note-tile.up .v8-note-tile-face{background:rgba(243,213,140,.16);box-shadow:inset 0 0 0 1px rgba(243,213,140,.6);color:#f3d58c}
.v8-note-tile.up:hover .v8-note-tile-face{background:rgba(243,213,140,.3)}
.v8-note-tile.up svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.v8-note-tile-cap{font:500 11px Inter,system-ui,sans-serif;color:rgba(255,255,255,.82)}
.v8-qr-big{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;background:rgba(8,12,20,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:zoom-out}
.v8-qr-big-card{display:grid;justify-items:center;gap:12px}
.v8-qr-big-card img{width:min(320px,70vw);height:min(320px,70vw);box-sizing:border-box;padding:14px;border-radius:22px;background:#fff}
.v8-qr-big-cap{font:500 13px Inter,system-ui,sans-serif;color:#fff}
.v8-note-qr a{align-self:center;color:#f3d58c;font-size:12px}
/* One top bar (Eddy 2026-11-08 "this is one pill, it needs to be unified in look"): the start bar's left side is the project bar's
   (gold dot, DAVINCI V8, divider, project chooser); both bars carry the same right group: AI model, cost today, Live code dot */
.v7-home-bar .v7-person.brand{display:flex;align-items:center;gap:10px;letter-spacing:normal;font-size:12px}
.v7-home-bar .v7-person.brand span:last-child{letter-spacing:normal;color:inherit}
.v7-home-bar .v7-project-switch.home-choose{margin:0;padding:6px 26px 6px 10px;border:1px solid transparent}
.v7-home-bar .v7-project-switch.home-choose::after{content:'';font-size:0}
.v7-home-bar .divider{display:block;width:1px;height:22px}
#workspace .header-right{align-items:center}
#workspace .header-right .v8-home-right{margin:0 8px 0 0;gap:16px;font-size:13px}
#workspace .header-right .v8-home-right .v8-home-model{padding:0!important;background:none!important;border:0!important;font:inherit!important;color:inherit}
#workspace .header-right .v8-home-right .v8-home-live{padding:0!important;background:none!important;border:0!important}
@media(max-width:800px){#workspace .header-right .v8-home-right .v8-home-model,#workspace .header-right .v8-home-right .v8-home-cost,.v7-home-bar .v8-home-model,.v7-home-bar .v8-home-cost{display:none}}
/* Live code: what the page is doing, as it happens (reports.js openLive) */
#v8-live-card{width:min(640px,calc(100vw - 32px))}
.v8-live-sum{font-size:12px;color:rgba(255,255,255,.75);margin-bottom:8px}
.v8-live-tools{display:flex;gap:8px;margin-bottom:10px}
.v8-live-tools .dv-chip{height:28px;padding:0 14px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:400 12px Inter,system-ui,sans-serif;cursor:pointer}
.v8-live-tools .dv-chip:hover{background:rgba(255,255,255,.2)}
.v8-live-list{max-height:min(52vh,460px);overflow-y:auto;padding:8px 10px;border-radius:14px;background:rgba(0,0,0,.2);font:400 11.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;user-select:text}
.v8-live-row{display:flex;gap:10px;color:rgba(255,255,255,.82)}
.v8-live-row time{flex:none;color:rgba(255,255,255,.45)}
.v8-live-row span{overflow-wrap:anywhere}
.v8-live-row.err span{color:#ff9a8f}
.v8-live-row.warn span{color:#f3d58c}
.v8-live-row.chat span{color:#bfe3ff}
/* The remodel story is a conversation (Eddy 2026-11-08 "it shouldn't take me to the model space"): story.js sets body.v8-story while the
   pictures are asked for, sent and read; the model itself shows and builds behind the chat (Eddy: "magical to see it forming while
   chatting"), only the tools wait: they come back on a double-click on the model, to edit it */
body.v8-story #view-cube,body.v8-story .v8-site-dots,body.v8-story #view-bar,body.v8-story #empty-model,body.v8-story #v7-pen-toggle,body.v8-story #workspace>footer{visibility:hidden!important;pointer-events:none!important}
/* Who says what (Eddy 2026-11-08 "chat too blended, show better where DAVINCI answers and where I talk"): your words in gold behind a thin
   gold bar, still from the left; DAVINCI's in white; a little air before each of your questions */
.davinci-dock #agent-messages .agent-msg.user{color:#f3d58c!important;font-weight:500!important;border-left:2px solid rgba(243,213,140,.75)!important;padding:1px 0 1px 10px!important;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.davinci-dock.open #agent-messages .agent-msg.user{color:#f3d58c!important}
.davinci-dock #agent-messages .agent-msg.user:not(:first-child){margin-top:12px!important}
.davinci-dock.history #agent-messages .agent-msg.user::before{content:none!important}
/* New version alert as V7's (workspace.js): the green and gold grain swirl, centred above the chat */
.v8-update-orb{position:fixed;left:50%;transform:translateX(-50%);z-index:62;width:48px;height:48px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}
.v8-update-orb[hidden]{display:none}
.v8-update-orb canvas{display:block;width:48px;height:48px;pointer-events:none}
.v8-update-orb:focus-visible{outline:2px solid #e8d38a;outline-offset:3px}
/* The plume open (Eddy 2026-11-08 "why not centred, why icons randomly aligned"): the chat bar stays one line, its buttons centred
   with the plume's tools; the typing space shrinks instead of the buttons wrapping onto a second line */
body.v8-pen-open #agent-form{flex-wrap:nowrap!important;align-items:center!important}
body.v8-pen-open #agent-form>#agent-input{flex:1 1 auto!important;min-width:0!important;width:auto!important}
body.v8-pen-open #agent-form>:not(#agent-input){flex:none!important;margin-top:0!important;margin-bottom:0!important}
#magicSketch .magicBar{align-items:center!important}
/* One space (Eddy 2026-11-08): every project opens in the calm view (story.js sets body.v8-calm): the start screen's look - no grid,
   no tools, view cube, xyz dots or footer, the bar keeps Report and Sign out - and the model appears there; a double-click on the model
   or asking to edit opens the editing workspace */
body.v8-calm #view-cube,body.v8-calm .v8-site-dots,body.v8-calm:is(.v8-no-model,.v8-home-dock) #view-bar,body.v8-calm #empty-model,body.v8-calm #workspace>footer{visibility:hidden!important;pointer-events:none!important}
/* the bar in a project matches the start screen's (Eddy 2026-11-10 "where are the rest of the menu bar items?"): AI, Live code, Tools,
   People, Report, Sign out; only the editing workspace's Model button and the second AI glyph stay out of the calm view */
body.v8-calm #workspace .header-right .bar-glyph:is([data-name="Model"],[data-name="AI"]){display:none!important}
body.v8-calm #workspace .header-right .bar-glyph[data-name="Tools"]{order:1}body.v8-calm #workspace .header-right .bar-glyph[data-name="People"]{order:2}
body.v8-calm #workspace .header-right .bar-glyph[data-name="Report"]{order:3}body.v8-calm #workspace .header-right .bar-glyph[data-name="Sign out"]{order:4}
/* who of DAVINCI's team works on the answer (agent.js, team.py): a small gold line above it */
#agent-messages .agent-msg.v8-team{color:#f3d58c!important;font:500 10.5px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;opacity:.85;padding:0!important;border:0!important;background:none!important;margin-top:2px!important}
#agent-messages .agent-msg.v8-team::before{content:'';display:inline-block;width:5px;height:5px;margin-right:6px;border-radius:50%;background:#f3d58c;vertical-align:1px}
/* Chat sides (Eddy 2026-11-08 "always put my text aligned right, DAVINCI left"): your words on the right with the gold bar on their
   right edge; DAVINCI, its team line and its notes on the left */
.davinci-dock #agent-messages .agent-msg.user{text-align:right!important;border-left:0!important;border-right:2px solid rgba(243,213,140,.75)!important;padding:1px 10px 1px 0!important;margin-left:15%!important}
.davinci-dock.open:not(.history) #agent-messages>.user,.davinci-dock .agent-msg.user{text-align:right!important}
.davinci-dock #agent-messages .agent-msg.user.pending{opacity:.8}
/* DAVINCI at work: three dots that move */
#agent-messages .v8-thinking{color:rgba(255,255,255,.7)!important;font-size:12px!important;display:flex!important;align-items:center;gap:8px}.v8-sand{display:block;width:66px;height:22px}.v8-home-link{cursor:pointer}.v8-confirm-row{display:flex;gap:10px;margin-top:8px}.v8-confirm-row button{font:inherit;font-size:12px;padding:5px 12px;border-radius:999px;border:1px solid #ffffff40;background:#ffffff14;color:#fff;cursor:pointer}.v8-confirm-row .v8-confirm-yes{border-color:#e58b6f;background:#e58b6f33}
.v8-dots{display:inline-flex;gap:4px}.v8-dots i{width:6px;height:6px;border-radius:50%;background:#f3d58c;animation:v8dot 1.2s ease-in-out infinite}
.v8-dots i:nth-child(2){animation-delay:.2s}.v8-dots i:nth-child(3){animation-delay:.4s}
@keyframes v8dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
/* the photo row: one line, sideways */
.v8-note-photos{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}
.v8-note-photos img{flex:none;width:56px!important;height:56px!important}
/* The team bar (agent.js teamBar): small glyphs on top of the chat; green while working on the answer */
#v8-team-bar{display:flex;gap:5px;justify-content:flex-start;padding:0 18px 5px;flex-wrap:wrap}
#v8-team-bar[hidden]{display:none}
#v8-team-bar .v8-agent{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:rgba(255,255,255,.6);animation:v8join .45s cubic-bezier(.2,.8,.2,1)}
#v8-team-bar .v8-agent svg,#v8-team-bar .v8-agent .gx{width:10px;height:10px}
#v8-team-bar .v8-agent.on{color:#7be0a0;background:rgba(70,209,124,.16);box-shadow:inset 0 0 0 1px rgba(123,224,160,.8),0 0 8px rgba(70,209,124,.45)}
#v8-team-bar .v8-agent.busy{animation:v8join .45s cubic-bezier(.2,.8,.2,1),v8work 1.4s ease-in-out infinite}
@keyframes v8join{from{opacity:0;transform:scale(.4)}}@keyframes v8work{50%{box-shadow:inset 0 0 0 1px rgba(123,224,160,.9),0 0 14px rgba(70,209,124,.8)}}
/* Team icons (Eddy 2026-11-08): above the chat bar, just the glyphs (no circles); green while working, plain while waiting (no red) */
#agent-form{position:relative}
#v8-team-bar{position:absolute!important;left:20px;bottom:calc(100% + 6px);padding:0!important;gap:9px!important;z-index:2;pointer-events:auto}
#v8-team-bar .v8-agent{width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;border-radius:0!important;transition:color .3s,filter .3s}
#v8-team-bar .v8-agent svg,#v8-team-bar .v8-agent .gx{width:15px!important;height:15px!important}
#v8-team-bar .v8-agent.off{color:rgba(255,255,255,.6);filter:none}
#v8-team-bar .v8-agent.on{color:#46d17c;filter:drop-shadow(0 0 5px rgba(70,209,124,.8))}
#v8-team-bar .v8-agent.busy{animation:v8join .45s cubic-bezier(.2,.8,.2,1),v8glow 1.2s ease-in-out infinite}
@keyframes v8glow{50%{filter:drop-shadow(0 0 9px rgba(70,209,124,1))}}
#agent-messages .agent-msg.v8-carry{color:rgba(255,255,255,.5)!important;font-size:11px!important;font-style:italic}
/* the chat box grows with a long message (agent.js grow): up to six lines, then it scrolls */
.davinci-dock #agent-form{height:auto!important;min-height:52px;align-items:center!important}
.davinci-dock #agent-input{resize:none!important;overflow-y:auto!important;max-height:150px!important;line-height:1.4!important;padding-top:10px!important;padding-bottom:10px!important}
/* No approval boxes, ever (Eddy 2026-11-08): DAVINCI's work goes into the model at once; Undo brings it back */
#agent-commit-all,.agent-commit-all,#proposal-actions .approve,#approve-proposal,#commit-proposal{display:none!important}
/* the report's screenshot (reports.js): the page drawn without its background picture, laid over the 3D model */
html.v8-shot,html.v8-shot body{background:transparent!important}html.v8-shot body:before{display:none!important}
/* Steady chat box while typing (Eddy 2026-11-08 "when I type the text seems like vibrating"): no height animation, one line when
   empty is the same height as one line of text, and the height is measured border-box so it never adds the padding twice */
.davinci-dock #agent-input{box-sizing:border-box!important;transition:none!important;line-height:18px!important;padding-top:6px!important;padding-bottom:6px!important;min-height:30px!important;max-height:120px!important}
.davinci-dock.v8-empty #agent-input{height:30px!important;padding-top:6px!important;padding-bottom:6px!important}
.davinci-dock:not(.v8-empty) #agent-input{max-height:120px!important}
.davinci-dock.v8-empty #agent-form,.davinci-dock #agent-form{min-height:44px!important}
/* Drop anywhere (attach.js): a calm glass veil with the gold edge while files are held over the page */
#v8-drop-veil{position:fixed;inset:14px;z-index:90;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .18s;border:1.5px dashed rgba(243,213,140,.75);border-radius:22px;background:rgba(20,18,12,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
#v8-drop-veil.on{opacity:1}
#v8-drop-veil .v8-drop-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 30px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 50px rgba(0,0,0,.25);font-family:Inter,Segoe UI,sans-serif;color:#fff;text-align:center}
#v8-drop-veil .v8-drop-card b{font-weight:500;font-size:16px;color:#f3d58c}
#v8-drop-veil .v8-drop-card span{font-weight:300;font-size:12px;color:rgba(255,255,255,.75)}
/* People: edit a person (reports.js personEditor) */
.v8-person-edit{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.v8-person-edit .dv-field{width:100%;box-sizing:border-box;padding:7px 10px;font:400 12px Inter,Segoe UI,sans-serif}
.v8-person-edit .v8-person-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.v8-person-edit .v8-report-said{grid-column:1/-1;font-size:11px;color:rgba(255,255,255,.8);word-break:break-all}
/* The speaker button is off for now (Eddy 2026-11-09 "this is not working, remove it for now") */
#dock-speak{display:none!important}
/* The newest message stands out, older ones fade (Eddy 2026-11-09): older lines at half strength (full again under the pointer); the newest
   rises in and carries a flowing AI light beside it (the ring's colours: gold, coral, violet, teal) and a soft glow. DAVINCI's words stay white. */
.davinci-dock #agent-messages>.agent-msg.v8-older{opacity:.5;transition:opacity .35s ease}
.davinci-dock #agent-messages>.agent-msg.v8-older:hover{opacity:.9}
.davinci-dock #agent-messages>.agent-msg.v8-newest{opacity:1;position:relative;transition:opacity .35s ease}
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user){padding-left:14px!important;text-shadow:0 0 18px rgba(243,213,140,.28)}
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user)::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:3px;background:linear-gradient(180deg,#f3d58c,#ff9a76,#b18cff,#6fd3d0,#f3d58c);background-size:100% 300%;animation:v8aiflow 3.2s linear infinite;box-shadow:0 0 10px rgba(177,140,255,.55)}
.davinci-dock #agent-messages>.agent-msg.v8-newest.user{text-shadow:0 0 14px rgba(243,213,140,.45)}
.davinci-dock #agent-messages>.agent-msg.v8-arrive{animation:v8arrive .55s cubic-bezier(.2,.8,.2,1)}
@keyframes v8aiflow{0%{background-position:0 0}100%{background-position:0 300%}}
@keyframes v8arrive{0%{opacity:0;transform:translateY(-6px);filter:blur(2px)}100%{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user)::before,.davinci-dock #agent-messages>.agent-msg.v8-arrive{animation:none}}
/* The newest DAVINCI message in colour (Eddy 2026-11-09 "try colouring all text"): a slow-flowing light gradient, light enough to read on the glass */
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user):not(.v8-thinking){background-color:transparent!important;background-image:linear-gradient(100deg,#ffe7a8 0%,#ffc9a8 25%,#e2ccff 50%,#bff2e6 75%,#ffe7a8 100%)!important;background-repeat:repeat!important;background-size:200% 100%;background-position:0% 50%;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 0 10px rgba(243,213,140,.22));animation:v8aitext 9s linear infinite}
.davinci-dock #agent-messages>.agent-msg.v8-newest.v8-arrive:not(.user):not(.v8-thinking){animation:v8arrive .55s cubic-bezier(.2,.8,.2,1),v8aitext 9s linear infinite}
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user) *{-webkit-text-fill-color:inherit}
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user) img,.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user) button{-webkit-text-fill-color:initial}
@keyframes v8aitext{0%{background-position:0% 50%}100%{background-position:-200% 50%}}      /* one whole gradient width per cycle: seamless */
@media (prefers-reduced-motion:reduce){.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user){animation:none}}
/* The coloured newest line is 2 px bigger (Eddy 2026-11-10); when a newer one arrives it is the size of the others (no easing: the list is rebuilt every second) */
.davinci-dock #agent-messages>.agent-msg:not(.user){transition:opacity .35s ease}
.davinci-dock #agent-messages>.agent-msg.v8-newest:not(.user):not(.v8-thinking){font-size:14px!important}
/* AI card (Eddy 2026-11-09): what is working now and what it cost, above the model of each area */
.v8-ai-now{display:grid;gap:4px;margin:0 0 12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);font:400 12.5px/1.4 Inter,Segoe UI,sans-serif;color:#fff}
.v8-ai-now .v8-ai-working{display:flex;align-items:center;gap:8px}
.v8-ai-now .v8-ai-working i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);flex:none}
.v8-ai-now .v8-ai-working.on i{background:#46d17c;box-shadow:0 0 8px rgba(70,209,124,.9)}
.v8-ai-now .v8-ai-cost{color:#f3d58c;font-weight:500}
/* prices in one column all the way down (Eddy 2026-11-09): name, provider, then a fixed price column */
.v8-area-item .v8-area-top{display:grid!important;grid-template-columns:auto minmax(0,1fr) 170px;align-items:baseline;column-gap:8px;position:relative}
.v8-area-top small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-area-top .v8-area-price{grid-column:3;text-align:left;font-style:normal;font-size:11px;font-weight:500;color:#f3d58c;white-space:nowrap}
.v8-area-top .v8-area-sug{position:absolute;right:-12px;top:50%;transform:translateY(-50%)}
/* AI card: wider, one line per model, few words (Eddy 2026-11-09 "make box larger and show one line") */
#v8-ai-card{width:min(560px,calc(100vw - 32px))}
#v8-ai-card .v8-area-menu{max-height:min(420px,calc(100vh - 260px))}
#v8-ai-card .v8-area-item{padding:7px 12px!important}
.v8-area-item .v8-area-top{grid-template-columns:minmax(0,1fr) 120px!important}
.v8-area-top b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-area-top .v8-area-price{grid-column:2!important;font-variant-numeric:tabular-nums}
.v8-area-hint{display:grid;grid-template-columns:minmax(0,1fr) 120px;padding:2px 12px 6px;font-size:10.5px;opacity:.5}
.v8-area-hint::before{content:''}
/* AI slider beside the title + equal model buttons (Eddy 2026-11-09) */
#v8-ai-card .v8-topcard-head{gap:18px}
#v8-ai-card .v8-topcard-head .dv-title{flex:none}
#v8-ai-card .v8-area-pick{display:block;width:180px;flex:none;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Request access on the sign-in screen (Eddy 2026-11-09) */
.v7-request{position:absolute;left:50%;bottom:150px;transform:translateX(-50%);width:min(520px,calc(100vw - 32px));display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px;border-radius:24px;pointer-events:auto;z-index:5}
.v7-request[hidden]{display:none}
.v7-request input,.v7-request select{min-width:0;height:36px;padding:0 14px;border-radius:999px;border:0;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);color:#fff;font:400 12px Inter,Segoe UI,sans-serif;outline:none}
.v7-request input[name=name],.v7-request input[name=email]{grid-column:span 1}
.v7-request input[name=password],.v7-request select[name=level]{grid-column:1/-1}
.v7-request input,.v7-request select,.v7-request button{margin:0!important}
.v7-request-row button{min-height:0}
.v7-request select option{color:#111}
.v7-request input::placeholder{color:#ffffff80}
.v7-request-said{grid-column:1/-1;min-height:14px;text-align:center;font-size:11.5px;color:#f1d48d}
.v7-request-row{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
.v7-request-row button{height:36px;padding:0 18px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font:500 12px Inter,Segoe UI,sans-serif;cursor:pointer}
.v7-request-row .v7-request-back{background:none;color:#ffffffa6;padding:0 4px}
body:has(.v7-request:not([hidden])) .davinci-dock #agent-form{display:none}
@media(max-width:480px){.v7-request{grid-template-columns:1fr;bottom:110px}}
/* People: waiting requests (Eddy 2026-11-09) */
.bar-glyph[data-name="People"]{position:relative}
.v8-people-badge{background:#f3d58c!important;color:#1b1407!important}
.v8-person-waiting{box-shadow:inset 0 0 0 1px rgba(243,213,140,.45);border-radius:14px}
.v8-person-decide{display:flex;align-items:center;gap:6px;padding:0 10px 10px 40px}
.v8-person-decide .v8-approve{background:rgba(243,213,140,.22)!important;color:#f3d58c!important}
/* AI slider drawn by hand: thin track, three stops, labels centred under them; a price beside each area's model (Eddy 2026-11-09) */
#v8-ai-card .v8-area-cost{margin:0 12px 0 auto;font-style:normal;font-size:11px;font-weight:500;color:#f3d58c;font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .3s}
#v8-ai-card .v8-area-cost.v8-changed{animation:v8-cost-flash 1.2s ease}
@keyframes v8-cost-flash{0%{color:#fff;text-shadow:0 0 10px rgba(243,213,140,.9)}100%{color:#f3d58c;text-shadow:none}}
/* AI slider: large, smooth, a tick per step, labels centred on their steps (Eddy 2026-11-09) */
#v8-ai-card .v8-topcard-head{align-items:flex-start}
#v8-ai-card .v8-topcard-head .dv-title{margin-top:13px}
.v8-ai-slider{flex:1;min-width:0;margin:0 8px 0 4px;padding:0 44px;outline:none}
.v8-ai-track{position:relative;height:52px;cursor:grab;touch-action:none;user-select:none}
.v8-ai-slider.dragging .v8-ai-track{cursor:grabbing}
.v8-ai-rail{position:absolute;left:0;right:0;top:17px;height:6px;border-radius:6px;background:rgba(255,255,255,.16);overflow:hidden}
.v8-ai-fill{position:absolute;inset:0;background:linear-gradient(90deg,#f3d58c 0%,#e9c77a 30%,#5b8cff 70%,#1450ff 100%);clip-path:inset(0 calc(100% - var(--at,0%)) 0 0);transition:clip-path .28s cubic-bezier(.2,.8,.2,1)}
.v8-ai-thumb{position:absolute;top:20px;left:var(--at,0%);width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:color-mix(in srgb,#1450ff var(--at,0%),#f3d58c);box-shadow:0 0 0 3px color-mix(in srgb,rgba(20,80,255,.3) var(--at,0%),rgba(243,213,140,.22)),0 2px 6px rgba(0,0,0,.35);transition:left .28s cubic-bezier(.2,.8,.2,1),transform .15s;pointer-events:none;z-index:2}
.v8-ai-slider.dragging .v8-ai-fill,.v8-ai-slider.dragging .v8-ai-thumb{transition:none}
.v8-ai-slider.dragging .v8-ai-thumb{transform:scale(1.12)}
.v8-ai-slider.custom .v8-ai-thumb{background:rgba(255,255,255,.7);box-shadow:0 3px 10px rgba(0,0,0,.4)}
.v8-ai-slider:focus-visible .v8-ai-thumb{box-shadow:0 0 0 3px #fff,0 0 0 8px rgba(243,213,140,.35)}
.v8-ai-tick{position:absolute;top:18px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:rgba(255,255,255,.4);pointer-events:none;z-index:1}
.v8-ai-tick.past{background:rgba(42,30,8,.45)}
#v8-ai-card .v8-ai-mark{position:absolute;top:33px;width:auto;height:auto;margin:0;padding:2px 4px;transform:translateX(-50%);border:0;border-radius:6px;background:none;box-shadow:none;color:rgba(255,255,255,.6);font:500 12px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
#v8-ai-card .v8-ai-mark:hover{background:none;color:#fff}
#v8-ai-card .v8-ai-mark.on{color:#f3d58c}
#v8-ai-card .v8-area-pick.v8-changed{animation:v8-pick-flash 1s ease}
@keyframes v8-pick-flash{0%{box-shadow:inset 0 0 0 1px #f3d58c,0 0 14px rgba(243,213,140,.55)}100%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}}
/* People: a wide page, one line per person, every action on the line (Eddy 2026-11-09) */
.v8-topcard.v8-people-page{left:16px;right:16px;margin:0 auto;width:min(1280px,calc(100vw - 32px));max-height:calc(100vh - 104px)}
.v8-pp-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.v8-pp-find{flex:0 1 300px;min-width:180px;height:32px;padding:0 14px;border:0;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);color:#fff;font:400 12.5px Inter,system-ui,sans-serif;outline:none}
.v8-pp-find::placeholder{color:rgba(255,255,255,.5)}
.v8-pp-chips{display:flex;gap:6px;flex-wrap:wrap}
.v8-pp-chip{height:30px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);font:500 12px Inter,system-ui,sans-serif;cursor:pointer}
.v8-pp-chip.on{background:rgba(255,255,255,.2);color:#fff}
.v8-pp-chip.gold{color:#f3d58c;box-shadow:inset 0 0 0 1px rgba(243,213,140,.5)}
.v8-pp-sum{margin-left:auto;font-size:12px;color:rgba(255,255,255,.6)}
.v8-pp-table{display:grid;gap:2px}
.v8-pp-row{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(120px,1.3fr) minmax(70px,.7fr) 110px minmax(90px,.8fr) minmax(80px,.7fr) minmax(56px,.5fr) 400px;align-items:center;column-gap:14px;padding:9px 12px;border-radius:14px;cursor:pointer}
.v8-pp-row[hidden]{display:none}
.v8-pp-row:not(.v8-pp-head):hover{background:rgba(255,255,255,.06)}
.v8-pp-row.open{background:rgba(255,255,255,.08)}
.v8-pp-row.waiting{box-shadow:inset 0 0 0 1px rgba(243,213,140,.5)}
.v8-pp-head{cursor:default;padding-top:4px;padding-bottom:6px;font:600 10.5px Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.v8-pp-row>span{min-width:0;display:grid;gap:2px}
.v8-pp-row>span b{font-weight:500;font-size:13px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-pp-row>span small{font-size:11.5px;color:rgba(255,255,255,.55);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-pp-ai b,.v8-pp-credit b{font-variant-numeric:tabular-nums}
.v8-pp-row>.v8-pp-access{display:inline-block;white-space:nowrap;justify-self:start;padding:3px 10px;border-radius:999px;font-size:11.5px;font-weight:500;background:rgba(70,209,124,.16);color:#7fe0a4}
.v8-pp-access.pending{background:rgba(243,213,140,.18);color:#f3d58c}
.v8-pp-access.blocked{background:rgba(255,99,99,.16);color:#ff9a9a}
.v8-pp-row>.v8-pp-acts{display:flex;gap:4px;justify-content:flex-end;flex-wrap:nowrap}
.v8-pp-act{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:0;border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font:500 11.5px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.v8-pp-act:hover{background:rgba(255,255,255,.18)}
.v8-pp-act svg{width:13px;height:13px}
.v8-pp-act.gold{background:rgba(243,213,140,.22);color:#f3d58c}
.v8-pp-out{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:12px;color:#f3d58c}
.v8-pp-out[hidden]{display:none}
.v8-pp-out textarea{flex:1 1 420px;min-height:44px;padding:8px 12px;border:0;border-radius:12px;background:rgba(0,0,0,.25);color:#fff;font:400 12px/1.4 Inter,system-ui,sans-serif;resize:vertical}
.v8-pp-detail{grid-column:1/-1;display:none;gap:10px;margin-top:10px;cursor:default}
.v8-pp-row.open .v8-pp-detail{display:grid}
.v8-pp-facts{display:flex;flex-wrap:wrap;gap:6px 22px}
.v8-pp-facts span{display:grid;gap:1px;max-width:420px}
.v8-pp-facts small{font-size:10.5px;color:rgba(255,255,255,.5)}
.v8-pp-facts b{font-weight:400;font-size:12.5px;color:#fff;white-space:normal}
.v8-pp-form{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.v8-pp-form input{flex:1 1 140px;min-width:0;height:30px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);color:#fff;font:400 12px Inter,system-ui,sans-serif;outline:none}
.v8-pp-share{grid-column:1/-1;margin-top:8px;cursor:default}
.v8-pp-share[hidden]{display:none}
.v8-pp-share input[type=search]{flex:1 1 100%}
.v8-pp-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:3px 8px;flex:1 1 100%;min-width:0;max-height:200px;overflow:auto;margin:0;padding:5px;border:1px solid rgba(255,255,255,.18);border-radius:12px}
.v8-pp-projects[hidden],.v8-pp-projects label[hidden]{display:none}
.v8-pp-projects label{display:flex;align-items:center;gap:8px;min-height:32px;padding:2px 6px;border-radius:7px;font-size:12px;cursor:pointer}
.v8-pp-projects label:hover{background:rgba(255,255,255,.08)}
.v8-pp-projects label input{flex:none;width:16px;height:16px;margin:0;padding:0;accent-color:#f3d58c;box-shadow:none;outline:revert}
.v8-pp-projects label span{min-width:0;overflow-wrap:anywhere}
.v8-pp-projects label small{margin-left:auto;color:rgba(255,255,255,.65);white-space:nowrap}
.v8-pp-share [role=status]{flex:1 1 200px;font-size:12px}
.v8-pp-share button:disabled{opacity:.45;cursor:default}
.v8-pp-credit-form input[name=amount]{flex:0 1 130px}
.v7-reset input{grid-column:1/-1}
/* People at medium widths (Eddy's window): one line per person with icon-only actions (name on hover), then fewer columns */
@media(max-width:1300px){.v8-pp-row{grid-template-columns:minmax(150px,1.5fr) minmax(110px,1.2fr) minmax(64px,.6fr) 110px minmax(84px,.8fr) minmax(70px,.6fr) minmax(50px,.4fr) 224px}.v8-pp-act span{display:none}.v8-pp-acts .v8-pp-act{width:34px;padding:0;justify-content:center}.v8-pp-act svg{width:15px;height:15px}}
@media(max-width:1120px){.v8-pp-row{grid-template-columns:minmax(150px,1.6fr) minmax(110px,1.3fr) 110px minmax(84px,.8fr) minmax(70px,.6fr) 224px}.v8-pp-row>.v8-pp-country,.v8-pp-row>.v8-pp-credit,.v8-pp-head>span:nth-child(3),.v8-pp-head>span:nth-child(7){display:none}}
/* Phones: one menu button in the top bar, an Actions drop-down on each person (Eddy 2026-11-09) */
.v8-bar-menu{position:relative;display:none}
.v8-bar-menu-list{position:absolute;top:calc(100% + 12px);right:-6px;min-width:190px;display:grid;gap:2px;padding:6px;border-radius:18px;z-index:80}
.v8-bar-menu-list[hidden]{display:none}
.v8-bar-menu-item{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border:0;border-radius:12px;background:none;color:#fff;font:500 13.5px Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.v8-bar-menu-item:hover{background:rgba(255,255,255,.12)}
.v8-bar-menu-item svg{width:17px;height:17px;flex:none}
.v8-bar-menu-item em{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f3d58c;color:#1b1407;font:600 10px/18px Inter,system-ui,sans-serif;font-style:normal;text-align:center}
@media(max-width:600px){.v7-home-bar .v7-person .v7-project-switch,#workspace>header .v7-project-switch{max-width:none!important;min-width:0;flex:0 1 auto}.v8-bar-menu{display:block}.v7-home-bar .v8-home-right,.v7-home-bar>.bar-glyph,#workspace .header-right>.bar-glyph:not(.v8-bar-menu-btn),#workspace .header-right .v8-home-right{display:none!important}.v7-home-bar .v8-bar-menu{margin-left:auto}}
.v8-pp-fold{display:none}
@media(max-width:920px){.v8-pp-row{grid-template-columns:1fr auto;position:relative}.v8-pp-row>span:not(.v8-pp-person):not(.v8-pp-acts):not(.v8-pp-access){display:none}.v8-pp-head{display:none}.v8-pp-row>.v8-pp-acts{grid-column:1/-1;justify-content:flex-start;margin-top:6px;position:relative;flex-wrap:nowrap}.v8-pp-acts>.v8-pp-act:not(.v8-pp-fold){display:none}.v8-pp-fold{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font:500 12px Inter,system-ui,sans-serif;cursor:pointer}.v8-pp-fold svg{width:14px;height:14px}.v8-pp-row.menu>.v8-pp-acts{display:grid;justify-content:stretch;gap:2px;padding:6px;border-radius:16px;background:rgba(0,0,0,.28)}.v8-pp-row.menu>.v8-pp-acts>.v8-pp-act{display:flex;width:auto;height:38px;padding:0 12px;border-radius:12px;background:none;justify-content:flex-start;font-size:13px}.v8-pp-row.menu>.v8-pp-acts>.v8-pp-act span{display:inline}.v8-pp-row.menu>.v8-pp-acts>.v8-pp-act:hover{background:rgba(255,255,255,.12)}.v8-pp-row.menu>.v8-pp-acts>.v8-pp-fold{background:rgba(255,255,255,.16)}.v8-pp-top{gap:8px}.v8-pp-find{flex:1 1 100%}.v8-pp-sum{display:none}}
.v8-pp-access.switch{cursor:pointer;transition:box-shadow .15s,background .15s}
.v8-pp-access.switch:hover{box-shadow:inset 0 0 0 1px currentColor}
.v8-pp-access.ask{background:rgba(255,99,99,.22);color:#ffb3b3;box-shadow:inset 0 0 0 1px currentColor}
.v8-pp-access.blocked.ask,.v8-pp-access.pending.ask{background:rgba(70,209,124,.2);color:#9fe9bd}
/* No model yet (the start screen, or a project with nothing built): the chat sits dead centre (Eddy 2026-11-10 "when no model in DAVINCI keep chat dead center") */
/* centred by a lift from its bottom place, so when modeling starts the chat glides slowly down and the model takes the screen (Eddy
   2026-11-10 "when modeling starts, chat then slowly drops down to allow full screen") */
/* the chat pill itself sits dead centre and never moves; DAVINCI's words grow below it (Eddy 2026-11-10 "this box is always dead center, never
   ever move unless you want to drop it down to show the model or images"). v7-shell.js measures the lift (--lift) that puts the pill's centre on
   the screen's centre; the box only glides (v8-gliding) when it drops for the model or comes back */
body.v8-home-dock:not(.v8-picture) .davinci-dock,body.v8-no-model:not(.v8-picture) .davinci-dock{bottom:64px!important;transform:translate(-50%,var(--lift,calc(-50vh + 64px + 50%)))!important}
.davinci-dock{transition:width .55s cubic-bezier(.2,.8,.2,1)}
.davinci-dock.v8-gliding{transition:width .55s cubic-bezier(.2,.8,.2,1),transform 1.8s cubic-bezier(.45,0,.2,1)}
/* The chat appears after the opening ring has gone, fading in (Eddy 2026-11-10 "show chat after ring effect is gone", "fade in"); body.breath marks the ring's end (v7-shell.js) */
body:not(.breath) .davinci-dock{opacity:0!important;pointer-events:none!important}
/* then the gold figure in the middle fades away and the chat fades in where it was (Eddy 2026-11-10 "after the logo disappears, chat fades in") */
body.breath #v7-figure-wrap{animation:v8logoout 1.2s ease both;pointer-events:none}
@keyframes v8logoout{from{opacity:1}to{opacity:0;visibility:hidden}}
body.breath .davinci-dock{animation:v8chatin 1.4s ease 1.1s both}
/* the microphone's WebGL ring waits until the chat has faded in: inside the fading box it showed as a white square at a reload (Eddy 2026-11-10) */
.davinci-dock:not(.v8-shown) .mic-ring{visibility:hidden!important}
@keyframes v8chatin{from{opacity:0}to{opacity:1}}
/* The project list: find, rename, delete (project-list.js, Eddy 2026-11-10) */
.v8-pl .v8-pl-find{display:block;width:calc(100% - 8px);margin:2px 4px 8px;padding:8px 12px;border:1px solid #ffffff2e;border-radius:12px;background:#ffffff14;color:#fff;font:400 13px Inter,Segoe UI,sans-serif;outline:none}
.v8-pl .v8-pl-find:focus{border-color:#f1d48d99}
.v8-pl .v8-pl-find::placeholder{color:#ffffff80}
.v8-pl .v8-pl-row{display:flex;align-items:center;gap:4px;border-radius:12px}
.v8-pl .v8-pl-row:hover{background:#ffffff12}
.v8-pl .v8-pl-row .v8-pl-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-pl .v8-pl-row .v8-pl-name:hover{background:none}
.v8-pl .v8-pl-acts{display:flex;gap:2px;opacity:0;transition:opacity .15s}
.v8-pl .v8-pl-row:hover .v8-pl-acts,.v8-pl .v8-pl-row:focus-within .v8-pl-acts{opacity:1}
@media(hover:none){.v8-pl .v8-pl-acts{opacity:1}}
.v8-pl button.v8-pl-act{width:auto;padding:5px 9px;border-radius:999px;font-size:11px;color:#ffffffcc}
.v8-pl button.v8-pl-act:hover{background:#ffffff24;color:#fff}
.v8-pl button.v8-pl-del{color:#f0a48c}
.v8-pl .v8-pl-edit{flex:1;margin:4px;padding:8px 12px;border:1px solid #f1d48d99;border-radius:12px;background:#ffffff1a;color:#fff;font:400 13px Inter,Segoe UI,sans-serif;outline:none}
.v8-pl .v8-pl-ask{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;color:#fff;font-size:12px}
.v8-pl .v8-pl-ask span{flex:1 1 100%}
.v8-pl .v8-pl-none,.v8-pl .v8-pl-note{padding:8px 12px;color:#ffffffaa;font-size:12px}
.v8-pl .v8-pl-note.error{color:#f0a48c}
/* the words under the pill come two seconds after it, typing in (v7-shell.js typeIn) */
.davinci-dock:not(.v8-msgs-in) #agent-messages{opacity:0!important;pointer-events:none!important}
.davinci-dock #agent-messages{transition:opacity .6s ease}
/* pictures DAVINCI painted (make_picture): side by side, two per row for options */
.agent-picture-row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px}.agent-picture-row.n2,.agent-picture-row.n3,.agent-picture-row.n4{grid-template-columns:1fr 1fr}.agent-picture-row figure{margin:0;min-width:0}.agent-picture-row img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:8px;background:#0002}.agent-picture-row figcaption{font-size:12px;margin-top:4px;opacity:.85}
/* the picture stage (agent.js pictureStage): pictures fill the screen behind the chat, which drops to the bottom; options two by two */
#v8-picture-stage{position:fixed;inset:0;z-index:15;display:flex;align-items:center;justify-content:center;padding:0;background:#0b0a08;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:v8chatin .6s ease both}#v8-picture-stage[hidden]{display:none}body.v8-picture .davinci-dock{z-index:16!important}.v8-ps-grid{display:grid;gap:2px;width:100vw;height:100vh;grid-template-columns:1fr}.v8-ps-grid.n2{grid-template-columns:1fr 1fr}.v8-ps-grid.n3,.v8-ps-grid.n4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.v8-ps-grid figure{margin:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.v8-ps-grid figure{position:relative;width:100%;height:100%}.v8-ps-grid img{width:100%;height:100%;object-fit:cover}.v8-ps-grid img.whole{object-fit:contain;background:#f7f5f0}.v8-ps-grid figcaption{position:absolute;left:16px;top:90px;max-width:calc(100% - 32px);box-sizing:border-box;color:#fff;font-size:13px;line-height:1.3;padding:4px 8px;border-radius:5px;background:rgb(0 0 0 / 68%);overflow-wrap:anywhere}.v8-ps-grid.n1 figcaption{display:none}.v8-ps-close{position:absolute;z-index:3;top:84px;right:24px;height:36px;padding:0 18px;border-radius:999px;letter-spacing:.08em;font-family:Inter,system-ui,sans-serif;border:1px solid #ffffff40;background:#0b0a08b3;color:#fff;font-size:13px;line-height:1;cursor:pointer}.v8-ps-grid:not(.many) figure{cursor:zoom-out}/* in the chat the pictures are small, so the box keeps its size: a click opens the stage */
.davinci-dock .agent-pictures{background:transparent!important;border:0!important;padding:0!important}.davinci-dock .agent-picture-row{display:flex!important;gap:6px;margin:2px 0 4px}.davinci-dock .agent-picture-row figure{flex:0 0 auto}.davinci-dock .agent-picture-row img{width:auto;height:44px;aspect-ratio:3/2;border-radius:6px;cursor:zoom-in}.davinci-dock .agent-picture-row figcaption{display:none}
/* the render gallery (agent.js): a floating folder with the number of renders; dragged anywhere; over the gallery stage the renders tile */
#v8-gallery{position:fixed;left:24px;top:84px;z-index:17;display:flex;align-items:center;gap:6px;padding:7px 11px;border-radius:14px;border:1px solid #ffffff38;background:#1b1712a6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#ffe7a8;cursor:grab;touch-action:none;box-shadow:0 6px 24px #0006}#v8-gallery[hidden]{display:none}#v8-gallery svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}#v8-gallery b{font:500 12px Inter,system-ui,sans-serif;color:#fff}#v8-gallery:active{cursor:grabbing}body:not(.v8-calm):not(.v8-picture) #v8-gallery{top:auto;bottom:110px}.v8-ps-grid.many{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-template-rows:none;grid-auto-rows:220px;overflow:auto;padding:84px 24px 200px;box-sizing:border-box}.v8-ps-grid.many figure{cursor:zoom-in}.v8-ps-grid.many img{object-fit:cover;border-radius:10px}.v8-ps-grid.many figcaption{display:block;top:auto;bottom:10px;left:10px;max-width:calc(100% - 20px)}
.davinci-dock .agent-render-row img{width:auto!important;height:44px;border-radius:6px;cursor:zoom-in}.davinci-dock .agent-render>strong{display:none}
/* the render tool on the stage (agent.js renderTool), in the DAVINCI standard (davinci-standard.css): light glass, the standard's title, chips, field and
   primary button, DAVINCI glyphs; a faint dark veil under the glass keeps white words readable over a bright picture */
.v8-rt{position:absolute;z-index:3;right:24px;top:136px;width:min(292px,calc(100vw - 48px));display:flex;flex-direction:column;gap:12px;padding:18px 18px 16px!important;background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane)!important;font-size:var(--dv-size);animation:v8chatin .5s var(--dv-ease) both}.v8-rt-title{display:flex;align-items:center;gap:8px;margin:0 2px 2px!important}.v8-rt-title .gx{width:16px;height:16px;color:var(--dv-gold)}.v8-rt-scenes{display:flex;gap:8px}.v8-rt-scene{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;background:transparent!important;color:var(--dv-muted)!important;transition:all .2s var(--dv-ease)}.v8-rt-scene .gx{width:15px;height:15px;color:var(--dv-faint)}.v8-rt-scene:hover{background:var(--dv-pane-strong)!important;color:#fff!important}.v8-rt-scene.on{border-color:var(--dv-gold)!important;color:var(--dv-gold)!important;background:rgba(243,213,140,.10)!important}.v8-rt-scene.on .gx{color:var(--dv-gold)}.v8-rt input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:18px;margin:4px 0 0;background:transparent;cursor:pointer;outline:none}.v8-rt input[type=range]::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:linear-gradient(90deg,var(--dv-gold) var(--at,66%),var(--dv-line) var(--at,66%))}.v8-rt input[type=range]::-moz-range-track{height:2px;border-radius:2px;background:var(--dv-line)}.v8-rt input[type=range]::-moz-range-progress{height:2px;background:var(--dv-gold)}.v8-rt input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-6px;border-radius:50%;background:#fff;border:0;box-shadow:0 0 0 4px rgba(243,213,140,.28),0 2px 8px rgba(0,0,0,.4)}.v8-rt input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:0;box-shadow:0 0 0 4px rgba(243,213,140,.28)}.v8-rt-ends{display:flex;justify-content:space-between;margin-top:-6px}.v8-rt-ends button{padding:2px 0;border:0;background:none;color:var(--dv-faint);font:400 11px var(--dv-font);cursor:pointer;transition:color .2s var(--dv-ease)}.v8-rt-ends button.on{color:#fff}.v8-rt-ends button:hover{color:var(--dv-soft)}.v8-rt-level{display:flex;justify-content:space-between;align-items:baseline;margin-top:2px}.v8-rt-level b{font:300 20px/1.1 var(--dv-font);letter-spacing:.01em;background:linear-gradient(100deg,#ffe7a8,#ffc9a8,#e2ccff,#bff2e6);-webkit-background-clip:text;background-clip:text;color:transparent}.v8-rt-level span{font-size:11px;color:var(--dv-muted)}.v8-rt textarea{width:100%;box-sizing:border-box;resize:none;min-height:96px;max-height:40vh;border-radius:16px!important;font:300 13px/1.5 var(--dv-font)!important;text-shadow:0 1px 2px rgba(0,0,0,.35)}.v8-rt-go{padding:10px 0!important;font:500 12px var(--dv-font)!important;letter-spacing:.14em;text-transform:uppercase;transition:transform .2s var(--dv-ease),opacity .2s}.v8-rt-go:hover:not(:disabled){transform:translateY(-1px)}.v8-rt-go:disabled{opacity:.4;cursor:default}.v8-rt-msg{margin:0;min-height:16px;font-size:11px;color:var(--dv-gold);text-align:center}.v8-rt-msg .v8-sand{margin:0 auto}.v8-ps-close{display:flex!important;align-items:center;gap:8px;width:auto!important;height:36px!important;padding:0 16px 0 12px!important;border-radius:var(--dv-r-bar)!important;background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane)!important;font:400 var(--dv-size) var(--dv-font)!important;letter-spacing:.1em!important;text-transform:uppercase}.v8-ps-close .gx{width:14px;height:14px;color:var(--dv-gold)}.v8-ps-close:hover{background:var(--dv-hover)!important}#v8-gallery{border-radius:var(--dv-r-bar)!important;padding:7px 13px 7px 11px!important;background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane)!important;color:#fff!important}#v8-gallery .gx{width:17px;height:17px;color:var(--dv-gold)}#v8-gallery b{font:400 var(--dv-size) var(--dv-font)!important}.v8-ba-before{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:inset(0 100% 0 0);pointer-events:none;background:#e9e7e2}.v8-ba-handle{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,.85);box-shadow:0 0 10px rgba(0,0,0,.5);cursor:ew-resize;z-index:2;touch-action:none}.v8-ba-handle::after{content:'';position:absolute;top:50%;left:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:1px solid var(--dv-edge);background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 0 0 4px rgba(243,213,140,.22)}.v8-ba-handle span{position:absolute;top:calc(50% + 24px);left:50%;transform:translateX(-50%);font:400 10px var(--dv-font);letter-spacing:.14em;text-transform:uppercase;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);white-space:nowrap}@media (max-width:700px){.v8-rt{top:auto;bottom:200px;right:12px}}
.v8-pl .v8-pl-size{flex:0 0 auto;margin-left:10px;font:400 11px var(--dv-font,Inter,sans-serif);color:rgba(255,255,255,.55);white-space:nowrap}.v8-pl .v8-pl-row:hover .v8-pl-size{color:rgba(255,255,255,.8)}
/* cameras (cameras.js): the chip under the render gallery and its panel, from the DAVINCI standard */
#v8-cameras{position:fixed;left:24px;top:126px;z-index:17;display:flex;align-items:center;gap:6px;padding:7px 13px 7px 11px;border-radius:var(--dv-r-bar);cursor:pointer;background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane)!important;color:#fff}#v8-cameras[hidden]{display:none}#v8-cameras .gx{width:17px;height:17px;color:var(--dv-gold)}#v8-cameras b{font:400 var(--dv-size) var(--dv-font)}body.v8-picture #v8-cameras{display:none}.v8-cam-panel{position:fixed;z-index:18;width:min(340px,calc(100vw - 48px));padding:16px 16px 14px!important;display:flex;flex-direction:column;gap:10px;background:linear-gradient(rgba(12,10,8,.34),rgba(12,10,8,.34)),var(--dv-pane)!important;font-size:var(--dv-size);animation:v8chatin .35s var(--dv-ease) both}.v8-cam-panel[hidden]{display:none}.v8-cam-title{display:flex;align-items:center;gap:8px;margin:0 2px 2px!important}.v8-cam-title .gx{width:16px;height:16px;color:var(--dv-gold)}.v8-cam-list{display:flex;flex-direction:column;gap:2px;max-height:38vh;overflow:auto;scrollbar-width:thin}.v8-cam-row{display:flex;align-items:center;gap:4px;border-radius:12px;padding:2px 4px}.v8-cam-row:hover{background:var(--dv-pane-strong)}.v8-cam-name{flex:1;min-width:0;text-align:left;padding:7px 8px;border:0;background:none;color:#fff;font:400 13px var(--dv-font);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v8-cam-act{padding:5px 9px;border:0;border-radius:var(--dv-r-bar);background:none;color:var(--dv-muted);font:400 11px var(--dv-font);cursor:pointer}.v8-cam-act:hover:not(:disabled){background:var(--dv-hover);color:#fff}.v8-cam-act:disabled{opacity:.4;cursor:default}.v8-cam-del{padding:5px 6px}.v8-cam-del .gx{width:12px;height:12px;display:block}.v8-cam-none{padding:8px;color:var(--dv-muted);line-height:1.45}.v8-cam-edit{width:100%;box-sizing:border-box}.v8-cam-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.v8-cam-foot .dv-btn{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.v8-cam-foot .dv-btn:disabled{opacity:.4;cursor:default}.v8-cam-add .gx{width:13px;height:13px;color:var(--dv-gold)}.v8-cam-msg{margin:0;min-height:15px;font-size:11px;color:var(--dv-gold)}.v8-rt-view{padding:4px 0 0;border:0;background:none;color:var(--dv-muted);font:400 11px var(--dv-font);letter-spacing:.06em;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.v8-rt-view:hover{color:#fff}
/* the AI card, tidied to the DAVINCI standard (Eddy 2026-11-10 "improve look of the AI box"): one calm status line, quiet prices, even rows,
   hairlines between the groups, the model in a glass pill; and the line of the daily model watch */
#v8-ai-card .v8-ai-now{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 8px!important;padding:9px 16px!important;border-radius:var(--dv-r-bar)!important;background:var(--dv-pane-strong)!important;border:1px solid var(--dv-line)!important;font:400 12px/1.3 var(--dv-font)!important}#v8-ai-card .v8-ai-now .v8-ai-cost{font-weight:400!important;font-variant-numeric:tabular-nums;white-space:nowrap}#v8-ai-card .v8-ai-watch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 14px;font:400 11px/1.4 var(--dv-font);color:var(--dv-faint)}#v8-ai-card .v8-ai-watch span{min-width:0}#v8-ai-card .v8-ai-check{height:auto!important;padding:3px 10px!important;background:none!important;box-shadow:inset 0 0 0 1px var(--dv-line);color:var(--dv-muted)!important;font-size:11px!important;white-space:nowrap}#v8-ai-card .v8-ai-check:hover:not(:disabled){color:#fff!important;background:var(--dv-pane-strong)!important}#v8-ai-card .v8-ai-check:disabled{opacity:.5}#v8-ai-card .v8-area-group{margin:14px 0 6px!important;padding-top:12px;border-top:1px solid var(--dv-line);font-size:11px!important}#v8-ai-card .v8-area-group:first-child{margin-top:0!important;padding-top:0;border-top:0}#v8-ai-card .v8-area{padding:5px 0!important}#v8-ai-card .v8-area>span{opacity:1!important;font:300 13.5px var(--dv-font);color:#fff}#v8-ai-card .v8-area-cost{color:var(--dv-muted)!important;font-weight:400!important}#v8-ai-card .v8-area-pick{height:30px!important;width:184px!important;background:var(--dv-pane-strong)!important;box-shadow:inset 0 0 0 1px var(--dv-edge)!important;font:400 12px var(--dv-font)!important;transition:background .2s var(--dv-ease)}#v8-ai-card .v8-area-pick:hover{background:var(--dv-hover)!important}
/* the project list's Select (project-list.js): tick several or all, delete them together */
.v8-pl .v7-pm-label{display:flex;align-items:center;justify-content:space-between}.v8-pl .v8-pl-select{opacity:.8}.v8-pl .v8-pl-select.on{color:#f3d58c;opacity:1}.v8-pl .v8-pl-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:6px 4px 2px;padding:6px 8px;border-radius:14px;background:rgba(255,255,255,.07)}.v8-pl .v8-pl-bar[hidden]{display:none}.v8-pl .v8-pl-bar .v8-pl-mass{margin-left:auto}.v8-pl .v8-pl-bar .v8-pl-act:disabled{opacity:.4;cursor:default}.v8-pl .v8-pl-askmany{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%;font-size:12px;line-height:1.45}.v8-pl .v8-pl-askmany span{flex:1 1 100%}.v8-pl .v8-pl-picking .v8-pl-name{display:flex;align-items:center;gap:10px}.v8-pl .v8-pl-tick{flex:none;width:15px;height:15px;border-radius:5px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);background:rgba(255,255,255,.06);transition:background .15s}.v8-pl .v8-pl-picked .v8-pl-tick{background:#f3d58c;box-shadow:none;background-image:linear-gradient(45deg,transparent 43%,#1d1a14 43% 57%,transparent 57%),linear-gradient(-45deg,transparent 43%,#1d1a14 43% 57%,transparent 57%);background-size:7px 7px,11px 11px;background-position:1px 6px,4px 2px;background-repeat:no-repeat}.v8-pl .v8-pl-picked{background:rgba(243,213,140,.10)}
/* edit mode is not crowded (Eddy 2026-11-10 "fix layout, too crowded and overlapping"): the render gallery, the cameras and the board belong to the
   calm view and leave in the editing workspace (they sat on the properties panel); the plan's X / Z readout and its typed box sit under the top
   bars, clear of the chat pill they used to cover */
body:not(.v8-calm) #v8-cameras,body:not(.v8-calm) #v8-gallery,body:not(.v8-calm) #v8-board,body:not(.v8-calm) .v8-cam-panel{display:none!important}body.v8-plan2d .v8-plan-readout{bottom:auto!important;top:214px}body.v8-plan2d .v8-plan-typed{bottom:auto!important;top:254px}
/* the drawing set (drawings.js): its chip under the cameras, the size and units menu, and the card in the chat */
#v8-drawings{position:fixed;left:24px;top:168px;z-index:17;display:flex;align-items:center;gap:7px;padding:7px 13px 7px 11px;border-radius:var(--dv-r-bar);cursor:pointer;background:linear-gradient(rgba(12,10,8,.30),rgba(12,10,8,.30)),var(--dv-pane)!important;color:#fff}#v8-drawings[hidden]{display:none}#v8-drawings .gx{width:17px;height:17px;color:var(--dv-gold)}#v8-drawings b{font:400 var(--dv-size) var(--dv-font)}body:not(.v8-calm) #v8-drawings,body:not(.v8-calm) .v8-dw-menu,body.v8-picture #v8-drawings{display:none!important}#v8-board{top:210px!important}.v8-dw-menu{position:fixed;z-index:18;width:min(300px,calc(100vw - 48px));padding:16px!important;display:flex;flex-direction:column;gap:10px;background:linear-gradient(rgba(12,10,8,.34),rgba(12,10,8,.34)),var(--dv-pane)!important;animation:v8chatin .35s var(--dv-ease) both}.v8-dw-menu[hidden]{display:none}.v8-dw-title{display:flex;align-items:center;gap:8px;margin:0 2px 2px!important}.v8-dw-title .gx{width:16px;height:16px;color:var(--dv-gold)}.v8-dw-units{display:flex;gap:8px}.v8-dw-units .dv-chip{flex:1;cursor:pointer;background:transparent;color:var(--dv-muted)}.v8-dw-units .dv-chip.on{border-color:var(--dv-gold);color:var(--dv-gold);background:rgba(243,213,140,.10)}.v8-dw-sizes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v8-dw-sizes a{text-align:center;text-decoration:none;padding:9px 0}.v8-dw-note{margin:0;font:400 11px/1.45 var(--dv-font);color:var(--dv-muted)}.davinci-dock .v8-dw-card{display:flex!important;align-items:center;justify-content:space-between;gap:12px;font:400 12px var(--dv-font)}.v8-dw-card a{text-decoration:none;white-space:nowrap}
/* Render to model: the button under the render tool (agent.js) */
.v8-rt-build{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:8px}.v8-rt-build svg{width:16px;height:16px;flex:none}
/* The picture stage: what is happening, said on the picture (agent.js painting); the options' captions clear the gallery chip */
.v8-painting{position:absolute;left:50%;top:92px;transform:translateX(-50%);z-index:4;max-width:min(560px,calc(100vw - 340px));padding:9px 18px;border-radius:999px;color:#fff;font:500 13px/1.3 Inter,system-ui,sans-serif;text-align:center;pointer-events:none;animation:v8chatin .4s ease both}.v8-painting.busy::before{content:"";display:inline-block;width:8px;height:8px;margin-right:10px;border-radius:50%;background:#f2c95c;vertical-align:middle;animation:v8-beat 1.2s ease-in-out infinite}@keyframes v8-beat{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.25)}}.v8-ps-grid:not(.n1):not(.many) figcaption{left:76px;top:66px;max-width:calc(100% - 92px)}.v8-ps-grid:not(.n1):not(.many) figure{cursor:zoom-in}
.v8-ps-grid.n1 figure{cursor:default}
/* The picture as sand while it is worked on, and the new one settling (agent.js sandMorph) */
.v8-sandmorph{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;opacity:1;transition:opacity .9s ease;animation:v8chatin 1.2s ease both}.v8-sandmorph.out{opacity:0}.v8-ps-grid img{transition:filter .9s ease,opacity .9s ease}.v8-ps-grid img{transition:filter 2.4s ease,opacity 2.4s ease}.v8-ps-grid img.v8-under-sand{filter:blur(3px) saturate(.9) brightness(.86)}.v8-ps-grid img.v8-from-sand{filter:blur(7px) brightness(.8);transition:none}
/* The picture library: the gallery chip on the start screen, every project's pictures (agent.js gallery) */
body.v8-home-dock #v8-gallery.library:not([hidden]){display:flex!important}
/* DAVINCI's figure has no disc behind it, hovered or pressed (Eddy 2026-11-10: "why white effect behind logo") */
.v8-orb,.v8-orb:hover,.v8-orb:active,.v8-orb:focus{background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* The clock on work in progress (agent.js tick): on the stage's line and the chat's thinking line */
.v8-painting{overflow:hidden}.v8-painting .v8-clock{margin-left:12px;font-weight:600;font-variant-numeric:tabular-nums;color:#ffe7a8}.v8-painting .v8-bar{position:absolute;left:0;bottom:0;height:2px;width:0;background:#f2c95c;transition:width .5s linear}.v8-thinking .v8-clock{margin-left:10px;font-size:12px;font-variant-numeric:tabular-nums;color:#ffe7a8cc;vertical-align:middle}
/* DAVINCI's question about files from outside (local-files.js): a card just above the chat box */
#v8-files-card{position:fixed;left:50%;transform:translateX(-50%);z-index:19;width:min(560px,calc(100vw - 32px));padding:16px 18px!important;color:#fff;font:400 14px/1.45 Inter,system-ui,sans-serif;animation:v8chatin .4s ease both}#v8-files-card[hidden]{display:none}#v8-files-card.has-x p{padding-right:38px}#v8-files-card .dv-x{top:10px;right:10px}#v8-files-card p{margin:0;white-space:pre-line;overflow-wrap:anywhere}.v8-files-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.v8-files-acts .dv-btn{width:auto;min-width:64px;padding:0 16px}
/* The pictures chip in the top menu bar (agent.js gallery dock): an icon with its count, like the bar's other icons */
#v8-gallery.in-bar{position:static!important;left:auto!important;top:auto!important;height:32px;padding:0 10px!important;margin-right:4px;border:0!important;border-radius:999px;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;cursor:pointer;gap:5px;font-size:12px}#v8-gallery.in-bar:hover{background:#ffffff1f!important}#v8-gallery.in-bar svg{width:18px;height:18px}#v8-gallery.in-bar b{font-weight:500}
/* Signed out (welcome-chat.js): the chat waits out of sight; after five quiet seconds the sign-in pill rises to the middle */
body.v8-signed-out #davinci-dock,body.v8-signed-out #v8-orb,body.v8-signed-out #davinci-bubble{display:none!important}.v7-sign-in,.v7-sign-in-help{transition:bottom 1.1s cubic-bezier(.2,.8,.2,1)}body .v7-sign-in.up{bottom:calc(50% - 26px)!important;animation:v8-call 2.4s ease-in-out 1.1s 2}body .v7-sign-in-help.up{bottom:calc(50% + 40px)!important}@keyframes v8-call{0%,100%{box-shadow:0 10px 40px #0005}50%{box-shadow:0 0 0 6px #f2c95c33,0 10px 40px #0005}}@media(prefers-reduced-motion:reduce){.v7-sign-in,.v7-sign-in-help{transition:none}.v7-sign-in.up{animation:none}}
/* Signed out nothing is reachable but the sign-in (Eddy 2026-11-11: "if I am not logged in nothing should be accessible") */
body.v8-signed-out .v8-home-right,body.v8-signed-out .v8-bar-menu,body.v8-signed-out .home-choose,body.v8-signed-out .v7-home-meta,body.v8-signed-out #v8-gallery,body.v8-signed-out #toolsSheet,body.v8-signed-out .v8-topcard,body.v8-signed-out .v7-home-pen,body.v8-signed-out #v7-pen-toggle,body.v8-signed-out #magicSketch,body.v8-signed-out #v8-files-card,body.v8-signed-out #v8-picture-stage,body.v8-signed-out .v7-project-menu{display:none!important}
/* The Live code dot (Eddy 2026-11-11: "why red light always; green when code is working, no colour when off"); open errors show on the Report badge */
.v8-home-live>i,.v8-home-live:not(.has)>i{background:transparent!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)!important}.v8-home-live.run>i{background:#46d17c!important;box-shadow:0 0 8px rgba(70,209,124,.9)!important}
/* Today's AI spend next to AI (reports.js) */
.v8-home-cost:not([hidden]){display:inline-block!important;margin:0 4px 0 -2px;color:#ffe7a8;font:500 12px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
/* the pictures count in the bar is a badge on the icon's corner, like the reports' one (Eddy 2026-11-10: "it should look like the 6 to keep icons centered aligned") */
#v8-gallery.in-bar{position:relative!important;width:36px;padding:0!important;justify-content:center;gap:0}#v8-gallery.in-bar b{position:absolute;top:2px;right:0;min-width:15px;height:15px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#f3d58c;color:#2a2618!important;font:600 9px/15px Inter,system-ui,sans-serif!important;text-align:center;pointer-events:none}#v8-gallery.in-bar b:empty{display:none}
#v8-project-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;margin-left:4px;padding:0;border:0;border-radius:999px;background:transparent;color:rgba(255,255,255,.82);font-size:16px;line-height:1;cursor:pointer}#v8-project-close:hover{background:#ffffff1f;color:#fff}#v8-project-close .gx{width:13px;height:13px}body.v8-signed-out #v8-project-close{display:none}
/* The top bar is one colour (Eddy 2026-11-11: "all same color"): AI, the spend, the dot's ring and the icons */
.v8-home-right .v8-home-model,.v8-home-right .v8-home-cost:not([hidden]),.v8-home-right #v8-gallery.in-bar,.v8-home-right #v8-gallery.in-bar b{color:#fff!important;text-shadow:none!important}.v8-home-right #v8-gallery.in-bar svg{stroke:#fff!important}
/* the team's icons and the element chip had the same place above the chat box (Eddy 2026-11-10 "fix overlapping"): with a chip showing, the team sits to its right, on the same line */
.v8-chat-link{white-space:nowrap}body:has(.v8-chat-link:not([hidden])) #v8-team-bar{left:auto!important;right:22px;bottom:calc(100% + 10px)!important;justify-content:flex-end}.v8-home-right #v8-gallery.in-bar b{color:#2a2618!important}
/* The thinking line is ONE line wherever it shows (Eddy 2026-11-11, the clock under the sand: "keep same line") */
.v8-thinking{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px}.v8-thinking .v8-sand{flex:none!important;display:inline-block!important}.v8-thinking .v8-clock{flex:0 1 auto;min-width:0;margin-left:0!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
/* the X that leaves the project sits right beside the lock (Eddy 2026-11-11): the same place in the bar's order as the lock, after it */
body.v8-calm #workspace .header-right #v8-leave-project{order:4}

/* Report pictures (Eddy 2026-11-11: screenshots in reporting, as V7): Screen and Add, the pictures before sending, a picture large */
.v8-report-tools{display:flex;gap:6px;margin:8px 0 2px}
.v8-report-tools .dv-chip{display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;border:0;background:rgba(255,255,255,.08);color:#fff;font:400 11px Inter,system-ui,sans-serif;cursor:pointer}
.v8-report-tools .dv-chip svg{width:14px;height:14px;color:#f3d58c}
.v8-report-tools .dv-chip:disabled{opacity:.5;cursor:default}
.v8-report-pics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 2px}
.v8-report-pics[hidden]{display:none}
.v8-report-pics figure{position:relative;margin:0;aspect-ratio:16/10;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.v8-report-pics img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}
.v8-report-pics figure button{position:absolute;top:3px;right:3px;width:18px;height:18px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(20,18,12,.7);color:#fff;cursor:pointer}
.v8-report-pics figure button svg{width:10px;height:10px}
.v8-report-shot[hidden]{display:none}
.v8-fix-more img{cursor:zoom-in}
.v8-report-large{position:fixed;inset:0;z-index:400;display:grid;place-items:center;background:rgba(14,12,8,.86);cursor:zoom-out}
.v8-report-large img{max-width:96vw;max-height:94vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.v8-report-shot input{flex:0 0 auto;width:14px;height:14px;margin:0}
.v8-report-shot span{flex:1}

.v8-magic-pick img { cursor: crosshair; }
.v8-magic-status { margin: 0; font-size: 12px; }
.v8-magic-form { display: grid; gap: 8px; }
.v8-magic-form[hidden] { display: none; }
.v8-magic-form input { width: 100%; min-width: 0; }
.v8-rt:has(.v8-magic-form) { max-height: calc(100dvh - 152px); overflow-y: auto; }

/* The confidentiality agreement (nda.js, 2026-11-11): one glass card over everything, the DAVINCI look */
.v8-nda{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(8,12,20,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.v8-nda-card{width:min(760px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;gap:10px;padding:22px 22px 18px;border-radius:24px;color:#fff;box-sizing:border-box}
.v8-nda-title{margin:0;font:600 17px/1.3 Inter,system-ui,sans-serif;letter-spacing:.01em;color:#f1d48d}
.v8-nda-lead{margin:0;font:400 12.5px/1.5 Inter,system-ui,sans-serif;color:rgba(255,255,255,.82)}
.v8-nda-text{flex:1 1 auto;min-height:160px;overflow-y:auto;padding:14px 16px;border-radius:14px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.14);font:400 12.5px/1.6 Inter,system-ui,sans-serif;color:rgba(255,255,255,.92)}
.v8-nda-text p{margin:0 0 10px}
.v8-nda-version{color:rgba(255,255,255,.55);font-size:11px}
.v8-nda-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}@media(max-width:520px){.v8-nda-fields{grid-template-columns:1fr}}
.v8-nda-fields input{width:100%;box-sizing:border-box;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;font:500 13px Inter,system-ui,sans-serif}
.v8-nda-fields input::placeholder{color:rgba(255,255,255,.6)}
.v8-nda-agree{display:flex;gap:8px;align-items:flex-start;font:400 12.5px/1.45 Inter,system-ui,sans-serif;color:rgba(255,255,255,.9);cursor:pointer}
.v8-nda-agree input{flex:none;width:auto;margin:2px 0 0;accent-color:#f1d48d}.v8-nda-agree span{flex:1}
.v8-nda-said{min-height:16px;font:400 11.5px Inter,system-ui,sans-serif;color:#f1d48d;text-align:center}
.v8-nda-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.v8-nda-sign{padding:10px 20px;border-radius:999px;border:0;background:#f1d48d;color:#1b1608;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.v8-nda-sign:disabled{opacity:.4;cursor:not-allowed}
.v8-nda-out{padding:8px 12px;border:0;background:none;color:rgba(255,255,255,.75);font:400 12px Inter,system-ui,sans-serif;cursor:pointer;text-decoration:underline}
/* the chat box grows to hold the phone and upload tiles whole, with no fade over them (Eddy 2026-11-11) */
.davinci-dock.open:not(.history) #agent-messages:has(.v8-note-qr){max-height:190px!important;-webkit-mask-image:none!important;mask-image:none!important}
/* ... and to hold a question with its answer buttons whole (the remodel start, 2026-11-11) */
.davinci-dock.open:not(.history) #agent-messages:has(.v8-newest .v8-note-choices){max-height:230px!important;-webkit-mask-image:none!important;mask-image:none!important}
.v8-report-tools{flex-wrap:wrap}
.v8-report-tools .dv-chip[hidden]{display:none}
.v8-report-tools .v8-report-drop{margin-left:auto;opacity:.75}
.v8-report-tools .v8-report-drop svg{width:10px;height:10px;color:#fff}
/* while DAVINCI's newest line is still being written, its buttons, tiles and pictures wait (v7-shell.js type) */
.davinci-dock #agent-messages>.agent-msg.v8-typing .v8-note-qr,.davinci-dock #agent-messages>.agent-msg.v8-typing .v8-note-choices,.davinci-dock #agent-messages>.agent-msg.v8-typing .v8-note-photos,.davinci-dock #agent-messages>.agent-msg.v8-typing button{opacity:0;pointer-events:none}
.davinci-dock #agent-messages>.agent-msg .v8-note-qr,.davinci-dock #agent-messages>.agent-msg .v8-note-choices{transition:opacity .3s ease}
/* the new-version swirl has no disc behind it, also under the pointer (Eddy 2026-11-11 "remove the white bg") */
.v8-update-orb:hover:not(:disabled),.v8-update-orb:active,.v8-update-orb:focus{background:transparent;box-shadow:none}
/* A dropped file is seen at once (Eddy 2026-11-11): a row under the chat box with its picture, name, what is happening and a bar */
#v8-intake{order:0;display:flex;flex-direction:column;gap:6px;padding:8px 14px 2px!important}
#v8-intake:empty{display:none}
.v8-intake-row{position:relative;display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px;padding:7px 12px 10px 8px;border-radius:14px;background:rgba(20,18,12,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);color:#fff;font:400 12px Inter,system-ui,sans-serif;overflow:hidden;transition:opacity .35s,transform .35s}
.v8-intake-row.out{opacity:0;transform:translateY(-4px)}
.v8-intake-pic{width:40px;height:40px;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.1);color:#f3d58c}
.v8-intake-pic img{width:100%;height:100%;object-fit:cover;display:block}
.v8-intake-pic svg{width:18px;height:18px}
.v8-intake-text{display:flex;flex-direction:column;min-width:0;gap:2px}
.v8-intake-text b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-intake-text small{font-size:11px;color:rgba(255,255,255,.75)}
.v8-intake-track{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.12)}
.v8-intake-track i{display:block;height:100%;width:0;background:#f3d58c;border-radius:0 2px 2px 0;transition:width .35s ease}
.v8-intake-row:not(.done):not(.error) .v8-intake-track i{animation:v8IntakeGlow 1.2s ease-in-out infinite alternate}
.v8-intake-row.error .v8-intake-track i{background:#ffb4a8}
.v8-intake-row.error small{color:#ffb4a8}
@keyframes v8IntakeGlow{from{opacity:.55}to{opacity:1}}
.v8-pf-who{display:grid;gap:4px;margin:2px 4px 0}.v8-pf-who b{font:500 17px/1.2 Inter,system-ui,sans-serif;color:#fff}.v8-pf-who span{color:rgba(255,255,255,.62);font-size:12px}
.v8-pf-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}.v8-pf-row .v8-pf-name{flex:1 1 150px;min-width:120px}.v8-pf-note{color:#f3d58c;font-size:12px}.v8-pf-save:disabled{opacity:.5}
/* a little more room before the person's own buttons (Profile, Sign out): the bar reads as groups */
.v8-home-right>.v8-bar-me{margin-left:8px}
.v8-me-mark{width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:1.5px solid rgba(255,255,255,.9);display:grid;place-items:center;font:600 9px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;color:#fff}
.v8-pf-end{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);justify-content:flex-end}
/* the render panel's photographer rows (2026-11-12): look, light, a picture whose photography to follow */
.v8-rt-looks,.v8-rt-lights{flex-wrap:wrap}.v8-rt-lights .dv-chip{font-size:11px;padding:4px 9px}
.v8-rt-style{display:grid;gap:4px;font-size:11px;color:rgba(255,255,255,.75)}.v8-rt-style select{font-size:12px;padding:5px 8px}.v8-rt-style select option{color:#111}
.v8-rt{max-height:calc(100vh - 160px);overflow:auto}
/* a picture is open: the chat stays low and short, so the picture is seen (2026-11-12: a long answer lifted the chat to the middle of the picture) */
body.v8-picture .davinci-dock.open #agent-messages{max-height:min(24vh,190px)!important;overflow-y:auto!important}

/* Chat must keep every line reachable, including long newest replies. */
.davinci-dock.open:not(.history) #agent-messages,
.davinci-dock.open.history #agent-messages{
  min-height:0;overflow-y:auto!important;overflow-anchor:none;scroll-snap-type:none;
  scrollbar-width:thin!important;scrollbar-color:var(--dv-edge) transparent;
  -webkit-mask-image:none!important;mask-image:none!important;
}
.davinci-dock.open:not(.history) #agent-messages{
  max-height:min(32dvh,320px)!important;
}
.davinci-dock.open #agent-messages::-webkit-scrollbar{display:block;width:5px}
.davinci-dock.open #agent-messages>.agent-msg{
  flex:0 0 auto;min-width:0;overflow-wrap:anywhere;
}
.davinci-dock.open #agent-messages>.agent-msg.v8-older{opacity:1;color:var(--dv-soft)!important}
.davinci-dock.open #agent-messages>.agent-msg.user{color:var(--dv-gold)!important}

/* A full finger-sized hit area, with a thin comparison line. */
.v8-ba-handle{width:44px;transform:translateX(-50%);background:transparent;box-shadow:none;user-select:none;touch-action:none}
.v8-ba-handle::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--dv-text);box-shadow:var(--dv-shadow)}
.v8-ba-handle:focus-visible{outline:2px solid var(--dv-gold);outline-offset:2px}
/* Needs from people folded (Eddy 2026-11-14 "too much info, make it expandable"): a title row that opens the list; one line a need, full on a click */
.v8-pp-needs-head{width:100%;border:0;background:none;padding:2px 0;margin:0;cursor:pointer;text-align:left}
.v8-pp-needs-caret{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .2s;margin-right:4px}
.v8-pp-needs.open .v8-pp-needs-caret{transform:rotate(45deg)}
.v8-pp-needs:not(.open) .v8-pp-needs-head{margin-bottom:0}
.v8-pp-needs-list[hidden],.v8-pp-need[hidden]{display:none}
.v8-pp-need{cursor:pointer}.v8-pp-need:hover{background:rgba(255,255,255,.04)}
.v8-pp-need .v8-pp-need-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.v8-pp-need.open .v8-pp-need-text{white-space:normal}
.v8-pp-need .v8-pp-need-who{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.v8-pp-needs-foot{display:flex;gap:8px;justify-content:flex-end;padding-top:8px}
.v8-pp-need>span{min-width:0}
/* the project list's Select and its Delete, easy to find (Eddy 2026-11-16: "make them clearer"): Select is a gold pill with an outline, and once something is ticked Delete N is a filled red pill */
.v8-pl .v7-pm-label button.v8-pl-select{opacity:1;padding:5px 14px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:none;color:#f3d58c;background:rgba(243,213,140,.12);box-shadow:inset 0 0 0 1px rgba(243,213,140,.55)}.v8-pl .v7-pm-label button.v8-pl-select:hover{background:rgba(243,213,140,.24);color:#fff}.v8-pl .v7-pm-label button.v8-pl-select.on{color:#1d1a14;background:#f3d58c;box-shadow:none}.v8-pl .v8-pl-bar button.v8-pl-mass{padding:6px 16px;font-size:12px;font-weight:600;color:#f0a48c;box-shadow:inset 0 0 0 1px rgba(240,164,140,.5)}.v8-pl .v8-pl-bar button.v8-pl-mass:not(:disabled){color:#fff;background:#c4553a;box-shadow:none}.v8-pl .v8-pl-bar button.v8-pl-mass:not(:disabled):hover{background:#d8664a;color:#fff}.v8-pl .v8-pl-bar button.v8-pl-mass:disabled{opacity:.7}.v8-pl .v8-pl-askmany button.v8-pl-del{color:#fff;background:#c4553a;padding:6px 16px;font-weight:600}
/* Menus that blur what is really behind them (Eddy 2026-11-16, overlaps; macOS: a menu is its own window, so its frost blurs the screen).
   A frosted element is a "backdrop root": anything frosted inside it can only blur what is inside it, so the project menu inside the
   frosted top bar showed the model and the chips sharp through it, as if they were on top. The bars keep their look, but their frost
   sits on a layer under them (::before), so their menus blur the page. Rule: a surface that opens menus never carries backdrop-filter
   itself. */
.v7-home-bar,#workspace>header,.v8-view-bar,.davinci-dock #agent-form{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.v8-view-bar,.davinci-dock #agent-form{isolation:isolate}
.v7-home-bar::before,#workspace>header::before,.v8-view-bar::before,.davinci-dock #agent-form::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6)}
.v8-pl .v8-pl-headtools{display:flex;align-items:center;gap:8px}.v8-pl .v7-pm-label button.v8-pl-close{opacity:1;padding:5px 14px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:none;color:#ffffffd9;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.v8-pl .v7-pm-label button.v8-pl-close:hover{background:rgba(255,255,255,.2);color:#fff}
/* DAVINCI mode keeps the views while looking (Eddy 2026-11-18: cut, section, elevation): the column stands where the cube's would, under North-up */
body.v8-calm #view-bar{top:184px;right:24px}
.v8-view-bar input[type=range].vb-zoom{writing-mode:vertical-lr;direction:rtl;width:18px;height:96px;margin:6px 0 4px;accent-color:#f3d58c;cursor:pointer}body.v8-revit .v8-view-bar .vb-zoom{display:none}
