* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: #20272d; background: #e4e7e9; font: 16px/1.45 Roboto, "Noto Sans SC", "Droid Sans", sans-serif; }
.topbar { height: 52px; border-top: 3px solid #f6c445; background: #263038; color: white; display: flex; align-items: center; padding: 0 14px; }
.topbar strong { font-size: 17px; flex: 1; }
.header-button { color: #fff; border: 0; background: transparent; min-height: 44px; padding: 6px 0 6px 12px; font-size: 14px; }
#back { padding: 6px 14px 6px 0; color: #f6c445; }
.connection { font-size: 12px; color: #b9c2c8; }
main { max-width: 560px; margin: 0 auto; }
h1, h2, p { margin: 0; } h1 { font-size: 22px; line-height: 1.25; } h2 { font-size: 18px; }
button, input { font: inherit; border: 1px solid #9aa5ad; border-radius: 3px; min-height: 52px; }
button { cursor: pointer; padding: 10px 16px; color: #20272d; background: white; }
button:disabled { cursor: default; background: #c9ced2; color: #66717a; border-color: #c9ced2; }
button:focus { outline: 2px solid #b37b00; outline-offset: 2px; }
input { width: 100%; padding: 12px; background: white; color: #20272d; }
input:focus { outline: 2px solid #b37b00; outline-offset: 1px; }
.primary { background: #f6c445; border-color: #f6c445; color: #20272d; font-weight: 700; }
.section-label { font-size: 12px; color: #59666f; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.auth-form { padding: 28px 20px; }.auth-form h1 { margin: 8px 0 24px; }
.auth-form label { display: block; margin: 16px 0; }.auth-form input { display: block; margin-top: 6px; }.auth-form button { width: 100%; }
.scan-page { padding: 26px 18px 16px; }
.scan-heading { display: flex; align-items: center; margin-bottom: 24px; }
.step-number { display: inline-block; flex-shrink: 0; font-size: 12px; font-weight: 700; color: #59666f; border: 1px solid #9aa5ad; padding: 3px 5px; margin-right: 12px; }
.scan-heading p { margin-top: 6px; font-size: 13px; color: #59666f; }
.scan-target { position: relative; padding: 30px 12px 24px; background: #263038; color: #dce2e6; text-align: center; border: 1px solid #263038; }
.corner { position: absolute; width: 19px; height: 19px; border-color: #f6c445; border-style: solid; }
.top-left { top: -1px; left: -1px; border-width: 3px 0 0 3px; }.top-right { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }.bottom-right { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }
.barcode-icon { display: block; margin: 0 auto 16px; color: #aeb9c1; }
#code { display: block; background: #263038; border: 0; border-bottom: 1px solid #65747e; border-radius: 0; color: white; text-align: center; font-size: 21px; font-weight: 700; padding: 10px 2px; }
#code::placeholder { color: #fff; opacity: 1; }#code:focus { outline: none; border-bottom-color: #f6c445; }
#scan-hint { display: block; margin-top: 12px; color: #b9c2c8; font-size: 12px; }
.text-button { display: block; background: transparent; border: 0; color: #43515b; min-height: 48px; margin: 6px auto 0; font-size: 14px; text-decoration: underline; }
.terminal-status { display: flex; align-items: center; border-top: 1px solid #bcc4ca; margin-top: 20px; padding-top: 12px; font-size: 11px; color: #59666f; }
.ready-dot { width: 6px; height: 6px; background: #23764b; margin-right: 6px; }#operator { margin-left: auto; max-width: 46%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#message, #scan-notice, #detail-notice { padding: 12px; border-left: 3px solid #59666f; background: #fff; overflow-wrap: break-word; font-size: 14px; }
#message { margin: 12px 18px; }#scan-notice { margin-top: 8px; }#detail-notice { margin: 12px; }
.error { border-left-color: #b42318 !important; color: #942117; }.success { border-left-color: #23764b !important; color: #185a37; }
.detail-page { padding-bottom: 112px; background: #fff; min-height: calc(100vh - 52px); }
.detail-heading { display: flex; align-items: center; padding: 16px 14px; border-bottom: 1px solid #cbd1d5; background: #e4e7e9; }.detail-heading h1 { flex: 1; font-size: 17px; }.detail-heading .step-number { margin-right: 8px; }
#order-state { font-size: 11px; padding: 3px 5px; border: 1px solid #9aa5ad; white-space: nowrap; }
.waybill { padding: 14px; border-bottom: 2px solid #263038; }.waybill strong { display: block; font-size: 25px; line-height: 1.3; margin: 3px 0; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }#carrier { font-size: 12px; color: #59666f; }
.recipient-section { padding: 14px; border-bottom: 1px solid #cbd1d5; }#address { font-size: 14px; margin-top: 6px; overflow-wrap: break-word; }#recipient { overflow-wrap: break-word; }
dl { margin: 12px 0 0; font-size: 12px; }dl > div { display: flex; margin-top: 5px; }dt { color: #59666f; width: 56px; flex-shrink: 0; }dd { margin: 0; overflow-wrap: break-word; min-width: 0; }
.items-section { padding: 14px; }.items-heading { display: flex; align-items: center; justify-content: space-between; }.items-heading h2 { font-size: 15px; }#item-total { font-size: 12px; color: #59666f; }
ul { list-style: none; padding: 0; margin: 8px 0 0; }li { display: flex; align-items: center; border-top: 1px solid #cbd1d5; padding: 12px 0; }li > div { flex: 1; min-width: 0; }li strong { font-size: 15px; overflow-wrap: break-word; display: block; }li small { display: block; font-size: 11px; color: #59666f; overflow-wrap: break-word; }li b { margin-left: 12px; font-size: 22px; flex-shrink: 0; }
footer { position: fixed; bottom: 0; left: 0; right: 0; background: #263038; padding: 8px 12px 12px; border-top: 1px solid #263038; }footer > span { display: block; color: #dce2e6; text-align: center; font-size: 11px; margin-bottom: 7px; }footer button { display: block; width: 100%; max-width: 536px; margin: auto; min-height: 54px; font-size: 20px; }
@media (max-height: 440px) { .scan-page { padding-top: 16px; }.scan-heading { margin-bottom: 16px; }.scan-target { padding-top: 20px; padding-bottom: 16px; }.terminal-status { margin-top: 8px; } }
