/* Media Tools. Uses Public Tools' --pt-* variables, so it follows the site's light and dark mode and accent. */
.mx { --mx-r: var(--pt-radius, .75rem); --mx-surface: var(--color-surface, #fff); display: grid; gap: 1rem; margin: 0 0 2.5rem; min-width: 0; }
.mx [hidden] { display: none !important; }
.mx *, .mx *::before, .mx *::after { box-sizing: border-box; }
.mx > *, .mx-card > *, .mx-result > * { min-width: 0; }
.mx svg { flex: none; }
.mx .pt-btn svg { width: 1rem; height: 1rem; }
.mx .pt-input, .mx .pt-select { min-height: 2.75rem; }
.mx .pt-field { margin: 0; }
.mx-card { display: grid; gap: .9rem; align-content: start; padding: 1.1rem; border: 1px solid var(--pt-line); border-radius: var(--mx-r); background: var(--mx-surface); }
.mx-card__title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--pt-ink); }
.mx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.mx-msg:empty { display: none; }
.mx-msg { margin: 0; }
.mx-stats { margin: 0; font-size: .875rem; color: var(--pt-muted); }
.mx-stats:empty { display: none; }
.mx-hint { margin: 0; color: var(--pt-muted); }
.mx-hint--error { color: var(--pt-error); font-weight: 600; }
.mx-code { font-family: var(--pt-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace); font-size: .9rem; }
.mx-note { margin: 0; padding: .7rem .85rem; border-radius: calc(var(--mx-r) - .25rem); font-size: .9rem; border: 1px solid var(--pt-line); }
.mx-note--warn { border-color: var(--pt-warn); background: var(--pt-warn-soft); color: var(--pt-ink); }
.mx-badge { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--pt-accent-soft); color: var(--pt-accent-strong, var(--pt-accent)); vertical-align: .05em; }
.mx-icon-btn { min-width: 2.5rem; min-height: 2.5rem; justify-content: center; padding-left: .5rem; padding-right: .5rem; }
.mx-x { width: 1rem; height: 1rem; }
.mx-x-text { font-size: 1.25rem; line-height: 1; }
.mx-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.mx-span2 { grid-column: 1 / -1; margin: 0; }
.mx-narrow { max-width: 8rem; }
.mx-seg { max-width: 100%; justify-self: start; }
.mx-seg--wrap { display: flex; }

/* Box with a button or select attached */
.mx-io { display: flex; gap: .5rem; align-items: stretch; min-width: 0; }
.mx-io > .pt-input { flex: 1 1 auto; min-width: 0; }
.mx-io--btn > .pt-btn { flex: none; }

/* On/off switch */
.mx-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.25rem; cursor: pointer; font-size: .9375rem; color: var(--pt-ink); }
.mx-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mx-toggle__track { position: relative; flex: none; width: 2.5rem; height: 1.4rem; border-radius: 999px; background: var(--pt-line-strong); transition: background-color .15s; }
.mx-toggle__track::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--mx-surface); box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .15s; }
.mx-toggle input:checked + .mx-toggle__track { background: var(--pt-accent); }
.mx-toggle input:checked + .mx-toggle__track::after { transform: translateX(1.1rem); }
.mx-toggle input:focus-visible + .mx-toggle__track { outline: 2px solid var(--pt-accent); outline-offset: 2px; }
.mx-opts__toggles { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }

/* Drop zone */
.mx-drop { position: relative; }
.mx-drop__label { display: grid; justify-items: center; gap: .3rem; padding: 1.5rem 1rem; text-align: center; cursor: pointer; border: 2px dashed var(--pt-line-strong); border-radius: var(--mx-r); background: var(--pt-soft); color: var(--pt-text); transition: border-color .15s, background-color .15s; }
.mx-drop__label svg { width: 1.75rem; height: 1.75rem; color: var(--pt-accent); }
.mx-drop__label:hover, .mx-drop.is-over .mx-drop__label { border-color: var(--pt-accent); background: var(--pt-accent-soft); }
.mx-drop__input:focus-visible + .mx-drop__label { outline: 2px solid var(--pt-accent); outline-offset: 2px; }
.mx-drop__title { font-weight: 700; color: var(--pt-ink); }
.mx-drop__hint { font-size: .85rem; color: var(--pt-muted); }
/* -- Images -- */
.mx-img__grid { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 56rem) { .mx-img__grid { grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); } .mx-img__opts { position: sticky; top: 5rem; } }
.mx-img__main { display: grid; gap: .75rem; min-width: 0; }
.mx-img__opts .pt-label output { font-weight: 700; color: var(--pt-ink); margin-left: .25rem; }
.mx-range { width: 100%; accent-color: var(--pt-accent); min-height: 2rem; }
.mx-colorrow { display: flex; align-items: center; gap: .75rem; }
.mx-colorrow input[type="color"] { width: 3.5rem; height: 2.5rem; padding: .2rem; border: 1px solid var(--pt-line-strong); border-radius: .5rem; background: var(--mx-surface); cursor: pointer; }
.mx-checks { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.mx-checks legend { width: 100%; margin-bottom: .35rem; }
.mx-check { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; font-size: .9375rem; color: var(--pt-ink); cursor: pointer; }
.mx-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--pt-accent); }
.mx-private { display: flex; gap: .5rem; align-items: flex-start; margin: 0; font-size: .8125rem; color: var(--pt-muted); }
.mx-private svg { width: 1rem; height: 1rem; margin-top: .1rem; color: var(--pt-ok); }
.mx-files { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.mx-files:empty { display: none; }
.mx-file { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .6rem; border: 1px solid var(--pt-line); border-radius: calc(var(--mx-r) - .15rem); background: var(--mx-surface); }
.mx-file__thumb { width: 3.5rem; height: 3.5rem; border-radius: .45rem; background: repeating-conic-gradient(var(--pt-soft) 0 25%, var(--mx-surface) 0 50%) 0 0 / 12px 12px; background-size: contain; background-position: center; background-repeat: no-repeat; border: 1px solid var(--pt-line); }
.mx-file__body { min-width: 0; }
.mx-file__body p { margin: 0; }
.mx-file__name { font-weight: 600; color: var(--pt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-file__meta { font-size: .8rem; color: var(--pt-muted); }
.mx-file__state { font-size: .85rem; color: var(--pt-text); }
.mx-file__state.is-error { color: var(--pt-error); font-weight: 600; }
.mx-file__ok { font-weight: 600; color: var(--pt-ink); }
.mx-file__change { color: var(--pt-muted); }
.mx-file__note { color: var(--pt-warn); }
.mx-file__actions { display: flex; gap: .25rem; align-items: center; }
@media (max-width: 30rem) {
    .mx-file { grid-template-columns: 3rem minmax(0, 1fr); }
    .mx-file__thumb { width: 3rem; height: 3rem; }
    .mx-file__actions { grid-column: 1 / -1; justify-content: space-between; }
}
.mx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .75rem .9rem; border-radius: calc(var(--mx-r) - .15rem); background: var(--pt-soft); }
.mx-bar__sum { margin: 0; font-size: .875rem; color: var(--pt-text); }

/* -- Shared bits for media -- */
.mx-panel { padding: 1.1rem; border: 1px solid var(--pt-line); border-radius: var(--mx-r); background: var(--mx-surface); }
.mx-opts { display: grid; gap: .9rem; min-width: 0; }
.mx-opts--inline { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1.5rem; }
.mx-field-switch { align-self: end; padding-bottom: .3rem; }
.mx-estimate:empty, .mx-wavemsg:empty { display: none; }
.mx-estimate { margin: 0; }
.mx-chips { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.mx-chip { min-height: 2.25rem; padding: .3rem .75rem; border: 1px solid var(--pt-line-strong); border-radius: 999px; background: var(--mx-surface); color: var(--pt-ink); font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.mx-chip:hover { border-color: var(--pt-accent); background: var(--pt-accent-soft); }
.mx-chip:focus-visible { outline: 2px solid var(--pt-accent); outline-offset: 2px; }
.mx-io { flex-wrap: wrap; align-items: center; }
.mx-io > .pt-input.mx-narrow { flex: 0 0 8rem; }
.mx-tag { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--pt-soft); color: var(--pt-text); border: 1px solid var(--pt-line); }
.mx-tag.is-alert { background: var(--pt-error-soft, var(--pt-soft)); color: var(--pt-error); border-color: transparent; }
.mx-chips--static { gap: .3rem; vertical-align: middle; }

/* Progress bar */
.mx-progress { display: grid; gap: .35rem; }
.mx-progress__track { height: .55rem; border-radius: 999px; background: var(--pt-soft); overflow: hidden; border: 1px solid var(--pt-line); }
.mx-progress__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pt-accent); transition: width .35s ease; }
.mx-progress__text { margin: 0; font-size: .875rem; color: var(--pt-text); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .mx-progress__fill { transition: none; } }

/* Upload box and file details */
.mx-source { display: grid; gap: .75rem; }
.mx-srcinfo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--pt-line); border-radius: calc(var(--mx-r) - .15rem); background: var(--pt-soft); }
.mx-srcinfo__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .6rem; background: var(--pt-accent-soft); color: var(--pt-accent); }
.mx-srcinfo__icon svg { width: 1.25rem; height: 1.25rem; }
.mx-srcinfo__body p { margin: 0; }
.mx-srcinfo__name { font-weight: 700; color: var(--pt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-srcinfo__meta { font-size: .85rem; color: var(--pt-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) { .mx-srcinfo { grid-template-columns: auto minmax(0, 1fr); } .mx-srcinfo > .pt-btn { grid-column: 1 / -1; justify-self: start; } }

/* Running and the result */
.mx-run { display: grid; gap: .75rem; }
.mx-result { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--pt-line); border-radius: var(--mx-r); background: var(--pt-soft); }
.mx-result__head p { margin: 0; }
.mx-result__name { font-weight: 700; color: var(--pt-ink); overflow-wrap: anywhere; }
.mx-result__meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .9rem; color: var(--pt-text); font-variant-numeric: tabular-nums; }
.mx-result__size { font-weight: 700; color: var(--pt-ink); }
.mx-result__change { font-weight: 700; color: var(--pt-ok); }
.mx-result__change.is-up { color: var(--pt-warn); }
.mx-result__video { width: 100%; max-height: 60vh; border-radius: .6rem; background: #000; }
.mx-result__audio { width: 100%; }
.mx-result__img { max-width: 100%; height: auto; justify-self: start; border-radius: .5rem; border: 1px solid var(--pt-line); background: repeating-conic-gradient(var(--pt-soft) 0 25%, var(--mx-surface) 0 50%) 0 0 / 16px 16px; }
.mx-result__expire { margin: 0; font-size: .8125rem; color: var(--pt-muted); }
.mx-note { margin: 0; padding: .6rem .8rem; border-radius: calc(var(--mx-r) - .25rem); font-size: .9rem; border: 1px solid var(--pt-line); background: var(--mx-surface); color: var(--pt-text); }

/* Video preview with the chosen part */
.mx-stage { display: grid; gap: .85rem; }
.mx-player { display: grid; gap: .4rem; }
.mx-player__video { width: 100%; max-height: 55vh; border-radius: .6rem; background: #000; }
.mx-player__time { margin: 0; font-size: .85rem; color: var(--pt-muted); font-variant-numeric: tabular-nums; }
.mx-timeline { position: relative; height: .5rem; border-radius: 999px; background: var(--pt-soft); border: 1px solid var(--pt-line); overflow: hidden; }
.mx-timeline__part { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--pt-accent); border-radius: 999px; }
.mx-player output, .mx-stage output { font-weight: 700; color: var(--pt-ink); margin-left: .25rem; }

/* Audio cutter waveform */
.mx-wave { --mx-wave-on: var(--pt-accent); --mx-wave-off: var(--pt-line-strong); position: relative; height: 8rem; border-radius: .6rem; background: var(--pt-soft); border: 1px solid var(--pt-line); touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.mx-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.mx-wave__sel { position: absolute; top: 0; bottom: 0; z-index: 0; background: var(--pt-accent-soft); pointer-events: none; }
.mx-wave__head { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--pt-ink); pointer-events: none; z-index: 2; }
.mx-wave__handle { position: absolute; top: -4px; bottom: -4px; width: 1.75rem; margin-left: -.875rem; cursor: ew-resize; touch-action: none; z-index: 3; }
.mx-wave__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--pt-accent); }
.mx-wave__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: .9rem; height: 2rem; margin: -1rem 0 0 -.45rem; border-radius: .35rem; background: var(--pt-accent); box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.mx-wave__handle:focus-visible { outline: none; }
.mx-wave__handle:focus-visible::after { outline: 3px solid var(--pt-ink); outline-offset: 2px; }
.mx-transport { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.mx-transport__time { margin-left: auto; font-size: .875rem; color: var(--pt-muted); font-variant-numeric: tabular-nums; }
.mx-len { margin: 0; font-weight: 600; color: var(--pt-ink); font-variant-numeric: tabular-nums; }
.mx-len.is-warn { color: var(--pt-warn); }

/* Voice recorder */
.mx-rec__deck { display: grid; justify-items: center; gap: .9rem; padding: 1.25rem .5rem; text-align: center; }
.mx-rec__time { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-size: clamp(2.25rem, 8vw, 3.25rem); font-weight: 700; color: var(--pt-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.mx-rec__dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--pt-line-strong); }
.mx-rec__dot.is-on { background: var(--pt-error); animation: mx-blink 1s steps(2, start) infinite; }
@keyframes mx-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .mx-rec__dot.is-on { animation: none; } }
.mx-meter { width: min(100%, 22rem); height: .6rem; border-radius: 999px; background: var(--pt-soft); border: 1px solid var(--pt-line); overflow: hidden; }
.mx-meter__fill { display: block; height: 100%; width: 0; background: var(--pt-ok); transition: width .06s linear; }
.mx-meter__fill.is-loud { background: var(--pt-error); }
.mx-rec__buttons { justify-content: center; }
.mx-rec__buttons .pt-btn { min-width: 8.5rem; justify-content: center; }
@media (max-width: 30rem) { .mx-rec__buttons .pt-btn { min-width: 0; flex: 1 1 0; } .mx-rec__buttons { width: 100%; flex-wrap: nowrap; } }
.mx-rec .mx-msg { max-width: 36rem; }
.mx-rec .mx-opts--inline { justify-content: center; }
.mx-takes { display: grid; gap: .6rem; }
.mx-takes__title { margin: .5rem 0 0; font-size: 1.05rem; color: var(--pt-ink); }
.mx-takes__list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.mx-take { display: grid; gap: .6rem; padding: .8rem; border: 1px solid var(--pt-line); border-radius: calc(var(--mx-r) - .15rem); background: var(--pt-soft); }
.mx-take__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.mx-take__head p { margin: 0; }
.mx-take__name { font-weight: 700; color: var(--pt-ink); }
.mx-take__meta { font-size: .85rem; color: var(--pt-muted); font-variant-numeric: tabular-nums; }
.mx-take__audio { width: 100%; }
.mx-take__status:empty { display: none; }
.mx-take__status { margin: 0; }

/* Image list extras */
.mx-file__change.is-up { color: var(--pt-warn); }
.mx-file__alert { font-weight: 700; color: var(--pt-error); }
.mx-file__state { margin: 0; }
.mx-files .mx-file__note { color: var(--pt-muted); }

/* Before and after */
.mx-compare { display: grid; gap: .6rem; padding: .9rem; border: 1px solid var(--pt-line); border-radius: var(--mx-r); background: var(--mx-surface); }
.mx-compare__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mx-compare__title { margin: 0; font-weight: 700; color: var(--pt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mx-compare__stage { position: relative; overflow: hidden; border-radius: .5rem; background: repeating-conic-gradient(var(--pt-soft) 0 25%, var(--mx-surface) 0 50%) 0 0 / 16px 16px; line-height: 0; }
.mx-compare__stage img { display: block; width: 100%; height: auto; max-height: 65vh; object-fit: contain; }
.mx-compare__after { position: absolute; inset: 0; }
.mx-compare__after img { width: 100%; height: 100%; }
.mx-compare__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .35); pointer-events: none; }
.mx-compare__tag { position: absolute; top: .5rem; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.4; background: rgb(0 0 0 / .62); color: #fff; }
.mx-compare__tag--l { left: .5rem; }
.mx-compare__tag--r { right: .5rem; }

/* Cropper */
.mx-cropper { gap: .9rem; }
.mx-editor { display: grid; gap: .8rem; min-width: 0; }
.mx-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.mx-toolbar .pt-field { min-width: 0; max-width: 100%; }
.mx-toolbar .mx-seg { flex-wrap: wrap; }
.mx-cropwrap { display: grid; place-items: center; padding: .75rem; border-radius: var(--mx-r); background: repeating-conic-gradient(var(--pt-soft) 0 25%, var(--mx-surface) 0 50%) 0 0 / 16px 16px; border: 1px solid var(--pt-line); overflow: hidden; }
.mx-cropstage { position: relative; max-width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.mx-cropstage canvas { display: block; max-width: 100%; }
.mx-cropbox { position: absolute; box-shadow: 0 0 0 9999px rgb(0 0 0 / .55); outline: 2px solid #fff; cursor: move; touch-action: none; }
.mx-cropbox:focus-visible { outline: 3px solid var(--pt-accent); }
.mx-cropbox.is-circle { border-radius: 50%; }
.mx-cropbox__grid { position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(to right, transparent calc(33.33% - .5px), rgb(255 255 255 / .55) calc(33.33% - .5px), rgb(255 255 255 / .55) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgb(255 255 255 / .55) calc(66.66% - .5px), rgb(255 255 255 / .55) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(to bottom, transparent calc(33.33% - .5px), rgb(255 255 255 / .55) calc(33.33% - .5px), rgb(255 255 255 / .55) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgb(255 255 255 / .55) calc(66.66% - .5px), rgb(255 255 255 / .55) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.mx-cropbox.is-circle .mx-cropbox__grid { border-radius: 50%; }
.mx-cropbox__h { position: absolute; width: 1.5rem; height: 1.5rem; margin: -.75rem 0 0 -.75rem; touch-action: none; }
.mx-cropbox__h::after { content: ""; position: absolute; inset: .35rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .45), 0 1px 3px rgb(0 0 0 / .35); }
.mx-cropbox__h--nw { left: 0; top: 0; cursor: nwse-resize; }
.mx-cropbox__h--n { left: 50%; top: 0; cursor: ns-resize; }
.mx-cropbox__h--ne { left: 100%; top: 0; cursor: nesw-resize; }
.mx-cropbox__h--e { left: 100%; top: 50%; cursor: ew-resize; }
.mx-cropbox__h--se { left: 100%; top: 100%; cursor: nwse-resize; }
.mx-cropbox__h--s { left: 50%; top: 100%; cursor: ns-resize; }
.mx-cropbox__h--sw { left: 0; top: 100%; cursor: nesw-resize; }
.mx-cropbox__h--w { left: 0; top: 50%; cursor: ew-resize; }
@media (pointer: coarse) { .mx-cropbox__h { width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; } .mx-cropbox__h::after { inset: .6rem; } }
.mx-cropinfo { margin: 0; font-size: .875rem; color: var(--pt-muted); font-variant-numeric: tabular-nums; text-align: center; }
.mx-cropfoot { display: grid; gap: .9rem; align-items: end; }
@media (min-width: 48rem) { .mx-cropfoot { grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); } }
.mx-fname { font-size: .85rem; color: var(--pt-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }

/* EXIF */
.mx-exif__item { grid-template-columns: 3.5rem minmax(0, 1fr); }
.mx-exif__item .mx-file__actions { grid-column: 2; flex-wrap: wrap; }
.mx-exif__details { grid-column: 1 / -1; min-width: 0; }
.mx-exif__details:empty { display: none; }
.mx-exif__table th { white-space: normal; font-weight: 500; color: var(--pt-muted); width: 40%; }
.mx-exif__table th span { display: block; }
.mx-exif__group { margin-bottom: .1rem; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pt-ink); }
.mx-exif__table td { overflow-wrap: anywhere; color: var(--pt-ink); }
.mx-exif__table tr.is-sensitive td { font-weight: 600; }
.mx-exif__table a { margin-left: .25rem; white-space: nowrap; }
@media (max-width: 30rem) { .mx-exif__item { grid-template-columns: 3rem minmax(0, 1fr); } .mx-exif__item .mx-file__actions { grid-column: 1 / -1; justify-content: flex-start; } }

@media (max-width: 35rem) {
    .mx-card, .mx-panel { padding: .9rem; }
    .mx .pt-input, .mx .pt-select, .mx .pt-textarea { font-size: 16px; }
    .mx-row2 { grid-template-columns: minmax(0, 1fr); }
    .mx-img__opts .mx-row2, .mx-cropsize { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mx-transport__time { margin-left: 0; width: 100%; }
}
