:root{--ink:#162b3d;--muted:#6b7d88;--teal:#117b70;--teal-dark:#086157;--teal-light:#eaf7f3;--line:#e2e9ed;--paper:#fff;--surface:#f4f7fa;--navy:#152d40;--danger:#b73d37;--warning:#9a6818;--shadow:0 4px 20px #16344c06;font-family:"Segoe UI","Yu Gothic UI","Meiryo",sans-serif;color:var(--ink);font-size:16px;line-height:1.65;font-weight:400}*{box-sizing:border-box}body{margin:0;background:var(--surface)}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:.025em;line-height:1.5;margin-bottom:.45rem;font-weight:750}h2{font-size:1.2rem;line-height:1.5;letter-spacing:.015em;margin-bottom:0;font-weight:700}h3{font-size:1.05rem;line-height:1.6;margin-bottom:.35rem}p{margin-bottom:1rem}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #59b8ad;outline-offset:3px}input,select{width:100%;background:white;color:var(--ink);border:1px solid #cbd7de;border-radius:9px;min-height:46px;padding:.65rem .85rem;line-height:1.5;transition:border .15s,box-shadow .15s}input:focus,select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #117b7014}input::placeholder{color:#97a4ae}input[aria-invalid=true]{border-color:#c7655f}label{display:block;font-size:.875rem;font-weight:650;margin-bottom:.45rem}label:not(:first-child){margin-top:1rem}select{appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='none' stroke='%23647786' stroke-width='1.7' d='m2 2 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#fff;padding:34px 24px 22px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;white-space:nowrap;font-size:1rem;font-weight:750;letter-spacing:.025em}.brand-mark{width:38px;height:42px;border-radius:11px;background:var(--teal);display:inline-flex;align-items:center;justify-content:center;color:white;font-size:27px;line-height:1;position:relative;font-weight:800;flex-shrink:0}.brand-mark>span{position:absolute;color:#bbf3db;font-size:20px;right:1px;bottom:0}.brand small{display:block;font-size:.59rem;letter-spacing:.2em;font-weight:500;margin-top:3px;color:#8ba9bb}.side-navigation{margin:48px -10px 0}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:8px;font-size:.875rem}.nav-item>span{font-size:1.35rem;line-height:1}.nav-item.active{background:#264659;color:#def8ee}.side-note{margin:72px 5px 0;color:#a5bac6}.side-note .eyebrow{font-size:.58rem;letter-spacing:.12em;color:#82acae}.side-note>p{font-size:1.3rem;font-weight:500;line-height:1.9;letter-spacing:.04em;margin:16px 0}.side-rule{display:block;width:27px;height:2px;background:#3e7c80;margin:25px 0}.side-note p.small{font-size:.75rem;color:#8ba4b4;line-height:1.9}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:6px;font-size:.69rem;color:#9bb3c1;flex-wrap:wrap;padding-top:42px}.sidebar-bottom small{margin-left:auto;font-size:.65rem}.local-indicator{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6dd2ae}.workspace{margin-left:238px;width:calc(100% - 238px)}.topbar{min-height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px 42px;background:#fff}.breadcrumb{font-size:.8rem;color:#80919c}.breadcrumb>span{margin:0 12px;color:#c4d0d6}.topbar-actions{display:flex;gap:18px;align-items:center}.environment-label{background:#f1f6f8;border:1px solid #e2ebef;border-radius:5px;color:#687e8a;font-size:.72rem;padding:4px 9px}.text-button{border:0;background:none;color:var(--teal);font-size:.85rem;font-weight:650;padding:7px 0}.text-button:hover{text-decoration:underline}#main-content{max-width:1530px;margin:auto;padding:38px 42px 20px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.eyebrow{display:block;color:var(--teal);font-size:.72rem;font-weight:700;letter-spacing:.11em;margin-bottom:9px}.page-heading p{color:var(--muted);font-size:.875rem;margin-bottom:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border:1px solid transparent;border-radius:9px;padding:.65rem 1.2rem;font-size:.875rem;font-weight:650;text-decoration:none;line-height:1.5;transition:background .15s,border .15s;white-space:nowrap}.button.primary{background:var(--teal);color:#fff;box-shadow:0 3px 7px #0b5a5310}.button.primary:hover{background:var(--teal-dark)}.button.secondary{background:#fff;color:var(--ink);border-color:#d5e0e6}.button.secondary:hover{background:#f5f9fa;border-color:#a5bdc6}.button-plus{font-size:1.2rem;font-weight:400;line-height:1}.full-width{width:100%}.verification-notice{display:flex;align-items:center;gap:11px;background:#edf5f9;border:1px solid #dce9f0;border-radius:8px;padding:11px 16px;margin-bottom:24px;color:#567486}.verification-notice p{font-size:.75rem;margin:0;line-height:1.65}.verification-notice strong{font-weight:650}.notice-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-size:12px;font-weight:700;flex-shrink:0}.overview-grid{display:grid;grid-template-columns:1fr 1.5fr .8fr;gap:18px;margin-bottom:24px}.overview-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:20px 23px;box-shadow:var(--shadow);position:relative}.metric-label{display:block;color:var(--muted);font-size:.75rem;margin-bottom:8px}.overview-card>strong{display:block;font-size:1.1rem;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.metric-sub{display:block;font-size:.68rem;color:#8c9ca5;margin-top:5px}.count-summary>strong{font-size:1.55rem;line-height:1.15;margin:10px 0 7px}.count-summary small{font-size:.75rem;color:var(--muted);font-weight:500;margin-left:8px}.work-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;margin-bottom:24px}.card{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.record-panel{padding:25px 27px}.card-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.section-label{display:block;font-size:.7rem;letter-spacing:.07em;color:var(--muted);font-weight:600;margin-bottom:5px}.step-tag{font-size:.6rem;letter-spacing:.11em;color:#9aadb7;border:1px solid var(--line);border-radius:5px;padding:4px 8px;flex-shrink:0}.device-select-row{display:flex;gap:12px;align-items:flex-end}.field-grow{flex:1;min-width:0}.device-select-row .button{flex-shrink:0}.hint{color:#8a9aa4;font-size:.72rem;line-height:1.7;margin-top:8px;margin-bottom:0;display:block}.current-receipt{margin-top:25px;border-top:1px solid var(--line);padding-top:25px;min-height:220px}.empty-current{text-align:center;padding-top:32px}.empty-symbol{width:47px;height:47px;display:flex;justify-content:center;align-items:center;margin:0 auto 10px;background:#f0f5f7;color:#9ab2be;border-radius:13px;font-size:26px}.empty-current h3{font-size:.9rem;color:#5d7684;font-weight:600}.empty-current p{font-size:.75rem;color:#91a2ac;margin-bottom:9px}.receipt-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.receipt-id-label{font-size:.69rem;color:var(--muted);display:block;margin-bottom:3px}.receipt-number{font-family:Consolas,"Yu Gothic UI",monospace;font-size:.8rem;word-break:break-all;color:#506675}.receipt-destination{font-size:.75rem;color:var(--muted);margin-bottom:15px}.receipt-destination strong{font-weight:600;color:#526c7b}.receipt-message{border-radius:8px;background:#f3f8fa;padding:13px 15px;font-size:.8rem;color:#496676;line-height:1.75}.receipt-message.recorded{background:var(--teal-light);color:#276c5c}.receipt-message.needs_review{background:#fff6ed;color:#9a651e}.receipt-message p{margin:0}.receipt-message strong{display:block;margin-bottom:2px}.receipt-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px;font-size:.75rem}.receipt-detail-grid span{display:block;color:var(--muted);font-size:.68rem}.receipt-detail-grid strong{font-weight:600}.receipt-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.receipt-actions .button{min-height:36px;padding:.45rem .8rem;font-size:.75rem}.guide-panel{padding:25px 25px 20px;background:linear-gradient(160deg,#fff 45%,#f6fbf9)}.guide-panel h2{font-size:1.1rem;margin-bottom:22px}.guide-steps{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:21px}.guide-steps>li{display:flex;gap:13px;position:relative}.guide-steps>li:not(:last-child):after{content:"";width:1px;background:#dce9e6;position:absolute;left:13px;top:33px;bottom:-16px}.guide-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;background:#edf7f3;border:1px solid #d8ede4;border-radius:50%;font-size:.75rem;color:var(--teal);font-weight:600}.guide-steps strong{display:block;font-size:.8rem;font-weight:650;margin-top:1px}.guide-steps p{font-size:.72rem;color:#8a9aa3;margin:4px 0 0;line-height:1.8}.subtle-link{font-size:.75rem;font-weight:600;text-decoration:none}.subtle-link:hover{text-decoration:underline}.guide-panel>.subtle-link{display:block;margin:23px 0 0;padding-top:17px;border-top:1px solid #e4eeea}.subtle-link>span{font-size:.9rem;margin-left:5px}.history-panel{overflow:hidden;margin-bottom:22px}.history-heading{padding:23px 27px 19px;margin-bottom:0}.history-update{display:flex;align-items:center;gap:7px;font-size:.68rem;color:#8a9da8}.update-dot{width:5px;height:5px;background:#40aa8c;border-radius:50%}.icon-button{border:0;background:transparent;color:#8095a3;padding:2px 6px;font-size:1.35rem;line-height:1;min-height:32px;min-width:32px;border-radius:5px}.icon-button:hover{color:var(--teal);background:#eff6f5}.table-scroller{overflow:auto;width:100%}table{border-collapse:collapse;text-align:left;width:100%;font-size:.75rem;white-space:nowrap}th{font-size:.68rem;color:#8799a5;background:#f8fafb;font-weight:500;padding:12px 20px;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}td{padding:17px 20px;border-bottom:1px solid #eef2f4;vertical-align:middle}th:first-child,td:first-child{padding-left:27px}th:last-child,td:last-child{padding-right:27px}.history-table td:first-child{min-width:220px}.history-table .receipt-number{font-size:.69rem;display:block;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-device{display:block;font-size:.68rem;color:#9aabb5;margin-top:3px}.code-mask{font-family:Consolas,monospace;color:#6e8491;letter-spacing:.03em}.amount-text{font-weight:650}.amount-text small{font-weight:400;font-size:.67rem;color:#8a9ca8;margin-left:3px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 8px;font-size:.66rem;font-weight:600;white-space:nowrap}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.waiting{background:#eef3f8;color:#6c8196}.status.pending{background:#fff6e7;color:#ae7a26}.status.recorded{background:#eaf7f0;color:#2e8d67}.status.needs_review{background:#fff0ec;color:#be684e}.status.held{background:#f2f0f7;color:#89749d}.reflection-info{font-size:.71rem;color:#748b98}.reflection-info small{display:block;font-size:.63rem;color:#a1b0b9;margin-top:3px}.row-action{background:transparent;border:1px solid #dce6eb;border-radius:5px;padding:4px 9px;font-size:.69rem;color:#567685}.row-action:hover{border-color:var(--teal);color:var(--teal)}.table-empty{padding:34px;text-align:center;color:#9aabb6;font-size:.8rem}.history-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 27px;font-size:.65rem;color:#9aabb6}.testing-panel{overflow:hidden}.testing-panel summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;font-size:.8rem;font-weight:600;padding:17px 23px}.testing-panel summary::-webkit-details-marker{display:none}.testing-panel summary:after{content:"＋";color:#8fa0ab;font-size:1.1rem;margin-left:auto;font-weight:400}.testing-panel[open] summary:after{content:"−"}.testing-panel summary>span:first-child{display:flex;gap:10px;align-items:center}.testing-symbol{color:#7994a4;font-size:1.15rem}.testing-content{border-top:1px solid var(--line);padding:20px 23px}.testing-content>.muted{font-size:.75rem;margin-bottom:16px}.testing-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.testing-actions .button{font-size:.75rem;min-height:42px}.failure-field{max-width:300px;margin-left:auto}.failure-field label{font-size:.7rem;margin:0 0 4px}.failure-field select{font-size:.75rem;min-height:42px;padding:.55rem 2.4rem .55rem .8rem}.testing-panel .small{font-weight:400;font-size:.65rem}.inline-feedback{font-size:.75rem;color:var(--teal);margin-top:8px}.page-footer{display:flex;justify-content:space-between;margin-top:30px;color:#9babb7;font-size:.65rem}.page-footer>span:first-child{font-weight:600}.connection-message{font-size:.75rem;color:var(--warning);margin-top:14px;min-height:0}.connection-message:empty{display:none}.muted{color:var(--muted);font-size:.875rem}.small{font-size:.8rem}.login-wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;max-width:950px;margin:75px auto 50px;align-items:center}.login-intro h1{font-size:2.3rem;line-height:1.65;margin:10px 0 20px}.login-intro p{font-size:.875rem;color:var(--muted);line-height:1.9}.login-flow{display:flex;align-items:center;gap:8px;font-size:.68rem;color:#77939e;margin-top:28px}.login-flow>span:not([aria-hidden]){background:#e8f1f4;padding:6px 9px;border-radius:5px}.login-card{padding:31px 30px}.login-card h2{font-size:1.5rem;margin-bottom:10px}.login-card .muted{font-size:.8rem;margin-bottom:22px}.login-card .button{margin-top:14px}.login-notice{text-align:center;font-size:.65rem;margin-top:17px}.form-error{color:var(--danger);font-size:.8rem;line-height:1.7;min-height:0;margin-top:10px}.form-error:empty{display:none}.field-error{font-size:.72rem;color:var(--danger);margin-top:5px}.field-error:empty{display:none}dialog{border:1px solid #dce6eb;border-radius:16px;box-shadow:0 20px 90px #132c4040;color:var(--ink);max-height:calc(100vh - 64px);overflow:auto;padding:28px 30px;width:500px;max-width:calc(100vw - 32px)}dialog::backdrop{background:#102b4166;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-header h2{font-size:1.3rem}.dialog-header .close-dialog{align-self:flex-start}.destination-note{padding:13px 14px;background:#f4f8fa;border-radius:7px;margin:20px 0;display:flex;flex-direction:column;font-size:.8rem;gap:4px;overflow-wrap:anywhere}.destination-note>span{font-size:.7rem;color:var(--muted)}.pairing-display{display:flex;gap:22px;align-items:center;justify-content:center;margin:22px 0}.pairing-display img{width:170px;height:170px;image-rendering:pixelated;flex-shrink:0}.pairing-code{display:block;font-size:1.8rem;font-family:Consolas,monospace;letter-spacing:.08em;color:var(--teal);margin-bottom:6px;word-break:break-all}.pairing-display .hint{font-size:.65rem}.pairing-wait{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.75rem;color:var(--muted);padding:17px 0 6px}.waiting-dot{width:6px;height:6px;background:#be9a4d;border-radius:50%;box-shadow:0 0 0 4px #fff4df}.pairing-wait.success{color:var(--teal)}.pairing-wait.success .waiting-dot{background:var(--teal);box-shadow:0 0 0 4px #eaf7ef}.sheet-dialog{width:1100px}.sheet-table th,.sheet-table td{padding:12px 15px;font-size:.7rem}.sheet-dialog>.hint{margin-top:16px}.toast{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translateX(-50%);max-width:min(550px,calc(100vw - 40px));background:#1f443e;color:white;padding:12px 20px;box-shadow:0 5px 20px #163e3633;border-radius:9px;font-size:.8rem;z-index:10}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0;margin:-1px}.mobile-page{min-height:100vh;background:#f4f8fa}.mobile-header{max-width:570px;margin:auto;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e1e9ed}.mobile-header .brand{font-size:1rem}.mobile-header .brand small{color:#8b9faa}.mobile-header .brand-mark{width:35px;height:38px;font-size:25px}.mobile-environment{color:#7c929e;background:#eaf0f4;padding:3px 9px;font-size:.66rem;border:1px solid #dbe5eb;border-radius:5px;white-space:nowrap}.mobile-main{max-width:570px;margin:auto;padding:22px 25px 30px}.mobile-notice{font-size:.7rem;display:flex;align-items:flex-start;gap:9px;background:#eaf3f7;color:#688697;border:1px solid #dbe8ee;border-radius:7px;padding:10px 12px;margin-bottom:27px;line-height:1.8}.mobile-notice .notice-icon{width:15px;height:15px;font-size:10px;margin-top:3px}.mobile-heading{margin-bottom:23px}.mobile-heading h1{font-size:1.65rem;font-weight:750;margin-bottom:9px;letter-spacing:.015em}.mobile-heading p{font-size:.8rem;color:var(--muted);line-height:1.9;margin-bottom:0}.mobile-heading .eyebrow{margin-bottom:6px}.mobile-card{padding:24px;margin:20px 0}.mobile-card input,.mobile-card select{min-height:50px;font-size:1rem}.mobile-card .hint{font-size:.7rem}.mobile-card label{font-size:.8rem}.mobile-card .button{min-height:49px}.mobile-card>p.hint{margin-top:15px}.optional{color:#95a6af;font-size:.68rem;font-weight:400;margin-left:6px}.required{color:#a77b4f;background:#fcf3e7;font-size:.6rem;margin-left:5px;border-radius:3px;padding:2px 5px;font-weight:500}.mobile-identity{display:flex;align-items:center;gap:12px;margin-top:25px}.device-icon{width:36px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:8px;background:#e5f2ee;color:var(--teal);font-size:31px;line-height:1}.mobile-identity strong{display:block;font-size:.85rem;font-weight:650}.mobile-identity>div>span{display:block;font-size:.69rem;color:var(--muted);margin-top:1px}.registered-label{margin-left:auto;color:var(--teal);background:#e6f4ed;font-size:.64rem;border-radius:4px;padding:3px 7px}.mobile-destination{font-size:.7rem;display:flex;gap:12px;margin:16px 0 24px;border-top:1px solid var(--line);padding-top:13px;color:#879ba6}.mobile-destination strong{font-weight:500;color:#5c7989;overflow-wrap:anywhere}.mobile-receipt-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.mobile-receipt-head .section-label{margin:0}.mobile-card .receipt-select{font-family:Consolas,"Yu Gothic UI",monospace;font-size:.7rem;min-height:40px;background-color:#f9fbfc;border-color:#e3ebef;word-break:break-all}.mobile-receipt-meta{font-size:.65rem;color:#94a8b3;margin:8px 0 22px}.point-code-input{font-family:Consolas,"Yu Gothic UI",monospace;letter-spacing:.03em;font-size:.9rem!important}.point-code-input::placeholder{font-family:"Segoe UI","Yu Gothic UI",sans-serif;letter-spacing:0;font-size:.83rem}.field-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}.field-meta .hint{margin-top:5px}.character-count{font-size:.65rem;color:#8d9faa;margin-top:5px}.character-count.invalid{color:var(--danger)}.amount-field{position:relative}.amount-field>input{padding-right:72px}.amount-field>span{position:absolute;right:14px;top:14px;color:#8a9fa9;font-size:.8rem;pointer-events:none}.confirmation-check{display:flex;gap:11px;align-items:flex-start;padding:14px 12px;background:#f3f8f6;border:1px solid #e5eee9;border-radius:8px;cursor:pointer;margin:22px 0!important;font-size:.77rem!important;font-weight:500}.confirmation-check input{width:18px;height:18px;min-height:0;flex-shrink:0;accent-color:var(--teal);margin:2px 0 0;border-radius:3px}.large-button{font-size:.95rem;min-height:52px!important}.hold-button{display:block;margin:13px auto 0;color:#8a9da6;font-size:.74rem;padding:7px 10px}.mobile-existing-status{font-size:.77rem;line-height:1.8;background:#f3f8fa;color:#688593;border-radius:8px;padding:12px 14px;margin-bottom:18px;overflow-wrap:anywhere}.mobile-result{padding:14px 16px;font-size:.82rem;border:1px solid #d8eae2;background:#edf8f1;color:#38785f;border-radius:9px;margin-top:4px;overflow-wrap:anywhere}.mobile-result strong{display:block;margin-bottom:4px}.mobile-result p{margin:0;font-size:.76rem;line-height:1.85}.mobile-result .result-receipt-id{display:block;font-size:.67rem;font-family:Consolas,monospace;margin-top:10px;word-break:break-all;color:#78a28f}.mobile-result.pending{border-color:#e9e3d3;background:#fcf8ec;color:#927a3e}.mobile-result.needs_review{border-color:#ecdccd;background:#fff5eb;color:#a27643}.mobile-help{padding:3px 2px 0}.mobile-help h2{font-size:.8rem;margin-bottom:7px}.mobile-help>p{font-size:.74rem;color:#7f96a3;line-height:1.9;margin-bottom:9px}.mobile-help>p.hint{font-size:.65rem;color:#9caeb7}.mobile-footer{display:flex;flex-direction:column;gap:16px;text-align:center;margin-top:34px;padding-top:20px;border-top:1px solid var(--line)}.mobile-footer a{font-size:.73rem;text-decoration:none}.mobile-footer>span{font-size:.63rem;color:#a2b2bc}#no-receipt-view{text-align:center;padding-top:28px}#no-receipt-view h2{font-size:1rem;margin-bottom:10px}#no-receipt-view .muted{font-size:.8rem}#no-receipt-view .button{margin-top:10px}
@media(min-width:1450px){#main-content{padding-top:43px}.page-heading{margin-bottom:31px}.overview-grid{margin-bottom:28px}.work-grid{margin-bottom:28px}}
@media(max-width:1150px){.sidebar{width:200px;padding-left:20px;padding-right:20px}.sidebar .brand{font-size:.85rem;gap:8px}.sidebar .brand-mark{width:32px;height:36px;font-size:23px}.sidebar .brand small{font-size:.5rem}.workspace{margin-left:200px;width:calc(100% - 200px)}.topbar{padding-left:28px;padding-right:28px}#main-content{padding:30px 28px 20px}.work-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:18px}.record-panel,.guide-panel{padding:22px}.device-select-row{flex-wrap:wrap}.device-select-row .field-grow{flex-basis:100%}.device-select-row .button{width:100%}h1{font-size:1.75rem}.overview-card{padding:18px}.login-wrap{gap:35px}.login-intro h1{font-size:1.9rem}.toast{left:calc(50% + 100px)}.card-header{gap:8px}.record-panel h2{font-size:1.05rem}.step-tag{display:none}.guide-panel h2{font-size:1rem}.guide-steps{gap:16px}}
@media(max-width:940px){.sidebar{width:180px;padding:27px 15px 20px}.sidebar .brand{font-size:.78rem}.brand small{letter-spacing:.12em}.nav-item{font-size:.75rem;gap:8px;padding-left:10px}.side-note{margin-top:60px}.side-note>p{font-size:1.05rem}.side-note .eyebrow{font-size:.48rem}.side-note p.small{font-size:.65rem}.sidebar-bottom{font-size:.6rem}.workspace{margin-left:180px;width:calc(100% - 180px)}.topbar{padding:14px 23px;min-height:62px}.breadcrumb{font-size:.68rem}.topbar-actions{gap:8px}.environment-label{font-size:.6rem}.topbar .text-button{font-size:.72rem}#main-content{padding:28px 23px 20px}.page-heading{align-items:flex-start}.page-heading h1{font-size:1.5rem}.page-heading .button{font-size:.75rem;padding:.65rem .8rem;min-height:42px}.page-heading p{font-size:.75rem}.work-grid{grid-template-columns:1fr}.device-select-row{flex-wrap:nowrap}.device-select-row .field-grow{flex-basis:auto}.device-select-row .button{width:auto}.guide-panel{display:none}.current-receipt{min-height:175px}.overview-grid{gap:12px;grid-template-columns:1fr 1.3fr .65fr}.overview-card{padding:16px 14px}.overview-card>strong{font-size:.9rem}.metric-label{font-size:.66rem}.metric-sub{font-size:.6rem}.count-summary>strong{font-size:1.4rem}.history-heading{padding:19px 22px}.history-footer{padding:12px 22px}.verification-notice{padding:10px 12px}.verification-notice p{font-size:.65rem}.login-wrap{grid-template-columns:1fr;gap:20px;max-width:400px;margin-top:25px}.login-intro h1{font-size:1.8rem;line-height:1.55}.login-intro p{font-size:.8rem}.login-flow{display:none}.login-card{padding:25px}.toast{left:calc(50% + 90px)}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin-left:0;width:100%}.topbar{padding:13px 20px;min-height:58px}.breadcrumb{font-size:.65rem}.breadcrumb>span{margin:0 6px}.topbar-actions{gap:9px}.environment-label{padding:3px 6px;font-size:.57rem}.topbar .text-button{font-size:.65rem}#main-content{padding:24px 18px 20px}.page-heading{gap:12px;margin-bottom:20px}.page-heading h1{font-size:1.35rem;letter-spacing:0}.page-heading .eyebrow{font-size:.63rem}.page-heading p{font-size:.69rem;max-width:250px}.page-heading .button{font-size:.65rem;min-height:38px;padding:.5rem .6rem;margin-top:28px;gap:2px}.page-heading .button-plus{font-size:1rem}.overview-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.overview-card{padding:15px}.overview-card.sheet-summary{grid-column:1 / -1;grid-row:2}.count-summary{grid-column:2;grid-row:1}.count-summary>strong{font-size:1.3rem;margin:5px 0}.metric-sub{font-size:.6rem}.overview-card>strong{font-size:1rem}.count-summary .metric-sub{display:none}.verification-notice{margin-bottom:18px;align-items:flex-start}.verification-notice .notice-icon{margin-top:1px;width:16px;height:16px;font-size:10px}.verification-notice p{font-size:.65rem}.record-panel{padding:21px 18px}.device-select-row{flex-wrap:wrap}.device-select-row .field-grow{flex-basis:100%}.device-select-row .button{width:100%}.card-header{margin-bottom:20px}.current-receipt{margin-top:20px;padding-top:20px}.empty-current{padding-top:26px}.receipt-topline{flex-wrap:wrap;align-items:flex-start}.receipt-number{font-size:.7rem}.receipt-message{font-size:.75rem;padding:12px}.receipt-detail-grid{font-size:.72rem}.history-heading{align-items:flex-start;padding:18px}.history-heading h2{font-size:1.1rem}.history-update{font-size:.57rem;gap:4px;margin-top:15px}.history-update .icon-button{font-size:1.1rem;min-width:23px;padding:2px}.history-footer{padding:11px 18px;font-size:.57rem;align-items:flex-start}.history-footer>span:first-child{max-width:240px}.testing-panel summary{font-size:.72rem;padding:15px 17px}.testing-panel summary .small{display:none}.testing-content{padding:17px}.testing-actions .button{flex:1;font-size:.68rem;padding:.6rem .7rem}.failure-field{max-width:none;width:100%;margin-top:4px}.failure-field select{font-size:.75rem}.page-footer{font-size:.55rem;gap:10px;margin-top:24px}.toast{left:50%;bottom:20px;font-size:.75rem}.login-wrap{margin-top:15px}.login-intro h1{font-size:1.85rem}.login-intro .eyebrow{font-size:.65rem}.login-card .muted{font-size:.75rem}dialog{padding:23px 21px;max-height:calc(100vh - 30px)}.dialog-header h2{font-size:1.18rem}.pairing-display{flex-direction:column;gap:10px;text-align:center}.pairing-display img{width:160px;height:160px}.pairing-code{font-size:1.65rem}.pairing-display .metric-label{margin-bottom:3px}.pairing-display .hint{margin-top:2px}.sheet-dialog .muted{font-size:.75rem}}
@media(max-width:380px){.mobile-main{padding:19px 18px 25px}.mobile-header{padding:20px 18px}.mobile-heading h1{font-size:1.45rem}.mobile-card{padding:20px}.mobile-card .point-code-input::placeholder{font-size:.73rem}.mobile-header .brand{font-size:.9rem}.page-heading h1{font-size:1.15rem}.page-heading p{font-size:.65rem}.page-heading .button{font-size:.6rem}.topbar .breadcrumb{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Keep operational text readable at every viewport size. */
.nav-item,.button,.button.secondary,.button.primary,.text-button,.row-action,label,.metric-label,.metric-sub,.verification-notice p,.page-heading p,.hint,.muted,.guide-steps strong,.guide-steps p,.guide-panel>.subtle-link,.subtle-link,.receipt-id-label,.receipt-number,.receipt-destination,.receipt-message,.receipt-detail-grid,.receipt-detail-grid span,.receipt-actions .button,.history-table .receipt-number,.history-device,.amount-text,.amount-text small,.status,.reflection-info,.reflection-info small,.table-empty,.history-footer,.testing-panel summary,.testing-content>.muted,.testing-actions .button,.failure-field label,.failure-field select,.inline-feedback,.connection-message,.login-card .muted,.login-notice,.login-flow,.form-error,.field-error,.destination-note,.destination-note>span,.pairing-display .hint,.pairing-wait,.sheet-dialog .muted,.sheet-table th,.sheet-table td,.mobile-notice,.mobile-heading p,.mobile-card .hint,.mobile-card label,.mobile-identity strong,.mobile-identity>div>span,.registered-label,.mobile-destination,.mobile-card .receipt-select,.mobile-receipt-meta,.confirmation-check,.hold-button,.mobile-existing-status,.mobile-result,.mobile-result p,.mobile-result .result-receipt-id,.mobile-help h2,.mobile-help>p,.mobile-help>p.hint,.mobile-footer a,#no-receipt-view .muted{font-size:max(.875rem,14px)}
.history-table th,.history-table td{font-size:.875rem}.history-table .receipt-number{max-width:290px}.history-table .receipt-number,.receipt-number{font-size:.875rem}.status{padding:5px 9px}.guide-steps{gap:22px}.confirmation-check{font-size:.875rem!important}.mobile-card .receipt-select{font-size:.875rem}.mobile-destination{flex-wrap:wrap;gap:4px 12px}.mobile-notice{line-height:1.75}.mobile-card .point-code-input{font-size:1rem!important}.mobile-card .point-code-input::placeholder{font-size:.875rem}.sheet-dialog .muted{font-size:.875rem}.mobile-result .result-receipt-id{line-height:1.8}.testing-actions .button{white-space:normal}.metric-sub{line-height:1.6}.overview-card{min-width:0}.history-footer{flex-wrap:wrap}.history-update{font-size:.75rem}.receipt-detail-grid{row-gap:12px}.sidebar .nav-item{font-size:.875rem}.login-flow{flex-wrap:wrap}.pairing-display{flex-wrap:wrap}.pairing-wait{line-height:1.8}.testing-panel summary>.small,.section-label{font-size:.75rem}.mobile-card .required,.mobile-card .optional{font-size:.75rem}.receipt-actions .button{min-height:42px}
.mobile-result .result-receipt-label{display:block;font-family:"Segoe UI","Yu Gothic UI","Meiryo",sans-serif;font-size:.875rem;margin-bottom:2px}.mobile-result .result-receipt-value{display:block;font-family:Consolas,monospace;font-size:.875rem;overflow-wrap:anywhere;word-break:break-all}
