/* Frontline Operations 2026 | dense spreadsheet workspace */
.o26{height:calc(100vh - 134px);min-height:390px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--border,#d6dfe3);border-radius:7px;background:var(--surface,#fff);color:var(--text,#273643);font-family:Arial,Helvetica,sans-serif}
.o26 *{box-sizing:border-box}
.o26-title,.o26-toolbar{display:flex;align-items:center;gap:9px;padding:7px 11px;flex-shrink:0;border-bottom:1px solid var(--border,#d6dfe3)}
.o26-title{justify-content:space-between;min-height:54px}.o26-title h2{font-size:16px;line-height:19px;margin:0;font-weight:700}.o26-title small{display:block;margin-top:2px;color:var(--muted,#6e7984);font-size:10px}
.o26-tools-right{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.o26-tools-right button,.o26-tools-right a,.o26-toolbar button{border:1px solid var(--border,#d0d8df);border-radius:4px;background:var(--surface,#fff);color:var(--text,#1d2e38);font-size:11px;line-height:15px;padding:6px 9px;cursor:pointer;text-decoration:none;white-space:nowrap}
.o26-live{color:#07916f;font-size:10px;font-weight:700;letter-spacing:.2px}.o26-live-sub{font-size:10px;color:var(--muted,#737b85);font-weight:600}
.o26-toolbar{min-height:42px;gap:8px}.o26-toolbar label{display:flex;align-items:center;gap:5px;color:var(--muted,#6e7f88);font-size:11px;flex:none}
.o26-toolbar input{background:var(--surface,#fff);color:var(--text,#1b2730);border:1px solid var(--border,#d2dce1);border-radius:4px;height:27px;padding:4px 6px;font-size:12px}
#o26Address{width:86px;text-align:center}#o26Formula{min-width:0;flex:1;opacity:.95}.o26-formulaicon{color:var(--muted,#657682);font-weight:700;font-style:italic;font-size:12px}
.o26-sheet{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:26px minmax(0,1fr);flex:1;min-height:0;min-width:0;background:#fff;overflow:hidden}
.o26-corner{grid-column:1;grid-row:1;background:#eef1f3;border-bottom:1px solid #c6cfd4;border-right:1px solid #c6cfd4;z-index:3}
.o26-column-heads{grid-column:2;grid-row:1;position:relative;overflow:hidden;white-space:nowrap;background:#f0f3f5;border-bottom:1px solid #c6cfd4;z-index:2}
.o26-row-heads{grid-column:1;grid-row:2;position:relative;overflow:hidden;background:#f0f3f5;border-right:1px solid #c6cfd4;z-index:2}
.o26-viewport{grid-column:2;grid-row:2;overflow:auto;outline:none;position:relative;scrollbar-color:#b6c4ce #f0f3f5;scrollbar-width:auto;overscroll-behavior:contain}
.o26-plane{position:relative;background:#fff}
.o26-column-header,.o26-row-header{position:absolute;display:flex;align-items:center;justify-content:center;padding:0 4px;white-space:nowrap;overflow:hidden;font-family:Arial,Helvetica,sans-serif;font-size:10.5px;color:#5b6770;font-weight:500;user-select:none;cursor:default}
.o26-column-header{height:26px;top:0;border-right:1px solid #d2d9dc}
.o26-row-header{width:48px;left:0;border-bottom:1px solid #d2d9dc;text-align:right;justify-content:flex-end;padding-right:9px}
.o26-row-header.active,.o26-column-header.active{background:#d5ece9;color:#137a73;font-weight:700}
.o26-cdrag,.o26-rdrag{position:absolute;z-index:8;background:transparent}
.o26-cdrag{right:0;width:6px;height:100%;cursor:col-resize;top:0}
.o26-rdrag{bottom:0;height:6px;width:100%;cursor:row-resize;left:0}
.o26-column-header:hover .o26-cdrag{background:rgba(25,128,120,.25)}.o26-row-header:hover .o26-rdrag{background:rgba(25,128,120,.25)}
.o26-cell{position:absolute;display:flex;align-items:center;min-width:0;padding:1px 6px;border-right:1px solid #dadce0;border-bottom:1px solid #dadce0;white-space:nowrap;overflow:hidden;font-family:Arial,Helvetica,sans-serif;line-height:1.2;cursor:cell}
.o26-celltext{display:block;overflow:hidden;text-overflow:clip;min-width:0;max-width:100%;white-space:nowrap;pointer-events:none}
.o26-cell.selected{box-shadow:inset 0 0 0 2px #168bdf;z-index:2}
.o26-cell.choice .o26-celltext{max-width:calc(100% - 11px);font-size:inherit}
.o26-cell .o26-native-chip{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:14px;padding:2px 15px 2px 8px;min-width:20px;max-width:calc(100% - 11px);line-height:1.12;box-shadow:none;font-weight:500}
.o26-cell.unloaded{background:#fafafa !important}
.o26-cell .o26-chevron{position:absolute;right:3px;top:50%;transform:translateY(-50%);font-size:10px;color:#3a4751;font-style:normal;pointer-events:none}
.o26-note-corner{position:absolute;right:0;top:0;border-top:7px solid #e9a00d;border-left:7px solid transparent;pointer-events:none}
.o26-bool{display:inline-block;width:13px;height:13px;border:1px solid #87929c;border-radius:2px;background:#fff;color:#fff;font-weight:bold;line-height:12px;text-align:center;font-size:10px}
.o26-bool.checked{background:#14865f;border-color:#14865f}
.o26-editor{position:absolute;inset:0;width:100%;height:100%;outline:2px solid #168bdf;border:0;background:#fff;color:#17252d;font:inherit;text-align:inherit;padding:0 6px;z-index:5;min-height:20px}
.o26-editor option{color:#182630;background:#fff}
.o26-loading{display:flex;flex:1;justify-content:center;align-items:center;background:var(--surface,#fff);font-size:12px;color:var(--muted,#777);padding:18px}
.o26-footer{flex-shrink:0;display:flex;align-items:center;min-height:32px;border-top:1px solid var(--border,#cbd2d9);background:var(--surface,#fff);overflow:hidden}
.o26-tabs{flex:1;display:flex;min-width:0;overflow:auto;gap:3px;padding:4px 7px 0;scrollbar-width:thin}
.o26-tabs button{white-space:nowrap;padding:6px 11px;border:0;border-radius:4px 4px 0 0;background:transparent;color:var(--text,#2a3b49);font-size:11px;cursor:pointer}
.o26-tabs button.selected{background:#d9eeea;color:#176e68;font-weight:700;border-bottom:2px solid #0d8b82}
.o26-footer-status{white-space:nowrap;padding:0 9px;font-size:10px;color:var(--muted,#86929a)}
.o26-toast{position:fixed;right:22px;bottom:50px;z-index:13000;max-width:430px;padding:11px 14px;background:#243342;color:#fff;border:1px solid #4c626f;border-radius:5px;box-shadow:0 6px 15px rgba(0,0,0,.12);font-size:12px}
.o26-toast.ok{background:#216347}.o26-toast.error{background:#92372c}
.o26-menu{position:fixed;z-index:13050;width:170px;padding:5px;background:var(--surface,#fff);border:1px solid var(--border,#cbd5dc);border-radius:4px;box-shadow:0 3px 10px rgba(0,0,0,.16)}
.o26-menu button{display:block;width:100%;padding:8px 10px;text-align:left;white-space:nowrap;background:transparent;border:0;font-size:12px;color:var(--text,#20313f);cursor:pointer}
.o26-menu button:hover{background:var(--surface-secondary,#ecf3f4)}
@media(max-width:950px){.o26-toolbar{flex-wrap:wrap}.o26-toolbar #o26Formula{min-width:150px}.o26-title{min-height:65px}.o26{height:calc(100vh - 116px)}.o26-footer-status{display:none}}

/* Range operations preserve source cell colors; only row/column borders mark selection. */
.o26-row-header.range-selected,.o26-column-header.range-selected{background:#cce7f8;color:#0f6197;font-weight:700}
.o26-cell.multi-selected:not(.selected){box-shadow:inset 0 0 0 1px rgba(39,127,191,.52)}
.o26-selection-count{font-size:10px;line-height:16px;color:var(--muted,#637681);white-space:nowrap;max-width:205px;overflow:hidden;text-overflow:ellipsis}
.o26-toolbar{padding:6px 8px;gap:6px}
.o26-toolbar #o26HideSelection,.o26-toolbar #o26UnhideSelection{font-weight:600;border-color:#a4ccd8}
.o26-menu{width:213px}
.o26-menu button{white-space:normal;font-size:12px}
.o26-sheet{width:100%;height:100%;min-height:0;min-width:0}
.o26-viewport{width:100%;height:100%}
.o26-title{width:100%}
.o26-footer-status{max-width:260px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1300px){.o26-selection-count{display:none}.o26-footer-status{display:none}}
@media(max-width:800px){.o26-title{padding:5px 8px}.o26-title h2{font-size:14px}.o26-tools-right{gap:4px}.o26-toolbar{gap:4px}.o26-toolbar #o26Formula{min-width:100px;flex-basis:140px}.o26-toolbar button{padding:5px 6px;font-size:10px}}

/* Source frozen header remains visible while scrolling far down the operational log. */
.o26-sheet{position:relative}
.o26-pinned-rows{position:absolute;left:48px;top:26px;right:0;z-index:5;overflow:hidden;background:var(--surface,#fff);pointer-events:none;box-shadow:0 1px #8fa8af}
.o26-pinned-cell{position:absolute;display:flex;align-items:center;border-right:1px solid #bcc9ce;border-bottom:1px solid #bcc9ce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:1px 6px;font-family:Arial,Helvetica,sans-serif;font-size:11px}

.o26-hover-tip{position:fixed;z-index:12000;max-width:min(450px,calc(100vw - 26px));max-height:190px;overflow:hidden;border:1px solid var(--border,#cbd6dc);border-radius:5px;background:var(--surface,#fff);color:var(--text,#162630);padding:9px 11px;line-height:1.45;white-space:pre-wrap;word-break:break-word;box-shadow:0 4px 11px rgba(0,0,0,.12);pointer-events:none;font-family:Arial,Helvetica,sans-serif;font-size:12px}

/* Source frozen identity columns (e.g. first ten columns in AllTrucks2.0). */
.o26-frozen-cols{position:absolute;top:26px;bottom:0;left:48px;z-index:6;overflow:hidden;border-right:2px solid #7a939c;background:var(--surface,#fff)}
.o26-frozen-col-heads{position:absolute;top:0;left:48px;height:26px;z-index:9;overflow:hidden;border-right:2px solid #7a939c;background:#f0f3f5}
.o26-frozen-cols .o26-cell{font-size:12px;cursor:cell}
.o26-pinned-rows{z-index:8}

/* Native Google Sheets-like checkboxes: render on every BOOLEAN validation, including empty cells */
.o26-native-checkbox{appearance:none;-webkit-appearance:none;display:block;flex:0 0 14px;width:14px;height:14px;margin:0 auto;border:1.5px solid #8d969e;border-radius:2px;background:transparent;cursor:pointer;vertical-align:middle;position:relative;outline-offset:2px}
.o26-native-checkbox:checked{background:#2178aa;border-color:#2178aa}
.o26-native-checkbox:checked::after{content:'';position:absolute;left:3px;top:0px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.o26-native-checkbox:disabled{cursor:default;opacity:.75}
.o26-native-checkbox:focus-visible{outline:2px solid #3b89d9}
