/*! 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-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-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;-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]){appearance:button}::file-selector-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}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.inline{display:inline}.table{display:table}.resize{resize:both}.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{--purple:#3d2454;--purple-dark:#2b173e;--yellow:#ffd967;--ink:#2e2537;--muted:#8a8290;--line:#eeeaf1;--bg:#f8f7fa;--green:#2b7860}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;color:var(--purple);background:#fff;border:1px solid #e4dfe8;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-weight:600;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}button:hover{background:#f0ecf4}button:active{background:var(--yellow);transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}button.primary,.button.primary{background:var(--purple);color:#fff;border-color:var(--purple)}button.primary:hover{background:#513167}button.primary:active{background:var(--yellow);color:var(--purple);border-color:var(--yellow)}a{color:inherit}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #e4dfe8;border-radius:8px;outline:none;width:100%;min-width:0;padding:10px 12px}input:focus,textarea:focus,select:focus{border-color:#8c70a5;box-shadow:0 0 0 3px #ebe3f3}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #c7a8e0}input::placeholder,textarea::placeholder{color:#aaa3af}textarea{resize:vertical}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-1px;color:var(--purple-dark);font-size:32px;font-weight:600;line-height:1.2}h2{letter-spacing:-.35px;font-size:18px;font-weight:600}h3{font-size:15px;font-weight:600}small{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;line-height:1.5;display:block}.muted{color:var(--muted);font-size:12px}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:238px;padding:31px 18px 22px;display:flex;position:fixed;inset:0 auto 0 0}.wordmark{color:var(--purple);letter-spacing:2px;align-items:center;gap:11px;margin-left:10px;font-size:24px;font-weight:800;text-decoration:none;display:flex}.wordmark small{letter-spacing:3.5px;color:#a299aa;margin-top:-2px;font-size:9px;font-weight:600}.brand-mark{background:var(--purple);width:39px;height:44px;color:var(--yellow);letter-spacing:-2px;border-radius:10px;justify-content:center;align-items:center;padding-right:2px;font-size:31px;font-weight:800;display:inline-flex}.workspace-tag{letter-spacing:1.6px;color:#98909f;align-items:center;gap:7px;margin:30px 10px 19px;font-size:9px;font-weight:700;display:flex}.dot{background:#80a68c;border-radius:50%;width:6px;height:6px}.sidebar nav{flex-direction:column;gap:5px;display:flex}.sidebar nav button{text-align:left;color:#7c7186;background:0 0;border:0;justify-content:flex-start;gap:12px;width:100%;padding:12px 13px;font-size:12px}.sidebar nav button:hover{background:#f6f2f9}.sidebar nav button.selected{color:var(--purple);background:#f0eaf6}.sidebar nav button.selected svg{stroke-width:2.4px}.nav-count{background:var(--yellow);color:var(--purple);border-radius:5px;margin-left:auto;padding:0 5px;font-size:10px}.sidebar-foot{margin-top:auto;padding:25px 10px 0}.private{border-top:1px solid var(--line);color:#6c6076;align-items:flex-start;gap:9px;padding-top:22px;font-size:11px;display:flex}.private small{margin-top:0;font-size:10px}.sidebar-foot .text-button{padding:17px 0 6px;font-size:11px}.sidebar-foot p{color:#b0a7b7;margin-top:12px;font-size:10px;line-height:1.7}.main-area{width:calc(100% - 238px);margin-left:238px}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#ffffffeb;justify-content:space-between;align-items:center;height:76px;padding:0 38px;display:flex;position:sticky;top:0}.crumb{color:#a39aa9;align-items:center;gap:11px;font-size:11px;display:flex}.crumb b{color:#6e627b;font-weight:500}.top-actions{align-items:center;gap:17px;display:flex}.today{color:#8b8293;font-size:11px}.icon-button{background:0 0;border:0;padding:6px}.bell{position:relative}.bell i{background:var(--yellow);border-radius:50%;width:5px;height:5px;position:absolute;top:5px;right:5px}.avatar{color:#705789;background:#eee6f6;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:10px;font-weight:700;display:flex}.content{max-width:1600px;margin:auto;padding:39px 38px 0}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.eyebrow{letter-spacing:1.6px;color:#aaa1b3;margin-bottom:11px;font-size:9px;font-weight:700}.page-heading p{color:#958c9c;margin-top:11px;font-size:12px}.heading-actions{flex-shrink:0;gap:9px;display:flex}.heading-actions button{font-size:11px}.stats{grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px;display:grid}.stats>div{border:1px solid var(--line);background:#fff;border-radius:12px;padding:22px 22px 18px}.stats span{color:#887a96;justify-content:space-between;align-items:center;font-size:11px;display:flex}.stats span svg{color:#baadca}.stats strong{color:var(--purple);margin:14px 0 8px;font-size:32px;font-weight:500;line-height:1.3;display:block}.stats small{color:#a99eaf;font-size:10px}.overview-grid{grid-template-columns:1.4fr 1fr;gap:22px;margin-bottom:24px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:24px;padding:24px}.feature-panel{background:#eee7f4;border:1px solid #e7dfee;border-radius:12px;min-height:300px;padding:30px;display:flex;position:relative;overflow:hidden}.feature-panel>div:first-child{z-index:2;max-width:64%;position:relative}.mini-label{letter-spacing:1.7px;color:#927da6;font-size:8px;font-weight:700}.feature-panel h2{color:var(--purple);letter-spacing:-.9px;margin-top:16px;font-size:27px;line-height:1.2}.feature-panel p{color:#8f7d9f;max-width:265px;margin:13px 0 23px;font-size:11px;line-height:1.8}.feature-panel button{font-size:10px}.feature-products{width:43%;height:235px;position:absolute;top:42px;right:-21px;transform:rotate(-11deg)}.feature-products img{object-fit:contain;background:#fff;border-radius:11px;width:125px;height:98px;padding:8px;position:absolute;box-shadow:0 12px 35px #42245c13}.feature-products img:first-child{top:0;right:40px;transform:rotate(8deg)}.feature-products img:nth-child(2){top:80px;right:5px;transform:rotate(12deg)}.feature-products img:nth-child(3){top:143px;right:82px;transform:rotate(4deg)}.feature-index{color:#b3a2c2;letter-spacing:2px;font-size:8px;position:absolute;bottom:14px;right:20px}.setup{margin-bottom:0;padding:26px 23px}.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.section-title p{color:#a194ab;margin-top:6px;font-size:11px}.setup-step{text-align:left;background:#fff;border:0;border-bottom:1px solid #f2edf5;border-radius:0;justify-content:flex-start;align-items:center;gap:12px;width:100%;padding:18px 0;display:flex}.setup-step:last-child{border-bottom:0;padding-bottom:0}.setup-step>span{color:#a18db4;background:#f5f1f9;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:31px;height:31px;font-size:10px;display:flex}.setup-step div{flex:1}.setup-step b{font-size:11px;font-weight:600}.setup-step small{color:#a99bb3;margin-top:2px;font-size:10px}.setup-step>svg{color:#b7aabd}.text-button{white-space:nowrap;background:0 0;border:0;padding:4px 0;font-size:11px}.text-button:hover{color:#9062ad;background:0 0}.empty{text-align:center;flex-direction:column;align-items:center;padding:31px 20px 37px;display:flex}.empty-icon{color:#b5a3c6;background:#f6f2f9;border-radius:14px;margin-bottom:16px;padding:14px;display:flex}.empty h3{color:#776785;font-size:14px;font-weight:500}.empty p{color:#a59bab;max-width:425px;margin:8px auto 16px;font-size:11px}.empty button{font-size:11px}.quick-links{grid-template-columns:1fr 1fr;gap:22px;display:grid}.quick-links button{text-align:left;border-color:var(--line);background:#fff;border-radius:12px;justify-content:flex-start;gap:17px;padding:21px 23px;font-size:12px;font-weight:500}.quick-links button>svg:first-child{color:#947ba8;width:21px}.quick-links button>svg:last-child{color:#b3a6bd;width:17px;margin-left:auto}.quick-links small{color:#ac9fb5;font-size:10px}.app-footer{color:#b1a7b8;justify-content:space-between;gap:12px;padding:30px 0 20px;font-size:9px;display:flex}.app-footer>span:first-child{letter-spacing:1.8px;font-size:8px;font-weight:700}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px;display:flex}.toolbar>.search{flex:1;min-width:220px}.toolbar>select{width:160px;height:39px;font-size:11px}.search{align-items:center;display:flex;position:relative}.search svg{color:#a396ae;position:absolute;left:12px}.search input{background:#faf9fc;height:39px;padding-left:39px;font-size:11px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}th{text-align:left;color:#ac9fb4;letter-spacing:.4px;white-space:nowrap;background:#faf9fc;padding:13px;font-size:9px;font-weight:600}td{vertical-align:middle;color:#7c6d88;border-bottom:1px solid #f4f0f6;padding:17px 13px}td b{color:#54415f;font-size:11px;font-weight:500}td small{color:#ad9fba;font-size:9px}tbody tr:last-child td{border-bottom:0}.num{text-align:right;white-space:nowrap}.num b{font-weight:600}.code{color:#9b89a7;white-space:nowrap;font-size:10px}.product-cell{align-items:center;gap:14px;min-width:250px;max-width:430px;display:flex}.product-cell b{line-height:1.55;display:block}.photo{object-fit:contain;background:#fff;border-radius:6px;flex-shrink:0;width:61px;height:61px}.placeholder{color:#c0afcd;background:#f7f3fa;justify-content:center;align-items:center;display:inline-flex}.pill{white-space:nowrap;text-transform:capitalize;border-radius:5px;align-items:center;gap:5px;padding:4px 8px;font-size:9px;font-weight:500;line-height:1.4;display:inline-flex}.green{color:#5c9776;background:#ecf5ef}.red{color:#c87572;background:#fcf0ef}.amber{color:#ad8b36;background:#fff7df}.neutral{color:#a091ad;background:#f3f0f7}.table-footer{color:#b2a6bc;justify-content:space-between;align-items:center;margin-top:17px;font-size:10px;display:flex}.table-footer button{padding:7px 12px;font-size:10px}.brand-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:25px;display:grid}.brand-card{border-color:var(--line);text-align:left;justify-content:flex-start;gap:12px;min-width:0;padding:20px}.brand-initial{color:#a18bb4;background:#f3edf8;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:11px;display:flex}.brand-card b{color:#5a406c;font-size:12px}.brand-card small{color:#b5a7c0;font-size:9px}.brand-card>svg{color:#baaaca;flex-shrink:0;width:15px;margin-left:auto}.add-brand{background:0 0;border-style:dashed}.price-controls{justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;display:flex}.segmented{border:1px solid var(--line);background:#faf8fc;border-radius:8px;gap:3px;padding:3px;display:inline-flex}.segmented button{color:#a397ad;text-transform:capitalize;background:0 0;border:0;padding:7px 12px;font-size:11px}.segmented button.active{color:var(--purple);background:#fff;box-shadow:0 2px 7px #3a194c12}.check{color:#97859f;align-items:center;gap:9px;font-size:11px;display:flex}.check input{width:16px;height:16px;accent-color:var(--purple);box-shadow:none;flex-shrink:0}.check small{font-size:10px}.inventory-switch{background:#f8f5fb;border-radius:9px;margin:15px 0;padding:14px}.field{flex-direction:column;gap:7px;min-width:0;margin-bottom:16px;display:flex}.field>span,.journal-line label{color:#86728f;font-size:11px;font-weight:600}.field input,.field select,.field textarea{font-size:12px}.form-grid{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.four{grid-template-columns:repeat(4,1fr)}.form-footer{border-top:1px solid var(--line);justify-content:space-between;gap:12px;margin-top:22px;padding-top:20px;display:flex}.form-footer button{font-size:12px}.form-subtitle{margin:23px 0 16px;font-size:12px}.journal-line{background:#faf8fc;border-radius:10px;align-items:flex-end;gap:20px;margin:14px 0;padding:18px;display:flex}.journal-line>div:first-child{flex:1}.journal-line .field{width:175px;margin:0}.journal-line small{font-size:10px}.picker{flex-direction:column;gap:6px;display:flex}.picker input,.picker select{font-size:11px}.journal-line .picker{margin-top:7px}.reports-toolbar{align-items:flex-end}.reports-toolbar .field{width:140px;margin:0}.reports-toolbar>.search{min-width:260px}.report-tabs{margin-bottom:22px}.report-note{color:#aa98b5;background:#faf7fd;border-radius:8px;margin-top:12px;margin-bottom:18px;padding:13px 16px;font-size:10px;line-height:1.8}.report-totals{border-top:1px solid var(--line);color:#ac9cba;justify-content:flex-end;gap:45px;margin-top:18px;padding-top:23px;font-size:10px;display:flex}.report-totals b{color:var(--purple);margin-top:7px;font-size:18px;font-weight:500;display:block}.three-stats{grid-template-columns:repeat(3,1fr)}.pending-row{border-top:1px solid var(--line);color:#8a729a;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;font-size:12px;display:flex}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#24132b70;justify-content:center;align-items:flex-start;padding:35px 20px;display:flex;position:fixed;inset:0;overflow:auto}.modal{background:#fff;border-radius:16px;width:600px;max-width:100%;max-height:none;padding:27px;box-shadow:0 25px 100px #24112e40}.modal.wide{width:1050px}.modal-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px;display:flex}.modal-head h2{color:var(--purple);font-size:20px}.edit-product-image{background:#fbf9fd;border-radius:10px;align-items:center;gap:20px;margin-bottom:22px;padding:15px;display:flex}.edit-product-image .photo{width:90px;height:90px}.edit-product-image small{font-size:10px}.document-line{border:1px solid var(--line);border-radius:10px;margin-bottom:13px;padding:17px}.line-title{color:#b39ec0;letter-spacing:1px;justify-content:space-between;margin-bottom:12px;font-size:10px;display:flex}.document-line>.form-grid{margin-top:15px}.document-line .field{margin-bottom:0}.document-lines{margin:12px 0}.document-lines+button{margin:2px 0 21px;font-size:11px}.doc-totals{color:#796184;width:290px;max-width:100%;margin:20px 0 0 auto;font-size:11px}.doc-totals>div{justify-content:space-between;gap:20px;padding:6px 0;display:flex}.doc-totals>div:last-child{color:var(--purple);margin-top:7px;font-size:15px;font-weight:700}.document-tools{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:25px;display:flex}.document-tools button{font-size:10px}.danger-text{color:#b16368}.error-banner{z-index:200;color:#a84b48;background:#fff0ed;border-radius:9px;align-items:center;gap:10px;max-width:560px;padding:14px 18px;font-size:12px;display:flex;position:fixed;top:85px;right:30px;box-shadow:0 8px 35px #30000014}.error-banner button{color:inherit;background:0 0;border:0;padding:0}.toast{z-index:210;color:#fff;background:#314d40;border-radius:10px;align-items:center;gap:10px;padding:13px 20px;font-size:12px;display:flex;position:fixed;bottom:25px;right:30px;box-shadow:0 8px 30px #14281b20}.loading{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;display:flex}.loading p{color:var(--muted)}.spinner{border:2px solid #eee;border-top-color:var(--purple);border-radius:50%;width:22px;height:22px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu{display:none}@media (min-width:1500px){.content{padding-left:55px;padding-right:55px}.feature-panel>div:first-child{max-width:60%}.feature-products{right:0}.feature-products img{width:145px}}@media (max-width:1150px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.sidebar nav button{gap:9px;font-size:11px}.main-area{width:calc(100% - 205px);margin-left:205px}.content{padding:29px 24px 0}.topbar{padding:0 24px}.stats{gap:10px}.stats>div{padding:17px}.overview-grid{grid-template-columns:1fr}.feature-panel{min-height:270px}.feature-products{width:40%;top:15px;right:25px}.feature-products img{width:145px;height:115px}.setup{display:block}.brand-grid{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end;max-width:240px}.stats small{font-size:9px}}@media (max-width:760px){.sidebar{width:238px;transform:translate(-100%);box-shadow:10px 0 50px #2e173b25}.sidebar.open{transform:translate(0)}.main-area{width:100%;margin-left:0}.topbar{height:62px;padding:0 17px}.mobile-menu{display:inline-flex}.today{display:none}.top-actions{gap:10px}.content{padding:26px 17px 0}.page-heading{margin-bottom:23px;display:block}h1{font-size:28px}.page-heading p{font-size:11px}.heading-actions{justify-content:flex-start;max-width:none;margin-top:19px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stats>div{padding:17px}.stats strong{font-size:28px}.stats small{font-size:9px}.stats span{font-size:10px}.feature-panel{min-height:300px;padding:24px}.feature-panel h2{font-size:25px}.feature-panel>div:first-child{max-width:70%}.feature-panel p{max-width:190px}.feature-products{width:35%;top:75px;right:-20px}.feature-products img{width:90px;height:85px}.feature-products img:first-child{right:10px}.feature-products img:nth-child(2){right:-5px}.feature-products img:nth-child(3){right:35px}.panel{margin-bottom:19px;padding:18px}.section-title h2{font-size:16px}.quick-links{grid-template-columns:1fr;gap:10px}.quick-links button{padding:19px}.app-footer{font-size:8px;display:block}.app-footer>span{margin-bottom:5px;display:block}.brand-grid{grid-template-columns:1fr 1fr;gap:9px}.brand-card{gap:7px;padding:13px}.brand-initial{width:28px;height:30px;font-size:9px}.brand-card b{font-size:10px}.brand-card small{font-size:8px}.brand-card>svg{display:none}.toolbar>select{width:calc(50% - 6px)}.toolbar>.search{flex-basis:100%}.price-controls{flex-direction:column;align-items:flex-start}.form-grid.three{grid-template-columns:1fr 1fr}.journal-line{flex-wrap:wrap;gap:10px;padding:13px}.journal-line>div:first-child{flex-basis:100%}.journal-line .field{width:100%}.form-grid.four{grid-template-columns:repeat(2,1fr)}.overlay{padding:15px 8px}.modal{border-radius:12px;padding:20px 16px}.form-grid{gap:10px}.form-footer{flex-wrap:wrap}.form-footer button{font-size:11px}.reports-toolbar .field{width:calc(50% - 6px)}.report-tabs{flex-wrap:wrap;display:flex}.report-tabs button{padding:7px 8px;font-size:10px}.report-totals{gap:15px}.report-totals b{font-size:15px}.three-stats{grid-template-columns:repeat(3,1fr)}.three-stats>div{padding:13px 10px}.print-document{min-width:710px;padding:12px}.modal.wide:has(.print-document){overflow:auto}.error-banner{top:15px;left:15px;right:15px}.toast{bottom:15px;left:15px;right:15px}.form-grid.three>.field:last-child{grid-column:auto}.document-tools{position:sticky;left:0}.pending-row{font-size:11px}}.app-logo{width:174px;height:auto;display:block}.wordmark{margin:0 6px}.loading-logo{width:260px;max-width:75vw}.photo-editor{background:#faf8fc;border:1px dashed #d8cce1;border-radius:12px;align-items:center;gap:20px;margin-bottom:22px;padding:16px;display:flex}.photo-editor>img,.photo-empty{object-fit:contain;background:#fff;border-radius:8px;flex-shrink:0;width:100px;height:100px}.photo-empty{color:#ad99bd;justify-content:center;align-items:center;display:flex}.photo-editor .button{font-size:12px;position:relative}.photo-editor small{margin:8px 0;font-size:10px}.file-input{opacity:0;cursor:pointer;padding:0;position:absolute;inset:0}.upload-busy{opacity:.6;cursor:wait}.inline-error{color:#a84b48;background:#fff0ed;border-radius:8px;margin-bottom:15px;padding:12px}.item-line-actions{letter-spacing:0;gap:15px;margin-left:auto;margin-right:15px;display:flex}.document-details{border:1px solid var(--line);border-radius:9px;margin:0 0 18px;padding:12px 15px}.document-details summary{cursor:pointer;color:var(--purple);font-size:12px;font-weight:600}.document-details[open] summary{margin-bottom:20px}:is(.line-photo-preview:has(img),.line-photo-preview:has(.placeholder)){float:left;margin-top:14px;margin-right:15px}.line-photo-preview .photo{width:55px;height:55px}.document-line>.form-grid{clear:both;padding-top:12px}.print-help{color:#897990;margin-bottom:15px;font-size:11px}.print-preview{background:#eeedf0;border-radius:8px;padding:15px;overflow:auto}.price-checker{border:1px solid var(--line);background:#fff;border-radius:18px;max-width:1120px;margin:0 auto 25px;padding:30px 38px}.checker-top{justify-content:space-between;align-items:center;gap:15px;display:flex}.checker-top>img{width:155px;height:auto}.checker-top>div{align-items:center;gap:10px;display:flex}.checker-top button{font-size:11px}.checker-intro{text-align:center;padding:24px 0}.checker-badge{color:#634178;background:#f2edf8;border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:15px;display:inline-flex}.checker-intro h1{letter-spacing:-1px;font-size:34px}.checker-intro p{color:#8c7b98;margin-top:9px;font-size:14px}.checker-search{border:2px solid #d7c6e3;border-radius:14px;align-items:center;gap:13px;padding:9px 10px 9px 18px;display:flex;box-shadow:0 8px 30px #3d245407}.checker-search>svg{color:#9a7daf;flex-shrink:0}.checker-search input{background:0 0;outline:0;height:48px;padding:8px 0;font-size:18px;box-shadow:none!important;border:0!important}.checker-search:focus-within{border-color:#88609f;box-shadow:0 0 0 4px #f3edf8}.checker-search>.primary{border-radius:9px;min-width:50px;height:48px}.checker-results{min-height:310px}.checker-idle{text-align:center;color:#ab96bb;flex-direction:column;align-items:center;padding:58px 15px;display:flex}.checker-idle h2{color:#675076;margin-top:15px;font-size:20px}.checker-idle p{color:#9888a3;margin-top:8px;font-size:13px}.checker-idle small{font-size:11px}.checker-idle button{margin-top:20px}.checker-product{grid-template-columns:40% 1fr;align-items:center;gap:32px;padding:35px 0 28px;display:grid}.checker-photo{color:#c1aecf;background:#fcfbfd;border-radius:13px;justify-content:center;align-items:center;height:280px;padding:20px;display:flex}.checker-photo img{object-fit:contain;width:100%;height:100%}.checker-brand{color:#9f8bac;text-transform:uppercase;letter-spacing:1.5px;font-size:10px;font-weight:700}.checker-detail h2{color:#3d2454;margin:7px 0;font-size:24px;line-height:1.3}.checker-code{color:#a294ad;overflow-wrap:anywhere;margin-bottom:10px;font-size:12px}.checker-amount{color:#3d2454;align-items:baseline;gap:10px;margin:23px 0 7px;line-height:1.1;display:flex}.checker-amount span{font-size:17px}.checker-amount strong{letter-spacing:-1.7px;overflow-wrap:anywhere;min-width:0;font-size:48px;font-weight:600}.checker-tax{color:#786086;font-size:12px}.checker-exclusive{color:#a192ab;margin-top:4px;font-size:12px}.checker-updated{margin-top:14px;font-size:10px}.checker-next{margin-top:20px;font-size:12px}.checker-no-price{padding:24px 0}.checker-no-price h3{color:#7c6590;font-size:26px}.checker-no-price p{color:#a093aa;margin-top:7px;font-size:12px}.checker-foot{border-top:1px solid var(--line);color:#ad9fba;justify-content:space-between;align-items:center;gap:15px;padding-top:20px;font-size:10px;display:flex}.checker-result-count{color:#9a88a7;padding:22px 0 12px;font-size:12px}.checker-list{flex-direction:column;gap:8px;padding-bottom:12px;display:flex}.checker-list button{text-align:left;background:#fdfcfe;border-color:#f0ebf3;justify-content:flex-start;gap:16px;padding:14px}.checker-list img{object-fit:contain;background:#fff;flex-shrink:0;width:55px;height:55px}.checker-list button>span{flex:1;min-width:0}.checker-list b{color:#604774;font-size:12px}.checker-list small{font-size:10px}.checker-list strong{white-space:nowrap;font-size:15px}.checker-only .sidebar,.checker-only .topbar,.checker-only .app-footer{display:none}.checker-only .main-area{width:100%;margin:0}.checker-only .content{max-width:1200px;padding:30px 24px}.checker-only .price-checker{flex-direction:column;min-height:calc(100dvh - 60px);margin:0 auto;display:flex}.checker-only .checker-results{flex:1}.checker-only .checker-intro{padding:30px 0}.checker-only .checker-amount strong{font-size:60px}.print-document{color:#111;background:#fff;width:210mm;min-width:210mm;max-width:none;min-height:297mm;margin:auto;padding:13mm 14mm 11mm;font:8pt/1.38 Arial,Helvetica,sans-serif;box-shadow:0 2px 12px #00000008}.print-document p{white-space:pre-line;overflow-wrap:anywhere;font-size:7.5pt;line-height:1.4}.print-document b{color:#111;font-weight:700}.print-heading{justify-content:space-between;align-items:flex-start;gap:15mm;margin-bottom:8mm;display:flex}.print-logo{object-fit:contain;flex-shrink:0;width:77mm;height:auto}.print-company{width:67mm;padding-top:3mm;font-size:7.5pt}.print-parties{grid-template-columns:46% 50%;gap:4%;margin-bottom:7mm;display:grid}.print-recipient>b{margin-bottom:2.5mm;font-size:8pt;display:block}.print-recipient h3{color:#111;margin:2.5mm 0;font-size:10pt;font-weight:700}.print-recipient p{margin-top:3mm}.print-doc-meta h2{color:#111;letter-spacing:0;margin:0 0 3mm;font-size:16pt;font-weight:700}.print-meta-row{overflow-wrap:anywhere;grid-template-columns:47% 53%;gap:2mm;padding:0;font-size:7.5pt;line-height:1.45;display:grid}.print-meta-row .bold{font-weight:700}.print-meta-gap{height:3mm}.watermark{color:#8a7c91;margin:0 0 3mm;font-size:10pt;font-weight:700}.print-document table{border-collapse:collapse;table-layout:fixed;border:0;width:100%;font-size:7.5pt}.print-document th{color:#111;white-space:normal;letter-spacing:0;vertical-align:top;background:#fff;border:0;padding:2.5mm 1mm;font-size:6.8pt;font-weight:400}.print-document td{color:#111;vertical-align:middle;overflow-wrap:anywhere;background:#fff;border:0;padding:5mm 1mm;font-size:7.5pt}.print-document td b{font-size:7.5pt;font-weight:500;line-height:1.3;display:block}.print-document td small{color:#777;margin-top:1.5mm;font-size:6.5pt}.print-document .num{white-space:normal;text-align:right;font-variant-numeric:tabular-nums}.print-items td img{object-fit:contain;width:100%;height:23mm}.print-document .print-items td:nth-child(3){width:auto}.print-summary{break-inside:avoid;grid-template-columns:49% 36%;justify-content:space-between;gap:5%;margin-top:5mm;display:grid}.print-tax th{padding:1mm 1mm 2mm}.print-tax td{vertical-align:top;padding:2mm 1mm}.print-tax th:first-child{width:14%}.print-totals{font-size:8pt}.print-totals>div{grid-template-columns:1fr 9mm 23mm;align-items:baseline;gap:2mm;padding:1.5mm 0;display:grid}.print-totals>div>b{text-align:right;font-weight:400}.print-totals>div:last-child{margin-top:1mm;font-size:9pt;font-weight:700}.print-totals>div:last-child>b{font-weight:700}.print-terms{break-inside:avoid;margin-top:7mm;font-size:7.5pt}.print-terms p{margin-bottom:3mm}.print-signoff{margin-top:5mm}.print-footer{color:#999;justify-content:space-between;gap:5mm;margin-top:7mm;font-size:6pt;display:flex}.print-document tr{break-inside:avoid}.print-document thead{display:table-header-group}@media (max-width:760px){.app-logo{width:180px}.photo-editor{gap:12px;padding:12px}.photo-editor>img,.photo-empty{width:75px;height:75px}.photo-editor .button{padding:8px;font-size:11px}.line-title{flex-wrap:wrap;gap:8px}.item-line-actions{gap:10px;margin:0}.item-line-actions .text-button{font-size:10px}.price-checker{border-radius:14px;padding:20px 16px}.checker-top>img{width:125px}.checker-top button{padding:7px;font-size:10px}.checker-top>div{gap:2px}.checker-intro{padding:24px 0}.checker-intro h1{font-size:28px}.checker-intro p{font-size:12px}.checker-search{gap:7px;padding:7px 7px 7px 10px}.checker-search>svg{width:20px}.checker-search input{height:42px;font-size:14px}.checker-search>.primary{min-width:40px;height:42px;padding:8px}.checker-idle{padding:45px 8px}.checker-idle p{font-size:12px}.checker-product{grid-template-columns:1fr;gap:20px;padding-top:22px}.checker-photo{height:185px}.checker-detail h2{font-size:22px}.checker-amount strong,.checker-only .checker-amount strong{font-size:43px}.checker-results{min-height:300px}.checker-foot{align-items:flex-start;font-size:9px}.checker-foot .text-button{font-size:10px}.checker-list button{flex-wrap:wrap;gap:10px;padding:10px}.checker-list img{width:42px;height:42px}.checker-list b{font-size:11px}.checker-list strong{font-size:12px}.checker-list button>svg:last-child{display:none}.checker-only .content{padding:12px}.checker-only .price-checker{min-height:calc(100dvh - 24px)}.print-preview{padding:8px}.print-document{min-width:210mm;padding:13mm 14mm 11mm}.modal.wide:has(.print-document){overflow:visible}}@media print{@page{size:A4 portrait;margin:13mm 14mm}html,body{background:#fff!important;margin:0!important;padding:0!important}.sidebar,.main-area,.modal-head,.document-tools,.print-help,.toast,.error-banner{display:none!important}.app-shell{display:block}.overlay:not(:has(.print-document)){display:none!important}.overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;padding:0;display:block;position:static;overflow:visible}.modal,.modal.wide{width:auto;max-width:none;box-shadow:none;border-radius:0;padding:0;overflow:visible!important}.print-preview{background:#fff;border-radius:0;padding:0;overflow:visible}.print-document{width:100%;min-width:0;max-width:none;min-height:0;box-shadow:none;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;margin:0;padding:0}.print-heading,.print-parties{break-inside:avoid}.print-document .print-items{width:100%}.print-document tr,.print-summary,.print-terms{break-inside:avoid}.print-footer{margin-top:6mm}}.sidebar{overflow-y:auto}.sidebar nav{gap:2px}.sidebar nav button{padding-top:9px;padding-bottom:9px}.global-shortcuts{z-index:9;border-bottom:1px solid var(--line);background:#fff;gap:8px;padding:11px 38px;display:flex;position:sticky;top:76px;overflow-x:auto}.global-shortcuts button{white-space:nowrap;padding:8px 11px;font-size:11px}.global-shortcuts kbd{color:#a58bb7;background:#f7f4fa;border-radius:4px;padding:2px 4px;font-size:8px}.checker-only .global-shortcuts{display:none}.executive-stats>button{text-align:left;border:1px solid var(--line);white-space:normal;border-radius:12px;min-width:0;padding:20px;display:block}.executive-stats>button>strong{letter-spacing:-.7px;overflow-wrap:anywhere;font-size:28px}.executive-stats>button>span{display:block}.executive-stats>button>small{font-size:10px;font-weight:400;line-height:1.6}.executive-stats .alert-card{background:#fff5ed;border-color:#edc9b1}.executive-stats .alert-card strong{color:#bd492c}.live-refresh-note{color:#aaa;margin:-13px 0 22px;font-size:10px}.quick-overlay{z-index:160}.pdf-overlay{z-index:180}.camera-overlay{z-index:190}.camera-video{background:#131019;border-radius:10px;width:100%;max-height:400px}.camera-action{margin:15px 0}.quick-item{align-items:center;gap:18px;margin:20px 0;display:flex}.quick-item img{object-fit:contain;width:90px;height:90px}.quick-item h3{color:var(--purple);font-size:19px}.quick-item p{color:#9984a7;margin:6px 0;font-size:11px}.quick-values{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.quick-values>div{background:#f8f5fb;border-radius:10px;padding:15px}.quick-values span{color:#9a85aa;font-size:11px;display:block}.quick-values strong{color:var(--purple);margin-top:5px;font-size:20px;display:block}.margin-panel{border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:17px}.margin-panel .field{max-width:200px}.margin-panel>strong{font-size:21px}.quick-hint{text-align:center;color:#a18aac;padding:35px 0}.lookup-options{flex-direction:column;gap:8px;margin:20px 0;display:flex}.lookup-options button{text-align:left;justify-content:space-between}.lookup-options p{color:#8e799d}.audit-mode{max-width:1000px;margin:auto}.audit-search{padding:17px;font-size:19px}.audit-counts{grid-template-columns:repeat(3,1fr);gap:15px;margin:28px 0;display:grid}.audit-counts>div,.audit-counts>label{background:#f7f3fa;border-radius:12px;padding:20px}.audit-counts span{color:#877094;margin-bottom:10px;font-size:12px;display:block}.audit-counts strong{color:var(--purple);font-size:34px;display:block}.audit-counts input{border:2px solid #9378a5;height:68px;font-size:32px;font-weight:600}.audit-counts .variance-warning{background:#fff0dc}.audit-confirm{width:100%;margin-bottom:20px;padding:17px!important;font-size:17px!important}.audit-success{color:#36764b;background:#eef8ef;border-radius:9px;margin:18px 0;padding:15px}.selection-list{border:1px solid var(--line);border-radius:10px;max-height:340px;overflow:auto}.selection-list>label{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:14px;padding:12px 15px;display:flex}.selection-list input{width:18px;height:18px;accent-color:var(--purple);flex-shrink:0}.selection-list span{flex:1;min-width:0}.selection-list b{font-size:12px}.selection-list small{font-size:10px}.selection-list img{object-fit:contain;width:43px;height:43px}.selection-actions{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:16px;display:flex}.selection-actions b{color:#8e729f;margin-left:auto;font-size:12px}.bulk-controls{flex-wrap:wrap;gap:15px;margin-top:25px;display:flex}.bulk-controls .field{flex:1;min-width:160px}.bulk-review{background:#f7f3fb;border-radius:10px;margin:20px 0;padding:18px}.bulk-review p{border-bottom:1px solid #e9dff0;justify-content:space-between;gap:15px;padding:8px 0;font-size:11px;display:flex}.brand-logo-editor{align-items:center;gap:15px;display:flex}.brand-logo-editor>img{object-fit:contain;max-width:110px;max-height:70px}.brand-logo-editor>.button{font-size:12px;position:relative}.brand-logo-editor input{opacity:0;cursor:pointer;position:absolute;inset:0}.audit-events{margin-top:20px}.audit-events details{border:1px solid var(--line);border-radius:10px;margin-bottom:10px;padding:15px}.audit-events summary{cursor:pointer}.audit-events summary>b{font-size:13px}.audit-events summary>span{color:#aa8aba;margin-left:20px;font-size:11px}.audit-events summary small{margin:6px 0 0 15px;font-size:10px}.audit-diff{grid-template-columns:1fr 1fr;gap:15px;margin-top:16px;display:grid}.audit-diff>div{background:#faf8fc;border-radius:7px;min-width:0;padding:12px;font-size:10px}.audit-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;font-size:10px;overflow:auto}.pdf-modal iframe{border:1px solid var(--line);border-radius:8px;width:100%;height:72vh}.document-action-panel{margin-bottom:20px}.share-actions{background:#f9f6fc;border-radius:9px;padding:15px}.share-actions .field{margin-bottom:10px}.share-actions small{font-size:10px}.shared-document{max-width:1000px;margin:auto;padding:30px 20px}.shared-document>header{justify-content:space-between;align-items:center;gap:30px;margin-bottom:25px;display:flex}.shared-document>header img{width:180px}.shared-document>header h1{font-size:23px}.print-advice{color:#8a7796;margin-top:24px;font-size:11px;line-height:1.7}.display-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:25px 0;display:grid}.display-card{aspect-ratio:105/74.25;color:#23112f;background:#fff;border:1px solid #c6bbc9;min-width:0;margin-bottom:24px;padding:14px;font-family:Arial,sans-serif;position:relative}.display-card header{border-bottom:1px solid #d9d4dc;justify-content:space-between;align-items:center;gap:18px;height:43px;padding-bottom:9px;display:flex}.display-card header>img{object-fit:contain;max-width:48%;height:34px}.display-card header>b{font-size:15px}.display-card-body{grid-template-columns:32% 1fr;gap:14px;min-height:180px;padding:13px 0;display:grid}.display-card-body>div:first-child{justify-content:center;align-items:center;display:flex}.display-card-body img{object-fit:contain;width:100%;height:150px}.display-card-body h3{margin-bottom:5px;font-size:14px;line-height:1.25}.display-card-body b,.display-card-body p{font-size:10px;line-height:1.3}.display-card-body strong{margin:7px 0;font-size:13px;display:block}.display-card-body ul{margin:8px 0;padding-left:14px;font-size:10px;line-height:1.45}.display-card footer{border-top:1px solid #d9d4dc;justify-content:space-between;align-items:baseline;gap:15px;padding-top:8px;display:flex}.display-card footer b{font-size:22px;line-height:1.2}.display-card footer strong{white-space:nowrap;font-size:11px}.card-edit{padding:5px 9px;font-size:10px;position:absolute;bottom:-32px;left:0}.a4-sheet{grid-template-rows:repeat(4,74.25mm);grid-template-columns:repeat(2,105mm);width:210mm;height:297mm;display:grid}@media (max-width:1024px){.global-shortcuts{padding:10px 24px}.executive-stats{grid-template-columns:repeat(2,1fr)}.display-preview{grid-template-columns:1fr}.display-card{width:100%;max-width:500px;margin-left:auto;margin-right:auto}.audit-counts strong{font-size:26px}.audit-counts>div,.audit-counts>label{padding:15px}.audit-counts input{font-size:28px}.sidebar nav button{font-size:10px}.workspace-tag{margin-top:20px}.sidebar-foot{padding-top:15px}}@media (max-width:760px){.global-shortcuts{gap:6px;padding:9px 15px;top:62px}.global-shortcuts button{padding:8px;font-size:10px}.global-shortcuts kbd{display:none}.executive-stats>button{padding:14px}.executive-stats>button>strong{font-size:23px}.executive-stats>button>small{font-size:9px}.quick-values strong{font-size:17px}.quick-values>div{padding:12px}.quick-item h3{font-size:17px}.quick-item img{width:65px;height:65px}.audit-mode .section-title{flex-wrap:wrap}.audit-search{padding:14px;font-size:15px}.audit-counts{gap:8px}.audit-counts>div,.audit-counts>label{min-width:0;padding:10px}.audit-counts span{font-size:10px}.audit-counts strong{overflow-wrap:anywhere;font-size:22px}.audit-counts input{height:57px;padding:7px;font-size:23px}.audit-counts small{font-size:10px}.selection-list>label{gap:9px;padding:10px}.selection-list>label>small{max-width:75px}.selection-actions button{padding:8px;font-size:10px}.selection-actions b{width:100%;margin:0}.display-card{aspect-ratio:auto;padding:10px}.display-card header{height:37px}.display-card header>img{height:29px}.display-card-body{gap:10px;min-height:180px}.display-card-body h3{font-size:12px}.display-card-body img{height:135px}.display-card footer b{font-size:19px}.display-module .section-title{flex-wrap:wrap}.display-module .section-title button{width:100%}.audit-diff{grid-template-columns:1fr}.bulk-review p{display:block}.bulk-review span{margin-top:4px;display:block}.brand-logo-editor{flex-wrap:wrap}.shared-document>header{gap:15px}.shared-document>header img{width:125px}.shared-document>header h1{font-size:17px}.pdf-modal iframe{height:68vh}.sidebar-foot{margin-top:20px}.shared-document{padding:20px 10px}}@page shelf{size:A4 portrait;margin:0}@media print{.global-shortcuts{display:none!important}.a4-sheet{page:shelf;break-after:page;width:210mm;height:297mm;overflow:hidden}.a4-sheet:last-child{break-after:auto}.shared-document{max-width:none;padding:0}.shared-document>header{display:none}.shared-document .print-preview{padding:0}.card-edit{display:none}}.compact-document .print-heading{margin-bottom:5mm}.compact-document .print-logo{width:64mm;height:24mm}.compact-document .print-company{width:77mm;padding-top:0;font-size:7pt}.compact-document .print-company p{font-size:7pt}.compact-title{justify-content:space-between;gap:15mm;margin-bottom:4mm;display:flex}.compact-title h2{color:#111;letter-spacing:0;font-size:16pt}.compact-title>div{text-align:right}.compact-title b{font-size:9pt}.compact-title .watermark{margin:1mm 0;font-size:8pt}.compact-document .print-parties{margin-bottom:4mm}.compact-document .print-recipient h3{margin:1mm 0;font-size:9pt}.compact-document .print-recipient>b{margin-bottom:1mm;font-size:7pt}.compact-document .print-recipient p{margin-top:1mm;font-size:7pt}.compact-document .print-doc-meta p{font-size:7pt}.compact-document .compact-items th{padding:2mm 1mm;font-size:6.5pt}.compact-document .compact-items td{vertical-align:middle;padding:1mm;font-size:7pt}.compact-document .compact-items td img{object-fit:contain;width:40px;height:40px}.compact-items td:nth-child(2)>b{font-size:7pt;font-weight:700;display:block}.compact-items td:nth-child(2)>span{font-size:7pt;line-height:1.25;display:block}.compact-items small{margin:0!important;font-size:6pt!important}.compact-totals{break-inside:avoid;width:75mm;margin:4mm 0 4mm auto;font-size:8pt}.compact-totals>div{justify-content:space-between;gap:8mm;padding:1mm 0;display:flex}.compact-totals>div:last-child{padding-top:2mm;font-size:10pt;font-weight:700}.compact-bottom{break-inside:avoid;grid-template-columns:1fr 25mm;gap:10mm;display:grid}.compact-bottom p{margin-bottom:2mm;font-size:6.8pt}.compact-bottom>div>b{font-size:7pt}.document-qr small{color:#666;text-align:center;font-size:5.8pt}.compact-document .print-footer{margin-top:4mm}.image-upload-control{margin:12px 0 20px}.image-dropzone{background:#faf8fc;border:2px dashed #cfc1dc;border-radius:12px;outline:none;align-items:center;gap:20px;padding:20px;display:flex}.image-dropzone:focus,.image-dropzone.dragging{background:#fff8dd;border-color:#8b61aa;box-shadow:0 0 0 3px #f0e5fa}.image-dropzone.is-disabled{opacity:.65}.image-dropzone>img{object-fit:contain;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/14px 14px;border-radius:8px;width:100px;height:90px}.image-dropzone>svg{color:#9174aa;flex-shrink:0}.image-dropzone b{color:var(--purple);font-size:14px}.image-dropzone .button{margin-top:10px;margin-right:15px;font-size:12px}.image-link-entry{gap:8px;margin:10px 0;display:flex}.image-link-entry input{font-size:12px}.image-link-entry button{flex-shrink:0}.brand-logo-editor .image-upload-control{width:100%}.brand-logo-editor{display:block!important}.image-upload-control .inline-error{margin-top:10px}.import-file-drop{background:#fbf9fc;border:2px dashed #d8cbe2;border-radius:10px;flex-direction:column;align-items:center;gap:10px;margin:18px 0;padding:25px;display:flex}.import-file-drop svg{color:#9f86b2}.import-source textarea{font-family:monospace;font-size:12px}.import-instructions{background:#f6f2fa;border-radius:10px;padding:16px;font-size:13px;line-height:1.7}.import-instructions button{margin-top:10px;font-size:12px}.import-review{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.import-review h3,.import-review h4{margin-bottom:15px}.import-review td{padding:12px}.import-review details{overflow-wrap:anywhere;max-width:520px;font-size:12px}.import-review details>div{margin:5px 0}.import-review .table-wrap{max-height:420px;overflow:auto}.success-message{color:#286c4d;background:#edf8f0;border-radius:8px;margin:12px 0;padding:12px}.batch-image-list{max-height:450px;overflow:auto}.batch-image-row{border-bottom:1px solid var(--line);grid-template-columns:65px minmax(140px,1fr) minmax(180px,1.4fr);align-items:center;gap:16px;padding:12px 0;display:grid}.batch-image-row img{object-fit:contain;width:60px;height:60px}.batch-image-row>span{overflow-wrap:anywhere}.batch-image-row b,.batch-image-row select{font-size:12px}.bulk-upload-panel>.segmented{margin-bottom:20px}.entry-heading{justify-content:space-between;align-items:center;gap:15px;padding:15px 0;display:flex}.entry-heading button{flex-shrink:0;font-size:12px}.entry-heading small{font-size:11px}.document-import{background:#faf8fc;border:1px solid #e2d7ea;border-radius:10px;margin-bottom:20px;padding:18px}.entry-table-wrap{border:1px solid #e4dce9;border-radius:10px;overflow-x:auto}.entry-table{table-layout:fixed;min-width:800px;font-size:12px}.entry-table th{color:#6b557d;background:#f0eaf6;padding:10px 7px;font-size:10px}.entry-table td{vertical-align:top;border-bottom:1px solid #ece6f1;padding:9px 6px}.entry-table th:first-child{width:30px}.entry-table th:nth-child(2){width:auto}.entry-table th:nth-child(3){width:76px}.entry-table th:nth-child(4){width:92px}.entry-table th:nth-child(5),.entry-table th:nth-child(6){width:65px}.entry-table th:nth-child(7){width:85px}.entry-table th:nth-child(8){width:30px}.entry-table input{border-radius:5px;min-height:36px;padding:8px 6px;font-size:12px}.entry-table input[type=number]{appearance:textfield;text-align:right}.entry-table input::-webkit-inner-spin-button{appearance:none}.entry-table td.num{color:var(--purple);padding-top:18px;font-size:12px}.entry-table input:disabled{color:#b9b0c0;background:#f7f5f9}.entry-product-meta{align-items:center;gap:7px;margin:4px 0;display:flex}.entry-product-meta img{object-fit:contain;width:24px;height:24px}.entry-product-meta small{color:#8f7e9c;margin:0;font-size:10px;line-height:1.3}.entry-edit{margin-top:3px;font-size:10px}.entry-options{z-index:150;background:#fff;border:1px solid #bda4d0;border-radius:8px;overflow-y:auto;box-shadow:0 12px 30px #2b173e33}.entry-options button{text-align:left;white-space:normal;color:#675272;border:0;border-bottom:1px solid #f0eaf6;border-radius:0;flex-direction:column;align-items:flex-start;gap:1px;width:100%;padding:9px 10px;font-size:11px;display:flex}.entry-options button b{color:var(--purple);font-size:12px}.entry-options button span{font-size:11px;font-weight:400}.entry-options button small{margin:0;font-size:10px}.entry-options button.active{background:#fff2be}.entry-options p{padding:13px;font-size:12px}.entry-help{color:#85708f;padding:10px 0 18px;font-size:11px}.empty-entry-row{background:#fcfaf5}.document-entry input:focus{background:#fffdf4;border-color:#9671b1}.entry-table .icon-button{padding:7px 0}.document-entry .form-footer{flex-wrap:wrap}.image-dropzone .file-input,.import-file-drop .file-input{display:none}@media (max-width:760px){.image-dropzone{align-items:flex-start;gap:12px;padding:14px}.image-dropzone>img{width:65px;height:70px}.image-dropzone small{font-size:11px}.image-link-entry{flex-wrap:wrap}.image-link-entry input{flex:1;min-width:150px}.entry-heading{flex-wrap:wrap}.batch-image-row{grid-template-columns:55px 1fr;gap:9px}.batch-image-row select{grid-column:1/-1}.batch-image-row img{width:50px;height:50px}.document-import,.import-instructions{padding:12px}.bulk-upload-panel .segmented{flex-wrap:wrap;display:flex}.image-upload-control .muted{font-size:10px}}.brand-initial img{object-fit:contain;background:#fff;width:100%;height:100%}.catalogue-logo-panel .image-upload-control{margin-bottom:0}.catalogue-logo-panel .image-dropzone,.catalogue-logo-panel .image-link-entry{max-width:760px}.inventory-scope{flex-wrap:wrap;gap:5px;margin-bottom:18px;display:flex}.alter-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.alter-toolbar>.search{flex:1;min-width:250px}.alter-toolbar>select{width:190px}.alter-layout{grid-template-columns:minmax(300px,1.1fr) minmax(300px,1fr);align-items:start;gap:22px;display:grid}.alter-list{max-height:720px;overflow:auto}.alter-item{text-align:left;border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 8px;display:flex}.alter-item.selected{background:#fff5cd}.alter-item b{font-size:12px;line-height:1.5}.alter-item small{align-items:center;gap:6px;font-size:10px;display:flex}.alter-item strong{white-space:nowrap;font-size:11px;font-weight:500}.alter-editor{position:sticky;top:138px}.alter-editor .section-title img{object-fit:contain;width:65px;height:65px}.alter-editor form>.field{margin-top:18px}.alter-editor .form-grid{margin:20px 0}.alter-empty{text-align:center;color:#947da5;padding:55px 15px}.alter-empty svg{margin-bottom:20px}.alter-empty p{margin-top:12px;font-size:12px}.import-status>p{margin:15px 0;font-size:13px}.import-status details{margin:15px 0}.import-status details>p{border-bottom:1px solid var(--line);padding:10px 0}.import-status summary{cursor:pointer;color:var(--purple)}@media (max-width:900px){.alter-layout{grid-template-columns:1fr}.alter-list{max-height:400px}.alter-editor{scroll-margin-top:130px;position:static}.alter-toolbar>select{flex:1}.alter-editor .form-footer{flex-wrap:wrap}}.checker-scan-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;display:flex}.checker-scan-tools button{font-size:12px}.checker-scan-tools small{margin:0}.checker-retry{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.checker-retry button{font-size:12px}.checker-idle p{overflow-wrap:anywhere;max-width:100%}.quantity-row-actions{white-space:nowrap;align-items:center;gap:12px;display:flex}.quantity-row-actions>button:first-child{padding:8px 10px;font-size:11px}.quantity-item-options{flex-direction:column;gap:8px;max-height:45vh;display:flex;overflow:auto}.quantity-item-options button{text-align:left;justify-content:space-between;gap:15px;font-size:12px}.quantity-item-options button>span:last-child{flex-shrink:0;font-size:11px}.quantity-selected{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.quantity-selected h3{font-size:18px}.quantity-selected button{flex-shrink:0;font-size:11px}.quantity-fields{border:0;min-width:0;margin:0;padding:0}.quantity-note{color:#705584;background:#f6f1fa;border-radius:8px;margin-bottom:18px;padding:13px;font-size:13px}.quantity-preview{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}.quantity-preview>div{background:#f7f3fa;border-radius:10px;min-width:0;padding:16px}.quantity-preview span{color:#897393;font-size:12px}.quantity-preview strong{overflow-wrap:anywhere;font-size:26px;display:block}.quantity-preview strong small{font-size:12px;display:inline}.quantity-fields>.form-grid{margin-top:18px}.stock-quantity-modal .form-footer{flex-wrap:wrap}@media (max-width:600px){.quantity-selected{flex-direction:column;align-items:flex-start}.quantity-selected h3{font-size:16px}.quantity-preview strong{font-size:22px}.quantity-item-options button{flex-wrap:wrap}}.reference-document{color:#111;background:#fff;max-width:900px;margin:auto;padding:35px;font-family:Arial,sans-serif}.reference-document .print-heading{justify-content:space-between;gap:45px;margin-bottom:30px;display:flex}.reference-document .print-logo{object-fit:contain;object-position:left top;width:43%;max-height:115px}.reference-document .print-company{width:37%;font-size:10px;line-height:1.5}.reference-document .print-parties{grid-template-columns:1fr 1fr;gap:40px;margin-bottom:28px;display:grid}.reference-meta h2{margin-bottom:12px;font-size:22px}.reference-meta>div{grid-template-columns:1fr 1fr;gap:10px;margin:5px 0;font-size:10px;display:grid}.reference-items{table-layout:auto;border-collapse:collapse;width:100%}.reference-items th{color:#111;background:#fff;border-bottom:1px solid #222;padding:7px 4px;font-size:9px;font-weight:400}.reference-items td{color:#111;border:0;padding:13px 4px;font-size:10px}.reference-items tbody{border-bottom:1px solid #222}.reference-items td:nth-child(3){width:29%}.reference-items img{object-fit:contain;width:36px;height:55px}.reference-items small{color:#111;display:block}.reference-document .compact-totals{width:42%;margin-top:18px;margin-left:auto;font-size:11px}.reference-document .compact-totals>div{justify-content:space-between;padding:6px 0;display:flex}.reference-document .compact-totals>div:last-child{font-size:14px;font-weight:700}.reference-document .compact-bottom{white-space:pre-line;justify-content:space-between;gap:25px;margin-top:25px;font-size:10px;display:flex}.document-qr{text-align:center;flex-shrink:0;width:105px}.document-qr svg{width:90px;height:90px}.document-qr small{font-size:8px;display:block}.packing-editor{border:1px solid #ddd;border-radius:8px;margin:20px 0;padding:16px}.packing-editor summary{cursor:pointer;font-weight:600}.packing-editor p{margin:14px 0;font-size:12px}.packing-editor table{min-width:1000px}.packing-editor td:first-child{min-width:240px}.packing-editor input{min-width:75px}.packing-editor>button{margin-top:16px}@media (max-width:760px){.print-preview{overflow-x:auto}.reference-document{min-width:680px;padding:25px}}@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}:root{--purple:#351644;--purple-dark:#271032;--yellow:#f4cd38;--ink:#30223b;--bg:#f7f5f8}.full{width:100%;margin-top:12px}.login-shell{background:radial-gradient(at 0 0,#e5ddec 0,#0000 45%),#f7f5f8;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:40px 18px;display:flex}.login-card{background:#fff;border:1px solid #e8e1ed;border-radius:20px;width:min(100%,450px);padding:34px;box-shadow:0 18px 64px #35164412}.login-logo{object-fit:contain;width:210px;height:85px;margin:0 auto 28px;display:block}.eyebrow{letter-spacing:2px;color:#7d638e;margin:16px 0 8px;font-size:10px;font-weight:700}.login-card h1{color:var(--purple);letter-spacing:-1px;margin:0;font-size:30px}.login-intro{color:#766780;margin:8px 0 20px}.login-tags{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#735780;gap:14px;margin-bottom:24px;padding:15px 0;font-size:11px;display:flex}.login-tags span{align-items:center;gap:5px;display:flex}.login-card input{min-height:48px}.login-card .primary{justify-content:space-between;min-height:49px}.login-help{color:#7b6c84;margin:18px 0 8px;font-size:12px}.login-card footer{text-align:center;color:#97899f;border-top:1px solid #eee8f1;margin-top:24px;padding-top:20px;font-size:11px}.login-brand{letter-spacing:3px;color:#998aa1;margin:25px 0;font-size:10px}.setup-shell{min-height:100dvh;padding:24px}.setup-shell>header{justify-content:space-between;align-items:center;max-width:760px;margin:auto;display:flex}.setup-shell>header img{object-fit:contain;width:150px;height:65px}.migration-card{border:1px solid var(--line);background:#fff;border-radius:16px;max-width:660px;margin:45px auto;padding:30px}.migration-card h1{margin:6px 0 18px;font-size:27px}.migration-card p{color:#71627c}.migration-counts{background:#f6f1fa;border-radius:10px;gap:20px;margin:20px 0;padding:16px;display:flex}.migration-counts span{flex:1;font-size:12px}.migration-counts b{font-size:24px;display:block}.account-modal h3{align-items:center;gap:8px;margin-top:25px;display:flex}.account-actions{flex-wrap:wrap;gap:10px;display:flex}.account-modal{max-height:90dvh;overflow-y:auto}.avatar.account-trigger{border:0;border-radius:50%;min-width:34px;min-height:34px;padding:0}.login-card .field{margin-bottom:15px}@media (max-width:480px){.login-card{padding:26px 22px}.login-shell{padding:22px 14px}.login-logo{width:180px;height:74px;margin-bottom:22px}.migration-card{padding:20px}.setup-shell{padding:16px}.migration-counts{gap:8px}}

/* UGARIT QUOTATION LAYOUT FIX 2026-10-15 */
/* UGARIT quotation / proforma shared document layout.
   Append AFTER app/globals.css, or paste at the very end of that file.
   Uses the existing PrintDocument markup; no JSX changes are required.
   PDF downloads use lib/pdf-engine.ts, supplied separately in this package. */

.print-document.reference-document {
  box-sizing: border-box;
  width: 210mm;
  min-width: 210mm;
  max-width: none;
  min-height: 297mm;
  margin: 0 auto;
  padding: 13mm 14mm 11mm;
}

.print-document.reference-document .print-parties {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8mm;
}

.print-document.reference-document .reference-meta > div {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2mm;
}

.print-document.reference-document .reference-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Fixed columns distribute the A4 content width predictably.
   Widths must be on the FIRST HEADER ROW, not only on tbody cells. */
.print-document.reference-document table.reference-items {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border: 0;
}

.reference-document .reference-items th:nth-child(1)  { width: 3%; }
.reference-document .reference-items th:nth-child(2)  { width: 14%; }
.reference-document .reference-items th:nth-child(3)  { width: 31%; }
.reference-document .reference-items th:nth-child(4)  { width: 8%; }
.reference-document .reference-items th:nth-child(5)  { width: 4.5%; }
.reference-document .reference-items th:nth-child(6)  { width: 8%; }
.reference-document .reference-items th:nth-child(7)  { width: 5.5%; }
.reference-document .reference-items th:nth-child(8)  { width: 10.5%; }
.reference-document .reference-items th:nth-child(9)  { width: 4.5%; }
.reference-document .reference-items th:nth-child(10) { width: 11%; }

.print-document.reference-document .reference-items th,
.print-document.reference-document .reference-items td {
  box-sizing: border-box;
  vertical-align: middle;
  padding: 2.5mm 1.5px;
  border: 0;
  text-align: left;
  font-size: 7.2pt;
  line-height: 1.4;
  word-break: normal;
}

.print-document.reference-document .reference-items th {
  vertical-align: bottom;
  padding-top: 2mm;
  padding-bottom: 2mm;
  font-size: 6.5pt;
  white-space: normal;
  overflow-wrap: normal;
  border-bottom: 0.5pt solid #222;
}

.print-document.reference-document .reference-items tbody {
  border-bottom: 0.5pt solid #222;
}

.print-document.reference-document .reference-items td:nth-child(3) {
  width: auto;
  min-width: 0;
  padding-right: 2mm;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.print-document.reference-document .reference-items td:nth-child(3) small {
  display: block;
  margin-top: 1.5mm;
  font-size: 6.5pt;
  line-height: 1.35;
}

.print-document.reference-document .reference-items td:not(:nth-child(3)) {
  white-space: nowrap;
  overflow-wrap: normal;
}

.print-document.reference-document .reference-items :is(th, td):is(
  :nth-child(4), :nth-child(6), :nth-child(7), :nth-child(8), :nth-child(10)
) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.print-document.reference-document .reference-items :is(th, td):is(
  :nth-child(2), :nth-child(5), :nth-child(9)
) { text-align: center; }

.print-document.reference-document .reference-items td:nth-child(2) img {
  display: block;
  width: 84px;
  max-width: 100%;
  height: 112px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.print-document.reference-document .reference-items tr {
  break-inside: avoid;
  page-break-inside: avoid;
}
.print-document.reference-document .reference-items thead {
  display: table-header-group;
}
.print-document.reference-document .compact-totals {
  break-inside: avoid;
}

/* Named page avoids changing shelf-card / packing-list page settings.
   Apply margins ONCE: @page supplies them; the printed article has no padding. */
@page ugarit-document {
  size: A4 portrait;
  margin: 13mm 14mm;
}
@media print {
  .print-document.reference-document {
    page: ugarit-document;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    transform: none;
  }
}
