html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f5f5f5;color:#1f1f1f}.logo{height:48px;margin:16px;color:#fff;font-weight:600;display:flex;align-items:center}.app-header{background:#fff;padding:0 24px;display:flex;align-items:center;justify-content:space-between;font-size:16px}.app-header__welcome{display:flex;align-items:center}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#edf2ff,#f7f9ff);padding:24px}.login-card{width:360px;box-shadow:0 18px 48px #1f385826;border-radius:16px}.category-card{background:#f3f8ff;border-radius:18px;box-shadow:none}.category-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.category-tree .ant-tree-treenode{padding:4px 0}.category-tree-wrapper{min-height:360px;padding:12px 0}.category-pagination{margin-top:16px;text-align:right}.category-node{display:flex;align-items:center;justify-content:space-between;width:100%;color:#3a5070;font-size:15px;padding-right:8px}.category-node__name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-node__actions .ant-btn{color:#6c7a91}.category-node__actions .ant-btn:hover{color:#1d4ed8}.category-node__actions .ant-btn.ant-btn-text.ant-btn-sm{padding-inline:4px}.product-card{border-radius:18px;box-shadow:none}.product-card .ant-card-body{padding:24px 24px 32px}.product-filters{background:#f6f8fb;border-radius:12px;padding:16px;margin-bottom:24px}.product-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.product-table .ant-table{border-radius:12px;overflow:hidden}.product-image-avatar{background:#f0f2f5;color:#8c8c8c}.product-import-modal .ant-modal-content{border-radius:18px;padding-bottom:16px}.product-import-modal .ant-modal-header{border-bottom:none;padding-bottom:0}.product-import-modal .ant-modal-title{font-size:20px;font-weight:600}.product-import-modal .ant-modal-body{padding:0 24px 8px}.product-import-toolbar{display:flex;align-items:center;justify-content:space-between;margin:8px 0 16px}.product-import-table .ant-table{border-radius:12px;overflow:hidden}.employee-layout{min-height:calc(100vh - 120px)}.employee-sidebar{border-radius:16px;box-shadow:none}.employee-sidebar .ant-btn{justify-content:flex-start}.employee-content,.department-card{border-radius:16px;box-shadow:none}.roles-layout{min-height:calc(100vh - 120px)}.roles-card{border-radius:16px;box-shadow:none}.roles-main{display:flex;gap:24px;align-items:stretch}.roles-sidebar{width:240px}.role-item{cursor:pointer}.role-item:hover,.role-item--active{background:#f3f6ff}.roles-content{flex:1;min-width:320px}.roles-permission-tree{max-height:360px;overflow:auto;border:1px solid #f0f0f0;border-radius:8px;padding:12px;background:#fafafa}.roles-permission-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.roles-permission-actions{margin-top:16px;text-align:right}.roles-empty-card{width:100%;border:none;background:transparent}.tenant-order-form__page{background:#f5f7fa;min-height:100%;padding:20px}.tenant-order-form__header{position:sticky;top:0;z-index:10;background:#f5f7fa;padding:12px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tenant-order-form__form{max-width:1400px;margin:0 auto}.tenant-order-form__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);gap:20px}.tenant-order-form__card{border:none;border-radius:16px;box-shadow:0 4px 18px #0f172a14}.tenant-order-form__section-title{font-size:15px;font-weight:600;color:#1f2937;margin-bottom:12px}.tenant-order-form__divider{margin:14px 0}.tenant-order-form__field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.tenant-order-form__field-wide{grid-column:span 2}.tenant-order-form__denture-card{border:1px solid #eef1f5;border-radius:14px;padding:16px;margin-bottom:12px;background:#fbfcfe}.tenant-order-form__denture-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.tenant-order-form__denture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.tenant-order-form__odontogram{display:flex;flex-direction:column;gap:10px}.tenant-order-form__odontogram-grid{display:flex;flex-direction:column;gap:6px;background:#f8fafc;border-radius:12px;padding:12px;border:1px solid #eef1f5}.tenant-order-form__odontogram-row{display:grid;grid-template-columns:1fr 12px 1fr;align-items:center;gap:8px}.tenant-order-form__odontogram-half{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.tenant-order-form__odontogram-divider{width:1px;height:100%;background:#e5e7eb;justify-self:center}.tenant-order-form__tooth{border:1px solid #d7dde5;border-radius:8px;background:#fff;padding:6px 0;font-size:12px;color:#1f2937;cursor:pointer}.tenant-order-form__tooth.is-active{background:#e6f4ff;border-color:#1677ff;color:#1677ff;font-weight:600}.tenant-order-form__odontogram-input{display:flex;flex-direction:column;gap:6px}.tenant-order-form__muted{color:#8a8f99;font-size:12px}.tenant-order-form__accessory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tenant-order-form__accessory-card{border:1px solid #eef1f5;border-radius:10px;padding:10px 12px;background:#fff;display:flex;flex-direction:column;gap:6px}.tenant-order-form__accessory-card.is-active{border-color:#1677ff;background:#e6f4ff}.tenant-order-form__accessory-name{font-size:13px;color:#1f2937;font-weight:500}.tenant-order-form__accessory-input{width:100%}.tenant-order-form__upload .ant-upload-drag{padding:14px 12px}.tenant-order-form__upload .ant-upload-text{margin-bottom:4px}.tenant-order-form__page .ant-input,.tenant-order-form__page .ant-select-selector,.tenant-order-form__page .ant-input-number{border-radius:8px;background:#f9fafb}.tenant-order-form__page .ant-input[disabled],.tenant-order-form__page .ant-input-number-disabled{background:#f1f5f9}@media (max-width: 1200px){.tenant-order-form__grid{grid-template-columns:minmax(0,1fr)}.tenant-order-form__header{flex-direction:column;align-items:flex-start}.tenant-order-form__accessory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 768px){.tenant-order-form__field-grid,.tenant-order-form__denture-grid{grid-template-columns:minmax(0,1fr)}.tenant-order-form__accessory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tenant-order-form__odontogram-row{grid-template-columns:1fr}.tenant-order-form__odontogram-divider{display:none}}.tenant-order-detail__page{background:#f5f7fa;min-height:100%;padding:20px}.tenant-order-detail{max-width:1400px;margin:0 auto}.tenant-order-detail__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;background:#fff;border-radius:16px;box-shadow:0 6px 20px #0f172a0f;margin-bottom:20px}.tenant-order-detail__header-main{display:flex;flex-direction:column;gap:8px}.tenant-order-detail__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tenant-order-detail__status-tag{font-size:13px;padding:2px 10px;border-radius:999px}.tenant-order-detail__header-actions{display:flex;align-items:center}.tenant-order-detail__grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.tenant-order-detail__main,.tenant-order-detail__side{display:flex;flex-direction:column;gap:20px}.tenant-order-detail__card{border-radius:16px;border:none;box-shadow:0 2px 12px #0f172a0f}.tenant-order-detail__section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.tenant-order-detail__info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.tenant-order-detail__info-item{display:flex;flex-direction:column;gap:4px}.tenant-order-detail__info-label{font-size:12px;color:#8a8f99}.tenant-order-detail__info-value{font-size:14px;color:#1f2937;word-break:break-word}.tenant-order-detail__process-card{background:#f9fafc;border-radius:14px;padding:16px;border:1px solid #eef1f5}.tenant-order-detail__process-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tenant-order-detail__process-product{margin-left:8px}.tenant-order-detail__process-current{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-radius:12px;padding:12px 14px;border:1px solid #e5e7eb;margin-bottom:12px}.tenant-order-detail__process-current-title{display:flex;align-items:center;gap:8px;margin-top:4px}.tenant-order-detail__process-actions{display:flex;gap:8px;flex-wrap:wrap}.tenant-order-detail__process-scroll{overflow-x:auto;padding-bottom:6px}.tenant-order-detail__process-scroll .ant-steps{min-width:640px}.tenant-order-detail__denture-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.tenant-order-detail__denture-card{border-radius:14px;border:1px solid #eef1f5;padding:14px;background:#fdfdfd}.tenant-order-detail__denture-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.tenant-order-detail__denture-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;font-size:13px;color:#1f2937}.tenant-order-detail__note-block{padding:10px 0;border-bottom:1px dashed #eceff4}.tenant-order-detail__note-block:last-child{border-bottom:none}.tenant-order-detail__habit-block{margin-top:12px;padding-top:12px;border-top:1px dashed #eceff4}.tenant-order-detail__attachment-list{display:flex;flex-direction:column;gap:10px}.tenant-order-detail__attachment-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:#f8fafc;border:1px solid #eef1f5}.tenant-order-detail__accessory-list{display:flex;flex-direction:column;gap:10px}.tenant-order-detail__accessory-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-radius:10px;background:#f8fafc;border:1px solid #eef1f5}.tenant-order-detail__muted{color:#8a8f99;font-size:12px}@media (max-width: 1200px){.tenant-order-detail__grid{grid-template-columns:minmax(0,1fr)}.tenant-order-detail__header{flex-direction:column;align-items:stretch}.tenant-order-detail__header-actions{justify-content:flex-start}}@media (max-width: 768px){.tenant-order-detail__info-grid,.tenant-order-detail__denture-meta{grid-template-columns:minmax(0,1fr)}}.inventory-toolbar{border-radius:8px}.inventory-content{display:block}.inventory-table{min-height:500px;overflow:auto}.inventory-row-low{background:#fff2f0!important}.inventory-row-high{background:#fffbe6!important}.inventory-page{display:flex;flex-direction:column;gap:12px}.inventory-header{display:flex;align-items:center;justify-content:space-between}.inventory-header .ant-typography{margin:0}.supplier-page{display:flex;flex-direction:column;gap:12px}.supplier-header{display:flex;align-items:center;justify-content:space-between}.supplier-header .ant-typography{margin:0}
