body { margin: 0; background: #f8fafc; color: #102a43; font-family: Arial, sans-serif; } a { color: inherit; } .shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px; } .topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; } .topline a { color: #004085; font-weight: 800; text-decoration: none; } .hero { margin-bottom: 24px; border-bottom: 1px solid #d9e2ec; padding-bottom: 20px; } .kicker { margin: 0 0 8px; color: #2f855a; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; } h1 { margin: 0; color: #102a43; font-size: 2.3rem; } .hero p, .note { max-width: 780px; color: #52606d; line-height: 1.6; } .panel { background: #fff; border: 1px solid #d9e2ec; border-radius: 8px; box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08); padding: 22px; margin-top: 18px; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; } .catalog-card { display: block; min-height: 150px; background: #fff; border: 1px solid #d9e2ec; border-radius: 8px; box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08); padding: 20px; text-decoration: none; } .catalog-card span { display: block; color: #2f855a; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; } .catalog-card h2 { margin: 8px 0; color: #102a43; font-size: 1.2rem; } .catalog-card p { color: #52606d; line-height: 1.5; } .drop-zone { display: grid; place-items: center; min-height: 130px; padding: 20px; border: 2px dashed #9fb3c8; border-radius: 8px; background: #f8fafc; color: #102a43; cursor: pointer; text-align: center; } .drop-zone.is-dragging { background: #e8fff1; border-color: #2f855a; } input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } .controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; } label { display: grid; gap: 6px; color: #102a43; font-weight: 800; } select, input, textarea { box-sizing: border-box; border: 1px solid #bcccdc; border-radius: 6px; padding: 9px 10px; font: inherit; } textarea { width: 100%; min-height: 160px; resize: vertical; font-family: "Courier New", monospace; } button, .download-link { border: 0; border-radius: 6px; background: #004085; color: #fff; cursor: pointer; font-weight: 900; padding: 9px 12px; text-decoration: none; } .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; } canvas { width: 100%; max-width: 100%; height: auto; border: 1px solid #d9e2ec; border-radius: 8px; background: #f8fafc; } .output, pre { min-height: 86px; margin: 12px 0; padding: 12px; border-radius: 8px; background: #102a43; color: #d9f99d; overflow: auto; white-space: pre-wrap; font-family: "Courier New", monospace; } .result-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 12px; border-radius: 8px; background: #f8fafc; border-left: 4px solid #2f855a; } .result-row strong, .result-row span { display: block; } .result-row span { color: #52606d; font-size: 0.92rem; } .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; } .stats span { display: grid; gap: 4px; padding: 10px; border-radius: 8px; background: #f8fafc; color: #52606d; } .stats strong { color: #102a43; } @media (max-width: 640px) { .topline { align-items: flex-start; flex-direction: column; } .result-row { align-items: flex-start; flex-direction: column; } }