@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--primary: 214 100% 54%;--primary-foreground: 0 0% 100%;--secondary: 214 32% 94%;--secondary-foreground: 222 47% 11%;--background: 220 20% 97%;--foreground: 222 47% 11%;--card: 0 0% 100%;--card-foreground: 222 47% 11%;--muted: 214 32% 93%;--muted-foreground: 215 16% 40%;--accent: 214 32% 93%;--accent-foreground: 222 47% 11%;--border: 214 24% 88%;--input: 214 24% 88%;--ring: 214 100% 54%;--destructive: 0 72% 51%;--destructive-foreground: 0 0% 100%;--popover: 0 0% 100%;--popover-foreground: 222 47% 11%;--radius: .625rem;--navbar: 222 47% 11%;--navbar-foreground: 210 40% 98%;--sidebar: 222 44% 13%;--sidebar-foreground: 210 40% 96%;--sidebar-accent: 214 100% 54%}.dark{--background: 220 25% 8%;--foreground: 210 40% 98%;--card: 220 25% 11%;--card-foreground: 210 40% 98%;--primary: 217 91% 60%;--primary-foreground: 0 0% 100%;--secondary: 220 20% 18%;--secondary-foreground: 210 40% 96%;--muted: 220 20% 18%;--muted-foreground: 220 10% 60%;--accent: 220 20% 18%;--accent-foreground: 210 40% 96%;--border: 220 20% 20%;--input: 220 20% 20%;--ring: 217 91% 60%;--destructive: 0 62% 45%;--destructive-foreground: 0 0% 100%;--popover: 220 25% 11%;--popover-foreground: 210 40% 98%;--navbar: 222 47% 9%;--navbar-foreground: 210 40% 98%;--sidebar: 222 44% 10%;--sidebar-foreground: 210 40% 96%;--sidebar-accent: 217 91% 60%}}@layer base{*{@apply border-border;}body{@apply bg-background text-foreground antialiased;font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Noto Sans SC,sans-serif}.product-model,.upper-case{text-transform:uppercase}a{text-decoration:none}th{white-space:nowrap}.font-mono,code,[data-mono]{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}input.error{@apply border-red-500 bg-red-50;}.dark input.error{background-color:#3b1616}}.erp-light-scope{color-scheme:light;--primary: 214 100% 54%;--primary-foreground: 0 0% 100%;--secondary: 214 32% 94%;--secondary-foreground: 222 47% 11%;--background: 220 20% 97%;--foreground: 222 47% 11%;--card: 0 0% 100%;--card-foreground: 222 47% 11%;--muted: 214 32% 93%;--muted-foreground: 215 16% 40%;--accent: 214 32% 93%;--accent-foreground: 222 47% 11%;--border: 214 24% 88%;--input: 214 24% 88%;--ring: 214 100% 54%;--destructive: 0 72% 51%;--destructive-foreground: 0 0% 100%;--popover: 0 0% 100%;--popover-foreground: 222 47% 11%;--navbar: 222 47% 11%;--navbar-foreground: 210 40% 98%;--sidebar: 222 44% 13%;--sidebar-foreground: 210 40% 96%;--sidebar-accent: 214 100% 54%;color:hsl(var(--foreground));background-color:#fff}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(160deg,#f0f5ff 0%,#f5f5f5 45%,#e6f4ff 100%)}.dark .login-page{background:linear-gradient(160deg,#0b1220 0%,#141a24 45%,#0d1a2e 100%)}.login-page__mark{width:48px;height:48px;margin:0 auto 12px;border-radius:12px;background:#1677ff;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px}.erp-barcode-well{display:inline-block;background:#fff;padding:4px 6px;line-height:0;vertical-align:top}.erp-light-scope .erp-barcode-well{padding:0}@media print{.erp-barcode-well{padding:0}}.erp-table .ant-table-cell{word-break:normal;overflow-wrap:normal}.erp-table .ant-table-cell-ellipsis{white-space:nowrap}.erp-table .ant-table-cell.erp-cell-wrap{white-space:normal;word-break:break-word;overflow-wrap:anywhere;vertical-align:top}.erp-table .ant-table-thead>tr>th{padding-inline-end:18px}.erp-table .erp-col-resize-handle{position:absolute;top:0;right:0;z-index:1;width:8px;height:100%;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none}.erp-table .erp-col-resize-handle:after{content:"";position:absolute;top:20%;bottom:20%;right:3px;width:2px;border-radius:1px;background:hsl(var(--border));opacity:0;transition:opacity .15s}.erp-table th:hover .erp-col-resize-handle:after,.erp-table .erp-col-resize-handle:hover:after{opacity:1}.erp-table .erp-col-resize-handle:hover:after{background:hsl(var(--primary))}.erp-table.ant-table-wrapper,.erp-table .ant-table-wrapper{overflow-x:visible}.erp-table{--ant-table-body-sort-bg: transparent;--erp-row-bg: #fff;--erp-row-alt-bg: hsl(214 32% 88%);--erp-row-hover-bg: hsl(214 100% 97%);--erp-row-alt-hover-bg: hsl(214 40% 84%);--erp-row-selected-bg: hsl(214 80% 94%);--erp-row-selected-hover-bg: hsl(214 70% 90%);--erp-header-bg: hsl(214 32% 96%)}.dark .erp-table{--erp-row-bg: hsl(220 18% 14%);--erp-header-bg: hsl(220 16% 18%);--erp-row-alt-bg: hsl(220 14% 20%);--erp-row-hover-bg: hsl(214 24% 22%);--erp-row-alt-hover-bg: hsl(214 20% 26%);--erp-row-selected-bg: hsl(214 42% 26%);--erp-row-selected-hover-bg: hsl(214 48% 30%)}.erp-table .ant-table-tbody>tr.erp-row-alt{background-color:var(--erp-row-alt-bg)}.erp-table .ant-table-tbody>tr>td.ant-table-column-sort:not(.ant-table-cell-fix-start):not(.ant-table-cell-fix-end):not(.ant-table-cell-fix-left):not(.ant-table-cell-fix-right){background-color:transparent}.erp-table .ant-table-tbody>tr.erp-row-clickable{cursor:pointer}.erp-table .ant-table-cell.ant-table-cell-fix-start,.erp-table .ant-table-cell.ant-table-cell-fix-end,.erp-table .ant-table-cell.ant-table-cell-fix-left,.erp-table .ant-table-cell.ant-table-cell-fix-right{background-color:var(--erp-row-bg)!important}.erp-table .ant-table-thead>tr>th.ant-table-cell-fix-start,.erp-table .ant-table-thead>tr>th.ant-table-cell-fix-end,.erp-table .ant-table-thead>tr>th.ant-table-cell-fix-left,.erp-table .ant-table-thead>tr>th.ant-table-cell-fix-right{background-color:var(--erp-header-bg)!important}.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-start,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-end,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-left,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-right{background-color:var(--erp-row-alt-bg)!important}.erp-table .ant-table-tbody>tr>.ant-table-cell.ant-table-cell-fix-start.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr>.ant-table-cell.ant-table-cell-fix-end.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr>.ant-table-cell.ant-table-cell-fix-left.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr>.ant-table-cell.ant-table-cell-fix-right.ant-table-cell-row-hover{background-color:var(--erp-row-hover-bg)!important}.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-start.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-end.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-left.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.erp-row-alt>.ant-table-cell.ant-table-cell-fix-right.ant-table-cell-row-hover{background-color:var(--erp-row-alt-hover-bg)!important}.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-start,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-end,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-left,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-right{background-color:var(--erp-row-selected-bg)!important}.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-start.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-end.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-left.ant-table-cell-row-hover,.erp-table .ant-table-tbody>tr.ant-table-row-selected>.ant-table-cell.ant-table-cell-fix-right.ant-table-cell-row-hover{background-color:var(--erp-row-selected-hover-bg)!important}.erp-table .ant-tag{background:transparent!important;background-color:transparent!important;border-color:transparent!important}.erp-table .ant-typography code,.erp-table code{background:transparent!important;background-color:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important}.erp-table .ant-tag-default{color:#4c5767}.dark .erp-table .ant-tag-default{color:#b5bac5}.erp-table .ant-table-cell.font-mono{min-width:0}.erp-table .erp-code-cell{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.erp-table td a:has(>.erp-code-cell){display:block;min-width:0;color:inherit}.erp-select-wrap.ant-select .ant-select-selector{height:auto!important;min-height:32px;align-items:flex-start;padding-top:4px;padding-bottom:4px}.erp-select-wrap.ant-select .ant-select-selection-item,.erp-select-wrap.ant-select .ant-select-content-value{white-space:normal;word-break:break-word;line-height:1.4}.erp-select-wrap-dropdown .ant-select-item-option-content{white-space:normal;word-break:break-word}.erp-select-ellipsis.ant-select{max-width:100%;min-width:0}.erp-select-ellipsis.ant-select .ant-select-selector{overflow:hidden}.erp-select-ellipsis.ant-select .ant-select-selection-item,.erp-select-ellipsis.ant-select .ant-select-content-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}@media (max-width: 575px){.category-field-row{overflow-x:auto;min-width:0;padding-bottom:4px}}.bg-canvas{background-color:hsl(var(--background));background-image:radial-gradient(ellipse 120% 80% at 50% -20%,hsl(214 100% 54% / .06),transparent 55%)}.dark .bg-canvas{background-image:radial-gradient(ellipse 120% 80% at 50% -20%,hsl(217 91% 60% / .08),transparent 55%)}@media (pointer: coarse){input,textarea,.ant-input,.ant-input-affix-wrapper input,.ant-select-selection-search-input{font-size:16px!important}}.mobile-shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:hsl(var(--background));color:hsl(var(--foreground))}.mobile-shell--center,.mobile-page--center{display:flex;align-items:center;justify-content:center;min-height:40vh}.mobile-shell__content{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}.mobile-shell__tabbar{display:flex;border-top:1px solid hsl(var(--border));background:hsl(var(--card));padding-bottom:env(safe-area-inset-bottom,0px);flex-shrink:0}.mobile-shell__tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 10px;border:0;background:transparent;color:hsl(var(--muted-foreground));font-size:11px;cursor:pointer}.mobile-shell__tab.is-active{color:hsl(var(--primary));font-weight:600}.mobile-shell__tab-icon{font-size:18px;line-height:1}.mobile-page{padding:16px;max-width:640px;margin:0 auto}.mobile-page__header{margin-bottom:16px;display:flex;flex-direction:column;gap:4px}.mobile-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-shortcut-card{display:block;padding:14px;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--card));color:inherit}.mobile-shortcut-card__title{font-weight:600;margin-bottom:4px}.mobile-shortcut-card__desc{font-size:12px;color:hsl(var(--muted-foreground))}.mobile-list-block{border:1px solid hsl(var(--border));border-radius:12px;overflow:hidden;background:hsl(var(--card))}.mobile-list-row{display:flex;align-items:center;gap:12px;padding:14px 12px;border-bottom:1px solid hsl(var(--border));color:inherit}.mobile-list-row:last-child{border-bottom:0}.mobile-list-row__icon{font-size:18px;color:hsl(var(--primary))}.mobile-list-row__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.mobile-list-row__title{font-weight:600}.mobile-list-row__desc{font-size:12px;color:hsl(var(--muted-foreground))}.mobile-list-row__arrow{color:hsl(var(--muted-foreground));font-size:12px}.mobile-account-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--card))}.mobile-account-card__name{font-weight:600;font-size:16px}.mobile-empty{padding:24px 12px;text-align:center;color:hsl(var(--muted-foreground));font-size:14px}.mobile-card-list{display:flex;flex-direction:column;gap:10px}.mobile-order-card,.mobile-partner-card,.mobile-sn-card{display:block;padding:12px 14px;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--card));color:inherit;text-align:left}.mobile-order-card__top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.mobile-order-card__no{font-weight:600}.mobile-order-card__partner{margin-bottom:6px}.mobile-order-card__meta{display:flex;justify-content:space-between;font-size:12px;color:hsl(var(--muted-foreground))}.mobile-product-card{display:flex;gap:12px;padding:10px;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--card));color:inherit;text-align:left;width:100%;cursor:pointer}.mobile-product-card__img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0;background:hsl(var(--muted))}.mobile-product-card__img--placeholder{display:flex;align-items:center;justify-content:center;font-size:12px;color:hsl(var(--muted-foreground))}.mobile-product-card__name{font-weight:600}.mobile-product-card__code,.mobile-product-card__meta,.mobile-partner-card__meta,.mobile-partner-card__line,.mobile-sn-card__line{font-size:12px;color:hsl(var(--muted-foreground));margin-top:2px}.mobile-partner-card__name,.mobile-sn-card__sn{font-weight:600}.mobile-partner-card__orders{display:inline-block;margin-top:8px;font-size:13px;color:hsl(var(--primary))}.mobile-back{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:hsl(var(--primary))}.mobile-detail-item{padding:8px 0;border-bottom:1px solid hsl(var(--border))}.mobile-detail-item:last-child{border-bottom:0}.mobile-detail-item__name{font-weight:500}.mobile-detail-item__meta,.mobile-detail-item__sns{font-size:12px;color:hsl(var(--muted-foreground));margin-top:2px}.mobile-pre{font-size:11px;overflow:auto;max-height:240px;background:hsl(var(--muted));padding:8px;border-radius:8px}.mobile-stats-stack{display:flex;flex-direction:column;gap:20px}.mobile-stats-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-stats-cards>*{padding:12px!important}.login-page{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));overflow-x:hidden}@media (max-width: 400px){.login-page{padding-top:16px;padding-bottom:16px;align-items:flex-start}}
