:root{color:#171923;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;min-height:100%}body{overscroll-behavior:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;margin:0;overflow:hidden}button,input{font:inherit}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #2563eb59}.app-shell{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#f6f7f9;grid-template-rows:auto auto minmax(0,1fr);width:100%;height:100svh;min-height:100svh;display:grid;overflow:hidden}.login-shell{background:#f6f7f9;place-items:center;width:100%;min-height:100svh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #d9dee7;border-radius:8px;gap:18px;width:min(100%,420px);padding:22px;display:grid;box-shadow:0 18px 50px #0f172a1f}.login-panel__header{align-items:center;gap:10px;display:flex}.login-panel__header strong,.login-panel__header span{display:block}.login-panel__header strong{color:#171923;font-size:20px;line-height:1.15}.login-panel__header span{color:#647184;font-size:13px}.login-form{gap:12px;display:grid}.login-form label,.login-form label span{gap:6px;display:grid}.login-form label span{color:#4b5563;font-size:12px;font-weight:800}.login-form input{color:#171923;min-height:48px;font:inherit;background:#fff;border:1px solid #cfd6e1;border-radius:8px;padding:0 12px;font-size:18px}.login-form button{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#b91c1c;border:0;border-radius:8px;font-weight:900}.login-form button:disabled,.login-form input:disabled{opacity:.62;cursor:not-allowed}.login-message{color:#647184;margin:0;font-size:13px;line-height:1.4}.section-tabs{z-index:4;background:#f8fafc;border-bottom:1px solid #d9dee7;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;padding:8px 12px;display:grid}.section-tab{color:#27303b;min-width:0;min-height:46px;font:inherit;text-align:center;cursor:pointer;background:#fff;border:1px solid #cfd6e1;border-radius:8px;align-content:center;gap:2px;padding:6px 8px;display:grid}.section-tab span,.section-tab small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.section-tab span{font-size:13px;font-weight:900}.section-tab small{color:#647184;font-size:11px;font-weight:800}.section-tab.is-active{color:#991b1b;background:#fff1f2;border-color:#b91c1c}.section-tab.is-active small{color:#b91c1c}.section-host{min-width:0;min-height:0;overflow:hidden}.workflow-section{height:100%;min-height:0;padding:10px 12px calc(16px + env(safe-area-inset-bottom));overflow:auto}.bore-log-section{align-content:start;gap:10px;display:grid}.packet-workspace-section{background:#edf1f6;grid-template-rows:minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.packet-workspace-section.has-validation-alert{grid-template-rows:auto minmax(0,1fr) auto}.draft-bar{z-index:4;background:#f8fafc;border-bottom:1px solid #d9dee7;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:8px 12px;display:grid}.draft-heading{color:#27303b;align-items:center;gap:8px;min-width:170px;display:flex}.draft-heading strong,.draft-heading span{display:block}.draft-heading strong{font-size:13px;line-height:1.1}.draft-heading span{color:#647184;text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:12px;line-height:1.2;overflow:hidden}.draft-list{gap:7px;min-width:0;padding-bottom:1px;display:flex;overflow-x:auto}.draft-card{flex:none;min-width:178px;max-width:224px;display:block}.draft-chip{color:#242b35;width:100%;min-width:0;min-height:42px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #cfd6e1;border-radius:8px;padding:6px 9px;display:block}.draft-card.is-active .draft-chip{color:#991b1b;background:#fff1f2;border-color:#b91c1c}.draft-chip span,.draft-chip small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.draft-chip span{font-size:12px;font-weight:800}.draft-chip small{color:#667386;margin-top:2px;font-size:11px}.draft-empty{color:#667386;background:#fff;border:1px dashed #cfd6e1;border-radius:8px;align-items:center;min-height:38px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.spin-icon{animation:1.1s linear infinite spin}.bore-log-panel{z-index:3;background:#fff;border-bottom:1px solid #d9dee7;gap:8px;padding:8px 12px;display:grid}.bore-log-panel__header{justify-content:space-between;align-items:center;gap:10px;display:flex}.bore-log-panel__header strong,.bore-log-panel__header span,.bore-log-panel__header small{display:block}.bore-log-panel__header strong{color:#202833;font-size:13px}.bore-log-panel__header span{color:#667386;font-size:12px}.bore-log-panel__header span.is-error{color:#b91c1c;font-weight:900}.field-options-state{color:#64748b;margin-top:2px;font-size:11px}.workflow-validation-alert{color:#b91c1c;background:#fef2f2;border:0 solid #fecaca;border-bottom-width:1px;border-radius:0;margin:0;padding:10px 12px;font-size:13px;font-weight:900}.bore-log-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.bore-log-actions button,.bore-log-empty{color:#26303d;background:#fff;border:1px solid #cfd6e1;border-radius:7px;min-height:34px;padding:0 10px;font-size:12px;font-weight:800}.bore-log-actions button:disabled{opacity:.45}.bore-log-submit{color:#fff!important;background:#b91c1c!important;border-color:#b91c1c!important}.bore-log-delete{color:#991b1b!important;background:#fff7f7!important;border-color:#fecaca!important}.bore-log-form{grid-template-columns:135px minmax(120px,1fr) 100px 90px minmax(110px,1fr) minmax(110px,1fr) minmax(140px,1.2fr) auto;align-items:end;gap:7px;display:grid}.bore-log-form label{gap:3px;min-width:0;display:grid}.bore-log-form label span{color:#667386;font-size:11px;font-weight:800}.bore-log-form label.is-missing span{color:#b91c1c}.bore-log-form input,.bore-log-form select{color:#111827;background:#fff;border:1px solid #cfd6e1;border-radius:7px;min-width:0;height:34px;padding:0 8px;font-size:13px}.bore-log-form label.is-missing input,.bore-log-form label.is-missing select{background:#fef2f2;border-color:#dc2626;box-shadow:0 0 0 2px #dc262624}.bore-log-form label.is-missing input:focus,.bore-log-form label.is-missing select:focus{outline-offset:1px;outline:2px solid #dc262673}.bore-log-sync{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #d9dee7;border-radius:7px;align-items:center;min-height:34px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.bore-log-sync.is-synced{color:#0f766e;background:#ecfdf5;border-color:#99d7cf}.bore-log-sync.is-pending,.bore-log-sync.is-local{color:#92400e;background:#fffbeb;border-color:#fde68a}.bore-log-sync.is-failed,.bore-log-sync.is-conflict{color:#991b1b;background:#fef2f2;border-color:#fecaca}.rod-log-panel,.rod-log-suppressed{background:#f8fafc;border:1px solid #d9dee7;border-radius:8px;gap:7px;padding:8px;display:grid}.rod-log-panel__header{justify-content:space-between;align-items:center;gap:8px;display:flex}.rod-log-panel__header strong,.rod-log-panel__header span{display:block}.rod-log-panel__header strong{color:#202833;font-size:13px}.rod-log-rule{color:#475569;background:#fff;border:1px solid #d9dee7;border-radius:999px;width:max-content;margin-top:2px;padding:3px 7px;font-size:11px;font-weight:800}.rod-log-count{color:#64748b;font-size:12px;font-weight:800}.rod-log-rule--ready{color:#0f766e;background:#ecfdf5;border-color:#99d7cf}.rod-log-rule--missing-rule,.rod-log-rule--missing-footage,.rod-log-rule--required-depth-missing,.rod-log-rule--required-measurement-missing{color:#991b1b;background:#fef2f2;border-color:#fecaca}.rod-log-warning{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;padding:7px 8px;font-size:12px;font-weight:700}.rod-log-table-wrap{background:#fff;border:1px solid #d9dee7;border-radius:8px;max-height:52vh;overflow:hidden auto}.rod-log-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;font-size:12px}.rod-log-table th,.rod-log-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:4px 5px}.rod-log-table th{z-index:1;color:#475569;text-transform:uppercase;background:#f8fafc;font-size:11px;position:sticky;top:0}.rod-log-table th:first-child,.rod-log-table td:first-child{text-align:center;width:9%;font-weight:800}.rod-log-table th:nth-child(2),.rod-log-table td:nth-child(2){color:#334155;white-space:nowrap;width:17%;font-size:11px;font-weight:800}.rod-log-table th:nth-child(3),.rod-log-table td:nth-child(3){width:34%}.rod-log-table th:nth-child(4),.rod-log-table td:nth-child(4){width:40%}.rod-log-table input{color:#111827;background:#fff;border:1px solid #cfd6e1;border-radius:7px;width:100%;min-width:0;height:34px;padding:0 6px;font-size:12px}.rod-log-table input.is-missing{background:#fef2f2;border-color:#dc2626;box-shadow:0 0 0 2px #dc262624}.rod-log-table input.is-missing:focus{outline-offset:1px;outline:2px solid #dc262673}.rod-measurement-entry{grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;display:grid}.rod-measurement-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.rod-measurement-entry button{color:#26303d;background:#fff;border:1px solid #cfd6e1;border-radius:7px;height:28px;padding:0 4px;font-size:11px;font-weight:800}.rod-log-empty,.rod-log-suppressed{color:#64748b;font-size:12px;font-weight:800}.bore-log-empty{justify-self:start}@keyframes spin{to{transform:rotate(360deg)}}.top-bar{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-bottom:1px solid #d9dee7;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:10px 14px;display:grid}.packet-title{text-align:left;align-items:center;gap:10px;min-width:0;display:flex}.packet-title strong{color:#171923;font-size:15px;line-height:1.2;display:block}.packet-title span:last-child{color:#5a6472;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;display:block;overflow:hidden}.connection-dot{background:#0f766e;border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 0 4px #0f766e1f}.connection-dot.is-offline{background:#b45309;box-shadow:0 0 0 4px #b453091f}.status-strip{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.mobile-status-bar{display:none}.auth-actions{justify-content:flex-end;display:flex}.auth-actions button{color:#27303b;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfd6e1;border-radius:8px;padding:0 10px;font-size:12px;font-weight:800}.status-pill{color:#3f4652;background:#fff;border:1px solid #d9dee7;border-radius:8px;align-items:center;gap:6px;min-height:30px;padding:4px 8px;font-size:12px;line-height:1;display:inline-flex}.session-pill{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.session-pill--active{color:#0f766e;background:#ecfdf5;border-color:#99d7cf}.session-pill--checking{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.session-pill--offline{color:#92400e;background:#fffbeb;border-color:#fde68a}.session-pill--expired,.session-pill--error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.sync-pill{text-overflow:ellipsis;white-space:nowrap;max-width:112px;overflow:hidden}.sync-pill--synced{color:#0f766e;background:#ecfdf5;border-color:#99d7cf}.sync-pill--syncing{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.sync-pill--pending,.sync-pill--local{color:#92400e;background:#fffbeb;border-color:#fde68a}.sync-pill--failed,.sync-pill--conflict{color:#991b1b;background:#fef2f2;border-color:#fecaca}.queue-pill{flex-direction:column;align-items:flex-start;gap:2px;max-width:178px;line-height:1.1}.queue-pill small{color:currentColor;opacity:.76;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;font-weight:700;overflow:hidden}.queue-pill--synced{color:#0f766e;background:#ecfdf5;border-color:#99d7cf}.queue-pill--syncing{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.queue-pill--pending,.queue-pill--idle{color:#92400e;background:#fffbeb;border-color:#fde68a}.queue-pill--failed,.queue-pill--conflict{color:#991b1b;background:#fef2f2;border-color:#fecaca}.queue-retry{color:#fff;cursor:pointer;background:#b91c1c;border-color:#b91c1c;font-weight:800}.recovery-pill{color:#1d4ed8;text-overflow:ellipsis;white-space:nowrap;background:#eff6ff;border-color:#bfdbfe;max-width:190px;font-weight:800;overflow:hidden}.primary-action,.export-button,.upload-target,.rail-toggle,.page-button,.icon-button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000}.primary-action,.export-button{color:#fff;background:#b91c1c;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.project-print-source{color:#334155;white-space:nowrap;background:#f8fafc;border:1px solid #cfd6e1;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.primary-action:disabled,.export-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.45}.workspace{min-width:0;min-height:0;overflow:hidden}.viewer-layout{grid-template-columns:88px minmax(0,1fr);min-width:0;height:100%;min-height:0;display:grid}.page-rail{background:#eef2f6;border-right:1px solid #d9dee7;flex-direction:column;gap:8px;min-height:0;padding:10px 8px;display:flex;overflow:auto}.rail-toggle{color:#252a33;background:#fff;border-color:#cfd6e1;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:40px;font-size:12px;font-weight:700;display:inline-flex}.rail-toggle.is-active,.page-button.is-active,.icon-button.is-active{color:#b91c1c;background:#fff1f2;border-color:#b91c1c}.page-buttons{grid-template-columns:1fr;gap:7px;display:grid}.page-button{color:#2b313a;background:#fff;border-color:#cfd6e1;border-radius:8px;min-height:38px;font-size:13px;font-weight:700}.page-button.is-marked{box-shadow:inset 4px 0 #0f766e}.pdf-scroller{overscroll-behavior:contain;min-width:0;height:100%;min-height:0;padding:18px;overflow:auto}.pdf-pages{transform-origin:0 0}.pdf-page{text-align:left;width:max-content;max-width:none;margin:0 auto 22px}.pdf-page.is-active .page-surface{outline-offset:3px;outline:2px solid #b91c1c}.page-label{color:#4b5563;background:#fff;border-radius:8px;align-items:center;gap:8px;width:max-content;max-width:min(760px,100vw - 32px);margin:0 0 7px;padding:4px 8px;font-size:12px;font-weight:700;display:flex;box-shadow:0 1px 2px #0f172a14}.page-debug{color:#b91c1c;text-overflow:ellipsis;white-space:nowrap;max-width:520px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;font-weight:700;overflow:hidden}.page-surface{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#fff;border-radius:3px;display:inline-block;position:relative;overflow:hidden;box-shadow:0 12px 28px #191f2a2e}.page-surface,.annotation-layer,.page-surface svg,.page-surface canvas{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.page-surface canvas{background:#fff;width:100%;height:100%;display:block}.annotation-layer{z-index:3;display:block;position:absolute;inset:0}.draft-stroke,.draft-start-dot{pointer-events:none}.annotation-layer--pan{cursor:grab;touch-action:none}.annotation-layer--pen,.annotation-layer--line,.annotation-layer--circle{cursor:crosshair;touch-action:none}.page-placeholder,.empty-marked{color:#5b6470;background:#fff;border:1px dashed #bcc5d1;border-radius:8px;place-items:center;width:min(720px,100vw - 128px);min-height:520px;font-weight:700;display:grid}.page-error{color:#7f1d1d;background:#fee2e2;border-radius:8px;max-width:680px;margin-top:8px;padding:8px 10px;font-size:12px}.empty-state{place-items:center;height:100%;padding:24px;display:grid}.upload-target{color:#1f2937;background:#fff;border:1px dashed #9aa6b5;border-radius:8px;place-items:center;gap:10px;width:min(420px,100%);min-height:190px;font-size:18px;font-weight:800;display:grid}.tool-dock{z-index:20;background:#fffffff7;border-top:1px solid #d9dee7;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:10px 12px;display:flex;box-shadow:0 -8px 24px #191f2a1a}.tool-group{align-items:center;gap:6px;display:inline-flex}.tool-spacer{flex:auto}.tool-group--export{margin-left:auto}.icon-button{color:#29313d;background:#fff;border-color:#cfd6e1;border-radius:8px;place-items:center;width:42px;height:42px;display:inline-grid}.width-control{color:#303846;background:#fff;border:1px solid #cfd6e1;border-radius:8px;align-items:center;gap:8px;min-width:94px;padding:6px 8px;font-size:12px;font-weight:700;display:inline-flex}.width-control select{color:#111827;background:#fff;border:1px solid #d9dee7;border-radius:6px;width:48px;padding:5px 6px;font-size:13px;font-weight:700}.export-section{align-content:start;display:grid}.export-panel{background:#fff;border:1px solid #d9dee7;border-radius:8px;gap:12px;padding:12px;display:grid}.export-panel__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.export-panel__header strong,.export-panel__header span{display:block}.export-panel__header strong{color:#202833;font-size:16px}.export-panel__header span{color:#667386;margin-top:2px;font-size:12px;font-weight:700}.daily-packet-controls{grid-template-columns:180px minmax(220px,1fr);align-items:end;gap:10px;display:grid}.daily-packet-controls label{gap:4px;min-width:0;display:grid}.daily-packet-controls span{color:#667386;text-transform:uppercase;font-size:11px;font-weight:900}.daily-packet-controls input,.daily-packet-controls select{color:#111827;min-width:0;height:38px;font:inherit;background:#fff;border:1px solid #cfd6e1;border-radius:8px;padding:0 10px;font-size:13px}.completed-log-list{gap:8px;min-width:0;display:grid}.completed-log-card{text-align:left;color:#111827;background:#f8fafc;border:1px solid #d9dee7;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(130px,.45fr);align-items:center;gap:10px;width:100%;min-width:0;padding:10px 12px;display:grid}.completed-log-card:active{background:#fff7f7;border-color:#b91c1c}.completed-log-card.is-locked{background:#f1f5f9;border-color:#d7dee8}.completed-log-card.is-pending{background:#fff7ed;border-color:#f59e0b}.completed-log-card.is-attention{background:#fff1f2;border-color:#dc2626}.completed-log-card__main,.completed-log-card__meta,.completed-log-card strong,.completed-log-card small,.completed-log-card span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.completed-log-card__main,.completed-log-card__meta{gap:3px;display:grid}.completed-log-card__meta{color:#64748b;justify-items:end}.completed-log-card.is-pending .completed-log-card__meta span{color:#b45309}.completed-log-card.is-attention .completed-log-card__meta span,.completed-log-card.is-attention .completed-log-card__meta small{color:#b91c1c}.completed-log-card strong{color:#202833;font-size:14px}.completed-log-card small,.completed-log-card__meta span{color:#64748b;font-size:12px;font-weight:700}.completed-log-empty{color:#64748b;background:#f8fafc;border:1px dashed #cfd6e1;border-radius:8px;padding:14px;font-size:13px;font-weight:800}.export-actions{flex-wrap:wrap;gap:8px;display:flex}.export-actions button{color:#26303d;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfd6e1;border-radius:8px;padding:0 12px;font-size:13px;font-weight:800}.export-actions button:disabled{cursor:not-allowed;opacity:.45}.export-retry{border-color:#b91c1c!important}.sync-debug-panel{right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:30;color:#111827;background:#fffffff5;border:1px solid #cbd5e1;border-radius:8px;width:min(420px,100vw - 24px);max-height:48vh;padding:10px;font-size:12px;position:fixed;overflow:auto;box-shadow:0 16px 40px #0f172a2e}.sync-debug-header,.sync-debug-summary,.sync-debug-job{align-items:center;gap:8px;display:flex}.sync-debug-header{justify-content:space-between}.sync-debug-header button{color:#111827;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;margin-left:5px;padding:4px 7px;font-weight:700}.sync-debug-summary{flex-wrap:wrap;margin-top:8px}.sync-debug-summary span,.sync-debug-job span{background:#eef2f7;border-radius:999px;padding:3px 7px;font-weight:800}.sync-debug-jobs{gap:6px;margin-top:8px;display:grid}.sync-debug-activity{border-top:1px solid #e2e8f0;gap:6px;margin-top:10px;padding-top:8px;display:grid}.sync-debug-job{background:#f8fafc;border-left:3px solid #94a3b8;flex-direction:column;align-items:flex-start;padding:7px}.sync-debug-event{background:#f8fafc;border-left:3px solid #94a3b8;gap:2px;padding:6px 7px;display:grid}.sync-debug-job.is-failed{border-left-color:#dc2626}.sync-debug-job.is-conflict{border-left-color:#f59e0b}.sync-debug-job.is-synced{border-left-color:#059669}.sync-debug-event.is-warn{border-left-color:#f59e0b}.sync-debug-event.is-error{border-left-color:#dc2626}.sync-debug-job strong,.sync-debug-job small,.sync-debug-job em,.sync-debug-event span,.sync-debug-event small{overflow-wrap:anywhere;max-width:100%}.sync-debug-event span{font-weight:800}.sync-debug-job em,.sync-debug-message{color:#b91c1c;font-style:normal}.sync-debug-empty{color:#64748b}@media (width<=760px){.app-shell{grid-template-rows:auto auto minmax(0,1fr)}.top-bar{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:6px 8px}.auth-actions{grid-area:1/2}.auth-actions button{min-height:30px;padding:0 8px;font-size:11px}.packet-title{gap:7px}.packet-title strong{font-size:13px}.packet-title span:last-child{font-size:10px;line-height:1.2}.connection-dot{width:8px;height:8px;box-shadow:0 0 0 3px #0f766e1f}.connection-dot.is-offline{box-shadow:0 0 0 3px #b453091f}.status-strip{display:none}.mobile-status-bar{scrollbar-width:none;grid-column:1/-1;gap:5px;min-width:0;padding-bottom:1px;display:flex;overflow-x:auto}.mobile-status-bar::-webkit-scrollbar{display:none}.mobile-status-bar span{color:#334155;white-space:nowrap;background:#fff;border:1px solid #d9dee7;border-radius:7px;flex:none;align-items:center;min-height:22px;padding:0 7px;font-size:10px;font-weight:800;line-height:1;display:inline-flex}.section-tabs{gap:4px;padding:4px 8px}.section-tab{border-radius:7px;min-height:34px;padding:3px 5px}.section-tab span{font-size:11px}.section-tab small{font-size:9px}.primary-action,.project-print-source{border-radius:7px;gap:5px;min-height:32px;padding:0 8px;font-size:11px}.workflow-section{padding:8px 10px calc(14px + env(safe-area-inset-bottom))}.queue-pill,.recovery-pill{max-width:142px}.draft-bar{grid-template-columns:1fr;gap:7px;padding:7px 10px}.draft-heading{min-width:0}.draft-heading span{max-width:calc(100vw - 56px)}.bore-log-panel{padding:7px 10px}.bore-log-panel__header{align-items:flex-start}.bore-log-actions{flex-shrink:0}.bore-log-actions button{min-height:32px;padding:0 8px}.bore-log-form{grid-template-columns:repeat(2,minmax(0,1fr))}.bore-log-notes,.bore-log-sync{grid-column:1/-1}.rod-log-panel,.rod-log-suppressed{padding:7px}.rod-log-panel__header{align-items:flex-start}.rod-log-table{min-width:0}.viewer-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.page-rail{z-index:8;border-bottom:1px solid #d9dee7;border-right:none;flex-direction:row;gap:5px;padding:5px 6px;position:sticky;top:0;overflow:auto hidden}.rail-toggle{border-radius:7px;gap:4px;min-width:70px;min-height:32px;font-size:11px}.page-buttons{gap:5px;display:flex}.page-button{border-radius:7px;min-width:34px;min-height:32px;font-size:12px}.pdf-scroller{padding:8px}.page-label{border-radius:7px;gap:5px;margin-bottom:5px;padding:3px 7px;font-size:11px}.page-debug{max-width:calc(100vw - 120px);font-size:10px}.page-placeholder,.empty-marked{width:calc(100vw - 24px);min-height:420px}.tool-dock{padding:6px 8px calc(6px + env(safe-area-inset-bottom));flex-wrap:nowrap;justify-content:flex-start;gap:5px;overflow-x:auto}.tool-spacer{display:none}.tool-group--export{margin-left:0}.tool-group{gap:4px}.icon-button{border-radius:7px;width:37px;height:37px}.width-control{border-radius:7px;gap:5px;min-width:74px;padding:4px 6px;font-size:11px}.width-control select{width:42px;padding:4px 5px}.export-panel{padding:10px}.export-panel__header{flex-direction:column;align-items:stretch}.export-panel__header .export-button{width:100%}.daily-packet-controls,.completed-log-card{grid-template-columns:1fr}.completed-log-card__meta{justify-items:start}.export-actions{grid-template-columns:1fr;display:grid}.sync-debug-panel{right:8px;bottom:calc(64px + env(safe-area-inset-bottom));max-height:36vh}}
