body[data-week="6"] .view-tabs { display: none; }
.inspection-view { max-width: 1440px; margin: 0 auto; padding: 16px; }
.inspection-view [hidden] { display: none !important; }
.i6-days,.i6-actions,.i6-toolbar { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.i6-days .nav-button { color: #2c4b63; background: #e0e9ef; border: 1px solid #a9b7bf; }
.i6-days [aria-current="step"] { background: #35536d; color: #fff; }
.i6-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.i6-panel { min-width: 0; padding: 1.1rem; border: 1px solid #a9b7bf; border-radius: 16px; background: #f4f5ee; color: #243e50; margin-bottom: 1rem; }
.i6-panel h2 { font-size: 1.2rem; margin: 0 0 .6rem; }
.i6-goal { font-weight: 600; }
.i6-board { overflow-x: auto; border-radius: 12px; border: 2px solid #8b8170; background: radial-gradient(ellipse at 20% 40%,#6c655329 1px,transparent 3px),#e6decb; background-size: 19px 23px; }
.i6-mine { position: relative; padding: 28px 12px 8px; min-width: 405px; }
.i6-tray { position: relative; display: grid; grid-template-columns: 58px repeat(var(--slots), minmax(42px, 1fr)); gap: 5px; align-items: center; margin: 8px 0 12px; }
.i6-tray::before { content: ""; position: absolute; left: 65px; right: 0; top: 58px; height: 15px; border-block: 3px solid #68777b; background: repeating-linear-gradient(90deg,transparent 0 13px,#7b6145 13px 20px); box-shadow: 0 2px 2px #0003; }
.i6-tray>strong { font-size: .75rem; color: #334954; }
.i6-cell { position: relative; display: grid; grid-template-rows: 14px 62px 16px; justify-items: center; height: 92px; min-width: 0; border-radius: 8px; }
.i6-cart { position: relative; width: 100%; height: 62px; display: block; pointer-events: none; }
.i6-cart img { position: absolute; width: 200%; max-width: none; height: 124px; object-fit: contain; left: -50%; top: -29px; }
.i6-cell>small { font-size: .65rem; z-index: 1; }
.i6-slot { justify-self: end; padding-right: 3px; font-weight: bold; color: #344c59; }
.i6-cargo-label { background: #e6decb; border-radius: 4px; padding-inline: 3px; }
.i6-cell.focused { outline: 2px solid #3981a2; outline-offset: 1px; background: #fff3; }
.i6-cell.collected .i6-cargo-label { color: #205935; font-weight: bold; }
.i6-stop-sign { margin-top: 9px; height: 41px; width: 41px; clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); background: #ac3535; color: white; display: grid; place-items: center; font: bold 10px sans-serif; border: 3px solid #fff; }
.i6-wall { margin-top: -23px; width: 100%; height: 86px; border: 2px solid #4c5253; background: repeating-linear-gradient(0deg,transparent 0 15px,#bec2bd 15px 18px),repeating-linear-gradient(90deg,#788281 0 21px,#bec2bd 21px 24px); box-shadow: 0 3px 3px #0004; }
.i6-drone { position: absolute; width: 144px; height: 144px; top: 0; left: 0; z-index: 5; pointer-events: none; transition: transform .35s ease-in-out; }
.i6-drone img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 3px #26313a44); animation: i6-hover 1.5s ease-in-out infinite; }
.i6-drone.collecting img,.i6-drone.crashed img { animation: none; }
.i6-board.failed { border-color: #b64e46; }
.i6-counter { font-size: .85rem; }
.i6-feedback { background: #e0ebf2; border-left: 4px solid #5986a8; padding: .8rem; min-height: 3rem; }
.i6-hint { border-top: 1px solid #c8d2d6; padding-top: .8rem; font-size: .9rem; }
.i6-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.i6-hint pre { background: #243b4c; color: #f2f6fa; padding: .8rem; border-radius: 8px; }
.i6-toolbar { justify-content: space-between; }
.i6-toolbar span,.i6-actions small { font-size: .8rem; }
.i6-editor-wrap { display: flex; height: 340px; border: 1px solid #8097a6; border-radius: 10px; overflow: hidden; background: #172b3a; margin-bottom: 1rem; }
.i6-editor-wrap .i6-gutter { box-sizing: border-box; margin: 0; padding: 12px 8px; width: 46px; flex-shrink: 0; text-align: right; overflow: hidden; color: #94aebe; background: #203847; font: 14px/24px monospace; white-space: pre; }
.i6-source { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.i6-source textarea { position: relative; z-index: 1; box-sizing: border-box; display: block; width: 100%; height: 100%; resize: none; border: 0; border-radius: 0; padding: 12px; margin: 0; background: transparent; color: #edf5fa; font: 14px/24px monospace; tab-size: 4; white-space: pre; }
.i6-source textarea:focus { outline: 2px solid #83b9dc; outline-offset: -2px; }
.i6-trace { position: absolute; height: 24px; left: 0; right: 0; background: #375469; border-left: 3px solid #85d6ec; pointer-events: none; }
.i6-results { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.i6-progress-actions { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid #a9b7bf; }
.i6-progress-actions>strong { flex-basis: 100%; }
.i6-progress-actions .button { font-size: .8rem; }
.i6-result-dialog { position: fixed; inset: 0; margin: auto; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; border: 2px solid #ab625d; border-radius: 20px; padding: 28px; background: #fff9ee; color: #283c4b; box-shadow: 0 24px 80px #0006; text-align: center; }
.i6-result-dialog::backdrop { background: #132536b3; }
.i6-result-dialog[data-outcome="won"] { border-color: #638f4c; }
.i6-result-close { position: absolute; right: 10px; top: 6px; padding: 5px 12px; background: transparent; border: 0; color: #283c4b; font-size: 1.8rem; cursor: pointer; }
.i6-result-icon { font-size: 3rem; color: #a73838; }
.i6-result-dialog h2 { font-size: 1.6rem; margin: .6rem 0; }
.i6-result-dialog p { overflow-wrap: anywhere; line-height: 1.7; }
.i6-result-dialog .i6-actions { justify-content: center; margin-bottom: 0; }
.i6-results section { min-width: 0; background: #e6ecef; border-radius: 8px; padding: .7rem; }
.i6-results h3 { font-size: .9rem; margin: 0 0 .5rem; }
.i6-results pre { font: 13px/1.5 monospace; margin: 0; max-height: 150px; overflow: auto; }
.i6-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.i6-form label { display: grid; gap: .3rem; }
@keyframes i6-hover { 50% { transform: translateY(-4px); } }
@media (max-width: 850px) { .i6-layout { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .i6-drone { transition: none; } .i6-drone img { animation: none; } }
