/* One disclosure arrow, with a readable vehicle/plate label. */
.record-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none!important}
.record-disclosure>summary::marker{content:"";display:none}
.record-disclosure>summary::-webkit-details-marker{display:none!important}
.record-disclosure>summary::before{content:"▸";display:inline-block;flex:0 0 14px;width:14px;color:#294987;font-size:17px;line-height:1;transition:transform .15s ease}
.record-disclosure[open]>summary::before{content:"▼";font-size:12px}
.vehicle-title{display:flex;flex-direction:row;align-items:baseline;gap:6px;min-width:0;white-space:nowrap}
.vehicle-title strong{display:inline;line-height:1.35}
.vehicle-title small{display:inline;margin:0;color:#728198;font-size:13px;line-height:1.35;letter-spacing:.02em}
.vehicle-separator{color:#9aa6b7}
.disclosure-arrow{display:none!important}

/* Restore the two operation cards with a clear surface and comfortable spacing. */
.operation-detail-row td{padding:16px 0 20px;background:#f3f6fa}
.operation-detail-layout{display:block;width:100%;max-width:none}
.operation-cards{display:grid;width:100%;min-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:clamp(14px,3vw,28px)}
.operation-card{width:100%;min-width:0;padding:18px;border:1px solid #dce5ef;border-radius:13px;background:#fff;box-shadow:0 5px 18px #14233a0d}
.operation-card h3{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #edf1f6;color:#294987;font-size:15px;line-height:1.35}
.operation-entry,.operation-note{margin:10px 0 0;padding:11px 12px;border-left:3px solid #294987;border-radius:0 9px 9px 0;background:#f5f8fc}
.operation-note{border-left-color:#f28c28;background:#fff8f0}
.operation-entry small,.operation-note small{display:block;color:#64748b;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.operation-entry p,.operation-note p{margin:8px 0 2px;color:#53647b;line-height:1.5;overflow-wrap:anywhere}
.photo-icon{width:36px;height:36px;margin:8px 6px 0 0;padding:7px;border:1px solid #d5e0ee;border-radius:9px;background:#fff;color:#294987;vertical-align:middle}
.photo-icon svg{width:20px;height:20px}
.empty-operations{margin:0;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#728198}

/* Keep the preview contained and the close control visible at every size. */
.image-modal{box-sizing:border-box;width:min(720px,88vw);max-width:88vw;max-height:82vh;overflow:hidden;padding:16px;border:1px solid #dce5ef;border-radius:14px;background:#fff;box-shadow:0 24px 70px #10182755}
.image-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #edf1f6;color:#294987;font-weight:750}
.image-modal-head button{flex:0 0 auto;min-height:36px;padding:7px 13px;border:0;border-radius:8px;background:#294987;color:#fff}
.image-modal img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(82vh - 82px);margin:0 auto;object-fit:contain}
.image-modal::backdrop{background:#111827b8}
@media(max-width:760px){.operation-detail-row td{padding:12px 0 16px}.operation-cards{gap:14px}.operation-card{padding:14px}}
@media(max-width:480px){.operation-detail-row td{padding:10px 0 14px}.operation-detail-layout{position:relative;left:50%;width:calc(100vw - 16px);max-width:none;transform:translateX(-50%)}.operation-cards{width:100%;min-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(12px,4vw,16px)}.operation-card{padding:13px;border-radius:12px}.operation-card h3{font-size:14px;margin-bottom:12px;padding-bottom:8px}.operation-entry,.operation-note{margin-top:9px;padding:9px 10px}.operation-entry small,.operation-note small{font-size:11px;line-height:1.45}.operation-entry p,.operation-note p{font-size:12px;line-height:1.4}.photo-icon{width:33px;height:33px;margin:6px 3px 0 0;padding:6px}.image-modal{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:82vh;padding:11px}.image-modal img{max-height:calc(82vh - 76px)}}
