/* cco.kr — fff.css 위에 얼굴·도구 화면. 표 계산 시트 모양: 흰 바탕 + 옅은 칸 줄, 초록 머리, 각진 작은 모서리. 움직임 없음. */
.b-cco { --accent: light-dark(#047857, #6ee7b7); --accent-ink: light-dark(#ffffff, #032b1f); --bg2: light-dark(#f3f8f5, #131a17); --line: light-dark(#dbe7e0, #26332d); --radius: 6px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.cat-convert { --c: light-dark(#047857, #6ee7b7); --c-bg: light-dark(#d1fae5, #0f3a2c); }
.cat-clean { --c: light-dark(#1d4ed8, #93c5fd); --c-bg: light-dark(#dbeafe, #172a4d); }
.b-cco .top { background: var(--bg); border-bottom: 3px solid #047857; }
.b-cco .logo .mark { background: #047857; color: #fff; border-radius: 4px; box-shadow: inset 0 -6px 0 rgb(0 0 0 / .18); }
.b-cco .btn { border-radius: 6px; font-weight: 800; }
.b-cco .btn-primary { background: #047857; border-color: #047857; color: #fff; }
.b-cco [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 대문 */
.s-hero { border-bottom: 1px solid var(--line); background-color: var(--bg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 32px; }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 36px; }
.s-hero-in > div:first-child { background: var(--bg); padding: 4px 8px 8px 0; }
.s-hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); letter-spacing: -.03em; }
.s-demo { min-width: 0; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgb(4 120 87 / .12); }
.s-demo table { border-collapse: collapse; font-size: .9rem; }
.s-demo th, .s-demo td { border: 1px solid var(--line); padding: 4px 10px; text-align: start; white-space: nowrap; }
.s-demo th { background: var(--bg2); color: var(--dim); font-weight: 600; text-align: center; min-width: 26px; }
.s-demo td b { color: #047857; }
.s-arrow { font-size: 1.6rem; font-weight: 900; color: #047857; }
.s-demo pre { min-width: 0; margin: 0; font: .85rem/1.5 var(--mono); color: var(--ink); }
@media (max-width: 820px) { .s-hero-in { grid-template-columns: 1fr; } .s-demo { display: none; } }
.s-cat { font-size: 1rem; font-weight: 800; color: var(--c, var(--accent)); margin: 28px 0 10px; padding-inline-start: 10px; border-inline-start: 4px solid currentColor; }
.s-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.s-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 86px; padding: 14px 16px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; height: 100%; }
.s-card:hover { background: var(--c-bg); }
.s-card .ico { grid-row: span 2; font-size: 1.5rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: var(--c-bg); }
.s-card b { font-size: 1rem; }
.s-card span:not(.ico) { color: var(--dim); font-size: .92rem; }
.s-how { padding-top: 30px; }
.s-how h2 { font-size: 1.35rem; margin: 0 0 14px; }
.s-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.s-how li { display: flex; gap: 12px; padding: 16px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line); }
.s-how li b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; background: #047857; color: #fff; }
/* 도구 화면 */
.cco .bar-opts { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg2); margin-bottom: 12px; }
.cco .bar-opts .opt { min-width: 130px; }
.cco .bar-opts .opt.grow { flex: 1 1 260px; }
.cco input[type=text], .cco input[type=search] { min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); font: inherit; width: 100%; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .io { grid-template-columns: 1fr; } }
.ed { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ed-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: .92rem; min-height: 44px; }
.ed-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.btn.sm { min-height: 44px; padding: 0 12px; font-size: .9rem; }
.ed textarea, .paste textarea { width: 100%; padding: 10px 12px; font: .9rem/1.55 var(--mono); border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); resize: vertical; tab-size: 2; min-height: 320px; }
.paste textarea { min-height: 140px; margin: 8px 0; }
.paste { margin: 12px 0; }
.paste summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.ed textarea[readonly] { background: var(--bg2); }
.tbl-wrap { overflow: auto; max-height: 320px; border: 1px solid var(--line); border-radius: 6px; margin-top: 12px; background: var(--card); }
.tbl-wrap.big { max-height: 70vh; min-height: 320px; margin-top: 0; }
.tbl-wrap:empty { display: none; }
.tbl-wrap .hint { margin: 8px 12px; }
.ftable.sheet { width: max-content; min-width: 100%; border-collapse: collapse; font-size: .9rem; }
.ftable.sheet th { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, #047857 10%, var(--bg2)); text-align: start; padding: 0; border: 1px solid var(--line); white-space: nowrap; }
.ftable.sheet thead th:not(:has(button)) { padding: 6px 10px; }
.ftable.sheet td { padding: 5px 10px; border: 1px solid var(--line); white-space: pre; max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.ftable.sheet .rn { color: var(--dim); text-align: end; font-variant-numeric: tabular-nums; background: var(--bg2); position: sticky; inset-inline-start: 0; }
.ftable.sheet th button { all: unset; box-sizing: border-box; display: block; width: 100%; min-height: 44px; padding: 10px 26px 10px 10px; cursor: pointer; font-weight: 800; position: relative; }
.ftable.sheet th button::after { content: "↕"; position: absolute; inset-inline-end: 8px; color: var(--dim); font-weight: 400; }
.ftable.sheet th button.up::after { content: "▲"; color: #047857; }
.ftable.sheet th button.down::after { content: "▼"; color: #047857; }
.ftable.sheet th button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.pills .lbl { font-weight: 700; margin-inline-end: 4px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; }
.pill input { width: 20px; height: 20px; accent-color: #047857; }
.pill:has(input:checked) { border-color: #047857; background: var(--c-bg, #d1fae5); }
.files { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.files li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li span { color: var(--dim); font-size: .9rem; font-variant-numeric: tabular-nums; }
.v-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; align-items: start; }
.v-grid:has(.v-stat[hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .v-grid { grid-template-columns: minmax(0, 1fr); } }
.v-stat { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; background: var(--bg2); }
.v-stat h3 { margin: 0 0 8px; font-size: 1rem; overflow-wrap: anywhere; }
.v-stat dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.v-stat dt { color: var(--dim); }
.v-stat dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; font-weight: 700; overflow-wrap: anywhere; }
.v-stat ol { margin: 6px 0 0; padding-inline-start: 20px; }
.v-stat li { display: flex; justify-content: space-between; gap: 8px; }
.v-stat li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-h { margin: 12px 0 0; font-weight: 700; font-size: .92rem; }
.err { color: var(--bad); font-weight: 700; }
/* 무료 개인 주소 바로가기(11-29, fff/_free_address.html) */
.fa-wrap { padding-top: 14px; }
.fa-bar { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(100deg, #7c3aed, #a21caf 55%, #db2777); box-shadow: 0 6px 18px rgb(124 58 237 / .25); }
.fa-bar:hover { filter: brightness(1.06); }
.fa-ico { font-size: 1.8rem; } .fa-t { display: grid; flex: 1; min-width: 0; } .fa-t b { font-size: 1.1rem; } .fa-t span { opacity: .92; font-size: .92rem; } .fa-go { font-size: 1.4rem; font-weight: 900; }
