.first-run-notice{color:#fff;background:#0f6e63;align-items:center;gap:16px;padding:10px 16px;font-size:13px;display:flex}.first-run-notice p{flex:1;margin:0}.first-run-notice button{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff;border-radius:3px;flex-shrink:0;padding:5px 12px}.docx-toolbar{padding:8px 0}.docx-toolbar button{cursor:pointer;padding:6px 14px}.docx-viewer{background:#e8e8e8;max-height:80vh;padding:16px 0;overflow:auto}@media print{.no-print{display:none!important}.docx-viewer{background:0 0;max-height:none;padding:0;overflow:visible}.docx-viewer .docx-wrapper>section{box-shadow:none;margin-bottom:0}}.docx-viewer .docx-body{flex-direction:column;align-items:center;display:flex}.docx-viewer .docx-wrapper>section{margin-bottom:16px;box-shadow:0 1px 4px #00000040}.pdf-viewer{background:#e8e8e8;flex-direction:column;align-items:center;gap:16px;max-height:80vh;padding:16px 0;display:flex;overflow:auto}.pdf-viewer .pdf-page{background:#fff;max-width:100%;box-shadow:0 1px 4px #00000040}@media print{.pdf-viewer{background:0 0;max-height:none;padding:0;overflow:visible}.pdf-viewer .pdf-page{box-shadow:none;margin-bottom:0}}.xlsx-viewer{font-family:-apple-system,Segoe UI,Roboto,sans-serif;font-size:13px}.grid-toolbar{border-bottom:1px solid #ccc;justify-content:space-between;align-items:center;display:flex}.sheet-tabs{gap:4px;padding:6px;display:flex}.csv-export-btn{cursor:pointer;background:#f3f3f3;border:1px solid #ccc;border-radius:3px;margin-right:8px;padding:4px 10px}.sheet-tabs button{cursor:pointer;background:#f3f3f3;border:1px solid #ccc;border-radius:3px 3px 0 0;padding:4px 10px}.sheet-tabs button.active{background:#fff;border-bottom-color:#fff;font-weight:600}.grid-frame{flex-direction:column;max-height:80vh;display:flex}.grid-header-wrap{flex-shrink:0;overflow:hidden}.grid-scroller{flex:1;position:relative;overflow:auto}.grid-sizer{position:relative}.grid-viewport{position:absolute;top:0;left:0;right:0}.sheet-grid{border-collapse:collapse;table-layout:fixed}.sheet-grid th,.sheet-grid td{text-overflow:ellipsis;white-space:nowrap;text-align:left;border:1px solid #d9d9d9;height:20px;padding:2px 6px;overflow:hidden}.sheet-grid td.cell-numeric{text-align:right}.sheet-grid th{text-align:center;background:#f3f3f3;font-weight:600}.sheet-grid td.marker-external{color:#7a4a00;background:#fdeecb;font-weight:600}.sheet-grid td.marker-unsupported{color:#444;background:#e6e6e6;font-style:italic}.sheet-grid td.marker-error{color:#8a1f1f;background:#fbdada}.file-open{border:2px dashed #ccc;border-radius:6px;align-items:center;gap:10px;margin-bottom:8px;padding:14px;display:flex}.file-open.drag-over{background:#f0fdfc;border-color:#22d3c7}.file-open button{cursor:pointer;padding:6px 14px}.file-open-hint{color:#777;font-size:13px}.photos-tool{font-family:-apple-system,Segoe UI,Roboto,sans-serif}.photos-tool>button{cursor:pointer;margin-top:12px;padding:8px 16px;font-size:14px}.photo-grid{flex-wrap:wrap;gap:12px;min-height:40px;margin-top:12px;display:flex}.photo-tile{cursor:grab;background:#f3f3f3;border:1px solid #d9d9d9;border-radius:4px;width:140px;height:140px;position:relative;overflow:hidden}.photo-tile.dragging{opacity:.4}.photo-tile img{object-fit:contain;width:100%;height:100%;transition:transform .15s}.photo-tile-rotate,.photo-tile-remove{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:50%;width:24px;height:24px;padding:0;font-size:13px;line-height:24px;position:absolute;top:4px}.photo-tile-rotate{right:32px}.photo-tile-remove{right:4px}.photo-tile-order{color:#fff;background:#0000008c;border-radius:8px;padding:1px 6px;font-size:11px;position:absolute;bottom:4px;left:4px}.sqlite-tool select{margin:8px 0;padding:4px 8px;display:block}.sqlite-truncated-note{color:#7a4a00;font-size:12px}.sqlite-table{border-collapse:collapse;font-size:13px}.sqlite-table th,.sqlite-table td{white-space:nowrap;border:1px solid #d9d9d9;padding:3px 8px}.sqlite-table th{text-align:left;background:#f3f3f3}body{margin:0;font-family:-apple-system,Segoe UI,Roboto,sans-serif}.tool-switcher .tool-nav{background:#222;gap:4px;padding:8px 12px 0;display:flex}.tool-switcher .tool-nav button{color:#ccc;cursor:pointer;background:0 0;border:none;border-radius:4px 4px 0 0;padding:8px 16px;font-size:14px}.tool-switcher .tool-nav button.active{color:#222;background:#fff;font-weight:600}.tool-switcher .tool-content{padding:16px}.status{color:#444}@media print{.no-print{display:none!important}.tool-content{padding:0}}
