/* /import/ pages: one narrow column, the tool first, everything else short. */
:root {
  --ink: #101b2d; --muted: #5e6c80; --line: #dbe3eb; --paper: #f6f7f4; --white: #fff;
  --blue: #0878c9; --blue-dark: #07568f; --soft: #eaf4fb; --navy: #10263d; --ok: #13795b; --warn: #8a5300;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font: 16px/1.6 "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif; }
a { color: var(--blue-dark); }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -0.02em; }
[hidden] { display: none !important; }

.bar { max-width: 720px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: "Manrope", sans-serif; font-weight: 800; text-decoration: none; }
.brand img { border-radius: 8px; display: block; }
.langs { display: flex; gap: 2px; flex-wrap: wrap; }
.langs a { padding: 4px 8px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

.page { max-width: 720px; margin: 0 auto; padding: 18px 20px 56px; }
h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; }
.lead { margin-top: 12px; font-size: 18px; color: var(--muted); }
h2 { margin: 44px 0 12px; font-size: 22px; }

/* the tool */
.tool { margin-top: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 8px 24px rgba(16, 38, 61, 0.05); }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 38px 16px; border: 2px dashed var(--line); border-radius: 14px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-icon { font-size: 30px; line-height: 1; color: var(--blue); }
.drop-main { font-weight: 700; font-size: 17px; }
.drop-sub { font-size: 14px; color: var(--muted); }
.sample { margin-top: 12px; text-align: center; font-size: 14px; }
.error { margin-top: 10px; color: #b3261e; text-align: center; }
button.link { border: 0; background: none; padding: 0; color: var(--blue-dark); font: inherit; text-decoration: underline; cursor: pointer; }

.result-head { display: flex; align-items: flex-start; gap: 12px; }
.ok { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #dff3ea; color: var(--ok); font-weight: 800; }
.result.empty .ok { background: #fbefd9; color: var(--warn); }
.result-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.result-text strong { font-size: 18px; line-height: 1.3; }
.result-text span { color: var(--muted); font-size: 14px; }
.again { margin-top: 12px; text-align: center; font-size: 14px; }
.warn { margin-top: 10px; color: var(--warn); font-size: 14px; }
button.primary { display: block; width: 100%; margin-top: 16px; font: inherit; font-weight: 700; font-size: 17px; border: 0; border-radius: 14px; padding: 15px 20px; background: var(--blue); color: #fff; cursor: pointer; }
button.primary:hover { background: var(--blue-dark); }
button.primary:disabled { opacity: .45; cursor: default; }
.howto { margin: 14px 0 0 22px; font-size: 15px; }
.howto li { margin: 4px 0; }
.howto code, .export-steps code { font-size: 14px; background: var(--paper); padding: 1px 5px; border-radius: 6px; }
.after { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; }
details.more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
details.more summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.options label, .map-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 12px; margin-top: 14px; }
.tool select, .tool input[type=date] { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; max-width: 100%; width: 100%; }
.table-wrap { margin-top: 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 600; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.more-rows { text-align: center; color: var(--muted); }

.trust { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }

/* below the tool */
.export-steps { margin-left: 22px; }
.export-steps li { margin: 6px 0; }
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.apps a, .apps span { padding: 10px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.apps a:hover { border-color: var(--blue); }
.apps span { color: var(--muted); font-weight: 600; }

.cta { display: flex; gap: 16px; align-items: flex-start; margin-top: 44px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.cta img { flex: none; border-radius: 12px; }
.cta h2 { margin: 0 0 4px; font-size: 19px; }
.cta p { color: var(--muted); font-size: 15px; }
.cta-btn { display: inline-block; margin-top: 12px; padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.cta .note { margin-left: 8px; color: var(--muted); font-size: 13px; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }
.others { margin-top: 28px; color: var(--muted); font-size: 14px; }
.foot { max-width: 720px; margin: 0 auto; padding: 22px 20px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 520px) {
  .tool { padding: 14px; border-radius: 16px; }
  .cta { flex-direction: column; }
}
