/* JDM Desk · Operations board (451R). Cards are the shared .tdc card (today.css); rows share its 40 px height and hairline. Mono codes, a dot for status, click not hover. */
.opsscreen .opbody{display:grid;gap:12px;padding:16px 24px 32px}
.opsscreen .optiles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);background:var(--surface)}
.opsscreen .optile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:12px 16px;border:0;border-inline-start:1px solid var(--line);background:none;color:var(--ink);text-align:start;cursor:pointer;font-family:var(--body)}
.opsscreen .optile:first-child{border-inline-start:0}
.opsscreen .optile:hover{background:var(--well)}
.opsscreen .optile:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.opsscreen .optile .n{font:500 24px/32px var(--body)}
.opsscreen .optile .l{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 14px/20px var(--body)}
.opsscreen .optile .s{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t3);font-size:13px;line-height:20px}
.opsscreen .opcols{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px;align-items:start}
.opsscreen .opstack{display:grid;gap:12px;min-width:0}
.opsscreen .tdc .meta{display:flex;align-items:center;gap:8px;color:var(--t3);font-size:13px;line-height:20px}
.opsscreen .orow{display:grid;grid-template-columns:76px minmax(0,1fr) auto auto;gap:4px 16px;align-items:center;min-height:40px;padding:8px 16px;border-top:1px solid var(--line)}
.opsscreen .tdc>header+.orow{border-top:0}
.opsscreen .orow .mono{color:var(--t3)}
.opsscreen .orow .grow{display:flex;flex-direction:column;min-width:0}
.opsscreen .orow .act{display:flex;align-items:center;gap:8px;font-weight:500;min-width:0}
.opsscreen .orow .sub{color:var(--t3);font-size:13px;line-height:20px;overflow-wrap:anywhere}
.opsscreen .orow .sub-i{color:var(--t3);font-weight:400;font-size:13px;line-height:20px}
.opsscreen .orow .ost{display:flex;align-items:center;gap:8px;font:400 13px/18px var(--body);white-space:nowrap;color:var(--t2)}
.opsscreen .orow .ost:empty{display:none}
.opsscreen .orow .acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.opsscreen .opnone{margin:0;padding:16px;color:var(--t3);font-size:14px}
.opsscreen .opnote{margin:0 4px;color:var(--t3);font-size:13px;line-height:20px}
.opsscreen .opneed{margin:0 4px;color:var(--t3);font-size:13px;line-height:20px}
.opsscreen .opneed b{color:var(--t2);font-weight:500}
.dlg .op-chooser{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 24px}
.dlg .op-grp h3{margin:0 0 8px;font:var(--lbl);color:var(--t3)}
.dlg .op-ch{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);text-align:start;cursor:pointer;font-family:var(--body)}
.dlg .op-ch+.op-ch{margin-top:-1px}
.dlg .op-ch:hover{background:var(--well)}
.dlg .op-ch:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;position:relative;z-index:1}
.dlg .op-ch b{font-weight:500;font-size:14px}
.dlg .op-ch span{color:var(--t3);font-size:13px;line-height:20px}
.dlg .fld textarea.ta{height:auto;padding:8px 10px}
.dlg .fld textarea.mono-ta{height:auto;padding:8px 10px;font-family:var(--mono)}
.dlg .op-evs{margin:0 0 16px;padding:0;list-style:none;display:grid;gap:0;border:1px solid var(--line)}
.dlg .op-evs li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:8px 12px;border-top:1px solid var(--line-soft);font-size:14px}
.dlg .op-evs li:first-child{border-top:0}
.dlg .op-evs .t{color:var(--t3);font-family:var(--mono);font-size:13px;line-height:20px}
.dlg .op-trk{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 16px;color:var(--t3);font-size:13px;line-height:20px}
.dlg .op-ck{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px}
.dlg .op-ck input{width:auto;height:auto}
@media (max-width:1180px){.opsscreen .optiles{grid-template-columns:repeat(4,minmax(0,1fr))}.opsscreen .optile:nth-child(5){border-inline-start:0}.opsscreen .optile:nth-child(n+5){border-top:1px solid var(--line)}.opsscreen .opcols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.opsscreen .opbody{padding:12px 16px 40px}.opsscreen .orow{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 16px}.opsscreen .orow .acts{justify-content:flex-start}.opsscreen .orow .ost{white-space:normal}.opsscreen .opcard>header{padding:12px 16px}.dlg .op-chooser{grid-template-columns:minmax(0,1fr)}.opsscreen .optiles{grid-template-columns:repeat(2,minmax(0,1fr))}.opsscreen .optile:nth-child(n){border-inline-start:1px solid var(--line);border-top:1px solid var(--line)}.opsscreen .optile:nth-child(odd){border-inline-start:0}.opsscreen .optile:nth-child(-n+2){border-top:0}.opsscreen .optile:last-child:nth-child(odd){grid-column:1/-1}}
/* Stock toolbar: the shared search field (.flt) and a bin chip, in one row above the lines. */
.opsscreen .opbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:8px 16px;border-bottom:1px solid var(--line)}
.opsscreen .opbar .flt{flex:1 1 220px;width:auto;max-width:360px;margin:0}
.opsscreen .opchip{display:inline-flex;align-items:center;gap:8px;color:var(--t2);font-size:14px}

/* Phone: the seven tabs are one row that scrolls sideways, and the tiles are short (number and label, no second line). */
@media (max-width:760px){
  .opsscreen .tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .opsscreen .tabs::-webkit-scrollbar{display:none}
  .opsscreen .tabs .tab{flex:none;white-space:nowrap}
  .opsscreen .optile{padding:8px 12px}
  .opsscreen .optile .n{font-size:20px;line-height:28px}
  .opsscreen .optile .s{display:none}
}
.opsscreen .opmore{display:flex;padding:8px 16px;border-top:1px solid var(--line)}
.opsscreen .orow .act{white-space:normal}
.opsscreen .opbar .flt{width:min(400px,100%)}
