[hidden] { display:none !important; }
/* Daily work tools share the MOID forms grayscale palette and touch targets. */
.quick-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:22px 0; }
.quick-actions .btn { min-height:64px; padding:14px 16px; justify-content:flex-start; font-size:16px; white-space:normal; text-align:left; }
.quick-actions svg { width:22px; height:22px; flex-shrink:0; }
.quick-time-buttons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:16px 0 22px; }
.quick-time-buttons .btn { min-height:48px; padding:11px 12px; font-size:15px; white-space:normal; }
.quick-time-manual { grid-column:1/-1; }
.activity-panel, .secondary-panel { margin:24px 0 0; border:1px solid #c7c7c7; border-radius:7px; background:#fff; }
.activity-panel>summary, .secondary-panel>summary { padding:16px 20px; min-height:56px; font-size:17px; font-weight:600; cursor:pointer; color:#242424; }
.activity-panel>summary:focus-visible, .secondary-panel>summary:focus-visible { outline:3px solid #242424; outline-offset:3px; border-radius:5px; }
.activity-panel[open]>summary, .secondary-panel[open]>summary { border-bottom:1px solid #d6d6d6; }
.activity-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:20px; }
.activity-columns section { min-width:0; }
.activity-columns h3 { font-size:15px; font-weight:600; margin:0 0 10px; color:#333; }
.activity-list { list-style:none; margin:0; padding:0; }
.activity-list li+li { border-top:1px solid #dedede; }
.activity-list button { width:100%; display:flex; gap:10px; align-items:center; justify-content:space-between; padding:12px 0; min-height:64px; text-align:left; }
.activity-list button span { min-width:0; }
.activity-list button strong { display:block; color:#242424; font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.activity-list button small { display:block; margin-top:4px; color:#555; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.activity-list button>svg { width:18px; height:18px; flex-shrink:0; }
.activity-list button:hover strong { text-decoration:underline; text-underline-offset:3px; }
.activity-empty { padding:12px 0; font-size:14px; color:#555; line-height:1.6; }
.stone-tools { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:16px 0; }
.stone-tools .btn { min-height:46px; }
.secondary-panel-body { padding:22px; }
.secondary-panel-body>.field+.field { margin-top:20px; }
.secondary-panel-body .field { width:100%; }
.secondary-panel-body p { overflow-wrap:anywhere; }
.qr-preview { display:flex; flex-direction:column; align-items:center; gap:16px; margin:12px auto 20px; padding:20px; color:#242424; }
.qr-preview img, .qr-preview canvas, .qr-preview svg { display:block; width:min(100%,260px); height:auto; max-width:100%; background:#fff; }
.qr-preview p { font-size:15px; text-align:center; overflow-wrap:anywhere; }
.qr-preview strong { font-size:18px; overflow-wrap:anywhere; }
.scanner-layout { display:grid; gap:18px; min-width:0; }
.scanner-video { display:block; width:100%; max-height:48dvh; min-height:180px; object-fit:cover; background:#242424; border-radius:6px; }
.scanner-layout p { color:#555; font-size:15px; line-height:1.6; }
.manual-code-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:end; }
.manual-code-form .field { min-width:0; }
.manual-code-form .btn { min-height:48px; }
.photo-picker-actions { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 0; }
.photo-picker-actions .btn { min-height:48px; font-size:15px; }
.photo-preview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:16px 0; }
.photo-preview { position:relative; min-width:0; margin:0; border:1px solid #c7c7c7; border-radius:6px; background:#fff; overflow:hidden; }
.photo-preview>img, .photo-preview>button>img { display:block; width:100%; height:155px; object-fit:cover; background:#eee; }
.photo-preview>button { width:100%; display:block; padding:0; }
.photo-preview figcaption, .photo-caption { padding:10px 12px; color:#444; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.photo-preview-grid .photo-controls { padding:0 10px 10px; }
.photo-controls { display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin-top:8px; }
.photo-controls .btn, .photo-controls button { min-height:44px; min-width:44px; }
.photo-controls .btn { padding:9px 11px; font-size:13px; white-space:normal; }
.photo-controls .icon-btn { min-width:44px; }
.photo-status { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border:1px solid #aaa; border-radius:4px; background:#fff; color:#333; font-size:13px; line-height:1.4; }
.photo-status svg { width:15px; height:15px; flex-shrink:0; }
.photo-status.pending { border-style:dashed; }
.photo-status.synced { border-style:solid; }
.photo-status.error { border:2px solid #292929; font-weight:600; }
.photo-main { display:inline-flex; align-items:center; gap:5px; font-size:13px; color:#242424; font-weight:600; padding:5px 9px; background:#f3f3f3; border:1px solid #aaa; border-radius:4px; }
.photo-main svg { width:14px; height:14px; }
.note-actions { display:flex; gap:10px; flex-wrap:wrap; margin:20px 0 10px; }
.note-actions .btn { min-height:46px; }
.note-help, .finance-help { color:#555; font-size:14px; line-height:1.6; margin:12px 0 0; }
.note-list { list-style:none; padding:0; margin:20px 0 0; }
.note-entry { padding:16px 0; border-top:1px solid #d6d6d6; }
.note-entry-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 14px; font-size:13px; color:#555; margin-bottom:8px; }
.note-entry-heading time { font-weight:600; color:#333; }
.note-entry p { font-size:16px; line-height:1.65; color:#242424; white-space:pre-wrap; overflow-wrap:anywhere; }
.dictation-status { padding:12px 14px; margin:14px 0; border:1px dashed #888; border-radius:5px; color:#333; background:#f3f3f3; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.dictation-status:empty { display:none; }
.document-options { display:grid; gap:12px; margin:12px 0 20px; }
.document-options label { display:flex; align-items:flex-start; gap:12px; border:1px solid #aaa; border-radius:6px; padding:15px; font-size:16px; min-height:56px; cursor:pointer; }
.document-options input { width:20px; height:20px; margin:2px 0 0; accent-color:#292929; flex-shrink:0; }
.document-options strong { display:block; font-size:16px; color:#242424; }
.document-options small { display:block; font-size:14px; color:#555; line-height:1.6; margin-top:5px; }
.document-options label:has(input:checked) { border:2px solid #292929; padding:14px; background:#f3f3f3; }
.document-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.document-photo-grid label { display:flex; flex-direction:column; gap:8px; min-width:0; padding:10px; border:1px solid #aaa; border-radius:5px; cursor:pointer; }
.document-photo-grid img { display:block; width:100%; height:100px; object-fit:cover; background:#eee; border-radius:3px; }
.document-photo-grid input { width:20px; height:20px; accent-color:#292929; }
.document-photo-grid span { font-size:13px; color:#444; overflow-wrap:anywhere; }
.document-photo-grid label:has(input:checked) { outline:2px solid #292929; outline-offset:0; }
.document-preview { display:block; width:100%; min-height:300px; height:58dvh; border:1px solid #aaa; border-radius:5px; background:#f3f3f3; margin:16px 0; }
.location-line { display:flex; align-items:flex-start; gap:6px; color:#444; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.location-line svg { width:17px; height:17px; flex-shrink:0; margin-top:2px; }
.location-filter { display:flex; align-items:center; gap:8px; min-width:0; }
.location-filter label { font-size:14px; color:#333; font-weight:600; }
.location-filter select { min-width:0; max-width:100%; width:100%; min-height:48px; border:1px solid #888; border-radius:5px; padding:10px 12px; font:16px var(--sans); color:#242424; background:#fff; }
.location-form { display:grid; grid-template-columns:1fr 1fr; gap:18px 14px; }
.location-form .field { min-width:0; }
.location-form .full { grid-column:1/-1; }
.offline-banner { display:flex; align-items:flex-start; gap:10px; padding:14px 16px; margin:0 0 20px; background:#f3f3f3; border:1px solid #888; border-radius:5px; color:#292929; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.offline-banner svg { flex-shrink:0; width:20px; height:20px; margin-top:2px; }
.sync-summary { color:#444; font-size:14px; line-height:1.65; margin:12px 0; overflow-wrap:anywhere; }
.sync-summary strong { color:#242424; }
.finance-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:18px 0 0; }
.finance-actions .btn { min-height:46px; }
.roi-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
.roi-card { border:1px solid #ccc; border-radius:6px; padding:18px; background:#fff; color:#242424; min-width:0; }
.roi-card label { display:block; font-size:14px; color:#444; font-weight:500; }
.roi-card strong { display:block; font-size:27px; font-weight:600; margin:7px 0; overflow-wrap:anywhere; }
.roi-card p { font-size:13px; line-height:1.65; color:#555; }
.realized-card { margin-top:14px; }
.economic-balance .metric strong { display:block; overflow-wrap:anywhere; }
.access-panel { max-width:600px; margin:32px auto; padding:24px; border:1px solid #aaa; border-radius:7px; background:#fff; }
.access-panel h1, .access-panel h2 { color:#242424; font-size:26px; line-height:1.3; margin-bottom:14px; }
.access-panel p { color:#555; font-size:16px; line-height:1.65; margin:12px 0; }
.access-panel .btn { margin-top:8px; }
.form-error { color:#242424; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.form-error:not(:empty) { margin:14px 0; padding:12px 14px; border:1px solid #777; border-left:4px solid #292929; border-radius:4px; background:#f3f3f3; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

@media(max-width:1150px) {
  .quick-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .activity-columns { gap:18px; }
}
@media(max-width:900px) {
  .activity-columns { grid-template-columns:1fr; }
  .activity-columns section+section { border-top:1px solid #dedede; padding-top:16px; }
  .activity-list button { min-height:60px; padding:10px 0; }
  .photo-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .quick-actions { gap:10px; }
  .quick-actions .btn { min-height:68px; padding:12px; font-size:15px; gap:9px; }
  .quick-actions svg { width:20px; height:20px; }
  .quick-time-buttons { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .activity-panel>summary, .secondary-panel>summary { padding:15px 17px; font-size:16px; }
  .activity-columns, .secondary-panel-body { padding:18px; }
  .stone-tools { gap:8px; }
  .stone-tools .btn { flex:1; min-width:120px; white-space:normal; }
  .qr-preview { padding:12px 0; }
  .scanner-video { min-height:160px; max-height:42dvh; }
  .manual-code-form { grid-template-columns:1fr; }
  .manual-code-form .btn { width:100%; }
  .photo-picker-actions { flex-direction:column; align-items:stretch; }
  .photo-picker-actions .btn { width:100%; }
  .photo-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .photo-preview>img, .photo-preview>button>img { height:120px; }
  .photo-preview figcaption, .photo-caption { font-size:13px; padding:9px; }
  .photo-controls .btn { flex:1; }
  .photo-status { max-width:100%; }
  .note-actions { flex-direction:column; align-items:stretch; }
  .note-actions .btn { width:100%; }
  .note-entry-heading { flex-direction:column; gap:2px; }
  .document-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .document-preview { min-height:240px; height:50dvh; }
  .location-filter { flex-direction:column; align-items:stretch; gap:6px; width:100%; }
  .location-form { grid-template-columns:1fr; }
  .roi-grid { grid-template-columns:1fr; }
  .roi-card strong { font-size:25px; }
  .offline-banner { padding:13px 14px; font-size:14px; }
  .access-panel { padding:20px; margin:22px 0; }
}
@media(max-width:360px) {
  .quick-actions { grid-template-columns:1fr; }
  .photo-preview-grid, .document-photo-grid { grid-template-columns:1fr; }
  .photo-preview>img, .photo-preview>button>img { height:180px; }
}
@media(prefers-reduced-motion:reduce) {
  .dictation-status, .photo-status { animation:none; transition:none; }
}

@media(max-width:540px){.heading-row>.settings-buttons{display:grid;grid-template-columns:1fr;width:100%}.heading-row>.settings-buttons .btn{width:100%;justify-content:center}}

@media(max-width:800px){.sidebar{transition:transform .18s}}
.stone-tools .btn { max-width:100%; overflow-wrap:anywhere; text-align:left; }
.location-line span { min-width:0; overflow-wrap:anywhere; }
.summary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1200px) { .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .tools-right>.location-filter { grid-column:1/-1; } .summary-grid { grid-template-columns:1fr; } }

/* Discreet release history, accessible from the navigation and catalogue footer. */
.version-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;border:0;background:transparent;color:#626262;font:inherit;font-size:12px;cursor:pointer;text-decoration:none;text-align:left}.version-link:hover{text-decoration:underline;color:#292929}.version-link:focus-visible{outline:2px solid #292929;outline-offset:3px}.sidebar-bottom>.version-link{margin-top:4px}.release-explanation{font-size:13px;line-height:1.6;color:#626262}.release-notes{max-height:min(55vh,520px);overflow-y:auto;overscroll-behavior:contain;padding:0 16px 0 0;margin:20px 0;border-top:1px solid #d5d5d5}.release-entry{padding:22px 0;border-bottom:1px solid #d5d5d5}.release-heading{display:flex;align-items:center;gap:12px}.release-heading h3{margin:0;font-size:20px}.release-entry time{display:block;margin:8px 0 18px;color:#626262;font-size:13px}.release-entry h4{margin:0 0 12px;font-size:16px}.release-entry ul{padding-left:22px;margin:0}.release-entry li{margin:10px 0;line-height:1.6}.release-current{font-size:12px;border:1px solid #8a8a8a;border-radius:5px;padding:3px 8px;color:#292929}.collection-footer .version-link{margin-right:14px}
