#site-workspace .site-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:4px}#site-workspace .site-tabs .site-tab-messages{display:inline-flex;align-items:center;gap:7px;margin-left:auto;min-height:40px;background:transparent;color:var(--muted);border:0}#site-workspace .site-tab-messages svg{width:18px;height:18px}#site-workspace .site-ux-more #crew-reserve-qr{display:flex;align-items:center;gap:8px;white-space:nowrap;width:100%}
#site-workspace .site-clean-columns .site-entry-hours,#site-workspace .site-clean-columns .site-ux-hours-header{display:none!important}#site-workspace .site-clean-columns .site-entry-rate,#site-workspace .site-clean-columns .site-ux-rate-header{display:table-cell!important}#site-workspace .site-clean-columns .site-entry-table{min-width:1030px}#site-workspace .site-clean-columns .site-top-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;min-height:40px;white-space:nowrap}#site-workspace .site-clean-columns .site-top-add svg{width:18px;height:18px;flex:none}
.site-row-notes-open{display:none;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:4px;border:0;background:transparent;color:var(--muted)}.site-row-notes-open svg{width:16px;height:16px}.site-row-notes-open.has-note{color:var(--blue)}.site-presence-menu{position:fixed;z-index:12;padding:5px;background:var(--surface,#fff);border:1px solid var(--line);box-shadow:0 6px 24px #0002;border-radius:12px;width:240px}.site-presence-menu button{width:100%;padding:10px 12px;min-height:40px;text-align:left;border:0;background:transparent;font-size:12px;color:var(--ink)}
@media(max-width:1440px){#site-workspace .site-clean-columns .site-entry-note,#site-workspace .site-clean-columns .site-ux-note-header{display:none!important}.site-row-notes-open{display:inline-flex;float:right;margin-top:3px}#site-workspace .site-clean-columns .site-entry-work{position:relative}#site-workspace .site-clean-columns .site-entry-work>div{margin-right:26px}}
#site-workspace .site-tabs{width:100%;flex-wrap:nowrap;overflow-x:auto}#site-workspace .site-tabs>button{flex:none;padding:10px 13px;white-space:nowrap}#site-workspace .site-tabs .site-tab-messages{width:40px;height:40px;padding:10px;justify-content:center;margin-left:auto;flex:none}#site-workspace .site-tab-messages span{display:none}
#site-workspace .site-clean-columns .site-entry-table{min-width:960px}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(2){width:190px!important}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(3){width:130px!important}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(6){width:80px!important}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(7){width:80px!important}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(8){width:100px!important}#site-workspace .site-clean-columns .site-unified-table thead th:nth-child(9){width:160px!important}
@media(max-width:1440px){#site-workspace .site-clean-columns .site-entry-work{position:relative}.site-row-notes-open{position:absolute;right:6px;top:50%;transform:translateY(-50%);margin:0;float:none}}

/* Match the control row; reserve content width rather than clipping the label. */
#site-workspace .site-clean-columns .site-pattern-controls{grid-template-columns:minmax(220px,1fr) 364px minmax(180px,230px) max-content}
#site-workspace .site-clean-columns .site-top-add{width:max-content;min-width:140px;height:42px;min-height:42px;padding:0 14px;gap:8px;font-size:13px;line-height:20px;border-radius:8px;box-sizing:border-box;justify-self:end}#site-workspace .site-clean-columns .site-top-add svg{width:18px;height:18px;margin:0;flex:0 0 18px;display:block}#site-workspace .site-clean-columns .site-top-add span{display:block;line-height:20px;margin:0}
@container(max-width:960px){#site-workspace .site-clean-columns .site-pattern-controls{grid-template-columns:364px minmax(160px,1fr) max-content}}
@container(max-width:700px){#site-workspace .site-clean-columns .site-pattern-controls{grid-template-columns:minmax(0,1fr) max-content}}

#site-workspace .site-object-navrow{display:flex;align-items:center;gap:12px;margin-bottom:16px;min-width:0}#site-workspace .site-object-navrow>.site-tabs{flex:1;min-width:0;width:auto;margin:0}#site-workspace .site-object-tools{display:flex;align-items:center;gap:8px;flex:none}#site-workspace .site-object-tools>#crew-office-messages,#site-workspace .site-object-tools .site-ux-more>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:42px;height:42px;min-width:42px;min-height:42px;padding:0;margin:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted)}#site-workspace .site-object-tools>#crew-office-messages span{display:none}#site-workspace .site-object-tools svg{display:block;width:20px;height:20px;margin:0}#site-workspace .site-object-tools .site-ux-more{margin:0}

#site-workspace .site-object-navrow>.site-tabs{flex:0 1 auto;width:max-content;max-width:calc(100% - 104px)}#site-workspace .site-object-tools{margin-left:auto}

/* A single control height for the tab strip and its adjacent actions. */
#site-workspace .site-object-navrow>.site-tabs{box-sizing:border-box;height:42px;min-height:42px;padding:3px;gap:4px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);align-items:center}
#site-workspace .site-object-navrow>.site-tabs>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:34px;min-height:34px;padding:0 13px;margin:0;border:0;border-radius:7px;font-size:13px;line-height:20px}
#site-workspace .site-object-navrow>.site-tabs>button.active{background:var(--surface);color:var(--accent,#2878ed);box-shadow:0 1px 4px #142d4b0b}

/* Align headers, editable values and empty/live rows on the same column edges. */
#site-workspace .site-unified-table th:nth-child(7),#site-workspace .site-unified-table th:nth-child(8),#site-workspace .site-unified-table td:nth-child(7),#site-workspace .site-unified-table td:nth-child(8){text-align:right;font-variant-numeric:tabular-nums}
#site-workspace .site-unified-table td:nth-child(7)>output,#site-workspace .site-unified-table td:nth-child(8)>output{padding:0;text-align:right}
#site-workspace .site-unified-table th:nth-child(6),#site-workspace .site-unified-table td:nth-child(6){text-align:left;font-variant-numeric:tabular-nums}
#site-workspace .site-unified-table .site-entry-volume input{width:54px;padding:0;border:0;border-radius:5px;text-align:left;box-sizing:border-box}
#site-workspace .site-unified-table .site-entry-volume input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* Center the visible string independently of the browser's segmented date editor. */
#site-workspace .site-date-nav label.site-date-control{position:relative;display:block;height:42px;min-height:42px;margin:0;padding:0;box-sizing:border-box}
#site-workspace .site-date-control #site-day-date{position:absolute;inset:0;z-index:2;opacity:0;width:100%;height:100%;min-height:42px;padding:0;margin:0;cursor:pointer;box-sizing:border-box}
#site-workspace .site-date-control #site-day-date::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
#site-workspace .site-date-display{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;line-height:20px;letter-spacing:normal;font-variant-numeric:tabular-nums;pointer-events:none;box-sizing:border-box}
#site-workspace .site-date-value{display:block;margin:0;text-align:center;white-space:nowrap}
#site-workspace .site-date-display svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted)}
#site-workspace .site-date-control:focus-within .site-date-display{outline:2px solid var(--blue);outline-offset:2px}

/* A shared numeric axis; units and steppers occupy separate reserved slots. */
#site-workspace .site-clean-columns .site-unified-table thead th.site-volume-head{width:120px!important;text-align:center;padding-right:56px;padding-left:8px}
#site-workspace .site-unified-table td.site-volume-cell{width:120px;text-align:center}
#site-workspace .site-volume-control{display:grid;grid-template-columns:minmax(0,1fr) 22px 18px;gap:4px;align-items:center;height:40px;min-width:0}
#site-workspace .site-unified-table .site-volume-control>input{width:100%;min-width:0;max-width:none;height:40px;padding:0;margin:0;text-align:center;appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums}
#site-workspace .site-volume-control>input::-webkit-inner-spin-button,#site-workspace .site-volume-control>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#site-workspace .site-unified-table .site-volume-unit{display:block;margin:0!important;text-align:left;font-size:11px;line-height:20px;white-space:nowrap;color:var(--muted)}
#site-workspace .site-volume-value{display:block;text-align:center;font-variant-numeric:tabular-nums;line-height:20px}
#site-workspace .site-volume-steps{display:grid;grid-template-rows:16px 16px;align-items:center}
#site-workspace .site-volume-steps>button{display:flex;align-items:center;justify-content:center;min-width:18px;width:18px;height:16px;min-height:16px;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:var(--muted);box-shadow:none}
#site-workspace .site-volume-steps>button:hover{background:var(--surface2);color:var(--blue)}#site-workspace .site-volume-steps>button:disabled{opacity:.3}#site-workspace .site-volume-steps svg{display:block;width:12px;height:12px}

/* Match the existing 24px status mark; preserve the fixed action-column slots. */
#site-workspace .site-row-action-slot{display:flex;align-items:center;justify-content:center;height:24px}
#site-workspace .site-row-actions button{height:24px;min-height:24px!important;max-height:24px;padding:0!important;border-radius:7px;box-sizing:border-box}
#site-workspace .site-row-actions .site-action-add,#site-workspace .site-row-actions .site-action-remove{width:24px;min-width:24px;max-width:24px}
#site-workspace .site-row-actions button svg{width:16px;height:16px}

/* A dedicated note column after the amount; matching 24px row actions. */
#site-workspace .site-clean-columns .site-entry-work>div{margin-right:0}
#site-workspace .site-clean-columns .site-entry-note.site-note-icon-cell,#site-workspace .site-clean-columns .site-unified-table thead th.site-note-icon-head{display:table-cell!important;width:36px!important;min-width:36px;max-width:36px;padding:0 6px;box-sizing:border-box;text-align:center;vertical-align:middle}
#site-workspace .site-note-icon-cell>input,#site-workspace .site-note-icon-cell>textarea{display:none}
#site-workspace .site-note-icon-cell .site-row-notes-open{display:inline-flex;position:static;transform:none;float:none;margin:0;width:24px;height:24px;min-width:24px;min-height:24px;max-width:24px;max-height:24px;padding:0;vertical-align:middle;box-sizing:border-box;border:1px solid var(--line);border-radius:7px;background:var(--surface2,#f3f5f8);color:var(--muted);box-shadow:none}
#site-workspace .site-note-icon-cell .site-row-notes-open svg{width:16px;height:16px}

#site-workspace .site-note-icon-cell .site-row-notes-open.has-note{color:var(--blue,#2d75e8);background:var(--softblue,#edf3ff);border-color:transparent}
#site-workspace .site-note-icon-cell .site-row-notes-open svg{display:block;flex:0 0 16px;stroke-width:1.8}
