/* Private notes remain independent from the five repair stages. */
.order-notes{width:100%;max-width:960px;min-width:0;margin:0 auto}
.on-compose label{display:block;font-weight:650;margin-bottom:10px}
.on-compose textarea{display:block;width:100%;min-height:112px;box-sizing:border-box;resize:vertical;font:inherit;line-height:1.5}
.on-compose-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.on-compose-actions button,.on-list-head button,.on-queued button{min-height:44px}
.on-hint{color:#71776b;font-size:12px;line-height:1.5;margin:12px 0 0}
#onNotice{font-size:13px;line-height:1.5;margin:10px 0 0;overflow-wrap:anywhere;color:#52704d}
#onNotice:empty{display:none}#onNotice.error{color:#ad3c30}
.on-queue{display:grid;gap:8px}.on-queued{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e2e5dc}
.on-queued>div:first-child{min-width:0}.on-queued strong{font-size:13px;display:block;overflow-wrap:anywhere}.on-queued small{display:block;color:#71776b;margin-top:4px}.on-queued>div:last-child{display:flex;gap:4px;flex-shrink:0}
.on-list-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px;gap:12px}
.on-list{display:grid;gap:14px}.on-note{background:#fff;border:1px solid #dfe3d8;border-radius:14px;padding:20px;min-width:0}
.on-note header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;line-height:1.5;font-size:13px;overflow-wrap:anywhere}.on-note time{color:#79816e;font-size:12px}.on-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:12px 0 0}
.on-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;min-width:0}
.on-photo{display:block;padding:0;overflow:hidden;border-radius:10px;background:#eef0e9;width:100%;height:220px}
.on-photo img{width:100%;height:100%;object-fit:contain;display:block}
.on-video{margin:0;min-width:0;overflow:hidden;background:#171b17;border-radius:10px;color:#eff3eb}
.on-video video{display:block;width:100%;max-height:260px}.on-video figcaption{padding:8px 12px;font-size:12px;overflow-wrap:anywhere}
.on-empty{padding:26px 18px;text-align:center;border:1px dashed #cbd1c0;border-radius:14px;color:#7a816e;line-height:1.6}
.on-older{display:block;margin:18px auto}.on-older[hidden]{display:none}
@media(max-width:600px){.on-note{padding:16px}.on-media{grid-template-columns:minmax(0,1fr)}.on-photo{height:230px}.on-compose-actions{gap:8px}.on-compose-actions button{flex:1;padding:12px 9px;font-size:13px}.on-note header{flex-direction:column;gap:3px}}

#stageContent>.chat-lightbox{position:fixed;z-index:70}
#stageContent>.chat-lightbox .chat-photo-header{padding-top:max(8px,env(safe-area-inset-top))}
