/* 이지통계 M 전용 스타일 (공통 프레임은 ../common/easy.css) */
[hidden] { display: none !important; }

/* 시작 화면 */
.sm-intro { background: #fff; color: var(--text); overflow: hidden; }
.sm-intro::after { content: "M"; position: absolute; right: -40px; bottom: -110px; font-size: 420px; font-weight: 900; color: #eef2f9; line-height: 1; pointer-events: none; }
.sm-intro > * { position: relative; z-index: 1; }
.sm-intro h1 { color: #1c3f86; }
.sm-intro .tag { color: var(--muted); }
.sm-intro .start { background: var(--primary); color: #fff; }
.sm-intro .foot { color: var(--muted); z-index: 1; position: absolute; }
.sm-intro-top { position: absolute !important; top: 14px; right: 14px; display: flex; gap: 6px; }
.sm-intro-top button { border: 1px solid var(--line); background: #fff; border-radius: 18px; height: 36px; padding: 0 14px; }
.sm-mark { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.sm-mark i { display: block; width: 14px; border-radius: 4px 4px 0 0; background: #8fb4ee; }
.sm-mark i:nth-child(1) { height: 26px; } .sm-mark i:nth-child(2) { height: 54px; background: #2563c9; } .sm-mark i:nth-child(3) { height: 38px; }
.sm-mark b { width: 44px; height: 44px; border-radius: 50%; background: #1c3f86; color: #fff; display: grid; place-items: center; font-size: 24px; margin-left: 6px; }

/* 상단 바 · 세부 설정 */
.ez-top { color: #fff; }
.sm-sub { flex-wrap: wrap; justify-content: flex-end; overflow: visible; row-gap: 6px; }
.sm-sub .sep { height: 30px; align-self: center; }
.sm-sub.obs { justify-content: flex-start; align-items: flex-start; flex-wrap: nowrap; background: #f7f9fc; }
/* 세부 설정 버튼: 아이콘 + 아래 글자(기획안 p.22) */
.sm-sbtn { height: 54px; min-width: 58px; padding: 4px 8px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; line-height: 1.1; }
.sm-ic { display: inline-flex; }
.sm-ic svg { width: 20px; height: 20px; display: block; }
/* 좁은 화면에서도 상단에 화면 이름(선택한 메뉴)을 보여 줌(기획안 p.15) */
@media (max-width: 820px) {
  .ez-top .ez-title { display: block; flex: 0 1 auto; min-width: 0; font-size: 14px; margin-left: 2px; }
  .ez-top .ez-logo { flex: 1 1 30px; font-size: 14px; padding: 6px 2px; }
}
.sm-sbtn.on { box-shadow: inset 0 0 0 2px rgba(0,0,0,.18); }
/* 여러 상태를 도는 버튼(상대도수): 현재 상태를 글자 아래에 적는다 */
.sm-sbtn.has-st { gap: 1px; min-width: 76px; }
.sm-sbtn.has-st .sm-ic svg { width: 15px; height: 15px; }
.sm-sbtn .st { font-size: 10.5px; font-weight: 700; line-height: 1.1; padding: 1px 5px; border-radius: 7px; background: var(--primary-weak); color: var(--primary); white-space: nowrap; }
.sm-sbtn.on .st { background: #fff; }
.sm-x { border: 0; background: none; font-size: 22px; line-height: 1; width: 32px; height: 32px; border-radius: 16px; flex: none; margin-left: 4px; color: var(--muted); }
.sm-x:hover { background: var(--bg); }

/* 메뉴 */
.ez-menu { overflow: hidden; }
.sm-home { border: 0; background: none; font-weight: 800; font-size: 17px; padding: 2px 4px; border-radius: 6px; }
.sm-acc { display: flex; gap: 4px; padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.sm-acc button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px; height: 32px; font-size: 13px; padding: 0 4px; white-space: nowrap; }
.sm-mscroll { overflow-y: auto; flex: 1; padding-bottom: 12px; }
.ez-menu .item { padding: 9px 16px 9px 26px; }
.sm-dbl { height: 4px; border-top: 1px solid var(--muted); border-bottom: 1px solid var(--muted); margin: 6px 16px; opacity: .6; }
.sm-fname { font-weight: 400; }

/* 작업 영역 */
.sm-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--bg); }
.sm-float { position: absolute; top: 8px; right: 10px; display: flex; gap: 6px; z-index: 5; }
.sm-fbtn { width: 38px; height: 38px; border-radius: 19px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.sm-fbtn svg { width: 20px; height: 20px; }
.sm-warn { color: #b26a00; background: #ffe9a8; border-color: #e0b400; font-size: 20px; animation: smblink 1s infinite; }
@keyframes smblink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.sm-kbtn { position: absolute; left: 10px; bottom: 10px; z-index: 5; }
.sm-done { position: absolute; right: 12px; bottom: 10px; z-index: 5; height: 44px; padding: 0 18px; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.sm-wins { flex: 1; min-height: 0; display: flex; gap: 12px; padding: 12px 12px 56px; overflow: auto; }
.sm-win { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; position: relative; }
.sm-wins.multi .sm-win { flex: 1 1 50%; }
.sm-win.sub { border-left: 2px dashed var(--line); padding-left: 12px; }
.sm-subsel { align-self: flex-end; margin: 0 96px 8px 0; }
.sm-wins.multi .sm-win.sub .sm-subsel { margin-right: 100px; }
.sm-subsel select { height: 36px; border-radius: 8px; border: 1px solid var(--line); font: inherit; padding: 0 8px; background: #fff; }
.sm-tabs { display: flex; gap: 6px; align-self: flex-start; margin: 0 0 8px; flex-wrap: wrap; }
.sm-tabs .ez-btn { height: 34px; }
@media (max-width: 820px) {
  .sm-wins.multi { flex-direction: column; }
  .sm-wins.multi .sm-win { flex: none; width: 100%; }
  .sm-win.sub { border-left: 0; border-top: 2px dashed var(--line); padding: 12px 0 0; }
  .sm-subsel { margin-right: 0 !important; }
}

/* ⓐ 틀: 모든 표·그래프를 같은 너비로, 상단 정렬 */
.sm-frame { width: 100%; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 14px; display: flex; flex-direction: column; min-height: 0; }
.sm-frame.data { flex: 1; }
.sm-frame.saving { border: 0; border-radius: 0; width: 760px; }
.sm-title { text-align: center; font-weight: 800; font-size: 1.2em; padding: 6px 90px 8px; min-height: 1.6em; }
.sm-frame.saving .sm-title, .sm-win.sub .sm-title { padding-left: 8px; padding-right: 8px; }
.sm-edit { outline: none; border-radius: 6px; cursor: text; }
.sm-edit:hover { background: var(--primary-weak); }
.sm-edit:focus { background: #fff; box-shadow: 0 0 0 2px var(--primary); }
.sm-tablewrap { overflow: auto; min-height: 0; flex: 1; }
.sm-svg { width: 100%; height: auto; display: block; touch-action: pan-y; user-select: none; }
.sm-svg .lk { cursor: pointer; }
.lk.blink { animation: smblink .6s 4; outline: 3px solid #d93a3a; outline-offset: -2px; }
svg .lk.blink { outline: none; stroke: #d93a3a; stroke-width: 3; }

/* 표 공통 */
.sm-table { border-collapse: collapse; margin: 0 auto; font-variant-numeric: tabular-nums; }
.sm-table th, .sm-table td { border: 1px solid #c9d0dc; padding: 6px 12px; text-align: center; height: 34px; white-space: nowrap; }
.sm-table thead th, .sm-table tfoot th, .sm-table tfoot td { background: #2f4a7d; color: #fff; font-weight: 700; }
.sm-table thead th .sm-edit:hover { background: rgba(255,255,255,.2); }
.sm-table thead th .sm-edit:focus { background: #fff; color: var(--text); }
.sm-table tbody tr:nth-child(even) td { background: #f5f7fb; }
.sm-table .ext { background: #fff6e0 !important; color: var(--text); animation: smwipe .35s ease-out; }
.sm-table tfoot .ext { background: #6b5a2a !important; color: #fff; }
.sm-table td.slash { background-image: linear-gradient(to top right, transparent calc(50% - 1px), #fff, transparent calc(50% + 1px)) !important; background-color: #6b5a2a !important; }
@keyframes smwipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sm-table sup { font-size: .62em; line-height: 0; position: relative; top: -.1em; vertical-align: super; }
.sm-data { width: 100%; table-layout: fixed; }
.sm-data thead th { position: sticky; top: 0; z-index: 2; }
.sm-data tfoot th, .sm-data tfoot td { position: sticky; bottom: 0; z-index: 2; }
.sm-data .no { width: 72px; color: var(--muted); background: #eef1f6 !important; }
.sm-data thead .no { color: #fff; background: #2f4a7d !important; }
.sm-data td.sm-cell { cursor: text; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; }
.sm-data td.sm-cell:hover { box-shadow: inset 0 0 0 2px var(--primary-weak); }
.sm-cell-in { width: 100%; height: 30px; border: 2px solid var(--primary); border-radius: 4px; text-align: center; font: inherit; outline: none; padding: 0 2px; min-width: 3em; }
.sm-freq td, .sm-freq th { min-width: 96px; }
.sm-cls { text-align: center; }
.sm-cls .c-lo, .sm-cls .c-hi { display: inline-block; text-align: right; }
.sm-cls .c-t { display: inline-block; width: 1.8em; text-align: center; }
.sm-cls sup { display: inline-block; width: 2.2em; text-align: left; }
.sm-cls sup.ghost { visibility: hidden; }
.sm-fcell, .sm-rcell { cursor: pointer; }
.sm-fcell:hover, .sm-rcell:hover { box-shadow: inset 0 0 0 2px var(--primary-weak); }
.sm-table tr.hl td.sm-cls { background: #ffe27a !important; box-shadow: inset 0 0 0 2px #e0a800; font-weight: 700; }
.sm-table tfoot td.bad { color: #ff8f8f; }
.sm-relh { cursor: help; }
.sm-mini th, .sm-mini td { min-width: 90px; }
.sm-scrollbox { max-height: 50vh; overflow: auto; }

/* 줄기와 잎 그림 */
/* 범례는 그림(표)의 오른쪽 위(p.81): 상자를 표 너비에 맞춰 가운데 두고 그 안에서 오른쪽 정렬 */
.sm-stembox { display: table; margin: 0 auto; min-width: 60%; }
.sm-legend { text-align: right; padding: 0 4px 6px; font-size: .95em; }
.sm-stem { width: 100%; }
.sm-stem th, .sm-stem td { border: 0; border-bottom: 1px solid #c9d0dc; }
.sm-stem thead th { background: #2f4a7d; }
.sm-stem .st { width: 84px; border-left: 2px solid #2f4a7d; border-right: 2px solid #2f4a7d; font-weight: 700; }
.sm-stem thead .st { border-color: #fff; }
.sm-stem tbody td { background: #fff !important; }
/* 잎 칸: 가운데 정렬(검수 2차). 잎 묶음(.lvs, 가장 긴 줄 너비)을 칸 가운데에 두고 그 안에서는 줄기 쪽부터 채워 잎끼리 세로줄을 맞춘다(p.30, p.78).
   줄마다 따로 가운데로 모으려면 .lvs의 min-width를 0으로 하면 된다. */
.sm-stem td.lf, .sm-stem td.lfL { text-align: center; min-width: 160px; cursor: text; }
.sm-stem .lvs { display: inline-block; text-align: left; white-space: nowrap; vertical-align: middle; }
.sm-stem td.lfL .lvs { direction: rtl; text-align: right; }
.sm-stem td.lfL .leaf { direction: ltr; }
.sm-stem .leaf { display: inline-block; min-width: 1.5em; text-align: center; border-radius: 50%; padding: 1px 0; }
.sm-stem .leaf.hit { background: #ffd84a; box-shadow: 0 0 0 2px #d93a3a; font-weight: 700; }
.sm-stem .pos { color: #d93a3a; font-weight: 900; display: inline-block; width: .9em; text-align: center; transform: translateY(-.5em); }
.sm-stem .neg { margin-right: .18em; }
.sm-stem .mk { font-size: .8em; margin-left: 2px; }
.sm-stem .sm-cell-in { text-align: left; min-width: 180px; direction: ltr; }

/* 팝업 폼 */
.ez-dim.sm-dim-hide { display: none; }
.sm-form { display: flex; flex-direction: column; gap: 10px; min-width: min(300px, 76vw); }
.sm-row { display: flex; align-items: center; gap: 10px; }
.sm-row > label:first-child { flex: 0 0 8.5em; font-weight: 600; white-space: nowrap; }
.sm-row input[type=text], .sm-row select { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; background: #fff; }
.sm-range { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.sm-range input { width: 0; }
.sm-opts { display: flex; flex-direction: column; gap: 8px; }
.sm-opts label, .sm-chk { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sm-opts input, .sm-chk input { width: 18px; height: 18px; }
.sm-dash { border: 0; border-top: 2px dashed var(--line); margin: 4px 0; width: 100%; }
.sm-info { border: 1px solid var(--muted); border-radius: 6px; padding: 10px 12px; display: grid; gap: 4px; background: #f7f9fc; }
.sm-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sm-msg p { margin: 0 0 8px; line-height: 1.6; }
.sm-i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--primary); background: #fff; color: var(--primary); font-weight: 800; font-size: 13px; line-height: 1; padding: 0; font-family: Georgia, serif; flex: none; }
.sm-swatches { display: grid; grid-template-columns: repeat(4, 52px); gap: 14px; justify-content: center; padding: 8px; }
.sm-swatches .sw { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.sm-swatches .sw.sel { box-shadow: 0 0 0 3px var(--text); }
/* 불러오기 창(기획안 p.232~238): 탭 · 검색 · 정렬 · 카드형/리스트형 */
.sm-open { width: min(520px, 82vw); display: flex; flex-direction: column; gap: 10px; }
.sm-otabs { display: flex; border-bottom: 2px solid var(--line); }
.sm-otabs button { border: 0; background: none; height: 38px; padding: 0 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.sm-otabs button.on { color: var(--primary); border-bottom-color: var(--primary); }
.sm-otools { display: flex; gap: 6px; align-items: center; }
.sm-osearch { flex: 1; min-width: 0; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; }
.sm-otools select { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 6px; font: inherit; background: #fff; flex: none; }
.sm-oview { display: flex; flex: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sm-oview button { border: 0; background: #fff; width: 36px; height: 34px; padding: 0; display: grid; place-items: center; color: var(--muted); }
.sm-oview button.on { background: var(--primary-weak); color: var(--primary); }
.sm-obody { min-height: 220px; max-height: 52vh; overflow: auto; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sm-obody > * { width: 100%; }
.sm-obody > .ez-btn { width: auto; }
.sm-osoon { margin: 28px 0 4px; text-align: center; font-weight: 700; color: var(--muted); }
.sm-ofolder { font-weight: 700; font-size: 14px; color: var(--muted); padding-top: 2px; }
.sm-ofolder::before { content: "▸ "; }
.sm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sm-card { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; background: #fff; min-width: 0; }
.sm-card:hover, .sm-card:focus-visible { border-color: var(--primary); box-shadow: 0 3px 10px rgba(0,0,0,.14); outline: none; }
.sm-thumb { display: block; height: 64px; background: #f5f7fb; border-radius: 6px; padding: 6px; }
.sm-thumb svg { width: 100%; height: 100%; display: block; }
.sm-card .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-card .dt { font-size: 12px; color: var(--muted); }
.sm-oacts { display: flex; gap: 2px; }
.sm-oacts button { border: 0; background: none; width: 28px; height: 28px; border-radius: 6px; padding: 0; display: grid; place-items: center; color: var(--muted); }
.sm-oacts button:hover { background: var(--bg); color: var(--primary); }
.sm-oacts .sm-ic svg { width: 17px; height: 17px; }
.sm-olist { display: flex; flex-direction: column; gap: 6px; }
.sm-olist .sm-card { flex-direction: row; align-items: center; gap: 10px; padding: 4px 8px; }
.sm-olist .sm-card .nm { flex: 1; min-width: 0; }

/* 관찰 */
/* 관찰 영역은 가로 폭 전체를 써서 높이를 최소로(검수 2차): 관찰 도구 한 줄 + 통곗값 버튼을 가로로 이어 놓은 줄(넘치면 줄바꿈).
   그래도 길어지면(좁은 화면, 풀이가 여러 개 펼쳐진 경우) 영역 안에서만 세로 스크롤해 그래프를 과하게 가리지 않는다. */
.sm-sub.obs { padding-top: 6px; padding-bottom: 6px; }
.sm-obs { flex: 1; min-width: 0; max-height: 38vh; overflow-y: auto; }
.sm-obs .ez-btn { height: 32px; padding: 0 10px; }
.sm-obs-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.sm-obs-t { font-weight: 800; color: var(--primary); margin-right: 6px; font-size: 14px; white-space: nowrap; }
.sm-obs-page { display: flex; align-items: center; gap: 2px; }
.sm-obs-body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sm-obs-cols > .sm-obs-t { display: inline-flex; align-items: center; gap: 8px; }
.sm-obs-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; flex: 1 1 auto; min-width: 0; }
.sm-obs-col { display: contents; }
.sm-obs-div { width: 2px; height: 24px; background: rgba(31,38,51,.35); flex: none; margin: 0 4px; }
.sm-stat { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; flex-wrap: wrap; max-width: 100%; }
.sm-stat .ez-btn { min-width: 4.2em; }
.sm-stat .ez-btn.marks { border-style: solid; border-color: var(--primary); }
.sm-stat .val { font-family: var(--math); font-size: 1.05em; word-break: break-all; margin-right: 6px; }
.sm-pg { border: 0; background: none; font-size: 20px; width: 28px; height: 32px; border-radius: 8px; color: var(--muted); flex: none; padding: 0; }
.sm-pg:hover { background: var(--bg); }
.sm-dots { display: inline-flex; gap: 5px; align-items: center; }
.sm-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.sm-dots i.on { background: var(--primary); }

/* 키패드 */
.sm-keypad { flex: none; background: #e9edf4; border-top: 1px solid var(--line); padding: 6px 8px 10px; }
.kp-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.kp-tabs button { border: 0; background: none; height: 30px; padding: 0 14px; border-radius: 8px 8px 0 0; }
.kp-tabs button.on { background: #fff; font-weight: 700; }
.kp-tabs .kp-close { margin-left: auto; font-size: 20px; }
.kp-body { display: flex; gap: 8px; align-items: stretch; justify-content: center; }
.kp-left { flex: 1 1 200px; max-width: 320px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kp-logo { flex: 1; display: grid; place-items: center; color: #c3cbd9; font-weight: 800; }
.kp-screen { flex: 1; background: #fff; border-radius: 8px; padding: 6px 8px; overflow: auto; max-height: 150px; min-height: 80px; font-family: var(--math); }
.kp-line { display: flex; justify-content: space-between; gap: 8px; }
.kp-line b { color: var(--primary); }
.kp-line.cur { border-top: 1px dashed var(--line); min-height: 1.4em; }
.kp-keys { display: grid; grid-template-columns: repeat(4, minmax(48px, 64px)); gap: 5px; }
.kp-right { display: grid; grid-template-columns: repeat(2, minmax(44px, 60px)); gap: 5px; align-content: start; }
.kp-keys button, .kp-right button { height: 40px; border: 0; border-radius: 8px; background: #fff; font-size: 17px; box-shadow: 0 1px 0 rgba(0,0,0,.15); padding: 0; }
.kp-keys button.f, .kp-right button.f { background: #d5dbe6; }
.kp-right button:first-child { grid-column: span 2; font-size: 14px; }
.kp-right button.enter { grid-column: span 2; background: var(--primary); color: #fff; }
.kp-line { cursor: pointer; border-radius: 4px; padding: 0 2px; }
.kp-line.edit { box-shadow: inset 0 0 0 2px var(--primary); background: var(--primary-weak); min-height: 1.4em; }
/* 한글·영어 탭 자판(기획안 p.231~232): 숫자 줄은 분홍, 글자 줄은 노랑, Shift·Backspace는 회색, 엔터는 강조색 */
.kp-text { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 5px; }
.kp-row { display: flex; justify-content: center; gap: 4px; min-width: 0; }
.kp-row3 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; }
.kp-text button { height: 38px; border: 1.5px solid #3a4152; border-radius: 7px; font-size: 17px; padding: 0; }
.kp-text .k { flex: 1 1 0; min-width: 0; max-width: 46px; width: 46px; background: #fff3c4; }
.kp-text .k.num { background: #ffd3c4; }
.kp-text .k.space { max-width: 190px; width: 190px; flex: 4 1 0; }
.kp-text .f { background: #d5dbe6; border-color: #aab2c2; }
.kp-text .bs { justify-self: end; width: 56px; }
.kp-text .shift { justify-self: start; width: min(110px, 100%); }
.kp-text .shift.on { background: #3a4152; color: #fff; }
.kp-text .enter { justify-self: end; width: min(110px, 100%); background: var(--primary); border-color: var(--primary); color: #fff; }

.sm-offscreen { position: fixed; left: -10000px; top: 0; width: 760px; }

/* 발표 모드: 크고 진하게 */
.sm-present .sm-frame { font-size: 1.3em; font-weight: 700; border-width: 2px; }
.sm-present .sm-table th, .sm-present .sm-table td { border-color: #5a6375; border-width: 2px; height: 44px; }
.sm-present .sm-svg text { font-size: 17px; font-weight: 700; }
.sm-present .sm-svg line, .sm-present .sm-svg polyline, .sm-present .sm-svg rect[stroke], .sm-present .sm-svg circle[stroke], .sm-present .sm-svg path { stroke-width: 3px; }

@media (max-width: 560px) {
  .sm-sbtn { padding: 3px 5px; font-size: 12px; height: 50px; min-width: 48px; }
  .sm-otabs button { padding: 0 10px; }
  .kp-text button { font-size: 15px; }
  .kp-text .bs { width: 44px; }
  .sm-title { padding: 6px 8px 8px; margin-top: 34px; }
  .sm-frame { padding: 8px 8px 10px; }
  .sm-table th, .sm-table td { padding: 5px 6px; }
  .sm-freq td, .sm-freq th { min-width: 64px; }
  .sm-wins { padding: 8px 8px 56px; }
  .sm-obs { max-height: 34vh; }
  .sm-obs .ez-btn { height: 30px; padding: 0 7px; font-size: 13px; }
  .sm-stat .ez-btn { min-width: 0; }
  .sm-obs-t { font-size: 13px; margin-right: 2px; }
  .sm-obs-div { margin: 0 1px; }
  .sm-sbtn.has-st { min-width: 62px; }
  .sm-row > label:first-child { flex-basis: 6.5em; }
}
