| 1 | * { |
| 2 | margin: 0; |
| 3 | padding: 0; |
| 4 | box-sizing: border-box; |
| 5 | } |
| 6 | |
| 7 | body { |
| 8 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 9 | background: #f5f5f5; |
| 10 | min-height: 100vh; |
| 11 | display: flex; |
| 12 | align-items: center; |
| 13 | justify-content: center; |
| 14 | padding: 16px; |
| 15 | } |
| 16 | |
| 17 | .container { |
| 18 | width: 100%; |
| 19 | max-width: 520px; |
| 20 | background: #ffffff; |
| 21 | border-radius: 8px; |
| 22 | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); |
| 23 | padding: 16px; |
| 24 | display: flex; |
| 25 | flex-direction: column; |
| 26 | } |
| 27 | |
| 28 | h1 { |
| 29 | font-size: 18px; |
| 30 | margin-bottom: 12px; |
| 31 | color: #333333; |
| 32 | text-align: center; |
| 33 | } |
| 34 | |
| 35 | .toolbar { |
| 36 | display: flex; |
| 37 | flex-wrap: wrap; |
| 38 | gap: 8px; |
| 39 | margin-bottom: 12px; |
| 40 | justify-content: center; |
| 41 | } |
| 42 | |
| 43 | .toolbar button { |
| 44 | padding: 6px 12px; |
| 45 | font-size: 13px; |
| 46 | border-radius: 4px; |
| 47 | border: 1px solid #d0d7de; |
| 48 | background: #ffffff; |
| 49 | cursor: pointer; |
| 50 | transition: background 0.15s ease, border-color 0.15s ease, |
| 51 | box-shadow 0.15s ease, transform 0.15s ease; |
| 52 | } |
| 53 | |
| 54 | .toolbar button:hover { |
| 55 | background: #f3f4f6; |
| 56 | border-color: #c3ccd6; |
| 57 | } |
| 58 | |
| 59 | .canvas-wrapper { |
| 60 | border-radius: 4px; |
| 61 | border: 1px solid #e1e4e8; |
| 62 | background: #111827; |
| 63 | padding: 8px; |
| 64 | height: 220px; |
| 65 | overflow: auto; |
| 66 | } |
| 67 | |
| 68 | .log { |
| 69 | width: 100%; |
| 70 | height: 100%; |
| 71 | border: none; |
| 72 | background: transparent; |
| 73 | color: #e5e7eb; |
| 74 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, |
| 75 | "Liberation Mono", "Courier New", monospace; |
| 76 | font-size: 12px; |
| 77 | white-space: pre-wrap; |
| 78 | word-break: break-all; |
| 79 | } |
| 80 | |
| 81 | .status { |
| 82 | margin-top: 10px; |
| 83 | font-size: 13px; |
| 84 | color: #4b5563; |
| 85 | text-align: right; |
| 86 | } |