/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.table{display:table}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#17233c;--muted:#738099;--line:#e7ebf2;--canvas:#f5f7fb;--blue:#2376ff}*{box-sizing:border-box}html,body{background:var(--canvas);min-height:100%;color:var(--ink);margin:0;font-family:Inter,Segoe UI,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:30;color:#d7e0ef;background:linear-gradient(#132744,#0b1930);flex-direction:column;width:260px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 30px #14254114}.brand{border-bottom:1px solid #ffffff14;align-items:center;gap:12px;height:88px;padding:0 25px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#2688ff,#55b8ff);border-radius:12px;place-items:center;width:40px;height:40px;font-size:21px;font-weight:900;display:grid;box-shadow:0 8px 24px #2376ff59}.brand b{color:#fff;letter-spacing:1.6px;font-size:15px;display:block}.brand small{color:#8190aa;margin-top:3px;font-size:11px;display:block}.sidebar nav{scrollbar-width:none;flex:1;padding:16px 12px;overflow:auto}.nav-group{margin-bottom:15px}.nav-group p{color:#6f7e97;text-transform:uppercase;letter-spacing:1.1px;margin:0 12px 7px;font-size:10px;font-weight:800}.nav-group button{color:#aebad0;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;height:39px;padding:0 13px;font-size:12.5px;transition:all .18s;display:flex}.nav-group button span{color:#8292ad;text-align:center;width:20px;font-size:17px}.nav-group button:hover{color:#fff;background:#ffffff0e}.nav-group button.active{color:#fff;background:linear-gradient(90deg,#2376ffe6,#2376ffa6);box-shadow:0 6px 18px #1260e040}.nav-group button.active span{color:#fff}.system-card{background:#ffffff0a;border:1px solid #ffffff14;border-radius:11px;align-items:center;gap:10px;margin:12px;padding:13px 14px;display:flex}.pulse{background:#30d89a;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:0 0 0 5px #30d89a1f}.system-card b,.system-card small{display:block}.system-card b{font-size:11px}.system-card small{color:#71819d;margin-top:2px;font-size:10px}main{grid-column:2;min-width:0}.topbar{z-index:15;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffffff0;justify-content:space-between;align-items:center;height:88px;padding:0 34px;display:flex;position:sticky;top:0}.topbar-title{align-items:center;gap:12px;display:flex}.topbar-title span{color:#91a0b5;text-transform:uppercase;letter-spacing:1px;font-size:10px;font-weight:700}.topbar-title h1{letter-spacing:-.4px;margin:3px 0 0;font-size:20px}.menu-button{color:var(--ink);background:0 0;border:0;font-size:22px;display:none}.topbar-actions{align-items:center;gap:13px;display:flex}.search{border:1px solid var(--line);color:#9aa7b9;background:#f8f9fc;border-radius:10px;align-items:center;gap:8px;width:280px;height:39px;padding:0 12px;display:flex}.search input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.notification,.avatar{border-radius:10px;width:39px;height:39px}.notification{border:1px solid var(--line);color:#67758b;background:#fff;position:relative}.notification i{background:#ff5467;border:2px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:8px}.avatar{color:#1764dc;background:#e1ecff;place-items:center;font-size:12px;font-weight:800;display:grid}.content{max-width:1500px;margin:auto;padding:31px 34px 45px}.welcome{justify-content:space-between;align-items:flex-end;margin-bottom:24px;display:flex}.eyebrow{color:#2978f0;text-transform:uppercase;letter-spacing:.9px;font-size:10px;font-weight:800}.welcome h2{letter-spacing:-.7px;margin:6px 0 5px;font-size:25px}.welcome p{color:var(--muted);margin:0;font-size:12px}.primary-action{background:var(--blue);color:#fff;border:0;border-radius:9px;height:40px;padding:0 17px;font-size:12px;font-weight:700;box-shadow:0 8px 20px #2376ff38}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.metric-grid article,.panel,.quick-grid button{border:1px solid var(--line);background:#fff;box-shadow:0 4px 18px #1e335609}.metric-grid article{border-radius:13px;padding:18px 19px}.metric-head{justify-content:space-between;align-items:center;display:flex}.metric-icon,.quick-icon,.activity-icon{border-radius:9px;place-items:center;font-weight:800;display:grid}.metric-icon{width:35px;height:35px}.blue{color:#2774ec!important;background:#eaf2ff!important}.emerald{color:#1aa873!important;background:#e8f9f3!important}.amber{color:#e3931b!important;background:#fff5df!important}.violet{color:#7957df!important;background:#f2edff!important}.red{color:#e74d63!important;background:#ffedf0!important}.trend{border-radius:6px;padding:4px 7px;font-size:9px;font-weight:800}.trend.up{color:#22966d;background:#eaf8f2}.trend.neutral{color:#6d7a8f;background:#f1f4f8}.metric-grid article>p{color:#748197;margin:14px 0 7px;font-size:11px}.metric-grid h3{letter-spacing:-.35px;margin:0 0 6px;font-size:19px}.metric-grid small{color:#a3adbc;font-size:9.5px}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:15px;margin-top:15px;display:grid}.panel{border-radius:13px;padding:19px}.panel-title{border-bottom:1px solid #eef1f5;justify-content:space-between;align-items:flex-start;padding-bottom:14px;display:flex}.panel-title h3,.section-heading h3{margin:0;font-size:13.5px}.panel-title p,.section-heading p{color:#9aa5b6;margin:4px 0 0;font-size:9.5px}.panel-title button{color:#3a7ee8;background:0 0;border:0;font-size:10px;font-weight:700}.activity{border-bottom:1px solid #f0f2f6;align-items:center;gap:12px;padding:12px 2px;display:flex}.activity:last-child{border-bottom:0}.activity-icon{flex:none;width:33px;height:33px;font-size:13px}.activity-main{flex:1;min-width:0}.activity-main b,.activity-main span,.activity-value b,.activity-value span{display:block}.activity-main b,.activity-value b{font-size:10.5px}.activity-main span,.activity-value span{color:#9ca7b7;margin-top:3px;font-size:9px}.activity-value{text-align:right}.activity-value b{color:#536077}.stock-summary{justify-content:center;align-items:center;gap:34px;min-height:146px;display:flex}.donut{background:conic-gradient(#28b886 0 82%,#edf1f6 82%);border-radius:50%;place-items:center;width:108px;height:108px;display:grid;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:10px}.donut div{z-index:1;text-align:center}.donut b,.donut span{display:block}.donut b{font-size:21px}.donut span{color:#9ba6b5;font-size:8px}.stock-numbers p{color:#7b8798;align-items:center;margin:13px 0;font-size:9.5px;display:flex}.stock-numbers b{color:var(--ink);margin-left:auto;padding-left:28px;font-size:11px}.dot{border-radius:50%;width:7px;height:7px;margin-right:7px}.warehouse-row{background:#f7f9fc;border-radius:9px;align-items:center;gap:10px;padding:12px;display:flex}.warehouse-row>span{color:#3175df;background:#e9f1ff;border-radius:8px;place-items:center;width:31px;height:31px;display:grid}.warehouse-row div{flex:1}.warehouse-row b,.warehouse-row small{display:block}.warehouse-row b{font-size:9.5px}.warehouse-row small{color:#9ca7b7;margin-top:3px;font-size:8.5px}.warehouse-row strong{font-size:10px}.quick-section{margin-top:20px}.section-heading{margin-bottom:11px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.quick-grid button{text-align:left;border-radius:11px;align-items:center;gap:11px;min-height:72px;padding:13px;display:flex}.quick-grid button:hover{border-color:#cfd9e8;transform:translateY(-1px)}.quick-icon{flex:none;width:37px;height:37px}.quick-grid b,.quick-grid small{display:block}.quick-grid b{color:var(--ink);font-size:10.5px}.quick-grid small{color:#9ca6b5;margin-top:4px;font-size:8.5px}.quick-grid em{color:#9ba8b9;margin-left:auto;font-size:19px;font-style:normal}.scrim{display:none}@media (max-width:1100px){.metric-grid,.quick-grid{grid-template-columns:repeat(2,1fr)}.search{width:220px}}@media (max-width:760px){.app-shell{display:block}.sidebar{transition:transform .23s;transform:translate(-103%)}.sidebar-open{transform:translate(0)}.scrim{z-index:25;background:#07122473;border:0;display:block;position:fixed;inset:0}.topbar{height:72px;padding:0 16px}.menu-button{display:block}.topbar-title span,.search{display:none}.topbar-title h1{font-size:17px}.content{padding:22px 16px 35px}.welcome{align-items:flex-start;gap:16px}.welcome h2{font-size:21px}.welcome p{max-width:240px;line-height:1.5}.primary-action{color:#0000;width:40px;padding:0;font-size:0;overflow:hidden}.primary-action:first-letter{color:#fff;font-size:21px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-grid article{padding:15px}.metric-grid h3{font-size:15px}.dashboard-grid,.quick-grid{grid-template-columns:1fr}.inventory-panel{order:-1}.stock-summary{gap:22px}.notification{display:none}}@media (max-width:420px){.metric-grid{grid-template-columns:1fr}.content{padding-inline:13px}}.empty-state{text-align:center;color:#8591a4;flex-direction:column;justify-content:center;align-items:center;min-height:185px;display:flex}.empty-state>span{color:#a4b1c5;font-size:26px}.empty-state b{color:#526078;margin-top:10px;font-size:11px}.empty-state p{max-width:330px;margin:6px 0;font-size:9px;line-height:1.55}.empty-state button{color:#2878ed;background:0 0;border:0;font-size:10px;font-weight:700}.empty-state.compact{min-height:230px}.workspace-page{max-width:1392px;margin:auto}.page-heading{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.page-heading h2{letter-spacing:-.5px;margin:5px 0;font-size:23px}.page-heading p{color:var(--muted);margin:0;font-size:11px}.connection-pill{color:#398168;background:#f1fbf7;border:1px solid #dce8e4;border-radius:20px;align-items:center;gap:7px;padding:7px 10px;font-size:9px;font-weight:700;display:flex}.connection-pill i{background:#28b886;border-radius:50%;width:7px;height:7px}.business-form{gap:14px;display:grid}.form-card{border:1px solid var(--line);background:#fff;border-radius:13px;padding:20px;box-shadow:0 4px 18px #1e335609}.form-card-title{border-bottom:1px solid #eef1f5;align-items:center;gap:11px;margin-bottom:20px;padding-bottom:15px;display:flex}.form-card-title>span{color:#2774ec;background:#eaf2ff;border-radius:8px;place-items:center;width:29px;height:29px;font-size:11px;font-weight:800;display:grid}.form-card-title div{flex:1}.form-card-title h3{margin:0;font-size:12px}.form-card-title p{color:#99a5b7;margin:3px 0 0;font-size:9px}.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.field{gap:7px;display:grid}.field>span{color:#56647a;font-size:9.5px;font-weight:700}.field i{color:#e74d63;margin-left:3px;font-style:normal}.field input,.field select,.item-row input,.item-row select,.quick-modal input{color:#293750;background:#fff;border:1px solid #dfe4ed;border-radius:8px;outline:0;width:100%;height:40px;padding:0 11px;font-size:10.5px}.field input:focus,.field select:focus,.item-row input:focus,.item-row select:focus{border-color:#4c8ef4;box-shadow:0 0 0 3px #2376ff12}.lookup-row{gap:6px;display:flex}.add-mini{color:#2673e8;background:#f4f8ff;border:1px solid #dce5f2;border-radius:8px;flex:none;width:40px}.secondary-button,.add-line,.cancel-button{color:#5f6d82;background:#fff;border:1px solid #dfe5ee;border-radius:8px;font-size:9.5px;font-weight:700}.secondary-button{padding:8px 11px}.items-table{overflow-x:auto}.item-head,.item-row{grid-template-columns:minmax(220px,2fr) 1fr 1fr .7fr 32px;align-items:center;gap:8px;min-width:640px;display:grid}.item-head{color:#8995a7;text-transform:uppercase;padding:0 4px 8px;font-size:8.5px;font-weight:800}.item-row{border-top:1px solid #f0f2f5;padding:7px 0}.item-row>button{color:#a4adbb;background:0 0;border:0;height:32px;font-size:18px}.add-line{color:#347be8;background:#f7faff;border-style:dashed;margin-top:10px;padding:9px 12px}.form-actions{justify-content:flex-end;gap:9px;padding:3px 0;display:flex}.form-actions button,.modal-actions button{min-width:126px;height:40px}.notice{border-radius:9px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:11px 14px;font-size:10px;display:flex}.notice.success{color:#218564;background:#eaf9f3}.notice.error{color:#bd4051;background:#fff0f2}.notice button{color:inherit;background:0 0;border:0;font-weight:800}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0712248a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.preview-modal{text-align:center;background:#fff;border-radius:16px;width:min(560px,100%);max-height:90vh;padding:25px;overflow:auto;box-shadow:0 24px 70px #07122445}.preview-icon{color:#1ca977;background:#e8f9f3;border-radius:50%;place-items:center;width:46px;height:46px;margin:auto;font-size:19px;display:grid}.preview-modal h3{margin:13px 0 5px;font-size:17px}.preview-modal>p{color:#8b97a8;margin:0;font-size:10px}.preview-summary{text-align:left;background:#f5f7fa;border-radius:10px;margin:18px 0;padding:15px}.preview-summary b{font-size:11px}.preview-summary code{white-space:pre-wrap;color:#59667b;max-height:230px;margin-top:10px;font-size:9px;line-height:1.5;display:block;overflow:auto}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.quick-modal{text-align:left}.quick-modal .field{margin-top:15px}.list-toolbar{color:#8895a7;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:9px;display:flex}.list-search{width:310px}.data-table{overflow-x:auto}.data-head,.data-row{grid-template-columns:1fr 2fr 2fr 1fr;align-items:center;gap:12px;min-width:650px;padding:11px 8px;display:grid}.data-head{color:#8d99aa;text-transform:uppercase;background:#f5f7fa;border-radius:7px;font-size:8px;font-weight:800}.data-row{border-bottom:1px solid #eef1f5;font-size:10px}.data-row b{color:#2774ec}.data-row em{color:#278365;background:#eaf9f3;border-radius:6px;width:max-content;padding:5px 7px;font-size:8px;font-style:normal}@media (max-width:900px){.field-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.page-heading{align-items:flex-start;gap:10px}.page-heading h2{font-size:20px}.connection-pill{display:none}.field-grid{grid-template-columns:1fr}.form-card{padding:15px}.form-card-title{align-items:flex-start}.secondary-button{font-size:0}.secondary-button:first-letter{font-size:15px}.item-head{display:none}.item-row{grid-template-columns:1fr 1fr;min-width:0;padding:12px 0;position:relative}.item-row select{grid-column:1/-1}.item-row>button{position:absolute;top:-5px;right:-9px}.items-table{overflow:visible}.form-actions{z-index:8;border:1px solid var(--line);background:#ffffffed;border-radius:10px;padding:8px;position:sticky;bottom:8px;box-shadow:0 8px 30px #15264221}.form-actions button{flex:1;min-width:0}.form-actions .primary-action{color:#fff;width:auto;padding:0 10px;font-size:10px}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}.list-search{width:min(250px,70vw);display:flex}}.login-page{background:radial-gradient(circle at 20% 10%,#e7f0ff 0,#0000 34%),linear-gradient(145deg,#f7f9fc,#edf2f9);place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{background:#fffffff2;border:1px solid #e1e7f0;border-radius:20px;width:min(420px,100%);padding:36px;box-shadow:0 24px 70px #13233d20}.login-brand{align-items:center;gap:11px;display:flex}.login-brand b,.login-brand small{display:block}.login-brand b{letter-spacing:1.5px;font-size:14px}.login-brand small{color:#8a96a8;margin-top:2px;font-size:9px}.login-copy{margin:34px 0 24px}.login-copy h1{margin:7px 0;font-size:25px}.login-copy p{color:#8692a5;margin:0;font-size:11px}.login-card form{gap:16px;display:grid}.login-button{width:100%;height:44px;margin-top:5px}.login-hint{color:#99a4b4;text-align:center;margin-top:18px;font-size:9px;display:block}.login-loading{color:#718097;font-size:11px}.user-columns{grid-template-columns:1fr 2fr 1fr 1fr!important}.friendly-modal{width:min(760px,100%)}.friendly-preview{text-align:left;border:1px solid #e6eaf1;border-radius:12px;margin:20px 0;overflow:hidden}.preview-title{background:#f5f7fa;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.preview-title b{font-size:12px}.preview-title span{color:#7e8a9d;font-size:9px}.preview-info{grid-template-columns:repeat(2,1fr);gap:0 18px;padding:12px 16px;display:grid}.preview-info p{gap:4px;margin:5px 0;display:grid}.preview-info span{color:#8b97a8;text-transform:uppercase;font-size:8px}.preview-info b{font-size:10px}.preview-lines{border-top:1px solid #e8ecf2}.preview-line{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(180px,2fr) .5fr 1fr .5fr 1fr;align-items:center;gap:10px;padding:10px 16px;font-size:9px;display:grid}.preview-line.head{color:#8793a5;text-transform:uppercase;background:#fafbfc;font-size:8px;font-weight:800}.preview-line span:first-child b,.preview-line span:first-child small{display:block}.preview-line span:first-child small{color:#8d98a9;margin-top:3px}.preview-total{justify-content:flex-end;align-items:center;gap:20px;padding:14px 16px;display:flex}.preview-total span{color:#7d899b;font-size:9px}.preview-total b{font-size:14px}.success-modal{width:min(420px,100%)}.success-check{color:#1aad78;background:#e7f9f2;border-radius:50%;place-items:center;width:58px;height:58px;margin:0 auto 14px;font-size:26px;display:grid}.success-codes{background:#f5f7fa;border-radius:9px;gap:6px;margin:22px 0;padding:14px;display:grid}.success-codes span{color:#8a96a7;text-transform:uppercase;font-size:8px}.success-codes b{color:#2474e9;font-size:15px}.success-ok{width:100%;height:42px;margin-top:18px}.report-actions{gap:8px;display:flex}.report-actions button{height:40px;padding:0 14px}.report-card{margin-bottom:14px}.report-table{max-height:520px;overflow:auto}.report-table table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:9px}.report-table th{color:#778499;text-align:left;text-transform:uppercase;background:#f6f8fb;border-bottom:1px solid #dde3ec;padding:10px;position:sticky;top:0}.report-table td{color:#46546a;border-bottom:1px solid #edf0f4;padding:10px}.report-table tbody tr:hover{background:#f8faff}.formula-modal{text-align:left;width:min(980px,96vw)}.formula-modal-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.formula-modal-heading h3{margin:4px 0}.formula-modal-heading p{color:#8b97a8;margin:0;font-size:10px}.formula-close{width:36px;height:36px;font-size:19px;min-width:36px!important}.formula-search{width:100%;margin:18px 0;display:flex}.formula-table{border:1px solid #e4e9f0;border-radius:10px;max-height:55vh;overflow:auto}.formula-table table{border-collapse:collapse;width:100%;font-size:9px}.formula-table th{color:#778499;text-align:left;text-transform:uppercase;background:#f5f7fa;padding:10px;position:sticky;top:0}.formula-table td{vertical-align:top;border-top:1px solid #edf0f4;padding:10px}.formula-table td:first-child{color:#2673e8;width:70px}.formula-table td:nth-child(2){width:32%}.formula-table code{white-space:normal;color:#44536a;font-family:inherit;line-height:1.5}.formula-note{color:#52627a;background:#f2f7ff;border-radius:8px;margin:12px 0;padding:11px 13px;font-size:9px;line-height:1.5}@media (max-width:600px){.login-card{padding:25px}.friendly-modal{padding:18px}.preview-info{grid-template-columns:1fr}.preview-lines{overflow:auto}.preview-line{min-width:650px}.report-actions{width:100%;margin-top:12px}.report-actions button{flex:1}.report-page .page-heading{display:block}.user-columns{min-width:600px!important}.formula-table td:nth-child(2){width:auto}}.row-actions{white-space:nowrap;gap:8px;display:flex}.row-actions button{color:#286fd5;background:#f6f9fe;border:1px solid #dce5f2;border-radius:7px;padding:7px 10px;font-size:9px;font-weight:700}.row-actions .danger-link{color:#c44758;background:#fff5f6;border-color:#f1d5d9}.project-page{background:var(--canvas);min-height:100vh;padding:46px}.project-shell{width:min(1180px,100%);margin:auto}.project-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.project-header .login-brand{margin-bottom:30px}.project-header h1{margin:6px 0;font-size:30px}.project-header p{color:var(--muted);margin:0}.project-create-button{width:auto;padding:0 18px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.project-card{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;min-height:230px;padding:22px;display:flex;box-shadow:0 6px 24px #1e33560b}.project-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-card-head>b{color:#2474ef;letter-spacing:.7px;font-size:12px}.project-active,.project-inactive{font-size:9px;font-weight:800}.project-active{color:#22926d}.project-inactive{color:#9aa5b5}.project-card h2{margin:24px 0 8px;font-size:18px}.project-card p{color:var(--muted);flex:1;margin:0 0 20px;font-size:11px;line-height:1.6}.project-card>button{color:#2474ef;background:#edf4ff;border:0;border-radius:9px;height:40px;font-weight:800}.project-card.inactive{opacity:.65}.project-card.inactive>button{color:#8995a7;background:#f1f3f6}.project-empty{text-align:center;background:#fff;border:1px dashed #cad3e0;border-radius:18px;align-content:center;place-items:center;min-height:330px;padding:30px;display:grid}.project-empty>span{color:#87a2cb;font-size:35px}.project-empty h2{margin:15px 0 5px}.project-empty p{color:var(--muted);margin:0}.project-switch{border:1px solid var(--line);color:#596a82;background:#fff;border-radius:10px;height:39px;padding:0 13px;font-size:10px;font-weight:800}.quick-modal textarea{resize:vertical;width:100%;font:inherit;border:1px solid #dfe4ed;border-radius:8px;outline:0;padding:10px 11px}@media (max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.project-page{padding:22px 15px}.project-header{flex-direction:column;align-items:flex-start}.project-create-button{color:#fff;width:100%;padding:0 14px;font-size:10px}.project-grid{grid-template-columns:1fr}.project-switch{width:39px;padding:0;font-size:0}.project-switch:after{content:"↔";font-size:16px}}.purchase-new-button{width:auto;padding:0 18px}.purchase-list-toolbar{color:var(--muted);justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;font-size:10px;display:flex}.purchase-search{width:min(420px,100%)}.purchase-list-table,.purchase-detail-scroll,.purchase-paper-table{overflow-x:auto}.purchase-list-table table,.purchase-detail-table,.purchase-paper-table table{border-collapse:collapse;width:100%}.purchase-list-table th,.purchase-detail-table th,.purchase-paper-table th{color:#8490a3;text-align:left;white-space:nowrap;background:#f5f7fa;padding:10px;font-size:9px}.purchase-list-table td,.purchase-detail-table td,.purchase-paper-table td{border-bottom:1px solid #edf0f4;padding:10px;font-size:10px}.purchase-list-table td:first-child b{color:#2674ed}.purchase-design-pill{color:#3275dc;background:#f3f7ff;border-color:#d9e6ff}.purchase-general-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.purchase-wide-field{grid-column:span 2}.purchase-detail-table{table-layout:fixed;min-width:0}.purchase-detail-scroll{overflow:visible}.purchase-detail-table th:first-child,.purchase-detail-table td:first-child{width:4%}.purchase-detail-table th:nth-child(2),.purchase-detail-table td:nth-child(2){width:24%}.purchase-detail-table th:nth-child(3),.purchase-detail-table td:nth-child(3){width:20%}.purchase-detail-table th:nth-child(4),.purchase-detail-table td:nth-child(4){width:8%}.purchase-detail-table th:nth-child(5),.purchase-detail-table td:nth-child(5){width:10%}.purchase-detail-table th:nth-child(6),.purchase-detail-table td:nth-child(6),.purchase-detail-table th:nth-child(7),.purchase-detail-table td:nth-child(7){width:12%}.purchase-detail-table th:last-child,.purchase-detail-table td:last-child{width:4%}.purchase-detail-table td{overflow:visible}.purchase-detail-table input,.purchase-detail-table select{background:#fff;border:1px solid #dfe4ed;border-radius:7px;outline:0;width:100%;min-width:90px;height:38px;padding:0 8px;font-size:10px}.purchase-detail-table input[readonly]{color:#657286;background:#f7f8fa}.purchase-stt{text-align:center;width:42px;font-weight:800}.purchase-code-lookup{min-width:165px}.purchase-money-cell{white-space:nowrap;min-width:115px;font-weight:700}.purchase-line-delete{color:#ad6670;background:0 0;border:0;width:30px;height:30px;font-size:18px}.purchase-line-actions{gap:9px;margin-top:12px;display:flex}.payment-qr-action{align-items:center;gap:12px;margin-top:16px;display:flex}.payment-qr-action small{color:var(--muted);font-size:9px}.payment-qr-modal{width:min(440px,100%)}.payment-qr-modal>img{background:#fff;border-radius:12px;width:min(320px,90%);margin:18px auto;display:block}.payment-qr-summary{background:var(--soft);border-radius:10px;gap:5px;margin:0 0 18px;padding:13px;display:grid}.payment-qr-summary b{color:#2674ed;font-size:18px}.payment-qr-summary span{font-size:11px;font-weight:700}.payment-qr-summary small{color:var(--muted);font-size:9px}.clipboard-toast{z-index:180;color:#fff;background:#17365f;border-radius:10px;padding:12px 18px;font-size:11px;font-weight:800;animation:.2s ease-out clipboard-in;position:fixed;bottom:24px;right:24px;box-shadow:0 14px 40px #10233c45}@keyframes clipboard-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.report-filter-card{margin-bottom:14px}.report-run-field{align-content:end}.report-run-field .primary-action{width:100%;height:40px}.report-source-note,.report-control-note{color:var(--muted);margin:14px 0 0;font-size:9.5px;line-height:1.55}.report-control-note{background:var(--soft);color:var(--text);border-radius:9px;padding:12px 14px}.purchase-summary{border:1px solid var(--line);background:#fafbfd;border-radius:12px;width:min(410px,100%);margin:24px 0 0 auto;padding:18px}.purchase-summary p,.purchase-summary label{color:#657185;justify-content:space-between;align-items:center;gap:20px;min-height:33px;margin:0;font-size:10px;display:flex}.purchase-summary b{color:var(--ink)}.purchase-summary input{text-align:right;border:1px solid #dfe4ed;border-radius:7px;width:150px;height:32px;padding:0 9px}.purchase-payment-total{border-top:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef;padding:8px 6px;color:var(--ink)!important;margin:7px -6px!important;font-size:11px!important}.purchase-payment-total b{color:#1769df;font-size:13px}.purchase-bottom-toolbar{z-index:12;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff2;border-radius:12px;justify-content:flex-end;gap:9px;margin-top:16px;padding:12px;display:flex;position:sticky;bottom:12px;box-shadow:0 12px 36px #17233c18}.purchase-bottom-toolbar button{min-width:120px;height:40px}.purchase-preview-backdrop{align-items:flex-start;overflow:auto}.purchase-paper{width:min(1050px,100%);margin:20px auto}.purchase-paper-toolbar{color:#fff;background:#17233c;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;padding:11px 14px;display:flex}.purchase-paper-toolbar>div{gap:6px;display:flex}.purchase-paper-toolbar button{border:0;border-radius:7px;min-width:70px;height:34px}.purchase-paper-sheet{background:#fff;min-height:1120px;padding:45px;box-shadow:0 22px 70px #07122442}.purchase-paper-title{text-align:center}.purchase-paper-title p{letter-spacing:2px;margin:0;font-size:10px;font-weight:800}.purchase-paper-title h1{margin:8px 0 4px;font-size:26px}.purchase-paper-title span{color:var(--muted);font-size:9px}.purchase-paper-info{grid-template-columns:1fr 1fr;gap:7px 30px;margin:30px 0;display:grid}.purchase-paper-info p{grid-template-columns:150px 1fr;gap:10px;margin:0;font-size:10px;display:grid}.purchase-paper-info span{color:var(--muted)}.purchase-paper-wide{grid-column:1/-1}.purchase-paper-totals{width:min(420px,100%);margin:25px 0 0 auto}.purchase-paper-totals p{justify-content:space-between;gap:20px;margin:7px 0;font-size:10px;display:flex}.purchase-total-payment{border-top:1px solid #dfe4ed;border-bottom:1px solid #dfe4ed;padding:9px 0;font-size:12px!important}@media (max-width:900px){.purchase-general-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-wide-field{grid-column:span 2}}@media (max-width:600px){.purchase-new-button{color:#fff;width:100%;padding:0 14px;font-size:10px}.purchase-list-toolbar{flex-direction:column;align-items:flex-start}.purchase-search{width:100%;display:flex}.purchase-general-grid{grid-template-columns:1fr}.purchase-wide-field{grid-column:auto}.purchase-line-actions{flex-direction:column}.purchase-line-actions button{width:100%}.purchase-bottom-toolbar{grid-template-columns:1fr 1fr 1fr;display:grid}.purchase-bottom-toolbar button{width:100%;min-width:0;padding:0 8px}.purchase-bottom-toolbar .primary-action{color:#fff;font-size:10px}.purchase-paper-sheet{min-width:850px}.purchase-paper{overflow:auto}}@media print{body *{visibility:hidden!important}.purchase-paper-sheet,.purchase-paper-sheet *{visibility:visible!important}.purchase-paper-sheet{width:100%;min-height:0;box-shadow:none;padding:20mm;position:absolute;top:0;left:0}.purchase-paper-toolbar{display:none!important}}.payment-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.payment-summary-grid article{border:1px solid var(--line);background:var(--panel-soft,#f7f9fc);border-radius:10px;gap:6px;padding:14px;display:grid}.payment-summary-grid span{color:var(--muted);font-size:9px;font-weight:700}.payment-summary-grid b{color:var(--ink);font-size:15px}.payment-summary-grid .is-overpaid{background:#fff2f4;border-color:#f2c3ca}.payment-summary-grid .is-overpaid b{color:#c5475a}.danger-button{color:#c33f54;background:#fff2f4;border:1px solid #efb8c1;border-radius:8px;min-width:92px;height:40px;padding:0 14px;font-size:9.5px;font-weight:800}.danger-button:hover{background:#ffe6ea;border-color:#db7181}.preview-icon.danger{color:#c33f54;background:#fff0f2}.persistence-gate{text-align:center;justify-items:center;gap:14px;width:min(430px,100vw - 32px);display:grid}.persistence-gate h1,.persistence-gate p{margin:0}.persistence-gate p{color:var(--muted);font-size:11px}@media (max-width:600px){.payment-summary-grid{grid-template-columns:1fr}}.theme-toggle{border:1px solid var(--line);color:#53627a;background:#fff;border-radius:10px;flex:none;place-items:center;width:39px;height:39px;font-size:18px;line-height:1;display:grid}.theme-toggle:hover{background:#f3f6fb}html[data-theme=dark]{--ink:#e8edf6;--muted:#8f9bb0;--line:#28364a;--canvas:#0d1522;--blue:#4b91ff}html[data-theme=dark] body{color:#e8edf6;background:#0d1522}html[data-theme=dark] .content{background:#0d1522}html[data-theme=dark] .topbar-title h1{color:#eef3fb}html[data-theme=dark] .topbar-title span{color:#7f8da3}html[data-theme=dark] .search,html[data-theme=dark] .project-switch,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .notification{color:#aebbd0;background:#172235;border-color:#29384d}html[data-theme=dark] .search input{color:#e8edf6}html[data-theme=dark] .search input::placeholder{color:#69788f}html[data-theme=dark] .avatar{color:#85b6ff;background:#203b66}html[data-theme=dark] .metric-grid article,html[data-theme=dark] .panel,html[data-theme=dark] .form-card,html[data-theme=dark] .project-card,html[data-theme=dark] .project-empty,html[data-theme=dark] .preview-modal,html[data-theme=dark] .purchase-summary,html[data-theme=dark] .purchase-bottom-toolbar{color:#e6edf7;box-shadow:none;background:#141f30;border-color:#26364b}html[data-theme=dark] .metric-grid article small,html[data-theme=dark] .panel p,html[data-theme=dark] .page-heading p,html[data-theme=dark] .form-card-title p,html[data-theme=dark] .project-card p,html[data-theme=dark] .empty-state p{color:#7f8da2}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .item-row input,html[data-theme=dark] .item-row select,html[data-theme=dark] .quick-modal input,html[data-theme=dark] .quick-modal textarea,html[data-theme=dark] .purchase-detail-table input,html[data-theme=dark] .purchase-detail-table select,html[data-theme=dark] .purchase-summary input{color:#e7edf6;background:#101a29;border-color:#304158}html[data-theme=dark] input::placeholder{color:#65748a}html[data-theme=dark] .purchase-list-table th,html[data-theme=dark] .purchase-detail-table th,html[data-theme=dark] .purchase-paper-table th,html[data-theme=dark] .data-head{color:#93a1b6;background:#192638}html[data-theme=dark] .purchase-list-table td,html[data-theme=dark] .purchase-detail-table td,html[data-theme=dark] .purchase-paper-table td,html[data-theme=dark] .data-row{border-color:#28374b}html[data-theme=dark] .purchase-money-cell{color:#e8edf6}html[data-theme=dark] .secondary-button:hover,html[data-theme=dark] .cancel-button:hover,html[data-theme=dark] .theme-toggle:hover{background:#213149}html[data-theme=dark] .modal-backdrop{background:#02060dbc}html[data-theme=dark] .preview-summary{background:#101a28}html[data-theme=dark] .preview-summary code{color:#abb7c8}html[data-theme=dark] .purchase-payment-total{border-color:#304158;color:#e8edf6!important}html[data-theme=dark] .project-page,html[data-theme=dark] .login-page{background:radial-gradient(circle at 20% 10%,#172947 0,#0000 34%),#0d1522}html[data-theme=dark] .project-card>button{color:#82b5ff;background:#1b3150}html[data-theme=dark] .login-card{background:#141f30f2;border-color:#29384d;box-shadow:0 24px 70px #0006}html[data-theme=dark] .purchase-paper-sheet{color:#17233c;background:#fff}html[data-theme=dark] .purchase-paper-sheet th{color:#8490a3;background:#f5f7fa}html[data-theme=dark] .purchase-paper-sheet td{color:#17233c;border-color:#edf0f4}@media print{html,body{background:#fff!important}}.searchable-select{width:100%;min-width:0;position:relative}.searchable-select-trigger{width:100%;height:36px;color:var(--ink);text-align:left;background:#fff;border:1px solid #dfe4ed;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 10px;font-size:10px;display:flex}.searchable-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.searchable-select-trigger em{color:#8190a5;font-style:normal}.searchable-select-menu{z-index:140;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px;position:absolute;top:calc(100% + 5px);left:0;right:0;box-shadow:0 15px 45px #13233d26}.searchable-select-search{border:1px solid #dfe4ed;border-radius:7px;align-items:center;gap:7px;height:36px;padding:0 9px;display:flex}.searchable-select-search input{outline:0;width:100%;background:0 0!important;border:0!important}.searchable-select-options{max-height:260px;margin-top:6px;overflow:auto}.searchable-select-options>button{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:90px 1fr;align-items:start;gap:10px;padding:9px;display:grid}.searchable-select-options>button:hover{background:#f3f6fb}.searchable-select-options b{color:#2674ed;font-size:9px}.searchable-select-options span{font-size:10px}.searchable-select-options small{color:var(--muted);margin-top:3px;font-size:8px;display:block}.searchable-select-empty{color:var(--muted);text-align:center;padding:16px;font-size:9px}.lot-stock-select{flex:1 1 0;width:100%;min-width:0;position:relative}.lot-stock-trigger{border:1px solid var(--line);background:var(--surface);width:100%;height:36px;color:inherit;text-align:left;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;font-size:10px;display:flex}.lot-stock-trigger em{color:#8190a5;font-style:normal}.lot-stock-menu{z-index:1000;border:1px solid var(--line);background:var(--surface);border-radius:8px;position:fixed;overflow:hidden;box-shadow:0 15px 45px #13233d26}.lot-stock-head,.lot-stock-options>button{grid-template-columns:minmax(110px,1fr) minmax(125px,1fr);align-items:center;column-gap:12px;display:grid}.lot-stock-head{border-bottom:1px solid var(--line);color:var(--muted);background:#f4f7fb;padding:9px 11px;font-size:9px}.lot-stock-head b:last-child,.lot-stock-options strong{text-align:right}.lot-stock-options{max-height:240px;overflow:auto}.lot-stock-options>button{border:0;border-bottom:1px solid var(--line);width:100%;color:inherit;text-align:left;background:0 0;padding:9px 11px;font-size:10px}.lot-stock-options>button:hover{background:#edf4ff}.lot-stock-options strong{color:#17643a;font-size:10px}.lot-stock-empty{color:var(--muted);text-align:center;padding:15px 11px;font-size:10px}.auto-code-note{color:#64748b;background:#f5f8fd;border-radius:8px;margin:10px 0 5px;padding:9px 11px;font-size:9px}.purchase-bottom-area{z-index:12;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff3;border-radius:12px;grid-template-columns:auto 1fr;gap:10px;margin-top:12px;padding:10px;display:grid;position:sticky;bottom:10px;box-shadow:0 12px 36px #17233c18}.purchase-followup-toolbar,.purchase-bottom-toolbar{gap:8px;display:flex}.purchase-bottom-area .purchase-bottom-toolbar{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;justify-content:flex-end;margin:0;padding:0;position:static}.purchase-followup-toolbar button,.purchase-bottom-toolbar button{min-width:125px;height:40px}.purchase-followup-toolbar button:disabled{cursor:not-allowed;opacity:.45}.purchase-invoice-backdrop{align-items:flex-start;overflow:auto}.purchase-invoice-modal{background:var(--canvas);border-radius:15px;width:min(1500px,100vw - 30px);margin:20px auto;padding:22px;box-shadow:0 24px 80px #0006}.purchase-invoice-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.purchase-invoice-heading h2{margin:5px 0 0}.purchase-invoice-close{border:1px solid var(--line);color:#64748b;background:#fff;border-radius:9px;width:38px;height:38px;font-size:20px}.inventory-cost-page{gap:14px;display:grid}.inventory-cost-page>.page-heading{margin-bottom:6px}.inventory-cost-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-cost-formula{color:#52627a;background:#f6f9ff;border:1px solid #dfe8f5;border-radius:9px;align-items:center;gap:12px;margin-top:18px;padding:13px 15px;font-size:10px;display:flex}.inventory-cost-formula b{color:#286fd5}.inventory-cost-history,.inventory-cost-detail{margin-top:0}.inventory-cost-run-row{cursor:pointer}.inventory-cost-run-row:hover{background:#f2f7ff!important}.inventory-cost-run-row em{color:#278365;background:#eaf9f3;border-radius:12px;padding:5px 8px;font-size:8px;font-style:normal;display:inline-block}.inventory-cost-detail .panel-title{margin-bottom:12px}.inventory-cost-detail .report-table{max-height:620px}.inventory-cost-detail table{min-width:1700px}.inventory-cost-detail td{vertical-align:top}.inventory-cost-detail td:first-child{min-width:150px}.inventory-cost-detail td:nth-child(3){min-width:160px}@media (max-width:1100px){.inventory-cost-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.inventory-cost-filters{grid-template-columns:1fr}.inventory-cost-formula{flex-direction:column;align-items:flex-start;gap:5px}}.purchase-invoice-multiple{align-items:center;gap:8px;margin-bottom:13px;font-size:10px;font-weight:700;display:flex}.purchase-invoice-multiple input{width:16px!important;height:16px!important}.purchase-invoice-header-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 15px;display:grid}.purchase-invoice-address{grid-column:span 2}.purchase-invoice-table-wrap{overflow:auto}.purchase-invoice-table{border-collapse:collapse;width:100%;min-width:1450px}.purchase-invoice-table th{color:#8490a3;text-align:left;white-space:nowrap;background:#f5f7fa;padding:8px;font-size:8px}.purchase-invoice-table td{border-bottom:1px solid #edf0f4;padding:7px;font-size:9px}.purchase-invoice-table input,.purchase-invoice-table select{background:#fff;border:1px solid #dfe4ed;border-radius:7px;width:100%;min-width:90px;height:35px;padding:0 7px}.purchase-invoice-table small{display:none}.invoice-readonly-number{text-align:right;font-weight:700}.invoice-amount{white-space:nowrap;font-weight:800}.purchase-invoice-summary{border:1px solid var(--line);background:#fafbfd;border-radius:11px;width:min(420px,100%);margin:18px 0 0 auto;padding:14px 16px}.purchase-invoice-summary p{justify-content:space-between;gap:20px;margin:7px 0;font-size:10px;display:flex}.purchase-invoice-actions{justify-content:flex-end;gap:9px;margin-top:14px;display:flex}.purchase-invoice-actions button{min-width:130px;height:40px}html[data-theme=dark] .searchable-select-trigger,html[data-theme=dark] .searchable-select-menu,html[data-theme=dark] .searchable-select-search,html[data-theme=dark] .lot-stock-trigger,html[data-theme=dark] .lot-stock-menu,html[data-theme=dark] .purchase-invoice-close,html[data-theme=dark] .purchase-invoice-table input,html[data-theme=dark] .purchase-invoice-table select{color:#e7edf6;background:#101a29;border-color:#304158}html[data-theme=dark] .searchable-select-options>button{color:#e7edf6}html[data-theme=dark] .searchable-select-options>button:hover{background:#1c2a3e}html[data-theme=dark] .lot-stock-head{background:#162235}html[data-theme=dark] .lot-stock-options>button:hover{background:#1c2a3e}html[data-theme=dark] .auto-code-note{color:#91a0b5;background:#172538}html[data-theme=dark] .purchase-bottom-area,html[data-theme=dark] .purchase-invoice-summary{background:#141f30f2;border-color:#26364b}html[data-theme=dark] .purchase-invoice-modal{background:#0d1522}html[data-theme=dark] .purchase-invoice-table th{color:#93a1b6;background:#192638}html[data-theme=dark] .purchase-invoice-table td{border-color:#28374b}@media (max-width:900px){.purchase-bottom-area{grid-template-columns:1fr}.purchase-followup-toolbar,.purchase-bottom-toolbar{grid-template-columns:1fr 1fr;display:grid}.purchase-bottom-toolbar{grid-template-columns:1fr 1fr 1fr}.purchase-invoice-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.purchase-followup-toolbar{grid-template-columns:1fr}.purchase-bottom-toolbar{grid-template-columns:1fr 1fr 1fr}.purchase-followup-toolbar button,.purchase-bottom-toolbar button{width:100%;min-width:0}.purchase-invoice-header-grid{grid-template-columns:1fr}.purchase-invoice-address{grid-column:auto}}.purchase-linked-documents{border:1px solid var(--line);background:#f8fafc;border-radius:10px;margin-top:14px;padding:13px}.purchase-linked-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.purchase-linked-title span{color:var(--muted);font-size:8px}.purchase-linked-list{flex-wrap:wrap;gap:8px;display:flex}.purchase-linked-item{border:1px solid var(--line);min-width:250px;color:var(--ink);text-align:left;background:#fff;border-radius:9px;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:9px 10px;display:grid}button.purchase-linked-item:hover{background:#f3f6fb}.purchase-linked-static{cursor:default}.purchase-linked-icon{color:#397ef3;background:#eaf2ff;border-radius:7px;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.purchase-linked-item small{color:var(--muted);font-size:7px;display:block}.purchase-linked-item b{font-size:9px;display:block}.purchase-linked-item em{color:#397ef3;white-space:nowrap;font-size:8px;font-style:normal}.purchase-line-actions{gap:8px;display:flex}.purchase-line-actions .secondary-button{min-width:105px}html[data-theme=dark] .purchase-linked-documents{background:#111c2b;border-color:#29394e}html[data-theme=dark] .purchase-linked-item{color:#e7edf6;background:#172335;border-color:#304158}.receipt-purchase-picker{gap:7px;display:grid}.receipt-picker-empty{color:var(--muted);font-size:9px}.receipt-multiple-option{width:max-content;max-width:100%;color:var(--text);align-items:center;gap:8px;margin:0 0 14px;font-size:10px;font-weight:700;display:flex}.receipt-multiple-option input{width:16px;height:16px;margin:0}.receipt-detail-table{table-layout:fixed;border-collapse:collapse;width:100%}.receipt-detail-table th{background:var(--soft);color:var(--muted);text-align:left;white-space:normal;padding:10px 6px;font-size:8px;font-weight:800;line-height:1.25}.receipt-detail-table td{border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere;padding:10px 6px;font-size:10px}.receipt-detail-table th:nth-child(5),.receipt-detail-table td:nth-child(5),.receipt-detail-table th:nth-child(6),.receipt-detail-table td:nth-child(6),.receipt-detail-table th:nth-child(7),.receipt-detail-table td:nth-child(7){text-align:right;width:10%}.receipt-detail-table th:nth-child(8),.receipt-detail-table td:nth-child(8){width:16%}.receipt-detail-table input{box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:100%;min-width:80px;height:40px;color:var(--text);font:inherit;text-align:right;border-radius:8px;padding:0 10px;display:block}html[data-theme=dark] .receipt-detail-table th{background:#1b2a3c}@media (max-width:900px){.receipt-detail-table th,.receipt-detail-table td{padding-left:4px;padding-right:4px}}.other-receipt-table{table-layout:fixed;border-collapse:collapse;width:100%}.other-receipt-table th{background:var(--soft);color:var(--muted);text-align:left;padding:10px 6px;font-size:8px;font-weight:800}.other-receipt-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:10px 6px;font-size:10px}.other-receipt-table th:first-child,.other-receipt-table td:first-child{text-align:center;width:5%}.other-receipt-table input{box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:100%;min-width:0;height:40px;color:var(--text);font:inherit;border-radius:8px;padding:0 10px}.other-line-remove{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;font-size:18px}.other-line-remove:hover{background:var(--soft)}html[data-theme=dark] .other-receipt-table th{background:#1b2a3c}.receipt-detail-table .lookup-row,.other-receipt-table .lookup-row,.export-detail-table .lookup-row{align-items:center;gap:7px;width:100%;min-width:0;display:flex}.receipt-detail-table .lookup-row select,.other-receipt-table .lookup-row select,.export-detail-table .lookup-row select{box-sizing:border-box;width:100%;min-width:0;height:38px;color:var(--ink);background:#fff;border:1px solid #dfe4ed;border-radius:7px;outline:0;flex:auto;padding:0 10px;font-size:10px}.receipt-detail-table .lookup-row .add-mini,.other-receipt-table .lookup-row .add-mini,.export-detail-table .lookup-row .add-mini{border-radius:7px;flex:0 0 40px;width:40px;min-width:40px;height:38px;padding:0}.receipt-detail-wrap{width:100%;overflow:visible}.receipt-detail-table{table-layout:fixed;width:100%;min-width:0}.receipt-detail-table th,.receipt-detail-table td{box-sizing:border-box;padding-left:6px;padding-right:6px;overflow:hidden}.receipt-detail-table th:first-child,.receipt-detail-table td:first-child{text-align:center;width:4%}.receipt-detail-table th:nth-child(2),.receipt-detail-table td:nth-child(2){width:12%}.receipt-detail-table th:nth-child(3),.receipt-detail-table td:nth-child(3){width:22%}.receipt-detail-table th:nth-child(4),.receipt-detail-table td:nth-child(4){width:7%}.receipt-detail-table th:nth-child(5),.receipt-detail-table td:nth-child(5){text-align:left;width:18%}.receipt-detail-table th:nth-child(6),.receipt-detail-table td:nth-child(6),.receipt-detail-table th:nth-child(7),.receipt-detail-table td:nth-child(7){text-align:right;width:9%}.receipt-detail-table th:nth-child(8),.receipt-detail-table td:nth-child(8){text-align:right;width:8%}.receipt-detail-table th:nth-child(9),.receipt-detail-table td:nth-child(9){text-align:left;width:11%}.receipt-detail-table input{box-sizing:border-box;border:1px solid #dfe4ed;border-radius:7px;outline:0;width:100%;min-width:0;height:38px;padding:0 8px;font-size:10px}.other-receipt-table-wrap{width:100%;overflow:visible}.other-receipt-table{table-layout:fixed;width:100%;min-width:0}.other-receipt-table th,.other-receipt-table td{box-sizing:border-box;overflow:hidden}.other-receipt-table th:first-child,.other-receipt-table td:first-child{width:4%}.other-receipt-table th:nth-child(2),.other-receipt-table td:nth-child(2){width:22%}.other-receipt-table th:nth-child(3),.other-receipt-table td:nth-child(3){width:25%}.other-receipt-table th:nth-child(4),.other-receipt-table td:nth-child(4){width:9%}.other-receipt-table th:nth-child(5),.other-receipt-table td:nth-child(5){width:20%}.other-receipt-table th:nth-child(6),.other-receipt-table td:nth-child(6){text-align:left;width:15%}.other-receipt-table th:nth-child(7),.other-receipt-table td:nth-child(7){text-align:center;width:5%}.other-receipt-table input{box-sizing:border-box;width:100%;min-width:0;height:38px}.export-detail-wrap{width:100%;overflow:visible}.export-detail-table{table-layout:fixed;width:100%;min-width:0}.export-detail-table th,.export-detail-table td{box-sizing:border-box;white-space:normal;padding-left:6px;padding-right:6px;overflow:hidden}.export-detail-table th:first-child,.export-detail-table td:first-child{width:4%}.export-detail-table th:nth-child(2),.export-detail-table td:nth-child(2){width:12%}.export-detail-table th:nth-child(3),.export-detail-table td:nth-child(3){width:22%}.export-detail-table th:nth-child(4),.export-detail-table td:nth-child(4){width:7%}.export-detail-table th:nth-child(5),.export-detail-table td:nth-child(5){width:18%}.export-detail-table th:nth-child(6),.export-detail-table td:nth-child(6),.export-detail-table th:nth-child(7),.export-detail-table td:nth-child(7){width:9%}.export-detail-table th:nth-child(8),.export-detail-table td:nth-child(8){width:8%}.export-detail-table th:nth-child(9),.export-detail-table td:nth-child(9){width:11%}.export-detail-table input,.export-detail-table select{box-sizing:border-box;width:100%;min-width:0}html[data-theme=dark] .receipt-detail-table .lookup-row select,html[data-theme=dark] .other-receipt-table .lookup-row select,html[data-theme=dark] .export-detail-table .lookup-row select{color:#e7edf6;background:#101a29;border-color:#304158}@media (max-width:1100px){.receipt-detail-table th,.receipt-detail-table td,.other-receipt-table th,.other-receipt-table td,.export-detail-table th,.export-detail-table td{padding-left:4px;padding-right:4px;font-size:9px}.receipt-detail-table .lookup-row,.other-receipt-table .lookup-row,.export-detail-table .lookup-row{gap:4px}.receipt-detail-table .lookup-row .add-mini,.other-receipt-table .lookup-row .add-mini,.export-detail-table .lookup-row .add-mini{flex-basis:34px;width:34px;min-width:34px}}:root,html[data-theme=light]{--ink:#17364a;--text:#17364a;--muted:#55737d;--line:#9fcfd0;--canvas:#b4e0de;--panel:#f9ffff;--panel-soft:#e5f4f4;--soft:#e1f2f2;--blue:#2677e8}html,body{width:100%;max-width:100%;overflow-x:hidden}body,.content{background:var(--canvas)}main{min-width:0;max-width:100%;overflow-x:hidden}.content{width:100%;max-width:none;margin:0;padding:28px 26px 42px}.workspace-page{width:100%;min-width:0;max-width:none;margin:0}.workspace-page,.workspace-page>*,.business-form,.business-form>*,.form-card,.purchase-form-page,.inventory-cost-page,.inventory-cost-page>*{min-width:0}.topbar{background:#f9fffff2;border-color:#9fcfd0}.sidebar{background:linear-gradient(#183358,#102441)}.form-card,.panel,.metric-grid article,.quick-grid button,.purchase-summary,.purchase-bottom-toolbar,.project-card,.project-empty,.preview-modal{background:#f9ffff;border-color:#9fcfd0;box-shadow:0 5px 20px #1d596a12}.form-card-title,.panel-title,.data-row,.purchase-list-table td,.purchase-detail-table td,.receipt-detail-table td,.other-receipt-table td,.export-detail-table td{border-color:#b8dcdc}.field input,.field select,.item-row input,.item-row select,.quick-modal input,.quick-modal textarea,.purchase-detail-table input,.purchase-detail-table select,.receipt-detail-table input,.other-receipt-table input,.export-detail-table input,.export-detail-table select,.searchable-select-trigger,.searchable-select-search,.lot-stock-trigger{color:#17364a;background:#fff;border-color:#9fc8cc}.purchase-list-table th,.purchase-detail-table th,.receipt-detail-table th,.other-receipt-table th,.export-detail-table th,.purchase-paper-table th,.data-head,.report-table th{color:#3f6674;background:#dceff0}.report-table td{color:#26495b;border-color:#b8dcdc}.inventory-cost-formula,.report-control-note,.purchase-linked-documents,.payment-summary-grid article{color:#385d68;background:#e5f4f4;border-color:#a9d2d3}.report-table,.data-table,.items-table,.purchase-list-table,.purchase-detail-wrap,.receipt-detail-wrap,.other-receipt-table-wrap,.export-detail-wrap,.formula-table,.purchase-invoice-table-wrap{overscroll-behavior-inline:contain;width:100%;min-width:0;max-width:100%;overflow-x:auto}.report-table table,.purchase-list-table table,.purchase-detail-wrap table,.receipt-detail-wrap table,.other-receipt-table-wrap table,.export-detail-wrap table{max-width:none}html[data-theme=dark]{--ink:#f1f6ff;--text:#f1f6ff;--muted:#b8c8dc;--line:#4b668e;--canvas:#1f3459;--panel:#29446d;--panel-soft:#324f7a;--soft:#324f7a;--blue:#64a1ff}html[data-theme=dark] body,html[data-theme=dark] .content{color:#f1f6ff;background:#1f3459}html[data-theme=dark] .sidebar{background:linear-gradient(#19345c,#132846)}html[data-theme=dark] .topbar{background:#1a2e50f2;border-color:#49658d}html[data-theme=dark] .metric-grid article,html[data-theme=dark] .panel,html[data-theme=dark] .form-card,html[data-theme=dark] .project-card,html[data-theme=dark] .project-empty,html[data-theme=dark] .preview-modal,html[data-theme=dark] .purchase-summary,html[data-theme=dark] .purchase-bottom-toolbar{color:#f4f7fc;background:#29446d;border-color:#4b668e;box-shadow:0 6px 20px #0d1c341f}html[data-theme=dark] .page-heading h2,html[data-theme=dark] .form-card-title h3,html[data-theme=dark] .panel-title h3,html[data-theme=dark] .purchase-list-table td,html[data-theme=dark] .report-table td,html[data-theme=dark] .data-row,html[data-theme=dark] .purchase-money-cell{color:#f4f7fc}html[data-theme=dark] .page-heading p,html[data-theme=dark] .form-card-title p,html[data-theme=dark] .panel-title p,html[data-theme=dark] .empty-state p,html[data-theme=dark] .report-source-note,html[data-theme=dark] .report-control-note{color:#bfd0e3}html[data-theme=dark] .field>span{color:#d7e3f2}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .item-row input,html[data-theme=dark] .item-row select,html[data-theme=dark] .quick-modal input,html[data-theme=dark] .quick-modal textarea,html[data-theme=dark] .purchase-detail-table input,html[data-theme=dark] .purchase-detail-table select,html[data-theme=dark] .purchase-summary input,html[data-theme=dark] .receipt-detail-table input,html[data-theme=dark] .other-receipt-table input,html[data-theme=dark] .export-detail-table input,html[data-theme=dark] .export-detail-table select,html[data-theme=dark] .searchable-select-trigger,html[data-theme=dark] .searchable-select-search,html[data-theme=dark] .lot-stock-trigger{color:#f3f7fd;background:#1a3155;border-color:#58739a}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9db0c9}html[data-theme=dark] input[readonly],html[data-theme=dark] .purchase-detail-table input[readonly]{color:#d0dced;background:#233d65}html[data-theme=dark] .purchase-list-table th,html[data-theme=dark] .purchase-detail-table th,html[data-theme=dark] .receipt-detail-table th,html[data-theme=dark] .other-receipt-table th,html[data-theme=dark] .export-detail-table th,html[data-theme=dark] .purchase-paper-table th,html[data-theme=dark] .data-head,html[data-theme=dark] .report-table th{color:#e6eef8;background:#36557f;border-color:#557098}html[data-theme=dark] .purchase-list-table td,html[data-theme=dark] .purchase-detail-table td,html[data-theme=dark] .receipt-detail-table td,html[data-theme=dark] .other-receipt-table td,html[data-theme=dark] .export-detail-table td,html[data-theme=dark] .report-table td,html[data-theme=dark] .data-row{border-color:#4b668e}html[data-theme=dark] .inventory-cost-formula,html[data-theme=dark] .report-control-note,html[data-theme=dark] .purchase-linked-documents,html[data-theme=dark] .payment-summary-grid article{color:#e5edf8;background:#324f7a;border-color:#57739b}html[data-theme=dark] .inventory-cost-formula b,html[data-theme=dark] .data-row b,html[data-theme=dark] .report-table b{color:#9bc4ff}html[data-theme=dark] .inventory-cost-run-row:hover,html[data-theme=dark] .purchase-list-table tbody tr:hover,html[data-theme=dark] .report-table tbody tr:hover{background:#355783!important}html[data-theme=dark] .secondary-button,html[data-theme=dark] .cancel-button,html[data-theme=dark] .add-line,html[data-theme=dark] .add-mini{color:#dceaff;background:#34557f;border-color:#5a769f}@media (max-width:760px){.content{padding:22px 14px 35px}}.purchase-detail-scroll.production-cost-scroll{width:100%;max-width:100%;overflow-x:auto}.purchase-detail-table.production-cost-table{table-layout:fixed;width:100%;min-width:900px}.purchase-detail-table.production-cost-table th,.purchase-detail-table.production-cost-table td{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}.purchase-detail-table.production-cost-table th:first-child,.purchase-detail-table.production-cost-table td:first-child{width:4%}.purchase-detail-table.production-cost-table th:nth-child(2),.purchase-detail-table.production-cost-table td:nth-child(2),.purchase-detail-table.production-cost-table th:nth-child(3),.purchase-detail-table.production-cost-table td:nth-child(3){width:17%}.purchase-detail-table.production-cost-table th:nth-child(4),.purchase-detail-table.production-cost-table td:nth-child(4){width:15%}.purchase-detail-table.production-cost-table th:nth-child(5),.purchase-detail-table.production-cost-table td:nth-child(5){width:10%}.purchase-detail-table.production-cost-table th:nth-child(6),.purchase-detail-table.production-cost-table td:nth-child(6){width:8%}.purchase-detail-table.production-cost-table th:nth-child(7),.purchase-detail-table.production-cost-table td:nth-child(7){width:11%}.purchase-detail-table.production-cost-table th:nth-child(8),.purchase-detail-table.production-cost-table td:nth-child(8){width:18%}.production-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.production-financial-summary article{border:1px solid var(--line,#dbe5ef);background:var(--card,#fff);border-radius:12px;min-width:0;padding:18px}.production-financial-summary h4{margin:0 0 14px;font-size:15px}.production-financial-summary article p{justify-content:space-between;gap:12px;margin:9px 0;display:flex}.production-financial-summary article p b{text-align:right}.production-financial-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;display:flex}.production-financial-actions small{margin-right:auto}.production-financial-modal{box-sizing:border-box;max-height:92vh;overflow-y:auto;width:min(100vw - 36px,1500px)!important;max-width:1500px!important}.production-financial-scroll{max-width:100%;margin:16px 0;overflow-x:auto}.production-financial-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1150px}.production-financial-table th,.production-financial-table td{border-bottom:1px solid var(--line,#dbe5ef);text-align:left;overflow-wrap:anywhere;padding:9px 6px;font-size:11px}.production-financial-table th{background:var(--table-head,#e8f1f8)}.production-financial-table th:first-child,.production-financial-table td:first-child{width:42px}.production-financial-table th:nth-child(2),.production-financial-table td:nth-child(2){width:16%}.production-financial-table th:nth-child(3),.production-financial-table td:nth-child(3){width:11%}.production-financial-table th:last-child,.production-financial-table td:last-child{width:13%}.production-financial-table input,.production-financial-table select{background:var(--card,#fff);width:100%;min-width:0;color:inherit;border:1px solid #9fc8cc;border-radius:6px;padding:8px 6px}.production-financial-totals{width:min(420px,100%);margin-left:auto}.production-sale-links{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.production-sale-links .field{min-width:min(350px,100%)}.production-linked-sales{flex-wrap:wrap;gap:6px;width:100%;display:flex}@media (max-width:760px){.production-financial-summary{grid-template-columns:1fr}.production-financial-summary .primary-action{color:#fff;width:auto;padding:0 12px;font-size:12px}.production-financial-summary .secondary-button{font-size:12px}.production-financial-modal .primary-action{color:#fff;width:auto;padding:0 14px;font-size:12px}.production-financial-modal .secondary-button{font-size:12px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
