/* ── Colours ───────────────────────────────────────────────────────────────
   Shared with every jsal.io app: the palette, light/dark switching and the top
   bar live in /shell.css. These names map the shared colours onto this app's
   components. */

:root {
  --bg: var(--jsal-bg);
  --surface: var(--jsal-bg);          /* the app sits flat on the page */
  --surface-2: var(--jsal-surface);   /* fields, rows and cards */
  --surface-3: var(--jsal-sunk);      /* hover */

  --border: var(--jsal-line);
  --border-mid: var(--jsal-line);
  --border-hi: var(--jsal-line-hi);

  --text: var(--jsal-ink);
  --text-2: var(--jsal-ink-2);
  --text-3: var(--jsal-muted);

  --gradient: var(--jsal-fill);       /* main button */
  --gradient-dim: var(--jsal-accent-soft);
  --accent-glow: none;
  --on-accent: var(--jsal-on-fill);

  --accent: var(--jsal-accent);
  --accent-dim: var(--jsal-accent-soft);
  --accent-ring: var(--jsal-accent-ring);
  --ok: var(--jsal-ok);
  --ok-dim: var(--jsal-ok-soft);
  --bad: var(--jsal-bad);
  --bad-dim: var(--jsal-bad-soft);

  --shadow-card: var(--jsal-shadow);

  --radius-sm: var(--jsal-radius);
  --radius-xs: 4px;
  --font: var(--jsal-font);
  --crop: #e3b04b;                /* crop box on photos: needs to stay bright in both themes */
}

/* ── Base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

/* Elements marked data-needs-images only appear once images are loaded */
.app:not(.has-images) [data-needs-images] { display: none !important; }

/* Visually hidden but still read by search engines and screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

html, body { height: 100%; overflow: hidden; }

body {
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}


/* ── Header + steps ────────────────────────────────────────────────────── */

/* The top bar itself (.jsal-top) is styled by /shell.css */
.app-header { margin-bottom: 24px; }

.section-label,
.grid-title,
.option-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-3);
}
.section-label { margin-bottom: 8px; }

/* ── Size presets + custom size ────────────────────────────────────────── */

.segment-group {
  display: flex;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  background: var(--surface-2);
  overflow: hidden;
}

.seg-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 6px;
  color: var(--text-2);
  text-align: center;
  position: relative;
  transition: background 0.12s, color 0.12s;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--border); }
.seg-btn:focus-visible { outline-offset: -2px; }
.seg-label { font-weight: 600; font-variant-numeric: tabular-nums; }
.seg-hint { font-size: 12px; color: var(--text-3); }
.seg-btn:hover { background: var(--surface-3); color: var(--text); }

.seg-btn.active { background: var(--gradient-dim); color: var(--text); }
.seg-btn.active .seg-label { color: var(--accent); }
.seg-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.custom-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; }

.input-group {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  background: var(--surface-2);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.input-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.input-group.error {
  border-color: var(--bad);
  box-shadow: 0 0 0 2px var(--bad-dim);
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.input-group label { font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.4px; }
.input-group input {
  flex: 1;
  width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  outline: none;
}
.input-group input::placeholder { color: var(--text-3); opacity: 0.7; }
.input-group input::-webkit-outer-spin-button,
.input-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-group input[type=number] { -moz-appearance: textfield; }
.input-sep { color: var(--text-3); flex-shrink: 0; }

/* Recent sizes: each pill is two buttons — apply, and × to remove */
.recent-sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }

.recent-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  border: 1px solid var(--border-mid);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background 0.12s, border-color 0.12s;
}
.recent-pill:hover { background: var(--surface-3); border-color: var(--accent-ring); }
.recent-pill-apply { padding: 4px 4px 4px 10px; border-radius: 20px 0 0 20px; }
.recent-pill-apply:hover { color: var(--accent); }
.recent-pill-del {
  padding: 2px 9px 2px 5px;
  font-size: 15px;
  line-height: 1;
  color: var(--text-3);
  border-radius: 0 20px 20px 0;
}
.recent-pill-del:hover { color: var(--bad); }

/* ── Quality + format rows ─────────────────────────────────────────────── */

.option-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
  padding: 9px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.option-label { width: 58px; }

.option-track {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
}

.quality-btn, .format-btn, .dest-btn {
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-3);
  font-weight: 600;
  transition: background 0.12s, color 0.12s;
}
.quality-btn:hover, .format-btn:hover, .dest-btn:hover { color: var(--text); }
.quality-btn:focus-visible, .format-btn:focus-visible, .dest-btn:focus-visible { outline-offset: -2px; }
.quality-btn.active, .format-btn.active, .dest-btn.active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-card); }
.option-hint { flex: 1 1 160px; font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* "Save to" row spans the full width, with its buttons sharing the space */
.option-row-wide { margin-bottom: 6px; }
.option-row-wide .option-track { flex: 1; }
.option-row-wide .dest-btn { flex: 1; }

.folder-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-hi);
  color: var(--text-2);
}
.folder-row svg { flex-shrink: 0; color: var(--accent); }
.folder-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--text); }
.folder-name.empty { color: var(--text-3); font-weight: 400; }
.folder-change {
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-mid);
  background: var(--surface-3);
  color: var(--text-2);
  font-weight: 500;
}
.folder-change:hover { border-color: var(--accent-ring); color: var(--accent); }

/* ── Drop zone + replace/add prompt ────────────────────────────────────── */

.drop-zone {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--border-hi);
  background: var(--surface-2);
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.drop-zone:hover { background: var(--surface-3); border-color: var(--accent); }
.drop-zone.drag {
  border-style: solid;
  border-color: var(--accent);
  background: var(--surface-3);
  /* Drawn inside the box: the scrollable settings column would clip an outer glow */
  box-shadow: inset 0 0 0 2px var(--accent-ring), inset 0 0 20px var(--accent-dim);
}

.drop-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--gradient-dim);
  border: 1px solid var(--accent-ring);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.drop-zone:hover .drop-icon, .drop-zone.drag .drop-icon { transform: translateY(-1px); box-shadow: var(--accent-glow); }

.drop-text { display: flex; flex-direction: column; gap: 2px; }
.drop-title { font-weight: 500; color: var(--text); }
.drop-sub { color: var(--text-3); }

.load-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-ring);
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

.load-choice-msg { color: var(--text); }
.load-choice-btns { display: flex; gap: 5px; }

.btn-choice {
  flex: 1;
  padding: 7px 8px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  border: 1px solid transparent;
  transition: filter 0.12s, background 0.12s;
}
.btn-choice:hover { filter: brightness(1.12); }
.btn-choice-replace { background: var(--bad-dim); border-color: var(--bad); color: var(--bad); }
.btn-choice-add { background: var(--accent-dim); border-color: var(--accent-ring); color: var(--accent); }
.btn-choice-cancel { background: var(--surface-3); border-color: var(--border-mid); color: var(--text-2); }

/* ── Export toolbar + status ───────────────────────────────────────────── */

.toolbar { display: flex; align-items: center; gap: 8px; }

.toolbar-hint {
  font-family: inherit;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.btn-apply,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  transition: background 0.12s, border-color 0.12s, opacity 0.12s;
}
.btn-apply { font-weight: 600; }
.btn-apply:hover, .btn-primary:hover { background: var(--surface-3); border-color: var(--border-hi); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-accent {
  background: var(--gradient);
  border-color: transparent;
  color: var(--on-accent);
  font-weight: 600;
  box-shadow: var(--accent-glow);
}
.btn-accent:hover { background: var(--gradient); border-color: transparent; filter: brightness(1.08); }
.btn-accent:disabled { box-shadow: none; filter: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 500;
  margin-left: auto;
  transition: background 0.12s, border-color 0.12s;
}
.btn-danger { color: var(--bad); }
.btn-danger:hover { background: var(--bad-dim); border-color: var(--bad); }

.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.status-dot.active { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.status-dot.busy { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.status-dot.error { background: var(--bad); box-shadow: 0 0 6px var(--bad); }

@keyframes statusIn {
  from { opacity: 0.3; transform: translateY(1px); }
  to { opacity: 1; transform: none; }
}
.status-bar.flash { animation: statusIn 0.25s ease; }

/* ── Crop editor ───────────────────────────────────────────────────────── */

.canvas-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.canvas-wrap canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Empty state: the whole preview is a drop target and browse button */
.canvas-empty {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1.5px dashed var(--border-hi);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  text-align: center;
  transition: opacity 0.2s, visibility 0.2s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.canvas-empty:hover { border-color: var(--accent); background: var(--surface-3); }
.canvas-empty:focus-visible { outline-offset: -2px; }
.canvas-wrap.drag .canvas-empty {
  border-style: solid;
  border-color: var(--accent);
  background: var(--surface-3);
  /* Drawn inside the box: the preview frame would clip an outer glow */
  box-shadow: inset 0 0 0 2px var(--accent-ring), inset 0 0 30px var(--accent-dim);
}
.canvas-empty.hidden { opacity: 0; visibility: hidden; }
.canvas-empty-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border-radius: 11px;
  background: var(--gradient-dim);
  border: 1px solid var(--accent-ring);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.canvas-empty-title { font-size: 15px; font-weight: 600; color: var(--text); }
.canvas-empty-sub { color: var(--text-3); }

.canvas-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.88);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.canvas-badge.visible { opacity: 1; }

.crop-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
  min-height: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.2s;
}
.crop-hint.visible { opacity: 1; }

/* ── Image cards ───────────────────────────────────────────────────────── */

.grid-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.grid-hint { font-size: 12px; color: var(--text-3); }

/* Cards sit in one horizontal strip that scrolls sideways when there are many */
.preview-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 3px 4px;
  margin: -3px;
  scrollbar-width: thin;
  flex-shrink: 0;
}
.preview-grid:empty { display: none; }

.preview-item {
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 7px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  flex: 0 0 148px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.preview-item:hover { border-color: var(--border-hi); }
.preview-item.selected { border-color: var(--accent-ring); box-shadow: 0 0 0 2px var(--accent-ring), var(--shadow-card); }

.thumb-wrap {
  display: block;
  width: 100%;
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-bottom: 6px;
  height: var(--thumb-h);
  background: rgba(0,0,0,0.18);
}
.thumb-wrap canvas { width: 100%; height: 100%; display: block; object-fit: contain; }

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}
.thumb-wrap:hover .thumb-overlay { opacity: 1; }
.preview-item.selected .thumb-overlay { display: none; }

.thumb-warn {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  background: var(--gradient);
  color: var(--on-accent);
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* Remove button: shows on hover and on keyboard focus */
.card-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.12s, background 0.12s, color 0.12s;
}
.preview-item:hover .card-remove,
.preview-item:focus-within .card-remove { opacity: 1; }
.card-remove:hover { background: #b03026; border-color: #ef6f62; color: #fff; }

.card-info { margin-bottom: 6px; }

.filename-edit {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 1px 4px;
  color: var(--text-2);
  text-overflow: ellipsis;
  cursor: text;
  outline: none;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.filename-edit:hover { border-color: var(--border-mid); background: var(--surface-3); }
.filename-edit:focus { border-color: var(--accent); background: var(--surface-3); color: var(--text); box-shadow: 0 0 0 2px var(--accent-ring); }

.src-dims {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  margin-top: 2px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.file-size { white-space: nowrap; }
.file-size.error { color: var(--bad); }

.card-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 0;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  border: 1px solid var(--border-mid);
  color: var(--text-2);
  font-weight: 500;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.card-dl-btn:hover { background: var(--gradient-dim); border-color: var(--accent-ring); color: var(--accent); }
.card-dl-btn.saved { background: var(--ok-dim); border-color: var(--ok); color: var(--ok); }

.divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ── Fit-to-window layout ──────────────────────────────────────────────────
   Desktop only. The page itself never scrolls: on a full window the settings
   sit in a left column beside the preview; in a narrow window (e.g. a browser
   sidebar) they stack above it. The card strip scrolls sideways, and the
   settings only scroll on their own if the window is extremely short. */

.app {
  --thumb-h: 84px;
  width: 100%;
  max-width: 880px;   /* same as IC Defaults: lines up with the jsal.io home page column */
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 max(20px, env(safe-area-inset-left, 0px)) 12px;   /* same sides as the home page */
}
.app-header { flex-shrink: 0; }

.controls {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.workspace {
  flex: 1 1 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
/* Preview keeps a photo-like 3:2 shape and only shrinks when the window is
   short — it never stretches to fill a tall window */
.canvas-wrap { flex: 0 1 auto; aspect-ratio: 3 / 2; min-height: 80px; }

/* Full window: settings column + preview */
@media (min-width: 900px) {
  .app {
    display: grid;
    grid-template-columns: minmax(320px, 360px) 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 28px;
    padding-bottom: 18px;
  }
  .app-header { grid-column: 1 / -1; }
  .controls { padding-right: 4px; }
  .workspace { margin-top: 0; min-height: 0; }
  .option-hint { flex-basis: 100%; }
}

/* Sidebar: one column, Quality and Format share a line, smaller cards */
@media (max-width: 899px) {
  .controls { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
  .controls > * { flex: 1 1 100%; margin-top: 0; }
  .controls > .option-row { flex: 1 1 40%; padding: 6px 8px; }
  .controls > .option-row-wide, .controls > .folder-row { flex-basis: 100%; margin-bottom: 0; }
  .controls > .divider { margin: 4px 0; }
  .controls > .section-label { margin-bottom: -2px; }
  .option-hint { display: none; }
  .option-track { flex: 1; }
  .quality-btn, .format-btn, .dest-btn { flex: 1; padding: 5px 6px; }
  .app { --thumb-h: 64px; }
  .preview-item { flex-basis: 128px; }
  .src-dims { font-size: 11px; }
}

/* Shorter windows: drop the step bar, section headings and hints */
@media (max-width: 899px) and (max-height: 900px), (max-height: 820px) {
  .section-label, .divider, .option-hint, .grid-hint, .drop-sub { display: none; }
  .app-header { margin-bottom: 14px; }
  .drop-zone { padding: 8px 12px; }
  .drop-icon { width: 28px; height: 28px; }
  .folder-row { padding-top: 3px; padding-bottom: 3px; }
  .option-row { padding-top: 5px; padding-bottom: 5px; }
}

/* Short windows (small laptop screens): tighten spacing too */
@media (max-height: 820px) {
  .seg-btn { padding: 7px 6px; }
  .input-group, .btn-apply, .btn-primary, .btn-ghost { height: 34px; }
  .app { --thumb-h: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Same width as IC Defaults on very large screens */
@media (min-width: 1800px) {
  .app { max-width: 1000px; }
}
