/* Live run status and resumable Figma batches. styles.css stays the frozen original design. */
.run-resume{display:flex;align-items:center;gap:7px;font-size:13px;color:#527266;margin-top:8px}
.run-resume svg{width:15px;height:15px;flex-shrink:0}
.run-activity{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:10px;font-size:13px;color:var(--muted)}
.run-activity strong{color:var(--blue);font-weight:600}
.run-activity-pulse{width:8px;height:8px;border-radius:50%;background:var(--blue);animation:run-activity-pulse 1.4s ease-in-out infinite}
@keyframes run-activity-pulse{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.run-activity-pulse{animation:none}}
.run-call-table{display:grid;border:1px solid var(--line);border-radius:9px;overflow:hidden;font-size:13px}
.run-call-table>div{display:grid;grid-template-columns:minmax(0,2.2fr) repeat(3,minmax(0,1fr));gap:10px;align-items:center;padding:11px 14px;border-top:1px solid #edf1f6}
.run-call-table>div:first-child{border-top:0}
.run-call-table strong{display:block;font-weight:550}
.run-call-table small{color:var(--muted);font-size:12px}
.run-call-table span:not(:first-child){text-align:right}
@media(max-width:760px){.run-call-table>div{grid-template-columns:1fr 1fr}.run-call-table span:first-child{grid-column:1/-1}.run-call-table span:not(:first-child){text-align:left}}
/* Section plan: summary in the wizard, details in a popup */
.section-plan{border:1px solid var(--line);border-radius:10px;padding:16px;margin:18px 0;background:#fbfcfe}
.section-plan-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.section-plan-head h3{font-size:15px}
.section-plan-head .meta{margin-top:4px}
.section-plan-counts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
dialog.plan-dialog{width:min(920px,calc(100vw - 32px));max-width:920px}
.section-plan-intro{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 14px}
.section-plan-rows{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.section-plan-row{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(0,1.6fr);gap:12px;align-items:center;padding:10px 14px;border-top:1px solid #edf1f6;background:#fff}
.section-plan-row:first-child{border-top:0}
.section-plan-row.red{background:var(--red-soft)}
.section-plan-row.gray{opacity:.75}
.section-plan-state{width:28px;height:28px;border-radius:50%;display:grid;place-items:center}
.section-plan-state svg{width:15px;height:15px}
.section-plan-state.green{color:var(--green);background:var(--green-soft)}
.section-plan-state.amber{color:var(--amber);background:var(--amber-soft)}
.section-plan-state.red{color:var(--red);background:#fff}
.section-plan-state.gray{color:#637389;background:#f0f3f7}
.section-plan-name strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}
.section-plan-name small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.section-plan-choice select{width:100%;background:#fff;border:1px solid #d7dfeb;border-radius:7px;padding:9px 11px;color:var(--ink);font-size:14px;line-height:1.45}
.section-plan-choice select:disabled{background:#f4f6f9;color:var(--muted)}
.section-plan-choice small{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5}
.section-plan-control{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;align-items:stretch}
.section-plan-control>.btn{width:100%;height:100%;min-height:0;margin:0;justify-content:center}
.section-plan-open{margin-right:auto;color:var(--red)}
@media(max-width:760px){.section-plan-row{grid-template-columns:28px minmax(0,1fr)}.section-plan-choice{grid-column:2}.section-plan-control{grid-template-columns:minmax(0,1fr) auto}}
.resolution-row{padding:12px 14px;border-top:1px solid #edf1f6;background:#fff}
.resolution-row:first-child{border-top:0}
.resolution-row p{font-size:13px;line-height:1.6;color:var(--ink);margin:0 0 8px}
.resolution-row select{width:100%;background:#fff;border:1px solid #d7dfeb;border-radius:7px;padding:9px 11px;color:var(--ink);font-size:14px}
/* Project list: three-dots menu with archive and delete */
.project-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.project-menu-wrap{position:relative}
.project-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:6;min-width:176px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px #07142726;text-align:left}
.project-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:13px;font-weight:500;text-align:left}
.project-menu button:hover,.project-menu button:focus-visible{background:#f4f6fa}
.project-menu button svg{width:16px;height:16px;flex-shrink:0;color:#7286a6}
.project-menu button.danger{color:var(--red)}
.project-menu button.danger svg{color:var(--red)}
.btn-danger{background:var(--red);border-color:var(--red);color:#fff}
.btn-danger:hover{filter:brightness(.95)}
.table-wrap:has(.project-menu){overflow:visible}
.section-plan-name small.section-plan-mobile{margin-top:2px}
.section-plan-mobile.ok{color:var(--green)}
.section-plan-proposal{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;color:var(--amber)}
.section-plan-template{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.5}
.section-plan-shared{display:flex;align-items:flex-start;gap:6px;margin-top:4px;color:var(--green)}
.section-plan-shared svg{flex:none;width:14px;height:14px;margin-top:2px}
.section-plan-mobile.check{color:var(--amber)}
.section-plan-mobile.none{color:var(--muted)}
.theme-plan{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.theme-plan h3{margin-bottom:6px}
.theme-rows{display:grid;gap:6px;margin-top:10px}
.theme-row{display:grid;grid-template-columns:auto 130px minmax(0,1fr);gap:4px 12px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white);cursor:pointer}
.theme-row.off{opacity:.55}
.theme-row code{font-size:13px}
.theme-row small{grid-column:2/-1;color:var(--muted);font-size:12px}
.theme-value{display:flex;align-items:center;gap:6px;min-width:0}
.theme-value input{flex:1;min-width:0;padding:5px 8px;border:1px solid var(--line);border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.theme-swatch{width:18px;height:18px;border-radius:5px;border:1px solid #16253d22;flex-shrink:0}
@media (max-width:640px){.theme-row{grid-template-columns:auto minmax(0,1fr)}.theme-value{grid-column:1/-1}.theme-row small{grid-column:1/-1}}
.theme-plan summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;cursor:pointer;list-style:none}
.theme-plan summary::-webkit-details-marker{display:none}
.theme-plan summary::after{content:'Bekijken';margin-left:auto;font-size:12px;color:var(--blue)}
.theme-plan[open] summary::after{content:'Inklappen'}
.theme-plan[open] summary{margin-bottom:8px}
.plan-skip{background:none;border:0;padding:4px 6px;margin:0;font-size:12px;color:var(--muted);border-radius:6px;justify-self:start;align-self:center}
.plan-skip:hover{color:var(--ink);background:#f1f4f8}
.section-plan-bulk{display:flex;justify-content:flex-end;gap:4px;margin:-6px 0 8px}
.run-overview-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.draft-note{display:flex;gap:12px;padding:14px 16px;margin-bottom:14px;border-radius:10px;background:var(--amber-soft);color:var(--ink)}
.draft-note svg{color:var(--amber);margin-top:2px}
.draft-note p{font-size:14px;margin-top:4px;color:var(--ink)}
.draft-findings{margin:8px 0 0;padding-left:20px;font-size:13px;line-height:1.6}

/* Source choice: beta sources carry a small yellow label, later ones are greyed out */
.source-badge{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:650;letter-spacing:.3px;vertical-align:1px;text-transform:uppercase}
.source-badge.beta{background:#fde68a;color:#7a5600}
.source-badge.soon{background:#eceff3;color:#6b7280}
.source-card.soon,.source-card.soon:hover{cursor:not-allowed;opacity:.55;background:#f7f8fa;border-color:var(--line);filter:grayscale(1)}
.source-icon img{display:block}

/* Version next to the VAERO logo: small, at its bottom right, without a frame */
.brand-version{align-self:flex-end;margin:0 0 3px -4px;padding:0;border:0;font-size:10px;font-weight:600;letter-spacing:.3px;color:#8fa3c4}

/* Run card: one short line; the AI's summary and the notes are in the run detail. */
.run-overview-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.run-notes{list-style:none;margin:8px 0 0;padding:0}
.run-notes>li{position:relative;padding:9px 0 9px 16px;border-top:1px solid #edf1f6;font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.run-notes>li:first-child{border-top:0}
.run-notes>li::before{content:'';position:absolute;left:2px;top:17px;width:5px;height:5px;border-radius:50%;background:#b6c3d6}
.run-ai-summary{margin-top:14px;font-size:13px}
.run-ai-summary>summary{cursor:pointer;color:var(--muted)}
.run-ai-summary>p{margin-top:8px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
/* Project notes: what the owner has to do for this site, readable at a glance. */
.site-notes{margin-bottom:24px;padding:19px 22px}
.site-notes-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-notes-head h2{font-size:16px;letter-spacing:-.25px}
.site-notes h3{font-size:14px;font-weight:600;margin:20px 0 4px;display:flex;align-items:baseline;gap:8px}
.site-notes h3+.meta{display:block;margin-bottom:10px;line-height:1.6}
.site-notes-table{overflow-x:auto;border:1px solid var(--line);border-radius:8px}
.site-notes-table table{width:100%;border-collapse:collapse;font-size:13px}
.site-notes-table th{text-align:left;font-weight:550;color:var(--muted);background:#fbfcfe;padding:9px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.site-notes-table td{padding:10px 12px;border-top:1px solid #edf1f6;vertical-align:top;line-height:1.55}
.site-notes-table tr:first-child td{border-top:0}
.site-notes-table code{font-size:12px;overflow-wrap:anywhere}
.site-notes-table small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.site-notes-more{margin-top:18px}
.site-notes-more>summary{cursor:pointer;font-size:14px;font-weight:600;display:flex;align-items:baseline;gap:8px}
@media(max-width:760px){.site-notes{padding:16px 17px}.site-notes-table th,.site-notes-table td{padding:8px 10px}}
/* Run preview: the rendered sections next to the design */
dialog.preview-dialog{width:min(1480px,calc(100vw - 32px));max-width:1480px}
.preview-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.preview-tabs{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white)}
.preview-tabs button{border:0;background:transparent;padding:7px 14px;font-size:13px;font-weight:600;color:var(--muted)}
.preview-tabs button+button{border-left:1px solid var(--line)}
.preview-tabs button.active{background:var(--navy);color:#fff}
.preview-summary{font-size:13px;color:var(--muted);margin:0 0 16px}
.preview-section{border:1px solid var(--line);border-radius:var(--radius);padding:14px;margin-bottom:16px;background:var(--white)}
.preview-section-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.preview-findings{margin:4px 0 10px;padding-left:18px;font-size:13px;line-height:1.5}
.preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.preview-pair figure{margin:0;min-width:0}
.preview-pair figcaption{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:6px}
.preview-design{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:6px}
.preview-stack .preview-design{border-radius:0;border-width:0 0 1px}
.preview-frame{position:relative;width:100%;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff}
.preview-frame iframe{position:absolute;top:0;left:0;border:0;transform-origin:0 0;background:#fff}
@media (max-width:900px){.preview-pair{grid-template-columns:1fr}}
/* Meer pagina's van deze site: extra pagina's in de wizard en hun bouwplannen */
.extra-pages{margin:22px 0 6px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}
.extra-pages-head{display:flex;align-items:center;gap:8px;font-size:15px}
.extra-pages>.meta{margin:6px 0 14px;line-height:1.6}
.extra-page{padding:14px;margin-bottom:12px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.extra-page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}
.extra-page .field{margin-bottom:10px}
.file-pages{margin:12px 0 6px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}
.file-pages>.meta{margin:6px 0 12px;line-height:1.6}
.file-page{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.file-page-pick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;font-size:14px;cursor:pointer}
.file-page-pick input{flex:none;width:auto;height:auto;margin:0;display:inline-block}
.file-page select{max-width:160px}
.file-pages-actions{display:flex;align-items:center;gap:14px;margin-top:12px}
@media (max-width:640px){.file-page{flex-direction:column;align-items:stretch}.file-page select{max-width:none}}
.pages-plan{display:grid;gap:8px;margin-top:14px}
.pages-plan-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.pages-plan-order{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef2f8;font-size:13px;font-weight:600}
.pages-plan-name small{display:block;margin-top:2px}
.pages-plan-row .section-plan-counts{margin:0}
@media (max-width:640px){.pages-plan-row{grid-template-columns:auto minmax(0,1fr)}.pages-plan-row .section-plan-counts,.pages-plan-row .btn{grid-column:2}}
.run-queue{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.run-queue svg{width:16px;height:16px;flex:none}
.page-detail-links{display:flex;gap:16px;align-items:center}
.cms-content{padding:19px 22px}
.cms-content-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 8px}
.cms-content-bar .filters{margin:0}
.cms-content .code-block{max-height:620px;overflow:auto;margin:10px 0 0}

/* Build version under the sidebar (moved out of the hash-locked styles.css). */
.build-version{font-size:10px;line-height:1.4;color:#5d7090;padding:12px 13px 0;letter-spacing:.3px;font-variant-numeric:tabular-nums;user-select:all}
