/*! tailwindcss v4.1.0 | MIT License | https://tailwindcss.com */
@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){@layer base{*,:before,:after,::backdrop{--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--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;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::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: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}:-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}.relative{position:relative}.static{position:static}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.lowercase{text-transform:lowercase}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--agd-brand-ink:#18275b;--agd-brand-primary:#203dba;--agd-brand-primary-hover:#142a91;--agd-brand-accent:#f9df58;--agd-canvas:#fbfcff;--agd-ledger:#f3f5ff;--agd-muted:#58617b;--agd-line:#d8deef;--agd-primary-soft:#e3e9ff;--agd-success:#176b45;--agd-success-soft:#e5f3eb;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7ff;--surface:#fff;--surface-2:#f7f8ff;--ink:var(--agd-brand-ink);--muted:var(--agd-muted);--line:var(--agd-line);--line-strong:#c5cde5;--green:var(--agd-brand-primary);--green-hover:var(--agd-brand-primary-hover);--green-soft:var(--agd-primary-soft);--success:var(--agd-success);--success-soft:var(--agd-success-soft);--nav:var(--agd-brand-ink);--nav-2:var(--agd-brand-primary);--nav-ink:#f7f8ff;--red:#b63636;--red-soft:#fbeaea;--amber:#9a650d;--amber-soft:#fff4d7;--blue:#35659a;--blue-soft:#e8f0f9;--violet:#674fa0;--shadow:0 1px 2px #18275b12;font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c1126;--surface:#151e3c;--surface-2:#1b274b;--ink:#edf1ff;--muted:#abb6d6;--line:#2d3a60;--line-strong:#41527c;--green:#7892ff;--green-hover:#9aaeff;--green-soft:#23366f;--success:#55b982;--success-soft:#193827;--nav:#090e20;--nav-2:#1b2f79;--nav-ink:#edf1ff;--red:#f08080;--red-soft:#3d2020;--amber:#e7b653;--amber-soft:#3c3018;--blue:#7eb0e5;--blue-soft:#1b3045;--violet:#a991dc;--shadow:none}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-size:15px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}svg{flex:none;width:18px;height:18px}:focus-visible{outline:3px solid color-mix(in srgb,var(--green)40%,transparent);outline-offset:2px}.button{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-weight:650;transition:background .15s,border-color .15s;display:inline-flex}.button-md{min-height:44px;padding:10px 16px}.button-sm{min-height:36px;padding:7px 10px;font-size:13px}.button:disabled{opacity:.48;cursor:not-allowed}.button-primary{background:var(--green);color:#fff}.dark .button-primary{color:#07140d}.button-primary:hover:not(:disabled){background:var(--green-hover)}.button-secondary{background:var(--surface);border-color:var(--line-strong);color:var(--ink)}.button-secondary:hover:not(:disabled),.button-ghost:hover:not(:disabled){background:var(--surface-2)}.button-ghost{color:var(--muted);background:0 0}.button-danger{background:var(--red);color:#fff}.icon-button{width:40px;padding:0}.input{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:44px;color:var(--ink);border-radius:7px;padding:8px 11px;box-shadow:inset 0 1px 1px #00000005}.input::placeholder{color:var(--muted)}.input:focus{border-color:var(--green);outline:3px solid color-mix(in srgb,var(--green)15%,transparent)}.select{padding-right:32px}.textarea{resize:vertical;line-height:1.5}.field{flex-direction:column;gap:6px;display:flex}.field-label{font-size:13px;font-weight:650}.field-hint,.field-error{font-size:12px}.field-hint{color:var(--muted)}.field-error{color:var(--red)}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;padding:20px}.page{flex-direction:column;gap:20px;max-width:1500px;margin:0 auto;display:flex}.page.narrow{max-width:1100px}.page-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.page-header h1{letter-spacing:-.035em;margin:0;font-size:30px;font-weight:730;line-height:1.15}.page-header p{color:var(--muted);max-width:720px;margin:7px 0 0}.page-actions,.toolbar,.topbar-actions,.row-actions{align-items:center;gap:8px;display:flex}.page-loader{min-height:55vh;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.page-skeleton{gap:20px;display:grid}.page-skeleton-heading{gap:10px;max-width:460px;display:grid}.page-skeleton-heading .skeleton:first-child{width:180px;height:34px}.page-skeleton-heading .skeleton:last-child{width:100%;height:20px}.page-skeleton-toolbar{width:min(100%,720px);height:44px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{grid-template-columns:244px minmax(0,1fr);height:100vh;display:grid;overflow:hidden}.sidebar{background:var(--nav);color:var(--nav-ink);z-index:30;flex-direction:column;min-width:0;display:flex}.sidebar-brand{border-bottom:1px solid #ffffff17;align-items:center;gap:11px;height:68px;padding:0 16px;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:9px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.sidebar-brand>div:nth-child(2){flex-direction:column;min-width:0;display:flex}.sidebar-brand strong{font-size:15px}.sidebar-brand span{color:#ffffff94;font-size:11px}.sidebar nav{flex:1;padding:16px 10px;overflow-y:auto}.sidebar nav>p{color:#ffffff75;margin:18px 10px 7px;font-size:11px}.sidebar nav>p:first-child{margin-top:0}.nav-link{color:#ffffffb5;border-radius:7px;align-items:center;gap:11px;margin:2px 0;padding:9px 10px;font-weight:560;display:flex}.nav-link:hover{color:#fff;background:#ffffff0f}.nav-link.active{background:var(--nav-2);color:#fff}.collapse-button{color:#ffffff8c;cursor:pointer;background:0 0;border:0;border-top:1px solid #ffffff17;height:45px}.collapse-button svg{transition:transform .2s}.sidebar-collapsed{grid-template-columns:68px minmax(0,1fr)}.sidebar-collapsed .sidebar-brand>div:nth-child(2),.sidebar-collapsed .nav-link span,.sidebar-collapsed .sidebar nav>p{display:none}.sidebar-collapsed .sidebar-brand{padding:0 15px}.sidebar-collapsed .nav-link{justify-content:center}.sidebar-collapsed .collapse-button svg{transform:rotate(180deg)}.workspace{flex-direction:column;min-width:0;min-height:0;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--line);flex:none;align-items:center;height:68px;padding:0 24px;display:flex}.location-context{flex-direction:column;display:flex}.location-context span{color:var(--muted);font-size:11px}.location-context strong{font-size:13px}.topbar-actions{margin-left:auto}.user-chip{align-items:center;gap:9px;padding-left:8px;display:flex}.user-chip>span{background:var(--green-soft);width:31px;height:31px;color:var(--green);border-radius:50%;place-items:center;font-weight:750;display:grid}.user-chip>div{flex-direction:column;display:flex}.user-chip strong{font-size:12px}.user-chip small{text-transform:capitalize;color:var(--muted);font-size:10px}.content{min-height:0;padding:28px;overflow-y:auto}.menu-button,.mobile-close,.mobile-overlay{display:none}.status-badge{border:1px solid var(--line);text-transform:capitalize;white-space:nowrap;border-radius:99px;align-items:center;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.status-requested,.status-on_request,.status-scheduled{background:var(--blue-soft);color:var(--blue);border-color:color-mix(in srgb,var(--blue)22%,transparent)}.status-pending,.status-low_stock,.status-draft{background:var(--amber-soft);color:var(--amber);border-color:color-mix(in srgb,var(--amber)22%,transparent)}.status-sent{background:color-mix(in srgb,var(--violet)14%,var(--surface));color:var(--violet)}.status-delivered,.status-in_stock,.status-active,.status-owner,.status-domain{background:var(--success-soft);color:var(--success);border-color:color-mix(in srgb,var(--success)22%,transparent)}.status-rejected,.status-cancelled,.status-out_of_stock,.status-archived,.status-security{background:var(--red-soft);color:var(--red);border-color:color-mix(in srgb,var(--red)22%,transparent)}.status-manager,.status-audit,.status-ended{background:var(--surface-2);color:var(--muted)}.table-wrap{border:1px solid var(--line);background:var(--surface);border-radius:9px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{background:var(--surface-2);color:var(--muted);text-align:left;border-bottom:1px solid var(--line);padding:10px 14px;font-size:11px;font-weight:700}td{border-bottom:1px solid var(--line);vertical-align:middle;padding:13px 14px}tbody tr:last-child td{border-bottom:0}tbody tr[tabindex]{cursor:pointer}tbody tr[tabindex]:hover{background:var(--surface-2)}.cell-stack{flex-direction:column;gap:3px;display:flex}.cell-stack small{color:var(--muted)}.customer-addresses{flex-direction:column;gap:8px;max-width:360px;display:flex}.customer-addresses address{flex-direction:column;gap:2px;font-style:normal;line-height:1.4;display:flex}.customer-addresses address+address{border-top:1px solid var(--line);padding-top:8px}.customer-addresses small{color:var(--muted)}.customer-orders-link{color:var(--green);white-space:nowrap;align-items:center;gap:6px;font-weight:650;display:inline-flex}.customer-orders-link:hover{text-decoration:underline}.customer-orders-link svg{width:15px;height:15px}.money{font-variant-numeric:tabular-nums;font-weight:650}.row-arrow{color:var(--muted)}.filter-bar{grid-template-columns:minmax(240px,1.4fr) repeat(4,minmax(140px,.65fr));gap:10px;display:grid}.catalogue-filters{grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(140px,.65fr))}.filter-bar.simple{grid-template-columns:minmax(180px,280px)}.search-field{position:relative}.search-field>svg{color:var(--muted);z-index:1;position:absolute;top:11px;left:11px}.search-field .input{padding-left:36px}.pagination{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.pagination>div{gap:8px;display:flex}.table-skeleton{flex-direction:column;gap:8px;display:flex}.skeleton{background:var(--line);border-radius:8px;height:56px;animation:1.3s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.5}}.empty-state{border:1px dashed var(--line-strong);text-align:center;min-height:260px;color:var(--muted);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.empty-state svg{width:28px;height:28px}.empty-state h2{color:var(--ink);margin:12px 0 4px;font-size:17px}.empty-state p{max-width:460px;margin:0 0 16px}.page-error{border:1px solid color-mix(in srgb,var(--red)30%,var(--line));background:var(--red-soft);color:var(--red);border-radius:9px;align-items:center;gap:14px;padding:16px;display:flex}.page-error>div{flex-direction:column;flex:1;display:flex}.page-error small{margin-top:3px}.fatal-error{max-width:680px;padding:40px}.back-link{color:var(--muted);align-items:center;gap:7px;width:max-content;font-weight:600;display:inline-flex}.overview-ledger{background:var(--nav);color:var(--nav-ink);border-radius:11px;grid-template-columns:2fr 1fr;display:grid;overflow:hidden}.total-panel>span,.period-panel span{color:#fff9;font-size:12px}.total-panel>strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:10px 0;font-size:38px;display:block}.total-panel p{color:#ffffff94;margin:0}.overview-orders-link{color:#fff;align-items:center;gap:6px;margin-top:18px;font-weight:650;display:inline-flex}.overview-orders-link:hover{text-decoration:underline}.overview-orders-link svg{width:16px;height:16px}.period-panel{background:#ffffff0d;align-items:center;gap:13px;padding:28px;display:flex}.period-panel>svg{color:var(--green)}.period-panel>div{flex-direction:column;gap:4px;display:flex}.period-panel small{color:#ffffff80}.overview-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.overview-stat{align-items:center;gap:14px;display:flex}.overview-stat>svg{width:22px;height:22px;color:var(--green)}.overview-stat>div{flex-direction:column;gap:4px;display:flex}.overview-stat span{color:var(--muted);font-size:13px}.overview-stat strong{font-variant-numeric:tabular-nums;font-size:26px;line-height:1}.split-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.section-heading{justify-content:space-between;align-items:start;gap:15px;margin-bottom:18px;display:flex}.section-heading h2,.card h2,.card h3{margin:0}.section-heading p,.form-card>p{color:var(--muted);margin:5px 0 0}.metric-list>div,.metric-list>a{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 0;display:flex}.metric-list>a:hover{color:var(--green)}.metric-list strong{font-variant-numeric:tabular-nums;font-size:18px}.order-workbench{grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:18px;display:grid}.order-sheet{flex-direction:column;gap:18px;display:flex}.order-main{min-width:0}.order-summary{background:var(--surface);border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:start;padding:18px;display:flex}.order-summary span{color:var(--muted);font-size:12px}.order-summary h2{margin:5px 0 2px;font-size:21px}.order-summary p{color:var(--muted);margin:0}.detail-grid{grid-template-columns:1.4fr 1fr;gap:18px;display:grid}.card h3{margin-bottom:15px;font-size:14px}.detail-grid dl{gap:12px;margin:0;display:grid}.detail{grid-template-columns:100px 1fr;gap:15px;display:grid}.detail dt{color:var(--muted);font-size:12px}.detail dd{margin:0;line-height:1.45}.numeric{text-align:right}.product-cell{align-items:center;gap:10px;display:flex}.product-cell img,.image-placeholder{object-fit:cover;background:var(--surface-2);border:1px solid var(--line);width:40px;height:40px;color:var(--muted);border-radius:6px;place-items:center;display:grid}.product-cell>div{flex-direction:column;display:flex}.product-cell small{color:var(--muted);margin-top:3px}.totals{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-self:flex-end;width:min(100%,370px);padding:13px 18px}.totals>div{justify-content:space-between;padding:7px 0;display:flex}.grand-total{border-top:1px solid var(--line);margin-top:5px;font-size:18px;padding-top:13px!important}.action-rail{position:sticky;top:0}.rail-label{color:var(--muted);margin-bottom:8px;font-size:11px;display:block}.action-rail p{color:var(--muted);line-height:1.5}.transition-actions{flex-direction:column;gap:8px;display:flex}.transition-actions .button{width:100%}.order-history{align-items:start}.order-history .card>h2{margin-bottom:18px;font-size:17px}.timeline{margin:0;padding:0;list-style:none}.timeline li{grid-template-columns:14px 1fr;gap:10px;padding-bottom:20px;display:grid;position:relative}.timeline li>span{background:var(--green);z-index:1;border-radius:50%;width:9px;height:9px;margin-top:6px}.timeline li:not(:last-child):before{content:"";background:var(--line-strong);width:1px;position:absolute;top:13px;bottom:-2px;left:4px}.timeline p{color:var(--muted);margin:6px 0;font-size:12px}.timeline blockquote{background:var(--surface-2);color:var(--muted);border-radius:6px;margin:7px 0;padding:8px 10px}.notes-list article{border-top:1px solid var(--line);padding:11px 0}.notes-list p{white-space:pre-wrap;margin:0 0 5px}.notes-list small{color:var(--muted)}.notes-list+.field{margin-top:16px}.note-button{margin-top:12px}.dialog-backdrop{z-index:100;background:#040a0694;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--line);border-radius:11px;width:min(100%,520px);max-height:calc(100vh - 36px);padding:24px;position:relative;overflow-y:auto;box-shadow:0 25px 70px #00000047}.dialog h2{margin:0;font-size:20px}.dialog>p{color:var(--muted);line-height:1.5}.dialog-close{color:var(--muted);cursor:pointer;background:0 0;border:0;position:absolute;top:14px;right:14px}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.dialog-form{flex-direction:column;gap:13px;margin-top:18px;display:flex}.notice{border:1px solid color-mix(in srgb,var(--blue)20%,var(--line));background:var(--blue-soft);color:var(--blue);padding:12px 15px}.management-strip{background:var(--surface);border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:end;gap:20px;padding:16px;display:flex}.management-strip p{color:var(--muted);max-width:520px;font-size:12px}.inline-form{align-items:end;gap:8px;min-width:400px;display:flex}.form-stack,.form-card{flex-direction:column;gap:18px;display:flex}.form-card h2{font-size:18px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.check-field{border:1px solid var(--line);border-radius:7px;align-items:center;gap:10px;padding:11px;display:flex}.check-field input{width:17px;height:17px;accent-color:var(--green)}.check-field span{flex-direction:column;display:flex}.check-field small{color:var(--muted)}.form-actions{justify-content:flex-end;gap:8px;display:flex}.catalogue-nav{background:var(--surface-2);border-radius:9px;align-items:center;gap:4px;width:max-content;max-width:100%;padding:4px;display:flex}.catalogue-nav a{min-height:40px;color:var(--muted);border-radius:7px;padding:9px 16px;font-weight:650}.catalogue-nav a.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.photo-picker{border:1px dashed var(--line-strong);cursor:pointer;background:var(--surface-2);border-radius:9px;justify-content:center;align-items:center;gap:12px;min-height:112px;padding:18px;display:flex}.photo-picker>svg{width:26px;height:26px;color:var(--green)}.photo-picker>span{flex-direction:column;gap:3px;display:flex}.photo-picker small{color:var(--muted)}.photo-picker .input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.selected-photos{margin:0;padding:0;list-style:none}.selected-photos li{border-top:1px solid var(--line);grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0;display:grid}.selected-photos li>span{color:var(--muted);font-size:12px}.selected-photos li>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-footnote{color:var(--muted);font-size:12px;line-height:1.5}.item-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.7fr);align-items:start;gap:18px;display:grid}.item-layout .form-card>.button,.item-layout .form-stack>.button{align-self:flex-start}.item-layout>aside{flex-direction:column;gap:18px;display:flex;position:sticky;top:0}.item-layout aside h2{align-items:center;gap:8px;font-size:17px;display:flex}.compact-timeline{max-height:520px;overflow:auto}.timeline pre,.event-timeline pre{background:var(--surface-2);color:var(--ink);border-radius:6px;padding:10px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.current-snapshot dl>div{border-top:1px solid var(--line);justify-content:space-between;padding:11px 0;display:flex}.current-snapshot dt{color:var(--muted)}.current-snapshot dd{margin:0}.uploaded-image{align-items:start;gap:10px;display:flex}.uploaded-image img{object-fit:cover;border-radius:8px;width:140px;height:140px}.upload-progress{background:var(--line);border-radius:99px;height:7px;overflow:hidden}.upload-progress span{background:var(--green);height:100%;display:block}.item-picker{grid-template-columns:1fr 1fr;gap:10px;display:grid}.item-picker article{border:1px solid var(--line);border-radius:8px;overflow:hidden}.item-picker article.selected{border-color:var(--green)}.item-toggle{background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;border:0;justify-content:space-between;gap:8px;width:100%;padding:12px;display:flex}.item-toggle>div{flex-direction:column;gap:4px;display:flex}.item-toggle>div:last-child{text-align:right;align-items:end}.item-toggle small{color:var(--muted)}.discount-input{background:var(--surface-2);border-top:1px solid var(--line);align-items:center;gap:8px;padding:12px;display:flex}.discount-input .field{flex:1}.event-filters{grid-template-columns:auto repeat(4,1fr);align-items:center}.event-timeline{margin:0;padding:0;list-style:none}.event-skeleton{gap:12px;display:grid}.event-skeleton .skeleton{height:148px}.event-timeline>li{grid-template-columns:22px 1fr;display:grid;position:relative}.event-line{position:relative}.event-line:before{content:"";background:var(--green);border-radius:50%;width:8px;height:8px;position:absolute;top:17px;left:8px}.event-line:after{content:"";background:var(--line-strong);width:1px;position:absolute;top:26px;bottom:0;left:11px}.event-timeline .card{margin-bottom:12px}.event-timeline header{justify-content:space-between;display:flex}.event-timeline header>div{flex-direction:column;display:flex}.event-timeline header span,.event-timeline .card>p,.event-timeline footer{color:var(--muted);font-size:12px}.event-timeline .card>a{color:var(--green);align-items:center;gap:5px;margin-top:12px;font-weight:650;display:inline-flex}.event-timeline details{border-top:1px solid var(--line);padding:9px 0}.event-timeline summary{cursor:pointer;color:var(--muted)}.event-timeline footer{border-top:1px solid var(--line);padding-top:9px}.load-more{text-align:center;color:var(--muted);justify-items:center;gap:10px;padding:8px 0 24px;font-size:13px;display:grid}.load-more-skeleton{width:132px;height:36px}.location-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.location-card{grid-template-columns:auto 1fr auto;align-items:start;gap:12px;display:grid}.location-card h2{margin:2px 0 5px;font-size:16px}.location-card p{margin:0 0 8px}.location-card small{color:var(--muted);line-height:1.45}.location-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green);border-radius:8px;place-items:center;display:grid}.code-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.location-checks{border:1px solid var(--line);border-radius:7px;flex-direction:column;gap:8px;padding:12px;display:flex}.location-checks legend{padding:0 4px;font-weight:650}.temporary-password{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:12px;display:flex}.temporary-password code{word-break:break-all;flex:1;font-size:16px}.profile-card{align-items:center;gap:16px;display:flex}.profile-avatar{background:var(--nav);color:#fff;border-radius:12px;place-items:center;width:58px;height:58px;font-size:24px;font-weight:750;display:grid}.profile-card h2{margin:0}.profile-card p{color:var(--muted);margin:4px 0 10px}.profile-setting{align-items:flex-start;gap:14px;display:flex}.profile-setting>svg{color:var(--green);width:24px;height:24px}.profile-setting h2{margin:0;font-size:17px}.profile-setting p{color:var(--muted);line-height:1.5}.auth-page{grid-template-columns:1.05fr .95fr;min-height:100vh;display:grid}.auth-brand{background:var(--nav);color:var(--nav-ink);flex-direction:column;padding:48px clamp(32px,7vw,100px);display:flex}.auth-brand>div:first-child{margin-bottom:14px}.auth-brand>div:nth-child(2){flex-direction:column;display:flex}.auth-brand>div:nth-child(2) span{color:#ffffff8c;font-size:12px}.auth-message{max-width:560px;margin:auto 0}.auth-message h1{letter-spacing:-.055em;margin:0 0 22px;font-size:clamp(38px,5vw,68px);line-height:1.03}.auth-message p{color:#ffffffa6;max-width:510px;font-size:17px;line-height:1.65}.auth-brand>small{color:#ffffff6e}.auth-panel{background:var(--surface);place-items:center;padding:28px;display:grid}.auth-form{flex-direction:column;gap:19px;width:min(100%,410px);display:flex}.auth-form h2,.auth-form h1{letter-spacing:-.035em;margin:0;font-size:30px}.auth-form>div:first-child>p:not(.auth-kicker){color:var(--muted);margin:7px 0 0}.auth-kicker{color:var(--green);margin:0 0 8px;font-weight:700}.password-field{position:relative}.password-field .input{padding-right:42px}.password-field button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;position:absolute;top:6px;right:6px}.form-alert{background:var(--red-soft);color:var(--red);border-radius:7px;padding:11px 13px}.auth-help{color:var(--muted);align-items:center;gap:7px;font-size:12px;line-height:1.5;display:flex}.center-page{background:var(--bg);place-items:center;min-height:100vh;padding:22px;display:grid}.print-page{color:#111;background:#fff;min-height:100vh;padding:24px}.print-toolbar{justify-content:space-between;align-items:center;max-width:1000px;margin:0 auto 18px;display:flex}.print-sheet{border:1px solid #bbb;max-width:1000px;margin:0 auto;padding:28px}.print-header{border-bottom:2px solid #111;justify-content:space-between;margin-bottom:20px;padding-bottom:18px;display:flex}.print-header>div{flex-direction:column;display:flex}.print-header strong{font-size:20px}.print-sheet .card,.print-sheet .order-summary,.print-sheet .table-wrap,.print-sheet .totals{box-shadow:none;background:#fff;border-color:#aaa}.print-sheet .status-badge{filter:grayscale();color:#111;background:#fff;border-color:#777}.fulfilment-box{border:1px solid #999;margin-top:24px;padding:16px}.fulfilment-box h3{margin:0}.fulfilment-box>div{height:100px}.fulfilment-box footer{grid-template-columns:1fr 1fr 1.5fr;gap:28px;display:grid}.fulfilment-box footer span{border-top:1px solid #555;padding-top:6px;font-size:11px}.print-loading,.print-error{padding:40px}.dark body{background:var(--bg)}.dark .sidebar{border-right:1px solid #94a5e721;box-shadow:12px 0 34px #00000024}.dark .sidebar-brand,.dark .collapse-button{border-color:#94a5e71f}.dark .brand-mark{background:var(--agd-brand-accent);color:#111b45;box-shadow:0 8px 22px #f9df582e}.dark .nav-link{border:1px solid #0000}.dark .nav-link.active{background:#203dba6e;border-color:#899dff40}.dark .nav-link.active svg{color:var(--agd-brand-accent)}.dark .topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0c1126d1;border-color:#94a5e721}.dark .user-chip{border-left:1px solid #94a5e721;padding-left:16px}.dark .button-primary{box-shadow:0 7px 18px #4159c938}.dark .button-secondary,.dark .button-ghost:hover:not(:disabled){border-color:#94a5e738}.dark .card,.dark .table-wrap,.dark .management-strip,.dark .order-summary,.dark .totals{border-color:#94a5e729;box-shadow:0 16px 34px #00000024}.dark .table-wrap{overflow:hidden}.dark th{background:#ffffff08}.dark tbody tr[tabindex]:hover{background:#6d84ed17}.dark .overview-ledger{background:#0b1128;border:1px solid #94a5e72b;box-shadow:0 18px 40px #0003}.dark .period-panel{border-left:1px solid #94a5e726}.dark .period-panel>svg{color:var(--agd-brand-accent)}.workspace{background:#f1f3fa}.sidebar{background:linear-gradient(#18275b 0%,#101b43 58%,#0d1637 100%);box-shadow:14px 0 36px #141f4a21}.sidebar-brand{height:76px;padding-inline:18px}.brand-mark{background:var(--agd-brand-accent);color:#18275b;border-radius:12px;width:40px;height:40px;box-shadow:0 8px 20px #0000002e}.sidebar-brand strong{letter-spacing:-.02em}.sidebar nav{padding:22px 12px}.sidebar nav>p{color:#ffffff6e;letter-spacing:.08em;text-transform:uppercase;margin:20px 10px 8px;font-size:10px;font-weight:700}.nav-link{border:1px solid #0000;border-radius:9px;padding:10px 11px}.nav-link:hover{background:#ffffff14}.nav-link.active{background:#ffffff1f;border-color:#ffffff1a;box-shadow:0 8px 18px #0000001a}.nav-link.active svg{color:var(--agd-brand-accent)}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe0;border-color:#18275b1a;height:76px;padding-inline:30px}.location-context span,.user-chip small{letter-spacing:.02em}.user-chip{border-left:1px solid var(--line);padding-left:16px}.user-chip>span{background:var(--agd-primary-soft);color:var(--agd-brand-primary);box-shadow:inset 0 0 0 1px #203dba1a}.content{padding:34px}.page{gap:24px}.page-header h1{font-size:32px;font-weight:760}.card,.management-strip,.order-summary,.totals,.table-wrap{border-color:#18275b1c;box-shadow:0 12px 30px #18275b12}.card{border-radius:13px;padding:22px}.table-wrap{border-radius:12px}.button{border-radius:9px}.button-primary{box-shadow:0 8px 18px #203dba36}.button-secondary{box-shadow:0 2px 5px #18275b0d}.input{border-color:#18275b2b;border-radius:9px;box-shadow:0 1px 2px #18275b0a,inset 0 1px 1px #00000005}.overview-ledger{background:radial-gradient(circle at 78% 18%,#3951bab8,#0000 30%),linear-gradient(125deg,#101a41 0%,#18275b 58%,#203d92 100%);border:1px solid #899dff38;border-radius:15px;box-shadow:0 22px 45px #121e4c38}.total-panel{padding:34px}.total-panel>strong{font-size:42px}.overview-orders-link{color:var(--agd-brand-accent)}.period-panel{background:#ffffff0d;border-left:1px solid #ffffff24}.period-panel>svg,.overview-stat>svg{color:var(--agd-brand-accent)}.overview-stat{min-height:110px}.overview-stat>svg{background:var(--agd-primary-soft);border-radius:10px;width:38px;height:38px;padding:8px}.section-heading>svg{color:var(--agd-brand-primary)}.metric-list>div,.metric-list>a{padding-block:14px}.dark .workspace{background:#0b1128}.dark .sidebar{background:linear-gradient(#111b45 0%,#0b1128 72%,#080d21 100%)}.dark .topbar{background:#0b1128d6;height:76px}.dark .card,.dark .management-strip,.dark .order-summary,.dark .totals,.dark .table-wrap{background:#151e3ceb;box-shadow:0 16px 34px #0000002e}.dark .input{background:#0c142fdb}.dark .overview-ledger{background:radial-gradient(circle at 78% 18%,#3951baa6,#0000 30%),linear-gradient(125deg,#080d21 0%,#111b45 58%,#1b327f 100%);box-shadow:0 24px 50px #0000004a}.dark .overview-stat>svg{background:#f9df581f}@media (width<=1100px){.filter-bar{grid-template-columns:1fr 1fr}.order-workbench,.item-layout{grid-template-columns:1fr}.action-rail,.item-layout>aside{order:-1;position:static}.location-grid{grid-template-columns:1fr 1fr}.event-filters{grid-template-columns:auto 1fr 1fr}.event-filters .input:last-child{grid-column:2/4}.item-picker{grid-template-columns:1fr}}@media (width<=760px){.app-shell,.sidebar-collapsed{grid-template-columns:1fr}.sidebar{width:260px;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-collapsed .sidebar-brand>div:nth-child(2),.sidebar-collapsed .nav-link span,.sidebar-collapsed .sidebar nav>p{display:flex}.sidebar-collapsed .nav-link{justify-content:flex-start}.mobile-overlay{z-index:20;opacity:0;pointer-events:none;background:#0000007a;display:block;position:fixed;inset:0}.mobile-overlay.show{opacity:1;pointer-events:auto}.mobile-close,.menu-button{color:inherit;background:0 0;border:0;margin-left:auto;display:inline-flex}.collapse-button{display:none}.topbar{padding:0 12px}.menu-button{margin-left:0}.location-context{margin-left:8px}.user-chip>div{display:none}.content{padding:20px 14px}.page-header{flex-direction:column}.page-actions{flex-wrap:wrap}.filter-bar,.form-grid,.detail-grid,.split-grid,.overview-stats,.location-grid,.event-filters{grid-template-columns:1fr}.event-filters .input:last-child{grid-column:auto}.overview-ledger{grid-template-columns:1fr}.period-panel{border-top:1px solid #ffffff1f}.total-panel>strong{font-size:30px}.order-lines{border-radius:0;margin:0 -14px}.management-strip{flex-direction:column;align-items:stretch}.inline-form{flex-direction:column;align-items:stretch;min-width:0}.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{min-height:100vh}.row-actions{flex-direction:column;align-items:stretch}.catalogue-nav{width:100%}.catalogue-nav a{text-align:center;flex:1;padding-inline:10px}.selected-photos li{grid-template-columns:1fr auto}.selected-photos li>span{grid-column:1/-1}}@media print{body{background:#fff}.print-toolbar{display:none}.print-page{padding:0}.print-sheet{border:0;max-width:none;padding:0;font-size:10pt}.print-sheet table{min-width:0}.print-sheet th,.print-sheet td{padding:6px}.print-sheet .order-summary,.print-sheet .detail-grid,.print-sheet .order-lines,.print-sheet .totals,.print-sheet .fulfilment-box{break-inside:avoid}.print-sheet .product-cell img,.print-sheet .image-placeholder{width:28px;height:28px}@page{size:auto;margin:12mm}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@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}
