table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:10px 12px;border-bottom:1px solid var(--border)}th{position:sticky;top:0;background:#fff;text-align:left;font-weight:700;border-bottom:2px solid var(--border)}.col-status{white-space:nowrap;width:1%}.actions{display:inline-flex;gap:8px}tr:hover td{background:#fafafa}tr.verified-row:hover td{background:var(--tone-mint-b)}.btn-sm{padding:6px 10px;font-size:13px}.iconbox{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#ecfdf5;color:var(--brand);border:1px solid var(--border)}.iconbox--inventory{background:#ecfdf5;color:#059669}.iconbox--barcodes{background:#fff;color:#111827}.iconbox--storage{background:#fff7ed;color:#f97316}.iconbox--notifications{background:#fffbeb;color:#f59e0b}.big-col{display:grid;gap:12px}.big-btn{display:grid;grid-template-columns:40px 1fr 24px;align-items:center;gap:12px;padding:16px;border-radius:16px;background:#fff;border:1px solid var(--border);text-decoration:none;color:var(--text);box-shadow:var(--shadow);transition:transform .16s cubic-bezier(.2,.8,.2,1),background-color .24s ease,border-color .24s ease,box-shadow .36s cubic-bezier(.22,1,.36,1);transform:translateZ(0);will-change:transform,box-shadow}.big-btn:hover{background:#f9fafb;transform:scale(1.015);box-shadow:0 2px 4px #0000001a,0 10px 24px #0000001a,inset 0 1px #ffffffb3}.big-btn:active{transform:scale(.997)}.big-btn:focus-visible{outline:none;box-shadow:0 0 0 2px #3b82f640,var(--shadow)}.big-btn .title{font-weight:800}.big-btn .subtitle{font-size:13px;color:var(--muted)}.stat-grid{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}.stat-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;box-shadow:var(--shadow)}.stat-value{font-size:22px;font-weight:800}.stat-label{color:var(--muted);font-size:12px}.alerts{margin-top:14px}.alerts-title{font-weight:700;margin-bottom:8px}.alert-line{display:grid;grid-template-columns:16px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow);margin-bottom:8px}.dot{width:10px;height:10px;border-radius:999px}.dot.warn{background:#f59e0b}.dot.ok{background:#10b981}.alert-line.ok{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff}.alert-cta{text-decoration:none;color:var(--brand);font-weight:700}@media (max-width: 900px){table{font-size:13px}th,td{padding:8px 10px}.actions{gap:6px}}@media (max-width: 700px){th.col-barcode,td.col-barcode{display:none}}@media (max-width: 520px){th.col-gender,td.col-gender,th.col-age,td.col-age{display:none}.badge{font-size:11px;padding:5px 8px}table{font-size:12.5px}}.panel-actions .btn{display:inline-flex;align-items:center;gap:6px;font-size:16px;line-height:1;font-weight:600;border:1px solid #a7a7a7;transition:linear .2s all}.panel-actions .btn:hover{opacity:.9}.panel-actions .btn svg{width:1.1em;height:1.1em;vertical-align:middle}.controls .select{min-width:160px}.search-clear-btn{height:40px;display:inline-flex;align-items:center}.table-wrap{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);transition:box-shadow .22s ease,border-color .22s ease,background-color .22s ease}.hero-split{display:grid;gap:14px;grid-template-columns:1fr;align-items:stretch;margin:14px 14px 24px}@media (min-width: 920px){.hero-split{grid-template-columns:35% 65%}}.hero-split>.section-card{display:flex;flex-direction:column;height:100%}.hero-split>.section-card>.detail-card{flex:1;display:flex;flex-direction:column}.hero-left{display:grid;gap:16px;align-items:start;height:100%}.hero-image-container{width:100%;position:relative;aspect-ratio:1 / 1;overflow:hidden;border-radius:16px;border:1px solid var(--border);background:#f5f5f5}.hero-image-container .detail-image{width:100%;height:100%;object-fit:cover;border-radius:16px;border:none;max-width:100%;transition:opacity .3s ease}.hero-image-container .detail-image.image-loading{opacity:0;position:absolute;top:0;left:0}.hero-image-container .detail-image.image-loaded{opacity:1;position:relative}.image-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:grid;place-items:center;background:#e8e8e8;border-radius:16px;z-index:1}.image-placeholder.shimmer{background:linear-gradient(90deg,#d8d8d8,#eee,#fff,#eee,#d8d8d8);background-size:400% 100%;animation:shimmer 2s linear infinite;background-repeat:no-repeat}.shimmer-shine{display:none}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.hero-barcode{display:grid;gap:4px;text-align:center}.hero-qty-controls{display:grid;grid-auto-flow:column;align-items:center;justify-content:center;gap:8px}.hero-right{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:20px}.hero-split>.section-card:last-child>.detail-card{display:flex;align-items:stretch;min-height:100%}.hero-split>.section-card:last-child>.detail-card>.hero-right{flex:1;min-height:0}.hero-name-container,.hero-chips-container,.hero-lowstock-container{text-align:center;width:100%}.hero-lowstock-container .sku-label{margin-bottom:8px;font-weight:600;letter-spacing:.02em}.hero{display:grid;gap:12px;grid-template-columns:1fr;align-items:start;position:relative}.hero-media,.hero-info{min-width:0}.detail-image{width:100%;height:auto;border-radius:16px;border:1px solid var(--border)}.detail-image-sm{max-width:220px}@media (min-width: 920px){.hero{grid-template-columns:260px 1fr}.detail-image-sm{max-width:240px}}.item-title-xl{margin:0;line-height:1.1;font-size:32px;font-weight:900}@media (min-width: 920px){.item-title-xl{font-size:34px}}.sku-and-qty{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin-top:10px}.sku-block{display:grid;gap:4px}.sku-label{color:var(--muted);font-size:12px}.sku-value{font-weight:800}.qty-inline{display:grid;grid-auto-flow:column;align-items:center;gap:8px}.btn-icon{width:40px;height:40px;padding:0;display:grid;place-items:center}.qty-inline-number{min-width:56px;text-align:center;font-size:24px;font-weight:900;line-height:1;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:#fff}.qty-inline-number.as-button{cursor:pointer}.qty-inline-number.inputlike{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.qty-inline-number.inputlike::-webkit-outer-spin-button,.qty-inline-number.inputlike::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.quick-info{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.chip{display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;border-radius:18px;font-size:14px;font-weight:600;line-height:1;white-space:nowrap;border:1px solid var(--border);background:#f8f9fa;color:var(--text);transition:all .15s ease}.chip-blue{background:#e8f0ff;color:#004aad}.chip-pink{background:#ffeaf3;color:#a00065}.chip-lilac{background:#f1e9ff;color:#5b33b5}.chip-mint{background:#e7fff4;color:#00754a}.chip-gray{background:#f4f4f4;color:#333}.chip.as-button{cursor:pointer}.chip.as-button:hover{background:#fff;box-shadow:0 1px 4px #00000014;transform:translateY(-1px)}.gender-section,.age-section{display:flex;align-items:center;gap:8px}.inputlike.small,select.inputlike.small{font-size:14px;padding:5px 10px;border-radius:10px;border:1px solid var(--border);background:#fff}.btn.small{padding:5px 10px;font-size:13px;border-radius:8px}.btn.secondary.small{background:#f3f3f3;border:1px solid var(--border);color:var(--text)}.toy-tags{text-align:center;width:100%}.toy-tags .section-subtitle{text-align:center;display:block;margin-bottom:12px}.toy-tags .chips{justify-content:center;flex-wrap:wrap;margin-top:8px}.toy-tags .tag-input{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.toy-tags .tag-input input{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px 12px;min-width:0;width:100%;max-width:300px;box-sizing:border-box;box-shadow:var(--shadow);font-size:14px}.toy-tags .tag-input input:focus{outline:none;border-color:#cfd7df;box-shadow:0 0 0 3px #00a86b1a}.toy-tags p{text-align:center}.loc-sections{display:grid;gap:12px}.loc-section{border:1px dashed var(--border);border-radius:12px;padding:10px;background:#fff}.loc-section-title{font-weight:800;margin-bottom:8px}.loc-boxes{display:grid;gap:8px}.loc-box{border:1px solid var(--border);border-radius:10px;padding:10px;background:#fafafa;text-decoration:none;color:inherit;transition:background .12s ease,border-color .12s ease,transform .04s ease}.loc-box:hover{background:#f3f6f9;border-color:#d8dde3}.loc-box:active{transform:translateY(1px)}.loc-box-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.loc-box-code{font-weight:700}.loc-box-qty{color:var(--muted)}.loc-box-note{margin-top:6px;color:var(--muted);font-size:13px}.add-grid{--gap: 16px;--field-h: 44px;--maxw: 1100px;display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start;width:min(var(--maxw),100%);margin:20px auto 12px;padding:0 20px}.add-grid>.field,.add-grid>.form-row,.add-grid>.group,.add-grid>div,.add-grid>section,.add-grid>article{display:grid;gap:8px;min-width:0}.add-grid label{font-weight:600;font-size:14px;line-height:1.2}.add-grid input[type=text],.add-grid input[type=number],.add-grid input[type=date],.add-grid input[type=email],.add-grid input[type=tel],.add-grid input[type=search],.add-grid input[type=url],.add-grid select,.add-grid textarea{width:100%;min-height:var(--field-h);box-sizing:border-box;margin:0}.add-grid select{background:none;background-image:none;padding-right:unset}@media (max-width: 340px){.add-grid{grid-template-columns:1fr}}.inline{display:grid;gap:var(--gap);grid-template-columns:repeat(2,1fr)}@media (min-width: 900px){.inline{grid-template-columns:repeat(3,1fr)}}.section-card .detail-card{grid-template-columns:1fr;justify-items:stretch}.section-card .detail-card>.add-grid+div{grid-column:1 / -1;justify-self:stretch;display:grid;gap:8px;align-items:start;text-align:left;padding:0 20px}.section-card .detail-card>.add-grid+div>label{position:static;order:0;margin:0;align-self:start}.section-card .detail-card>.add-grid+div>textarea{width:100%;min-height:140px;text-align:left;justify-self:stretch}.add-grid .description,.add-grid #description,.add-grid textarea[name=description]{grid-column:1 / -1}.add-actions,.actions,.footer-actions{position:sticky;bottom:12px;margin-top:24px;display:flex;gap:12px;justify-content:flex-end;padding-top:12px;background:linear-gradient(to top,#00000040,#0000);z-index:3}@media (max-width: 420px){.add-actions,.actions,.footer-actions{justify-content:center;gap:10px}}.actions .btn,.actions button[type=submit]{min-height:44px;padding:10px 20px;border-radius:12px}:root{--bg: #ECEFF3;--panel: #F3F5F9;--panel-soft: #F6F8FB;--text: #313131;--muted: #313131b3;--brand: #00A86B;--accent: #DA3434;--border: #E0E0E1;--shadow: 0 2px 8px rgba(0,0,0,.06);--panel-head: #FFFFFF;--tone-pink: #FDECF2;--tone-pink-b: #F7C8DA;--tone-blue: #E8F1FF;--tone-blue-b: #BDD5FF;--tone-mint: #EAFBF3;--tone-mint-b: #C7F3E1;--tone-lilac:#F1E9FE;--tone-lilac-b:#D8C5FD;--tone-amber:#FFF4E5;--tone-amber-b:#FFD8A8;--tone-sun: #FFF6E7;--tone-sun-b: #FFE0A6;--tone-rose: #FFE8E8;--tone-rose-b: #FFC1C1}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}.app-shell{min-height:100%;display:grid;grid-template-rows:auto 1fr auto;background:#d7d7d7}.topbar{position:sticky;top:0;z-index:50;height:56px;background:#ffffffbf;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);display:grid;grid-template-columns:56px 1fr 56px;align-items:center;box-shadow:var(--shadow)}.topbar-btn{width:56px;height:56px;display:grid;place-items:center;background:transparent;border:none;cursor:pointer}.topbar-title{text-align:center;font-weight:700;font-size:17px}.bottombar{position:sticky;bottom:0;z-index:50;height:64px;background:#ffffffbf;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--border);display:grid;grid-auto-flow:column;justify-content:space-around;align-items:center;box-shadow:var(--shadow)}.tablink{display:grid;justify-items:center;gap:6px;text-decoration:none;color:var(--muted);font-size:12px;padding:8px 10px;border-radius:12px}.tablink.active{color:var(--brand);background:#ecfdf5}.drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:block;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;pointer-events:none}.drawer.open{opacity:1;visibility:visible;pointer-events:auto}.drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000040;opacity:0;transition:opacity .3s ease}.drawer.open .drawer-backdrop{opacity:1}.drawer-panel{position:absolute;top:0;left:0;width:78vw;max-width:320px;height:100%;background:var(--panel);border-right:1px solid var(--border);padding:16px;box-shadow:0 1px 2px #0000001a,0 8px 24px #0000001f,inset 0 1px #ffffffa6;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.drawer.open .drawer-panel{transform:translate(0)}.drawer-title{font-weight:800;margin:4px 0 12px}.drawer-section{margin-top:12px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.drawer-link{display:flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:12px;text-decoration:none;border:1px solid var(--border);background:#fff;color:var(--text);font-weight:600;text-align:center;transition:transform .04s ease,background .12s ease,border-color .12s ease,box-shadow .12s ease;margin-bottom:8px;box-shadow:0 1px 2px #0000000f,inset 0 1px #fffc}.drawer-link:hover{background:#f8f9fa;border-color:#d8dde3;box-shadow:0 2px 4px #00000014,inset 0 1px #ffffffe6}.drawer-link:active{transform:translateY(1px)}.drawer-link.signout{color:var(--accent)}button.drawer-link{text-align:center;width:100%;font-family:inherit;font-size:inherit;cursor:pointer}.page-content{padding:12px 16px 84px;max-width:980px;margin:0 auto;width:100%}.panel{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:0;box-shadow:var(--shadow);overflow:hidden}.detail-panel{background:var(--panel-soft)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:2px solid var(--border);background:var(--panel-head)}.panel-title{margin:0;font-weight:800;font-size:18px}.panel-actions{display:flex;gap:8px;align-items:center}.panel-body{padding:16px}.detail-topbar{display:grid;grid-template-columns:56px 1fr 56px;align-items:center;height:56px;border-bottom:2px solid var(--border);background:var(--panel-head);padding:0 6px}.detail-topbar-title{text-align:center;font-weight:800;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-topbar-spacer{width:56px;height:56px}.icon-btn{width:44px;height:44px;display:grid;place-items:center;background:#f8f8f8;border:1px solid var(--border);border-radius:10px;cursor:pointer;margin-left:6px}.section-card{margin:14px;border-radius:14px}.detail-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:0 1px 2px #0000001a,0 6px 16px #00000014,inset 0 1px #ffffffa6}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.section-title{font-weight:800;text-align:left;flex-grow:1}.section-actions{display:flex;gap:8px;align-items:center}.section-subtitle{color:var(--muted);font-size:12px}.divider{height:1px;background:var(--border);margin:12px 0 10px}.chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;font-size:12px}.route-transition{animation:pageIn .68s cubic-bezier(.22,1,.36,1);animation-fill-mode:both;will-change:opacity,transform,filter;backface-visibility:hidden}@media (prefers-reduced-motion: reduce){.route-transition{animation:none}}@keyframes pageIn{0%{opacity:0;transform:translateY(10px) scale(.985);filter:blur(1.5px)}60%{opacity:1;filter:blur(0)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;background:#00000061;padding:16px}.modal-panel{width:min(680px,100%);background:#fff;border-radius:16px;border:1px solid var(--border);box-shadow:var(--shadow)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--border)}.modal-title{font-weight:800}.confirm-body{padding:18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 14px 14px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}.col-thumb{width:1%;white-space:nowrap}.thumb{width:44px;height:44px;object-fit:cover;border-radius:10px;border:1px solid var(--border);background:#fff}.col-actions{white-space:nowrap;width:1%}.controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.auth-panel{max-width:720px;margin:0 auto;width:100%;box-sizing:border-box}.auth-password-grid{margin-top:12px;display:grid;gap:10px;grid-template-columns:1fr;align-items:start}@media (min-width: 640px){.auth-password-grid{grid-template-columns:1fr 1fr}}.auth-dob-phone-grid{display:grid;gap:10px;grid-template-columns:1fr;align-items:start}@media (min-width: 640px){.auth-dob-phone-grid{grid-template-columns:1fr 1fr}}.auth-panel label,.auth-panel .input{min-width:0;max-width:100%}.input,.select{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px 12px;min-width:0;width:100%;box-sizing:border-box;box-shadow:var(--shadow)}.select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23313131' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");background-repeat:no-repeat;background-position:right 12px center;background-size:20px 20px;padding-right:42px}.select:focus,.input:focus{outline:none;border-color:#cfd7df;box-shadow:0 0 0 3px #00a86b1a}.btn{background:var(--brand);color:#fff;border:none;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.btn.secondary{background:#f8f8f8;color:var(--text);border:1px solid var(--border)}.btn.danger{background:var(--accent);color:#fff}.btn-compact{padding:6px 8px}.stat-subtle{color:var(--muted);font-size:11px;margin-top:4px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip-pink{background:var(--tone-pink);border-color:var(--tone-pink-b)}.chip-blue{background:var(--tone-blue);border-color:var(--tone-blue-b)}.chip-lilac{background:var(--tone-lilac);border-color:var(--tone-lilac-b)}.chip-amber{background:var(--tone-amber);border-color:var(--tone-amber-b)}.chip-mint{background:var(--tone-mint);border-color:var(--tone-mint-b)}.chip-sun{background:var(--tone-sun);border-color:var(--tone-sun-b)}.chip-rose{background:var(--tone-rose);border-color:var(--tone-rose-b)}.btn:disabled{background:#d4d4d4!important;color:#888!important;border:1px solid #c2c2c2!important;opacity:.7;cursor:not-allowed!important;box-shadow:none}.barcode-wrap{padding:18px}.confirm-row{display:flex;align-items:center;justify-content:center;gap:16px}.confirm-qty-old,.confirm-qty-new{min-width:70px;text-align:center;font-size:28px;font-weight:900;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff}.confirm-qty-old{color:var(--muted)}.confirm-qty-new{color:var(--text)}
