Update index.html
Browse files- index.html +80 -33
index.html
CHANGED
|
@@ -272,20 +272,20 @@
|
|
| 272 |
display: none; align-items: center; gap: 8px;
|
| 273 |
}
|
| 274 |
|
| 275 |
-
/* Print-Only Report Container (Strict 1-Page Layout) */
|
| 276 |
#print-report-container { display: none; }
|
| 277 |
|
| 278 |
@media print {
|
| 279 |
@page {
|
| 280 |
-
size:
|
| 281 |
-
margin:
|
| 282 |
}
|
| 283 |
body {
|
| 284 |
background: #ffffff !important;
|
| 285 |
color: #000000 !important;
|
| 286 |
height: auto !important;
|
| 287 |
overflow: visible !important;
|
| 288 |
-
font-size:
|
| 289 |
}
|
| 290 |
header, .sidebar, .analysis-panel, .viewport-overlay-controls, #loupe-box, #empty-dropzone, #security-gate, #toast-msg {
|
| 291 |
display: none !important;
|
|
@@ -296,42 +296,46 @@
|
|
| 296 |
#print-report-container {
|
| 297 |
display: flex !important;
|
| 298 |
flex-direction: column;
|
| 299 |
-
|
|
|
|
| 300 |
width: 100%;
|
| 301 |
-
|
|
|
|
|
|
|
| 302 |
}
|
| 303 |
|
| 304 |
.print-header-bar {
|
| 305 |
-
border-bottom:
|
| 306 |
-
padding-bottom:
|
| 307 |
display: flex;
|
| 308 |
justify-content: space-between;
|
| 309 |
align-items: flex-end;
|
| 310 |
}
|
| 311 |
-
.print-title { font-size:
|
| 312 |
-
.print-demographics { display: flex; gap:
|
| 313 |
|
| 314 |
.print-grid {
|
| 315 |
display: grid !important;
|
| 316 |
-
grid-template-columns:
|
| 317 |
-
gap:
|
| 318 |
align-items: start;
|
|
|
|
| 319 |
}
|
| 320 |
|
| 321 |
.print-left-col {
|
| 322 |
display: flex;
|
| 323 |
flex-direction: column;
|
| 324 |
-
gap:
|
| 325 |
}
|
| 326 |
|
| 327 |
.print-ceph-box {
|
| 328 |
position: relative;
|
| 329 |
-
width:
|
| 330 |
-
height:
|
| 331 |
-
border:
|
| 332 |
-
border-radius:
|
| 333 |
overflow: hidden;
|
| 334 |
-
background: #
|
| 335 |
display: flex;
|
| 336 |
align-items: center;
|
| 337 |
justify-content: center;
|
|
@@ -349,42 +353,76 @@
|
|
| 349 |
}
|
| 350 |
|
| 351 |
.print-diag-card {
|
| 352 |
-
border:
|
| 353 |
border-radius: 6px;
|
| 354 |
-
padding:
|
| 355 |
background: #f8fafc;
|
| 356 |
-
font-size:
|
| 357 |
display: flex;
|
| 358 |
flex-direction: column;
|
| 359 |
-
gap:
|
|
|
|
| 360 |
}
|
| 361 |
|
| 362 |
.print-right-col {
|
| 363 |
display: flex;
|
| 364 |
flex-direction: column;
|
| 365 |
-
gap:
|
| 366 |
}
|
| 367 |
|
| 368 |
.print-table {
|
| 369 |
width: 100%;
|
| 370 |
border-collapse: collapse;
|
| 371 |
-
font-size:
|
| 372 |
}
|
| 373 |
.print-table th {
|
| 374 |
-
border-bottom:
|
| 375 |
-
padding:
|
| 376 |
text-align: left;
|
| 377 |
-
font-size:
|
| 378 |
-
color: #
|
| 379 |
font-weight: 700;
|
|
|
|
|
|
|
| 380 |
}
|
| 381 |
.print-table td {
|
| 382 |
border-bottom: 1px solid #e2e8f0;
|
| 383 |
-
padding:
|
| 384 |
color: #0f172a;
|
| 385 |
}
|
| 386 |
.print-table td.diff-dev { color: #dc2626; font-weight: 700; }
|
| 387 |
.print-table td.diff-norm { color: #15803d; font-weight: 600; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 388 |
}
|
| 389 |
</style>
|
| 390 |
</head>
|
|
@@ -690,7 +728,7 @@
|
|
| 690 |
<div class="print-header-bar">
|
| 691 |
<div>
|
| 692 |
<div class="print-title">ORTHOCEPH PRO | CLINICAL ABO CEPHALOMETRIC REPORT</div>
|
| 693 |
-
<div style="font-size:
|
| 694 |
</div>
|
| 695 |
<div class="print-demographics">
|
| 696 |
<div>PATIENT: <strong id="print-pt-name">Unspecified</strong></div>
|
|
@@ -706,11 +744,11 @@
|
|
| 706 |
<svg id="print-svg" viewBox="0 0 100 100"></svg>
|
| 707 |
</div>
|
| 708 |
<div class="print-diag-card">
|
| 709 |
-
<div style="font-weight:
|
| 710 |
<div id="print-diag-sag">Sagittal: -</div>
|
| 711 |
<div id="print-diag-vert">Vertical: -</div>
|
| 712 |
<div id="print-diag-dent">Dental: -</div>
|
| 713 |
-
<div id="print-diag-soft">Soft
|
| 714 |
</div>
|
| 715 |
<table class="print-table" id="print-wits-table">
|
| 716 |
<thead>
|
|
@@ -734,7 +772,7 @@
|
|
| 734 |
<tbody id="print-abo-tbody"></tbody>
|
| 735 |
</table>
|
| 736 |
|
| 737 |
-
<table class="print-table" id="print-holdaway-table" style="margin-top:
|
| 738 |
<thead>
|
| 739 |
<tr>
|
| 740 |
<th>Holdaway Soft Tissue</th>
|
|
@@ -748,6 +786,15 @@
|
|
| 748 |
</table>
|
| 749 |
</div>
|
| 750 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 751 |
</div>
|
| 752 |
|
| 753 |
<!-- Security Gate Modal (Pre-locked; Only editable by you in this code) -->
|
|
|
|
| 272 |
display: none; align-items: center; gap: 8px;
|
| 273 |
}
|
| 274 |
|
| 275 |
+
/* Print-Only Report Container (Strict 1-Page Letter Layout) */
|
| 276 |
#print-report-container { display: none; }
|
| 277 |
|
| 278 |
@media print {
|
| 279 |
@page {
|
| 280 |
+
size: letter portrait;
|
| 281 |
+
margin: 10mm 12mm 10mm 12mm;
|
| 282 |
}
|
| 283 |
body {
|
| 284 |
background: #ffffff !important;
|
| 285 |
color: #000000 !important;
|
| 286 |
height: auto !important;
|
| 287 |
overflow: visible !important;
|
| 288 |
+
font-size: 10px !important;
|
| 289 |
}
|
| 290 |
header, .sidebar, .analysis-panel, .viewport-overlay-controls, #loupe-box, #empty-dropzone, #security-gate, #toast-msg {
|
| 291 |
display: none !important;
|
|
|
|
| 296 |
#print-report-container {
|
| 297 |
display: flex !important;
|
| 298 |
flex-direction: column;
|
| 299 |
+
justify-content: space-between;
|
| 300 |
+
gap: 10px;
|
| 301 |
width: 100%;
|
| 302 |
+
min-height: 96vh;
|
| 303 |
+
page-break-inside: avoid !important;
|
| 304 |
+
break-inside: avoid !important;
|
| 305 |
}
|
| 306 |
|
| 307 |
.print-header-bar {
|
| 308 |
+
border-bottom: 2.5px solid #0f172a;
|
| 309 |
+
padding-bottom: 6px;
|
| 310 |
display: flex;
|
| 311 |
justify-content: space-between;
|
| 312 |
align-items: flex-end;
|
| 313 |
}
|
| 314 |
+
.print-title { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
|
| 315 |
+
.print-demographics { display: flex; gap: 18px; font-size: 11px; font-weight: 600; color: #334155; }
|
| 316 |
|
| 317 |
.print-grid {
|
| 318 |
display: grid !important;
|
| 319 |
+
grid-template-columns: 320px 1fr !important;
|
| 320 |
+
gap: 16px;
|
| 321 |
align-items: start;
|
| 322 |
+
flex: 1;
|
| 323 |
}
|
| 324 |
|
| 325 |
.print-left-col {
|
| 326 |
display: flex;
|
| 327 |
flex-direction: column;
|
| 328 |
+
gap: 10px;
|
| 329 |
}
|
| 330 |
|
| 331 |
.print-ceph-box {
|
| 332 |
position: relative;
|
| 333 |
+
width: 320px;
|
| 334 |
+
height: 350px;
|
| 335 |
+
border: 1.5px solid #94a3b8;
|
| 336 |
+
border-radius: 6px;
|
| 337 |
overflow: hidden;
|
| 338 |
+
background: #000000;
|
| 339 |
display: flex;
|
| 340 |
align-items: center;
|
| 341 |
justify-content: center;
|
|
|
|
| 353 |
}
|
| 354 |
|
| 355 |
.print-diag-card {
|
| 356 |
+
border: 1.5px solid #cbd5e1;
|
| 357 |
border-radius: 6px;
|
| 358 |
+
padding: 8px 10px;
|
| 359 |
background: #f8fafc;
|
| 360 |
+
font-size: 10px;
|
| 361 |
display: flex;
|
| 362 |
flex-direction: column;
|
| 363 |
+
gap: 4px;
|
| 364 |
+
line-height: 1.35;
|
| 365 |
}
|
| 366 |
|
| 367 |
.print-right-col {
|
| 368 |
display: flex;
|
| 369 |
flex-direction: column;
|
| 370 |
+
gap: 10px;
|
| 371 |
}
|
| 372 |
|
| 373 |
.print-table {
|
| 374 |
width: 100%;
|
| 375 |
border-collapse: collapse;
|
| 376 |
+
font-size: 10.5px;
|
| 377 |
}
|
| 378 |
.print-table th {
|
| 379 |
+
border-bottom: 2px solid #0f172a;
|
| 380 |
+
padding: 5px 6px;
|
| 381 |
text-align: left;
|
| 382 |
+
font-size: 9.5px;
|
| 383 |
+
color: #0f172a;
|
| 384 |
font-weight: 700;
|
| 385 |
+
text-transform: uppercase;
|
| 386 |
+
letter-spacing: 0.03em;
|
| 387 |
}
|
| 388 |
.print-table td {
|
| 389 |
border-bottom: 1px solid #e2e8f0;
|
| 390 |
+
padding: 4.5px 6px;
|
| 391 |
color: #0f172a;
|
| 392 |
}
|
| 393 |
.print-table td.diff-dev { color: #dc2626; font-weight: 700; }
|
| 394 |
.print-table td.diff-norm { color: #15803d; font-weight: 600; }
|
| 395 |
+
|
| 396 |
+
.print-footer-bar {
|
| 397 |
+
border-top: 1px solid #cbd5e1;
|
| 398 |
+
padding-top: 8px;
|
| 399 |
+
display: flex;
|
| 400 |
+
justify-content: space-between;
|
| 401 |
+
align-items: flex-end;
|
| 402 |
+
gap: 20px;
|
| 403 |
+
margin-top: 6px;
|
| 404 |
+
}
|
| 405 |
+
.print-disclaimer {
|
| 406 |
+
font-size: 8.5px;
|
| 407 |
+
color: #64748b;
|
| 408 |
+
line-height: 1.35;
|
| 409 |
+
max-width: 60%;
|
| 410 |
+
}
|
| 411 |
+
.print-signature-wrap {
|
| 412 |
+
display: flex;
|
| 413 |
+
flex-direction: column;
|
| 414 |
+
align-items: center;
|
| 415 |
+
width: 220px;
|
| 416 |
+
}
|
| 417 |
+
.print-sign-line {
|
| 418 |
+
border-top: 1px solid #0f172a;
|
| 419 |
+
width: 100%;
|
| 420 |
+
text-align: center;
|
| 421 |
+
font-size: 9px;
|
| 422 |
+
font-weight: 600;
|
| 423 |
+
color: #334155;
|
| 424 |
+
padding-top: 4px;
|
| 425 |
+
}
|
| 426 |
}
|
| 427 |
</style>
|
| 428 |
</head>
|
|
|
|
| 728 |
<div class="print-header-bar">
|
| 729 |
<div>
|
| 730 |
<div class="print-title">ORTHOCEPH PRO | CLINICAL ABO CEPHALOMETRIC REPORT</div>
|
| 731 |
+
<div style="font-size: 9px; color: #64748b; font-weight: 600;">AMERICAN BOARD OF ORTHODONTICS COMPLIANT ANALYSIS</div>
|
| 732 |
</div>
|
| 733 |
<div class="print-demographics">
|
| 734 |
<div>PATIENT: <strong id="print-pt-name">Unspecified</strong></div>
|
|
|
|
| 744 |
<svg id="print-svg" viewBox="0 0 100 100"></svg>
|
| 745 |
</div>
|
| 746 |
<div class="print-diag-card">
|
| 747 |
+
<div style="font-weight: 800; color: #1e3a8a; font-size: 10.5px; border-bottom: 1px solid #e2e8f0; padding-bottom: 2px;" id="print-diag-headline">Diagnosis Summary</div>
|
| 748 |
<div id="print-diag-sag">Sagittal: -</div>
|
| 749 |
<div id="print-diag-vert">Vertical: -</div>
|
| 750 |
<div id="print-diag-dent">Dental: -</div>
|
| 751 |
+
<div id="print-diag-soft">Soft Profile: -</div>
|
| 752 |
</div>
|
| 753 |
<table class="print-table" id="print-wits-table">
|
| 754 |
<thead>
|
|
|
|
| 772 |
<tbody id="print-abo-tbody"></tbody>
|
| 773 |
</table>
|
| 774 |
|
| 775 |
+
<table class="print-table" id="print-holdaway-table" style="margin-top: 6px;">
|
| 776 |
<thead>
|
| 777 |
<tr>
|
| 778 |
<th>Holdaway Soft Tissue</th>
|
|
|
|
| 786 |
</table>
|
| 787 |
</div>
|
| 788 |
</div>
|
| 789 |
+
|
| 790 |
+
<div class="print-footer-bar">
|
| 791 |
+
<div class="print-disclaimer">
|
| 792 |
+
Measurements verified against calibrated millimeter scale. Automated computer-assisted cephalometric analysis generated for clinical orthodontic diagnosis and treatment evaluation.
|
| 793 |
+
</div>
|
| 794 |
+
<div class="print-signature-wrap">
|
| 795 |
+
<div class="print-sign-line">Attending Orthodontist Signature / Stamp</div>
|
| 796 |
+
</div>
|
| 797 |
+
</div>
|
| 798 |
</div>
|
| 799 |
|
| 800 |
<!-- Security Gate Modal (Pre-locked; Only editable by you in this code) -->
|