@font-face { font-family: Montserrat; src: url(/assets/Montserrat-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url(/assets/Montserrat-500.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #f4f4f4; color: #1f2023; font: 13px/1.45 Montserrat, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.screen { width: 100%; max-width: 430px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: #fff; display: flex; flex-direction: column; }
@media (min-width: 431px) { .screen { box-shadow: 0 0 0 1px #e3e3e3; } }
.hd { padding: calc(14px + env(safe-area-inset-top)) 14px 11px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; }
.hd img.logo { height: 18px; }
.hd .r { font-size: 11px; color: #777; }
.bd { padding: 14px; flex: 1; }
h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
h3 { font-size: 11px; font-weight: 700; color: #58595B; margin: 14px 0 6px; letter-spacing: .02em; }
.hint { color: #777; font-size: 11px; }
.btn, .btn2 { display: block; width: 100%; text-align: center; border-radius: 10px; padding: 10px; font-weight: 600; border: 0; cursor: pointer; }
.btn { background: #58595B; color: #fff; }
.btn2 { color: #58595B; border: 1px solid #cfcfcf; background: #fff; margin-top: 8px; }
.btn:disabled { opacity: .6; }
.card { border: 1px solid #e3e3e3; border-radius: 10px; padding: 10px; margin-top: 8px; background: #fff; }
.fld, .field { width: 100%; border: 1px solid #cfcfcf; border-radius: 8px; padding: 9px 10px; margin: 4px 0 10px; font-size: 12.5px; background: #fff; }
.flab { font-size: 11px; font-weight: 600; color: #58595B; margin-top: 8px; }
.badge { display: inline-block; min-width: 18px; height: 18px; border-radius: 9px; background: #F58220; color: #111; font-size: 10px; font-weight: 700; text-align: center; line-height: 18px; padding: 0 5px; }
.ok { color: #256b3a; font-size: 11px; font-weight: 600; }
.pend { color: #58595B; font-size: 11px; font-weight: 600; }
.bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin: 6px 0 2px; }
.bar i { display: block; height: 100%; background: #58595B; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #cfcfcf; border-radius: 8px; padding: 6px 8px; font-size: 11px; font-weight: 600; color: #58595B; background: #fff; cursor: pointer; }
.tabs { display: flex; border-top: 1px solid #eee; padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); background: #fff; }
.tabs button { flex: 1; text-align: center; font-size: 10px; color: #888; font-weight: 500; background: none; border: 0; position: relative; cursor: pointer; padding: 2px 0 0; }
.tabs button.on { color: #F58220; font-weight: 700; }
.tabs svg { display: block; margin: 0 auto 2px; width: 20px; height: 20px; }
.tabs .badge { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 15px; height: 15px; line-height: 15px; font-size: 9px; }
.sw { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.ic { width: 14px; height: 14px; vertical-align: -2px; }
.doc { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #f0f0f0; font-size: 12px; gap: 8px; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
.chip { display: inline-block; border: 1px solid #d6d6d6; border-radius: 12px; padding: 3px 8px; font-size: 10px; margin: 0 4px 4px 0; color: #58595B; background: #fff; cursor: pointer; }
.chip.on { border-color: #58595B; background: #58595B; color: #fff; }
.yr { font-size: 12px; font-weight: 700; margin: 10px 0 0; }
.ty { font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 12px; }
.kv span:first-child { color: #777; }
.kv span:last-child { text-align: right; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #F58220; margin-right: 5px; }
.dot.g { background: #c9c9c9; }
.note { background: #f6f6f6; border-radius: 8px; padding: 8px 10px; font-size: 11px; color: #666; margin-top: 10px; }
.err { background: #fbf4ef; color: #6b3a16; border-radius: 8px; padding: 8px 10px; font-size: 12px; margin: 8px 0; }
.page { background: #fafafa; border: 1px solid #e3e3e3; padding: 14px; font-size: 12px; color: #444; line-height: 1.6; margin-top: 10px; white-space: pre-wrap; }
.mark { width: 48px; height: 48px; border-radius: 11px; margin: 4px 0 10px; }
.menu { border: 1px solid #e3e3e3; border-radius: 10px; margin-top: 8px; overflow: hidden; }
.menu button { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #f0f0f0; padding: 10px; cursor: pointer; }
.menu button small { display: block; color: #777; font-size: 10px; font-weight: 500; }
.linkish { background: none; border: 0; padding: 0; color: #58595B; font-weight: 600; cursor: pointer; }
.back { font-weight: 600; font-size: 12px; color: #58595B; background: none; border: 0; padding: 0; cursor: pointer; }
.ft { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; }
