Image Segmentation
PyTorch
English
painting-vision-robotics-kit
semantic-segmentation
robotics
edge-ai
construction-ai
autonomous-painting
wall-painting-robot
paint-coverage-estimation
building-facade
drywall
skirting-detection
window-detection
lidar
depth-validation
segformer
deeplabv3
Eval Results (legacy)
File size: 39,829 Bytes
4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 7b63b24 4eecd03 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | /* Operator console. Quiet, light, one accent: grouped cards on a grey canvas, glass bars, SF type, soft depth. */
:root {
--bg: #f5f5f7; --surface: #ffffff; --surface-2: #f5f5f7; --fill: rgba(60, 60, 67, .08);
--text: #1d1d1f; --muted: #6e6e73; --line: rgba(0, 0, 0, .08); --line-strong: rgba(0, 0, 0, .14);
--accent: #0071e3; --accent-hover: #0077ed; --accent-text: #ffffff; --accent-soft: rgba(0, 113, 227, .12);
--ok: #1d8a3f; --ok-bg: #e8f7ee; --warn: #a15c00; --warn-bg: #fff4de; --bad: #c4281c; --bad-bg: #fdebe9;
--info: #0058b0; --info-bg: #e6f0fc;
--paint: #34c759; --keepout: #ff3b30; --damage: #ff9500; --uncertain: #ffcc00; --touchup: #5ac8fa;
--paths: #0a84ff; --edits: #af52de;
--glass: rgba(255, 255, 255, .72);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .03);
--shadow-md: 0 4px 24px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .05);
--radius: 14px; --radius-lg: 20px; --radius-sm: 10px;
--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e; --fill: rgba(235, 235, 245, .12);
--text: #f5f5f7; --muted: #98989d; --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .18);
--accent: #0a84ff; --accent-hover: #3395ff; --accent-soft: rgba(10, 132, 255, .2);
--ok: #30d158; --ok-bg: rgba(48, 209, 88, .16); --warn: #ffd60a; --warn-bg: rgba(255, 214, 10, .14);
--bad: #ff6961; --bad-bg: rgba(255, 69, 58, .18); --info: #64d2ff; --info-bg: rgba(10, 132, 255, .2);
--glass: rgba(28, 28, 30, .72);
--shadow-sm: none; --shadow-md: 0 4px 24px rgba(0, 0, 0, .5);
}
}
:root[data-theme="dark"] {
--bg: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e; --fill: rgba(235, 235, 245, .12);
--text: #f5f5f7; --muted: #98989d; --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .18);
--accent: #0a84ff; --accent-hover: #3395ff; --accent-soft: rgba(10, 132, 255, .2);
--ok: #30d158; --ok-bg: rgba(48, 209, 88, .16); --warn: #ffd60a; --warn-bg: rgba(255, 214, 10, .14);
--bad: #ff6961; --bad-bg: rgba(255, 69, 58, .18); --info: #64d2ff; --info-bg: rgba(10, 132, 255, .2);
--glass: rgba(28, 28, 30, .72);
--shadow-sm: none; --shadow-md: 0 4px 24px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.47 var(--font); letter-spacing: -.01em;
-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.warn { color: var(--warn); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 1px; }
/* ---- top bar: frosted glass */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
height: 52px; padding: 0 20px; background: var(--glass); border-bottom: 1px solid var(--line);
-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand strong { font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.brand .muted { padding-left: 10px; border-left: 1px solid var(--line-strong); font-size: 13px; }
.logo { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(145deg, #34c759 0%, #0a84ff 100%);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 1px 3px rgba(0, 0, 0, .2); }
.model { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--fill); text-align: right; white-space: nowrap; }
.banner { background: var(--warn-bg); color: var(--warn); padding: 9px 20px; font-size: 13px; }
/* ---- three columns */
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr) 360px; height: calc(100vh - 52px); }
.jobs, .panel { padding: 18px 16px 28px; overflow-y: auto; }
.jobs { background: var(--bg); border-right: 1px solid var(--line); }
.panel { background: var(--bg); border-left: 1px solid var(--line); }
.section { font-size: 12px; letter-spacing: .02em; color: var(--muted); margin: 26px 4px 8px; font-weight: 600; text-transform: none; }
.jobs .section:first-of-type { margin-top: 22px; }
/* ---- new job */
.drop { display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; text-align: center;
border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 22px 12px; cursor: pointer; background: var(--surface);
transition: border-color .15s, background .15s, transform .15s; }
.drop::before { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%;
background: var(--accent-soft); color: var(--accent); font-size: 22px; font-weight: 300; line-height: 1; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-title { font-weight: 600; font-size: 15px; }
.field { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
transition: border-color .15s, box-shadow .15s; }
.field::placeholder { color: var(--muted); opacity: .8; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.field { resize: vertical; }
.job-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.job-list button { width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: var(--radius-sm);
padding: 10px 12px; cursor: pointer; display: grid; gap: 3px; box-shadow: var(--shadow-sm);
transition: background .12s, box-shadow .12s; }
.job-list button:hover { box-shadow: var(--shadow-md); }
.job-list button.active { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.job-list .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; justify-self: start; letter-spacing: 0; }
.pill.ready_to_paint, .pill.complete { background: var(--ok-bg); color: var(--ok); }
.pill.prep_required, .pill.touch_up_only { background: var(--warn-bg); color: var(--warn); }
.pill.blocked { background: var(--bad-bg); color: var(--bad); }
.pill.approved { background: var(--info-bg); color: var(--info); }
/* ---- viewer */
.viewer { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center; padding: 12px 18px; }
.group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; cursor: pointer;
font-size: 12.5px; user-select: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background .12s, box-shadow .12s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.chip:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.chip:not(:has(input:checked)) { color: var(--muted); }
.chip:not(:has(input:checked)) .sw { opacity: .35; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sw-paint { background: var(--paint); } .sw-keepout { background: var(--keepout); } .sw-damage { background: var(--damage); }
.sw-uncertain { background: var(--uncertain); } .sw-touchup { background: var(--touchup); } .sw-paths { background: var(--paths); }
.sw-edits { background: var(--edits); }
.seg { display: inline-flex; padding: 2px; gap: 2px; background: var(--fill); border-radius: 9px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 500;
color: var(--text); transition: background .12s, box-shadow .12s; }
.seg button.on { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04); font-weight: 600; }
.size { display: inline-flex; align-items: center; gap: 8px; }
.size input { width: 88px; accent-color: var(--accent); }
button.primary, button.ghost, a.button { border-radius: 999px; padding: 8px 18px; cursor: pointer; border: 0; text-decoration: none;
display: inline-block; font-weight: 500; transition: background .12s, transform .08s, opacity .12s; }
button.ghost, a.button { background: var(--fill); color: var(--accent); }
button.ghost:hover, a.button:hover { background: var(--accent-soft); }
button.primary { background: var(--accent); color: var(--accent-text); font-weight: 600; }
button.primary:hover:not(:disabled) { background: var(--accent-hover); }
button:active:not(:disabled) { transform: scale(.98); }
button:disabled { opacity: .4; cursor: not-allowed; }
.stage-wrap { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 4px 18px 18px; }
.empty { margin: auto; color: var(--muted); text-align: center; font-size: 15px; padding: 80px 20px; max-width: 320px; }
.empty::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
background: var(--fill) center / 26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Ccircle cx='9' cy='11' r='1.8'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E"); }
.stage { position: relative; max-width: 100%; line-height: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
touch-action: none; background: #000; }
.stage #photo { display: block; max-width: 100%; max-height: calc(100vh - 210px); width: auto; height: auto; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.edits { opacity: .45; }
.stage.drawing .edits { pointer-events: auto; cursor: none; }
.cursor { position: absolute; border: 2px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; transform: translate(-50%, -50%); }
.legend { padding: 0 20px 14px; text-align: center; }
/* ---- right panel: the decision first, then grouped cards */
.decision { border-radius: var(--radius-lg); padding: 16px 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.decision h3 { margin: 0 0 3px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.decision p { margin: 0; color: var(--text); opacity: .85; font-size: 13px; }
.decision.ready_to_paint, .decision.complete { background: var(--ok-bg); color: var(--ok); }
.decision.prep_required, .decision.touch_up_only { background: var(--warn-bg); color: var(--warn); }
.decision.blocked { background: var(--bad-bg); color: var(--bad); }
.decision.approved { background: var(--info-bg); color: var(--info); }
.reasons { margin: 12px 0 0; padding: 12px 16px 12px 32px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.reasons li { margin: 4px 0; font-size: 13px; }
.reasons .bad { color: var(--bad); } .reasons .warn { color: var(--warn); }
.confirmations { display: grid; gap: 0; margin-top: 10px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.confirmations label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 11px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.confirmations label:first-child { border-top: 0; }
.confirmations label.relevant { background: var(--warn-bg); }
.confirmations input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.row { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
#replan, #approve { width: 100%; padding: 11px 18px; font-size: 14px; }
/* readings as one inset-grouped list */
.areas { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; padding: 2px 14px; background: var(--surface);
border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.areas dt, .areas dd { padding: 10px 0; margin: 0; border-top: 1px solid var(--line); }
.areas dt:first-child, .areas dt:first-child + dd { border-top: 0; }
.areas dt { color: var(--muted); white-space: nowrap; padding-right: 16px; }
.areas dd { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.areas dd.small { font-weight: 500; }
.areas .full { grid-column: 1 / -1; text-align: right; font-weight: 400; padding-top: 0; border-top: 0; margin-top: -6px; }
.swatch { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.25); vertical-align: -0.05em; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps > li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.steps .step-name { font-weight: 600; text-transform: capitalize; }
.steps .step-name::before { content: counter(step); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px;
border-radius: 50%; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; }
.steps ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.task { border-radius: var(--radius-sm); padding: 8px 10px; font-size: 12.5px; cursor: default; background: var(--surface-2);
box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .12s; }
.task:hover, .task.hl { box-shadow: inset 0 0 0 1.5px var(--damage); }
.task b { text-transform: capitalize; }
.more summary { cursor: pointer; color: var(--accent); margin: 6px 0 2px; }
.more ul { margin-top: 6px; }
#approved { margin-top: 10px; padding: 0 4px; }
#dirty { font-weight: 500; }
svg .prep-zone { fill: none; stroke: var(--damage); stroke-width: 2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
svg .damage { fill: var(--damage); fill-opacity: .25; stroke: var(--damage); stroke-width: 2; vector-effect: non-scaling-stroke; }
svg .damage.hl { fill-opacity: .55; stroke-width: 3; }
svg .roller { stroke: var(--paths); stroke-width: 2; vector-effect: non-scaling-stroke; }
svg .trim { stroke: var(--edits); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
svg .prep-path { stroke: var(--damage); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
svg .touch-path { stroke: var(--touchup); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@media (max-width: 1100px) {
.layout { grid-template-columns: 232px minmax(0, 1fr); height: auto; }
.panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
.layout { grid-template-columns: 1fr; }
.jobs { border-right: 0; border-bottom: 1px solid var(--line); }
.stage-wrap { padding: 4px 10px 12px; }
.stage #photo { max-height: 60vh; }
.toolbar { padding: 10px; }
.chip { padding: 4px 9px 4px 8px; font-size: 12px; }
.panel, .jobs { padding: 14px 16px; }
.top { padding: 0 16px; }
.brand .muted { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent-soft); }
/* ---- video viewer, drawings */
.drop.slim { padding: 14px 10px; margin-top: 8px; }
.drop.slim::before { display: none; }
.err { margin: 0; }
.vwrap { padding: 4px 18px 18px; }
.vcol { width: 100%; max-width: 860px; margin: 0 auto; }
.vcol .stage { position: relative; line-height: 0; background: #000; }
.vcol video { display: block; width: 100%; height: auto; }
.vover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vcol .caption { padding: 12px 4px; font-size: 14px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 10px; text-align: left; }
.vchips button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 0; background: var(--surface);
box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 12.5px; }
.vchips button[aria-pressed="false"] { opacity: .45; }
.vchips i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.drawing-item { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.drawing-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--fill); }
dialog.sheet { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(1100px, 94vw); height: min(780px, 90vh); background: var(--bg); color: var(--text);
box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
dialog.sheet[open] { display: flex; flex-direction: column; }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--glass); border-bottom: 1px solid var(--line); margin: 0; }
.sheet-tools { display: flex; gap: 14px; align-items: center; padding: 10px 18px; }
.sheet-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.sheet-stage { position: relative; overflow: auto; margin: 0 0 14px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); cursor: crosshair; line-height: 0; }
.sheet-stage img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.sheet-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sheet-side { padding: 0 16px 14px; overflow-y: auto; }
.dd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dd-list li { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; box-shadow: var(--shadow-sm); font-size: 13px; }
.dd-list .len { font-weight: 700; font-size: 16px; }
.dd-list .acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.dd-list button { border: 0; border-radius: 999px; padding: 4px 11px; background: var(--accent-soft); color: var(--accent); cursor: pointer; font-size: 12px; font-weight: 600; }
@media (max-width: 720px) { .sheet-body { grid-template-columns: 1fr; } .sheet-side { max-height: 34%; } }
.sheet-stage svg .cal { stroke: #0a84ff; fill: #0a84ff; } .sheet-stage svg .mea { stroke: #ff9500; fill: #ff9500; }
.sheet-stage svg .pend { stroke: #34c759; fill: #34c759; }
.sheet-stage svg .lbl { fill: #fff; paint-order: stroke; stroke: #000; stroke-linejoin: round; }
/* ===== polish 2026-10-19: overlay fades, real checkbox rows, sticky verdict, scroll-linked reveal, match panel =====
Additive: delete from here to the end to return to the previous look. Respects prefers-reduced-motion. */
.layer { transition: opacity .24s ease; }
.layer.off { opacity: 0 !important; pointer-events: none; }
img.layer { filter: drop-shadow(0 0 .8px rgba(0, 0, 0, .55)); } /* a crisp edge on any photo */
#photo { animation: pv-fade .4s ease both; }
@keyframes pv-fade { from { opacity: 0; } to { opacity: 1; } }
.chip .sw { transition: opacity .16s, transform .16s; }
.chip:not(:has(input:checked)) .sw { transform: scale(.7); }
/* confirmations: proper checkboxes in whole-row targets */
.confirmations label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px; position: relative;
transition: background .15s; }
.confirmations input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0;
border-radius: 7px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center;
cursor: pointer; transition: background .15s, box-shadow .15s, transform .12s; }
.confirmations input[type="checkbox"]::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--accent-text);
border-bottom: 2.5px solid var(--accent-text); transform: rotate(-45deg) scale(0) translate(1px, -1px);
transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.confirmations input[type="checkbox"]:checked { background: var(--accent); box-shadow: none; }
.confirmations input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1) translate(1px, -1px); }
.confirmations input[type="checkbox"]:active { transform: scale(.9); }
.confirmations label:has(input:checked) { background: var(--accent-soft); }
.confirmations label:hover input[type="checkbox"]:not(:checked) { box-shadow: inset 0 0 0 1.5px var(--accent); }
.confirmations input[type="checkbox"]:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
/* the verdict stays in view while the long work order scrolls */
.panel { scroll-behavior: smooth; overscroll-behavior: contain; scroll-padding-top: 90px; }
.jobs { scroll-behavior: smooth; overscroll-behavior: contain; }
.panel > .decision { position: sticky; top: -4px; z-index: 4; box-shadow: var(--shadow-md); }
/* sections ease in as they scroll into view (Chromium scroll-driven animation; other browsers show them at once) */
@supports (animation-timeline: view()) {
.panel > *:not(.decision) { animation: pv-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
@keyframes pv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
/* auto-match + AI panel in the drawing dialog */
.matchout { display: grid; gap: 4px; margin: 8px 0 10px; line-height: 1.4; }
.matchout .warn { color: var(--warn); }
.aiout { margin: 8px 0; line-height: 1.45; }
.aiout.answer { color: var(--text); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--fill); }
#dd-q { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) {
.layer, .chip .sw, .confirmations input, .confirmations input::after, .confirmations label { transition: none !important; }
#photo, .panel > * { animation: none !important; }
.panel, .jobs { scroll-behavior: auto; }
}
/* ===== polish 2026-10-19b: toasts, generated-drawing UI, sticky verdict without bleed-through, dialog layout ===== */
.toasts { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.4; background: var(--surface);
color: var(--text); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); border-left: 4px solid var(--bad); animation: pv-toast .22s ease both; }
.toast.ok { border-left-color: var(--ok); } .toast.warn { border-left-color: var(--warn); }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity .24s, transform .24s; }
@keyframes pv-toast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gen { display: grid; gap: 8px; margin: 10px 0 12px; }
.gen .gen-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gen .narrow { width: 118px; padding: 6px 9px; }
.gen p { margin: 0; line-height: 1.4; }
.badge { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--info-bg); color: var(--info); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.prov { margin: 0 18px 4px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 12.5px; line-height: 1.45; background: var(--info-bg); color: var(--text); }
.prov.warn { background: var(--warn-bg); }
.prov ul { margin: 6px 0 0; padding-left: 18px; }
.dl { display: inline-flex; gap: 6px; margin-left: auto; }
.dl .button { padding: 5px 12px; flex: none; }
/* the pinned verdict hides what scrolls beneath it instead of letting it show through above the card */
.panel > .decision { box-shadow: 0 -24px 0 var(--bg), var(--shadow-md); }
.sheet-stage { align-self: start; max-height: 100%; }
@media (max-width: 760px) {
.toasts { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; }
.sheet-body { grid-template-columns: 1fr; overflow-y: auto; }
.sheet-stage { margin: 0 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .toast, .toast.out { animation: none !important; transition: none !important; } }
/* ===== overlay style + robot ===== */
#stage img.layer { opacity: var(--ov-opacity, .7); }
#stage img.layer.edge { opacity: 1; filter: none; }
#stage[data-ov="outline"] img.layer:not(.edge) { opacity: 0; }
#stage[data-ov="fill"] img.layer.edge { opacity: 0; }
#stage img.layer.off { opacity: 0 !important; }
.group.views { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.robot-open[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.robot-open[data-ready="0"] { opacity: .7; }
canvas.robot { pointer-events: none; z-index: 3; }
.robot-dim { opacity: .25 !important; }
.robot-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 0; padding: 10px 14px; border-radius: var(--radius);
background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.robot-bar #robot-seek { flex: 1 1 160px; min-width: 120px; accent-color: var(--accent); }
.robot-bar .primary { min-width: 78px; }
.robot-meta { min-width: 190px; font-size: 13px; }
.robot-bar .narrow { width: 66px; padding: 6px 8px; }
.robot-note { flex-basis: 100%; }
@media (prefers-reduced-motion: reduce) { .robot-bar #robot-seek { transition: none; } }
/* ===== evidence confidence card ===== */
.evidence { margin: 12px 0 14px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.ev-head { display: flex; align-items: center; justify-content: space-between; }
.ev-head .section { margin: 0; }
.ev-label { font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--fill); }
.evidence[data-level="rough"] .ev-label { background: var(--bad-bg); color: var(--bad); }
.evidence[data-level="fair"] .ev-label { background: var(--warn-bg); color: var(--warn); }
.evidence[data-level="good"] .ev-label, .evidence[data-level="high"] .ev-label { background: var(--ok-bg); color: var(--ok); }
.ev-main { display: flex; align-items: center; gap: 14px; margin: 8px 0 6px; }
.ev-pct { font-size: 38px; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; min-width: 92px; line-height: 1; }
.ev-bar { flex: 1; display: flex; gap: 3px; height: 12px; }
.ev-seg { position: relative; display: block; height: 100%; border-radius: 4px; background: var(--fill); overflow: hidden; flex-basis: 0; }
.ev-seg i { position: absolute; inset: 0 auto 0 0; display: block; border-radius: 4px; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.ev-error { margin: 4px 0 8px; line-height: 1.45; }
.ev-parts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 12.5px; }
.ev-parts li { display: flex; align-items: center; gap: 7px; }
.ev-parts li i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ev-parts li span { flex: 1; color: var(--muted); }
.ev-note { padding: 8px 10px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--text); line-height: 1.45; display: grid; gap: 4px; }
.ev-next { display: grid; gap: 6px; margin: 8px 0; }
.ev-idea { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; border: 0; border-radius: var(--radius-sm); background: var(--fill); font: inherit;
font-size: 12.5px; color: var(--text); cursor: pointer; transition: background .12s, transform .08s; }
.ev-idea:hover { background: var(--accent-soft); } .ev-idea:active { transform: scale(.99); }
.ev-idea b { color: var(--ok); min-width: 34px; font-variant-numeric: tabular-nums; } .ev-idea span { flex: 1; } .ev-idea em { font-style: normal; color: var(--muted); }
.ev-add { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; } .ev-add .button { flex: 1 1 auto; text-align: center; }
.ev-fields { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0; } .ev-fields .narrow { width: 84px; padding: 5px 8px; }
.ev-why { margin-top: 6px; } .ev-why summary { cursor: pointer; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .ev-seg i, .ev-idea { transition: none; } }
.ev-add label.button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; border-radius: 999px; background: var(--fill); color: var(--accent);
font-size: 13px; font-weight: 500; cursor: pointer; transition: background .12s, transform .08s; }
.ev-add label.button:hover { background: var(--accent-soft); } .ev-add label.button:active { transform: scale(.98); }
/* ===== live drone footage panel ===== */
.live-panel { margin: 10px 0 0; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.live-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .live-head .section { margin: 0; }
.live-pill { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; background: var(--fill); color: var(--muted); }
.live-pill.ok { background: var(--ok-bg); color: var(--ok); } .live-pill.warn { background: var(--warn-bg); color: var(--warn); } .live-pill.bad { background: var(--bad-bg); color: var(--bad); }
.live-pill.ok::before { content: "● "; animation: pv-blink 1.4s ease-in-out infinite; }
@keyframes pv-blink { 50% { opacity: .3; } }
.live-src { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; } .live-src #live-source { flex: 1 1 260px; min-width: 0; } .live-src #live-video { flex: 0 1 210px; }
.live-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); gap: 14px; }
.live-view { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c0d10; min-height: 150px; line-height: 0; }
.live-view img { width: 100%; height: auto; display: block; }
.live-empty { padding: 44px 16px; text-align: center; color: #a9aab1; font-size: 13px; line-height: 1.45; }
.live-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.live-chip { display: inline-flex; flex-direction: column; padding: 5px 10px; border-radius: var(--radius-sm); background: var(--fill); min-width: 76px; }
.live-chip small { font-size: 10.5px; color: var(--muted); } .live-chip b { font-size: 13px; font-variant-numeric: tabular-nums; }
.live-chip.ok b { color: var(--ok); } .live-chip.warn b { color: var(--warn); } .live-chip.bad b { color: var(--bad); }
.live-holds { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.live-holds li { padding: 6px 9px; border-radius: var(--radius-sm); background: var(--warn-bg); } .live-holds li.ok { background: var(--ok-bg); color: var(--ok); } .live-holds li.bad { background: var(--bad-bg); color: var(--bad); }
.live-people { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.live-people li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 9px; border-radius: var(--radius-sm); background: var(--fill); }
.live-people li b { font-variant-numeric: tabular-nums; }
.live-people li.zone { background: var(--bad-bg); color: var(--bad); }
.live-people li.warn { background: var(--warn-bg); color: var(--warn); }
.live-people li.muted { background: transparent; color: var(--muted); padding: 0 2px; }
.live-armrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .live-disc { margin: 10px 0 0; line-height: 1.45; }
.live-open[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
@media (max-width: 760px) { .live-body { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .live-pill.ok::before { animation: none; } }
/* ===== digital twin panel ===== */
.twin-panel { margin: 10px 0 0; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.twin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .twin-head .section { margin: 0; }
.twin-pill { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; background: var(--fill); color: var(--muted); }
.twin-pill.ok { background: var(--ok-bg); color: var(--ok); } .twin-pill.warn { background: var(--warn-bg); color: var(--warn); } .twin-pill.info { background: var(--info-bg); color: var(--info); }
.twin-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; } .twin-ctl .narrow { width: 118px; padding: 6px 9px; }
.twin-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr); gap: 14px; }
.twin-view { position: relative; border-radius: var(--radius); overflow: hidden; background: #26282d; line-height: 0; }
.twin-view img { width: 100%; height: auto; display: block; image-rendering: pixelated; animation: pv-fade .35s ease both; }
.twin-empty { padding: 36px 16px; text-align: center; color: #b4b6bd; font-size: 13px; line-height: 1.5; }
.twin-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 10px; background: var(--surface-2); line-height: 1.3; font-size: 11.5px; color: var(--muted); }
.twin-lg { display: inline-flex; align-items: center; gap: 5px; } .twin-lg i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.twin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.twin-stat { padding: 6px 10px; border-radius: var(--radius-sm); background: var(--fill); } .twin-stat small { display: block; font-size: 10.5px; color: var(--muted); } .twin-stat b { font-size: 13px; font-variant-numeric: tabular-nums; }
.twin-stat.ok b { color: var(--ok); } .twin-stat.warn b { color: var(--warn); } .twin-stat.bad b { color: var(--bad); }
.twin-block { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.twin-block li { padding: 6px 9px; border-radius: var(--radius-sm); background: var(--warn-bg); } .twin-block li.ok { background: var(--ok-bg); color: var(--ok); }
.twin-hist { display: flex; align-items: flex-end; gap: 2px; height: 40px; } .twin-hist i { flex: 1; min-width: 3px; border-radius: 2px 2px 0 0; background: var(--accent); opacity: .75; } .twin-hist i.live { background: var(--ok); }
.twin-note { margin: 10px 0 0; line-height: 1.45; } .twin-open[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
@media (max-width: 760px) { .twin-body { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .twin-view img { animation: none; } }
.live-twinrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--muted); line-height: 1.35; cursor: pointer; }
.twin-view { align-self: start; }
.twin-acc { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--fill); line-height: 1.4; }
.twin-acc p { margin: 4px 0 0; } .twin-acc-head { display: flex; align-items: baseline; gap: 8px; }
.twin-acc-pct { font-size: 26px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .twin-acc-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.twin-acc[data-level="rough"] .twin-acc-pct { color: var(--bad); } .twin-acc[data-level="fair"] .twin-acc-pct { color: var(--warn); }
.twin-acc[data-level="good"] .twin-acc-pct, .twin-acc[data-level="high"] .twin-acc-pct { color: var(--ok); }
.twin-check { margin-top: 4px; font-size: 12px; padding: 4px 8px; border-radius: 6px; } .twin-check.ok { background: var(--ok-bg); color: var(--ok); } .twin-check.bad { background: var(--bad-bg); color: var(--bad); }
.twin-inputs { margin-top: 10px; } .twin-inputs summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.twin-in-row { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; } .twin-in-row:first-of-type { border-top: 0; }
.twin-in-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .twin-field { display: inline-flex; align-items: center; gap: 6px; }
.twin-field .narrow { width: 86px; padding: 5px 8px; } .twin-inputs label.button { display: inline-flex; width: fit-content; padding: 8px 14px; border-radius: 999px; background: var(--fill); color: var(--accent); font-size: 13px; cursor: pointer; }
/* digital twin pipeline (twin_pipeline.py) */
.twin-pipe { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--fill); }
.twin-pipe h3 { margin: 0 0 6px; font-weight: 650; }
.twin-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.twin-stages li { display: grid; grid-template-columns: 8.5em 4.5em 1fr; gap: 6px; align-items: baseline; }
.twin-stages li.ok .twin-stage-state { color: var(--ok); } .twin-stages li.bad .twin-stage-state { color: var(--bad, #c0392b); } .twin-stages li.warn .twin-stage-state { color: var(--warn); }
.twin-stage-state { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.twin-warns, .twin-needs { margin: 4px 0 0; padding-left: 18px; } .twin-ai { margin: 6px 0 0; }
.twin-pipe-opts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; } .twin-opt { display: inline-flex; gap: 4px; align-items: center; }
.twin-exports a { margin-right: 10px; }
@media (max-width: 480px) { .twin-stages li { grid-template-columns: 1fr; gap: 0; } }
/* typed instructions (prompt_cmd.py) */
.prompt-bar { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--fill); }
.prompt-row { display: flex; gap: 8px; } .prompt-row .field { flex: 1; min-width: 0; }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.prompt-out { margin: 10px 0 0; } .prompt-reply { margin: 0 0 6px; } .prompt-reply.refused { color: var(--warn); }
.prompt-actions { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 4px; }
.prompt-result { margin: 2px 0; } .prompt-result.ok { color: var(--ok); } .prompt-result.bad { color: var(--warn); }
.prompt-note { margin: 8px 0 0; }
/* twin point inspector and measuring */
.twin-viewcol { display: grid; gap: 6px; align-self: start; }
.twin-overlay { position: absolute; inset: 0; pointer-events: none; }
.twin-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 2px solid #0a84ff; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.twin-line { position: absolute; height: 2px; background: #0a84ff; transform-origin: 0 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.twin-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .twin-probe { color: var(--muted); line-height: 1.35; flex: 1; min-width: 12em; }
.twin-view[data-measuring="1"] { cursor: crosshair; }
|