[hidden] { display: none !important; }
:root {
  --green: #217346;
  --green-dark: #185c37;
  --grid: #e1e1e1;
  --hdr: #f3f3f3;
  --text: #1f1f1f;
  --muted: #666;
  --link: #0563c1;
  --sel: #fff2cc;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: Consolas, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: #e7e7e7; }
body { margin: 0; font: 15px/1.6 var(--sans); color: var(--text); }
a { color: var(--link); }
html[data-lang="ko"] [data-l="en"], html[data-lang="en"] [data-l="ko"] { display: none !important; }
html[data-lang="ko"] { word-break: keep-all; }

/* window chrome */
.win { max-width: 1120px; margin: 32px auto; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.titlebar { background: var(--green); color: #fff; height: 38px; display: flex; align-items: center; padding: 0 14px;
  font-weight: 600; font-size: 14px; position: relative; }
.titlebar .dots { display: flex; gap: 7px; }
.titlebar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.45); }
.titlebar .name { position: absolute; left: 50%; transform: translateX(-50%); }
.titlebar .lang { margin-left: auto; display: flex; gap: 2px; }
.titlebar .lang button { font: inherit; font-size: 12px; color: #fff; background: none; border: 0; padding: 3px 8px;
  border-radius: 3px; cursor: pointer; opacity: .75; }
.titlebar .lang button.on { background: rgba(255,255,255,.2); opacity: 1; }
.menu { display: flex; gap: 2px; padding: 4px 10px; background: #f8f8f8; border-bottom: 1px solid #ddd; font-size: 14px; }
.menu a { color: var(--text); text-decoration: none; padding: 3px 10px; border-radius: 3px; }
.menu a:hover { background: #e9e9e9; }
.menu a.on { background: #dcebfa; outline: 1px solid #a9c9ec; }
.fbar { display: flex; align-items: center; border-bottom: 1px solid #d4d4d4; font: 13px var(--mono); color: #333; }
.fbar .nb { width: 72px; padding: 5px 10px; border-right: 1px solid #d4d4d4; }
.fbar .fx { padding: 0 10px; color: #999; font-style: italic; border-right: 1px solid #d4d4d4; }
.fbar .f { padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sheet area: column letters + row numbers as decoration */
.cols { display: flex; background: var(--hdr); border-bottom: 1px solid #d4d4d4; font-size: 12px; color: #555; }
.cols span { flex: 1; text-align: center; border-left: 1px solid #d4d4d4; padding: 2px 0; }
.cols span:first-child { flex: 0 0 40px; border: 0; }
.sheet { display: flex; }
.rn { flex: 0 0 40px; background: var(--hdr); border-right: 1px solid #d4d4d4; }
.body { flex: 1; min-width: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 28px, 12.5% 100%; }
section { padding: 56px 56px; }
section + section { border-top: 1px solid #d4d4d4; }
.paper { background: #fff; }

/* hero */
.hero { display: flex; gap: 56px; align-items: center; }
.hero .copy { flex: 1; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--green); font-weight: 700; font-size: 18px; margin-bottom: 26px; }
.brand img { width: 40px; height: 40px; }
h1 { font-size: 46px; line-height: 1.15; letter-spacing: -.5px; margin: 0 0 18px; }
.lead { font-size: 19px; color: #444; margin: 0 0 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 4px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--green); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { color: var(--green); background: #fff; }
.btn.ghost:hover { background: #f0f7f3; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.pop { flex: 0 0 360px; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.08); }
.pop img { display: block; width: 360px; height: 480px; }

h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.3px; }
.sub { color: var(--muted); margin: 0 0 26px; }

/* feature table, spreadsheet style */
table.xl { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; }
table.xl th, table.xl td { border: 1px solid #d4d4d4; padding: 8px 12px; text-align: left; vertical-align: top; }
table.xl thead th { background: #e2efda; font-weight: 700; }
table.xl td:first-child { font-weight: 700; white-space: nowrap; width: 1%; }
table.xl tbody tr:nth-child(even) td { background: #fffaeb; }
table.xl tbody tr:hover td { background: var(--sel); }
kbd { font: 12px var(--mono); background: #f4f4f4; border: 1px solid #ccc; border-bottom-width: 2px; border-radius: 3px; padding: 1px 5px; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.shots figure { margin: 0; }
.shots img { width: 100%; display: block; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.shots figcaption { font-size: 13.5px; color: #444; margin-top: 10px; text-align: center; font-weight: 600; }

ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin: 6px 0; }
code { font: 13px var(--mono); background: #f4f4f4; padding: 1px 5px; border-radius: 3px; }

/* document page (privacy) */
.doc { max-width: 760px; }
.doc h1 { font-size: 36px; }
.doc h2 { font-size: 20px; margin-top: 34px; }
.doc p, .doc li { color: #333; }

/* sheet tabs + status bar */
.tabs { display: flex; gap: 0; background: #f3f3f3; border-top: 1px solid #d4d4d4; padding: 0 10px; font-size: 13.5px; }
.tabs a { padding: 6px 16px; color: #444; text-decoration: none; border-right: 1px solid #d4d4d4; }
.tabs a:first-child { border-left: 1px solid #d4d4d4; }
.tabs a.on { background: #fff; color: var(--green); font-weight: 700; box-shadow: inset 0 -3px 0 var(--green); }
.tabs a:hover:not(.on) { background: #e9e9e9; }
.status { background: var(--green); color: #fff; font-size: 12.5px; padding: 6px 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.status a { color: #fff; }
.status .r { margin-left: auto; }
.disc { font-size: 12.5px; color: var(--muted); padding: 14px 56px 20px; background: #fafafa; border-top: 1px solid #e3e3e3; }

@media (max-width: 860px) {
  .win { margin: 0; border-radius: 0; }
  .titlebar .name { display: none; }
  section { padding: 36px 22px; }
  .disc { padding: 14px 22px; }
  .hero { flex-direction: column; align-items: stretch; gap: 32px; }
  .pop { flex: none; align-self: center; }
  h1 { font-size: 34px; }
  .rn, .cols span:first-child { display: none; }
  table.xl td:first-child { white-space: normal; }
  .fbar .nb { display: none; }
}
@media (max-width: 400px) { .pop img { width: 100%; height: auto; } .pop { align-self: stretch; } }

/* favorite team + toolbar badge */
.badge-hero { display: flex; gap: 48px; align-items: center; margin-bottom: 30px; }
.badge-hero .copy { flex: 1; min-width: 0; }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { display: flex; gap: 10px; align-items: baseline; margin: 6px 0; }
.alerts .ab { font-size: 14px; }
.toolbar-mock { flex: 0 0 380px; }
.tb { display: flex; align-items: center; gap: 14px; background: #eef1f4; border: 1px solid #d6dbe0; border-radius: 10px 10px 0 0; padding: 10px 14px; }
.tb .omni { flex: 1; background: #fff; border-radius: 16px; padding: 6px 14px; font-size: 13px; color: #777; }
.tip { margin: 6px 0 0 auto; width: max-content; max-width: 100%; background: #fff; border: 1px solid #c8c8c8; box-shadow: 0 3px 10px rgba(0,0,0,.15);
  font: 12.5px var(--mono); padding: 4px 9px; border-radius: 3px; position: relative; }
.tip::before { content: ""; position: absolute; top: -6px; right: 20px; width: 10px; height: 10px; background: #fff;
  border-left: 1px solid #c8c8c8; border-top: 1px solid #c8c8c8; transform: rotate(45deg); }
/* the badge itself, drawn like Chrome's: white bold text on a rounded pill at the icon's lower right */
.ext { position: relative; display: inline-block; width: 32px; height: 32px; vertical-align: middle; }
.ext img { width: 32px; height: 32px; display: block; }
.bdg { position: absolute; right: -9px; bottom: -5px; min-width: 20px; height: 17px; padding: 0 4px; border-radius: 4px;
  font: 700 11.5px/17px var(--sans); color: #fff; text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.bdg.up { background: #238636; }
.bdg.down { background: #da3633; }
.bdg.even { background: #6e7681; }
table.badges td { vertical-align: middle; }
table.badges td:first-child { padding: 12px 22px 14px 14px; }
table.badges td.mono { font: 13px var(--mono); color: #444; white-space: nowrap; }
@media (max-width: 860px) {
  .badge-hero { flex-direction: column; align-items: stretch; gap: 24px; }
  .toolbar-mock { flex: none; }
  table.badges td.mono { white-space: normal; }
}
.toolbar-mock .tb { padding: 14px 18px; }
.toolbar-mock .ext { zoom: 1.35; }
.toolbar-mock .tip { font-size: 13.5px; padding: 6px 11px; }

/* supported browsers */
.browsers { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.browsers img { width: 30px; height: 30px; display: block; transition: transform .15s; }
.browsers a:hover img { transform: translateY(-2px); }
.browsers .bl { font-size: 13px; color: var(--muted); margin-left: 4px; }
.btn img { width: 20px; height: 20px; }
.accordion { border: 1px solid #d4d4d4; background: #fff; }
.acc + .acc { border-top: 1px solid #d4d4d4; }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; user-select: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: #f6f9f7; }
.acc summary img { width: 28px; height: 28px; }
.acc summary b { font-size: 16px; }
.acc summary .req { font-size: 12.5px; color: var(--muted); }
.acc summary .state { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.acc summary .state.live { color: var(--green); font-weight: 600; }
.acc summary .state .you { background: #e2efda; color: var(--green); font-weight: 600; border-radius: 3px; padding: 1px 6px; margin-right: 8px; }
.acc .chev { width: 9px; height: 9px; border-right: 2px solid #777; border-bottom: 2px solid #777; transform: rotate(45deg); margin: -4px 4px 0 6px; transition: transform .15s; }
.acc[open] .chev { transform: rotate(-135deg); margin-top: 4px; }
.acc[open] summary { background: #fff2cc; box-shadow: inset 3px 0 0 var(--green); }
.acc-body { display: flex; gap: 36px; padding: 18px 20px 22px 56px; border-top: 1px solid #eee; }
.acc-store { flex: 0 0 230px; display: flex; flex-direction: column; gap: 8px; }
.acc-store .btn { justify-content: center; }
.acc-store .btn.off { flex-direction: column; gap: 0; line-height: 1.3; }
.acc-store .btn.off img { display: none; }
.acc-store .btn small { font-size: 12px; font-weight: 400; }
.acc-store .alt { font-size: 13px; text-align: center; }
.acc-src { flex: 1; min-width: 0; font-size: 14.5px; }
.acc-src h3 { font-size: 14px; margin: 0 0 6px; color: #444; }
.acc-src .steps { margin: 0; padding-left: 20px; }
.acc-src .steps li { margin: 4px 0; }
.acc-src code { word-break: break-all; }
.btn.off { background: #f3f3f3; border-color: #d4d4d4; color: #888; pointer-events: none; }
@media (max-width: 860px) {
  .acc-body { flex-direction: column; gap: 18px; padding: 16px; }
  .acc-store { flex: none; }
}
.cta-note { color: #9c5700; margin: 10px 0 0; }
.cta-note:empty { display: none; }
.cta-note + .note { margin-top: 4px; }
.acc-store .hint { font-size: 13px; color: #555; margin: 2px 0 0; line-height: 1.5; }
