/* image-converters.com */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/source-sans-3-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/source-sans-3-600.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/source-sans-3-700.woff2) format("woff2"); }

:root {
  --ink: #1C5253;
  --soft: #3F6B6C;
  --green: #306B34;
  --leaf: #95CC66;
  --mint: #E1FFC9;
  --chiffon: #FFF8C7;
  --cream: #FFFCEB;
  --berry: #B6174B;
  --berry-pale: #FBE7EE;
  --line: #E2EDCF;
  --line-2: #CFE0B4;
  --row-line: #EFE6B8;
  --white: #FFFFFF;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 0; z-index: 30; background: var(--ink); color: var(--white); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
img { max-width: 100%; }

/* ---------------------------------------------------------------- header */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.menu-btn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: var(--white); font-weight: 600; font-size: 17px; }
.menu-btn:hover { background: var(--ink); border-color: var(--ink); }
.menu-btn .chev { transition: transform .15s ease; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.quick { display: flex; flex-wrap: wrap; gap: 4px; }
.ql { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.ql:hover { background: var(--mint); color: var(--ink); }
.ql.is-current { background: var(--mint); }
.private-pill { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(28, 82, 83, .35); max-height: calc(100vh - 80px); overflow: auto; }
.mega .wrap { padding-block: 28px 24px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.mgroup ul { list-style: none; margin: 0; padding: 0; }
.ghead { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; font-size: 19px; }
.gicon { width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--leaf); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mi { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
a.mi:hover { background: var(--mint); color: var(--ink); }
.mi.current { background: var(--mint); font-weight: 700; }
.mi small, .ti small { font-size: 12px; font-weight: 700; color: var(--green); }
.pop { font-size: 12px; font-weight: 700; color: var(--berry); background: var(--berry-pale); padding: 1px 8px; border-radius: 999px; text-decoration: none; display: inline-block; }
.mfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: 15px; color: var(--soft); }

/* ---------------------------------------------------------------- page head */
main { padding-block: 28px 72px; }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 10px; }
.crumbs a { color: var(--soft); }
h1 { margin: 0; font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; }
.lede { margin: 12px 0 28px; font-size: 20px; color: var(--soft); max-width: 640px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; }
.btn:hover { border-color: var(--green); }
.btn.primary { border: 0; background: var(--green); color: var(--white); font-weight: 600; font-size: 17px; padding: 0 22px; box-shadow: 0 3px 0 var(--ink); min-height: 48px; }
.btn.primary:hover { background: #285c2c; }
.btn.primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn.big { min-height: 54px; padding: 0 30px; font-size: 19px; box-shadow: 0 4px 0 var(--ink); }
.ghost-btn { font-size: 15px; }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--green); }
.icon-btn.ghost { border-color: transparent; background: transparent; color: var(--soft); }
.icon-btn.ghost:hover { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.linkish { border: 0; background: none; padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------------------------------------------------------------- work area */
.work { background: var(--mint); border: 1.5px solid var(--line); border-radius: 32px; padding: 18px; }
.drop { background: var(--cream); border: 2.5px dashed var(--green); border-radius: 24px; padding: 40px 24px 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; transition: background .15s ease; }
.drop.is-over { background: var(--chiffon); border-style: solid; }
.mascot { max-width: 100%; height: auto; }
.drop-h { margin: 6px 0 0; font-weight: 600; font-size: 28px; line-height: 1.2; }
.or { margin: 0; color: var(--soft); }
.hint { margin: 4px 0 0; font-size: 14px; color: var(--soft); }
.has-files .drop { padding: 22px 24px; gap: 10px; }
.has-files .drop .mascot, .has-files .drop .or { display: none; }
.has-files .drop-h { font-size: 22px; margin: 0; }

.panels { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.card { background: var(--white); border: 1.5px solid var(--line); border-radius: 24px; padding: 22px; min-width: 0; }
.set-card { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.out-card { flex: 2 1 460px; display: flex; flex-direction: column; gap: 12px; }
.panels.wide .set-card { flex: 1 1 260px; }
.panels.wide .out-card { flex: 3 1 560px; }
.card-h { margin: 0; font-weight: 600; font-size: 21px; }
.set-card > .card-h { margin-bottom: -6px; }
.out-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.summary { font-size: 14px; color: var(--soft); }
.summary.is-error { color: var(--berry); font-weight: 600; }
.empty { margin: 0; padding: 22px 16px; border-radius: 18px; border: 1.5px dashed var(--line-2); color: var(--soft); text-align: center; font-size: 15px; }
.has-output .empty, .has-files .empty { display: none; }
.out-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.work:not(.has-files) .out-actions { display: none; }

/* settings fields */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.flabel { font-weight: 700; font-size: 15px; }
.fdesc { font-size: 14px; color: var(--soft); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; min-width: 56px; justify-content: center; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--white); font-weight: 700; font-size: 15px; cursor: pointer; }
.chip span:hover { border-color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.is-off { opacity: .45; }
.is-off .chip span { cursor: default; }
.switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch-row > span:first-child { display: flex; flex-direction: column; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { flex: none; width: 56px; height: 32px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s ease; }
.switch::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .15s ease; }
.switch-row input:checked + .switch { background: var(--green); }
.switch-row input:checked + .switch::after { transform: translateX(24px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--green); outline-offset: 2px; }
.num-pair { display: flex; gap: 12px; flex-wrap: wrap; }
.num, .sel, .color-row { display: flex; flex-direction: column; gap: 8px; }
.num-in { display: flex; align-items: center; gap: 8px; }
.num input, .sel select { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 2px solid var(--line-2); border-radius: 14px; min-height: 44px; padding: 0 12px; }
.num input { width: 120px; }
.sel select { width: 100%; max-width: 360px; }
.num input:focus, .sel select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.color-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.color-row input { width: 56px; height: 40px; border: 2px solid var(--line-2); border-radius: 12px; padding: 2px; background: var(--white); cursor: pointer; }
.preset-note { font-size: 14px; color: var(--soft); }
.turn-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks svg { color: var(--green); flex: none; }

/* result rows */
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.results:empty { display: none; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--cream); border: 1px solid var(--row-line); }
.thumb { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--leaf); overflow: hidden; display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(45deg, #EEF6E3 25%, transparent 25%, transparent 75%, #EEF6E3 75%), linear-gradient(45deg, #EEF6E3 25%, transparent 25%, transparent 75%, #EEF6E3 75%);
  background-color: #FFFFFF; background-size: 12px 12px; background-position: 0 0, 6px 6px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.meta { flex: 1 1 auto; min-width: 0; }
.name { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub { font-size: 14px; color: var(--soft); }
.sub.note { color: var(--green); font-weight: 600; }
.sub.note.found { color: var(--berry); }
.sub.err { color: var(--berry); font-weight: 600; }
.sub.warn { color: #8A5A00; }
.bar { margin-top: 8px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--green); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.done { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--green); }
.working { flex: none; font-size: 13px; font-weight: 700; color: var(--soft); }
.page-no { flex: none; width: 28px; text-align: center; font-weight: 700; color: var(--soft); }
.code { width: 100%; margin-top: 8px; font: 13px/1.45 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 8px 10px; resize: vertical; word-break: break-all; }

/* crop */
.crop-stage { position: relative; display: inline-block; max-width: 100%; line-height: 0; user-select: none; touch-action: none;
  background-image: linear-gradient(45deg, #EEF6E3 25%, transparent 25%, transparent 75%, #EEF6E3 75%), linear-gradient(45deg, #EEF6E3 25%, transparent 25%, transparent 75%, #EEF6E3 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px; border-radius: 12px; overflow: hidden; }
.crop-img, .color-img { display: block; max-width: 100%; max-height: 62vh; width: auto; height: auto; }
.crop-box { position: absolute; box-shadow: 0 0 0 9999px rgba(28, 82, 83, .55); outline: 2px solid var(--white); cursor: move; touch-action: none; }
.crop-box::before, .crop-box::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: solid rgba(255, 255, 255, .45); }
.crop-box::before { border-width: 0 1px; left: 33.33%; right: 33.33%; }
.crop-box::after { border-width: 1px 0; top: 33.33%; bottom: 33.33%; }
.crop-box:focus-visible { outline: 3px solid var(--leaf); }
.handle { position: absolute; width: 22px; height: 22px; background: var(--white); border: 3px solid var(--green); border-radius: 50%; z-index: 1; }
.handle.nw { left: -11px; top: -11px; cursor: nwse-resize; }
.handle.ne { right: -11px; top: -11px; cursor: nesw-resize; }
.handle.sw { left: -11px; bottom: -11px; cursor: nesw-resize; }
.handle.se { right: -11px; bottom: -11px; cursor: nwse-resize; }
.crop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.crop-size { font-weight: 700; }

/* color picker */
.color-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.color-stage { position: relative; flex: 3 1 420px; min-width: 0; line-height: 0; }
.color-img { cursor: crosshair; border-radius: 12px; }
.lens { position: absolute; width: 34px; height: 34px; margin: -44px 0 0 10px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--ink); pointer-events: none; }
.color-side { flex: 1 1 240px; min-width: 0; }
.color-side h3 { margin: 0 0 10px; font-size: 17px; }
.color-side h3 + .palette { margin-bottom: 20px; }
.palette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.swatch { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px 4px 4px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font: 600 14px var(--font); text-align: left; }
.swatch:hover { border-color: var(--green); }
.swatch .sw { width: 34px; height: 34px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.picks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.picks-empty { padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--soft); font-size: 15px; }
.pick { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--cream); border: 1px solid var(--row-line); }
.sw.big { width: 52px; height: 52px; border-radius: 12px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.vals { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.val { border: 1px solid var(--line-2); background: var(--white); border-radius: 8px; padding: 3px 8px; font: 600 13px ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink); }
.val:hover { border-color: var(--green); }

/* favicon */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.fav { margin: 0; padding: 12px; border-radius: 16px; background: var(--cream); border: 1px solid var(--row-line); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fav-box { height: 100px; display: flex; align-items: center; justify-content: center; }
.fav figcaption { display: flex; flex-direction: column; font-size: 13px; color: var(--soft); }
.fav figcaption strong { color: var(--ink); font-size: 14px; }
.tab-preview { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 14px; border-radius: 10px 10px 0 0; background: #F1F4EC; border: 1px solid var(--line); border-bottom: 0; font-size: 14px; }
.tab-preview b { color: var(--soft); display: flex; }
.fav-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.snip-h { margin: 22px 0 0; font-size: 16px; }

/* trust + ad */
.trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; font-weight: 600; color: var(--green); }
.trust li { display: flex; align-items: center; gap: 8px; }
.ad-slot { margin: 36px auto 0; max-width: 728px; min-height: 90px; }
.ad-slot:empty { display: none; }

/* ---------------------------------------------------------------- all tools card */
.tools-card { margin-top: 40px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 32px; padding: 34px 32px 30px; }
.tc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 24px; }
.tc-head h2 { margin: 0; font-weight: 600; font-size: 34px; letter-spacing: -0.01em; }
.tc-head span { font-size: 15px; color: var(--soft); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.tgroup .ghead { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 20px; }
.tgroup ul { list-style: none; margin: 0; padding: 0; }
.ti { display: block; padding: 9px 12px; margin: 2px 0; border-radius: 14px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
a.ti:hover { background: var(--white); color: var(--ink); }
.ti.current { background: var(--white); border-color: var(--green); }
.tname { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: 16px; }
a.ti .tname .u { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.tdesc { display: block; font-size: 14px; color: var(--soft); }

/* ---------------------------------------------------------------- guide */
.content { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; align-items: flex-start; }
.guide { flex: 3 1 520px; min-width: 0; max-width: 700px; }
.guide h2 { margin: 36px 0 12px; font-weight: 600; font-size: 30px; line-height: 1.15; }
.guide > h2:first-child { margin-top: 0; }
.guide p, .guide li { max-width: 68ch; }
.guide ul, .guide ol:not(.steps) { padding-left: 1.3rem; }
.guide li { margin-bottom: 6px; }
.guide code { font: .9em ui-monospace, "SFMono-Regular", Consolas, monospace; background: var(--cream); border: 1px solid var(--row-line); padding: .05em .35em; border-radius: 6px; }
.guide table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 16px; }
.guide th, .guide td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { font-weight: 700; background: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--leaf); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps li > span:last-child { padding-top: 4px; }
.faq { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: 24px; padding: 22px 22px 10px; }
.faq h2 { margin: 0 0 6px; font-weight: 600; font-size: 22px; }
.faq details { border-bottom: 1px dashed var(--line-2); padding: 10px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 4px; font-size: 15px; color: var(--soft); }
.related { margin-top: 48px; }
.related h2 { margin: 0 0 14px; font-weight: 600; font-size: 24px; }
.rel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rel { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.rel:hover { border-color: var(--green); background: var(--mint); color: var(--ink); }
.rel strong { color: var(--green); }
.rel span { font-size: 14px; color: var(--soft); }

.prose { max-width: 70ch; }
.prose h2 { font-weight: 600; font-size: 26px; margin: 32px 0 10px; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: var(--chiffon); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 30px; }
.foot-brand { color: var(--chiffon); text-decoration: none; font-weight: 600; font-size: 19px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.site-foot nav a { color: var(--chiffon); text-decoration: none; }
.site-foot nav a.sister { color: var(--leaf); }
.site-foot nav a:hover, .foot-brand:hover { text-decoration: underline; color: var(--white); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 760px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .head-row { gap: 10px 12px; }
  .brand { font-size: 20px; }
  .private-pill { display: none; }
  .quick { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; margin-inline: -4px; padding-bottom: 2px; }
  .ql { white-space: nowrap; }
  .menu-btn { margin-left: auto; }
  .work { padding: 10px; border-radius: 24px; }
  .drop { padding: 26px 16px; }
  .mascot { width: 190px; }
  .drop-h { font-size: 23px; }
  .card { padding: 16px; }
  .row { flex-wrap: wrap; }
  .row .meta { flex-basis: calc(100% - 70px); }
  .row .done, .row .working { margin-left: 68px; margin-right: auto; }
  .tools-card { padding: 24px 18px; border-radius: 24px; }
  .tc-head h2 { font-size: 28px; }
  .lede { font-size: 18px; }
  .guide h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* text field, passport guide, crop buttons */
.txt { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 2px solid var(--line-2); border-radius: 14px; min-height: 44px; padding: 0 12px; width: 100%; max-width: 360px; }
.txt:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.crop-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.face-guide { position: absolute; left: 22%; right: 22%; top: 9%; bottom: 22%; border: 2px dashed rgba(255, 255, 255, .85); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1px rgba(28, 82, 83, .35); }

/* bigger previews where the result needs judging */
.work[data-kind="watermark"] .thumb, .work[data-kind="bgcolor"] .thumb, .work[data-kind="rotate"] .thumb { width: 150px; height: 112px; }
.work[data-kind="watermark"] .thumb img, .work[data-kind="bgcolor"] .thumb img, .work[data-kind="rotate"] .thumb img { object-fit: contain; }
@media (max-width: 760px) { .work[data-kind] .thumb { width: 56px; height: 56px; } .work[data-kind] .row .meta { flex-basis: calc(100% - 70px); } }
