*{box-sizing:border-box}html{font-size:16px;color-scheme:light}body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#23344d;background:#f4f6fa;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{color:#1e304a;line-height:1.45}h2{font-size:1.125rem}h3{font-size:1rem}p{overflow-wrap:anywhere}strong{font-weight:600}small{font-size:.8125rem}img,svg{max-width:100%}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #93baff;outline-offset:3px}.icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0}.muted{color:#8290a4}.mono{font-family:"SFMono-Regular",Consolas,monospace;letter-spacing:-.025em}.pre-line{white-space:pre-line}.full{width:100%}.plain{background:none;border:0;padding:0;text-align:left}.split{display:flex;align-items:center;justify-content:space-between;gap:12px}.price{color:#f0783c;font-size:1.2rem;font-weight:700}.danger-text{color:#d85151!important}.right-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand>span{font-size:1.35rem;font-weight:700;letter-spacing:1px;line-height:1.15}.brand small{display:block;font-size:.6875rem;letter-spacing:2px;font-weight:400;margin-top:6px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 22px;border:1px solid #2563eb;border-radius:8px;background:#2563eb;color:#fff;font-weight:500;font-size:.9375rem;line-height:1.45;white-space:nowrap;transition:background .16s}.button:hover{background:#1d55d0}.button.secondary{background:white;color:#53637c;border-color:#dce3ee}.button.secondary:hover{background:#f4f7fc}.button.soft{background:#eaf2ff;color:#2563eb;border-color:#eaf2ff}.button.small{min-height:34px;font-size:.875rem;padding:6px 14px}.button.danger{background:#d85151;border-color:#d85151}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#2563eb;background:none;border:0;padding:4px 0;font-size:.875rem;white-space:nowrap}.text-button .icon{width:17px;height:17px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;border-radius:8px;padding:8px;flex-shrink:0}.icon-button:hover{background:#eef3fb}.button .icon{width:18px;height:18px}
input:not([type=checkbox]),select,textarea{width:100%;min-height:42px;padding:9px 12px;border:1px solid #dce3ed;border-radius:7px;background:white;color:#23344d;line-height:1.4;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#a3adbb}input:read-only{background:#f4f7fb;color:#7f8da1}input[type=checkbox]{accent-color:#2563eb;width:18px;height:18px;flex-shrink:0}textarea{resize:vertical}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238290a4' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;font-size:.9375rem}.field>span{color:#53637b;display:flex;align-items:center;justify-content:space-between;gap:8px}.field>span>a{color:#2563eb;font-size:.875rem}.field:last-child{margin-bottom:0}.checkbox-label{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:.9375rem}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:#cc4545;font-size:.875rem;margin:12px 0 0}.form-error:empty{display:none}.form-section{padding-top:16px;border-top:1px solid #edf0f5}.inline-notice{color:#6a7b92;font-size:.875rem;background:#f4f7fb;padding:12px;border-radius:8px;margin-bottom:18px}.info-button{background:none;border:0;padding:0;color:#8b99ae;vertical-align:middle}.info-button .icon{width:16px;height:16px}
.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:4px 8px;font-size:.75rem;font-weight:500;white-space:nowrap;line-height:1.45;flex-shrink:0}.badge.blue,.quick-icon.blue,.metric-icon.blue{color:#2563eb;background:#eaf2ff}.badge.orange,.quick-icon.orange,.metric-icon.orange{color:#bd7b1d;background:#fff4df}.badge.green,.quick-icon.mint,.metric-icon.mint{color:#178b75;background:#e6f6f0}.badge.gray{color:#75849a;background:#edf1f5}.quick-icon.purple,.metric-icon.purple{color:#8860ce;background:#f0ebfc}.tiny-badge{display:inline-block;font-size:.75rem;color:#3b78d2;background:#edf4ff;font-weight:400;border-radius:4px;padding:2px 6px;vertical-align:middle}.demo-tag{padding:4px 10px;border:1px solid #d6e5ff;color:#4d7bc1;border-radius:5px;background:#eff5ff;font-size:.75rem;white-space:nowrap}.eyebrow{color:#6686b3;font-size:.8125rem;letter-spacing:2px}
.panel{padding:18px;background:white;border:1px solid #edf0f5;border-radius:12px;margin-bottom:14px}.panel>h3{margin-bottom:14px}.panel>p+p{margin-top:12px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:230px;text-align:center;padding:32px 20px;color:#8b99ac}.empty-state>.icon{width:50px;height:50px;stroke-width:1.2;color:#b4c5df;margin-bottom:4px}.empty-state h3{color:#8290a4;font-weight:500}.empty-state p{font-size:.875rem}.empty-state .button{margin-top:8px}.info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:10px 0;font-size:.875rem}.info-row>span{color:#8b98aa;flex-shrink:0}.info-row>strong{font-weight:400;text-align:right;max-width:78%;overflow-wrap:anywhere}.info-row>strong.mono{font-size:.8125rem}.hospital-name{display:flex;align-items:flex-start;gap:8px;color:#4d617e;font-size:.9375rem;font-weight:500;margin-bottom:18px!important}.hospital-name .icon{width:19px;height:19px;margin-top:3px}.detail-service{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #f0f3f8;font-size:.9375rem}.detail-service p{font-size:.8125rem;color:#8a98aa;margin-top:6px}.detail-service>span{white-space:nowrap}.money-lines{margin-top:14px}.money-lines>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.9375rem;margin:12px 0}.money-lines>div>span{color:#8290a4}.money-lines strong{font-weight:500}.money-lines .total-line{border-top:1px dashed #e7ecf3;padding-top:16px}.money-lines .total-line strong{color:#ef7a3d;font-size:1.15rem}.money-lines .refund-line strong{color:#bf6a60}
.detail-status{padding:0 0 20px}.detail-status .badge{font-size:1rem;padding:7px 12px}.detail-status p{color:#8390a4;font-size:.875rem;margin-top:10px}.progress-scroll{overflow-x:auto;scrollbar-width:thin;padding:14px 0}.progress-nodes{display:flex;min-width:590px;justify-content:space-between}.progress-node{display:flex;flex:1;flex-direction:column;align-items:center;gap:9px;position:relative;color:#b6bfcd;font-size:.8125rem}.progress-node>.icon{width:22px;height:22px}.progress-node i{position:absolute;left:calc(50% + 17px);width:calc(100% - 34px);height:1px;background:#e2e7ef;top:11px}.progress-node.done{color:#28947d}.progress-node.done i{background:#47a990}.progress-node.active{color:#2563eb}.report-link{margin-top:10px}.timeline{list-style:none;margin:0;padding:0 0 0 16px}.timeline li{position:relative;padding:0 0 22px 16px;border-left:1px solid #e7ecf2;font-size:.875rem}.timeline li:last-child{border-left-color:transparent;padding-bottom:0}.timeline li:before{content:"";position:absolute;left:-4px;top:7px;background:#c8d1df;width:7px;height:7px;border-radius:50%}.timeline li.latest:before{background:#2563eb}.timeline p{font-size:.8125rem;color:#7c8ba0;margin:3px 0}.timeline span{font-size:.75rem;color:#a0aaba}.barcode-number{text-align:center;letter-spacing:4px;padding:16px;background:#f6f8fb;border-radius:8px}.barcode-status{text-align:center;color:#6b85aa;font-size:.8125rem;margin-top:12px}
dialog{border:0;border-radius:16px;padding:0;background:white;width:min(520px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 20px 90px #0c244433;color:#23344d}dialog::backdrop{background:#152b4c70;backdrop-filter:blur(3px)}dialog.wide-dialog{width:min(1000px,calc(100vw - 40px))}dialog>form{display:flex;flex-direction:column;max-height:90dvh}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #eef1f6;flex-shrink:0}.dialog-header h2{font-size:1.125rem}.dialog-body{overflow:auto;padding:22px;min-height:0}.dialog-body>h3{margin:20px 0 10px}.dialog-body>h3:first-child{margin-top:0}.dialog-body>p{margin-bottom:16px}.dialog-footer{padding:16px 22px;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #edf0f5;flex-shrink:0}#dialog-error:not(:empty){padding:0 22px 18px;margin:0}.dialog-body .full{margin-top:16px}.confirm-copy{color:#5e708b;line-height:1.9}.detail-modal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;padding-top:8px}.report-watermark{padding:12px;border-radius:8px;background:#fff4df;color:#aa792c;font-size:.875rem;margin-bottom:20px}.report-table{margin:18px 0;border:1px solid #e8edf5;border-radius:8px;overflow:hidden}.report-table>div{display:flex;justify-content:space-between;gap:20px;padding:12px;font-size:.875rem}.report-table>div:nth-child(odd){background:#f5f8fc}.report-table>div>span:first-child{flex:1}.report-table>div>span:last-child{white-space:nowrap;color:#8390a4}.refund-summary{display:flex;flex-direction:column;gap:8px;padding:16px;background:#f5f8fe;border-radius:10px;margin-bottom:18px}.refund-summary>strong{font-size:1.5rem;color:#ef7a3d}.refund-summary>span{font-size:.875rem;color:#72849d}.readonly-price{display:flex;justify-content:space-between;padding:16px;background:#f5f8fc;margin-bottom:18px;border-radius:8px}.copy-value{font-family:Consolas,monospace;font-size:.875rem}.item-list-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf1f6;font-size:.9375rem}.item-list-row>span:first-child{flex:1}.user-detail-heading{display:flex;gap:16px;align-items:center;margin-bottom:24px}.large-avatar{background:#eaf2ff;color:#2563eb;width:60px;height:60px;display:grid;place-items:center;font-size:1.5rem;border-radius:50%}
#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,20px);background:#1e304aee;color:white;border-radius:10px;box-shadow:0 8px 28px #0b284722;padding:12px 20px;max-width:calc(100vw - 32px);font-size:.9375rem;opacity:0;pointer-events:none;z-index:10000;transition:opacity .15s,transform .15s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#b94b4bee}.initial-loading{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;min-height:75vh;color:#8290a4}.spinner{width:28px;height:28px;border:3px solid #e1e9f8;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.unread-dot{display:inline-block;width:7px;height:7px;background:#ef6668;border-radius:50%;flex-shrink:0}.mini-avatar{width:28px;height:28px;display:inline-grid;place-items:center;font-size:.8125rem;font-style:normal;background:#eaf2ff;color:#5184cc;border-radius:50%;flex-shrink:0}
.landing-body{background:#f7faff;background-image:radial-gradient(ellipse at 50% 0,#e5eeff,transparent 60%)}.landing{max-width:1100px;margin:auto;padding:36px 32px}.landing>header{display:flex;align-items:center;justify-content:space-between}.landing-intro{text-align:center;padding:68px 0 44px}.landing-intro h1{font-size:clamp(2.2rem,5vw,3.5rem);letter-spacing:1px;line-height:1.35;margin:12px 0 22px}.landing-intro h1>span{color:#2563eb}.landing-intro>p{color:#7c8ba1}.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.entry-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:32px;border-radius:20px;overflow:hidden;border:1px solid #dbe7fb;background:#fff;transition:transform .2s,box-shadow .2s}.entry-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #31568a14}.user-entry{background:linear-gradient(135deg,#fff,#edf5ff)}.admin-entry{background:linear-gradient(135deg,#fff,#eff1fa)}.entry-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#2563eb;color:white}.admin-entry .entry-icon{background:#243e67}.entry-card h2{font-size:1.5rem;margin-bottom:10px}.entry-card p{color:#7e8fa6;font-size:.9375rem}.entry-button{background:white;color:#2563eb;border:1px solid #c9dcfc;border-radius:8px;padding:10px 20px;font-size:.9375rem}.entry-decoration{position:absolute;right:-10px;bottom:-22px;opacity:.05;transform:rotate(-14deg);color:#235ac2}.entry-decoration .icon{width:190px;height:190px}.landing-assurance{display:flex;justify-content:center;gap:26px;margin:36px 0;color:#8a99ad;font-size:.8125rem}.landing-assurance span{display:flex;align-items:center;gap:6px}.landing-assurance .icon{width:17px;height:17px}.landing>footer{text-align:center;color:#a2adbc;font-size:.8125rem;margin:40px 0 12px}.join-space{display:inline-block;margin-top:24px;padding:9px 16px;background:#eaf3ff;border-radius:8px;font-size:.875rem;color:#6480a7}.join-space strong{font-family:Consolas,monospace;margin-left:8px}
.login-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;padding:36px 20px;background:radial-gradient(ellipse at top,#e8f0ff,#f5f8fd 70%);gap:24px}.login-brand{margin-bottom:10px}.login-card{width:100%;max-width:430px;background:white;border:1px solid #e5edf9;border-radius:18px;padding:32px;box-shadow:0 12px 50px #1747860c}.login-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;color:#2563eb;background:#eaf2ff;margin-bottom:20px}.login-card h1{font-size:1.5rem}.login-card>p{margin:10px 0 24px;font-size:.9375rem}.demo-account{display:flex;gap:12px;align-items:center;background:#f6f9fe;padding:16px;border:1px solid #e9f0fa;border-radius:10px;margin:20px 0}.demo-account .mini-avatar{width:38px;height:38px;font-size:1rem}.demo-account>div{flex:1}.demo-account small{display:block;color:#8b99ac;margin-top:4px}.space-details{margin:0 0 20px;font-size:.875rem;color:#8290a4}.space-details summary{cursor:pointer}.space-details .field{margin-top:14px}.login-disclaimer{text-align:center;color:#99a6b8;font-size:.75rem!important;margin:20px 0 0!important;line-height:1.8}
@media(max-width:700px){.entry-grid{grid-template-columns:1fr;gap:18px}.landing{padding:24px 20px}.landing-intro{padding:40px 0 30px}.entry-card{padding:24px;gap:20px}.entry-card h2{font-size:1.25rem}.entry-card p{font-size:.8125rem}.landing-assurance{flex-direction:column;align-items:center;gap:12px;margin:26px 0}.form-columns{grid-template-columns:1fr}.login-card{padding:24px}.dialog-body{padding:18px}.dialog-header{padding:14px 18px}.button{padding:9px 18px}.brand>span{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
