:root { --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --blue: #1b6ec2; --ink: #1f2433; --muted: #6b7280; }
* { box-sizing: border-box; } html, body { margin: 0; min-height: 100%; font-family: var(--font-sans); color: var(--ink); -webkit-font-smoothing: antialiased; } body { background: #eef0f4; }
main { max-width: 760px; min-height: 100vh; margin: 0 auto; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.04), 0 12px 40px -16px rgba(15,23,42,.12); } .top-row { height: 5rem; display: flex; align-items: center; gap: .75rem; padding: 0 2rem; border-bottom: 1px solid #d6d5d5; background: #f7f7f7; }
.brand { display: inline-flex; align-items: baseline; gap: .25rem; margin-right: auto; color: var(--ink); text-decoration: none; font-size: 1.7rem; font-weight: 700; letter-spacing: -.06em; } .brand__mark { color: var(--blue); font-size: 1.1rem; letter-spacing: -.08em; } .brand__name { letter-spacing: -.06em; } .content { padding: 1.1rem 2rem 2rem; } p { line-height: 1.5; } .lede { margin-top: 0; }
.btn, button, input { font: inherit; } .btn { min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 500; cursor: pointer; transition: background-color 120ms, border-color 120ms, transform 80ms, box-shadow 120ms; } .btn:hover:not(:disabled) { transform: translateY(-1px); } .btn:active:not(:disabled) { transform: translateY(0); } .btn:focus-visible, input:focus-visible { outline: 3px solid rgba(37,140,251,.35); outline-offset: 2px; } .btn:disabled { cursor: wait; opacity: .65; } .btn-link { min-height: 2.75rem; padding-inline: .75rem; border: 0; background: transparent; color: #0071c1; } .btn-primary { width: 100%; color: #fff; background: var(--blue); border-color: #1861ac; font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 0 0 1px rgba(24,97,172,.18); } .btn-primary:hover:not(:disabled) { background: #1862b0; box-shadow: 0 4px 12px -2px rgba(24,97,172,.35); }
.drop-zone { position: relative; margin-bottom: 1rem; padding: 2rem; border: 2px dashed #888; border-radius: 8px; background: #fafafa; text-align: center; transition: background-color .15s, border-color .15s; touch-action: manipulation; } .drop-zone--active { border-color: #2b7cff; background: #eef6ff; } .drop-zone__input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; } .drop-zone__label { color: #444; word-break: break-word; pointer-events: none; } .status { min-height: 1.5em; color: #444; } .error { color: #b00020; }
.actions-table { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 25%); gap: .5rem; justify-content: center; margin-bottom: 1rem; } .actions-table__header, .actions-table__cell { display: flex; align-items: center; } .actions-table__header { justify-content: flex-end; text-align: right; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.about-dialog { width: min(92vw, 32rem); max-height: 85vh; padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 25px 60px -15px rgba(15,23,42,.35), 0 8px 20px -8px rgba(15,23,42,.15); overflow: hidden; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity 160ms ease-out, transform 160ms ease-out; } .about-dialog[open] { opacity: 1; transform: translateY(0) scale(1); } .about-dialog::backdrop { background: rgba(15,23,42,.45); backdrop-filter: blur(6px); } .about-dialog__header { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem .75rem; border-bottom: 1px solid #eef0f4; } .about-dialog__title { flex: 1; margin: 0; font-size: 1.25rem; font-weight: 600; } .about-dialog__close { width: 2rem; min-width: 2rem; height: 2rem; margin-left: auto; padding: 0; border: 0; border-radius: 8px; color: #6b7280; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; } .about-dialog__close:hover, .about-dialog__close:focus-visible { color: var(--ink); background: #f1f3f7; outline: 0; } .about-dialog__body { padding: 1.25rem 1.5rem; overflow-y: auto; } .about-dialog__footer { display: flex; justify-content: flex-end; padding: .875rem 1.5rem 1.25rem; border-top: 1px solid #eef0f4; background: #fafbfd; }
.dialog-group + .dialog-group { margin-top: 1rem; } .dialog-group h3 { margin: 0 0 .5rem; color: #4b5563; font-size: .95rem; } .options { display: flex; flex-wrap: wrap; gap: .5rem; } .option { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid #c9d2dc; border-radius: .5rem; background: #fff; cursor: pointer; user-select: none; } .option:has(input:checked) { border-color: var(--blue); color: #0f4c8a; background: #eef6ff; } .fields { display: grid; gap: .75rem; } .field { display: grid; gap: .25rem; color: #333; font-size: .95rem; font-weight: 600; } .field small { color: var(--muted); font-weight: 400; } .field input { width: 100%; min-height: 2.75rem; padding: .5rem .65rem; border: 1px solid #c9d2dc; border-radius: .5rem; color: #222; }
@media (max-width: 640.98px) { body { background: #fff; } main { box-shadow: none; } .top-row { height: 3.5rem; justify-content: space-between; padding: 0 1rem; } .brand { font-size: 1.35rem; } .content { padding: 1rem 1rem 2rem; } .drop-zone { padding: 1.25rem 1rem; } .actions-table { grid-template-columns: minmax(0, 40%) minmax(0, 25%); gap: .6rem; } .actions-table .btn { min-height: 3rem; padding-inline: .5rem; font-size: 1rem; } .about-dialog { width: min(92vw, 32rem); max-width: 92vw; max-height: 92vh; margin: auto; transform: translateY(16px); } .about-dialog[open] { transform: translateY(0); } .about-dialog__header, .about-dialog__body, .about-dialog__footer { padding-left: 1.1rem; padding-right: 1.1rem; } .about-dialog__close { width: 2.5rem; height: 2.5rem; font-size: 1.8rem; } .about-dialog__footer .btn { min-height: 3rem; } .options { flex-direction: column; } .option { width: 100%; min-height: 3rem; } }
@media (prefers-color-scheme: dark) { .about-dialog { color: #e7e9ee; background: #1c1f29; } .about-dialog__header, .about-dialog__footer { border-color: #2a2e3a; } .about-dialog__footer { background: #181b23; } .about-dialog__close { color: #9aa0ad; } .about-dialog__close:hover { color: #e7e9ee; background: #262a35; } }
