.ari-frontend{max-width:1300px;margin:28px auto;padding:24px;color:#1e293b;font-family:inherit}.ari-frontend .ari-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;background:#122c35;color:#fff;border-radius:16px}.ari-frontend .ari-header small{color:#9bd5cb;letter-spacing:.14em;font-size:11px}.ari-frontend .ari-header h1{color:#fff;margin:4px 0;font-size:clamp(22px,3vw,30px)}.ari-frontend .ari-scan-shortcut{background:#d8f5df;color:#15352a;text-decoration:none;border-radius:9px;padding:12px 18px;font-weight:700;white-space:nowrap}.ari-frontend .ari-nav{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 24px}.ari-frontend .ari-nav a{display:inline-block;padding:10px 13px;border-radius:9px;border:1px solid #dbe3e8;background:#fff;color:#344054;text-decoration:none;font-size:14px}.ari-frontend .ari-nav a.active{background:#153e3d;color:#fff;border-color:#153e3d}.ari-frontend h2{font-size:22px;margin:25px 0 12px}.ari-frontend .ari-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:20px 0}.ari-frontend .ari-card,.ari-frontend .ari-grid section{background:#fff;border:1px solid #e1e8eb;border-radius:12px;padding:20px;box-shadow:0 4px 16px rgba(15,23,42,.035)}.ari-frontend .ari-card{display:flex;flex-direction:column;gap:8px}.ari-frontend .ari-card small{color:#667085}.ari-frontend .ari-card strong{font-size:26px}.ari-frontend .ari-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}.ari-frontend .ari-grid label{display:flex;flex-direction:column;gap:6px}.ari-frontend input,.ari-frontend select{border:1px solid #cbd5e1;border-radius:7px;padding:9px;max-width:100%}.ari-frontend button,.ari-frontend .button{background:#164b46;color:white;border:0;border-radius:8px;padding:10px 15px;cursor:pointer;text-decoration:none;display:inline-block}.ari-frontend .button-primary{background:#087a60}.ari-frontend table{width:100%;border-collapse:collapse;background:#fff;font-size:14px;margin:16px 0 25px;display:block;overflow-x:auto}.ari-frontend th,.ari-frontend td{padding:11px 12px;text-align:left;border-bottom:1px solid #e5e7eb;white-space:nowrap}.ari-frontend th{background:#edf4f3}.ari-frontend .ari-actions{display:flex;gap:10px;flex-wrap:wrap}.ari-frontend .ari-danger{color:#b42318;font-weight:700}.ari-frontend .notice{padding:12px 16px;background:#eef9f6;border-left:4px solid #159f7b;margin:15px 0}.ari-login{max-width:460px;margin:35px auto;padding:25px;border:1px solid #ddd;border-radius:14px}.ari-login input{max-width:100%}@media(max-width:600px){.ari-frontend{padding:12px}.ari-frontend .ari-header{padding:17px;align-items:flex-start;flex-direction:column}.ari-frontend .ari-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.ari-frontend .ari-nav a{white-space:nowrap}.ari-frontend .ari-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ari-frontend .ari-card{padding:12px}.ari-frontend .ari-card strong{font-size:21px}}

/* v0.6.0: light front-end portal. Scoped to the portal page to avoid altering the rest of the website. */
body.ari-portal-page,body.ari-portal-page #page,body.ari-portal-page .site,body.ari-portal-page .site-content,body.ari-portal-page .content-area,body.ari-portal-page main,body.ari-portal-page article,body.ari-portal-page .entry-content {background-color:#fff;color:#263445;}
body.ari-portal-page .ari-frontend {background:#fff;color:#263445;min-height:60vh;}
body.ari-portal-page .ari-frontend p,body.ari-portal-page .ari-frontend label,body.ari-portal-page .ari-frontend h2,body.ari-portal-page .ari-frontend h3,body.ari-portal-page .ari-frontend td,body.ari-portal-page .ari-frontend strong {color:#263445;}
body.ari-portal-page .ari-frontend .ari-header {background:#122f38;color:#fff;}
body.ari-portal-page .ari-frontend .ari-header h1 {color:#fff;}
body.ari-portal-page .ari-frontend .ari-nav a {background:#fff;color:#344054;border:1px solid #dbe3e8;}
body.ari-portal-page .ari-frontend .ari-nav a.active {background:#153e3d;color:#fff;}
body.ari-portal-page .ari-frontend input:not([type=checkbox]):not([type=radio]),body.ari-portal-page .ari-frontend select,body.ari-portal-page .ari-frontend textarea {background:#fff;color:#263445;border:1px solid #cbd5e1;}
body.ari-portal-page .ari-frontend input:focus,body.ari-portal-page .ari-frontend select:focus {outline:2px solid #8dd7c7;outline-offset:1px;}
body.ari-portal-page .ari-frontend .ari-card,body.ari-portal-page .ari-frontend .ari-grid section,body.ari-portal-page .ari-frontend table {background:#fff;color:#263445;}
body.ari-portal-page .ari-frontend .notice {background:#eff6ff;color:#244a78;border-left-color:#3b82f6;}
body.ari-portal-page .ari-frontend .notice p {color:#244a78;}
body.ari-portal-page .ari-frontend button,body.ari-portal-page .ari-frontend .button {color:#fff;background:#087a60;}
body.ari-portal-page .ari-frontend .ari-scan-shortcut {background:#d8f5df;color:#15352a;}
body.ari-portal-page .ari-frontend th {background:#edf4f3;color:#263445;}

/* v0.8.0 item actions */
.ari-frontend .ari-inline-delete{display:inline-block;margin:0 0 0 5px}.ari-frontend .ari-delete-btn{background:#b42318!important;color:#fff!important}.ari-frontend .ari-bulk-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-12px 0 22px}.ari-frontend .ari-hint{color:#667085;font-size:13px}.ari-frontend td .button{padding:6px 11px;font-size:13px}.ari-frontend .ari-item-check,.ari-frontend #ari-select-all{width:17px;height:17px;cursor:pointer}

/* v1.3.0: keep extracted invoice quantities visible and readable */
.ari-invoice-review input[name="qty[]"]{width:120px!important;min-width:120px!important;max-width:none!important;padding:9px 12px!important;font-variant-numeric:tabular-nums;}
.ari-invoice-review input[type="number"]{font-variant-numeric:tabular-nums;box-sizing:border-box;}
.ari-invoice-review .ari-stock-addition{display:inline-block;min-width:105px;font-weight:700;color:#087a60;white-space:nowrap;}
.ari-invoice-review th{white-space:normal;min-width:95px;}

/* v1.4 inline inventory table editor */
.ari-frontend .ari-items-table{min-width:1040px;display:table;overflow:visible}
.ari-frontend .ari-scroll{max-width:100%;overflow-x:auto}
.ari-frontend .ari-items-table td{vertical-align:middle;white-space:normal}
.ari-frontend .ari-items-table input,.ari-frontend .ari-items-table select{min-width:95px;width:100%;box-sizing:border-box;margin:2px 0}
.ari-frontend .ari-items-table td:nth-child(2){min-width:170px}
.ari-frontend .ari-items-table td:nth-child(3){min-width:165px}
.ari-frontend .ari-items-table td:last-child{min-width:155px}
.ari-frontend .ari-add-row{background:#ecfdf5}
.ari-frontend .ari-edit-row{background:#eff6ff}
.ari-frontend .ari-items-table .button{white-space:nowrap;margin:2px}

/* Inline invoice item creation */
.ari-inline-create{margin-top:8px;min-width:240px;background:#f4f8f8;border:1px solid #d4e2e4;border-radius:8px;padding:8px}
.ari-inline-create summary{cursor:pointer;font-weight:600;color:#087b65}
.ari-inline-create-fields{display:flex;flex-direction:column;gap:9px;margin-top:10px}
.ari-inline-create-fields label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600}
.ari-inline-create-fields input,.ari-inline-create-fields select{width:100%;max-width:100%;min-width:0}
.ari-inline-create-fields small{font-size:12px;color:#526477}

/* v2.0.0: table-wide editing controls */
.ari-inventory-toolbar{display:flex;gap:10px;align-items:center;margin:12px 0 16px}
.ari-items-table .ari-edit-row input,.ari-items-table .ari-edit-row select{min-width:105px;max-width:230px;box-sizing:border-box}
.ari-items-table .ari-edit-row td{vertical-align:middle}

/* v2.0.3: stock count live item and nickname search */
.ari-count-picker{position:relative;display:flex;flex-direction:column;gap:8px;max-width:720px;margin:16px 0 20px}
.ari-count-picker label{font-weight:600;color:#263445}
.ari-count-picker input[type=search],.ari-count-picker select{width:100%;max-width:100%;box-sizing:border-box;padding:12px}
.ari-count-picker small{font-size:12px;color:#64748b}
.ari-count-suggestions{position:absolute;top:79px;left:0;right:0;z-index:50;max-height:310px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:9px;box-shadow:0 10px 24px rgba(15,23,42,.13)}
.ari-count-suggestions[hidden]{display:none!important}
.ari-count-result{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;border:0!important;border-bottom:1px solid #edf2f7!important;border-radius:0!important;background:white!important;color:#263445!important;padding:11px 13px!important;text-align:left!important;cursor:pointer}
.ari-count-result:hover,.ari-count-result[aria-selected=true]{background:#edf7f5!important}
.ari-count-result small{color:#54716d!important}
.ari-count-empty{padding:12px;color:#64748b}

/* Invoice validation and AJAX status */
.ari-review-error {background: #fff1f2 !important;}
.ari .ari-invalid {border:2px solid #c81e39 !important;box-shadow:0 0 0 2px rgba(200,30,57,.12) !important;}
.ari-row-errors {margin-top:8px;color:#a51430;font-size:13px;line-height:1.5;max-width:280px;font-weight:600;}
#ari-review-feedback:not(:empty){padding:14px 18px;border-radius:8px;margin:14px 0 20px;border:1px solid;}
#ari-review-feedback.ari-feedback-error{color:#8b1531;background:#fff1f2;border-color:#f0a0ad;}
#ari-review-feedback.ari-feedback-success{color:#075c41;background:#eaf9f1;border-color:#81cfaf;}

/* v2.0.6: visible headers during vertical scroll of wide invoice review tables */
.ari-floating-invoice-header{position:fixed;top:0;z-index:9999;display:none;overflow:hidden;pointer-events:none;background:#edf4f3;box-shadow:0 3px 8px rgba(0,0,0,.13)}
.ari-floating-invoice-header table.ari-invoice-review{display:table!important;overflow:visible!important;table-layout:fixed!important;margin:0!important;border-collapse:collapse!important;width:auto}
.ari-floating-invoice-header th{background:#edf4f3!important;white-space:normal!important;vertical-align:middle}

/* v2.0.7: selectable invoice rows / theme sticky header spacing */
.ari-invoice-review .ari-select-heading,.ari-invoice-review .ari-line-select-cell{min-width:70px!important;width:70px!important;text-align:center!important;vertical-align:middle!important}
.ari-invoice-review .ari-remove-checkbox{width:18px!important;height:18px!important;min-width:18px!important;cursor:pointer}
.ari-invoice-review .ari-selected-for-removal{background:#fff3ed!important}
.ari-invoice-line-toolbar{display:flex;gap:15px;flex-wrap:wrap;align-items:center;margin:16px 0 8px;padding:12px 14px;border:1px solid #dae4e9;border-radius:9px;background:#f7fafb}
.ari-invoice-line-toolbar label{display:flex;align-items:center;gap:8px;font-weight:600}
.ari-invoice-line-toolbar button:disabled{opacity:.55;cursor:not-allowed}
.ari-floating-invoice-header{z-index:900!important;transition:none!important}

/* 2.1.0 compact invoice item matcher */
.ari-invoice-review td:has(.ari-quick-picker){min-width:240px;vertical-align:top}
.ari-quick-picker{position:relative;max-width:300px;margin-top:5px}
.ari-quick-picker .ari-item-search{box-sizing:border-box;width:100%!important;max-width:100%;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1f2937}
.ari-quick-picker .ari-item-suggestions{position:absolute;z-index:10000;left:0;right:0;top:100%;background:#fff;box-shadow:0 12px 28px #142b3b2e;border:1px solid #cbd5e1;border-radius:10px;max-height:260px;overflow-y:auto}
.ari-quick-picker .ari-suggestion{display:block;width:100%;padding:10px 12px;text-align:left;border:0;background:#fff;color:#25364a;cursor:pointer;line-height:1.4}
.ari-quick-picker .ari-suggestion:hover,.ari-quick-picker .ari-suggestion:focus{background:#e8f5ef}
.ari-no-match{padding:12px;color:#677488;font-size:13px}
.ari-picker-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}
.ari-picker-actions button{background:none;border:0;cursor:pointer;color:#087b62;padding:4px 0;font-size:13px}
.ari-invoice-review select[name="item_id[]"]{display:none!important}
.ari-invoice-review select[name="item_id[]"].ari-select-visible{display:block!important;width:100%;margin:5px 0}
.ari-create-overlay:not([hidden]){position:fixed;inset:0;z-index:999990;background:rgba(10,25,35,.45)}
.ari-create-drawer:not([hidden]){position:fixed;right:0;top:0;bottom:0;z-index:999991;width:min(460px,100vw);box-sizing:border-box;overflow-y:auto;background:#fff;box-shadow:-12px 0 35px #081c292f;padding:28px;color:#233144}
.ari-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}
.ari-drawer-head strong{font-size:22px}
#ari-drawer-close{background:transparent;border:0;font-size:30px;cursor:pointer;line-height:1}
#ari-drawer-form{display:grid;gap:18px}
#ari-drawer-form label{display:grid;gap:6px;font-size:14px;font-weight:600}
#ari-drawer-form input,#ari-drawer-form select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d0dbe5;border-radius:8px;background:#fff;color:#233144;font-size:15px}
.ari-drawer-buttons{display:flex;gap:12px;justify-content:flex-end}
.ari-drawer-buttons button{padding:10px 18px}
#ari-match-progress{margin:12px 0;font-weight:600;color:#087b62}
@media(max-width:640px){.ari-create-drawer:not([hidden]){width:100%;padding:18px;top:0}}

/* v2.1.1: compact matching actions and dedicated non-nested create panel */
.ari-picker-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.ari-picker-actions button{flex:1 1 105px;min-width:0;white-space:nowrap;line-height:1.4;font-size:13px!important;padding:8px 10px!important;border-radius:8px!important;cursor:pointer}
.ari-picker-actions .ari-toggle-select{background:#fff!important;color:#0b7663!important;border:1px solid #0b7663!important}
.ari-picker-actions .ari-open-create{background:#0b806b!important;color:#fff!important;border:1px solid #0b806b!important}
.ari-quick-picker{min-width:240px}
.ari-create-drawer[hidden],.ari-create-overlay[hidden]{display:none!important}

/* InventoryNexa v2.7.14 - branded unified navigation, no redundant mobile section selector. */
.ari .ari-nexa-header{background:linear-gradient(115deg,#0d2b34 0%,#123d43 58%,#155a50 100%)!important;border:1px solid rgba(128,213,188,.24);border-radius:18px!important;padding:22px 28px!important;color:#fff!important;min-height:126px;display:flex;align-items:center!important;box-shadow:0 8px 25px rgba(7,38,45,.10)}
.ari .ari-nexa-identity{display:flex;align-items:center;gap:18px;min-width:0;width:100%}
.ari .ari-nexa-logo{display:flex;flex:0 0 auto;width:68px;height:68px;border-radius:18px;background:rgba(212,175,90,.14);padding:6px;box-sizing:border-box;box-shadow:inset 0 0 0 1px rgba(240,210,120,.26)}
.ari .ari-nexa-logo svg{height:100%;width:100%;display:block}
.ari .ari-nexa-title{min-width:0}
.ari .ari-nexa-title small{display:block;color:#efd890!important;letter-spacing:.14em;font-size:10px;font-weight:750}
.ari .ari-nexa-title h1{color:#fff!important;font-size:clamp(26px,3vw,36px)!important;font-weight:800!important;line-height:1.16!important;letter-spacing:-.035em;margin:5px 0!important;padding:0!important;border:0!important}
.ari .ari-nexa-title h1 span{color:#d9b15a}
.ari .ari-nexa-title p{color:#efe5c8!important;margin:4px 0 0!important;font-size:13px;line-height:1.5;font-weight:500}
.ari nav.ari-nav.ari-nexa-nav{display:flex!important;flex-wrap:wrap;align-items:stretch;gap:8px;margin:17px 0 23px!important;overflow:visible}
.ari .ari-nexa-nav a{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:9px 13px!important;border:1px solid #d9e5e7!important;border-radius:10px!important;background:#fff!important;color:#35485a!important;font-size:13px!important;font-weight:600!important;white-space:nowrap;text-decoration:none!important;box-sizing:border-box;transition:background .16s,color .16s,border-color .16s}
.ari .ari-nexa-nav a:hover,.ari .ari-nexa-nav a:focus-visible{color:#006d5b!important;border-color:#80bbae!important;background:#f0f9f6!important}
.ari .ari-nexa-nav a.active,.ari .ari-nexa-nav a[aria-current="page"]{background:#113f3e!important;color:#fff!important;border-color:#113f3e!important;box-shadow:0 2px 6px rgba(12,66,60,.12)}
.ari .ari-nav-icon{display:block;flex:0 0 18px;width:18px;height:18px}
.ari .ari-mobile-section-switch{display:none!important}
@media(max-width:900px){.ari .ari-nexa-nav{flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:0 2px 11px!important;scrollbar-width:thin}.ari .ari-nexa-nav a{flex:0 0 auto;min-width:max-content}}
@media(max-width:700px){.ari .ari-nexa-header{padding:16px!important;min-height:0;flex-direction:row!important}.ari .ari-nexa-identity{gap:11px}.ari .ari-nexa-logo{width:49px;height:49px;border-radius:13px;padding:4px}.ari .ari-nexa-title h1{font-size:25px!important}.ari .ari-nexa-title small{font-size:8px}.ari .ari-nexa-title p{font-size:11px}.ari nav.ari-nav.ari-nexa-nav{display:flex!important;margin:12px 0 14px!important;gap:7px}.ari .ari-nexa-nav a{min-height:42px;padding:9px 11px!important;font-size:12px!important}}
@media(max-width:400px){.ari .ari-nexa-title p{font-size:10px}.ari .ari-nexa-title h1{font-size:22px!important}}

/* v2.7.14 — approved gold InventoryNexa wordmark and simplified tagline */
.ari .ari-nexa-header{background:#050505!important;border:1px solid #2b251a!important;min-height:0!important;padding:21px 28px 18px!important;display:block!important}
.ari .ari-nexa-brand{width:100%;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.ari .ari-nexa-brand-image{display:block!important;width:min(100%,650px)!important;max-width:100%!important;height:auto!important;object-fit:contain!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.ari .ari-nexa-tagline{display:block!important;color:#e7d5a5!important;font-size:14px!important;line-height:1.45!important;font-weight:500!important;letter-spacing:.015em!important;margin:0 0 0 9px!important;padding:0!important}
@media(max-width:700px){.ari .ari-nexa-header{padding:14px 16px!important}.ari .ari-nexa-brand-image{width:100%!important}.ari .ari-nexa-tagline{font-size:12px!important;margin-left:4px!important}}


/* InventoryNexa v2.8.0: scoped black-and-gold design system. Never recolour the host site. */
.ari{--nx-bg:#f7f6f2;--nx-panel:#fff;--nx-alt:#f8f7f3;--nx-text:#252525;--nx-muted:#6b6860;--nx-border:#e0ded6;--nx-gold:#a77821;--nx-gold-strong:#8e6218;--nx-on-gold:#fff;--nx-focus:#bd974e;--nx-table-head:#eeeae0;--nx-hover:#f8f2e4;--nx-input:#fff;--nx-danger:#a92c2c;color:var(--nx-text)!important;background:var(--nx-bg)!important;color-scheme:light;transition:background .15s,color .15s}
.ari[data-ari-theme="dark"]{--nx-bg:#090909;--nx-panel:#161616;--nx-alt:#202020;--nx-text:#f4f0e8;--nx-muted:#b5ad9f;--nx-border:#40392d;--nx-gold:#d8ad55;--nx-gold-strong:#ebc36e;--nx-on-gold:#16110a;--nx-focus:#e6be6b;--nx-table-head:#29251d;--nx-hover:#29231a;--nx-input:#202020;--nx-danger:#f0a1a1;color-scheme:dark}
.ari .ari-nexa-header{background:#050505!important;border-color:#4e3d1e!important}
.ari .ari-nexa-tagline{color:#e9d5a0!important}
.ari .ari-nexa-nav a,.ari .ari-nexa-nav a:not(.active){background:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari .ari-nexa-nav a:hover,.ari .ari-nexa-nav a:focus-visible{background:var(--nx-hover)!important;color:var(--nx-gold-strong)!important;border-color:var(--nx-gold)!important}
.ari .ari-nexa-nav a.active,.ari .ari-nexa-nav a[aria-current="page"]{background:var(--nx-gold)!important;color:var(--nx-on-gold)!important;border-color:var(--nx-gold)!important}
.ari .ari-card,.ari .ari-grid section,.ari .ari-scroll,.ari .ari-invoice-entry-card,.ari .ari-invoice-list-shell,.ari .ari-units-panel,.ari .ari-recycle-bin,.ari [class*="-panel"],.ari [class*="-card"]{background-color:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari table,.ari .widefat,.ari table tr,.ari table td{background-color:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari table thead,.ari table thead tr,.ari table th,.ari .widefat thead th{background-color:var(--nx-table-head)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari table tr:hover td{background-color:var(--nx-hover)!important}
.ari .ari-add-row td,.ari .ari-edit-row td{background:var(--nx-alt)!important}
.ari p,.ari label,.ari h1,.ari h2,.ari h3,.ari h4,.ari small,.ari strong,.ari caption,.ari td,.ari th,.ari summary{color:var(--nx-text)!important}
.ari .ari-nexa-header p{color:#e9d5a0!important}
.ari .ari-card small,.ari .ari-hint,.ari .description,.ari .ari-note{color:var(--nx-muted)!important}
.ari input:not([type="checkbox"]):not([type="radio"]),.ari textarea,.ari select,.ari .ari-item-search{background:var(--nx-input)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari input::placeholder,.ari textarea::placeholder{color:var(--nx-muted)!important;opacity:1}
.ari input:focus-visible,.ari select:focus-visible,.ari textarea:focus-visible,.ari button:focus-visible,.ari a:focus-visible{outline:2px solid var(--nx-focus)!important;outline-offset:2px}
.ari input[type="checkbox"],.ari input[type="radio"]{accent-color:var(--nx-gold)!important}
.ari button:not([class*="danger"]):not([class*="delete"]),.ari .button:not([class*="danger"]):not([class*="delete"]),.ari input[type="submit"]{background:var(--nx-gold)!important;border-color:var(--nx-gold)!important;color:var(--nx-on-gold)!important}
.ari button:hover:not(:disabled),.ari .button:hover:not(:disabled){filter:brightness(1.08)}
.ari .ari-danger,.ari .ari-delete-btn{color:var(--nx-danger)!important}
.ari .notice,.ari .ari-note{background:var(--nx-alt)!important;color:var(--nx-text)!important;border-left-color:var(--nx-gold)!important}
.ari .notice p{color:var(--nx-text)!important}
.ari .ari-count-suggestions,.ari .ari-count-result,.ari .ari-item-suggestions,.ari .ari-suggestion,.ari .ari-create-drawer:not([hidden]){background:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari .ari-count-result:hover,.ari .ari-suggestion:hover{background:var(--nx-hover)!important}
.ari .ari-ui-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--nx-panel);border:1px solid var(--nx-border)}
.ari .ari-ui-controls label{font-size:13px!important;font-weight:650;color:var(--nx-muted)!important;display:flex;align-items:center;gap:9px;margin:0!important}
.ari .ari-ui-controls select{width:auto!important;min-width:135px;max-width:100%;padding:7px 10px!important;border-radius:8px!important;font-size:13px!important}
.ari .ari-ui-controls .ari-theme-switch{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--nx-border)!important;border-radius:8px!important;padding:8px 13px!important;background:var(--nx-alt)!important;color:var(--nx-text)!important;cursor:pointer;font-size:13px!important;font-weight:700}
.ari .ari-ui-controls .ari-theme-switch:hover{border-color:var(--nx-gold)!important}
@media(max-width:600px){.ari .ari-ui-controls{justify-content:space-between;gap:8px}.ari .ari-ui-controls label{flex:1 1 auto}.ari .ari-ui-controls select{min-width:105px}.ari .ari-ui-controls .ari-theme-switch{flex:0 0 auto}}

/* v2.8.1: high-contrast dark mode overrides all legacy light-only widgets. */
.ari[data-ari-theme="dark"]{--nx-bg:#0b0b0c;--nx-panel:#1a1a1d;--nx-alt:#262529;--nx-input:#222225;--nx-text:#f8f5ee;--nx-muted:#d2cabe;--nx-border:#686050;--nx-table-head:#302b24;--nx-hover:#373025;--nx-on-gold:#14100a;--nx-danger:#ffb4b4}
.ari[data-ari-theme="dark"] :is(.ari-scroll,.ari-grid section,.ari-card,.ari-recycle-bin,.ari-invoice-review,.ari-invoice-list-shell,.ari-invoice-entry-card,.ari-units-panel,.ari-create-drawer,.ari-create-drawer:not([hidden]),.ari-drawer-head,.ari-invoice-line-toolbar,.ari-inventory-compact-bar,.ari-inventory-search-wrap,.ari-count-picker,.ari-count-suggestions,.ari-quick-picker,.ari-item-suggestions,.ari-count-result,.ari-suggestion,.ari-match-row,.ari-mobile-item,.ari-panel,.ari-modal,.ari-dialog,.ari-drawer,.ari-table-scroll,.ari-reports-panel,.ari-count-list,.ari-picker-actions,.ari-invoice-upload,.ari-invoice-email-active){background:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari[data-ari-theme="dark"] :is(table,table tr,table td,table tbody tr,table tbody td,.widefat,.widefat td,.widefat tr,.striped > tbody > :nth-child(odd),.alternate){background:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari[data-ari-theme="dark"] :is(table thead,table thead tr,table th,.widefat thead th){background:var(--nx-table-head)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari[data-ari-theme="dark"] :is(table tbody tr:hover td,.ari-suggestion:hover,.ari-count-result:hover,.ari-count-result[aria-selected="true"],.ari-review-row:hover){background:var(--nx-hover)!important;color:var(--nx-text)!important}
.ari[data-ari-theme="dark"] :is(input,select,textarea,.ari-item-search,.ari-translation-input,.ari-inventory-search,.ari-quick-picker input){background-color:var(--nx-input)!important;color:var(--nx-text)!important;border:1px solid var(--nx-border)!important;box-shadow:none!important}
.ari[data-ari-theme="dark"] :is(input:disabled,select:disabled,textarea:disabled){background:#303035!important;color:#dad3c7!important;opacity:1!important}
.ari[data-ari-theme="dark"] :is(.ari-hint,.ari-note,.description,.ari-card small,.ari-no-match,.ari-count-empty,small,.ari-muted){color:var(--nx-muted)!important}
.ari[data-ari-theme="dark"] :is(.ari-nexa-header,.ari-nexa-header *){color:#f5e3ae!important}
.ari[data-ari-theme="dark"] .ari-nexa-brand-image{filter:none!important}
.ari[data-ari-theme="dark"] .ari-nexa-nav a.active{background:#d8ad55!important;color:#14100a!important}
.ari[data-ari-theme="dark"] :is(.ari-review-error,.ari-invalid,.ari-feedback-error,.ari-selected-for-removal){background:#43212a!important;color:#ffe6e9!important;border-color:#e7919d!important}
.ari[data-ari-theme="dark"] :is(.ari-feedback-success,.ari-invoice-email-active,.notice-success){background:#173528!important;color:#d2f6df!important;border-color:#63a684!important}
.ari[data-ari-theme="dark"] :is(.notice-warning,.ari-warning,.ari-alert){background:#41341e!important;color:#fff0ca!important;border-color:#d4a650!important}
.ari[data-ari-theme="dark"] :is(.ari-feedback-error p,.ari-feedback-success p,.ari-review-error td,.notice-warning p,.notice-success p){color:inherit!important}
.ari[data-ari-theme="dark"] :is(a:not(.button):not(.ari-nexa-nav a),.ari-picker-actions button,.ari-note a){color:#f2cc7d!important}
.ari[data-ari-theme="dark"] :is(a:not(.button):hover,.ari-picker-actions button:hover){color:#ffdf9b!important}
.ari[data-ari-theme="dark"] :is(.button,.button-secondary,button:not(.ari-theme-switch):not(.ari-icon-action),input[type="submit"]){border:1px solid #d4ac5f!important;background:#d8ad55!important;color:#14100a!important;font-weight:650}
.ari[data-ari-theme="dark"] :is(.ari-delete-btn,.ari-icon-danger,.button-danger,[class*="delete"]:not(.ari-nexa-nav a)){color:#ffb4b4!important;border-color:#a35a62!important;background:#3c2226!important}
.ari[data-ari-theme="dark"] :is(.ari-ui-controls .ari-theme-switch,.ari-icon-action){color:var(--nx-text)!important;background:var(--nx-alt)!important;border-color:var(--nx-border)!important}
.ari[data-ari-theme="dark"] :is(.ari-ui-controls,.ari-nexa-nav a:not(.active),.ari-mobile-item,.ari-recycle-bin,.ari-chart-panel){background:var(--nx-panel)!important;color:var(--nx-text)!important;border-color:var(--nx-border)!important}
.ari[data-ari-theme="dark"] :is(.ari-tag,.ari-badge,.badge,.ari-status){border-color:var(--nx-border)!important;color:var(--nx-text)!important;background:var(--nx-alt)!important}
.ari[data-ari-theme="dark"] :is(.ari-count-result small,.ari-suggestion small,.ari-invoice-entry-card p){color:var(--nx-muted)!important}
.ari[data-ari-theme="dark"] :is(.ari-chart,.ari-chart-wrap,canvas){color:var(--nx-text)}
.ari[data-ari-theme="dark"] :is(.ari-action-link,.ari-sort-link){color:#f2cc7d!important}
.ari[data-ari-theme="dark"] :is(.ari-action-link:hover,.ari-sort-link:hover){color:#ffe0a2!important}
.ari[data-ari-theme="dark"] :is(button:disabled,.button:disabled){opacity:.55!important;cursor:not-allowed!important}
.ari[data-ari-theme="dark"] :is(button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible){outline:3px solid #ffdc86!important;outline-offset:2px}
.ari[data-ari-theme="dark"] :is(.ari-create-drawer,.ari-create-drawer:not([hidden])){box-shadow:-12px 0 35px #000b!important}
.ari[data-ari-theme="dark"] :is(hr,.ari-divider){border-color:var(--nx-border)!important}
@media(max-width:700px){.ari[data-ari-theme="dark"] :is(.ari-mobile-card,.ari-mobile-item){background:var(--nx-panel)!important;color:var(--nx-text)!important}}

/* v2.8.2: dark-mode consistency for legacy inventory markup. */
.ari[data-ari-theme="dark"] .ari-inventory-stats > div,
.ari[data-ari-theme="dark"] .ari-inventory-stats .ari-card{
  background:#211e1a!important;background-image:none!important;
  color:#f8f0df!important;border-color:#66583f!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-stats > div strong,
.ari[data-ari-theme="dark"] .ari-inventory-stats strong{
  color:#f6d78a!important;-webkit-text-fill-color:#f6d78a!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-stats > div span,
.ari[data-ari-theme="dark"] .ari-inventory-stats span{color:#d6caba!important}
.ari[data-ari-theme="dark"] .ari-toolbar-card,
.ari[data-ari-theme="dark"] .ari-inventory-compact-bar,
.ari[data-ari-theme="dark"] .ari-inventory-action-icons,
.ari[data-ari-theme="dark"] .ari-inventory-explorer,
.ari[data-ari-theme="dark"] .ari-inventory-hero,
.ari[data-ari-theme="dark"] .ari-inventory-import-export form{
  background:#1c1b1b!important;background-image:none!important;
  color:#f2eee8!important;border-color:#615742!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-search-wrap,
.ari[data-ari-theme="dark"] .ari-inventory-search-wrap:focus-within{
  background:#252326!important;background-image:none!important;
  color:#f4f0e8!important;border-color:#9a7b46!important;
  box-shadow:inset 0 0 0 1px #65543b!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-search-wrap input[type="search"],
.ari[data-ari-theme="dark"] #ari-inventory-search{
  width:100%!important;min-width:0!important;display:block!important;
  background:transparent!important;background-color:transparent!important;
  color:#f6f0e6!important;-webkit-text-fill-color:#f6f0e6!important;
  border:0!important;box-shadow:none!important;outline-offset:4px;
}
.ari[data-ari-theme="dark"] .ari-inventory-search-wrap input::placeholder,
.ari[data-ari-theme="dark"] #ari-inventory-search::placeholder{
  color:#d0c4b1!important;-webkit-text-fill-color:#d0c4b1!important;opacity:1!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-search-wrap svg{stroke:#dfc583!important}
.ari[data-ari-theme="dark"] .ari-inventory-action-icons .ari-icon-action,
.ari[data-ari-theme="dark"] .ari-inventory-action-icons button,
.ari[data-ari-theme="dark"] .ari-inventory-action-icons a{
  background:#302a23!important;color:#f7d58b!important;border:1px solid #78603a!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-action-icons :is(button,a):hover{background:#463822!important;color:#ffe4a6!important}
.ari[data-ari-theme="dark"] .ari-inventory-action-icons .ari-icon-danger{
  color:#ffc6c6!important;background:#3b2629!important;border-color:#8d5353!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody td{
  background:#1b1b1d!important;color:#f3f0e9!important;border-color:#4e483d!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr:nth-child(even) td{background:#222123!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr:hover td,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr:focus-within td{background:#373024!important;color:#fff7e9!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead tr,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table th{
  background:#32291d!important;color:#f7ead2!important;border-color:#766444!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table .ari-column-sort{
  background:transparent!important;color:#f3d48d!important;
  text-decoration-color:#d9b35f!important;border:0!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table .ari-column-sort:hover,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table .ari-column-sort:focus-visible{color:#ffe6ac!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table .ari-add-row td,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table .ari-edit-row td{background:#30291f!important;color:#f7f0e5!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tr.ari-potential-duplicate td{background:#49351f!important;color:#fff2d1!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table :is(input,select,textarea),
.ari[data-ari-theme="dark"] .ari-category-filter-popover,
.ari[data-ari-theme="dark"] .ari-category-filter-popover select{
  background-color:#282629!important;color:#f4eee7!important;border-color:#796846!important;
}
.ari[data-ari-theme="dark"] .ari-category-filter-icon{background:#3c3123!important;color:#f8d58a!important;border-color:#8f7346!important}
.ari[data-ari-theme="dark"] :is(.ari-duplicate-note,.ari-original-alias small,.ari-row-action-muted,.ari-alias-sep,.ari-inventory-explorer label){color:#dec38f!important}
.ari[data-ari-theme="dark"] .ari-inventory-bin,
.ari[data-ari-theme="dark"] .ari-bin-toolbar{background:#201d1c!important;color:#f4eee8!important;border-color:#6a5840!important}
.ari[data-ari-theme="dark"] .ari-bin-table th{background:#30291f!important;color:#f7e2af!important}
/* General legacy light-mode surfaces and table states. */
.ari[data-ari-theme="dark"] .ari-card,
.ari[data-ari-theme="dark"] .ari-panel,
.ari[data-ari-theme="dark"] .ari-report-card{background:#211f20!important;background-image:none!important;color:#f5f0e9!important;border-color:#5c5143!important}
.ari[data-ari-theme="dark"] .ari-card :is(strong,b,h1,h2,h3,h4){color:#f9e4ae!important}
.ari[data-ari-theme="dark"] :is(input,textarea,select):focus-visible{outline:2px solid #efcc78!important;outline-offset:2px}
.ari[data-ari-theme="dark"] :is(input,textarea,select):disabled{color:#d6d0c6!important;background-color:#303032!important;opacity:1!important}
.ari[data-ari-theme="dark"] :is(.ari-feedback-success,.notice-success){color:#e2f9e9!important;background:#1e3a2c!important}
.ari[data-ari-theme="dark"] :is(.ari-feedback-error,.notice-error){color:#ffe9e9!important;background:#432b2d!important}


/* v2.8.3: icon-only display controls integrated into the navigation bar. */
.ari nav.ari-nexa-nav{display:flex!important;align-items:center!important;gap:8px!important}
.ari nav.ari-nexa-nav .ari-ui-controls{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:0 0 0 auto!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
.ari nav.ari-nexa-nav .ari-language-icon-control,.ari nav.ari-nexa-nav .ari-theme-switch{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:43px!important;height:43px!important;min-width:43px!important;min-height:43px!important;max-width:43px!important;padding:0!important;margin:0!important;flex:0 0 43px!important;border:1px solid var(--nx-border)!important;border-radius:10px!important;background:var(--nx-panel)!important;color:var(--nx-text)!important;box-shadow:none!important;cursor:pointer!important}
.ari nav.ari-nexa-nav .ari-language-icon-control svg{height:20px;width:20px;pointer-events:none}
.ari nav.ari-nexa-nav .ari-language-icon-control select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;opacity:0!important;cursor:pointer!important;padding:0!important;margin:0!important;border:0!important;appearance:none!important}
.ari nav.ari-nexa-nav .ari-language-icon-control:focus-within,.ari nav.ari-nexa-nav .ari-theme-switch:focus-visible{outline:2px solid var(--nx-focus)!important;outline-offset:2px!important}
.ari nav.ari-nexa-nav .ari-theme-switch span{font-size:23px!important;line-height:1!important;color:var(--nx-gold)!important}
.ari nav.ari-nexa-nav :is(.ari-language-icon-control,.ari-theme-switch):hover{border-color:var(--nx-gold)!important}
@media(max-width:900px){.ari nav.ari-nexa-nav .ari-ui-controls{position:sticky!important;right:0!important;z-index:3!important;background:var(--nx-bg)!important;padding-left:6px!important}}
@media(max-width:600px){.ari nav.ari-nexa-nav .ari-ui-controls{gap:5px!important}.ari nav.ari-nexa-nav :is(.ari-language-icon-control,.ari-theme-switch){width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex-basis:40px!important}}
/* Inventory search has one shared focus ring on its container, never a nested input outline. */
.ari .ari-inventory-search-wrap input[type="search"],.ari #ari-inventory-search,
.ari .ari-inventory-search-wrap input[type="search"]:focus,.ari #ari-inventory-search:focus,
.ari .ari-inventory-search-wrap input[type="search"]:focus-visible,.ari #ari-inventory-search:focus-visible{
 outline:0!important;outline-offset:0!important;border:0!important;box-shadow:none!important;background:transparent!important;background-color:transparent!important;appearance:none!important;-webkit-appearance:none!important;filter:none!important;
}
.ari .ari-inventory-search-wrap:focus-within{outline:2px solid var(--nx-focus)!important;outline-offset:1px!important}
.ari .ari-inventory-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.ari .ari-inventory-stats>div{min-width:0!important;width:auto!important;max-width:none!important;box-sizing:border-box!important}
@media(max-width:960px){.ari .ari-inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.ari .ari-inventory-stats{gap:9px!important}.ari .ari-inventory-stats>div{padding:12px!important}.ari .ari-inventory-stats strong{font-size:28px!important}.ari .ari-inventory-stats span{font-size:12px!important}}
/* InventoryNexa 2.8.5: independent filter and add form, explicit editing state. */
.ari .ari-inventory-category-bar{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin:14px 0!important;padding:12px 15px!important;border:1px solid #ded8c9!important;background:#faf8f2!important;border-radius:14px!important}
.ari .ari-inventory-category-bar label{font-weight:700!important;margin:0!important;color:#3f372a!important}
.ari .ari-inventory-category-bar select{width:min(310px,100%)!important;min-height:42px!important;margin:0!important;border-radius:9px!important;background:#fff!important;color:#262626!important;border:1px solid #c8c0b1!important;padding:8px 12px!important}
.ari .ari-inventory-category-bar #ari-add-product-trigger{margin-left:auto!important;min-height:42px!important;padding:10px 20px!important;white-space:nowrap!important}
.ari .ari-add-product-panel{display:block!important;background:#fcfaf4!important;color:#292929!important;border:1px solid #d7c8a1!important;border-radius:15px!important;padding:20px!important;margin:12px 0 18px!important}
.ari .ari-add-product-panel[hidden]{display:none!important}
.ari .ari-add-product-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}
.ari .ari-add-product-heading h3{margin:0!important;color:inherit!important}
.ari .ari-add-product-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.ari .ari-add-product-fields label{display:flex!important;flex-direction:column!important;gap:6px!important;color:inherit!important;font-weight:600!important;min-width:0!important}
.ari .ari-add-product-fields input,.ari .ari-add-product-fields select{width:100%!important;box-sizing:border-box!important;min-height:42px!important;border-radius:8px!important;padding:7px 10px!important;background:#fff!important;color:#222!important;border:1px solid #ccc0a5!important}
.ari .ari-add-product-actions{display:flex!important;align-items:center!important;gap:10px!important;margin-top:18px!important}
.ari .ari-edit-inventory-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:10px 16px!important;font-weight:700!important}
.ari .ari-editing-state{font-size:13px!important;font-weight:700!important;color:#8b681c!important;white-space:nowrap!important}
.ari .ari-edit-action-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;margin:14px 0!important;padding:12px 18px!important;border-radius:13px!important;border:1px solid #d7ba77!important;background:#fdf7e8!important;color:#4c3b1f!important}
.ari .ari-edit-status{font-weight:700!important;font-size:14px!important}
.ari .ari-edit-controls{display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important}
.ari .ari-edit-controls .button{min-height:40px!important;padding:8px 18px!important;margin:0!important}
.ari .ari-edit-controls .ari-save-changes:disabled{opacity:.45!important;cursor:not-allowed!important}
.ari[data-theme="dark"] .ari-inventory-category-bar,.ari.ari-dark .ari-inventory-category-bar,.ari[data-ari-theme="dark"] .ari-inventory-category-bar{background:#201f1d!important;border-color:#665637!important;color:#f3e6c9!important}
.ari[data-theme="dark"] .ari-inventory-category-bar label,.ari.ari-dark .ari-inventory-category-bar label,.ari[data-ari-theme="dark"] .ari-inventory-category-bar label{color:#f3e6c9!important}
.ari[data-theme="dark"] .ari-inventory-category-bar select,.ari.ari-dark .ari-inventory-category-bar select,.ari[data-ari-theme="dark"] .ari-inventory-category-bar select{background:#262426!important;border-color:#76633f!important;color:#f8e9d2!important}
.ari[data-theme="dark"] .ari-add-product-panel,.ari.ari-dark .ari-add-product-panel,.ari[data-ari-theme="dark"] .ari-add-product-panel{background:#201e1b!important;border-color:#7a6139!important;color:#f5e9d2!important}
.ari[data-theme="dark"] .ari-add-product-fields input,.ari[data-theme="dark"] .ari-add-product-fields select,.ari.ari-dark .ari-add-product-fields input,.ari.ari-dark .ari-add-product-fields select,.ari[data-ari-theme="dark"] .ari-add-product-fields input,.ari[data-ari-theme="dark"] .ari-add-product-fields select{background:#282626!important;color:#fff1d9!important;border-color:#69583d!important}
.ari[data-theme="dark"] .ari-edit-action-bar,.ari.ari-dark .ari-edit-action-bar,.ari[data-ari-theme="dark"] .ari-edit-action-bar{background:#2e2618!important;border-color:#9f7b38!important;color:#f5dfa9!important}
@media(max-width:900px){.ari .ari-add-product-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.ari .ari-add-product-fields{grid-template-columns:1fr!important}.ari .ari-inventory-category-bar select{flex:1 1 150px!important;width:auto!important}.ari .ari-inventory-category-bar #ari-add-product-trigger{margin-left:0!important;flex:1 1 100%!important}.ari .ari-edit-action-bar{align-items:stretch!important}.ari .ari-edit-controls{width:100%!important;margin-left:0!important}.ari .ari-edit-controls .button{flex:1!important}}

/* InventoryNexa v2.8.6 — complete dark-mode contrast for legacy light-only panels. */
.ari[data-ari-theme="dark"] :is(.ari-units-settings,.ari-units-table-wrap,.ari-units-table,.ari-invoice-bulk-toolbar,.ari-invoice-history,.ari-report-filters,.ari-dashboard-section,.ari-dashcard,.ari-nav-anchors a,.ari-invoice-list-shell,.ari-invoice-entry-grid,.ari-invoice-entry-card){background:#1d1c1e!important;background-image:none!important;color:#f5f0e8!important;border-color:#635743!important;box-shadow:none!important}
.ari[data-ari-theme="dark"] :is(.ari-units-head h2,.ari-units-head p,.ari-units-footer p,.ari-units-table .ari-unit-label,.ari-invoice-bulk-toolbar label,.ari-invoice-bulk-toolbar span,.ari-invoice-history summary,.ari-invoice-history>p,.ari-report-filters label,.ari-dashboard-section h2,.ari-dashboard-section h3,.ari-dashboard-section p,.ari-invoice-list-heading span,.ari-invoice-list-heading h2){color:#f2ede4!important}
.ari[data-ari-theme="dark"] :is(.ari-units-table th,.ari-units-table thead,.ari-units-table thead tr,.ari-invoices-table thead th){background:#342c22!important;color:#f7dfaa!important;border-color:#796748!important}
.ari[data-ari-theme="dark"] :is(.ari-units-table td,.ari-units-table tbody tr,.ari-units-table tbody tr td){background:#1d1c1e!important;color:#f5f0e8!important;border-color:#635743!important}
.ari[data-ari-theme="dark"] .ari-units-table tbody tr:hover td{background:#30291f!important;color:#fff6e6!important}
.ari[data-ari-theme="dark"] .ari-units-table .ari-unit-label{color:#f9e8c4!important}
.ari[data-ari-theme="dark"] .ari-unit-usage,.ari[data-ari-theme="dark"] .ari-unit-usage-badge{background:#352b1d!important;color:#f7e3b8!important;border-color:#6d593c!important}
.ari[data-ari-theme="dark"] .ari-units-table input.ari-unit-name{background:#282629!important;color:#f8f1e6!important;border-color:#796747!important}
.ari[data-ari-theme="dark"] .ari-dashcard{background:#292623!important;border:1px solid #6b5940!important}
.ari[data-ari-theme="dark"] .ari-dashcard span{color:#e0d5c5!important}
.ari[data-ari-theme="dark"] .ari-dashcard strong{color:#f4cd7d!important}
.ari[data-ari-theme="dark"] .ari-dash-note{color:#d4c7b3!important}
.ari[data-ari-theme="dark"] .ari-chart-bar{background:#4a3e2c!important}
.ari[data-ari-theme="dark"] .ari-chart-bar i{background:#d7ad55!important}
.ari[data-ari-theme="dark"] .ari-report-filters :is(input,select){background:#282629!important;color:#f6f0e4!important;border-color:#78674a!important}
.ari[data-ari-theme="dark"] .ari-invoice-bulk-toolbar :is(label,span){color:#f5ecdd!important}
.ari[data-ari-theme="dark"] .ari-invoice-bulk-toolbar input[type="checkbox"]{accent-color:#d8ad55!important}
.ari[data-ari-theme="dark"] .ari-invoice-bulk-toolbar .ari-invoice-delete-button:disabled{background:#493134!important;color:#f1c6c8!important;border-color:#98656a!important;opacity:.65!important}
.ari[data-ari-theme="dark"] .ari-invoice-history summary{color:#f6dfae!important}
.ari[data-ari-theme="dark"] .ari-invoice-list-heading span{color:#d3c5b0!important}
.ari[data-ari-theme="dark"] #ari-invoice-list-notice{background:#1c382b!important;color:#e3f7ea!important;border-color:#599975!important}
.ari[data-ari-theme="dark"] #ari-invoice-list-notice.ari-notice-error{background:#44262a!important;color:#ffe2e2!important;border-color:#bb777a!important}
.ari[data-ari-theme="dark"] :is(.ari-units-settings,.ari-dashboard-section,.ari-report-filters,.ari-invoice-bulk-toolbar) :is(h1,h2,h3,h4,p,label,small,strong,span):not(.button):not(.badge){text-shadow:none!important}
.ari[data-ari-theme="dark"] .ari-units-settings .ari-unit-actions .ari-unit-delete{background:#3b2428!important;color:#ffc8cb!important;border-color:#a65c67!important}
.ari[data-ari-theme="dark"] .ari-units-settings .ari-unit-actions .ari-unit-delete:hover{background:#512e33!important}
.ari[data-ari-theme="dark"] .ari-dashboard-section a:not(.button),.ari[data-ari-theme="dark"] .ari-nav-anchors a{color:#f0ce83!important}
.ari[data-ari-theme="dark"] .ari-nav-anchors a:hover{background:#352b1f!important;color:#ffe5aa!important}
/* Keep light mode unchanged. */

/* v2.8.7: full stock-count sheet; the inventory master quantity is never editable. */
.ari .ari-readonly-quantity{display:inline-block;font-weight:650;opacity:.9;padding:6px 0;font-variant-numeric:tabular-nums}
.ari .ari-full-counts{margin:22px 0;padding:20px;border:1px solid #d7e0e5;border-radius:15px;background:#fff}
.ari .ari-full-counts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ari .ari-full-counts-head h3{margin:0 0 7px}.ari .ari-full-counts-head p{margin:0 0 12px}
.ari .ari-full-count-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.ari .ari-full-count-toolbar label{display:flex;flex-direction:column;gap:5px;flex:1 1 210px}.ari .ari-full-count-toolbar input{width:100%;min-width:0}
.ari .ari-full-count-scroll{overflow:auto;max-height:560px;border:1px solid #d6e3e7;border-radius:11px}.ari .ari-full-count-table{width:100%;min-width:690px}.ari .ari-full-count-table thead th{position:sticky;top:0;z-index:2;background:#e9f1f0}.ari .ari-full-count-table td,.ari .ari-full-count-table th{padding:9px 11px!important;vertical-align:middle}.ari .ari-full-count-table .ari-count-quantity{max-width:140px;min-width:85px}.ari .ari-full-count-table tr[hidden]{display:none!important}.ari .ari-full-count-table .ari-count-quantity:disabled{opacity:.5}.ari .ari-count-selected-total{font-weight:700}
.ari[data-ari-theme="dark"] .ari-full-counts,.ari.ari-dark .ari-full-counts,.ari[data-theme="dark"] .ari-full-counts{background:#1b1a19!important;border-color:#64563f!important;color:#eee8dc!important}
.ari[data-ari-theme="dark"] .ari-full-count-table thead th,.ari.ari-dark .ari-full-count-table thead th,.ari[data-theme="dark"] .ari-full-count-table thead th{background:#322a20!important;color:#f4d28a!important}
@media(max-width:700px){.ari .ari-full-counts{padding:12px}.ari .ari-full-count-toolbar{align-items:stretch}.ari .ari-full-count-toolbar .button{width:100%}}

/* v2.8.8: direct counts, icon-only upload, and persistent table headings */
.ari .ari-counts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 14px}.ari .ari-counts-heading h2{margin:0!important}
.ari .ari-count-upload-mini{margin:0!important;display:inline-flex;align-items:center}.ari .ari-count-upload-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;border:1px solid #b98d3b;background:#d8ad57;color:#161310;cursor:pointer;padding:8px}.ari .ari-count-upload-icon:hover{filter:brightness(1.08)}
.ari .ari-full-count-toolbar label{flex:1 1 160px}.ari .ari-full-count-toolbar select{width:100%;min-width:0;min-height:42px}.ari .ari-full-count-scroll{max-height:min(70vh,720px);overflow:auto;position:relative;isolation:isolate}.ari .ari-full-count-table{border-collapse:separate!important;border-spacing:0!important}.ari .ari-full-count-table thead{position:sticky!important;top:0;z-index:15!important}.ari .ari-full-count-table thead th{position:sticky!important;top:0!important;z-index:15!important;box-shadow:0 2px 0 rgba(100,85,60,.32)}.ari .ari-full-count-table .ari-count-quantity{opacity:1!important;cursor:text!important}.ari .ari-full-count-table tr.ari-count-entered{box-shadow:inset 3px 0 #d8ad57}
.ari[data-ari-theme="dark"] .ari-full-count-table .ari-count-quantity,.ari.ari-dark .ari-full-count-table .ari-count-quantity,.ari[data-theme="dark"] .ari-full-count-table .ari-count-quantity{background:#242323!important;color:#fff0d7!important;border-color:#78613c!important}
@media(max-width:700px){.ari .ari-counts-heading{gap:8px}.ari .ari-full-count-toolbar label{flex:1 1 100%}}

/* v2.8.9 — Dedicated stock-count sticky header, not a table thead. */
.ari .ari-full-count-scroll{display:block!important;position:relative!important;height:min(66vh,640px)!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain!important;isolation:isolate!important;border-radius:12px!important}
.ari .ari-count-sticky-heading{position:sticky!important;top:0!important;z-index:80!important;display:grid!important;grid-template-columns:29% 21% 16% 9% 16% 9%;width:100%;min-width:690px;box-sizing:border-box;background:#eee8dc!important;color:#302b25!important;border-bottom:2px solid #c6bda9!important;box-shadow:0 2px 5px rgba(0,0,0,.14)!important}
.ari .ari-count-sticky-heading span{display:block;box-sizing:border-box;font-size:13px;font-weight:750;text-transform:uppercase;padding:12px 10px;white-space:normal}
.ari .ari-full-count-table{table-layout:fixed!important;min-width:690px!important;width:100%!important;margin:0!important;border-collapse:separate!important;border-spacing:0!important}
.ari .ari-full-count-table thead.ari-count-sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;pointer-events:none!important}
.ari .ari-full-count-table tbody tr:first-child td{border-top:0!important}
.ari[data-ari-theme="dark"] .ari-count-sticky-heading,.ari.ari-dark .ari-count-sticky-heading,.ari[data-theme="dark"] .ari-count-sticky-heading{background:#30271c!important;color:#f1d08b!important;border-bottom-color:#826638!important}
@media(max-width:700px){.ari .ari-full-count-scroll{height:min(64vh,590px)!important}.ari .ari-count-sticky-heading span{padding:10px 8px;font-size:11px}}
/* v2.8.10: stock count table columns align exactly with the sticky title bar. */
.ari .ari-full-count-scroll{--ari-count-columns:29% 21% 16% 9% 16% 9%;}
.ari .ari-count-sticky-heading{grid-template-columns:var(--ari-count-columns)!important;}
.ari .ari-full-count-table{display:table!important;table-layout:fixed!important;width:100%!important;min-width:690px!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;border-collapse:collapse!important;}
.ari .ari-full-count-table tbody{display:table-row-group!important;width:auto!important;}
.ari .ari-full-count-table tbody tr{display:table-row!important;width:auto!important;}
.ari .ari-full-count-table tbody tr[hidden]{display:none!important;}
.ari .ari-full-count-table td{display:table-cell!important;box-sizing:border-box!important;width:auto!important;max-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:normal;vertical-align:middle!important;}
.ari .ari-full-count-table td:nth-child(1){width:29%!important}.ari .ari-full-count-table td:nth-child(2){width:21%!important}.ari .ari-full-count-table td:nth-child(3){width:16%!important}.ari .ari-full-count-table td:nth-child(4){width:9%!important}.ari .ari-full-count-table td:nth-child(5){width:16%!important}.ari .ari-full-count-table td:nth-child(6){width:9%!important}
.ari .ari-full-count-table .ari-count-quantity{display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;}
.ari .ari-full-count-toolbar label{flex:1 1 175px!important;min-width:140px!important;}
.ari .ari-count-history{margin:26px 0 12px!important;padding:18px!important;border:1px solid var(--nx-border,#d6e3e7)!important;border-radius:14px!important;background:var(--nx-panel,#fff)!important;color:var(--nx-text,#262626)!important}
.ari .ari-count-history-heading h2{margin:0 0 6px!important;color:inherit!important}.ari .ari-count-history-heading p{margin:0 0 16px!important;color:var(--nx-muted,#667584)!important}
.ari .ari-count-history-scroll{max-height:420px;overflow:auto;border-radius:10px;border:1px solid var(--nx-border,#d6e3e7)}
.ari .ari-count-history-table{width:100%!important;min-width:650px!important;table-layout:auto!important}.ari .ari-count-history-table th{position:sticky;top:0;z-index:2;background:var(--nx-panel,#fff)!important;color:var(--nx-text,#262626)!important}.ari .ari-count-history-table td,.ari .ari-count-history-table th{padding:10px 12px!important}.ari .ari-count-history-number{font-variant-numeric:tabular-nums}
/* v2.8.12 Beverage-only packaging and partial-bottle calculator */
.ari .ari-beverage-count-field{display:flex;align-items:center;gap:5px;min-width:0}.ari .ari-beverage-count-field .ari-count-quantity{flex:1 1 auto;min-width:0!important}.ari .ari-beverage-calc-trigger{flex:0 0 30px;width:30px;height:36px;border-radius:7px;border:1px solid #b9944e;background:#f1db9e;color:#342511;cursor:pointer;font-size:19px;line-height:1}.ari .ari-beverage-calc-trigger:hover{background:#d7aa4f}.ari .ari-beverage-modal{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:min(85vh,760px);overflow-y:auto;padding:22px;border-radius:14px;border:1px solid #947341;background:#faf7ee;color:#211f1b;box-shadow:0 20px 70px #0008}.ari .ari-beverage-modal::backdrop{background:rgba(0,0,0,.67)}.ari .ari-beverage-modal-head{display:flex;justify-content:space-between;align-items:start;gap:15px}.ari .ari-beverage-modal h3{color:inherit;margin:0 0 10px}.ari .ari-beverage-modal-head button{background:transparent;border:0;color:inherit;font-size:27px;cursor:pointer}.ari .ari-beverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ari .ari-beverage-modal label{display:block;font-weight:650;font-size:13px;margin:8px 0}.ari .ari-beverage-modal input{display:block;width:100%;box-sizing:border-box;min-height:40px;margin:6px 0 0;background:#fff;color:#191919;border:1px solid #b9b1a2;border-radius:7px;padding:7px}.ari .ari-beverage-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.ari .ari-beverage-modal #ari-beverage-result{font-weight:750;color:#77541a}.ari .ari-beverage-modal .ari-beverage-note{font-size:12px;color:#6e685c;margin-top:14px}.ari[data-ari-theme="dark"] .ari-beverage-modal,.ari.ari-dark .ari-beverage-modal,.ari[data-theme="dark"] .ari-beverage-modal{background:#22201d!important;color:#f1e8d6!important;border-color:#907242!important}.ari[data-ari-theme="dark"] .ari-beverage-modal input,.ari.ari-dark .ari-beverage-modal input,.ari[data-theme="dark"] .ari-beverage-modal input{background:#151515!important;color:#f5f1e9!important;border-color:#766346!important}.ari[data-ari-theme="dark"] .ari-beverage-modal #ari-beverage-result,.ari.ari-dark .ari-beverage-modal #ari-beverage-result{color:#e4c478!important}.ari[data-ari-theme="dark"] .ari-beverage-modal .ari-beverage-note,.ari.ari-dark .ari-beverage-modal .ari-beverage-note{color:#beb4a2!important}@media(max-width:560px){.ari .ari-beverage-grid{grid-template-columns:1fr}.ari .ari-beverage-modal{padding:15px}}

/* v2.8.14 beverage calculator icon: 3-bottle crate, shared light/dark contrast */
.ari .ari-beverage-calc-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;vertical-align:middle;color:#251a0b!important}
.ari .ari-beverage-calc-trigger .ari-bottle-crate-icon{width:22px;height:22px;display:block;pointer-events:none;flex-shrink:0}
.ari .ari-beverage-calc-trigger:hover,.ari .ari-beverage-calc-trigger:focus-visible{color:#19120a!important}

/* v2.8.15: transparent bottle-only trigger, no filled button background or enclosing border */
.ari .ari-beverage-calc-trigger,.ari[data-ari-theme="dark"] .ari-beverage-calc-trigger,.ari.ari-dark .ari-beverage-calc-trigger,.ari[data-theme="dark"] .ari-beverage-calc-trigger{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#b18028!important;outline:0!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:30px;width:30px;height:36px;padding:2px!important;cursor:pointer!important}
.ari .ari-beverage-calc-trigger .ari-bottle-outline-icon{width:20px;height:28px;display:block;flex-shrink:0;pointer-events:none}
.ari .ari-beverage-calc-trigger:hover{color:#d0a34a!important;background:transparent!important}
.ari .ari-beverage-calc-trigger:focus-visible{outline:2px solid #d8ac50!important;outline-offset:2px!important}

/* v2.8.16 - clearly identifiable select fields, consistent gold dropdown chevron. */
.ari select:not(#ari-language-select){
  -webkit-appearance:none!important;appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23997832' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 11px center!important;
  background-size:17px 17px!important;padding-right:38px!important;
  border:1px solid #bba77c!important;border-radius:9px!important;
  cursor:pointer!important;min-height:38px;box-sizing:border-box;
}
.ari select:not(#ari-language-select):focus-visible{outline:2px solid #d9ae51!important;outline-offset:2px!important;}
.ari select:not(#ari-language-select):disabled{cursor:not-allowed!important;opacity:.65!important;}
.ari[data-ari-theme="dark"] select:not(#ari-language-select),.ari.ari-dark select:not(#ari-language-select),.ari[data-theme="dark"] select:not(#ari-language-select){
 background-color:#272422!important;color:#f8eedf!important;border-color:#806d4b!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7be66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
}
/* Keep filter text and category counts legible on narrow screens. */
.ari :is(#ari-category-filter-select,#ari-full-count-category,select[name="ari_category"]){min-width:155px!important;text-overflow:ellipsis;}


/* v2.8.18: Settings dark-mode contrast, including the Email Automation inline panel. */
.ari[data-ari-theme="dark"] .ari-email-simple,
.ari[data-ari-theme="dark"] .ari-staff-access,
.ari[data-ari-theme="dark"] .ari-email-advanced,
.ari[data-ari-theme="dark"] .ari-email-advanced-inner {
  background:#211f1e!important;background-image:none!important;color:#f1eadf!important;border-color:#6d5b42!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-email-simple :is(h1,h2,h3,h4,p,label,strong,small,legend),
.ari[data-ari-theme="dark"] .ari-email-step :is(h3,p),
.ari[data-ari-theme="dark"] .ari-email-heading :is(h2,p),
.ari[data-ari-theme="dark"] .ari-email-grid :is(label,strong,small),
.ari[data-ari-theme="dark"] .ari-email-actions span,
.ari[data-ari-theme="dark"] .ari-email-footnote,
.ari[data-ari-theme="dark"] .ari-staff-access :is(h2,p,label,small,strong),
.ari[data-ari-theme="dark"] .ari-email-advanced summary {color:#f2eadc!important;text-shadow:none!important;}
.ari[data-ari-theme="dark"] .ari-email-simple :is(input:not([type="checkbox"]),textarea,select),
.ari[data-ari-theme="dark"] .ari-staff-access :is(input:not([type="checkbox"]),textarea,select){
  background:#2b2928!important;color:#faf2e3!important;border-color:#84704e!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-email-simple :is(input,textarea)::placeholder,
.ari[data-ari-theme="dark"] .ari-staff-access :is(input,textarea)::placeholder{color:#c8bca9!important;opacity:1!important;}
.ari[data-ari-theme="dark"] .ari-email-simple :is(input,select,textarea):focus-visible,
.ari[data-ari-theme="dark"] .ari-staff-access :is(input,select,textarea):focus-visible{outline:2px solid #dfb558!important;outline-offset:2px;}
.ari[data-ari-theme="dark"] .ari-email-status{background:#20382e!important;color:#b6f0d0!important;border:1px solid #477e64!important;}
.ari[data-ari-theme="dark"] .ari-email-stepnum{background:#d9b35d!important;color:#201b12!important;}
.ari[data-ari-theme="dark"] .ari-email-notice{background:#20382e!important;color:#d9f4e5!important;border-left-color:#63b98c!important;}
.ari[data-ari-theme="dark"] .ari-email-warning{background:#382d1c!important;color:#ffe0a0!important;border:1px solid #93703b!important;}
.ari[data-ari-theme="dark"] .ari-email-simple a:not(.button),
.ari[data-ari-theme="dark"] .ari-staff-access a:not(.button){color:#f0ca7e!important;text-decoration:underline!important;}
.ari[data-ari-theme="dark"] .ari-email-simple a:hover{color:#ffe5a5!important;}
.ari[data-ari-theme="dark"] .ari-email-advanced{background:#282522!important;}
.ari[data-ari-theme="dark"] .ari-staff-access table,
.ari[data-ari-theme="dark"] .ari-staff-access :is(th,td){background:#211f1e!important;color:#f2eadf!important;border-color:#665842!important;}
.ari[data-ari-theme="dark"] .ari-staff-access th{background:#332a20!important;color:#f4d78d!important;}

/* v2.8.20 unified Settings and Reports tabs */
.ari .ari-settings-tabs,.ari .ari-report-tabs{display:flex!important;gap:12px!important;flex-wrap:wrap!important;overflow-x:auto!important;padding:4px 0 12px!important;margin:10px 0 16px!important;border-bottom:0!important;align-items:center}
.ari .ari-settings-tab,.ari .ari-report-tab{background:transparent!important;border:1px solid #b4bfc0!important;color:#815c18!important;border-radius:9px!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;min-height:42px!important;padding:9px 15px!important;cursor:pointer!important}
.ari .ari-settings-tab[aria-selected="true"],.ari .ari-report-tab[aria-selected="true"]{background:#d8af53!important;border-color:#d8af53!important;color:#191713!important;box-shadow:0 2px 6px rgba(0,0,0,.11)!important}
.ari .ari-settings-tab:hover:not([aria-selected="true"]),.ari .ari-report-tab:hover:not([aria-selected="true"]){background:rgba(216,175,83,.13)!important;border-color:#c69b44!important}
.ari .ari-report-panel[hidden],.ari .ari-settings-panel[hidden]{display:none!important}
.ari .ari-report-panel:not([hidden]){display:block!important;min-width:0}
.ari[data-ari-theme="dark"] .ari-settings-tab:not([aria-selected="true"]),.ari.ari-dark .ari-settings-tab:not([aria-selected="true"]),.ari[data-ari-theme="dark"] .ari-report-tab:not([aria-selected="true"]),.ari.ari-dark .ari-report-tab:not([aria-selected="true"]){color:#e7bd69!important;border-color:#c4c8c7!important;background:transparent!important}
@media(max-width:700px){.ari .ari-settings-tabs,.ari .ari-report-tabs{flex-wrap:nowrap!important;scrollbar-width:thin!important}.ari .ari-settings-tab,.ari .ari-report-tab{flex:0 0 auto!important;font-size:13px!important;padding:9px 12px!important}}


/* v2.8.21: Secondary navigation is deliberately quieter than the primary menu.
   Both Settings and Reports use outlines, with a 5px gold bottom rule only on the active tab. */
.ari :is(.ari-settings-tabs,.ari-report-tabs){
  display:flex!important;align-items:stretch!important;gap:10px!important;
  flex-wrap:wrap!important;overflow-x:auto!important;
  padding:4px 0 12px!important;margin:10px 0 18px!important;
  border-bottom:0!important;
}
.ari :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab){
  appearance:none!important;box-sizing:border-box!important;position:relative!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:45px!important;margin:0!important;padding:9px 16px 13px!important;
  background:transparent!important;background-image:none!important;
  color:#5d5140!important;border:1px solid #b9b2a5!important;
  border-bottom:5px solid transparent!important;border-radius:8px!important;
  font-size:14px!important;font-weight:600!important;line-height:1.2!important;
  box-shadow:none!important;text-decoration:none!important;cursor:pointer!important;
  white-space:nowrap!important;transition:border-color .15s ease,color .15s ease!important;
}
.ari :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab)[aria-selected="true"]{
  background:transparent!important;background-image:none!important;
  color:#785012!important;border:1px solid #b9b2a5!important;
  border-bottom:5px solid #d8ad55!important;box-shadow:none!important;font-weight:750!important;
}
.ari :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab):hover{
  background:transparent!important;border-color:#c09c54!important;
}
.ari :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab):focus-visible{
  outline:2px solid #d8ad55!important;outline-offset:2px!important;
}
.ari[data-ari-theme="dark"] :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab),
.ari.ari-dark :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab){
  color:#e3ddd1!important;background:transparent!important;border:1px solid #776c5c!important;border-bottom:5px solid transparent!important;
}
.ari[data-ari-theme="dark"] :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab)[aria-selected="true"],
.ari.ari-dark :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab)[aria-selected="true"]{
  background:transparent!important;color:#f2d58c!important;border:1px solid #887966!important;border-bottom:5px solid #e2b758!important;
}
.ari[data-ari-theme="dark"] :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab):hover,
.ari.ari-dark :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab):hover{
  background:transparent!important;color:#f2d58c!important;border-color:#d3b06b!important;
}
@media(max-width:700px){
  .ari :is(.ari-settings-tabs,.ari-report-tabs){flex-wrap:nowrap!important;gap:7px!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important}
  .ari :is(.ari-settings-tabs,.ari-report-tabs) :is(.ari-settings-tab,.ari-report-tab){flex:0 0 auto!important;padding:9px 12px 13px!important;font-size:13px!important}
}

/* v2.8.22 — enforce hollow Settings/Reports sub-tabs even against theme button rules. */
.ari nav.ari-settings-tabs button.ari-settings-tab[aria-selected="false"],
.ari nav.ari-settings-tabs button.ari-report-tab[aria-selected="false"],
.ari nav.ari-report-tabs button.ari-settings-tab[aria-selected="false"],
.ari nav.ari-report-tabs button.ari-report-tab[aria-selected="false"]{
  background-color:transparent!important;background-image:none!important;
  color:#4b4438!important;-webkit-text-fill-color:#4b4438!important;
  border:1px solid #aaa394!important;border-bottom:5px solid transparent!important;
  box-shadow:none!important;text-shadow:none!important;
}
.ari nav.ari-settings-tabs button.ari-settings-tab[aria-selected="true"],
.ari nav.ari-report-tabs button.ari-report-tab[aria-selected="true"]{
  background-color:transparent!important;background-image:none!important;
  color:#775018!important;-webkit-text-fill-color:#775018!important;
  border:1px solid #aaa394!important;border-bottom:5px solid #d8ad55!important;
  box-shadow:none!important;text-shadow:none!important;
}
.ari nav.ari-settings-tabs button.ari-settings-tab:hover,
.ari nav.ari-report-tabs button.ari-report-tab:hover{
  background-color:transparent!important;background-image:none!important;
  border-color:#b8944f!important;
}
.ari[data-ari-theme="dark"] nav.ari-settings-tabs button.ari-settings-tab[aria-selected="false"],
.ari[data-ari-theme="dark"] nav.ari-report-tabs button.ari-report-tab[aria-selected="false"],
.ari.ari-dark nav.ari-settings-tabs button.ari-settings-tab[aria-selected="false"],
.ari.ari-dark nav.ari-report-tabs button.ari-report-tab[aria-selected="false"]{
  background-color:transparent!important;background-image:none!important;
  color:#e4ded2!important;-webkit-text-fill-color:#e4ded2!important;
  border-color:#7a7165!important;border-bottom-color:transparent!important;
}
.ari[data-ari-theme="dark"] nav.ari-settings-tabs button.ari-settings-tab[aria-selected="true"],
.ari[data-ari-theme="dark"] nav.ari-report-tabs button.ari-report-tab[aria-selected="true"],
.ari.ari-dark nav.ari-settings-tabs button.ari-settings-tab[aria-selected="true"],
.ari.ari-dark nav.ari-report-tabs button.ari-report-tab[aria-selected="true"]{
  background-color:transparent!important;background-image:none!important;
  color:#f1cf7d!important;-webkit-text-fill-color:#f1cf7d!important;
  border-color:#827663!important;border-bottom-color:#d8ad55!important;
}


/* v2.8.27 — Inventory table header and checked-row colours match Stock Counts. */
.ari #ari-inventory-explorer-table thead,
.ari #ari-inventory-explorer-table thead tr,
.ari #ari-inventory-explorer-table thead th{
 background:#eee8dc!important;color:#302b25!important;
 border-bottom:2px solid #c6bda9!important;
 box-shadow:0 2px 5px rgba(0,0,0,.12)!important;
}
.ari #ari-inventory-explorer-table thead th .ari-column-sort{
 color:#302b25!important;background:transparent!important;
}
.ari #ari-inventory-explorer-table tbody tr.ari-inventory-selected > td,
.ari #ari-inventory-explorer-table tbody tr:has(.ari-item-check:checked) > td{
 background:#f4eddb!important;color:#302b25!important;
 border-top-color:#e0c994!important;border-bottom-color:#e0c994!important;
}
.ari #ari-inventory-explorer-table tbody tr.ari-inventory-selected > td:first-child,
.ari #ari-inventory-explorer-table tbody tr:has(.ari-item-check:checked) > td:first-child{
 box-shadow:inset 4px 0 #d8ad57!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead tr,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead th{
 background:#30271c!important;color:#f1d08b!important;border-bottom-color:#826638!important;
}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table thead th .ari-column-sort{color:#f1d08b!important}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr.ari-inventory-selected > td,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr:has(.ari-item-check:checked) > td{
 background:#493922!important;color:#ffebc0!important;
 border-top-color:#826638!important;border-bottom-color:#826638!important;
}


/* v2.8.29 — compact Inventory actions and modal category administration */
.ari .ari-inventory-category-bar .ari-inventory-category-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}
.ari .ari-inventory-category-bar .ari-inventory-category-actions .button{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;padding:7px 12px!important;margin:0!important;width:auto!important;flex:none!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:.01em;white-space:nowrap;border-radius:8px!important}
.ari .ari-inventory-category-bar #ari-add-product-trigger{margin:0!important;min-height:36px!important;padding:7px 12px!important;width:auto!important;flex:none!important}
.ari .ari-inventory-category-bar #ari-edit-category-trigger{border:1px solid #b99247!important;background:transparent!important;color:#81591d!important;box-shadow:none!important}
.ari .ari-inventory-category-bar #ari-edit-category-trigger:hover{background:#f4ead5!important}
.ari[data-theme="dark"] .ari-inventory-category-bar #ari-edit-category-trigger,.ari.ari-dark .ari-inventory-category-bar #ari-edit-category-trigger,.ari[data-ari-theme="dark"] .ari-inventory-category-bar #ari-edit-category-trigger{color:#e8c376!important;border-color:#a78443!important;background:transparent!important}
.ari[data-theme="dark"] .ari-inventory-category-bar #ari-edit-category-trigger:hover,.ari.ari-dark .ari-inventory-category-bar #ari-edit-category-trigger:hover{background:#3d321e!important}
.ari .ari-category-modal[hidden]{display:none!important}
.ari .ari-category-modal{position:fixed!important;z-index:100000!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;padding:20px!important;box-sizing:border-box!important}
.ari .ari-category-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65)}
.ari .ari-category-modal-dialog{position:relative;z-index:1;background:#faf8f3;color:#282521;border:1px solid #cbb780;border-radius:16px;box-shadow:0 24px 75px rgba(0,0,0,.4);width:min(850px,100%);max-height:min(88vh,950px);overflow:auto;padding:22px 24px;box-sizing:border-box;outline:none}
.ari .ari-category-modal-dialog .ari-category-management{display:block!important;position:static!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ari .ari-category-modal-close{position:absolute;top:12px;right:14px;background:transparent;border:1px solid #c8b689;color:inherit;border-radius:8px;font-size:24px;line-height:1;cursor:pointer;width:36px;height:36px}
.ari .ari-category-modal-dialog h2{padding-right:45px}
.ari .ari-category-modal-dialog input,.ari .ari-category-modal-dialog select{max-width:100%;box-sizing:border-box}
.ari[data-theme="dark"] .ari-category-modal-dialog,.ari.ari-dark .ari-category-modal-dialog,.ari[data-ari-theme="dark"] .ari-category-modal-dialog{background:#211f1c!important;color:#f4e6cc!important;border-color:#80673b!important}
.ari[data-theme="dark"] .ari-category-modal-dialog .ari-category-management,.ari.ari-dark .ari-category-modal-dialog .ari-category-management{background:transparent!important;color:inherit!important}
body.ari-category-modal-open{overflow:hidden}
@media(max-width:700px){.ari .ari-inventory-category-bar .ari-inventory-category-actions{margin-left:0;width:100%}.ari .ari-category-modal{padding:10px!important}.ari .ari-category-modal-dialog{padding:18px 14px;max-height:94vh}.ari .ari-inventory-category-bar .ari-inventory-category-actions .button{font-size:11px!important;padding:7px 9px!important}}

/* v2.8.30 — Inventory actions: all outlined at rest; filled gold only when active. */
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger){
 background:transparent!important;background-image:none!important;
 border:1px solid #b99247!important;color:#81591d!important;
 box-shadow:none!important;text-shadow:none!important;
 transition:background-color .15s ease,color .15s ease,border-color .15s ease!important;
}
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger):hover:not(.ari-inventory-action-active):not([aria-expanded="true"]){background:#f4ead5!important;color:#704915!important}
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger).ari-inventory-action-active,
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger)[aria-expanded="true"]{
 background:#a97921!important;background-image:none!important;color:#fff!important;
 border-color:#a97921!important;box-shadow:none!important;
}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger),
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger),
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger){background:transparent!important;color:#e8c376!important;border-color:#a78443!important}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger):hover:not(.ari-inventory-action-active):not([aria-expanded="true"]),
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger):hover:not(.ari-inventory-action-active):not([aria-expanded="true"]),
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger):hover:not(.ari-inventory-action-active):not([aria-expanded="true"]){background:#3d321e!important;color:#ffe2a0!important}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-inventory-action-active,
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions .ari-inventory-action-active,
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-inventory-action-active,
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger)[aria-expanded="true"],
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger)[aria-expanded="true"],
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger)[aria-expanded="true"]{background:#a97921!important;color:#fff!important;border-color:#c39a51!important}

/* v2.8.33 — distinguish Inventory editing from Category management and emphasize primary action. */
.ari .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button{
  border-width:3px!important;
  border-style:solid!important;
  border-color:#b99247!important;
  font-weight:800!important;
}
.ari .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button.ari-inventory-action-active{
  border-color:#a97921!important;
}
.ari .ari-inventory-category-bar .ari-inventory-category-actions .ari-inventory-action-icon{
  width:17px!important;height:17px!important;display:inline-block!important;
  vertical-align:middle;flex:none;stroke:currentColor;
}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button,
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button,
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button{
  border-width:3px!important;border-color:#c9a05b!important;
}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button.ari-inventory-action-active,
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button.ari-inventory-action-active,
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions .ari-edit-inventory-button.ari-inventory-action-active{border-color:#c9a05b!important}

/* v2.8.34: primary Edit Inventory control gets a true thick outline.
   Match the specificity of the earlier :is() rule containing IDs. */
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button{
 border:3px solid #ae7b23!important;
 box-sizing:border-box!important;
 background:transparent!important;
 color:#805315!important;
 font-weight:800!important;
}
.ari .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button.ari-inventory-action-active{
 border:3px solid #d5ac5d!important;
 background:#a97921!important;
 color:#fff!important;
}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button,
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button,
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button{border-color:#ddb35d!important;color:#f0ce87!important}
.ari[data-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button.ari-inventory-action-active,
.ari[data-ari-theme="dark"] .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button.ari-inventory-action-active,
.ari.ari-dark .ari-inventory-category-bar .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button).ari-edit-inventory-button.ari-inventory-action-active{background:#a97921!important;color:#fff!important;border-color:#e3bd70!important}
.ari .ari-inventory-category-bar .ari-inventory-category-actions .ari-inventory-edit-icon{width:21px!important;height:21px!important;margin-right:5px!important}
/* 2.8.35 Autosave session controls */
.ari .ari-edit-controls .ari-undo-inventory{background:transparent!important;color:#8e661f!important;border:1.5px solid #ba9044!important;box-shadow:none!important}
.ari .ari-edit-controls .ari-undo-inventory:disabled{opacity:.45!important;cursor:not-allowed!important}
.ari .ari-edit-controls .ari-done-inventory{background:#a97921!important;border:1.5px solid #a97921!important;color:#fff!important;font-weight:700!important}
.ari[data-theme="dark"] .ari-edit-controls .ari-undo-inventory,.ari.ari-dark .ari-edit-controls .ari-undo-inventory{color:#e9c77d!important;border-color:#cfaa5b!important}

/* v2.8.36: compact editing controls, visible save-status before actions */
.ari .ari-edit-action-bar{justify-content:flex-end!important;padding:10px 16px!important;min-height:0!important}
.ari .ari-edit-controls{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:12px!important;margin-left:auto!important;width:auto!important}
.ari .ari-edit-controls .button{min-height:34px!important;height:36px!important;padding:6px 13px!important;font-size:13px!important;line-height:20px!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:none!important;white-space:nowrap!important}
.ari .ari-edit-controls .ari-undo-icon{width:19px!important;height:19px!important;flex-shrink:0!important;stroke-width:2.5!important}
.ari .ari-edit-status{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important;color:#178044!important;order:0!important}
.ari .ari-edit-status .ari-save-status-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;border:2px solid currentColor!important;border-radius:50%!important;font-size:12px!important;line-height:1!important;font-weight:800!important}
.ari .ari-edit-status[data-state="busy"],.ari .ari-edit-status[data-state="pending"]{color:#946711!important}
.ari .ari-edit-status[data-state="error"]{color:#bc3535!important}
.ari .ari-edit-controls .ari-undo-inventory{order:1!important}
.ari .ari-edit-controls .ari-done-inventory{order:2!important}
.ari[data-theme="dark"] .ari-edit-status[data-state="success"],.ari.ari-dark .ari-edit-status[data-state="success"],.ari[data-ari-theme="dark"] .ari-edit-status[data-state="success"]{color:#61d993!important}
.ari[data-theme="dark"] .ari-edit-status[data-state="busy"],.ari.ari-dark .ari-edit-status[data-state="pending"]{color:#e7bc6b!important}
.ari[data-theme="dark"] .ari-edit-status[data-state="error"],.ari.ari-dark .ari-edit-status[data-state="error"]{color:#ff8989!important}
@media(max-width:650px){.ari .ari-edit-action-bar{align-items:center!important}.ari .ari-edit-controls{width:100%!important;justify-content:flex-end!important;gap:9px!important}.ari .ari-edit-controls .button{flex:none!important;padding:6px 10px!important}.ari .ari-edit-status{margin-right:auto!important}}

/* Inventory read-only cost and low-stock warning (v2.8.37) */
.ari-items-table .ari-readonly-average-cost{display:inline-block;padding:.35rem .15rem;font-weight:550;color:inherit;white-space:nowrap}
.ari-items-table .ari-quantity-cell{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.ari-items-table .ari-low-stock-icon:not([hidden]){display:inline-flex;align-items:center;justify-content:center;color:#b45309;font-size:1.12rem;font-weight:800;line-height:1;cursor:help}
.ari-items-table .ari-low-stock-icon[hidden]{display:none!important}
body.ari-dark .ari-items-table .ari-low-stock-icon:not([hidden]),.ari-dark .ari-items-table .ari-low-stock-icon:not([hidden]){color:#f5c45e}


/* v2.8.42 — search + category on the first row; actions and file icons on the second. */
.ari .ari-inventory-compact-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:14px!important}
.ari .ari-inventory-search-wrap{flex:1 1 450px!important;min-width:240px!important;width:auto!important;max-width:none!important}
.ari .ari-inventory-top-category{display:flex;align-items:center;gap:12px;flex:0 1 380px;min-width:250px}
.ari .ari-inventory-top-category label{font-weight:700;white-space:nowrap;color:inherit;margin:0}
.ari .ari-inventory-top-category select{flex:1;min-width:160px;max-width:100%;height:48px;border:1px solid #bea16a;border-radius:11px;background:transparent;color:inherit;padding:8px 12px}
.ari .ari-inventory-category-bar{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}
.ari .ari-inventory-category-bar .ari-inventory-category-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin-left:0!important}
.ari .ari-inventory-category-bar .ari-inventory-action-icons{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;width:auto!important;min-width:0!important;margin:0!important;order:initial!important}
.ari .ari-inventory-help-text{margin:8px 4px 16px}
@media(max-width:980px){.ari .ari-inventory-top-category{flex:1 1 280px!important}.ari .ari-inventory-category-bar{justify-content:flex-start!important}}
@media(max-width:700px){.ari .ari-inventory-compact-bar{display:flex!important;flex-direction:column!important;align-items:stretch!important}.ari .ari-inventory-search-wrap{flex:0 0 auto!important;width:100%!important;min-width:0!important}.ari .ari-inventory-top-category{flex:0 0 auto!important;width:100%!important;min-width:0!important}.ari .ari-inventory-top-category select{min-width:0!important}.ari .ari-inventory-category-bar .ari-inventory-action-icons{width:100%!important;justify-content:flex-start!important}}

\n/* v2.8.43 — Inventory design refresh based on approved UI mockup.
   These are intentionally scoped to Inventory so Stock Counts, Reports etc. stay intact. */
.ari .ari-toolbar-card:has(#ari-inventory-search){
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 16px!important;
  background:#fffdf9!important;border:1px solid #e8dfd0!important;border-radius:16px!important;
  padding:15px 17px!important;box-shadow:0 3px 20px rgba(37,29,12,.035)!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-compact-bar{
  flex:1 1 500px!important;min-width:320px!important;display:flex!important;align-items:center!important;
  justify-content:flex-start!important;gap:12px!important;flex-wrap:nowrap!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-search-wrap{
  flex:1 1 310px!important;min-width:190px!important;max-width:none!important;background:#fff!important;
  border:1px solid #dddeda!important;border-radius:10px!important;height:44px!important;padding:0 13px!important;
  box-shadow:none!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-search-wrap:focus-within{border-color:#ae7c23!important;box-shadow:0 0 0 3px rgba(174,124,35,.1)!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-search-wrap input{height:42px!important;font-size:13px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-top-category{flex:0 1 240px!important;min-width:170px!important;gap:8px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-top-category label{font-size:12px!important;font-weight:650!important;color:#625b51!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-top-category select{height:44px!important;min-width:135px!important;background:#fff!important;border:1px solid #dddeda!important;color:#302d29!important;border-radius:10px!important;font-size:13px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar{
  flex:0 1 auto!important;min-width:0!important;display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:flex-end!important;gap:12px!important;margin:0!important;padding:0!important;
  background:none!important;border:0!important;box-shadow:none!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions{gap:7px!important;flex-wrap:nowrap!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger){
  min-height:42px!important;height:42px!important;padding:0 12px!important;font-size:12px!important;
  border-radius:9px!important;white-space:nowrap!important;text-transform:uppercase!important;
  box-shadow:none!important;line-height:1!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions .ari-edit-inventory-button{border-width:2px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{
  border:0!important;border-left:1px solid #e8dfd0!important;border-radius:0!important;background:transparent!important;
  padding:0 0 0 12px!important;margin:0!important;box-shadow:none!important;gap:7px!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-action{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  border:1.5px solid #cba459!important;border-radius:9px!important;background:transparent!important;
  color:#a77922!important;box-shadow:none!important;transform:none!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-action:hover:not(:disabled),
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-action:focus-visible:not(:disabled){background:#fff2dc!important;border-color:#a77922!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-danger{color:#d64e59!important;border-color:#e9abb0!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-danger:disabled{opacity:.42!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-icon-danger:hover:not(:disabled){background:#fff1f2!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-reset-stock-action{color:#a77922!important;background:transparent!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-help-text{flex:1 1 100%!important;margin:0!important;padding:0 2px!important;color:#817b70!important;font-size:11px!important}
/* Product table: restrained white table, compact headers, consistent column alignment. */
.ari .ari-inventory-table-shell{margin:18px 0 22px;background:#fff;border:1px solid #e9e5df;border-radius:15px;overflow:hidden;box-shadow:0 5px 22px rgba(24,19,10,.035)}
.ari .ari-inventory-table-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 19px;color:#262521;font-size:15px;border-bottom:1px solid #ede9e3}
.ari .ari-inventory-table-caption #ari-inventory-results{font-size:12px;color:#81786b;font-weight:600}
.ari .ari-inventory-table-shell .ari-scroll{margin:0!important;overflow-x:auto}
.ari .ari-inventory-table-shell .ari-items-table{margin:0!important;border:0!important;box-shadow:none!important;border-collapse:collapse!important;background:#fff!important}
.ari .ari-inventory-table-shell .ari-items-table thead th{background:#fbfaf7!important;color:#615b53!important;border-bottom:1px solid #e8e4dd!important;box-shadow:none!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.025em!important;padding:14px 12px!important}
.ari .ari-inventory-table-shell .ari-items-table thead th .ari-column-sort{font-size:11px!important;color:inherit!important;text-decoration:none!important;font-weight:750!important;text-transform:uppercase!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row){background:#fff!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row):nth-child(even){background:#fcfbf9!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row):hover{background:#fffaf1!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected{background:#fff0d1!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected td{background:#fff0d1!important}
.ari .ari-inventory-table-shell .ari-items-table tbody td{border-color:#ebe8e2!important;padding:12px 12px!important;color:#292927!important;font-size:13px!important;box-shadow:none!important}
.ari .ari-inventory-table-shell .ari-items-table tbody td:nth-child(2){font-weight:650!important}
.ari .ari-inventory-table-shell .ari-items-table tbody td :is(input:not([type=checkbox]),select){border-radius:9px!important;border-color:#e2ddd4!important;background:#fff!important;box-shadow:none!important}
.ari .ari-inventory-table-shell .ari-items-table tbody td :is(input:not([type=checkbox]),select):focus{border-color:#bf9448!important;box-shadow:0 0 0 2px rgba(191,148,72,.12)!important}
.ari .ari-inventory-table-shell .ari-items-table input[type=checkbox]{accent-color:#b0802b}
.ari .ari-inventory-table-shell .ari-readonly-quantity{display:inline-flex;align-items:center;justify-content:center;min-width:44px;border-radius:999px;background:#e8f6e9;color:#207638;padding:4px 9px;font-weight:750}
.ari .ari-inventory-table-shell .ari-quantity-cell:has(.ari-low-stock-icon:not([hidden])) .ari-readonly-quantity{background:#fff0ca;color:#986409}
.ari .ari-inventory-table-shell .ari-quantity-cell:has(.ari-low-stock-icon:not([hidden])):has([data-stock-qty="0"]) .ari-readonly-quantity{background:#ffebeb;color:#b52d35}
.ari .ari-inventory-table-shell .ari-low-stock-icon:not([hidden]){color:#b47b14!important}
/* Undo bar adopts the same quiet card language. */
.ari .ari-edit-action-bar{background:#fffdf7!important;border:1px solid #e3c789!important;border-radius:12px!important;box-shadow:none!important}
/* Dark mode */
.ari[data-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search),.ari.ari-dark .ari-toolbar-card:has(#ari-inventory-search),.ari[data-ari-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search){background:#211f1c!important;border-color:#544834!important}
.ari[data-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search) :is(.ari-inventory-search-wrap,.ari-inventory-top-category select),.ari.ari-dark .ari-toolbar-card:has(#ari-inventory-search) :is(.ari-inventory-search-wrap,.ari-inventory-top-category select){background:#292621!important;border-color:#5a4c36!important;color:#f5eddd!important}
.ari[data-theme="dark"] .ari-inventory-table-shell,.ari.ari-dark .ari-inventory-table-shell{background:#211f1c!important;border-color:#514533!important}
.ari[data-theme="dark"] .ari-inventory-table-caption,.ari.ari-dark .ari-inventory-table-caption{color:#f4ead8!important;border-color:#4e4436!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table,.ari.ari-dark .ari-inventory-table-shell .ari-items-table{background:#211f1c!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table thead th,.ari.ari-dark .ari-inventory-table-shell .ari-items-table thead th{background:#322b23!important;color:#e6d2aa!important;border-color:#554735!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row),.ari.ari-dark .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row){background:#25231f!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table tbody tr:nth-child(even),.ari.ari-dark .ari-inventory-table-shell .ari-items-table tbody tr:nth-child(even){background:#292620!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected,.ari.ari-dark .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected{background:#483718!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected td,.ari.ari-dark .ari-inventory-table-shell .ari-items-table tbody tr.ari-inventory-selected td{background:#483718!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-items-table tbody td,.ari.ari-dark .ari-inventory-table-shell .ari-items-table tbody td{color:#f2e8d7!important;border-color:#443b31!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-readonly-quantity,.ari.ari-dark .ari-inventory-table-shell .ari-readonly-quantity{background:#1e4b33!important;color:#9cf1bd!important}
.ari[data-theme="dark"] .ari-inventory-table-shell .ari-quantity-cell:has(.ari-low-stock-icon:not([hidden])) .ari-readonly-quantity,.ari.ari-dark .ari-inventory-table-shell .ari-quantity-cell:has(.ari-low-stock-icon:not([hidden])) .ari-readonly-quantity{background:#55401f!important;color:#ffd98b!important}
.ari[data-theme="dark"] .ari-edit-action-bar,.ari.ari-dark .ari-edit-action-bar{background:#29231b!important;border-color:#67512b!important}
@media(max-width:1350px){.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-compact-bar{flex:1 1 100%!important}.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar{flex:1 1 100%!important;justify-content:flex-end!important}}
@media(max-width:700px){
.ari .ari-toolbar-card:has(#ari-inventory-search){display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:12px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-compact-bar{min-width:0!important;flex:0 0 auto!important;width:100%!important;flex-wrap:wrap!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-search-wrap{flex:1 1 100%!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-top-category{flex:1 1 100%!important;min-width:0!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar{justify-content:flex-start!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions{flex-wrap:wrap!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{flex-wrap:wrap!important;border-left:0!important;border-top:1px solid #e8dfd0!important;padding:10px 0 0!important}
.ari .ari-inventory-table-shell{overflow:visible!important}.ari .ari-inventory-table-caption{padding:12px!important}
.ari .ari-inventory-table-shell .ari-items-table tbody tr:not(.ari-add-row){border:1px solid #e6dfd2!important;border-radius:12px!important}
}

/* v2.8.44 — Unified inventory toolbar: all controls share one card. */
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar{
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;min-height:0!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{
  background:transparent!important;border:0!important;border-left:1px solid #e8dfd0!important;
  border-radius:0!important;box-shadow:none!important;padding:0 0 0 12px!important;
  width:auto!important;min-width:0!important;max-width:none!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons form{background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons .ari-icon-action{
  background:transparent!important;color:#aa7c26!important;border:1.5px solid #cba459!important;
  border-radius:9px!important;width:42px!important;height:42px!important;min-height:42px!important;min-width:42px!important;
  box-shadow:none!important;padding:8px!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons .ari-icon-danger{
  background:transparent!important;color:#d64e59!important;border-color:#e9abb0!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons .ari-icon-danger:disabled{opacity:.4!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger){
  background:transparent!important;color:#916618!important;border:1.5px solid #b98c3f!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger)[aria-expanded="true"]{
  background:#a97921!important;color:#fff!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions .ari-edit-inventory-button{
  border:3px solid #ad7b23!important;background:transparent!important;color:#916618!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions .ari-edit-inventory-button.ari-inventory-action-active{
  background:#a97921!important;color:#fff!important;border-color:#d0a459!important;
}
.ari[data-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons,
.ari.ari-dark .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{border-left-color:#544834!important}
.ari[data-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button),
.ari.ari-dark .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(#ari-add-product-trigger,#ari-edit-category-trigger,.ari-edit-inventory-button){color:#efc775!important;border-color:#b99452!important}
.ari[data-theme="dark"] .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions .ari-inventory-action-active,
.ari.ari-dark .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions .ari-inventory-action-active{color:white!important}
@media(max-width:700px){.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{border-left:0!important;border-top:1px solid #e8dfd0!important;padding:10px 0 0!important}}


/* v2.8.45: one aligned visual rhythm across text controls and icon actions. */
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar,
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions,
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{
  align-items:center!important;align-content:center!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-bar{min-height:46px!important;row-gap:10px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions{min-height:46px!important}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-category-actions :is(.ari-edit-inventory-button,#ari-add-product-trigger,#ari-edit-category-trigger){
  height:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  vertical-align:middle!important;padding:0 14px!important;margin:0!important;line-height:1.1!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{
  min-height:44px!important;height:auto!important;align-self:center!important;display:flex!important;
  flex-flow:row nowrap!important;justify-content:center!important;gap:8px!important;
  padding:0 0 0 16px!important;margin:0!important;vertical-align:middle!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons > *,
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons form{
  height:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 auto!important;align-self:center!important;
  padding:0!important;margin:0!important;line-height:normal!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons .ari-icon-action{
  width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;vertical-align:middle!important;
}
.ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons .ari-icon-action svg{width:20px!important;height:20px!important;display:block!important}
@media(max-width:700px){
 .ari .ari-toolbar-card:has(#ari-inventory-search) .ari-inventory-action-icons{
   border-left:0!important;border-top:1px solid #e8dfd0!important;padding:10px 0 0!important;
   justify-content:flex-start!important;min-height:54px!important;flex-wrap:wrap!important;
 }
}

/* Invoice matching: short status tags instead of long AI reasoning. */
.ari-invoice-review .ari-match-status {
 display:inline-flex !important;align-items:center;max-width:max-content;margin:0 0 7px!important;
 padding:3px 9px!important;border-radius:999px!important;border:1px solid #d6d0c1!important;
 background:#f5f2ea!important;color:#6d6559!important;font-size:12px!important;
 line-height:1.4!important;font-weight:650!important;white-space:nowrap!important;
}
.ari-invoice-review .ari-match-status.ari-match-ai {background:#fff4d7!important;border-color:#dfc17c!important;color:#896017!important}
.ari-invoice-review .ari-match-status.ari-match-saved {background:#e8f7ed!important;border-color:#a2dbb4!important;color:#147d4c!important}
.ari-invoice-review .ari-match-status.ari-match-pending {background:#eff3f7!important;border-color:#bdc7d2!important;color:#45586a!important}
.ari-theme-dark .ari-invoice-review .ari-match-status,body.ari-dark .ari-invoice-review .ari-match-status {background:#302d27!important;color:#e2d8c7!important;border-color:#68604f!important}
.ari-theme-dark .ari-invoice-review .ari-match-status.ari-match-ai,body.ari-dark .ari-invoice-review .ari-match-status.ari-match-ai {background:#43341b!important;color:#f2cd77!important;border-color:#a17d36!important}
.ari-theme-dark .ari-invoice-review .ari-match-status.ari-match-saved,body.ari-dark .ari-invoice-review .ari-match-status.ari-match-saved {background:#193e2b!important;color:#a8e7be!important;border-color:#386e4c!important}


/* 2.8.51 — compact invoice review layout, based on Inventory toolbar */
.ari .ari-review-sticky-title{position:sticky;top:32px;z-index:32;padding:12px 18px;background:#faf9f6;border:1px solid #e5dccb;border-radius:14px 14px 0 0;box-shadow:0 3px 12px rgba(30,30,30,.045)}
.ari .ari-review-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ari .ari-review-title-row h2{margin:0!important;font-size:clamp(19px,1.5vw,25px)!important;line-height:1.25}
.ari .ari-review-title-status{font-size:.65em;font-weight:650;color:#967028;padding:4px 9px;background:#f4ead6;border-radius:99px;vertical-align:middle}
.ari .ari-review-title-caption{font-size:12px;color:#82776a}
.ari .ari-review-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 16px;margin:0 0 14px;background:#faf9f6;border:1px solid #e5dccb;border-top:0;border-radius:0 0 14px 14px}
.ari .ari-review-primary-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ari .ari-review-primary-actions .button{height:38px!important;min-height:38px!important;line-height:1.2!important;padding:8px 13px!important;font-size:12px!important;font-weight:700!important;letter-spacing:.015em!important;border-radius:9px!important;box-shadow:none!important;white-space:nowrap}
.ari .ari-review-ai-action{background:transparent!important;border:1.5px solid #aa7b22!important;color:#926318!important}
.ari .ari-review-save-action{background:#aa7921!important;color:white!important;border:1.5px solid #aa7921!important}
.ari .ari-review-delete-action{background:transparent!important;border:1.5px solid #c98787!important;color:#a64444!important}
.ari .ari-review-delete-action:disabled{opacity:.48!important}
.ari .ari-review-selection-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-left:1px solid #e2d7c4;padding-left:14px}
.ari .ari-review-selection-actions label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:600}
.ari .ari-review-selection-actions input{margin:0!important}
.ari #ari-selected-count{font-size:12px;color:#7b7163;white-space:nowrap}
.ari .ari-review-save-feedback{width:100%;font-size:12px!important;line-height:1.35;margin:0!important;overflow-wrap:anywhere}
.ari .ari-language-tools{padding:9px 12px!important;border-radius:10px;border:1px solid #e7dfd2;background:#f8f7f4;gap:9px!important;margin:10px 0!important;font-size:13px}
.ari .ari-language-tools select{width:auto!important;min-width:150px;max-width:230px;padding:6px 28px 6px 10px!important;min-height:34px!important}
.ari .ari-language-tools #ari-translate-invoice{font-size:12px!important;padding:6px 11px!important;min-height:34px!important;background:transparent!important;color:#946a22!important;border:1px solid #b99247!important;border-radius:8px!important}
.ari .ari-review-meta-fields{display:grid!important;grid-template-columns:minmax(240px,2fr) minmax(145px,1fr) minmax(155px,1fr);gap:12px!important;margin:12px 0!important;align-items:end}
.ari .ari-review-meta-fields label{display:flex!important;flex-direction:column!important;gap:5px;font-size:12px;font-weight:650;margin:0}
.ari .ari-review-meta-fields :is(select,input){width:100%!important;max-width:none!important;box-sizing:border-box;min-height:38px!important;padding:7px 10px!important;border-radius:9px!important}
.ari .ari-invoice-back{margin:0 0 9px!important;padding:6px 10px!important;font-size:12px!important;background:transparent!important;color:#8d6521!important;border-color:#d5c5a5!important}
.ari .ari-invoice-review thead th{padding:12px 9px!important;font-size:12px!important;letter-spacing:.025em!important}
.ari .ari-invoice-review td{padding:12px 9px!important}
.ari .ari-invoice-review input:not([type=checkbox]){font-size:13px!important}
.ari .ari-invoice-review .ari-english-description{font-size:12px}
.ari[data-ari-theme="dark"] .ari-review-sticky-title,.ari[data-ari-theme="dark"] .ari-review-top-actions,.ari[data-ari-theme="dark"] .ari-language-tools{background:#26231e!important;border-color:#5a4a32!important;color:#e9e3d9!important}
.ari[data-ari-theme="dark"] .ari-review-title-status{background:#493b24!important;color:#eacc85!important}
.ari[data-ari-theme="dark"] .ari-review-title-caption,.ari[data-ari-theme="dark"] #ari-selected-count{color:#c3b59e!important}
.ari[data-ari-theme="dark"] .ari-review-ai-action{background:transparent!important;color:#e5bb6e!important}
.ari[data-ari-theme="dark"] .ari-review-delete-action{color:#eea6a6!important;border-color:#a75a5a!important}
@media(max-width:782px){.ari .ari-review-sticky-title{top:0}.ari .ari-review-meta-fields{grid-template-columns:1fr 1fr}.ari .ari-review-meta-fields label:first-child{grid-column:1/-1}.ari .ari-review-top-actions{padding:10px}.ari .ari-review-selection-actions{border-left:0;padding-left:0}.ari .ari-review-primary-actions .button{font-size:11px!important;padding:7px 9px!important}}


/* v2.8.52 — One compact invoice review toolbar, sticky Inventory-style title, select-all in table */
.ari .ari-review-sticky-title{
  position:sticky!important;top:32px!important;z-index:45!important;
  background:#fff!important;border:1px solid #e7e1d6!important;
  border-radius:12px!important;padding:11px 16px!important;
  margin:8px 0 10px!important;box-shadow:0 3px 12px rgba(30,27,22,.055)!important
}
.ari .ari-review-title-row{min-height:30px!important}
.ari .ari-review-title-row h2{color:#282724!important;font-size:21px!important;font-weight:750!important}
.ari .ari-review-title-status{background:#f7efd9!important;color:#996c22!important;border:1px solid #e7d4a9!important}
.ari .ari-review-top-actions{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:9px 12px!important;background:#fbfaf7!important;
  border:1px solid #e4ddcf!important;border-radius:13px!important;
  padding:11px 13px!important;margin:0 0 13px!important
}
.ari .ari-review-primary-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.ari .ari-review-language-actions{display:flex;align-items:center;min-width:0;flex:1 1 370px}
.ari .ari-review-language-actions .ari-language-tools{
  display:flex!important;align-items:center!important;gap:9px!important;
  flex-wrap:wrap!important;border:0!important;background:transparent!important;
  padding:0!important;margin:0!important;font-size:12px!important
}
.ari .ari-review-language-actions .ari-language-tools>span:first-child{white-space:nowrap;font-size:12px!important}
.ari .ari-review-language-actions .ari-language-tools label{display:flex;align-items:center;gap:5px;margin:0!important;font-size:12px!important}
.ari .ari-review-language-actions .ari-language-tools select{min-height:36px!important;height:36px!important;max-width:180px!important}
.ari .ari-review-language-actions #ari-translate-invoice{min-height:36px!important;height:36px!important;padding:6px 10px!important;white-space:normal!important;line-height:1.2!important;max-width:250px;font-size:11px!important}
.ari .ari-review-selection-actions{border-left:1px solid #ded3bc!important;padding-left:10px!important;margin-left:auto;min-width:max-content}
.ari .ari-review-toolbar-feedback{flex:1 0 100%;min-width:0}
.ari .ari-review-save-feedback{display:block;line-height:1.3!important;margin:0!important;font-size:12px!important}
.ari .ari-invoice-review th.ari-select-heading{width:56px!important;text-align:center!important;vertical-align:middle!important}
.ari .ari-invoice-review #ari-select-all-lines{display:inline-block!important;margin:0!important;width:18px!important;height:18px!important;vertical-align:middle!important;cursor:pointer;accent-color:#aa7921}
.ari .ari-invoice-review .ari-line-select-cell{text-align:center}
.ari[data-ari-theme="dark"] .ari-review-sticky-title{background:#24211c!important;border-color:#5a4a32!important}
.ari[data-ari-theme="dark"] .ari-review-title-row h2{color:#f1e8d8!important}
.ari[data-ari-theme="dark"] .ari-review-top-actions{background:#28241f!important;border-color:#5a4a32!important;color:#e9e3d9!important}
.ari[data-ari-theme="dark"] .ari-review-language-actions .ari-language-tools{background:transparent!important;color:#e9e3d9!important;border:0!important}
.ari[data-ari-theme="dark"] .ari-review-selection-actions{border-color:#5a4a32!important}
@media(max-width:1100px){.ari .ari-review-language-actions{order:2;flex-basis:100%}.ari .ari-review-selection-actions{margin-left:auto}}
@media(max-width:782px){.ari .ari-review-sticky-title{top:0!important}.ari .ari-review-top-actions{padding:9px!important}.ari .ari-review-language-actions{flex-basis:100%}.ari .ari-review-selection-actions{border:0!important;padding-left:0!important}}

/* v2.8.53 — Invoice review sticky header matches Inventory List's unified bar */
.ari .ari-review-sticky-title{
  top:var(--ari-sticky-offset,32px)!important;
  display:flex!important;flex-direction:column!important;gap:10px!important;
  padding:12px 16px!important;
  background:var(--ari-surface,#fff)!important;
  z-index:80!important;
}
.ari .ari-review-sticky-title .ari-review-top-actions{
  margin:0!important;padding:9px 0 0!important;background:transparent!important;
  border:0!important;border-top:1px solid #e7e1d6!important;
  border-radius:0!important;box-shadow:none!important;
}
.ari .ari-review-title-caption{display:inline-flex!important;gap:5px!important;align-items:center!important}
.ari .ari-review-title-caption strong{font-weight:750!important;letter-spacing:.03em}
.ari .ari-review-language-actions{flex:0 1 auto!important;min-width:0!important}
.ari .ari-review-language-actions .ari-language-tools{gap:8px!important}
.ari .ari-review-language-actions #ari-translate-invoice,
.ari .ari-review-primary-actions .ari-view-uploaded-invoice{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:38px!important;height:38px!important;box-sizing:border-box!important;
  padding:8px 14px!important;white-space:nowrap!important;
  line-height:20px!important;font-size:13px!important;font-weight:650!important;
  border-radius:9px!important;width:auto!important;max-width:none!important;
  text-decoration:none!important;
}
.ari .ari-review-primary-actions .ari-view-uploaded-invoice{background:transparent!important;border:1px solid #b99247!important;color:#946a22!important}
.ari .ari-review-language-actions #ari-translate-invoice{background:transparent!important;border:1px solid #b99247!important;color:#946a22!important}
.ari[data-ari-theme="dark"] .ari-review-sticky-title .ari-review-top-actions{border-top-color:#5a4a32!important}
@media(max-width:782px){
 .ari .ari-review-sticky-title{top:0!important;padding:10px!important}
 .ari .ari-review-language-actions{order:0!important;flex-basis:auto!important}
 .ari .ari-review-top-actions{gap:8px!important}
}

/* v2.8.57 — compact secondary AI retries and document shortcut */
.ari .ari-review-selection-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.ari .ari-review-selection-actions #ari-ai-match,
.ari .ari-review-selection-actions #ari-translate-invoice{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;color:#946a22!important;border:1px solid #b99247!important;
  border-radius:8px!important;box-shadow:none!important;
  font-size:11px!important;font-weight:700!important;letter-spacing:0!important;
  padding:6px 10px!important;height:34px!important;min-height:34px!important;
  width:auto!important;min-width:0!important;max-width:none!important;line-height:1.15!important;
  text-transform:uppercase!important;white-space:nowrap!important;
}
.ari .ari-review-selection-actions #ari-ai-match:hover,
.ari .ari-review-selection-actions #ari-translate-invoice:hover{background:#f8f1e3!important;border-color:#a87924!important;color:#835a12!important}
.ari .ari-review-selection-actions .ari-language-tools{border:0!important;background:transparent!important;padding:0!important;margin:0!important}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice{
  display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:3px!important;padding:3px 7px!important;margin:0 4px 0 0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none!important;
  color:#946a22!important;min-width:84px!important;max-width:110px!important;min-height:44px!important;
  font-size:10px!important;font-weight:650!important;line-height:1.15!important;text-transform:none!important;
  white-space:normal!important;text-align:center!important;border-radius:8px!important
}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice svg{display:block!important;flex:0 0 auto!important;width:22px!important;height:22px!important}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice:hover{background:#f8f1e3!important;color:#805a17!important}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice:focus-visible{outline:2px solid #b99247!important;outline-offset:2px!important}
.ari[data-ari-theme="dark"] .ari .ari-review-selection-actions #ari-ai-match,
.ari[data-ari-theme="dark"] .ari-review-selection-actions #ari-ai-match,
.ari[data-ari-theme="dark"] .ari-review-selection-actions #ari-translate-invoice{color:#eccb8b!important;border-color:#aa8447!important}
.ari[data-ari-theme="dark"] .ari-review-selection-actions .ari-view-uploaded-invoice{color:#eccb8b!important}
@media(max-width:782px){.ari .ari-review-selection-actions{width:100%!important;margin-left:0!important;justify-content:flex-end!important;gap:6px!important}}


/* v2.8.58 — icon-based AI tools, clear review status, unified pinned invoice bar */
.ari .ari-review-sticky-title.ari-review-is-fixed{
 position:fixed!important;top:var(--ari-review-fixed-top,0px)!important;
 left:var(--ari-review-fixed-left,0px)!important;width:var(--ari-review-fixed-width,100%)!important;
 box-sizing:border-box!important;z-index:9995!important;margin:0!important;
 border-radius:0 0 12px 12px!important;box-shadow:0 6px 20px rgba(40,30,20,.14)!important;
}
.ari .ari-review-sticky-spacer{height:0;pointer-events:none}
.ari .ari-review-selection-actions #ari-ai-match,
.ari .ari-review-selection-actions #ari-translate-invoice{
 display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 gap:3px!important;padding:4px 6px!important;margin:0!important;min-width:88px!important;
 max-width:118px!important;width:105px!important;height:51px!important;min-height:51px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;color:#946a22!important;
 border-radius:8px!important;font-size:10px!important;line-height:1.15!important;text-transform:none!important;
 white-space:normal!important;text-align:center!important;
}
.ari .ari-review-selection-actions #ari-ai-match svg,
.ari .ari-review-selection-actions #ari-translate-invoice svg{width:22px!important;height:22px!important;display:block!important;flex-shrink:0}
.ari .ari-review-selection-actions #ari-ai-match:hover,
.ari .ari-review-selection-actions #ari-translate-invoice:hover{background:#f8f1e3!important}
.ari .ari-review-selection-actions #ari-ai-match:focus-visible,
.ari .ari-review-selection-actions #ari-translate-invoice:focus-visible{outline:2px solid #b99247!important;outline-offset:2px!important}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice{width:105px!important;max-width:118px!important;margin:0!important;min-height:51px!important}
.ari .ari-review-selection-actions .ari-language-tools{gap:0!important}
.ari .ari-review-selection-actions{gap:5px!important}
.ari-invoice-review .ari-match-status.ari-match-review,
.ari .ari-review-title-status.ari-review-status-needs-review,
.ari .ari-review-status-needs-review,
.ari .ari-status-needs-review{
 background:#fdeced!important;border:1px solid #ecb1b6!important;color:#a32832!important;
}
.ari[data-ari-theme="dark"] .ari-invoice-review .ari-match-status.ari-match-review,
.ari[data-ari-theme="dark"] .ari-review-title-status.ari-review-status-needs-review{
 background:#51292d!important;border-color:#a65760!important;color:#ffb8bf!important;
}
.ari .ari-open-create svg{width:20px!important;height:20px!important}
@media(max-width:782px){.ari .ari-review-sticky-title.ari-review-is-fixed{top:var(--ari-review-fixed-top,0px)!important}.ari .ari-review-selection-actions #ari-ai-match,.ari .ari-review-selection-actions #ari-translate-invoice{width:90px!important;min-width:80px!important}}

/* v2.8.59 — icon actions only fill on hover, inventory add button transparent */
.ari .ari-review-selection-actions .ari-view-uploaded-invoice,
.ari .ari-review-selection-actions #ari-ai-match,
.ari .ari-review-selection-actions #ari-translate-invoice{
 background:transparent!important;background-color:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
.ari .ari-review-selection-actions .ari-view-uploaded-invoice:hover,
.ari .ari-review-selection-actions #ari-ai-match:hover,
.ari .ari-review-selection-actions #ari-translate-invoice:hover,
.ari .ari-review-selection-actions .ari-view-uploaded-invoice:focus-visible,
.ari .ari-review-selection-actions #ari-ai-match:focus-visible,
.ari .ari-review-selection-actions #ari-translate-invoice:focus-visible{
 background:#f8f1e3!important;background-color:#f8f1e3!important;
}
.ari .ari-quick-picker .ari-picker-icon.ari-open-create,
.ari .ari-quick-picker .ari-open-create{
 background:transparent!important;background-color:transparent!important;color:#946a22!important;box-shadow:none!important;border-color:transparent!important;
}
.ari .ari-quick-picker .ari-open-create:hover,
.ari .ari-quick-picker .ari-open-create:focus-visible{background:#f8f1e3!important;background-color:#f8f1e3!important}
.ari .ari-floating-invoice-header{z-index:9989!important}

/* v2.8.60: the sticky column header retains original table visual styling. */
.ari-floating-invoice-header{box-shadow:none!important}

/* v2.8.63 — approved purchase register */
.ari .ari-purchase-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0 22px}
.ari .ari-purchase-filters label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.ari .ari-purchases-table td,.ari .ari-purchases-table th{padding:13px 14px}

/* v2.8.64 purchasing recommendations */
.ari-purchase-recs{background:#fff;border:1px solid #e8dfd0;border-radius:18px;padding:22px;margin:20px 0 26px}.ari-purchase-recs-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ari-purchase-recs-title h3{margin:0 0 8px}.ari-purchase-recs-title p{margin:0 0 10px}.ari-purchase-recs-title span{font-weight:700;color:#956917}.ari-purchase-supplier{margin-top:20px;border:1px solid #e9e1d5;border-radius:12px;overflow:hidden}.ari-purchase-supplier h4{margin:0;padding:14px 16px;background:#f8f5ef}.ari-purchase-supplier table{margin:0}.ari-purchase-supplier td,.ari-purchase-supplier th{padding:12px;vertical-align:middle}.ari-purchase-supplier>p{padding:0 16px}

/* v2.8.65: purchase-list export */
.ari-purchase-export-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ari-export-purchases{white-space:normal!important}

/* InventoryNexa 2.8.74 mobile navigation and invoice review redesign. Desktop is untouched. */
.ari .ari-mobile-more{display:none}
@media (max-width:700px){
 html body .ari.ari-frontend{max-width:100%;min-width:0;overflow-x:clip;box-sizing:border-box}
 .ari .ari-nexa-header{border-radius:16px!important;padding:14px 12px!important}
 .ari .ari-nexa-brand-image{max-width:100%!important;height:auto!important;object-fit:contain}
 .ari nav.ari-nav.ari-nexa-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;padding:0!important;margin:12px 0 18px!important;align-items:stretch!important;position:relative!important}
 .ari nav.ari-nexa-nav > a{min-width:0!important;min-height:70px!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;padding:7px 2px!important;border-radius:13px!important;font-size:clamp(9px,2.5vw,12px)!important;white-space:normal!important;text-align:center!important;line-height:1.2!important}
 .ari nav.ari-nexa-nav > a .ari-nav-icon{width:23px!important;height:23px!important;flex:0 0 23px!important;stroke-width:1.8}
 .ari nav.ari-nexa-nav > a[href*="ari_view=counts"],.ari nav.ari-nexa-nav > a[href*="ari_view=reports"],.ari nav.ari-nexa-nav > a[href*="ari_view=settings"]{display:none!important}
 .ari nav.ari-nexa-nav > .ari-ui-controls{grid-column:1/-1!important;position:static!important;justify-self:end!important;margin:2px 0 0!important;background:transparent!important;padding:0!important;display:flex!important}
 .ari nav.ari-nexa-nav .ari-mobile-more{display:block!important;min-width:0;position:relative;z-index:15}
 .ari nav.ari-nexa-nav .ari-mobile-more summary{height:70px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 2px;border:1px solid var(--nx-border,#e5dccd);border-radius:13px;background:var(--nx-panel,#fff);color:var(--nx-text,#222);font-size:clamp(9px,2.5vw,12px);font-weight:650;cursor:pointer;list-style:none}
 .ari nav.ari-nexa-nav .ari-mobile-more summary::-webkit-details-marker{display:none}
 .ari nav.ari-nexa-nav .ari-mobile-more summary svg{height:23px;width:23px}
 .ari nav.ari-nexa-nav .ari-mobile-more[open] summary{border-color:var(--nx-gold,#ac7d23);color:var(--nx-gold-strong,#a47723)}
 .ari nav.ari-nexa-nav .ari-mobile-more-links{position:absolute;right:0;top:calc(100% + 8px);width:min(255px,calc(100vw - 36px));padding:8px;border:1px solid var(--nx-border,#ddd);border-radius:13px;background:var(--nx-panel,#fff);box-shadow:0 10px 30px #0002;display:flex;flex-direction:column;gap:5px;z-index:100}
 .ari nav.ari-nexa-nav .ari-mobile-more-links a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;min-height:44px!important;padding:10px 12px!important;text-align:left!important;gap:11px!important;border-radius:8px!important;font-size:13px!important;white-space:normal!important}
 .ari .ari-invoice-back{max-width:100%;box-sizing:border-box}
 .ari .ari-review-sticky-title{max-width:100%;box-sizing:border-box}
 .ari .ari-review-top-actions{display:flex!important;flex-direction:column!important;gap:12px!important;padding:12px!important;overflow:visible!important;max-width:100%;box-sizing:border-box}
 .ari .ari-review-primary-actions,.ari .ari-review-language-actions,.ari .ari-review-selection-actions{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;gap:8px!important;justify-content:flex-start!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;border:0!important}
 .ari .ari-review-top-actions .button,.ari .ari-review-top-actions button{box-sizing:border-box;max-width:100%;min-height:44px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center;line-height:1.25!important}
 .ari .ari-review-primary-actions .ari-view-uploaded-invoice{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:11px!important}
 .ari .ari-review-language-actions .button,.ari .ari-review-selection-actions .button{flex:1 1 130px!important;min-width:0!important}
 .ari .ari-review-title-row{flex-wrap:wrap!important;gap:8px!important}
 .ari .ari-review-toolbar-feedback{max-width:100%;overflow-wrap:anywhere}
 .ari .ari-review-meta-fields{grid-template-columns:minmax(0,1fr)!important}
 .ari .ari-review-meta-fields label{grid-column:auto!important;min-width:0}
 .ari .ari-review-meta-fields input,.ari .ari-review-meta-fields select{max-width:100%!important;min-width:0!important}
 .ari .ari-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:370px){.ari nav.ari-nexa-nav > a,.ari nav.ari-nexa-nav .ari-mobile-more summary{font-size:9px!important}}

/* v2.8.89 — match Inventory's scroll-contained sticky table headers. */
.ari .ari-invoices-table-wrap,
.ari .ari-purchases-page .ari-purchase-table-scroll,
.ari .ari-full-count-scroll {
  position:relative!important;
  isolation:isolate!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  max-height:clamp(360px,72vh,880px)!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable;
}
.ari .ari-invoices-table,
.ari .ari-purchases-page .ari-purchase-editable-table,
.ari .ari-full-count-table {
  border-collapse:separate!important;
  border-spacing:0!important;
}
.ari .ari-invoices-table thead,
.ari .ari-purchases-page .ari-purchase-editable-table thead {
  display:table-header-group!important;
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  visibility:visible!important;
}
.ari .ari-invoices-table thead th,
.ari .ari-purchases-page .ari-purchase-editable-table thead th {
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  background:#eee8dc!important;
  color:#302b25!important;
  box-shadow:0 2px 0 #c6bda9!important;
  opacity:1!important;
  visibility:visible!important;
  font-weight:750!important;
}
/* Purchase no longer uses an overlay: retain the original table column sizing. */
.ari .ari-purchases-page .ari-purchase-sticky-overlay {display:none!important;}
.ari .ari-purchases-page .ari-purchase-editable-table.ari-overlay-active thead{visibility:visible!important;}
/* Stock count: retain its calibrated six-column header and keep it anchored in the scrollport. */
.ari .ari-full-count-scroll{height:clamp(360px,72vh,880px)!important;}
.ari .ari-full-count-scroll .ari-count-sticky-heading{
  position:sticky!important;
  top:0!important;
  z-index:90!important;
  background:#eee8dc!important;
  box-shadow:0 2px 0 #c6bda9!important;
}
.ari[data-ari-theme="dark"] .ari-invoices-table thead th,
.ari[data-ari-theme="dark"] .ari-purchases-page .ari-purchase-editable-table thead th,
.ari[data-ari-theme="dark"] .ari-full-count-scroll .ari-count-sticky-heading{
  background:#30271c!important;color:#f1d08b!important;box-shadow:0 2px 0 #826638!important;
}
@media(max-width:700px){
 .ari .ari-invoices-table-wrap,.ari .ari-purchases-page .ari-purchase-table-scroll,.ari .ari-full-count-scroll{
   max-height:clamp(320px,62dvh,650px)!important;
 }
 .ari .ari-full-count-scroll{height:clamp(320px,62dvh,650px)!important;}
}


/* v2.8.91: remove nested vertical and horizontal scrolling from record tables.
   Rows participate in normal document flow, including on narrow screens. */
html body .ari .ari-invoices-table-wrap,
html body .ari .ari-purchases-page .ari-purchase-table-scroll,
html body .ari .ari-full-count-scroll,
html body .ari .ari-count-history-scroll {
 height:auto!important;
 max-height:none!important;
 min-height:0!important;
 overflow:visible!important;
 overflow-x:visible!important;
 overflow-y:visible!important;
 overscroll-behavior:auto!important;
 scrollbar-gutter:auto!important;
 contain:none!important;
 isolation:auto!important;
}
/* Preserve the existing tables and make the whole page scroll rather than an inner region. */
html body .ari .ari-full-count-scroll .ari-count-sticky-heading {
 position:relative!important;
 top:auto!important;
}


/* v2.8.92 — dark-mode harmonization: no light table frames or highlighted rows. */
.ari[data-ari-theme="dark"] :is(.ari-scroll,.ari-invoices-table-wrap,.ari-purchase-table-scroll,.ari-full-count-scroll,.ari-count-history-scroll,.ari-invoice-list-shell,.ari-recycle-bin,.ari-inventory-products,.ari-inventory-products-wrap,.ari-table-scroll),
.ari.ari-dark :is(.ari-scroll,.ari-invoices-table-wrap,.ari-purchase-table-scroll,.ari-full-count-scroll,.ari-count-history-scroll,.ari-invoice-list-shell,.ari-recycle-bin,.ari-table-scroll){
 background:#1d1d1f!important;border-color:#594b35!important;outline:none!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table,.widefat.striped),
.ari.ari-dark :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table){
 background:#1d1d1f!important;color:#f0ece5!important;border-color:#594b35!important;outline:0!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table) tbody tr,
.ari[data-ari-theme="dark"] :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table) tbody td{
 background:#1d1d1f!important;color:#f0ece5!important;border-color:#554a38!important;
}
.ari[data-ari-theme="dark"] :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table) tbody tr:hover>td{background:#2b2824!important;color:#fff0cb!important;}
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr:has(.ari-item-check:checked)>td,
.ari[data-ari-theme="dark"] #ari-inventory-explorer-table tbody tr.ari-inventory-selected>td{background:#493922!important;color:#ffeac0!important;}
.ari[data-ari-theme="dark"] :is(.ari-invoices-table,.ari-invoice-review,.ari-purchase-editable-table,.ari-purchases-table,.ari-count-table,#ari-inventory-explorer-table) thead th,
.ari[data-ari-theme="dark"] .ari-count-sticky-heading{background:#30271c!important;color:#f1d08b!important;border-color:#826638!important;}
/* The create-item control should be an unfilled line icon, not a gold square. */
.ari .ari-quick-picker .ari-open-create,
.ari .ari-invoice-review .ari-open-create{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:6px!important;border:1px solid #af883b!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;color:#a77c29!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;}
.ari .ari-quick-picker .ari-open-create svg{width:18px!important;height:18px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;}
.ari[data-ari-theme="dark"] .ari-quick-picker .ari-open-create{background:#242326!important;border-color:#b18b48!important;color:#e3bc71!important;}
.ari[data-ari-theme="dark"] .ari-quick-picker .ari-open-create:hover{background:#393021!important;color:#ffdfa0!important;}
.ari[data-ari-theme="dark"] .ari-review-selection-actions,
.ari[data-ari-theme="dark"] .ari-review-sticky-title,
.ari[data-ari-theme="dark"] .ari-review-top-actions{border-color:#594b35!important;}


/* v2.8.93 — explicit AI actions, accessible dark-mode controls */
.ari .ari-review-selection-actions #ari-ai-match,
.ari .ari-review-selection-actions #ari-translate-invoice,
.ari .ari-language-tools #ari-translate-invoice,
.ari .ari-match-save-toolbar #ari-ai-match {
 background:linear-gradient(115deg,#5145d9 0%,#8a39d7 50%,#c04aaf 100%)!important;
 border:1px solid #9b6de8!important;
 color:#fff!important;
 box-shadow:0 3px 12px rgba(102,65,196,.28)!important;
 font-weight:700!important;
 text-shadow:none!important;
}
.ari .ari-review-selection-actions #ari-ai-match:hover,
.ari .ari-review-selection-actions #ari-translate-invoice:hover,
.ari .ari-language-tools #ari-translate-invoice:hover,
.ari .ari-match-save-toolbar #ari-ai-match:hover {background:linear-gradient(115deg,#4235c9,#762bc5,#ae398f)!important;color:#fff!important;filter:brightness(1.07)}
.ari .ari-review-selection-actions #ari-ai-match svg,
.ari .ari-review-selection-actions #ari-translate-invoice svg{stroke:#fff!important;color:#fff!important}
.ari[data-ari-theme="dark"] .ari-match-field,
.ari[data-ari-theme="dark"] .ari-quick-picker,
.ari[data-ari-theme="dark"] .ari-picker-shell,
.ari[data-ari-theme="dark"] .ari-picker-icons,
.ari[data-ari-theme="dark"] .ari-invoice-review .ari-match-field,
.ari[data-ari-theme="dark"] .ari-invoice-review .ari-quick-picker {
 background:transparent!important;box-shadow:none!important;border:0!important;
}
.ari[data-ari-theme="dark"] .ari-picker-icon.ari-open-create,
.ari[data-ari-theme="dark"] .ari .ari-picker-icon.ari-open-create{
 background:transparent!important;color:#dfb65e!important;border:1px solid #8e723e!important;box-shadow:none!important;
 width:36px!important;height:36px!important;border-radius:9px!important;padding:7px!important;
}
.ari[data-ari-theme="dark"] .ari-picker-icon.ari-open-create svg{stroke:currentColor!important;width:19px!important;height:19px!important}
.ari[data-ari-theme="dark"] .ari-item-suggestions{
 background:#242325!important;color:#f0e9dc!important;border:1px solid #65553b!important;box-shadow:0 10px 28px #0007!important;padding:5px!important;
}
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion{
 background:transparent!important;color:#e9e5df!important;border:0!important;box-shadow:none!important;
 border-radius:6px!important;padding:9px 11px!important;font-size:13px!important;letter-spacing:0!important;font-weight:500!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion:hover,
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion:focus-visible{
 background:#393530!important;color:#f4d392!important;outline:1px solid #806944!important;
}
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-no-match{color:#c4bdaf!important}
.ari[data-ari-theme="dark"] .ari-purchases-page .ari-supplier-status-filter,
.ari[data-ari-theme="dark"] .ari-supplier-status-filter{
 background:#262426!important;border:1px solid #6a5a3e!important;color:#e7e1d8!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-purchases-page .ari-supplier-status-filter label,
.ari[data-ari-theme="dark"] .ari-unassigned-actions .ari-supplier-status-filter label{
 background:transparent!important;color:#e3ded4!important;border:0!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-purchases-page .ari-supplier-status-filter label:has(input:checked),
.ari[data-ari-theme="dark"] .ari-unassigned-actions .ari-supplier-status-filter label:has(input:checked){
 background:#ad7d24!important;color:#fff!important;box-shadow:0 2px 7px #0005!important;
}
.ari[data-ari-theme="dark"] .ari-purchases-page .ari-supplier-filter-caption{color:#c7bfae!important}

/* v2.8.95 - readable AI match badge and accessible invoice text layout */
.ari[data-ari-theme="dark"] .ari-invoice-review .ari-match-status.ari-match-ai,
.ari-theme-dark .ari-invoice-review .ari-match-status.ari-match-ai,
body.ari-dark .ari-invoice-review .ari-match-status.ari-match-ai {
  color:#fff3d0!important;background:#554019!important;border:1px solid #d1a551!important;opacity:1!important;
  font-weight:700!important;text-shadow:none!important;
}
.ari .ari-invoice-review th:nth-child(2), .ari .ari-invoice-review td:nth-child(2){
  min-width:360px!important;width:360px!important;box-sizing:border-box!important;
}
.ari .ari-invoice-review .ari-original-description{width:100%!important;max-width:none!important;min-width:0!important;}
.ari .ari-invoice-review .ari-original-description input[name="description[]"]{
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
}
.ari .ari-invoice-review .ari-english-description {
  display:flex!important;align-items:flex-start!important;gap:5px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  line-height:1.5!important;box-sizing:border-box!important;
}
.ari .ari-invoice-review .ari-en-text {
  display:block!important;flex:1 1 0!important;min-width:0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important;
}
.ari .ari-invoice-review .ari-english-description small{flex:0 0 auto!important;}

/* v2.8.98: Do not apply danger-button fill to the wrapping invoice delete form. */
.ari[data-ari-theme="dark"] .ari-invoice-row-actions form.ari-invoice-delete-form,
.ari[data-ari-theme="dark"] .ari-invoice-row-actions .ari-invoice-delete-form {
  background:transparent!important; border:0!important;box-shadow:none!important; padding:0!important; margin:0!important;
}
.ari[data-ari-theme="dark"] .ari-invoice-row-actions .ari-invoice-delete-form .ari-invoice-delete-button {
  background:transparent!important;color:#ffb5bb!important;border:1px solid #a35a62!important;box-shadow:none!important;
}

/* v2.8.99: highlight AI processing for both upload and email inbox intake. */
.ari-invoice-entry-grid #ari-batch-upload-button.ari-upload-ai-extract,
.ari-invoice-entry-grid .ari-invoice-check-form .ari-inbox-ai-extract {
  background:linear-gradient(115deg,#5145d9 0%,#893cdb 53%,#c04aaf 100%) !important;
  background-color:#653bd5 !important;
  color:#fff !important;
  border:1px solid #a887ed !important;
  border-radius:12px !important;
  font-weight:700 !important;
  box-shadow:0 3px 12px rgba(110,65,190,.23) !important;
  white-space:normal !important;
  text-align:center !important;
  line-height:1.25 !important;
  padding:13px 20px !important;
  min-height:52px !important;
}
.ari-invoice-entry-grid #ari-batch-upload-button:hover,
.ari-invoice-entry-grid .ari-invoice-check-form .ari-inbox-ai-extract:hover {filter:brightness(1.08)}
.ari-invoice-entry-grid #ari-batch-upload-button:focus-visible,
.ari-invoice-entry-grid .ari-invoice-check-form .ari-inbox-ai-extract:focus-visible {outline:3px solid #d7baff !important;outline-offset:2px}
.ari-invoice-entry-grid #ari-batch-upload-button:disabled,
.ari-invoice-entry-grid .ari-invoice-check-form .ari-inbox-ai-extract:disabled {opacity:.6 !important;cursor:not-allowed}


/* 2.9.00 invoice action toolbar and consistent AI inbox gradient */
.ari .ari-invoice-bulk-toolbar #ari-invoice-delete-selected,
.ari-invoice-bulk-toolbar #ari-invoice-delete-selected{margin-left:auto!important;white-space:nowrap!important;}
.ari .ari-invoice-entry-grid .ari-invoice-check-form .ari-inbox-ai-extract,
.ari .ari-invoice-entry-grid .ari-invoice-check-form button.ari-inbox-ai-extract,
.ari-invoice-entry-grid .ari-invoice-check-form button.ari-inbox-ai-extract,
body .ari-invoice-entry-grid button.ari-inbox-ai-extract {
 background:linear-gradient(115deg,#5145d9 0%,#893cdb 55%,#c04aaf 100%)!important;
 color:#fff!important;
 border:1px solid #a98aff!important;
 box-shadow:0 7px 20px rgba(107,65,211,.17)!important;
 text-shadow:none!important;
}
.ari-invoice-entry-grid .ari-invoice-check-form button.ari-inbox-ai-extract:hover {filter:brightness(1.08)!important;}
@media(max-width:620px){.ari .ari-invoice-bulk-toolbar #ari-invoice-delete-selected{margin-left:auto!important;}}


/* v2.9.02 - dark Inventory table caption and polished purchase CSV download group. */
.ari[data-ari-theme="dark"] .ari-inventory-table-caption,
.ari[data-ari-theme="dark"] .ari-inventory-table-shell > .ari-inventory-table-caption,
.ari.ari-dark .ari-inventory-table-caption {
 background:#232120!important;color:#f3e5ca!important;
 border-color:#514331!important;box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-inventory-table-caption strong{color:#f3e5ca!important}
.ari[data-ari-theme="dark"] .ari-inventory-table-caption #ari-inventory-results{color:#c6b89f!important}
.ari .ari-unassigned-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px!important}
.ari .ari-purchase-download-group{
 box-sizing:border-box;display:flex;flex-direction:column;gap:7px;
 margin-left:auto;padding:9px 12px 11px;border:1px solid #c8b383;
 border-radius:12px;background:transparent;min-width:0;
}
.ari .ari-purchase-download-caption{font-size:12px;line-height:1.1;font-weight:700;letter-spacing:.02em;color:#9c752c}
.ari .ari-purchase-download-buttons{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.ari .ari-purchase-download-buttons button.button{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 white-space:normal;min-width:160px;min-height:56px;
 text-align:center;line-height:1.2;padding:8px 12px;
}
.ari .ari-purchase-download-buttons button small{display:block;font-size:11px;font-weight:600;margin-top:3px;color:inherit}
.ari[data-ari-theme="dark"] .ari-purchase-download-group{border-color:#75603d;background:#232120}
.ari[data-ari-theme="dark"] .ari-purchase-download-caption{color:#e6bb69}
@media(max-width:760px){
 .ari .ari-purchase-download-group{margin-left:0;width:100%}
 .ari .ari-purchase-download-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .ari .ari-purchase-download-buttons button.button{min-width:0;width:100%;font-size:12px;padding:7px 6px}
}

/* 2.9.03: distinct icons for supplier-grouped and consolidated CSV exports. */
.ari .ari-purchase-download-buttons button.button{flex-direction:row;gap:9px;align-items:center;justify-content:center}
.ari .ari-purchase-download-buttons .ari-csv-icon{width:25px;height:25px;flex:0 0 25px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ari .ari-purchase-download-buttons .ari-csv-label{display:block;text-align:left;line-height:1.2}
.ari .ari-purchase-download-buttons .ari-csv-label small{display:block;margin-top:3px}
@media(max-width:760px){.ari .ari-purchase-download-buttons button.button{gap:6px}.ari .ari-purchase-download-buttons .ari-csv-icon{width:20px;height:20px;flex-basis:20px}.ari .ari-purchase-download-buttons .ari-csv-label{text-align:left}}

/* 2.9.04: readable secondary export labels in both themes. */
.ari .ari-purchase-download-buttons button.button .ari-csv-label small,
.ari[data-ari-theme="dark"] .ari-purchase-download-buttons button.button .ari-csv-label small{
 color:#17120b !important;opacity:1 !important;text-shadow:none !important;
 font-weight:700 !important;
}


/* v2.9.11: dropdown list items use transparent rows instead of filled gold cards. */
.ari .ari-item-suggestions .ari-suggestion,
.ari .ari-quick-picker .ari-item-suggestions .ari-suggestion,
.ari .ari-currency-options button{
 background:transparent!important;
 box-shadow:none!important;
 border:0!important;
}
.ari .ari-item-suggestions .ari-suggestion{
 color:#25364a!important;
 border-radius:8px!important;
}
.ari .ari-currency-options button{
 color:#202020!important;
 border-bottom:1px solid #eee!important;
 border-radius:0!important;
 padding:10px 12px!important;
}
.ari .ari-item-suggestions .ari-suggestion:hover,
.ari .ari-item-suggestions .ari-suggestion:focus-visible{
 background:#f6efdf!important;
 color:#5e3f0c!important;
 outline:none!important;
}
.ari .ari-currency-options button:hover,
.ari .ari-currency-options button:focus-visible{
 background:#f6efdf!important;
 color:#5e3f0c!important;
 outline:none!important;
}
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion,
.ari[data-ari-theme="dark"] .ari-quick-picker .ari-item-suggestions .ari-suggestion,
.ari[data-ari-theme="dark"] .ari-currency-options button,
.ari.ari-dark .ari-item-suggestions .ari-suggestion,
.ari.ari-dark .ari-currency-options button,
body.ari-dark .ari-currency-options button{
 background:transparent!important;
 color:#efe7da!important;
 border-color:#4f4537!important;
 box-shadow:none!important;
}
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion:hover,
.ari[data-ari-theme="dark"] .ari-item-suggestions .ari-suggestion:focus-visible,
.ari.ari-dark .ari-item-suggestions .ari-suggestion:hover,
.ari.ari-dark .ari-item-suggestions .ari-suggestion:focus-visible{
 background:rgba(216,173,85,.12)!important;
 color:#f4d392!important;
 outline:1px solid #806944!important;
}
.ari[data-ari-theme="dark"] .ari-currency-options button:hover,
.ari[data-ari-theme="dark"] .ari-currency-options button:focus-visible,
.ari.ari-dark .ari-currency-options button:hover,
.ari.ari-dark .ari-currency-options button:focus-visible,
body.ari-dark .ari-currency-options button:hover,
body.ari-dark .ari-currency-options button:focus-visible{
 background:rgba(216,173,85,.12)!important;
 color:#f4d392!important;
 outline:none!important;
}

/* v2.9.12 - shared form controls, dropdown chevrons and unfilled listbox items. */
.ari :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),select,textarea){box-sizing:border-box;min-height:40px;border-radius:9px;padding:8px 12px;font:inherit;line-height:1.35;max-width:100%;}
.ari select{appearance:none;-webkit-appearance:none;padding-right:35px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b18736' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 11px center!important;background-repeat:no-repeat!important;background-size:16px 16px!important;}
.ari .ari-currency-picker .ari-currency-search{border-radius:9px!important;}
.ari .ari-currency-options{padding:3px!important;box-sizing:border-box!important;}
.ari .ari-currency-options .ari-currency-option{display:block!important;box-sizing:border-box!important;width:100%!important;padding:9px 11px!important;margin:0!important;border:0!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;color:var(--nx-text,#242424)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;text-align:left!important;cursor:pointer!important;overflow-wrap:anywhere!important;}
.ari .ari-currency-options .ari-currency-option:hover,.ari .ari-currency-options .ari-currency-option:focus-visible{background:var(--nx-hover,rgba(177,135,54,.12))!important;outline:1px solid var(--nx-border,#b18736)!important;}
.ari .ari-quick-picker .ari-item-suggestions .ari-suggestion{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:5px!important;min-height:36px!important;padding:9px 11px!important;font-size:13px!important;font-weight:500!important;text-align:left!important;}
.ari[data-ari-theme="dark"] .ari-currency-options .ari-currency-option,.ari.ari-dark .ari-currency-options .ari-currency-option{background:transparent!important;color:#eae5dc!important;}
.ari[data-ari-theme="dark"] .ari-currency-options .ari-currency-option:hover,.ari.ari-dark .ari-currency-options .ari-currency-option:hover{background:#34302b!important;color:#f5d494!important;}
/* Keep intentional action hierarchy and custom icon-only button dimensions. */
.ari .button:not(.ari-icon-action):not(.ari-picker-icon),.ari button.button:not(.ari-icon-action):not(.ari-picker-icon){border-radius:9px;min-height:38px;}

/* v2.9.13 dashboard insights */
.ari .ari-dash-viz{margin:12px 0 28px}.ari .ari-dash-title{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.ari .ari-dash-title h2{margin:0 0 4px}.ari .ari-dash-title p,.ari .ari-dash-chart p{margin:0;color:var(--nx-muted,#74716d);font-size:13px}.ari .ari-dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.ari .ari-dash-kpi,.ari .ari-dash-chart{background:var(--nx-panel,#fff);color:var(--nx-text,#242424);border:1px solid var(--nx-border,#e4ddd1);border-radius:14px;padding:18px;min-width:0}.ari .ari-dash-kpi{display:flex;flex-direction:column;gap:6px}.ari .ari-dash-kpi span{font-size:13px;font-weight:650}.ari .ari-dash-kpi strong{font-size:clamp(20px,2.2vw,29px);line-height:1.2;overflow-wrap:anywhere}.ari .ari-dash-kpi small{color:var(--nx-muted,#777);font-size:11px}.ari .ari-dash-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 20px}.ari .ari-dash-chartgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ari .ari-dash-chart h3{font-size:17px;margin:0 0 3px;color:inherit}.ari .ari-dash-bars{display:grid;gap:12px;margin:23px 0 5px}.ari .ari-dash-bar-row{display:grid;grid-template-columns:minmax(80px,1.15fr) minmax(65px,2fr) minmax(56px,auto);align-items:center;gap:10px;font-size:12px;min-width:0}.ari .ari-dash-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ari .ari-dash-bar-track{height:12px;border-radius:30px;background:var(--nx-hover,#f3efe6);overflow:hidden}.ari .ari-dash-bar-track span{display:block;height:100%;background:linear-gradient(90deg,#b58227,#e0ba68);border-radius:30px}.ari .ari-dash-bar-row strong{text-align:right;font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}.ari .ari-dash-empty{font-size:13px;padding:36px 12px;text-align:center;color:var(--nx-muted,#777)}.ari .ari-dash-footnote{font-size:12px;color:var(--nx-muted,#777);margin:14px 0}.ari .ari-dash-accuracy{display:flex;align-items:baseline;gap:12px;margin:25px 0 10px}.ari .ari-dash-accuracy strong{font-size:32px;color:var(--nx-gold,#ab7a25)}.ari .ari-dash-accuracy span{font-size:12px}.ari[data-ari-theme="dark"] .ari-dash-kpi,.ari[data-ari-theme="dark"] .ari-dash-chart{background:#1f1e20;color:#eee6dc;border-color:#564a38}.ari[data-ari-theme="dark"] .ari-dash-bar-track{background:#363235}@media(max-width:900px){.ari .ari-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ari .ari-dash-chartgrid{grid-template-columns:1fr}}@media(max-width:500px){.ari .ari-dash-kpi,.ari .ari-dash-chart{padding:12px}.ari .ari-dash-bar-row{grid-template-columns:minmax(70px,1fr) minmax(35px,1.2fr) auto;gap:5px}}

/* v2.9.14: clickable dashboard analytics, no standalone shortcut buttons */
.ari .ari-dash-kpis a.ari-dash-widget-link{display:flex;flex-direction:column;text-decoration:none!important;color:inherit!important;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}
.ari .ari-dash-kpis a.ari-dash-widget-link:hover,.ari .ari-dash-kpis a.ari-dash-widget-link:focus-visible{border-color:#ba8e3d!important;box-shadow:0 3px 14px rgba(136,96,30,.16)}
.ari .ari-dash-chart h3 a.ari-dash-chart-link{color:inherit!important;text-decoration:none!important;border-bottom:1px solid transparent}
.ari .ari-dash-chart h3 a.ari-dash-chart-link:hover,.ari .ari-dash-chart h3 a.ari-dash-chart-link:focus-visible{border-color:currentColor;color:#b08a46!important}
.ari .ari-dash-chart-link span{font-size:.85em;opacity:.8;padding-left:5px}

/* v2.9.16 — clearly distinguish confirmed spend from draft/review invoice amounts */
.ari .ari-dash-status-label{margin:14px 0 8px;font-size:13px;font-weight:750;color:var(--nx-text,#282828)}
.ari .ari-dash-status-label:not(:first-of-type){border-top:1px solid var(--nx-border,#e3d9cb);padding-top:13px}
.ari[data-ari-theme="dark"] .ari-dash-status-label{color:#e9cf92}

/* v2.9.17 Dashboard coverage and historical currency controls */
.ari .ari-dash-period{display:flex;align-items:center;gap:12px;margin:12px 0 20px;flex-wrap:wrap}.ari .ari-dash-period select{max-width:180px;min-width:140px}.ari .ari-dash-diagnostics{padding:12px 15px;border:1px solid var(--nx-border,#d9c69c);border-radius:9px;margin-bottom:16px;font-size:13px}.ari .ari-history-currency-list{max-height:280px;overflow:auto;padding:12px;border:1px solid #958151;border-radius:8px;margin:14px 0}.ari .ari-history-currency-list label{display:block;margin:6px 0}.ari .ari-history-currency-list input{margin-right:7px}
/* v2.9.18: historical currency select-all option */
.ari .ari-history-select-all{display:flex;align-items:center;gap:10px;margin:12px 0 8px;font-weight:700;cursor:pointer}.ari .ari-history-select-all input{width:18px;height:18px;flex:none}
