/* 检票专用样式 */
#app:has(.check-body){color:#233347;background:#f5f8fc}
#app:has(.check-body) header{position:relative;height:52px;padding:0 16px}
#app:has(.check-body) header strong{position:absolute;left:50%;transform:translateX(-50%);font-weight:500;font-size:18px}
#app:has(.check-body) header [data-check="fault"]{font-size:13px;font-weight:400}
.check-body{padding:0 16px 12px;min-height:0;scrollbar-width:thin}
.check-station{height:42px;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:13px;color:#8390a1}
.check-station b{font-size:15px;color:#2479d3;font-weight:500}
.check-info{padding:10px 14px;background:white;border:1px solid #e6edf5;border-radius:10px}
.check-info>div{min-height:29px;font-size:14px;gap:10px}
.check-info span{color:#8993a1;flex:0 0 58px}
.check-info strong{line-height:1.5;font-weight:500;font-size:14px;min-width:0}
.check-info button{height:28px;width:30px;display:grid;place-items:center;padding:4px;border-radius:5px;background:#f0f7ff}
.check-info button img{width:19px;height:19px;filter:invert(49%) sepia(88%) saturate(1300%) hue-rotate(184deg)}
.check-info p{border-top:1px solid #edf1f6;margin:9px 0 0;padding-top:9px;color:#4775a3;font-size:13px}
.check-payments{margin-top:14px;border:1px solid #e6edf5;border-radius:10px;background:white;overflow:hidden}
.check-heading{align-items:center;margin:0;padding:13px 14px;background:#fbfcfe;border-bottom:1px solid #edf1f6;font-size:15px;font-weight:500}
.check-heading b{font-size:14px;color:#e35362;font-weight:500}
.check-count{min-height:39px;margin:0 14px;padding:0;grid-template-columns:1fr 34px 42px 34px;font-size:15px;border-bottom:1px solid #f0f3f7}
.check-count:last-child{border:0}
.check-count output{font-size:17px;font-variant-numeric:tabular-nums;font-weight:500}
.check-count button{display:grid;place-items:center;width:28px;height:28px;background:#eff7ff;border-color:#acd4ff}
.check-count button img{width:20px;height:20px;filter:invert(49%) sepia(88%) saturate(1300%) hue-rotate(184deg)}
.check-footer{flex-shrink:0;gap:12px;padding:12px 16px 16px;background:white;border-top:1px solid #e7edf4}
.check-footer>button{height:46px;border-radius:7px;font-size:16px;font-weight:500}
.check-footer [data-check="scan"]{display:flex;align-items:center;justify-content:center;gap:7px;background:#f3f8ff}
.check-footer img{width:19px;height:19px;filter:invert(49%) sepia(88%) saturate(1300%) hue-rotate(184deg)}
#check-dialog{width:calc(100% - 48px);max-width:342px;max-height:calc(100dvh - 48px);padding:28px 22px 24px;border-radius:12px;color:#243348;box-shadow:0 16px 60px #14264040;scrollbar-width:thin}
#check-dialog::backdrop{background:#15253699}
#check-dialog h2{font-size:22px;font-weight:500;letter-spacing:.5px;margin:0 0 21px;color:#172b43}
#check-dialog .check-close{display:grid;place-items:center;right:9px;top:9px;width:30px;height:30px;padding:6px;border-radius:50%;background:#f3f5f8}
.check-close img{width:18px;height:18px;opacity:.6}
#check-dialog>label,#fault-form>label{display:block;font-size:14px;color:#718096;margin-top:5px}
#check-dialog select,#check-dialog input:not([type="radio"]):not([type="hidden"]){height:42px;border:1px solid #d9e2ed;border-radius:6px;background:#fff;color:#243348;padding:8px 10px;margin:8px 0 18px;font-size:15px}
#check-dialog .demo-note{font-size:13px;text-align:center;color:#8794a5;margin:-9px 0 22px}
.scenario-buttons{gap:9px}.scenario-buttons button{border-color:#e0e9f4;background:#f7faff;color:#327ac5;font-size:14px;border-radius:6px;padding:13px}
.scenario-buttons button:hover{background:#eaf3ff;border-color:#9ac7fb}
.ticket-warning{font-size:15px;color:#ee5159!important;line-height:1.8!important;margin:0 0 18px;text-align:center}
.ticket-status{display:flex;align-items:center;justify-content:center;gap:8px;border:0;font-size:18px;font-weight:500;border-radius:7px;padding:13px;margin-bottom:6px}
.ticket-status img{width:26px;height:26px}
.ticket-status.passed{color:#129750;background:#ecfaf1}.ticket-status.passed img{filter:invert(42%) sepia(89%) saturate(776%) hue-rotate(100deg)}
.ticket-status.failed,.ticket-status.mismatch{color:#ed6069;background:#fff1f2}.ticket-status.failed img,.ticket-status.mismatch img{filter:invert(53%) sepia(60%) saturate(1300%) hue-rotate(315deg)}
.ticket-details{font-size:15px;grid-template-columns:88px 1fr;column-gap:8px;row-gap:15px;margin:22px 0 20px;padding-bottom:22px;border-color:#e4e9ef}
.ticket-details dt{color:#7a8798}.ticket-details dd{font-weight:500;color:#233347;font-variant-numeric:tabular-nums}
.ticket-details dd:last-child{font-size:18px;color:#172b43}
.check-actions{gap:10px;margin-top:22px}.check-actions button,#check-dialog .primary{min-height:44px;border-radius:6px;font-size:16px;font-weight:500;padding:10px}
.check-actions button:first-child{border-color:#c7d9ed;background:#f7faff;color:#4284c8}
.surcharge-options{padding-top:0;border:0;display:flex;flex-wrap:wrap;gap:7px}
.surcharge-options p{width:100%;margin:0 0 3px;font-size:14px;color:#708096}
.surcharge-options label{flex:1;margin:0;justify-content:center;min-height:38px;border:1px solid #dbe3ec;border-radius:5px;padding:7px 4px;font-size:13px;gap:4px;cursor:pointer}
.surcharge-options label:has(input:checked){border-color:#ff7b38;background:#fff6ef;color:#d96123;box-shadow:inset 0 0 0 1px #ff7b38}
.surcharge-options input{width:13px;height:13px;padding:0;margin:0}
.surcharge-confirm{width:100%;min-height:44px;border-radius:6px;font-size:17px;background:#0cba50;margin:22px 0 0}
.fault-context{background:#f5f8fc;border:1px solid #e7edf5;border-radius:7px;padding:8px 12px;margin-bottom:20px;font-size:14px}.fault-context p{margin:5px 0;color:#516479}
@media(max-width:360px){.check-body{padding:0 10px 10px}.check-heading{padding:12px 10px}.check-heading b{font-size:13px}.check-info{padding:9px 10px}#check-dialog{width:calc(100% - 28px);padding-left:18px;padding-right:18px}}
@media(max-height:760px){.check-info>div{min-height:26px}.check-count{min-height:34px}.check-station{height:37px}.check-heading{padding-top:10px;padding-bottom:10px}.check-payments{margin-top:12px}}
#check-dialog.sign-in-warning{padding:28px 24px 26px;max-width:370px}#check-dialog.sign-in-warning h2{font-size:18px;font-weight:600;margin:0 0 30px}.sign-in-section{padding:0 18px 14px}.sign-in-section+.sign-in-section{border-top:1px solid #d9dde3;padding-top:12px}.sign-in-section p{display:flex;align-items:center;gap:12px;margin:9px 0;color:#666;font-size:17px;line-height:1.65}.sign-in-section span{overflow-wrap:anywhere;min-width:0}.sign-in-section .sign-in-difference{color:#ff3138}.sign-in-difference img{width:22px;height:22px;flex-shrink:0;filter:invert(37%) sepia(97%) saturate(3258%) hue-rotate(337deg)}#check-dialog .sign-in-explanation{font-size:16px;line-height:1.65;color:#666;margin:17px 0 30px}.sign-in-warning .check-actions{padding:0 18px;gap:24px}.sign-in-warning .check-actions button{height:48px}.sign-in-warning .check-actions button:first-child{color:#444;border-color:#ccc;background:white}
