@font-face{font-family:'DM Sans';src:url('./assets/dm-sans-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'DM Sans';src:url('./assets/dm-sans-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'DM Sans';src:url('./assets/dm-sans-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'DM Sans';src:url('./assets/dm-sans-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Noto Sans Gujarati';src:url('./assets/noto-sans-gujarati-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans Gujarati';src:url('./assets/noto-sans-gujarati-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Noto Sans Gujarati';src:url('./assets/noto-sans-gujarati-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Noto Sans Gujarati';src:url('./assets/noto-sans-gujarati-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{--blue:#2458d3;--blue-dark:#1744b1;--blue-light:#edf3ff;--ink:#192c46;--muted:#68768b;--line:#e2e7ef;--bg:#f4f6fa;--white:#fff;--green:#17764d;--green-light:#eaf6ee;--red:#b63c48;--red-light:#fff0f1;--shadow:0 16px 50px #223b6212;--radius:20px;--sidebar:236px;font-family:'DM Sans','Noto Sans Gujarati',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.46}button{touch-action:manipulation}a{color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #8bafff;outline-offset:4px}input:focus-visible,textarea:focus-visible{outline:none}button svg,span svg{flex-shrink:0}svg{vertical-align:middle;flex-shrink:0}.icon{width:23px;height:23px;stroke-width:1.8}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;font-weight:750}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:18px;letter-spacing:-.2px}small{font-size:13px}.muted{color:var(--muted)}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}.hidden{display:none!important}.stack{display:grid;gap:18px}.spaced{display:flex;align-items:center;justify-content:space-between;gap:12px}.label{display:block;font-size:15px;font-weight:650;margin-bottom:9px}.required{color:var(--red)}.brand-mark{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:4px;width:42px;height:42px;border-radius:12px;background:var(--blue);place-content:center;flex-shrink:0}.brand-mark span{background:white;border-radius:2px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:20px;letter-spacing:-.5px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:35px 22px;display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);z-index:10}.side-nav{display:grid;gap:8px;margin-top:48px}.nav-item{display:flex;align-items:center;gap:13px;border:0;border-radius:12px;background:none;padding:15px 17px;text-align:left;font-weight:550;color:var(--muted);font-size:15px}.nav-item.active{background:var(--blue-light);color:var(--blue);font-weight:700}.nav-item:hover:not(.active){background:var(--bg)}.side-bottom{margin-top:auto;display:grid;gap:16px}.device-note{display:flex;gap:11px;padding:15px 12px;border-top:1px solid var(--line);color:var(--muted);line-height:1.5;font-size:12px}.device-note svg{color:var(--green);width:20px}.device-note strong{display:block;font-weight:600;color:var(--ink);font-size:13px}.main{margin-left:var(--sidebar);padding:40px 42px 50px;max-width:1700px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.page-subtitle{font-size:15px;color:var(--muted);margin-top:8px;line-height:1.5}.header-tools{display:flex;align-items:center;gap:17px}.language{display:inline-flex;align-items:center;padding:4px;border-radius:11px;border:1px solid var(--line);background:white;gap:3px}.language button{background:none;border:0;border-radius:7px;min-width:65px;min-height:35px;padding:5px 11px;font-size:13px;font-weight:600;white-space:nowrap}.language button.active{background:var(--blue);color:white;box-shadow:0 2px 5px #2458d31a}.connection{display:inline-flex;gap:6px;align-items:center;color:var(--muted);font-size:12px;white-space:nowrap}.connection:before{content:'';width:6px;height:6px;background:var(--green);border-radius:100%}.connection.offline:before{background:#c48223}.mobile-brand,.bottom-nav{display:none}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid transparent;border-radius:12px;min-height:49px;padding:12px 20px;font-size:15px;line-height:1.3;font-weight:650;text-decoration:none}.btn svg{width:21px;height:21px}.btn.primary{background:var(--blue);color:white;box-shadow:0 4px 9px #2458d315}.btn.primary:hover{background:var(--blue-dark)}.btn.secondary{background:white;border-color:var(--line)}.btn.secondary:hover{border-color:#b6c9ee;background:#f8faff}.btn.ghost{background:transparent;color:var(--blue);padding:10px}.btn.in{background:var(--green);color:white}.btn.in:hover{background:#10613d}.btn.out{background:var(--red-light);border-color:#f7d9dd;color:var(--red)}.btn.out.solid{background:var(--red);color:white;border-color:transparent}.btn.danger{color:var(--red);background:var(--red-light)}.btn.wide{width:100%}.btn.small{font-size:13px;min-height:39px;padding:9px 13px;border-radius:9px}.btn.text{padding:0;border:0;min-height:36px;background:none;color:var(--blue)}.icon-btn{border:1px solid var(--line);background:white;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;flex-shrink:0}.icon-btn:hover{background:var(--bg)}.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:22px}.search{display:flex;align-items:center;background:white;border:1px solid #dce3ee;border-radius:13px;height:54px;gap:12px;padding:0 17px;flex:1;min-width:0;transition:border-color .15s,box-shadow .15s}.search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #2458d30d}.search>.icon{color:#7c8aa0;width:21px;height:21px}.search input{width:100%;height:100%;border:0;background:transparent;outline:none;font-size:15px;color:var(--ink);min-width:0}.search input::placeholder{color:#8a95a6}.search .clear-search{background:none;border:0;padding:6px;color:var(--muted)}.filters{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.chip{border:1px solid transparent;min-height:39px;border-radius:10px;background:transparent;color:var(--muted);font-weight:550;font-size:13px;padding:8px 14px;display:flex;gap:7px;align-items:center}.chip.active{background:white;color:var(--blue);border-color:#dce5f6;box-shadow:0 2px 4px #192c4603}.chip:hover:not(.active){background:#e9edf5}.chip .count{font-size:11px;padding:2px 6px;background:#edf0f6;color:var(--muted);border-radius:5px}.chip.active .count{background:var(--blue-light);color:var(--blue)}.result-count{font-size:12px;color:var(--muted)}.design-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.design-card{padding:0;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:white;text-align:left;min-width:0;transition:box-shadow .16s,border-color .16s,transform .16s}.design-card:hover{border-color:#b5c9ed;box-shadow:0 9px 22px #243c5b0b;transform:translateY(-2px)}.card-photo{position:relative;background:#edf0f5;aspect-ratio:1.12;overflow:hidden}.card-photo img{width:100%;height:100%;object-fit:cover;display:block}.no-photo{height:100%;display:grid;place-items:center;color:#a3afc1}.no-photo svg{height:50px;width:50px}.photo-count{position:absolute;right:10px;bottom:10px;background:#ffffffeb;backdrop-filter:blur(5px);display:flex;align-items:center;gap:4px;border-radius:6px;padding:4px 6px;font-size:11px}.photo-count svg{width:13px;height:13px}.card-content{padding:17px 17px 18px}.card-title{font-size:16px;font-weight:750;letter-spacing:-.3px}.card-desc{font-size:13px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:4px;line-height:1.4;min-height:18px}.card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:17px}.card-stock{font-size:29px;font-weight:750;letter-spacing:-.8px;line-height:1}.card-stock small{font-size:12px;font-weight:500;letter-spacing:0;margin-left:5px;color:var(--muted)}.card-stock.zero{color:var(--red)}.card-open{display:flex;align-items:center;justify-content:center;width:27px;height:27px;background:#f2f5fb;color:#7689a6;border-radius:8px}.card-open svg{width:15px;height:15px}.empty{max-width:530px;margin:60px auto;text-align:center;padding:30px 15px}.empty h2{font-size:25px;margin-top:25px}.empty p{color:var(--muted);line-height:1.65;margin:12px 0 25px;font-size:15px}.empty-actions{display:flex;gap:11px;justify-content:center;flex-wrap:wrap}.empty-art{height:150px;position:relative;width:210px;margin:auto}.art-card{position:absolute;left:42px;top:0;width:126px;height:145px;border:1px solid #ced9ec;background:white;border-radius:15px;padding:12px;box-shadow:0 14px 25px #192c4608;transform:rotate(-7deg)}.art-card:before{content:'';display:block;height:79px;background:#ebf0fb;border-radius:9px}.art-card:after{content:'';display:block;width:53px;height:7px;border-radius:5px;background:#c4d4f2;box-shadow:0 14px 0 #e4e9f2;margin-top:12px}.art-card.second{transform:rotate(8deg);left:68px;top:10px}.art-card.second:before{background:#dae7ff}.art-center{position:absolute;inset:36px auto auto 104px;transform:translateX(-50%);color:var(--blue)}.art-center svg{width:40px;height:40px}.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eef3fe;border:1px solid #dbe6fc;border-radius:12px;padding:12px 15px;margin-bottom:24px;font-size:13px;color:#416192}.demo-banner .banner-copy{display:flex;align-items:center;gap:10px}.demo-banner strong{font-weight:650;color:#234d9c}.demo-banner .btn{white-space:nowrap}.list-panel{border:1px solid var(--line);background:white;border-radius:17px;overflow:hidden}.movement{display:flex;align-items:center;gap:15px;padding:19px 22px;border-bottom:1px solid #edf0f5}.movement:last-child{border:0}.move-icon{width:42px;height:42px;background:var(--green-light);color:var(--green);border-radius:12px;display:grid;place-items:center;flex-shrink:0}.move-icon.out{background:var(--red-light);color:var(--red)}.move-icon.correction{background:var(--blue-light);color:var(--blue)}.move-copy{flex:1;min-width:0}.move-top{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650}.move-sub{color:var(--muted);font-size:12px;margin-top:5px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.move-note{font-size:12px;margin-top:5px;color:#53647e}.move-number{text-align:right;font-size:19px;font-weight:700;color:var(--green);white-space:nowrap}.move-number.out{color:var(--red)}.move-number small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:4px}.history-date{font-size:12px;font-weight:600;color:var(--muted);margin:25px 0 12px 4px}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.back-button{background:none;border:0;display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--blue);padding:8px 0;min-height:42px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:40px;align-items:start;max-width:1100px;margin:auto}.detail-image{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;border-radius:23px;background:#e7edf5}.detail-thumbs{display:flex;gap:10px;margin-top:13px}.detail-thumbs button{padding:0;border:2px solid transparent;border-radius:10px;background:none;width:64px;height:64px;overflow:hidden}.detail-thumbs button.active{border-color:var(--blue);padding:2px}.detail-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:6px}.detail-info{padding-top:15px}.detail-code{font-size:35px;letter-spacing:-1px;line-height:1.25}.detail-description{color:var(--muted);font-size:18px;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}.stock-panel{background:white;border:1px solid var(--line);border-radius:17px;padding:24px;margin-top:26px}.stock-panel>p{font-size:14px;color:var(--muted);font-weight:500}.stock-panel .large-stock{font-size:73px;letter-spacing:-3px;font-weight:750;line-height:1.1;color:var(--blue);margin-top:8px;overflow-wrap:anywhere}.stock-panel .large-stock.zero{color:var(--red)}.stock-panel .large-stock small{font-size:19px;letter-spacing:0;font-weight:500;color:var(--muted);margin-left:10px}.detail-row{margin-top:18px;width:100%;border:1px solid var(--line);border-radius:12px;background:white;padding:16px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;min-height:57px}.detail-row .chevron{margin-left:auto;color:#93a1b5}.detail-row .icon{color:#647b9a}.detail-meta{color:#8793a5;font-size:11px;margin-top:19px}.detail-actions{display:flex;gap:12px;margin-top:28px}.detail-actions .btn{flex:1;min-height:59px;font-size:16px;border-radius:14px}.detail-actions .btn svg{width:25px;height:25px;stroke-width:2.2}.detail-options{display:flex;gap:16px;margin-top:20px}.detail-options button{font-size:12px}.settings-layout{max-width:760px;display:grid;gap:25px}.settings-group{background:white;border:1px solid var(--line);border-radius:17px;padding:25px}.settings-group h2{font-size:18px}.settings-group>p{font-size:13px;color:var(--muted);line-height:1.65;margin:8px 0 18px;max-width:580px}.settings-group .setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-group .btn-row{display:flex;gap:12px;flex-wrap:wrap}.settings-icon{background:var(--blue-light);color:var(--blue);height:37px;width:37px;display:grid;place-items:center;border-radius:10px;margin-bottom:14px}.settings-icon svg{width:20px}.settings-footnote{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;color:var(--muted);padding:0 5px}.settings-footnote svg{width:17px;margin-top:1px}.danger-zone{border-color:#efdce0}.danger-zone .btn{margin-top:5px}.boot{height:100dvh;display:flex;align-items:center;justify-content:center;gap:13px;flex-direction:column;font-size:22px;font-weight:700}.boot .brand-mark{width:52px;height:52px}.loading-line{width:100px;height:3px;background:#e2e8f2;overflow:hidden;border-radius:3px;margin-top:15px}.loading-line:after{content:'';display:block;width:45px;height:3px;background:var(--blue);animation:loading 1s infinite ease-in-out}@keyframes loading{from{transform:translateX(-45px)}to{transform:translateX(100px)}}dialog{border:0;padding:0;background:white;color:var(--ink);width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 48px);border-radius:23px;box-shadow:0 25px 100px #11284d26;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#14294460;backdrop-filter:blur(3px)}dialog[open]{animation:sheet-in .18s ease-out}@keyframes sheet-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.sheet-handle{display:none}.sheet-header{padding:23px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:white;z-index:2;border-radius:23px 23px 0 0}.sheet-heading{display:flex;align-items:center;gap:11px;min-width:0}.sheet-heading h2{font-size:22px;font-weight:750}.sheet-header .icon-btn{border:0;background:#f2f4f8;width:34px;height:34px;border-radius:100%;color:var(--muted)}.sheet-header .icon-btn svg{width:19px}.action-bubble{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:var(--blue-light);color:var(--blue)}.action-bubble.in{background:var(--green-light);color:var(--green)}.action-bubble.out{background:var(--red-light);color:var(--red)}.action-bubble svg{width:23px;stroke-width:2.2}.sheet-body{padding:3px 25px 23px}.sheet-footer{padding:15px 25px 23px;background:white;position:sticky;bottom:0;z-index:2;border-top:1px solid #edf0f5}.sheet-footer .btn{min-height:55px;border-radius:13px;font-size:16px}.design-context{display:flex;align-items:center;gap:13px;padding:2px 0 19px;border-bottom:1px solid var(--line);margin-bottom:24px}.context-photo{width:57px;height:57px;border-radius:11px;object-fit:cover;background:var(--bg);overflow:hidden;flex-shrink:0}.context-photo .no-photo svg{width:24px;height:24px}.context-code{font-weight:750;font-size:17px}.context-stock{font-size:13px;color:var(--muted);margin-top:5px}.quantity-wrap{position:relative;border:2px solid #cbd7eb;background:#f8faff;border-radius:15px;display:flex;align-items:center;min-height:99px;padding:8px 19px;transition:border-color .15s,box-shadow .15s}.quantity-wrap:focus-within{border-color:var(--blue);background:white;box-shadow:0 0 0 4px #2458d30c}.quantity-wrap.invalid{border-color:var(--red);background:#fffafb;box-shadow:none}.quantity-wrap input{display:block;border:0;background:none;width:100%;min-width:0;font-size:47px;line-height:1.3;letter-spacing:-1px;color:var(--ink);font-weight:650;outline:none;padding:6px 0;font-variant-numeric:tabular-nums}.quantity-wrap input::placeholder{color:#afbdd2;font-weight:500}.quantity-unit{color:var(--muted);font-size:15px;padding-left:12px;flex-shrink:0}.quantity-label{font-size:15px;font-weight:600;margin:0 0 11px;display:block}.stock-preview{margin-top:18px;border-radius:12px;background:var(--green-light);padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:62px}.stock-preview.out{background:var(--red-light)}.stock-preview.correction{background:var(--blue-light)}.preview-label{font-size:13px;color:var(--green)}.stock-preview.out .preview-label{color:var(--red)}.stock-preview.correction .preview-label{color:var(--blue)}.preview-numbers{font-size:25px;font-weight:750;color:var(--green);font-variant-numeric:tabular-nums;white-space:nowrap}.preview-numbers span{font-size:17px;font-weight:450;color:#748b7e;margin-right:8px}.stock-preview.out .preview-numbers{color:var(--red)}.stock-preview.correction .preview-numbers{color:var(--blue)}.note-disclosure{margin-top:22px;font-size:13px;color:var(--muted)}.note-disclosure summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;min-height:33px}.note-disclosure summary svg{width:16px;height:16px}.note-disclosure textarea{margin-top:10px;min-height:70px}.field{margin-bottom:20px}.field:last-child{margin-bottom:0}.field input,.field textarea,.note-disclosure textarea{width:100%;border:1.5px solid #dce3ed;border-radius:11px;padding:14px 15px;background:#fbfcfe;outline:none;font-size:15px;color:var(--ink);transition:box-shadow .15s,border-color .15s}.field input:focus,.field textarea:focus,.note-disclosure textarea:focus{border-color:var(--blue);background:white;box-shadow:0 0 0 3px #2458d30b}.field input::placeholder,.field textarea::placeholder{color:#9ba6b7}.field textarea{resize:vertical;min-height:87px;line-height:1.5}.field-help{font-size:12px;color:var(--muted);line-height:1.5;margin-top:8px}.field-error{font-size:12px;color:var(--red);line-height:1.5;margin-top:8px;min-height:0}.field-error:empty{display:none}.form-error:not(:empty){background:var(--red-light);color:var(--red);padding:12px 14px;border-radius:10px;margin-top:15px;font-size:13px;line-height:1.5}.photo-picker{border:1.5px dashed #ccd8ec;border-radius:14px;min-height:135px;background:#f8faff;padding:18px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px}.photo-picker>svg{width:29px;height:29px;color:var(--blue)}.photo-picker p{font-size:12px;color:var(--muted)}.photo-picker .btn-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.photo-previews{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:13px}.photo-preview{width:78px;height:78px;position:relative}.photo-preview img{width:100%;height:100%;object-fit:cover;border-radius:10px}.remove-photo{position:absolute;right:-4px;top:-5px;width:25px;height:25px;display:grid;place-items:center;padding:0;border-radius:50%;background:var(--ink);color:white;border:2px solid white}.remove-photo svg{width:13px;height:13px}.search-first-copy{font-size:14px;color:var(--muted);line-height:1.65;margin-bottom:19px}.match-list{display:grid;gap:10px;margin-top:17px}.match-card{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);background:white;border-radius:12px;text-align:left;width:100%}.match-card:hover{border-color:#adbfdf;background:#f9fbff}.match-card img,.match-card .context-photo{width:54px;height:54px;object-fit:cover;border-radius:9px}.match-card .context-code{font-size:14px}.match-card .context-stock{font-size:12px;margin-top:4px}.match-card .chevron{margin-left:auto;color:var(--blue);width:18px}.no-match{color:var(--muted);font-size:13px;line-height:1.6;text-align:center;padding:25px 10px}.confirm-copy{font-size:14px;line-height:1.75;color:var(--muted)}.confirm-copy strong{color:var(--ink)}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toast{position:fixed;bottom:29px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,20px);background:var(--ink);color:white;border-radius:13px;box-shadow:0 9px 28px #192c462b;padding:14px 18px;display:flex;align-items:center;gap:16px;max-width:min(540px,calc(100% - 32px));min-height:52px;z-index:50;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;font-size:14px}.toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}.toast-message{display:flex;align-items:center;gap:9px;line-height:1.5}.toast-message svg{width:18px;height:18px;color:#a8e1c1}.toast button{background:none;border:0;color:#b7ceff;font-size:14px;font-weight:700;padding:5px 3px;white-space:nowrap}body:has(dialog[open]){overflow:hidden}.offline-note{margin-top:15px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.settings-group .language{margin-top:5px}html[lang=gu] h1{letter-spacing:-.5px;font-size:29px}html[lang=gu] .nav-item{font-size:14px}html[lang=gu] .btn{line-height:1.55}html[lang=gu] .card-stock{font-family:'DM Sans','Noto Sans Gujarati',sans-serif}html[lang=gu] .quantity-label{line-height:1.6}
@media(min-width:1600px){.design-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1250px){:root{--sidebar:210px}.main{padding:34px 30px}.sidebar{padding:32px 18px}.brand{font-size:18px;gap:10px}.design-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.detail-layout{gap:27px;grid-template-columns:minmax(0,1fr) minmax(280px,.9fr)}.header-tools{gap:12px}.connection{display:none}.detail-code{font-size:30px}}
@media(max-width:960px){:root{--sidebar:84px}.sidebar{padding:30px 13px}.sidebar .brand{justify-content:center}.sidebar .brand>span,.nav-item>span,.side-bottom{display:none}.side-nav{margin-top:38px}.nav-item{justify-content:center;padding:17px;gap:0}.nav-item svg{width:24px;height:24px}.main{padding:30px 25px}.detail-layout{gap:23px;grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)}.detail-actions{gap:8px}.detail-actions .btn{font-size:14px;padding:12px}.stock-panel{padding:18px}.stock-panel .large-stock{font-size:61px}.stock-panel .large-stock small{font-size:16px}.card-content{padding:14px}.card-stock{font-size:27px}.page-header{margin-bottom:27px}}
@media(max-width:720px){:root{--sidebar:0px}.sidebar{display:none}.main{margin:0;padding:24px 20px 110px}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;margin-bottom:25px;color:#425775}.mobile-brand .brand-mark{width:28px;height:28px;border-radius:8px;grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);gap:3px}.page-header{align-items:flex-start;margin-bottom:24px;gap:12px}.page-header h1{font-size:28px;letter-spacing:-.8px}.page-subtitle{font-size:13px;margin-top:7px;max-width:240px}.header-tools{padding-top:0}.language{padding:3px;border-radius:10px}.language button{min-width:45px;min-height:33px;padding:5px 8px;font-size:12px}.toolbar{gap:9px;margin-bottom:17px}.search{height:53px;padding:0 14px;gap:9px}.search input{font-size:14px}.toolbar>.btn{min-height:53px;padding:13px;font-size:14px;border-radius:12px}.toolbar>.btn>span{display:none}.toolbar>.btn svg{width:23px;height:23px}.filter-row{margin-bottom:19px}.chip{padding:9px 12px;font-size:12px;min-height:39px}.result-count{display:none}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.card-photo{aspect-ratio:1/1}.design-card{border-radius:15px}.card-content{padding:13px}.card-title{font-size:15px}.card-desc{font-size:12px;margin-top:3px}.card-bottom{margin-top:13px}.card-stock{font-size:28px}.card-stock small{font-size:11px;margin-left:4px}.card-open{width:24px;height:24px;border-radius:7px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:9px 18px max(12px,env(safe-area-inset-bottom));z-index:12;min-height:76px}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:none;border:0;min-width:77px;min-height:46px;color:#8995a7;font-size:11px;font-weight:500;padding:3px 8px;border-radius:10px}.bottom-nav button.active{color:var(--blue)}.bottom-nav button.active>svg{fill:#2458d310}.bottom-nav button svg{width:23px;height:23px}.toast{bottom:calc(91px + env(safe-area-inset-bottom));left:50%;font-size:13px;max-width:calc(100% - 32px);width:max-content;gap:15px;padding:13px 15px}.detail-header{margin-bottom:15px}.detail-layout{display:block;max-width:500px}.detail-photo-wrap{max-width:500px}.detail-image{aspect-ratio:1.2;border-radius:18px;max-height:380px}.detail-info{padding-top:21px}.detail-code{font-size:30px}.detail-description{font-size:16px;margin-top:4px}.stock-panel{margin-top:20px;border-radius:15px;padding:19px 21px;background:var(--blue-light);border-color:#e1eafb}.stock-panel .large-stock{font-size:65px;line-height:1.15;letter-spacing:-2.5px;margin-top:4px}.stock-panel .large-stock small{font-size:18px}.detail-row{padding:15px;font-size:14px;margin-top:15px}.detail-actions{position:fixed;bottom:0;left:0;right:0;padding:13px 20px max(16px,env(safe-area-inset-bottom));margin:0;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:13;gap:12px}.detail-actions .btn{font-size:16px;min-height:57px;padding:14px;border-radius:14px}.detail-meta{margin-top:15px}.detail-options{margin-top:15px;gap:14px}.detail-view+.bottom-nav,.detail-view~.bottom-nav{display:none}.detail-view .mobile-brand{display:none}.detail-view{padding-top:max(16px,env(safe-area-inset-top))}.settings-group{padding:21px;border-radius:15px}.settings-layout{gap:18px}.settings-group .btn-row{display:grid;grid-template-columns:1fr}.settings-group .setting-row{align-items:flex-start}.settings-group .setting-row p{font-size:13px}.demo-banner{align-items:flex-start;margin-bottom:20px;padding:11px 12px;gap:8px;font-size:12px}.demo-banner .banner-copy{gap:7px;align-items:flex-start}.demo-banner .banner-copy>svg{margin-top:2px;width:17px;height:17px}.demo-banner .btn{padding:6px 8px;font-size:11px;min-height:32px}.demo-banner strong{display:block;margin-bottom:2px}.movement{padding:15px 13px;gap:11px}.move-icon{height:37px;width:37px;border-radius:10px}.move-icon svg{width:20px}.move-top{font-size:13px;gap:5px;flex-wrap:wrap}.move-sub{font-size:11px}.move-number{font-size:17px}.empty{margin:40px auto;padding:20px 5px}.empty h2{font-size:23px}.empty p{font-size:14px;max-width:330px;margin:12px auto 23px}.empty-actions{flex-direction:column;align-items:stretch;max-width:280px;margin:auto}.confirm-actions .btn{font-size:14px}.sheet-body{padding:3px 22px 21px}.sheet-header{padding:20px 22px 16px}.sheet-header .sheet-heading h2{font-size:22px}.sheet-footer{padding:14px 22px max(21px,env(safe-area-inset-bottom))}.sheet-footer .btn{min-height:56px}.quantity-wrap{min-height:105px}.quantity-wrap input{font-size:49px}.quantity-unit{font-size:14px}.stock-preview{min-height:66px}.preview-numbers{font-size:27px}.detail-thumbs button{width:54px;height:54px}html[lang=gu] .page-header h1{font-size:27px}html[lang=gu] .detail-actions .btn{font-size:15px}}
@media(max-width:540px){dialog{position:fixed;inset:0;width:100%;max-width:100%;max-height:calc(var(--vvh,100dvh) - 16px);margin:auto 0 0;border-radius:25px 25px 0 0}.sheet-handle{display:block;width:37px;height:4px;border-radius:5px;background:#d2d8e2;margin:11px auto 0}.sheet-header{padding-top:16px;border-radius:0}.design-context{margin-bottom:22px;padding-bottom:18px}.photo-picker .btn{font-size:13px}.photo-picker{padding:15px}.photo-count{right:7px;bottom:7px}.toolbar>.btn:after{content:'+';font-size:28px;line-height:1;font-weight:400}.toolbar>.btn svg{display:none}}
@media(max-width:365px){.main{padding-left:15px;padding-right:15px}.design-grid{gap:11px}.card-content{padding:11px}.card-stock{font-size:25px}.card-open{display:none}.language button{min-width:39px;padding:5px 6px;font-size:11px}.page-header h1{font-size:25px}.filters{gap:3px}.chip{padding:8px 10px}.chip .count{display:none}.detail-actions{padding-left:15px;padding-right:15px}.sheet-header{padding-left:18px;padding-right:18px}.sheet-body{padding-left:18px;padding-right:18px}.sheet-footer{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:720px){.toolbar>.btn{padding-left:12px;padding-right:12px;gap:6px;font-size:12px}.toolbar>.btn>span{display:inline}.toolbar>.btn svg{display:inline;width:18px;height:18px}.toolbar>.btn:after{content:none}.toolbar .search{padding-left:12px;padding-right:8px;gap:7px}.toolbar .search input{font-size:13px}.chip{padding-left:11px;padding-right:11px}.filters{gap:4px}}
.match-card>div,.design-context>div:not(.context-photo){min-width:0}.context-code,.context-stock{overflow-wrap:anywhere}.stock-preview{flex-wrap:wrap}.preview-numbers{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;max-width:100%;white-space:normal;margin-left:auto}.preview-numbers b{overflow-wrap:anywhere;max-width:100%}.card-stock{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

/* A sheet has one scrolling body. Its title and action stay in the visible viewport. */
:root{--app-viewport-height:100dvh;--app-viewport-top:0px;--app-viewport-bottom:0px;--app-keyboard-inset:0px}
dialog{position:fixed;inset:calc(var(--app-viewport-top) + 16px) 0 calc(var(--app-viewport-bottom) + 16px);margin:auto;width:min(480px,calc(100% - 32px));height:fit-content;max-height:calc(var(--app-viewport-height) - 32px);overflow:hidden}
dialog[open]{display:flex;flex-direction:column}
.sheet-handle,.sheet-header,.sheet-footer{flex:0 0 auto}
.sheet-header{position:relative;top:auto;min-width:0}
.sheet-body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding:14px 0}
.sheet-footer{position:relative;bottom:auto;box-shadow:0 -6px 18px #192c4605}
.sheet-heading h2{overflow-wrap:anywhere}
.sheet-body input,.sheet-body textarea,.sheet-body select{scroll-margin-block:14px}
.field input,.field textarea,.note-disclosure textarea,.search input,select{font-size:16px}
.quantity-wrap input{font-size:47px}
.catalogue-tools{position:sticky;top:0;z-index:8;background:var(--bg);padding:12px 0 15px;margin-top:-12px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.catalogue-tools .toolbar{margin-bottom:13px}
.catalogue-tools .filter-row{margin-bottom:0;flex-wrap:wrap}
.catalogue-sort{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}
.catalogue-sort select,select.catalogue-sort{min-height:40px;max-width:100%;border:1px solid #dce3ed;border-radius:10px;background:white;color:var(--ink);padding:8px 30px 8px 11px;font-size:14px;font-weight:550}
.design-grid{gap:18px}
.card-content{padding:14px}
.card-bottom{margin-top:13px}
@media(min-width:541px){dialog.editor-sheet{height:min(760px,calc(var(--app-viewport-height) - 32px))}}
@media(max-width:720px){
  .toolbar .search input,.search input{font-size:16px}
  .catalogue-tools{padding-top:10px;padding-bottom:13px;margin-top:-10px;margin-bottom:14px}
  .catalogue-tools .filter-row{gap:9px}
  .catalogue-sort{margin-left:auto}
  .catalogue-sort select,select.catalogue-sort{font-size:16px;min-height:42px;padding:8px 25px 8px 9px}
  .design-grid{gap:12px}
  .card-content{padding:12px}
  .card-desc{margin-top:2px}
  .card-bottom{margin-top:11px}
  .keyboard-open .bottom-nav,.keyboard-open .detail-actions{display:none}
  .keyboard-open .toast{bottom:calc(var(--app-viewport-bottom) + 12px)}
  .keyboard-open .sheet-footer{padding-bottom:14px}
  .quantity-wrap input{font-size:49px}
}
@media(max-width:540px){
  dialog{inset:calc(var(--app-viewport-top) + 12px) 0 var(--app-viewport-bottom);margin:auto 0 0;width:100%;max-width:100%;max-height:calc(var(--app-viewport-height) - 12px);border-radius:25px 25px 0 0}
  dialog.editor-sheet{height:calc(var(--app-viewport-height) - 12px)}
  .sheet-body{padding-top:3px;padding-bottom:22px}
  .sheet-header{padding-top:15px}
}
@media(max-width:365px){.design-grid{gap:10px}.card-content{padding:10px}.catalogue-sort{width:100%;justify-content:flex-end}}
.draft-status{color:var(--muted);font-size:11px;line-height:1.6;margin-top:16px}.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;margin-bottom:18px;border-bottom:1px solid var(--line)}.draft-banner .draft-status{margin-top:0}.draft-banner .btn{font-size:11px;color:var(--muted);white-space:nowrap;min-height:36px}.draft-status.field-error{color:var(--red)}

/* VisualViewport classes also cover Safari, where media-query height stays tall. */
.viewport-compact .sheet-handle{height:3px;margin-top:8px}
.viewport-compact .sheet-header{padding:11px 18px 10px}
.viewport-compact .sheet-heading{gap:9px}
.viewport-compact .sheet-heading h2{font-size:19px;line-height:1.3}
.viewport-compact .action-bubble{width:32px;height:32px;border-radius:10px}
.viewport-compact .sheet-header .icon-btn{width:32px;height:32px}
.viewport-compact .sheet-body{padding:0 18px 15px;scroll-padding-block:10px}
.viewport-compact .sheet-footer{padding:10px 18px 12px}
.viewport-compact .sheet-footer .btn{min-height:48px;padding-top:10px;padding-bottom:10px;font-size:16px}
.viewport-compact .design-context{padding-bottom:11px;margin-bottom:13px;gap:10px}
.viewport-compact .context-photo{width:44px;height:44px;border-radius:9px}
.viewport-compact .context-code{font-size:15px}
.viewport-compact .context-stock{font-size:12px;margin-top:3px}
.viewport-compact .quantity-label{font-size:14px;margin-bottom:8px}
.viewport-compact .quantity-wrap{min-height:76px;padding:5px 14px;border-radius:13px}
.viewport-compact .quantity-wrap input{font-size:36px;line-height:1.2;padding:4px 0}
.viewport-compact .quantity-unit{font-size:13px}
.viewport-compact .stock-preview{margin-top:12px;min-height:52px;padding:10px 12px;gap:8px}
.viewport-compact .preview-numbers{font-size:23px}
.viewport-compact .preview-numbers span{font-size:15px}
.viewport-compact .note-disclosure{margin-top:12px}
.viewport-compact .note-disclosure textarea{min-height:64px;max-height:110px;margin-top:6px;padding:10px 12px}
.viewport-compact .field{margin-bottom:15px}
.viewport-compact .field .label{margin-bottom:7px}
.viewport-compact .field input,.viewport-compact .field textarea{padding:11px 12px;font-size:16px}
.viewport-compact .field textarea{min-height:64px;max-height:124px}
.viewport-compact .draft-banner{padding-bottom:10px;margin-bottom:12px}
.viewport-short .sheet-handle{display:none}
.viewport-short .sheet-header{padding-top:8px;padding-bottom:8px}
.viewport-short .sheet-heading h2{font-size:18px}
.viewport-short .sheet-body{padding-bottom:10px}
.viewport-short .sheet-footer{padding-top:8px;padding-bottom:8px}
.viewport-short .design-context{padding-bottom:8px;margin-bottom:10px}
.viewport-short .context-photo{width:36px;height:36px}
.viewport-short .quantity-label{margin-bottom:6px}
.viewport-short .note-disclosure{margin-top:8px}
.viewport-short .note-disclosure textarea,.viewport-short .field textarea{min-height:56px;max-height:88px}
.keyboard-open .catalogue-tools{top:var(--app-viewport-top)}
@media(max-width:720px){.main{padding-top:max(24px,env(safe-area-inset-top))}.main.detail-view{padding-top:max(16px,env(safe-area-inset-top))}}
@media(max-width:540px){dialog{inset-block-start:calc(var(--app-viewport-top) + max(12px,env(safe-area-inset-top)));max-height:calc(var(--app-viewport-height) - max(12px,env(safe-area-inset-top)))}dialog.editor-sheet{height:calc(var(--app-viewport-height) - max(12px,env(safe-area-inset-top)))}}
