/* Milton Accouting Services · light UI v1.6.0 — scoped to the plugin only */
.arm-wrap,.arm-wrap *{box-sizing:border-box}
.arm-wrap{--mas-ink:#192d49;--mas-muted:#62758f;--mas-line:#e2e9f2;--mas-brand:#2259cf;--mas-shadow:0 10px 28px rgba(22,46,85,.055);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--mas-ink);max-width:1440px;margin:24px 24px 44px 0;padding:0 3px 35px;line-height:1.5}
.arm-wrap h1,.arm-wrap h2,.arm-wrap h3{font-family:inherit;color:var(--mas-ink);line-height:1.25;letter-spacing:-.025em}
.arm-head{position:relative;overflow:hidden;background:linear-gradient(110deg,#ffffff 0%,#f5f9ff 100%);border:1px solid #e2eafa;padding:29px 32px 30px;border-radius:20px;box-shadow:var(--mas-shadow)}
.arm-head:before{content:"";position:absolute;right:-68px;top:-102px;width:270px;height:270px;border:2px solid rgba(61,120,217,.07);border-radius:50%;pointer-events:none}
.arm-head h1{font-weight:750;font-size:clamp(24px,2.5vw,32px);margin:0 0 7px;color:#173151}
.arm-head p{margin:0;color:#647995;font-size:13.5px}
.arm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0 22px;padding:6px;border:1px solid var(--mas-line);border-radius:14px;background:#fff;width:fit-content;max-width:100%;box-shadow:0 2px 10px rgba(17,36,70,.028)}
.arm-tabs a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border-radius:10px;color:#53647c;padding:10px 16px;font-size:13px;font-weight:650;transition:background .16s,color .16s,box-shadow .16s;white-space:nowrap}
.arm-tabs a:hover{background:#eef4ff;color:#1748a9}
.arm-tabs a.current{background:var(--mas-brand);color:#fff;box-shadow:0 4px 12px rgba(34,89,207,.21)}
.arm-panel{border:1px solid var(--mas-line);background:#fff;border-radius:17px;padding:26px 28px;margin:16px 0;box-shadow:var(--mas-shadow)}
.arm-panel h2{font-size:19px;margin:0 0 18px;font-weight:750}.arm-panel p{color:#52657e}
.arm-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}
.arm-metric{background:#fff;border:1px solid var(--mas-line);box-shadow:var(--mas-shadow);border-radius:16px;padding:20px 22px;min-height:105px;font-size:12.5px;font-weight:650;color:var(--mas-muted);letter-spacing:.01em}
.arm-metric strong{display:block;color:#1b3559;font-size:clamp(23px,2.2vw,30px);font-weight:780;margin-top:9px;line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}
.arm-metric:nth-child(4){border-color:#cfdefe;background:linear-gradient(150deg,#f8fbff,#ebf3ff)}
.arm-flex{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:12px 0}
.arm-field{display:flex;flex:1 1 185px;min-width:165px;flex-direction:column;gap:7px;font-size:13px;color:#40536f}
.arm-field b{font-weight:650}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.arm-wrap select,.arm-wrap textarea{background:#fff;color:#1d3554;border:1px solid #d8e2ef;border-radius:10px;box-shadow:none;padding:10px 12px;font-family:inherit;font-size:14px;min-height:43px;max-width:100%;width:100%;outline-offset:2px}
.arm-wrap input:focus,.arm-wrap select:focus,.arm-wrap textarea:focus{border-color:#5985ee!important;box-shadow:0 0 0 3px rgba(46,106,224,.12)!important;outline:0}
.arm-wrap input[type=file]{padding:12px!important;height:auto}
.arm-btn,.arm-wrap .button,.arm-wrap button:not(.notice-dismiss){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border:1px solid transparent;border-radius:10px;background:var(--mas-brand);box-shadow:0 3px 10px rgba(38,92,197,.11);color:#fff;font-family:inherit;font-size:13px;font-weight:650;line-height:1.2;padding:10px 15px;cursor:pointer;text-decoration:none!important;transition:background .16s,transform .16s,box-shadow .16s;white-space:nowrap;max-width:100%}
.arm-btn:hover,.arm-wrap .button:hover,.arm-wrap button:not(.notice-dismiss):hover{color:#fff;background:#1746ab;transform:translateY(-1px);box-shadow:0 6px 16px rgba(38,92,197,.19)}
.arm-wrap .arm-btn.secondary{background:#f2f6fd;border-color:#e1e9f5;color:#305071;box-shadow:none}
.arm-wrap .arm-btn.secondary:hover{color:#1746ab;background:#e6eeff;border-color:#cbdaf5;box-shadow:none}
.arm-wrap .arm-btn.arm-danger,.arm-wrap .button.arm-danger{background:#fff2f2;color:#b3293a;border-color:#f9dade;box-shadow:none}
.arm-wrap .arm-btn.arm-danger:hover,.arm-wrap .button.arm-danger:hover{background:#ffe6e9;color:#8e1425}
.arm-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.arm-actions form{margin:0}
.arm-table{overflow-x:auto;max-width:100%;padding:8px 0 0}
.arm-table table{width:100%;min-width:690px;border-collapse:separate;border-spacing:0;font-size:13px}
.arm-table th{color:#576b84;background:#f6f9fd;text-transform:uppercase;letter-spacing:.04em;font-size:10.5px;font-weight:800}
.arm-table th,.arm-table td{text-align:left;padding:14px 15px;border-bottom:1px solid #e9eef5;vertical-align:middle}
.arm-table tr:last-child td{border-bottom:0}
.arm-table tr:hover td{background:#fafcff}
.arm-table td b{color:#1c3558;font-weight:750}
.arm-status{display:inline-flex;align-items:center;font-size:11.5px;font-weight:700;border-radius:999px;background:#fff3db;color:#875b19;padding:5px 10px;text-transform:capitalize}
.arm-note{font-size:12.5px;color:#71829b!important}.arm-warning{padding:13px 16px;background:#fff9eb;border:1px solid #f5deac;border-radius:10px;color:#73551e}.arm-wide{width:100%}
.arm-wrap details{margin-top:16px;padding:15px;border:1px solid var(--mas-line);border-radius:12px;background:#f9fbff}.arm-wrap summary{cursor:pointer;font-weight:700}.arm-wrap pre{font-size:12px;color:#33465f}
.arm-wrap .notice{margin:15px 0;border-radius:10px;padding:8px 13px}
.arm-wrap a:focus-visible,.arm-wrap button:focus-visible{outline:3px solid #8cb1ff;outline-offset:2px}
@media(max-width:782px){.arm-wrap{margin:14px 10px 30px 0}.arm-head{padding:23px 19px}.arm-tabs{width:100%}.arm-tabs a{flex:1 1 auto;padding:10px 11px}.arm-panel{padding:20px 16px}.arm-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.arm-metric{padding:17px 14px;min-height:95px}.arm-table .arm-actions{min-width:170px}}
@media(max-width:430px){.arm-metrics{grid-template-columns:1fr 1fr}.arm-metric strong{font-size:21px}.arm-tabs a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.arm-wrap *{transition:none!important}}

/* v1.8.0: larger icon navigation and category footer rows */
.arm-tabs{gap:9px;padding:8px}
.arm-tabs a{font-size:16px;font-weight:700;padding:13px 19px;gap:9px;min-height:51px}
.arm-tabs .arm-nav-icon{width:20px;height:20px;flex-shrink:0}
.arm-table tr.arm-category-heading th{background:#edf4ff;color:#1e4a93;font-size:12px;letter-spacing:.03em;text-transform:none;padding:13px 15px}
.arm-table tr.arm-category-total th{background:#e9f3ff;color:#173b70;font-size:13px;letter-spacing:0;text-transform:none;border-top:2px solid #bcd3fb;padding:16px 15px}
.arm-table tr.arm-category-total th:nth-child(2){font-size:16px;font-weight:800;white-space:nowrap}
@media(max-width:782px){.arm-tabs a{font-size:15px;padding:12px 14px;gap:7px}}
@media(max-width:430px){.arm-tabs a{font-size:14px}}

/* v1.9: lightweight receipt controls and conditional bulk action */
.arm-wrap .arm-btn.arm-btn-small{min-height:29px;padding:5px 9px;font-size:11px;border-radius:7px;box-shadow:none}
.arm-wrap .arm-btn.arm-delete-text{background:transparent;color:#bc263e;border:1px solid transparent;box-shadow:none}
.arm-wrap .arm-btn.arm-delete-text:hover{background:#fff0f2;color:#941b2d}
#arm-bulk-delete[hidden],.arm-upload-progress[hidden]{display:none!important}
.arm-upload-progress{margin-top:20px}.arm-progress-track{height:9px;border-radius:999px;background:#e4ecf7;overflow:hidden}.arm-progress-fill{width:0%;height:100%;background:#245dca;transition:width .2s}
.arm-progress-label{display:block;margin-top:7px;color:#48607e;font-size:12px}.arm-upload-result,.arm-inline-message{margin-top:12px;color:#245b46;font-size:13px;font-weight:600}


/* v2.0.0 — refined light workspace, scoped entirely to .arm-wrap */
.arm-wrap{--mas-ink:#14243a;--mas-muted:#65768a;--mas-line:#e5ebf2;--mas-brand:#285bd1;--mas-shadow:0 3px 20px rgba(22,42,75,.045);max-width:1500px;background:linear-gradient(180deg,#f6f9fd 0,#f8fafd 600px,#f9fbfe 100%);border-radius:20px;padding:24px 28px 48px;margin-top:14px;margin-right:18px;font-size:14px;min-height:80vh}
.arm-head{border-radius:20px;background:#fff;border:1px solid #e5ebf4;box-shadow:0 6px 35px rgba(37,67,112,.035);padding:31px 36px 32px}
.arm-head:before{width:360px;height:360px;top:-165px;right:-60px;background:radial-gradient(circle,rgba(55,107,209,.08),transparent 65%);border:0}
.arm-brand-row{display:flex;gap:10px;align-items:center;margin-bottom:18px;position:relative}.arm-brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#e9f0ff;color:#285bd1}.arm-brand-icon svg{width:19px;height:19px}.arm-eyebrow{font-size:11px;letter-spacing:.15em;color:#7187a0;font-weight:850}.arm-header-pill{display:inline-flex;align-items:center;gap:7px;margin-left:auto;border:1px solid #e3eaf3;border-radius:99px;background:#f7faff;color:#536982;font-size:11px;font-weight:750;padding:8px 11px}.arm-online-dot{width:7px;height:7px;border-radius:50%;background:#30ae7d;box-shadow:0 0 0 3px #dff7eb}
.arm-head h1{font-size:clamp(25px,2.4vw,35px);font-weight:800;letter-spacing:-.045em;margin-bottom:7px}.arm-head p{font-size:14px;max-width:650px;line-height:1.6}
.arm-tabs{background:#fff;border:1px solid #e7ecf3;box-shadow:0 2px 13px rgba(25,47,80,.035);width:100%;margin:20px 0 27px;padding:7px;gap:4px;border-radius:15px;justify-content:space-between}.arm-tabs a{flex:1 1 auto;gap:9px;padding:13px 12px;font-size:14px;min-height:48px;color:#5b6e85;border-radius:10px;font-weight:750}.arm-tabs a.current{background:#eaf0ff;color:#2852ba;box-shadow:inset 0 0 0 1px #d4e0ff}.arm-tabs a.current:hover{color:#2047ad;background:#dfe9ff}.arm-tabs a:not(.current):hover{background:#f5f8fd}.arm-tabs .arm-nav-icon{width:19px;height:19px}
.arm-section-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:0 2px 18px}.arm-section-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:#8b9ab0;margin-bottom:5px}.arm-section-heading h2{margin:0;font-size:24px;letter-spacing:-.04em;font-weight:800}.arm-section-date{font-size:12px;font-weight:650;color:#7789a0;background:#fff;border:1px solid #e7edf5;padding:8px 12px;border-radius:9px;white-space:nowrap}
.arm-metrics{gap:13px;margin-bottom:18px;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.arm-metric{position:relative;overflow:hidden;padding:22px 23px;border-radius:15px;min-height:151px;border:1px solid #e4eaf2;box-shadow:0 4px 20px rgba(25,48,78,.035);background:white}.arm-metric:before{content:'';position:absolute;right:20px;top:23px;width:32px;height:32px;border-radius:10px;background:#eff4ff;box-shadow:inset 0 0 0 1px #e5edff}.arm-metric:nth-child(2):before{background:#eef9f6}.arm-metric:nth-child(3):before{background:#fff7e7}.arm-metric:nth-child(4):before{background:#e5f0ff}.arm-metric:nth-child(5):before{background:#fff0ed}.arm-metric:nth-child(4){background:#fff;border-color:#d7e3f8}.arm-metric-label{display:block;max-width:calc(100% - 30px);font-size:12px;color:#697b93;font-weight:750}.arm-metric strong{font-size:clamp(22px,2vw,30px);color:#142942;margin:19px 0 10px;white-space:nowrap}.arm-metric-foot{display:block;font-size:11px;color:#99a5b5;font-weight:500;letter-spacing:0}
.arm-panel{border-radius:17px;border:1px solid #e5ebf3;padding:27px 30px;box-shadow:0 4px 22px rgba(25,48,78,.035);margin:16px 0 21px}.arm-panel h2{font-size:19px;font-weight:800;letter-spacing:-.035em;margin:0 0 16px}.arm-panel h3{font-size:16px}.arm-panel-lead{margin:-5px 0 24px;max-width:720px;color:#748499!important;font-size:13px}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.arm-wrap select,.arm-wrap textarea{border:1px solid #dce5f0;border-radius:10px;min-height:44px;background:#fcfdff}.arm-wrap label.arm-field b{font-size:12px;font-weight:750;color:#465973}.arm-field{gap:9px}.arm-flex{gap:17px;margin:18px 0;align-items:end}
.arm-wrap .arm-btn,.arm-wrap .button,.arm-wrap button:not(.notice-dismiss){background:#285bd1;border-color:#285bd1;font-weight:750;border-radius:9px;box-shadow:none;min-height:38px}.arm-wrap .arm-btn:hover,.arm-wrap .button:hover,.arm-wrap button:not(.notice-dismiss):hover{background:#1d4bb9;border-color:#1d4bb9;box-shadow:0 5px 13px rgba(30,80,190,.11)}.arm-wrap .arm-btn.secondary{background:#f5f8fc;border-color:#e3e9f2;color:#47617e}.arm-wrap .arm-btn.secondary:hover{background:#eaf0f9;border-color:#d4e0ef;color:#284a73}.arm-wrap .arm-btn.arm-btn-small{font-size:11px;min-height:27px;padding:5px 8px;border-radius:7px;box-shadow:none}.arm-wrap .arm-btn.arm-delete-text{background:transparent;border-color:transparent;color:#b82f43}.arm-wrap .arm-btn.arm-delete-text:hover{background:#fef0f2;color:#912336;border-color:transparent}.arm-wrap button:disabled{opacity:.55;cursor:wait;transform:none}
.arm-table{border:1px solid #e9eef5;border-radius:12px;overflow:auto;padding:0}.arm-table table{font-size:13px;border-spacing:0}.arm-table th{background:#f6f9fc;font-size:10px;color:#718298;letter-spacing:.08em}.arm-table th,.arm-table td{padding:14px 13px;border-bottom:1px solid #edf1f7}.arm-table tr:last-child td{border-bottom:0}.arm-table td{color:#52657c}.arm-table td b{color:#18314e}.arm-table tr:hover td{background:#f8fbff}.arm-table input[type=checkbox]{accent-color:#285bd1;width:16px;height:16px}.arm-table .arm-actions{gap:5px;flex-wrap:nowrap}.arm-table .arm-actions form{display:inline-flex!important}
.arm-table tr.arm-category-heading th{background:#eaf1ff;color:#31558f;font-weight:800;font-size:12px;border-bottom:1px solid #d8e4fa}.arm-table tr.arm-category-total th{background:#f3f7ff;border-top:1px solid #dce7fa;color:#254675}.arm-status{background:#eaf3ff;color:#345f98;border:1px solid #dce9fc;padding:4px 9px}.arm-warning{margin:14px 0;background:#fffbf1;border:1px solid #f5e5c7;color:#755825;line-height:1.65}.arm-note{line-height:1.6;color:#7b8ba0!important}.arm-upload-panel input[type=file]{border:2px dashed #bbcef0!important;background:#f7faff!important;border-radius:13px!important;padding:24px!important;min-height:100px!important;cursor:pointer;color:#567092}.arm-upload-panel input[type=file]:hover{border-color:#80a1e4!important;background:#eff5ff!important}.arm-progress-track{height:10px;background:#e7edf5}.arm-progress-fill{background:linear-gradient(90deg,#3769d5,#2b96dc)}.arm-upload-result{border-radius:9px;line-height:1.55}.arm-inline-message{background:#ecf9f2;border:1px solid #cdebd9;padding:10px 14px;border-radius:9px}
.arm-wrap .notice{border:1px solid #d9e9dc;border-left:4px solid #2aaa75;box-shadow:none;background:#f3fcf7}.arm-wrap .notice-error{background:#fff5f5;border-color:#ffd9dd;border-left-color:#d94a56}
@media(max-width:1050px){.arm-tabs a{font-size:13px;gap:6px;padding:12px 10px}.arm-tabs .arm-nav-icon{width:17px;height:17px}.arm-wrap{padding:18px}.arm-table .arm-actions{flex-wrap:wrap}}
@media(max-width:782px){.arm-wrap{margin:10px 8px 25px 0;padding:13px;border-radius:13px}.arm-head{padding:24px 21px}.arm-header-pill{display:none}.arm-tabs{justify-content:flex-start;gap:5px}.arm-tabs a{flex:1 1 140px}.arm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.arm-panel{padding:20px 18px}.arm-section-heading h2{font-size:21px}}
@media(max-width:480px){.arm-tabs a{flex:1 1 130px;font-size:12px;min-height:43px}.arm-section-date{display:none}.arm-metrics{grid-template-columns:1fr 1fr;gap:9px}.arm-metric{padding:16px;min-height:125px}.arm-metric strong{font-size:21px;white-space:normal}.arm-metric-foot{display:none}.arm-head h1{font-size:24px}.arm-head p{font-size:12px}.arm-panel{padding:18px 13px}}

/* v2.0.1: keep bulk action invisible until selected, with no instruction card */
.arm-wrap .arm-bulk-toolbar{margin:0 0 10px;padding:0;background:transparent;border:0;box-shadow:none;min-height:0}
.arm-wrap .arm-bulk-toolbar form{display:flex;justify-content:flex-end;margin:0}
.arm-wrap #arm-bulk-delete:not([hidden]){display:inline-flex;align-items:center;width:auto;font-size:12px;font-weight:600;color:#ba263b;background:#fff;border:1px solid #f3c6ce;border-radius:8px;padding:6px 10px;min-height:30px}
.arm-wrap #arm-bulk-delete:not([hidden]):hover{background:#fff0f2;border-color:#eaa4b1}
.arm-wrap .arm-bulk-toolbar:has(#arm-bulk-delete[hidden]){display:none}

/* v2.0.2 — accessible high-contrast client and receipt-category dropdowns */
.arm-wrap label.arm-field:has(select[name="client_id"]) b,
.arm-wrap label.arm-field:has(select[name="category"]) b{font-size:14px;line-height:1.45;font-weight:800;color:#243953;letter-spacing:0}
.arm-wrap select[name="client_id"],.arm-wrap select[name="category"]{
  -webkit-appearance:none;appearance:none;
  display:block;width:100%;min-width:0;min-height:52px;
  border:1.5px solid #a6b8d1!important;border-radius:11px;
  background-color:#ffffff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23273e5d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;background-size:18px 18px;
  padding:12px 46px 12px 16px;color:#172a44!important;
  font-size:16px!important;font-weight:650;line-height:1.45;
  box-shadow:0 2px 6px rgba(33,59,93,.045);cursor:pointer;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.arm-wrap select[name="client_id"]:hover,.arm-wrap select[name="category"]:hover{border-color:#567cb8!important;background-color:#fafcff!important}
.arm-wrap select[name="client_id"]:focus-visible,.arm-wrap select[name="category"]:focus-visible{border-color:#2563d6!important;outline:2px solid #2563d6;outline-offset:2px;box-shadow:0 0 0 4px rgba(37,99,214,.12)!important}
.arm-wrap select[name="client_id"] option,.arm-wrap select[name="category"] option{background:#fff;color:#172a44;font-size:16px;font-weight:550}
@media(max-width:782px){.arm-wrap select[name="client_id"],.arm-wrap select[name="category"]{min-height:50px;font-size:16px!important}}

/* v2.0.3: styled, accessible drag-and-drop receipt selection */
.arm-upload-panel .arm-flex{align-items:stretch}
.arm-upload-field{flex:1 1 100%;min-width:100%;display:flex;flex-direction:column;gap:10px}
.arm-upload-label{font-size:14px;font-weight:800;color:#243953}
.arm-upload-panel .arm-native-file{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%);border:0!important}
.arm-dropzone{min-height:225px;background:#f8fbff;border:2px dashed #a7bfdf;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:26px;text-align:center;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s;user-select:none}
.arm-dropzone:hover,.arm-dropzone.is-dragging{background:#ecf3ff;border-color:#285bd1;box-shadow:0 0 0 4px rgba(40,91,209,.08)}
.arm-dropzone:focus-visible{outline:3px solid #285bd1;outline-offset:3px}
.arm-drop-icon{display:grid;place-items:center;background:#e7efff;color:#285bd1;border-radius:15px;width:52px;height:52px;font-size:32px;font-weight:700;line-height:1}
.arm-dropzone strong{font-size:17px;color:#243953;font-weight:800}.arm-drop-desc{font-size:14px;color:#677d98}.arm-drop-action{color:#285bd1;font-weight:800;text-decoration:underline;text-underline-offset:3px}.arm-drop-hint{font-size:12px;color:#778ba3}
.arm-file-selection{padding:13px 16px;background:#f0f6ff;border:1px solid #dce9ff;border-radius:10px;color:#254675;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.arm-file-selection[hidden]{display:none!important}.arm-file-selection strong{display:block;margin-bottom:4px}.arm-file-selection ul{margin:0;padding-left:21px;max-height:150px;overflow:auto}.arm-file-selection li{margin:3px 0}
@media(max-width:650px){.arm-dropzone{min-height:185px;padding:20px 12px}.arm-dropzone strong{font-size:15px}}

/* v2.0.4: high-contrast, bold scan completion state */
.arm-progress-label.arm-scan-finished{color:#167347;font-size:15px;font-weight:800;letter-spacing:.01em}
.arm-progress-label.arm-scan-failed{color:#b42318;font-size:15px;font-weight:750}

/* Cantax T2 preparation layout */
.arm-wrap select[name^="mapping"], .arm-wrap select[name="client_id"] {min-width:220px;max-width:100%;font-size:15px;color:#21334c;background:#fff;border:1px solid #adbdd1;}
.arm-wrap .arm-table {overflow-x:auto;}

.arm-t2-steps{margin:20px 0;padding:16px 22px;background:#f1f6ff;border:1px solid #d7e5fb;border-radius:14px;color:#243653}.arm-t2-steps h3{margin:0 0 10px;font-size:16px}.arm-t2-steps ol{margin:0 0 0 20px;line-height:1.8}.arm-t2-alert{margin:15px 0;padding:13px 16px;border-left:4px solid #c17913;background:#fff8e8;border-radius:8px;color:#704914;font-weight:500}



/* v2.3.2 Compact, expandable help. */
.arm-wrap .arm-help-compact{max-width:1100px;margin:0 auto 24px;font-size:15px;color:#273d5b}
.arm-wrap .arm-help-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:18px 22px;background:#fff;border:1px solid #dce6f2;border-radius:16px}
.arm-wrap .arm-help-top h2{font-size:22px;font-weight:800;line-height:1.25;margin:0 0 6px;color:#203755}
.arm-wrap .arm-help-top p{margin:0;font-size:14px;line-height:1.5;color:#5b708e}
.arm-wrap .arm-help-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.arm-wrap .arm-help-topic,.arm-wrap .arm-help-faq-compact{border:1px solid #dce6f2;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(40,65,100,.035)}
.arm-wrap .arm-help-topic summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px;min-height:74px;user-select:none}
.arm-wrap .arm-help-topic summary::-webkit-details-marker,.arm-wrap .arm-help-faq-compact summary::-webkit-details-marker{display:none}
.arm-wrap .arm-help-number{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#eaf1ff;color:#285bd1;font-weight:800;font-size:15px}
.arm-wrap .arm-help-topic-title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.arm-wrap .arm-help-topic-title strong{font-size:16px;color:#1f344d}
.arm-wrap .arm-help-topic-title small{font-size:13px;color:#627894;line-height:1.35}
.arm-wrap .arm-help-chevron{font-size:21px;color:#5d7696;transition:transform .15s}
.arm-wrap details[open]>.arm-help-chevron,.arm-wrap details[open]>summary .arm-help-chevron{transform:rotate(180deg)}
.arm-wrap .arm-help-topic-body{border-top:1px solid #ebf0f6;padding:15px 17px 18px}
.arm-wrap .arm-help-topic-body ol{margin:0 0 14px 22px;padding:0;line-height:1.65;font-size:14px;color:#344b69}
.arm-wrap .arm-help-topic-body li{margin-bottom:5px}
.arm-wrap .arm-help-thumb{display:block;width:100%;max-width:640px;height:auto;max-height:270px;object-fit:contain;object-position:left center;border-radius:10px;border:1px solid #dce6f2;background:#f7faff;margin:0}
.arm-wrap .arm-help-faq-compact{margin-top:12px}
.arm-wrap .arm-help-faq-compact summary{list-style:none;padding:16px 19px;cursor:pointer;font-weight:750;color:#233c5a;display:flex;justify-content:space-between}
.arm-wrap .arm-help-faq-body{padding:14px 20px;border-top:1px solid #ebf0f6}
.arm-wrap .arm-help-faq-body p{font-size:14px;line-height:1.6;margin:0 0 10px}
@media(max-width:760px){.arm-wrap .arm-help-topics{grid-template-columns:1fr}.arm-wrap .arm-help-top{align-items:flex-start;flex-direction:column}.arm-wrap .arm-help-thumb{max-height:220px}}

/* v2.3.4 selected client identity on receipt review */
.arm-client-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:14px 20px;margin:16px 0 10px;background:#eef5ff;border:1px solid #b8d0fb;border-left:5px solid #2563eb;border-radius:14px;color:#334b70}
.arm-client-context-label{font-size:14px;font-weight:600;color:#536c90}
.arm-client-context-name{font-size:19px;font-weight:800;color:#1550b2;line-height:1.3;overflow-wrap:anywhere}
.arm-client-context-count{margin-left:auto;font-size:13px;font-weight:600;color:#536c90}
.arm-client-context-all{background:#f5f7fa;border-color:#d9e0ea;border-left-color:#64748b}
.arm-client-context-all .arm-client-context-name{color:#334155}
@media(max-width:640px){.arm-client-context{padding:12px 14px}.arm-client-context-name{font-size:17px}.arm-client-context-count{margin-left:0;width:100%}}

/* v2.3.5: overview client identity and readable category totals */
.arm-overview-client-context{margin:20px 0 15px}
.arm-wrap .arm-overview-category-table table{font-size:16px;line-height:1.5;min-width:740px}
.arm-wrap .arm-overview-category-table th{font-size:14px;font-weight:800;letter-spacing:0;text-transform:none;color:#294367;padding:17px 16px}
.arm-wrap .arm-overview-category-table td{font-size:16px;color:#233854;font-weight:600;padding:18px 16px}
.arm-wrap .arm-overview-category-table td b{font-size:17px;font-weight:800;color:#1550b2}
.arm-wrap .arm-overview-category-table tr:last-child th{font-size:16px;color:#154b91;background:#eaf3ff;border-top:2px solid #b6cef4}
@media(max-width:740px){.arm-wrap .arm-overview-category-table table{font-size:14px;min-width:700px}.arm-wrap .arm-overview-category-table th{font-size:13px}.arm-wrap .arm-overview-category-table td{font-size:14px}}

/* v2.3.6 signed-in user welcome card */
.arm-user-row{display:flex;justify-content:flex-end;margin:-9px 0 10px}
.arm-user-profile{display:inline-flex;align-items:center;gap:9px;max-width:100%;background:#f7faff;border:1px solid #e2eaf5;border-radius:13px;padding:6px 11px;color:#243953}
.arm-user-avatar{width:38px!important;height:38px!important;min-width:38px;object-fit:cover;border-radius:50%!important;border:2px solid white;box-shadow:0 1px 5px rgba(31,57,89,.13)}
.arm-user-copy{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.arm-user-copy span{font-size:11px;color:#6e8199;font-weight:600}
.arm-user-copy strong{font-size:14px;font-weight:800;overflow-wrap:anywhere;color:#213956}
@media(max-width:782px){.arm-user-row{margin:0 0 15px;justify-content:flex-start}}

/* 2.3.7 compact header profile: do not add an extra row to header flow */
.arm-head .arm-user-row{position:absolute;z-index:2;top:50%;transform:translateY(-50%);right:32px;display:flex;justify-content:flex-end;margin:0;width:auto;max-width:230px}
.arm-head .arm-user-profile{padding:5px 9px;gap:8px;max-width:230px}
.arm-head .arm-user-avatar{height:32px!important;width:32px!important;min-width:32px}
.arm-head .arm-user-copy strong{font-size:12px;max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arm-head .arm-user-copy span{font-size:10px}
.arm-head h1,.arm-head>p{max-width:calc(100% - 250px)}
@media(max-width:782px){.arm-head .arm-user-row{top:17px;transform:none;right:17px;max-width:190px}.arm-head .arm-user-profile{max-width:190px}.arm-head .arm-user-copy strong{max-width:123px}.arm-head .arm-brand-row{margin-bottom:10px;padding-right:200px}.arm-head h1,.arm-head>p{max-width:100%}}
@media(max-width:480px){.arm-head .arm-user-row{max-width:164px;right:12px;top:14px}.arm-head .arm-user-profile{max-width:164px;padding:4px 6px}.arm-head .arm-user-avatar{height:27px!important;width:27px!important;min-width:27px}.arm-head .arm-user-copy strong{max-width:104px;font-size:11px}.arm-head .arm-brand-row{padding-right:160px}.arm-head .arm-eyebrow{font-size:9px;letter-spacing:.06em}}

/* v2.3.8 AJAX quick-action feedback */
.arm-is-processing{opacity:.6;cursor:wait!important}.arm-quick-error{background:#fff0ef!important;border-color:#f4b8b2!important;color:#a3231a!important}#arm-quick-notice{margin:12px 0;padding:12px 16px;border:1px solid #b8dfc8;border-radius:12px;background:#ecfbf2;color:#146c43;font-weight:700}

/* v2.3.9 — compact right-aligned AJAX receipt switch */
.arm-wrap .arm-table tr[data-arm-receipt-row] td:last-child .arm-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:nowrap;white-space:nowrap}
.arm-wrap .arm-toggle-form{display:inline-flex!important;margin-left:3px}
.arm-receipt-toggle{font:inherit;display:inline-flex;align-items:center;gap:7px;cursor:pointer;background:transparent;border:1px solid transparent;border-radius:9px;padding:5px 7px;min-height:30px;transition:background .15s,border .15s}
.arm-receipt-toggle:hover{background:#f0f5fc;border-color:#d9e2ef}
.arm-receipt-toggle:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arm-toggle-track{position:relative;display:block;width:30px;height:17px;border-radius:100px;background:#16a34a;transition:background .2s;flex-shrink:0}
.arm-toggle-knob{position:absolute;top:2px;left:15px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .2s}
.arm-receipt-toggle.is-off .arm-toggle-track{background:#bd4242}
.arm-receipt-toggle.is-off .arm-toggle-knob{left:2px}
.arm-toggle-label{font-size:12px;font-weight:800;color:#187142}
.arm-receipt-toggle.is-off .arm-toggle-label{color:#aa3131}
.arm-receipt-toggle:disabled{opacity:.5;cursor:wait}
.arm-wrap .arm-status-disabled{background:#fce8e8!important;color:#a52c2c!important;font-weight:800}
@media(max-width:950px){.arm-wrap .arm-table tr[data-arm-receipt-row] td:last-child .arm-actions{justify-content:flex-start}}

/* v2.3.10: neutral toggle container; order Rescan then Delete then switch */
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle,
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle.is-on,
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle.is-off{
 background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;
 min-height:28px!important;padding:3px 4px!important;border-radius:8px!important;transform:none!important;
}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle:hover{background:#f1f5f9!important;box-shadow:none!important}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle .arm-toggle-label{color:#187142!important}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle.is-off .arm-toggle-label{color:#aa3131!important}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle .arm-toggle-track{background:#16a34a!important}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle.is-off .arm-toggle-track{background:#bd4242!important}

/* v2.3.12: client status switches and upload client confirmation */
.arm-wrap .arm-client-switch{display:inline-flex;align-items:center;gap:7px;padding:5px 7px!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:30px;cursor:pointer;border-radius:8px;font:inherit}
.arm-wrap .arm-client-switch .arm-switch-track{width:35px;height:20px;border-radius:20px;background:#bd4242;display:inline-flex;align-items:center;padding:3px;box-sizing:border-box;transition:background .15s}
.arm-wrap .arm-client-switch.is-on .arm-switch-track{background:#15965d}
.arm-wrap .arm-client-switch .arm-switch-dot{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.arm-wrap .arm-client-switch.is-on .arm-switch-dot{transform:translateX(15px)}
.arm-wrap .arm-client-switch-label{color:#a13232;font-size:12px;font-weight:800;white-space:nowrap}
.arm-wrap .arm-client-switch.is-on .arm-client-switch-label{color:#117648}
.arm-wrap .arm-client-switch:focus-visible{outline:2px solid #2358c7;outline-offset:2px}
.arm-wrap .arm-client-switch:disabled{opacity:.5;cursor:wait}
.arm-wrap .arm-upload-client-confirm{width:100%;padding:12px 16px;background:#eef5ff;border:1px solid #b5cef6;border-left:4px solid #285bd1;border-radius:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#4d6484;font-size:14px}
.arm-wrap .arm-upload-client-confirm[hidden]{display:none!important}
.arm-wrap .arm-upload-client-confirm strong{font-size:17px;color:#1550b2;font-weight:800;overflow-wrap:anywhere}

/* v2.3.13 Suspended client notice */
.arm-suspended-notice{background:#fff8ed;border:1px solid #ebce9d;border-left:4px solid #b87516;border-radius:13px;padding:14px 17px;margin:12px 0 18px;color:#754a14;box-shadow:0 3px 10px rgba(120,82,27,.05)}
.arm-suspended-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:16px;line-height:1.4}
.arm-suspended-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#f6dfb4;color:#78470b;font-weight:900;font-size:14px}
.arm-suspended-pill{font-size:12px;letter-spacing:.02em;font-weight:800;color:#9a421b;background:#ffead7;border:1px solid #f1caaf;border-radius:20px;padding:3px 10px}
.arm-suspended-notice p{margin:7px 0 0;font-size:14px;line-height:1.55;color:#795325}

/* v2.3.14 selected-client status badge */
.arm-client-context-suspended{display:inline-flex;align-items:center;justify-content:center;padding:5px 11px;border-radius:999px;background:#fff0d8;border:1px solid #edcc8a;color:#854b12;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap}

/* v2.3.15 - Review Receipts filter: compact desktop alignment */
.arm-wrap .arm-receipt-filter{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px;flex-wrap:wrap}
.arm-wrap .arm-receipt-filter .arm-field{flex:0 1 350px;width:350px;max-width:100%;min-width:0;margin:0}
.arm-wrap .arm-receipt-filter select[name="client_id"]{display:block;width:100%!important;min-width:0!important;max-width:100%!important;height:48px;box-sizing:border-box}
.arm-wrap .arm-receipt-filter .arm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;height:48px;box-sizing:border-box;margin:0;align-self:flex-end;white-space:nowrap}
@media(max-width:600px){.arm-wrap .arm-receipt-filter .arm-field{flex:1 1 100%;width:100%}.arm-wrap .arm-receipt-filter .arm-btn{height:44px;min-height:44px}}

/* v2.3.16: compact receipt filters and matching client form */
.arm-wrap .arm-receipt-filter,.arm-wrap .arm-client-entry-row{display:flex!important;flex-wrap:wrap;align-items:flex-end!important;justify-content:flex-start!important;gap:12px!important}
.arm-wrap .arm-receipt-filter .arm-field,.arm-wrap .arm-client-entry-row .arm-field{flex:0 1 350px!important;width:350px!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;gap:8px}
.arm-wrap .arm-receipt-filter select[name="client_id"],.arm-wrap .arm-client-entry-row input[name="name"]{width:100%!important;height:48px!important;min-height:48px!important;margin:0!important;font-size:16px!important;box-sizing:border-box!important}
.arm-wrap .arm-receipt-filter>.arm-btn,.arm-wrap .arm-client-entry-row>.arm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:48px!important;min-height:48px!important;flex:0 0 auto!important;align-self:flex-end!important;margin:0!important;position:relative;top:-10px}
@media(max-width:600px){.arm-wrap .arm-receipt-filter .arm-field,.arm-wrap .arm-client-entry-row .arm-field{flex:1 1 100%!important;width:100%!important}.arm-wrap .arm-receipt-filter>.arm-btn,.arm-wrap .arm-client-entry-row>.arm-btn{top:0;height:44px!important;min-height:44px!important}}

/* v2.3.17: correct bottom alignment — prior -10px button offset caused mismatch */
.arm-wrap .arm-receipt-filter > .arm-btn,
.arm-wrap .arm-client-entry-row > .arm-btn {
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  align-self: flex-end !important;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}
.arm-wrap .arm-receipt-filter .arm-field,
.arm-wrap .arm-client-entry-row .arm-field {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
}
.arm-wrap .arm-receipt-filter select[name="client_id"],
.arm-wrap .arm-client-entry-row input[name="name"] {
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
}
@media (max-width:600px) {
 .arm-wrap .arm-receipt-filter > .arm-btn,
 .arm-wrap .arm-client-entry-row > .arm-btn {height:44px!important;min-height:44px!important}
}

/* v2.3.18: Cantax T2 filter - fixed matched field/button bottom edges */
.arm-wrap .arm-t2-filter{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,286px)) max-content;
 align-items:end!important;
 justify-content:start;
 column-gap:16px!important;
 row-gap:14px!important;
}
.arm-wrap .arm-t2-filter>.arm-field{
 width:100%!important;min-width:0!important;max-width:none!important;
 margin:0!important;padding:0!important;
 display:flex!important;flex-direction:column!important;
 align-self:stretch!important;justify-content:end!important;
 gap:8px!important;
}
.arm-wrap .arm-t2-filter>.arm-field b{display:block;margin:0!important;line-height:20px!important}
.arm-wrap .arm-t2-filter>.arm-field>input,
.arm-wrap .arm-t2-filter>.arm-field>select{
 display:block!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;
 height:48px!important;min-height:48px!important;
 margin:0!important;
}
.arm-wrap .arm-t2-filter>.arm-btn{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 align-self:end!important;position:static!important;
 height:48px!important;min-height:48px!important;
 padding:0 16px!important;margin:0!important;transform:none!important;
 box-sizing:border-box!important;white-space:nowrap;
}
@media(max-width:1100px){.arm-wrap .arm-t2-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.arm-wrap .arm-t2-filter>.arm-btn{grid-column:1/-1;justify-self:start}}
@media(max-width:670px){.arm-wrap .arm-t2-filter{grid-template-columns:minmax(0,1fr)}.arm-wrap .arm-t2-filter>.arm-btn{grid-column:1}}

/* v2.3.19 account menu and front-end profile */
.arm-profile-menu{position:relative;max-width:100%;z-index:30}
.arm-profile-menu>summary{list-style:none;cursor:pointer;user-select:none}
.arm-profile-menu>summary::-webkit-details-marker{display:none}
.arm-profile-menu>summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.arm-profile-chevron{font-size:17px;color:#506788;line-height:1;margin-left:3px}
.arm-profile-popover{position:absolute;top:calc(100% + 7px);right:0;width:200px;border-radius:12px;background:#fff;border:1px solid #dce5f2;box-shadow:0 14px 35px rgba(20,39,69,.15);padding:6px;z-index:999;color:#243953}
.arm-profile-popover a{display:block;text-decoration:none!important;color:#243953!important;font-size:14px;font-weight:650;padding:11px 13px;border-radius:8px}
.arm-profile-popover a:hover,.arm-profile-popover a:focus-visible{background:#edf4ff;color:#1e50b2!important}
.arm-profile-popover a.arm-logout{color:#b42318!important;border-top:1px solid #e6edf5;border-radius:0 0 8px 8px;margin-top:3px}
.arm-account-panel{max-width:760px}.arm-account-panel form{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.arm-account-panel form .arm-field{width:100%;max-width:510px}.arm-account-panel form input{width:100%;max-width:510px;min-height:46px;box-sizing:border-box;font-size:16px}.arm-account-person{display:flex;align-items:center;gap:14px;margin:14px 0 22px}.arm-account-person img{border-radius:50%}.arm-account-person div{display:flex;flex-direction:column}.arm-account-person span{color:#64748b;font-size:13px}

/* v2.3.20: account menu must not be clipped inside the header. */
.arm-wrap .arm-head{overflow:visible!important;position:relative;z-index:60;isolation:isolate}
.arm-wrap .arm-head .arm-user-row{z-index:70}
.arm-wrap .arm-profile-menu{z-index:80}
.arm-wrap .arm-profile-menu[open]{z-index:90}
.arm-wrap .arm-profile-popover{z-index:1000;max-width:min(240px,calc(100vw - 28px));box-sizing:border-box}
.arm-wrap .arm-tabs,.arm-wrap .arm-section-heading,.arm-wrap .arm-panel{position:relative;z-index:1}

/* v2.4.0 Receipt overview, search, duplicates */
.arm-chart-filter,.arm-search-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.arm-chart-filter .arm-field{flex:0 1 280px}.arm-chart-filter input,.arm-chart-filter select{min-height:46px}.arm-chart-summary{margin:18px 0;font-size:16px}.arm-chart-summary strong{color:#245dd2}.arm-monthly-chart{display:grid;grid-template-columns:repeat(12,minmax(28px,1fr));gap:10px;height:250px;padding:12px 4px 2px;overflow-x:auto}.arm-chart-month{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:28px}.arm-chart-amount{font-size:11px;font-weight:700;color:#526780;white-space:nowrap}.arm-chart-track{width:100%;height:180px;display:flex;align-items:flex-end;background:#f2f6fc;border-radius:7px;overflow:hidden}.arm-chart-bar{display:block;width:100%;background:linear-gradient(180deg,#4485ee,#245bd4);border-radius:7px 7px 0 0}.arm-chart-label{font-size:12px;font-weight:700;color:#526780}.arm-search-form label{display:flex;flex-direction:column;gap:6px}.arm-search-form input{width:min(380px,80vw);min-height:46px}.arm-dupe-flag{display:block;font-size:11px;font-weight:750;color:#9e4e12;background:#fff5e8;border-radius:6px;padding:3px 6px;margin-top:5px;max-width:max-content}#arm-bulk-verify{margin-left:10px}#arm-bulk-verify[hidden]{display:none!important}

/* v2.5.0 print-friendly client report */
.arm-report-sheet{max-width:1100px;margin-inline:auto}.arm-report-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.arm-report-heading h2{font-size:26px!important}.arm-report-total th{font-weight:800!important;background:#e8f1ff;color:#17396c}.arm-report-controls select{min-width:260px;max-width:350px}
@media print{body{background:#fff!important}.arm-wrap{width:100%!important;max-width:none!important}.arm-wrap .arm-head,.arm-wrap .arm-tabs,.arm-wrap .arm-section-heading,.arm-wrap .arm-panel:not(.arm-report-sheet),.arm-report-print,#wpadminbar,#adminmenumain,#wpfooter,header,footer{display:none!important}.arm-report-sheet{box-shadow:none!important;border:0!important;max-width:100%!important;padding:0!important}.arm-report-sheet table{border-collapse:collapse;width:100%}.arm-report-sheet th,.arm-report-sheet td{border:1px solid #bbb!important;padding:10px!important;color:#111!important;background:#fff!important}.arm-report-sheet .arm-warning{color:#111!important;border:1px solid #888!important}}

/* v2.6.0 Restrict destructive controls in data-entry UI. Server checks permissions separately. */
.arm-no-delete #arm-bulk-delete,.arm-no-delete form:has(input[name="operation"][value="delete"]),.arm-no-delete .arm-delete-text{display:none!important}

.arm-trash-row td{vertical-align:middle}.arm-restore-form{display:inline-flex}

/* v2.8.0 administrator data-safety snapshot */
.arm-safety-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;margin:20px 0}
.arm-safety-card{padding:17px;border-radius:14px;background:#f6f9ff;border:1px solid #dce6f5;display:flex;flex-direction:column;gap:7px;color:#283b56}
.arm-safety-card span{font-weight:700;font-size:14px}.arm-safety-card strong{font-size:25px;color:#1d4ed8}.arm-safety-card small{font-size:12px;color:#64748b}
.arm-safety-checks{border:1px solid #dce6f5;border-radius:14px;background:white;padding:14px 18px;margin-bottom:18px}
.arm-safety-checks h3{margin-top:0}.arm-safety-alert{color:#a22727;background:#fff5f5;border-radius:10px;padding:12px}

/* v3.0 mobile camera and folder picker */
.arm-extra-pickers{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.arm-extra-pickers .arm-btn{min-height:39px;font-size:13px;padding:8px 14px}
.arm-hidden-picker{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}
@media(max-width:640px){.arm-extra-pickers{width:100%}.arm-extra-pickers .arm-btn{flex:1;justify-content:center}}

/* Upload recovery control */
.arm-retry-remaining{margin-top:12px;display:inline-flex;align-items:center;justify-content:center}
.arm-retry-remaining[hidden]{display:none!important}

/* v3.0.6 release checklist */
.arm-release-readiness{margin-top:20px;padding:18px;border:1px solid #d8e3ef;background:#f8fbff;border-radius:14px}
.arm-release-readiness th,.arm-release-readiness td{font-size:14px;vertical-align:top;line-height:1.55}
.arm-readiness-ok{color:#167347}.arm-readiness-bad{color:#b42318}.arm-readiness-pending{color:#925f11}

/* 3.0.29: align the receipt review selector with other filter controls */
.arm-wrap .arm-receipt-filter select[name="arm_review"]{height:48px!important;min-height:48px!important;box-sizing:border-box!important}
@media(max-width:600px){.arm-wrap .arm-receipt-filter select[name="arm_review"]{height:44px!important;min-height:44px!important}}

/* Layout correction: receipt filters and expense report actions share one baseline. */
.arm-wrap .arm-receipt-filter,.arm-wrap .arm-report-filter{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:flex-start!important;gap:14px!important}
.arm-wrap .arm-receipt-filter>.arm-field,.arm-wrap .arm-report-filter>.arm-field{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;padding:0!important;min-width:0!important;flex:0 1 350px!important;width:350px!important}
.arm-wrap .arm-report-filter>.arm-field{flex-basis:450px!important;width:450px!important}
.arm-wrap .arm-receipt-filter>.arm-field b,.arm-wrap .arm-report-filter>.arm-field b{display:block!important;line-height:20px!important;margin:0!important}
.arm-wrap .arm-receipt-filter>.arm-field select,.arm-wrap .arm-report-filter>.arm-field select,.arm-wrap .arm-report-filter>.arm-field input{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:48px!important;min-height:48px!important;box-sizing:border-box!important;margin:0!important}
.arm-wrap .arm-receipt-filter>.arm-btn,.arm-wrap .arm-report-filter>.arm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;position:static!important;top:auto!important;bottom:auto!important;transform:none!important;align-self:flex-end!important;margin:0!important;padding:0 17px!important;height:48px!important;min-height:48px!important;box-sizing:border-box!important;white-space:nowrap!important}
/* Compact built-in navigation disclosure: no script dependency. */
.arm-wrap .arm-tabs{overflow:visible!important;position:relative!important;z-index:30!important;align-items:center}
.arm-wrap .arm-more-nav{position:relative;flex:0 0 auto;margin-left:auto;min-width:94px}
.arm-wrap .arm-more-toggle{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;user-select:none;border-radius:10px;padding:12px 16px;min-height:48px;box-sizing:border-box;color:#53647c;font-size:14px;font-weight:750;white-space:nowrap}
.arm-wrap .arm-more-toggle::-webkit-details-marker{display:none}
.arm-wrap .arm-more-toggle:hover,.arm-wrap .arm-more-nav[open] .arm-more-toggle{background:#eef4ff;color:#2452ad}
.arm-wrap .arm-more-toggle:focus-visible{outline:3px solid #3978e8;outline-offset:2px}
.arm-wrap .arm-more-list{position:absolute;right:0;top:calc(100% + 7px);z-index:500;min-width:180px;padding:7px;background:#fff;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 14px 35px rgba(24,47,82,.18);display:flex;flex-direction:column;gap:3px}
.arm-wrap .arm-more-list a{display:flex;justify-content:flex-start;flex:0 0 auto;min-height:40px;font-size:13px;padding:9px 11px;width:100%;box-sizing:border-box}
.arm-wrap .arm-more-list .arm-nav-icon{width:17px;height:17px}
@media(max-width:850px){.arm-wrap .arm-report-filter>.arm-field{flex:1 1 220px!important;width:auto!important}.arm-wrap .arm-receipt-filter>.arm-field{flex:1 1 220px!important;width:auto!important}}
@media(max-width:600px){.arm-wrap .arm-receipt-filter>.arm-field,.arm-wrap .arm-report-filter>.arm-field{flex:1 1 100%!important;width:100%!important}.arm-wrap .arm-receipt-filter>.arm-btn,.arm-wrap .arm-report-filter>.arm-btn{height:46px!important;min-height:46px!important}.arm-wrap .arm-more-nav{margin-left:0}.arm-wrap .arm-more-list{right:auto;left:0}}

/* More dropdown: plain text navigation links instead of button tiles. */
.arm-wrap .arm-tabs .arm-more-list a,
.arm-wrap .arm-tabs .arm-more-list a.current,
.arm-wrap .arm-tabs .arm-more-list a:hover,
.arm-wrap .arm-tabs .arm-more-list a.current:hover{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 0 auto!important;width:100%!important;min-height:0!important;
  padding:8px 10px!important;margin:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
  font-size:14px!important;font-weight:600!important;color:#53647c!important;
  text-decoration:none!important;
}
.arm-wrap .arm-tabs .arm-more-list a:hover,
.arm-wrap .arm-tabs .arm-more-list a:focus-visible{color:#2452ad!important;text-decoration:underline!important;text-underline-offset:3px!important}
.arm-wrap .arm-tabs .arm-more-list a.current{color:#2452ad!important;font-weight:750!important}

/* More is a normal navigation item, not a boxed button. */
.arm-wrap .arm-tabs > details.arm-more-nav{
  display:flex!important;align-items:center!important;align-self:center!important;
  flex:0 1 auto!important;min-width:0!important;width:auto!important;
  margin-left:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;
}

.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle,
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle:hover,
.arm-wrap .arm-tabs > details.arm-more-nav[open] > summary.arm-more-toggle{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;width:auto!important;min-width:0!important;max-width:none!important;
  min-height:48px!important;height:48px!important;margin:0!important;
  padding:13px 12px!important;border:0!important;border-radius:0!important;
  align-self:center!important;box-sizing:border-box!important;
  background:transparent!important;box-shadow:none!important;outline-offset:2px!important;
  color:#5b6e85!important;font-family:inherit!important;font-size:14px!important;
  line-height:1.3!important;font-weight:750!important;appearance:none!important;
  -webkit-appearance:none!important;text-decoration:none!important;cursor:pointer!important;
}
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle:hover{color:#2452ad!important}
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle::-webkit-details-marker{display:none!important}
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle::marker{content:''}
@media(max-width:782px){.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle{font-size:13px!important;padding:12px 10px!important}}

/* Align the More text baseline with the other primary navigation links. */
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle{position:relative!important;top:-6px!important;vertical-align:middle!important}
@media(max-width:782px){.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle{top:-4px!important}}


/* Compact client entry form. Keep the client directory full-width. */
.arm-wrap .arm-client-entry-panel{
  width:100%;max-width:690px;box-sizing:border-box;
  padding:18px 22px!important;margin:12px 0 16px!important;
}
.arm-wrap .arm-client-entry-panel h2{margin:0 0 12px!important;font-size:18px!important}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row{
  margin:0!important;gap:12px!important;align-items:flex-end!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row .arm-field{
  flex:0 1 310px!important;width:310px!important;max-width:100%!important;gap:6px!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row input[name="name"]{
  height:44px!important;min-height:44px!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row>.arm-btn{
  position:static!important;top:auto!important;transform:none!important;
  height:44px!important;min-height:44px!important;margin:0!important;
}
@media(max-width:520px){
  .arm-wrap .arm-client-entry-panel{padding:16px!important;max-width:100%}
  .arm-wrap .arm-client-entry-panel .arm-client-entry-row .arm-field{flex:1 1 100%!important;width:100%!important}
}

/* Upload layout: large receipt drop area at left, stacked selectors at right. */
@media(min-width:801px){
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex{
    display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr)!important;
    grid-template-rows:auto auto 1fr auto!important;
    column-gap:22px!important;row-gap:16px!important;align-items:start!important;
  }
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>label.arm-field{
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;display:flex!important;flex-direction:column!important;gap:8px!important;
  }
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>label.arm-field:nth-of-type(1){grid-column:2;grid-row:1}
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>label.arm-field:nth-of-type(2){grid-column:2;grid-row:2}
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>label.arm-field select{width:100%!important;max-width:none!important;min-width:0!important}
  .arm-wrap .arm-upload-panel #arm-ajax-upload .arm-upload-client-confirm{grid-column:2;grid-row:3;align-self:start}
  .arm-wrap .arm-upload-panel #arm-ajax-upload .arm-upload-field{
    grid-column:1;grid-row:1 / span 3;min-width:0!important;width:100%!important;
    align-self:stretch!important;
  }
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>button[type=submit]{grid-column:1;grid-row:4;justify-self:start;margin:0!important}
}
@media(max-width:800px){
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>label.arm-field{width:100%!important;max-width:none!important;flex:0 0 auto!important}
  .arm-wrap .arm-upload-panel #arm-ajax-upload .arm-upload-field{width:100%!important;min-width:0!important}
  .arm-wrap .arm-upload-panel #arm-ajax-upload>.arm-flex>button[type=submit]{align-self:flex-start!important}
}
/* Align the Generate Report button with the bottoms of Client and Year. */
.arm-wrap .arm-report-controls .arm-report-filter{display:flex!important;align-items:flex-end!important;gap:16px!important;flex-wrap:wrap!important}
.arm-wrap .arm-report-controls .arm-report-filter>.arm-field{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;min-width:0!important}
.arm-wrap .arm-report-controls .arm-report-filter>.arm-field select,
.arm-wrap .arm-report-controls .arm-report-filter>.arm-field input{height:48px!important;min-height:48px!important;box-sizing:border-box!important;margin:0!important;width:100%!important}
.arm-wrap .arm-report-controls .arm-report-filter>button{height:48px!important;min-height:48px!important;align-self:flex-end!important;margin:0!important;position:static!important;transform:none!important;box-sizing:border-box!important}
/* Legible on-screen and printed client expense totals. */
.arm-wrap .arm-report-sheet .arm-table th,
.arm-wrap .arm-report-sheet .arm-table td{font-size:15px!important;line-height:1.6!important;padding:13px 14px!important}
.arm-wrap .arm-report-sheet .arm-table thead th{font-size:13px!important;letter-spacing:.035em!important}
.arm-wrap .arm-report-sheet .arm-report-total th,
.arm-wrap .arm-report-sheet .arm-report-total td{font-size:16px!important;font-weight:800!important}
@media print{
  .arm-wrap .arm-report-sheet .arm-table th,
  .arm-wrap .arm-report-sheet .arm-table td{font-size:13pt!important;line-height:1.4!important}
  .arm-wrap .arm-report-sheet .arm-table thead th{font-size:11pt!important}
}

/* Unified form controls: calm tinted backgrounds and consistent readable sizing. */
.arm-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.arm-wrap select {
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  font-size:16px!important;
  line-height:1.35!important;
  background-color:#f4f7fb!important;
  color:#1d3554!important;
  border:1px solid #cbd6e4!important;
  border-radius:10px!important;
}
.arm-wrap textarea {
  box-sizing:border-box!important;
  min-height:110px!important;
  height:auto;
  font-size:16px!important;
  line-height:1.5!important;
  background-color:#f4f7fb!important;
  color:#1d3554!important;
  border:1px solid #cbd6e4!important;
  border-radius:10px!important;
}
.arm-wrap input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):hover,
.arm-wrap select:hover,.arm-wrap textarea:hover {background-color:#f0f4fa!important}
.arm-wrap input:not([type="file"]):focus,
.arm-wrap select:focus,.arm-wrap textarea:focus{background-color:#fff!important}
/* Keep the client- and category-select chevrons and mobile sizing intact. */

/* Consistent dashboard and report filter alignment (layout correction). */
@media (min-width: 801px) {
  .arm-wrap .arm-monthly-panel .arm-chart-filter,
  .arm-wrap .arm-report-controls .arm-report-filter {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content!important;
    align-items:end!important;
    column-gap:14px!important;
    row-gap:12px!important;
  }
  .arm-wrap .arm-monthly-panel .arm-chart-filter > label.arm-field,
  .arm-wrap .arm-report-controls .arm-report-filter > label.arm-field {
    display:flex!important;flex-direction:column!important;
    align-self:stretch!important;justify-content:flex-end!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    flex:none!important;margin:0!important;
  }
  .arm-wrap .arm-monthly-panel .arm-chart-filter > label.arm-field > select,
  .arm-wrap .arm-monthly-panel .arm-chart-filter > label.arm-field > input,
  .arm-wrap .arm-report-controls .arm-report-filter > label.arm-field > select,
  .arm-wrap .arm-report-controls .arm-report-filter > label.arm-field > input {
    display:block!important;width:100%!important;min-width:0!important;
    max-width:none!important;height:48px!important;min-height:48px!important;
    box-sizing:border-box!important;margin:0!important;
  }
  .arm-wrap .arm-monthly-panel .arm-chart-filter > button,
  .arm-wrap .arm-report-controls .arm-report-filter > button {
    display:inline-flex!important;justify-content:center!important;align-items:center!important;
    align-self:end!important;grid-column:3!important;
    width:auto!important;height:48px!important;min-height:48px!important;
    margin:0!important;position:static!important;top:auto!important;
    transform:none!important;white-space:nowrap!important;
  }
}
/* Use the requested light-blue gray on every native select, including focus/hover. */
.arm-wrap select,
.arm-wrap select:hover,
.arm-wrap select:focus,
.arm-wrap select:active,
.arm-wrap .arm-field select,
.arm-wrap .arm-field select:hover,
.arm-wrap .arm-field select:focus,
.arm-wrap .arm-report-controls select,
.arm-wrap .arm-monthly-panel select {
  background-color:#F4F7FB!important;
  /* Explicit chevron: appearance:none in the existing theme hides native arrows. */
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23536b87' stroke-width='2.4' 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 15px center!important;
  background-size:18px 18px!important;
  padding-right:44px!important;
  font-size:16px!important;
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
}
@media (max-width:800px) {
  .arm-wrap .arm-monthly-panel .arm-chart-filter,
  .arm-wrap .arm-report-controls .arm-report-filter {display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:12px!important}
  .arm-wrap .arm-monthly-panel .arm-chart-filter > label.arm-field,
  .arm-wrap .arm-report-controls .arm-report-filter > label.arm-field {flex:1 1 210px!important;width:auto!important;min-width:0!important}
  .arm-wrap .arm-monthly-panel .arm-chart-filter > button,
  .arm-wrap .arm-report-controls .arm-report-filter > button {align-self:flex-end!important;position:static!important;top:auto!important;margin:0!important;transform:none!important;height:48px!important}
}

/* Business details: compact responsive client editor. */
.arm-wrap .arm-client-entry-panel{max-width:920px!important}
.arm-wrap .arm-client-entry-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:end!important}
.arm-wrap .arm-client-entry-row .arm-field{min-width:0!important;width:100%!important;max-width:none!important}
.arm-wrap .arm-client-entry-row .arm-btn{justify-self:start!important;align-self:end!important;min-height:48px!important}
@media(max-width:680px){.arm-wrap .arm-client-entry-row{grid-template-columns:1fr!important}}

/* Keep Search button level with the bottom of its input. */
.arm-wrap .arm-search-form{display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:wrap!important}
.arm-wrap .arm-search-form > label{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:7px!important;margin:0!important}
.arm-wrap .arm-search-form > .arm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-end!important;position:static!important;top:auto!important;bottom:auto!important;transform:none!important;height:48px!important;min-height:48px!important;margin:0!important;box-sizing:border-box!important}

/* Receipt search: visually align Search with the 48px text field, not label line box. */
@media (min-width:601px){
  .arm-wrap .arm-search-panel .arm-search-form > button.arm-btn{
    position:relative!important;top:-9px!important;bottom:auto!important;
    transform:none!important;align-self:flex-end!important;
  }
}

/* Staff backup permissions: clearly visible informational notice. */
.arm-wrap .arm-backup-permissions-info{display:flex;align-items:flex-start;gap:13px;margin:20px 0 4px;padding:17px 19px;background:#eaf3ff;border:1px solid #a8c8f5;border-left:4px solid #2a62ca;border-radius:12px;color:#183e79;font-size:15px;line-height:1.65;box-shadow:0 2px 9px rgba(42,98,202,.06)}
.arm-wrap .arm-backup-permissions-info strong{display:block;color:#14376e;font-size:16px;margin:0 0 3px;font-weight:800}
.arm-wrap .arm-backup-permissions-info p{color:#234775;margin:0;font-size:15px;line-height:1.65}
.arm-wrap .arm-backup-info-icon{display:inline-flex;flex:0 0 24px;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#2a62ca;color:#fff;font-weight:800;font-size:15px;line-height:1;margin-top:2px}

/* Center frontend backup success/error notice text without WordPress admin paragraph offsets. */
.arm-wrap > .notice.notice-success,
.arm-wrap > .notice.notice-error {
  display: flex !important;
  align-items: center !important;
  min-height: 58px;
  box-sizing: border-box;
  padding: 12px 16px !important;
}
.arm-wrap > .notice.notice-success > p,
.arm-wrap > .notice.notice-error > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

/* Client directory readability and compact client search */
.arm-wrap .arm-client-directory-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.arm-wrap .arm-client-directory-head h2{margin:0!important}
.arm-wrap .arm-client-directory .arm-table table{font-size:15px!important;line-height:1.5!important}
.arm-wrap .arm-client-directory .arm-table th{font-size:12px!important;letter-spacing:.025em!important;color:#334966!important;background:#edf3fb!important;white-space:nowrap!important}
.arm-wrap .arm-client-directory .arm-table td{font-size:15px!important;color:#263d5a!important}
.arm-wrap .arm-client-directory .arm-table th,.arm-wrap .arm-client-directory .arm-table td{padding:15px 14px!important}
.arm-wrap .arm-client-directory .arm-table tr.arm-client-directory-row:nth-child(even) td{background:#fafcff}
.arm-wrap .arm-client-directory .arm-table tr.arm-client-directory-row:hover td{background:#edf5ff}


/* Client Directory: a single genuine search input; no outer label or nested border. */
.arm-wrap .arm-client-directory-head{align-items:center!important}
.arm-wrap .arm-client-directory-head input#arm-client-search{
  display:block!important;flex:0 1 300px!important;width:300px!important;max-width:100%!important;
  height:48px!important;min-height:48px!important;margin:0!important;
  padding:0 16px 0 43px!important;box-sizing:border-box!important;
  -webkit-appearance:none!important;appearance:none!important;
  background-color:#f4f7fb!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2371849b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:14px center!important;background-size:18px 18px!important;
  border:1px solid #cbd8e9!important;border-radius:10px!important;
  box-shadow:none!important;outline:none!important;
  color:#203a5a!important;font-size:15px!important;line-height:normal!important;
}
.arm-wrap .arm-client-directory-head input#arm-client-search::placeholder{color:#8294aa!important;opacity:1!important}
.arm-wrap .arm-client-directory-head input#arm-client-search:hover{border-color:#aebfd6!important}
.arm-wrap .arm-client-directory-head input#arm-client-search:focus{
  background-color:#f4f7fb!important;border-color:#4a75d1!important;
  box-shadow:0 0 0 3px rgba(55,111,210,.12)!important;
}
@media(max-width:600px){
  .arm-wrap .arm-client-directory-head input#arm-client-search{flex:1 1 100%!important;width:100%!important;max-width:none!important}
}


/* Client Directory: click-to-sort headers and 20-clients-per-page navigation. */
.arm-wrap .arm-client-directory .arm-client-sort{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:5px!important;background:none!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;min-height:28px!important;height:auto!important;
  font:inherit!important;font-weight:800!important;color:inherit!important;
  text-transform:inherit!important;letter-spacing:inherit!important;cursor:pointer!important;
}
.arm-wrap .arm-client-directory .arm-client-sort:hover{color:#2458bb!important}
.arm-wrap .arm-client-directory .arm-client-sort:focus-visible{outline:2px solid #2a62ca!important;outline-offset:4px!important;border-radius:2px!important}
.arm-wrap .arm-client-directory .arm-sort-indicator{font-size:14px!important;line-height:1!important;color:#4773bd!important}
.arm-wrap .arm-client-directory .arm-client-pagination{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px;padding:16px 0 4px;color:#586e87;font-size:14px;
}
.arm-wrap .arm-client-directory .arm-client-pagination[hidden]{display:none!important}
.arm-wrap .arm-client-directory .arm-client-page-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.arm-wrap .arm-client-directory .arm-client-page-numbers{display:inline-flex;align-items:center;gap:5px}
.arm-wrap .arm-client-directory .arm-client-page-nav button{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:36px;min-height:36px;padding:7px 11px;border:1px solid #d5dfec;
  border-radius:9px;background:#f4f7fb;color:#365475;font-size:13px;font-weight:700;
  line-height:1.25;cursor:pointer;
}
.arm-wrap .arm-client-directory .arm-client-page-nav button:hover:not(:disabled){background:#e8f0ff;border-color:#aac4f4;color:#1d4aab}
.arm-wrap .arm-client-directory .arm-client-page-nav button.is-current{background:#2d5ccd;color:#fff;border-color:#2d5ccd}
.arm-wrap .arm-client-directory .arm-client-page-nav button:disabled{opacity:.43;cursor:default}
.arm-wrap .arm-client-directory .arm-client-page-nav button:focus-visible{outline:2px solid #2d5ccd;outline-offset:2px}
.arm-wrap .arm-client-directory .arm-client-page-ellipsis{padding:0 3px;color:#8798ab}
.arm-wrap .arm-client-directory #arm-client-search-empty[hidden]{display:none!important}
@media(max-width:640px){.arm-wrap .arm-client-directory .arm-client-pagination{align-items:flex-start;flex-direction:column}.arm-wrap .arm-client-directory .arm-client-page-nav{gap:5px}}

/* Client deletion: keep confirmation action compact and distinguish unavailable deletes. */
.arm-wrap .arm-client-directory .arm-client-delete{font-size:13px!important;white-space:nowrap!important}
.arm-wrap .arm-client-directory .arm-client-delete:disabled{opacity:.5!important;cursor:not-allowed!important;background:#f4f7fb!important;color:#61738b!important;border-color:#e1e7ef!important}
.arm-wrap .arm-client-directory .arm-actions{gap:6px!important;align-items:center!important}

/* Milton v2.0 — Client Directory: keep client actions on one row on desktop.
   Reserve sufficient width for Edit / CSV / Delete / Active (or Suspended).
   On smaller viewports, preserve accessible horizontal table scrolling. */
@media (min-width: 1300px) {
  .arm-wrap .arm-client-directory .arm-table table {
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .arm-wrap .arm-client-directory .arm-table th,
  .arm-wrap .arm-client-directory .arm-table td {
    padding:13px 8px!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  .arm-wrap .arm-client-directory .arm-table th:nth-child(1) {width:11%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(2) {width:12%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(3) {width:14%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(4) {width:12%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(5) {width:11%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(6) {width:9%}
  .arm-wrap .arm-client-directory .arm-table th:nth-child(7) {width:31%}
  .arm-wrap .arm-client-directory .arm-table td:nth-child(4) {white-space:nowrap!important}
}
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:5px!important;
  width:max-content!important;
  min-width:0!important;
}
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > form:last-child {
  display:inline-flex!important;
  flex:0 0 auto!important;
  grid-column:auto!important;
  margin:0!important;
}
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > a.arm-btn,
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > button.arm-btn,
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > form:not(:last-child) .arm-btn {
  flex:0 0 auto!important;
  padding:8px 8px!important;
  min-height:35px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-client-switch {
  display:inline-flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 3px!important;
  white-space:nowrap!important;
}
.arm-wrap .arm-client-directory .arm-client-sort{white-space:normal!important;text-align:left!important}
@media (max-width:1299px) {
  .arm-wrap .arm-client-directory .arm-table{overflow-x:auto!important}
  .arm-wrap .arm-client-directory .arm-table table{min-width:1050px!important}
}


/* Milton standalone frontend: independent 80%-viewport workspace, no global X Pro theme changes.
   Restrict to the shortcode page and never affect WordPress admin or other site content. */
body.milton-accounting-page #content.x-container.max.width,
body.milton-accounting-page #content .x-container.max.width {
  width:80%!important;
  max-width:none!important;
}
/* X Pro applies generous article padding that narrows the workspace further. */
body.milton-accounting-page #content .x-main .entry-wrap,
body.milton-accounting-page #content .entry-wrap {
  padding-left:0!important;
  padding-right:0!important;
}
/* Center on the viewport rather than inheriting the theme container's 88% width.
   Positioning is based on the parent center, so works in both narrow and wide templates. */
body.milton-accounting-page .arm-wrap.arm-frontend-width {
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:80vw!important;
  max-width:none!important;
  margin:14px 0 44px!important;
  box-sizing:border-box!important;
}
@media(max-width:782px){
  body.milton-accounting-page .arm-wrap.arm-frontend-width {
    width:80vw!important;
    margin-top:10px!important;
    margin-bottom:26px!important;
  }
}
@media print {
  body.milton-accounting-page .arm-wrap.arm-frontend-width {
    position:static!important;
    left:auto!important;
    transform:none!important;
    width:100%!important;
    margin:0!important;
  }
}

/* Review Receipts: icon-only recycle action and compact status switch. */
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-recycle-icon-button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;
  padding:0!important;background:#fff3f4!important;border:1px solid #f1cbd0!important;
  color:#b3293a!important;border-radius:8px!important;box-shadow:none!important;
}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-recycle-icon-button:hover {
  color:#8f1828!important;background:#ffe6e9!important;border-color:#e8aab3!important;
}
.arm-wrap .arm-recycle-icon-button .arm-trash-icon,
.arm-wrap #arm-bulk-delete .arm-trash-icon{display:block;width:17px;height:17px;flex:0 0 auto;}
.arm-wrap #arm-bulk-delete:not([hidden]){gap:6px!important}
.arm-wrap #arm-bulk-delete .arm-bulk-recycle-count{font-size:12px!important}
.arm-wrap .arm-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle {
  justify-content:center!important;gap:0!important;min-width:36px!important;
}


/* Client Directory: icon-only Delete, matching the Review Receipts trash control. */
.arm-wrap .arm-client-directory .arm-table .arm-client-delete.arm-client-delete-icon,
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > .arm-client-delete.arm-client-delete-icon,
.arm-wrap .arm-client-directory .arm-table td:last-child .arm-actions > form:not(:last-child) .arm-client-delete.arm-client-delete-icon {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:35px!important;
  min-width:35px!important;
  height:35px!important;
  min-height:35px!important;
  padding:0!important;
  border-radius:8px!important;
  background:#fff3f4!important;
  color:#b3293a!important;
  border:1px solid #f1cbd0!important;
  box-shadow:none!important;
}
.arm-wrap .arm-client-directory .arm-client-delete-icon .arm-trash-icon {
  display:block!important;
  width:17px!important;
  height:17px!important;
  flex:0 0 auto!important;
}
.arm-wrap .arm-client-directory .arm-client-delete-icon:hover:not(:disabled){
  background:#ffe6e9!important;
  color:#8f1828!important;
  border-color:#e8aab3!important;
}
.arm-wrap .arm-client-directory .arm-client-delete-icon:disabled {
  background:#f4f7fb!important;
  color:#9aabc0!important;
  border-color:#e1e7ef!important;
  opacity:.65!important;
  cursor:not-allowed!important;
}
.arm-wrap .arm-client-directory .arm-client-delete-icon:focus-visible{
  outline:2px solid #2d5ccd!important;
  outline-offset:2px!important;
}

/* Review Receipts: server-paginated directory with accessible column sorting. */
.arm-wrap .arm-receipts-table th .arm-receipt-sort{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  color:#334966!important;text-decoration:none!important;font-weight:750;
}
.arm-wrap .arm-receipts-table th .arm-receipt-sort:hover{
  color:#2257be!important;text-decoration:underline!important;text-underline-offset:3px;
}
.arm-wrap .arm-receipts-table th .arm-receipt-sort:focus-visible{
  outline:2px solid #316add;outline-offset:3px;border-radius:2px;
}
.arm-wrap .arm-receipt-sort-indicator{color:#607ca8;font-size:13px;line-height:1;font-weight:800}
.arm-wrap .arm-receipts-table th[aria-sort] .arm-receipt-sort-indicator{color:#245ac0}
.arm-wrap .arm-receipt-pagination{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  flex-wrap:wrap;margin:12px 0;padding:13px 16px;
  border-radius:12px;border:1px solid #e0e8f3;background:#fff;
}
.arm-wrap .arm-receipt-page-summary{font-size:13px;color:#586d89;font-weight:650}
.arm-wrap .arm-receipt-page-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.arm-wrap .arm-receipt-page-link,.arm-wrap .arm-receipt-page-current{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:36px;min-height:36px;padding:7px 10px;
  border-radius:8px;border:1px solid #dbe4f2;
  box-sizing:border-box;font-size:13px;font-weight:750;line-height:1.1;
  text-decoration:none!important;
}
.arm-wrap .arm-receipt-page-link{color:#3d5577;background:#f4f7fb}
.arm-wrap .arm-receipt-page-link:hover{color:#224c9d;background:#eaf1ff;border-color:#b9ccef}
.arm-wrap .arm-receipt-page-link:focus-visible{outline:2px solid #316add;outline-offset:2px}
.arm-wrap .arm-receipt-page-current{background:#2756b5;color:#fff;border-color:#2756b5}
.arm-wrap .arm-receipt-page-gap{font-size:13px;color:#73839a;padding:0 3px}
.arm-wrap .arm-receipts-empty{padding:22px 14px!important;color:#61758e;text-align:center}
@media(max-width:640px){
  .arm-wrap .arm-receipt-pagination{align-items:flex-start;flex-direction:column}
  .arm-wrap .arm-receipt-page-links{gap:4px}
  .arm-wrap .arm-receipt-page-link,.arm-wrap .arm-receipt-page-current{min-height:33px;min-width:33px;padding:6px 8px}
}


/* Frontend sort, filter, chart and report updates without page reload. */
.arm-wrap #arm-async-content{transition:opacity .12s ease-out}
.arm-wrap #arm-async-content[aria-busy="true"]{opacity:.65;pointer-events:none}
.arm-wrap .arm-async-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.arm-wrap #arm-async-content{transition:none}}

/* Milton v2.0 — Client entry/edit: three fields and submit button on one desktop row.
   Override historical 310px/350px flex widths and the legacy two-column grid. */
.arm-wrap .arm-client-entry-panel {
  width:100%!important;
  max-width:1100px!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr) max-content!important;
  align-items:end!important;
  justify-content:stretch!important;
  column-gap:14px!important;
  row-gap:14px!important;
  flex-wrap:nowrap!important;
  margin:0!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row > label.arm-field {
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 auto!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:end!important;
  gap:8px!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row > label.arm-field > input,
.arm-wrap .arm-client-entry-panel .arm-client-entry-row > label.arm-field > select {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row > button.arm-btn {
  position:static!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  align-self:end!important;
  justify-self:start!important;
  width:auto!important;
  min-height:48px!important;
  height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
@media (max-width:960px) {
  .arm-wrap .arm-client-entry-panel .arm-client-entry-row {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:600px) {
  .arm-wrap .arm-client-entry-panel .arm-client-entry-row {
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* Milton v2.0: full-width client form and generated expense report.
   Match the other workspace panels; never constrain these panels to 1100px. */
.arm-wrap #arm-async-content > .arm-panel.arm-client-entry-panel,
.arm-wrap #arm-async-content > .arm-panel.arm-report-sheet {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.arm-wrap .arm-client-entry-panel .arm-client-entry-form,
.arm-wrap .arm-report-sheet .arm-table {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
/* Keep the report table at the expanded panel width without forcing overflow. */
.arm-wrap .arm-report-sheet .arm-table table {width:100%!important}
/* Milton v2.0 | approved light accounting workspace refinement
   Presentation-only: no handlers, forms, roles, or calculations changed. */
.arm-wrap {
  --mas-ink:#152c4a;
  --mas-muted:#5f748e;
  --mas-line:#e2e9f3;
  --mas-brand:#245bd5;
  --mas-shadow:0 10px 27px rgba(27,49,85,.042);
  color:var(--mas-ink)!important;
  background:linear-gradient(180deg,#f6f9fd 0%,#f8fafc 63%,#f9fbfd 100%)!important;
  border-radius:20px!important;
  padding:24px 24px 44px!important;
  font-size:14px;
}
.arm-wrap .arm-head {
  padding:27px 30px!important;
  border-radius:18px!important;
  border:1px solid var(--mas-line)!important;
  background:linear-gradient(114deg,#fff 0%,#fcfdff 72%,#f4f8ff 100%)!important;
  box-shadow:var(--mas-shadow)!important;
}
.arm-wrap .arm-head:before{display:none!important}
.arm-wrap .arm-head h1{font-size:clamp(23px,2.1vw,28px)!important;line-height:1.2!important;letter-spacing:-.035em!important;font-weight:800!important;color:#152c4a!important;margin:0 0 7px!important}
.arm-wrap .arm-head>p{font-size:13px!important;color:#627894!important;line-height:1.55!important}
.arm-wrap .arm-head .arm-user-profile{background:#fff!important;border:1px solid #e2e9f3!important;border-radius:12px!important;box-shadow:0 2px 7px rgba(30,58,95,.04)!important}
.arm-wrap .arm-tabs {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:4px!important;width:100%!important;max-width:100%!important;
  margin:14px 0 25px!important;padding:7px!important;
  border-radius:15px!important;background:#fff!important;
  border:1px solid var(--mas-line)!important;box-shadow:var(--mas-shadow)!important;
}
.arm-wrap .arm-tabs>a{flex:1 1 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:45px!important;padding:11px 9px!important;font-size:13px!important;font-weight:750!important;
  border-radius:10px!important;color:#556b86!important;gap:7px!important;box-shadow:none!important}
.arm-wrap .arm-tabs>a.current{background:#edf3ff!important;color:#225ad5!important;box-shadow:inset 0 0 0 1px #dce7ff!important}
.arm-wrap .arm-tabs>a:not(.current):hover{background:#f6f9fe!important;color:#245bd5!important}
.arm-wrap .arm-tabs .arm-nav-icon{height:17px!important;width:17px!important;flex:0 0 17px}
.arm-wrap .arm-tabs>details.arm-more-nav{align-self:center!important;align-items:center!important}
.arm-wrap .arm-tabs>details.arm-more-nav>summary.arm-more-toggle{top:0!important;height:45px!important;min-height:45px!important;padding:11px 12px!important;
  font-size:13px!important;color:#556b86!important;line-height:1.2!important}
.arm-wrap .arm-more-list{top:calc(100% + 6px)!important;border-radius:12px!important;border:1px solid #dce5f1!important;box-shadow:0 14px 30px rgba(18,42,79,.15)!important;padding:9px!important;min-width:200px!important}
.arm-wrap .arm-section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 2px 15px!important}
.arm-wrap .arm-section-heading .arm-section-kicker{display:none!important}
.arm-wrap .arm-section-heading h2{font-size:clamp(22px,2vw,25px)!important;line-height:1.2!important;letter-spacing:-.035em!important;font-weight:800!important;margin:0!important}
.arm-wrap .arm-section-date{border:1px solid #e3ebf5!important;background:#fff!important;border-radius:10px!important;color:#7589a4!important;
  padding:10px 13px!important;font-size:12px!important;font-weight:700!important;white-space:nowrap}
/* Consistent panels, metrics and headings for every workspace section. */
.arm-wrap #arm-async-content>.arm-panel, .arm-wrap #arm-async-content>.arm-metrics+.arm-panel {
  width:100%!important;max-width:none!important;min-width:0!important;
  border:1px solid var(--mas-line)!important;border-radius:18px!important;
  background:#fff!important;box-shadow:var(--mas-shadow)!important;
  padding:25px 28px!important;margin:0 0 17px!important;
}
.arm-wrap #arm-async-content .arm-panel>h2,.arm-wrap #arm-async-content .arm-client-directory-head h2 {
  font-size:18px!important;font-weight:800!important;line-height:1.3!important;
  letter-spacing:-.025em!important;color:#152c4a!important;
  margin:0 0 17px!important;
}
.arm-wrap #arm-async-content .arm-panel>h2+p{font-size:13px!important;color:#647994!important;line-height:1.6!important;margin-top:-7px!important;margin-bottom:21px!important}
.arm-wrap .arm-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important}
.arm-wrap .arm-metric{min-width:0!important;min-height:124px!important;background:#fff!important;border:1px solid var(--mas-line)!important;
  box-shadow:var(--mas-shadow)!important;border-radius:16px!important;padding:19px 21px!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
.arm-wrap .arm-metric:nth-child(4){background:#f7faff!important;border-color:#d6e4ff!important}
.arm-wrap .arm-metric-label{font-size:12px!important;font-weight:750!important;color:#657b96!important;letter-spacing:0!important}
.arm-wrap .arm-metric strong{font-size:clamp(23px,2.1vw,29px)!important;line-height:1.15!important;margin:1px 0!important;
  font-weight:800!important;letter-spacing:-.035em!important;color:#1d3454!important}
.arm-wrap .arm-metric:nth-child(4) strong{color:#245bd5!important}
.arm-wrap .arm-metric-foot{font-size:11px!important;line-height:1.45!important;color:#8395ac!important;font-weight:500!important}
/* Form controls: one coherent style for selectors, search and input fields. */
.arm-wrap label.arm-field{gap:8px!important;color:#39516f!important;min-width:0}
.arm-wrap label.arm-field>b{font-size:12px!important;font-weight:800!important;color:#39516f!important;line-height:1.5!important}
.arm-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.arm-wrap select,.arm-wrap textarea{
  border:1px solid #d9e3ef!important;background-color:#f4f7fb!important;border-radius:10px!important;
  color:#213955!important;box-shadow:0 1px 1px rgba(23,54,95,.025)!important;
  font-family:inherit!important;font-size:16px!important;
}
.arm-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.arm-wrap select{height:48px!important;min-height:48px!important}
.arm-wrap select[name="client_id"],.arm-wrap select[name="category"]{
  border-color:#d5e0ee!important;background-color:#f4f7fb!important;font-size:16px!important;font-weight:650!important;
  padding-right:42px!important;background-position:right 13px center!important;background-size:17px 17px!important;
}
.arm-wrap textarea{min-height:110px!important}
.arm-wrap input:not([type=file]):focus,.arm-wrap select:focus,.arm-wrap textarea:focus{background-color:#fff!important;
  border-color:#7398dd!important;box-shadow:0 0 0 3px rgba(48,100,214,.11)!important}
.arm-wrap input::placeholder,.arm-wrap textarea::placeholder{color:#8ea1b8!important;opacity:1}
.arm-wrap .arm-btn,.arm-wrap button:not(.notice-dismiss):not(.arm-client-sort):not(.arm-client-switch):not(.arm-receipt-toggle):not(.arm-client-page-step),
.arm-wrap .button{border-radius:10px!important;font-weight:750!important;letter-spacing:0!important;box-shadow:0 5px 12px rgba(36,91,213,.1)}
.arm-wrap .arm-btn:hover,.arm-wrap button:not(.notice-dismiss):not(.arm-client-sort):not(.arm-client-switch):not(.arm-receipt-toggle):not(.arm-client-page-step):hover{
  box-shadow:0 7px 16px rgba(36,91,213,.15)}
.arm-wrap .arm-btn.secondary,.arm-wrap .arm-btn.arm-btn-small.secondary{background:#f6f9fe!important;border:1px solid #e0e8f2!important;color:#466489!important;box-shadow:none!important}
.arm-wrap .arm-btn.secondary:hover{background:#ebf2ff!important;color:#2556b5!important}
/* Table contrast and row rhythm, including reports, T2 and receipt review. */
.arm-wrap .arm-table{max-width:100%!important;overflow-x:auto;padding-top:0!important;border:1px solid #e2e9f3;border-radius:12px;background:#fff}
.arm-wrap .arm-table table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-size:14px!important;line-height:1.5!important}
.arm-wrap .arm-table th{background:#f0f4fb!important;color:#48617f!important;
  font-size:11.5px!important;font-weight:800!important;letter-spacing:.03em!important;
  line-height:1.4!important;text-transform:uppercase!important;padding:15px 14px!important;vertical-align:middle!important}
.arm-wrap .arm-table td{font-size:14px!important;color:#324967!important;line-height:1.55!important;
  padding:15px 14px!important;border-color:#e9eef5!important;vertical-align:middle!important}
.arm-wrap .arm-table tr:hover>td{background:#f8fbff!important}
.arm-wrap .arm-table td b,.arm-wrap .arm-table td strong{color:#203d66}
.arm-wrap .arm-table tr.arm-category-heading th{background:#edf3ff!important;color:#204b92!important;font-size:13px!important;text-transform:none!important}
.arm-wrap .arm-table tr.arm-category-total th{background:#eaf2ff!important;font-size:14px!important;color:#1e4887!important;text-transform:none!important}
.arm-wrap .arm-table tr.arm-category-total th:nth-child(2){font-size:16px!important}
/* Client entry and directory: preserve the full-width single-row design. */
.arm-wrap #arm-async-content>.arm-client-entry-panel,.arm-wrap #arm-async-content>.arm-report-sheet{
  width:100%!important;min-width:0!important;max-width:none!important;margin-inline:0!important}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr) max-content!important;
  column-gap:13px!important;row-gap:14px!important;align-items:end!important}
.arm-wrap .arm-client-entry-panel .arm-client-entry-row>button.arm-btn{height:48px!important;min-height:48px!important;
  padding:0 19px!important;align-self:end!important;transform:none!important}
.arm-wrap .arm-client-directory-head{margin-bottom:17px!important;align-items:center!important;gap:15px!important}
.arm-wrap #arm-async-content .arm-client-directory-head h2{margin:0!important}
.arm-wrap .arm-client-directory-head input#arm-client-search{
  width:260px!important;max-width:100%!important;height:46px!important;min-height:46px!important;
  border:1px solid #d9e3ef!important;border-radius:11px!important;
  font-size:15px!important;padding-left:39px!important;padding-right:14px!important;background-color:#f4f7fb!important;
}
.arm-wrap .arm-client-directory .arm-table{padding:0!important}
.arm-wrap .arm-client-directory .arm-table th{font-size:11.5px!important;color:#48617f!important;background:#f0f4fb!important;padding:14px 12px!important}
.arm-wrap .arm-client-directory .arm-table td{font-size:14px!important;padding:15px 12px!important}
.arm-wrap .arm-client-directory .arm-client-sort{font-size:11.5px!important;letter-spacing:.02em!important;color:#48617f!important}
.arm-wrap .arm-client-directory .arm-actions{align-items:center!important;gap:5px!important}
.arm-wrap .arm-client-directory .arm-actions>a.arm-btn{font-size:12px!important;min-height:34px!important;padding:7px 11px!important;border-radius:9px!important}
.arm-wrap .arm-client-directory .arm-client-switch{min-height:34px!important}
.arm-wrap .arm-client-directory .arm-client-page-nav button{box-shadow:none!important;border-radius:9px!important}
.arm-wrap .arm-client-directory .arm-client-pagination{border-top:1px solid #ecf0f6!important;margin-top:14px!important;padding-top:14px!important}
/* Reports: emphasize reconciled figures and the printed grand total. */
.arm-wrap .arm-report-controls .arm-report-filter{gap:14px!important;align-items:flex-end!important}
.arm-wrap .arm-report-controls .arm-report-filter>.arm-field{flex:1 1 240px!important;width:auto!important;max-width:none!important}
.arm-wrap .arm-report-controls .arm-report-filter>.arm-btn{height:48px!important;align-self:flex-end!important;box-shadow:0 5px 12px rgba(36,91,213,.1)!important}
.arm-wrap .arm-report-heading{align-items:center!important;margin-bottom:16px!important}
.arm-wrap .arm-report-heading h2{font-size:clamp(23px,2vw,27px)!important;letter-spacing:-.03em!important;font-weight:800!important}
.arm-wrap .arm-report-sheet .arm-table th{font-size:12px!important;letter-spacing:.04em!important;padding:15px 16px!important}
.arm-wrap .arm-report-sheet .arm-table td{font-size:15px!important;padding:18px 16px!important;line-height:1.5!important}
.arm-wrap .arm-report-sheet .arm-table td:last-child{font-weight:750!important;color:#204375!important}
.arm-wrap .arm-report-sheet .arm-report-total th,.arm-wrap .arm-report-sheet .arm-report-total td{
  background:#eaf2ff!important;color:#19417a!important;font-size:16px!important;font-weight:850!important;letter-spacing:.015em!important}
.arm-wrap .arm-report-sheet>.arm-warning,.arm-wrap .arm-t2-alert{border:1px solid #f4e0b9!important;border-left-width:3px!important;
  background:#fff9ec!important;border-radius:10px!important;color:#916b27!important;
  padding:14px 16px!important;line-height:1.55!important}
.arm-wrap .arm-report-sheet .arm-note{color:#8497af!important;font-size:12px!important;margin-top:15px!important}
/* Chart and review: clearer context, softer category filters and paging. */
.arm-wrap .arm-chart-filter,.arm-wrap .arm-search-form{align-items:flex-end!important;gap:13px!important}
.arm-wrap .arm-chart-summary{font-size:15px!important;color:#516883!important;margin:16px 0 20px!important}
.arm-wrap .arm-chart-summary strong{color:#245bd5!important;font-weight:800!important}
.arm-wrap .arm-chart-track{background:#f0f4fb!important;border-radius:8px!important}
.arm-wrap .arm-chart-bar{background:linear-gradient(180deg,#528af0,#245bd5)!important;border-radius:6px 6px 0 0!important}
.arm-wrap .arm-monthly-chart{gap:9px!important;padding-top:18px!important}
.arm-wrap .arm-receipt-pagination{border-color:#e2e9f3!important;background:#f9fbfe!important;border-radius:10px!important}
.arm-wrap .arm-receipt-page-link{background:#fff!important;border-color:#e0e7f2!important}
.arm-wrap .arm-receipt-page-current{background:#245bd5!important;border-color:#245bd5!important}
.arm-wrap .arm-client-context{background:#f3f7ff!important;border-color:#d7e6fc!important;border-left-color:#245bd5!important;border-radius:12px!important}
.arm-wrap .arm-dropzone{border:2px dashed #b6cdee!important;border-radius:15px!important;background:#f6f9ff!important;min-height:222px!important}
.arm-wrap .arm-dropzone:hover,.arm-wrap .arm-dropzone.is-dragging{border-color:#245bd5!important;background:#edf4ff!important}
.arm-wrap .arm-drop-icon{background:#e7efff!important;border-radius:13px!important}
.arm-wrap .arm-dropzone strong{font-size:16px!important;color:#203b5d!important}
.arm-wrap .arm-drop-hint{font-size:12px!important;color:#7d91ab!important}
.arm-wrap .arm-progress-track{background:#e4edf8!important;height:9px!important}
.arm-wrap .arm-progress-fill{background:#245bd5!important}
/* Backups, data safety, help, T2 and staff notices share the same visual rhythm. */
.arm-wrap .arm-safety-card{background:#f7faff!important;border-color:#e0e9f5!important;border-radius:12px!important}
.arm-wrap .arm-t2-steps{background:#f5f8ff!important;border-color:#dde8f8!important;border-radius:12px!important}
.arm-wrap .arm-help-top,.arm-wrap .arm-help-topic,.arm-wrap .arm-help-faq-compact{
  border-color:#e2e9f3!important;border-radius:13px!important;box-shadow:0 3px 15px rgba(27,49,85,.04)!important}
.arm-wrap .arm-backup-permissions-info{background:#eaf3ff!important;border-color:#b9d3f8!important;border-left-color:#245bd5!important}
.arm-wrap>.notice{border-radius:11px!important}
/* Preserve the approved 80vw workspace on desktop; fit small screens comfortably. */
@media(max-width:1200px){
  .arm-wrap .arm-tabs>a{font-size:12px!important;gap:6px!important;padding-inline:7px!important}
  .arm-wrap .arm-tabs .arm-nav-icon{width:16px!important;height:16px!important}
}
@media(max-width:960px){
  .arm-wrap .arm-client-entry-panel .arm-client-entry-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .arm-wrap .arm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .arm-wrap .arm-tabs{flex-wrap:wrap!important;justify-content:flex-start!important}
  .arm-wrap .arm-tabs>a{flex:1 1 155px!important}
  .arm-wrap .arm-report-controls .arm-report-filter>.arm-field{flex:1 1 220px!important}
}
@media(max-width:782px){
  .arm-wrap{padding:15px 14px 28px!important}
  .arm-wrap #arm-async-content>.arm-panel{padding:19px 17px!important}
  .arm-wrap .arm-head{padding:22px 18px!important}
  .arm-wrap .arm-head h1{font-size:22px!important}
  .arm-wrap .arm-head .arm-user-row{position:static!important;transform:none!important;margin:0 0 12px!important;max-width:100%!important;justify-content:flex-end!important}
  .arm-wrap .arm-head h1,.arm-wrap .arm-head>p{max-width:100%!important}
  .arm-wrap .arm-client-directory-head{flex-direction:column!important;align-items:stretch!important}
  .arm-wrap .arm-client-directory-head input#arm-client-search{width:100%!important}
}
@media(max-width:600px){
  .arm-wrap .arm-client-entry-panel .arm-client-entry-row{grid-template-columns:minmax(0,1fr)!important}
  .arm-wrap .arm-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important}
  .arm-wrap .arm-metric{padding:15px!important;min-height:110px!important}
  .arm-wrap .arm-metric strong{font-size:21px!important}
  .arm-wrap .arm-section-heading h2{font-size:21px!important}
  .arm-wrap .arm-section-date{display:none!important}
  .arm-wrap .arm-tabs>a{min-height:43px!important;font-size:12px!important}
  .arm-wrap .arm-report-controls .arm-report-filter>.arm-field{flex:1 1 100%!important;width:100%!important}
}
@media print{
  .arm-wrap{background:#fff!important;padding:0!important}
  .arm-wrap #arm-async-content>.arm-report-sheet{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
  .arm-wrap .arm-report-sheet .arm-table th,.arm-wrap .arm-report-sheet .arm-table td{color:#111!important;border:1px solid #bbb!important;background:#fff!important}
}

/* Companion subheadings for the approved Clients design. */
.arm-wrap .arm-client-entry-panel>.arm-client-entry-hint{font-size:13px!important;line-height:1.55!important;color:#647994!important;margin:-8px 0 18px!important}
.arm-wrap .arm-client-directory-head .arm-client-directory-hint{font-size:12px!important;line-height:1.5!important;color:#8395aa!important;margin:5px 0 0!important}
/* Give client names enough room at desktop widths while keeping narrow-screen tables scrollable. */
@media(min-width:1150px){
  .arm-wrap .arm-client-directory .arm-table td:first-child,
  .arm-wrap .arm-client-directory .arm-table th:first-child{min-width:145px!important}
  .arm-wrap .arm-client-directory .arm-table td:first-child{overflow-wrap:normal!important}
}


/* Direct phone camera upload: no QR connection is required. */
@media(max-width:700px){
 .arm-wrap .arm-upload-panel #arm-camera-button{
   background:#225bc7!important;color:#fff!important;border-color:#225bc7!important;
 }
}
/* Show the result of phone photo preparation in the upload selection area. */
.arm-wrap .arm-upload-optimized-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #24518c;
  font-weight: 650;
}

/* v2.0.6: stable navigation geometry in every More state. */
.arm-wrap .arm-tabs > details.arm-more-nav {
  margin:0!important; padding:0!important; box-sizing:border-box!important;
  display:block!important; align-self:center!important;
  transform:none!important; transition:none!important;
}
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle,
.arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle:hover,
.arm-wrap .arm-tabs > details.arm-more-nav[open] > summary.arm-more-toggle {
  position:static!important; top:auto!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
  height:45px!important; min-height:45px!important; margin:0!important;
  padding:11px 12px!important; box-sizing:border-box!important;
  font-size:13px!important; line-height:1.2!important;
  transform:none!important; transition:color .16s!important;
}
.arm-wrap .arm-tabs > a {box-sizing:border-box!important;line-height:1.2!important}
@media(max-width:600px){
  .arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle,
  .arm-wrap .arm-tabs > details.arm-more-nav > summary.arm-more-toggle:hover,
  .arm-wrap .arm-tabs > details.arm-more-nav[open] > summary.arm-more-toggle {
    height:43px!important;min-height:43px!important;font-size:12px!important;
  }
}

/* Upload remains blue until every batch has been confirmed by the server. */
.arm-wrap .arm-progress-fill.arm-upload-complete{background:#16a34a!important}
.arm-wrap .arm-progress-fill.arm-upload-failed{background:#dc2626!important}

/* Canadian tax review: scoped to the existing accounting workspace. */
.arm-wrap .arm-ca-editor{border:1px solid #dce6f3;border-radius:14px;padding:22px;margin:20px 0;background:#f8fbff}
.arm-wrap .arm-ca-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.arm-wrap .arm-ca-heading h3{margin:0!important}
.arm-wrap .arm-ca-editor p,.arm-wrap .arm-ca-profile p{color:#536780;line-height:1.6;font-size:13px}
.arm-wrap .arm-ca-editor .arm-flex{margin:15px 0}
.arm-wrap .arm-ca-editor .arm-field{flex:1 1 180px;min-width:0}
.arm-wrap .arm-ca-editor input[readonly]{background:#eef2f7}
.arm-wrap .arm-ca-editor textarea{width:100%;box-sizing:border-box}
.arm-wrap .arm-ca-approve{display:block;margin-top:16px;line-height:1.6}
.arm-wrap .arm-ca-calculator{background:#fff;margin:18px 0;padding:16px;border:1px solid #dce6f3}
.arm-wrap .arm-ca-live-total{font-weight:750;color:#234f91!important}
.arm-wrap .arm-ca-breakdown{display:block;white-space:normal;font-size:11px;color:#60718a;margin-top:5px;max-width:150px}
.arm-wrap .arm-ca-profile{margin:0 0 20px;padding:20px;background:#fff}
.arm-wrap .arm-ca-profile form{margin-top:20px}
.arm-wrap .arm-ca-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:22px 0}
.arm-wrap .arm-ca-cards>div{padding:22px;background:#fff;border:1px solid #dce6f3;border-radius:13px}
.arm-wrap .arm-ca-cards span{display:block;color:#637892;font-size:13px}
.arm-wrap .arm-ca-cards strong{display:block;font-size:25px;color:#204f9b;margin-top:9px}
.arm-wrap .arm-ca-summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px;background:#edf6f1;border-radius:10px;color:#205c41}
.arm-wrap .arm-ca-summary strong{font-size:22px;white-space:nowrap}
.arm-wrap .arm-ca-worksheet .arm-flex{margin-bottom:18px}
@media(max-width:782px){.arm-wrap .arm-ca-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.arm-wrap .arm-ca-editor{padding:15px}.arm-wrap .arm-ca-summary{flex-wrap:wrap}}

/* Recorded receipt totals across the current filtered result, including every page. */
.arm-wrap .arm-receipt-totals{margin-top:22px!important}
.arm-wrap .arm-receipt-totals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 12px}
.arm-wrap .arm-receipt-totals-grid>div{padding:18px;border:1px solid #e1e8f2;border-radius:11px;background:#f8faff}
.arm-wrap .arm-receipt-totals-grid span{display:block;color:#61748d;font-size:13px}
.arm-wrap .arm-receipt-totals-grid strong{display:block;margin-top:8px;font-size:25px;color:#1e416c}
.arm-wrap .arm-receipt-totals-grid>.arm-receipt-tax-grand-total{background:#edf6f1;border-color:#cde5d7}
.arm-wrap .arm-receipt-tax-grand-total strong{color:#216342}
.arm-wrap .arm-receipt-totals[aria-busy=true]{opacity:.65}
@media(max-width:600px){.arm-wrap .arm-receipt-totals-grid{grid-template-columns:1fr}.arm-wrap .arm-receipt-totals-grid>div{padding:15px}}

/* Compact receipt controls: retain only the main Review Receipts page title. */
.arm-wrap .arm-panel.arm-receipt-toolbar,
.arm-wrap #arm-async-content>.arm-panel.arm-receipt-toolbar{padding:16px 20px!important;margin-bottom:16px!important;overflow:visible!important;position:relative;z-index:5}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter{gap:10px!important;margin:0!important}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-field{flex:0 1 300px!important;width:300px!important;gap:5px!important}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-review-status-field{flex-basis:240px!important;width:240px!important}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-field>b{font-size:11px!important;line-height:16px!important}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-field>select{height:38px!important;min-height:38px!important;padding:0 11px!important;font-size:13px!important;border-radius:9px!important}
.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-btn{height:38px!important;min-height:38px!important;padding:0 13px!important;font-size:12px!important;border-radius:9px!important}
.arm-wrap .arm-receipt-toolbar details.arm-receipt-search{position:relative;flex:0 0 38px!important;align-self:flex-end;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:9px!important}
.arm-wrap .arm-receipt-search>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;border:1px solid #dce6f3!important;border-radius:9px!important;background:#f5f8fd!important;color:#45678e!important;cursor:pointer}
.arm-wrap .arm-receipt-search>summary::-webkit-details-marker{display:none}
.arm-wrap .arm-receipt-search>summary::marker{content:''}
.arm-wrap .arm-receipt-search[open]>summary,.arm-wrap .arm-receipt-search.has-search>summary{color:#245bd5!important;border-color:#a8c3ed!important;background:#edf3ff!important}
.arm-wrap .arm-receipt-search>summary:focus-visible{outline:3px solid #3978e8;outline-offset:2px}
.arm-wrap .arm-receipt-search:not([open])>.arm-receipt-search-popover{display:none!important}
.arm-wrap .arm-receipt-search-popover{position:absolute;top:calc(100% + 8px);left:0;z-index:70;display:flex;align-items:center;gap:7px;width:min(320px,calc(100vw - 70px));padding:10px;border:1px solid #dce6f3;border-radius:11px;background:#fff;box-shadow:0 12px 28px rgba(24,47,82,.15)}
.arm-wrap .arm-receipt-toolbar .arm-receipt-search-popover input[type=search]{flex:1 1 auto!important;width:0!important;min-width:0!important;height:36px!important;min-height:36px!important;margin:0!important;font-size:12px!important;padding:0 9px!important}
.arm-wrap .arm-receipt-search-popover>.arm-btn{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 36px!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:8px!important}
@media(max-width:850px){.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-field{flex:1 1 200px!important;width:auto!important}.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-review-status-field{flex-basis:180px!important;width:auto!important}}
@media(max-width:600px){.arm-wrap .arm-panel.arm-receipt-toolbar,.arm-wrap #arm-async-content>.arm-panel.arm-receipt-toolbar{padding:14px!important}.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-field{flex:1 1 100%!important;width:100%!important}.arm-wrap .arm-receipt-toolbar .arm-receipt-filter>.arm-btn{padding:0 10px!important;font-size:11px!important}}

/* Category stays within the receipt row; no additional category heading rows. */
.arm-wrap .arm-category-badge{display:inline-flex;align-items:center;max-width:150px;height:22px;padding:2px 8px;overflow:hidden;border-radius:999px;background:#eaf2ff;color:#28588f;font-size:11px;font-weight:700;line-height:18px;white-space:nowrap;vertical-align:middle;text-overflow:ellipsis}

/* Totals-by-category controls share one bottom edge and a 48px control height. */
.arm-wrap form.arm-category-filter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;align-items:end!important;gap:16px!important}
.arm-wrap form.arm-category-filter>label.arm-field{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
.arm-wrap form.arm-category-filter>label.arm-field>b{display:block!important;margin:0!important;line-height:18px!important}
.arm-wrap form.arm-category-filter>label.arm-field>select{display:block!important;width:100%!important;height:48px!important;min-height:48px!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
.arm-wrap form.arm-category-filter>button.arm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:end!important;width:auto!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 17px!important;position:static!important;top:auto!important;bottom:auto!important;transform:none!important;box-sizing:border-box!important;white-space:nowrap!important}
@media(max-width:700px){.arm-wrap form.arm-category-filter{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.arm-wrap form.arm-category-filter>button.arm-btn{width:100%!important}}

/* Keep the client-directory count heading together, including fixed-layout desktop tables. */
.arm-wrap .arm-client-directory .arm-table th.arm-current-receipts-heading{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}

/* GST/HST report and profile actions align with the field controls. */
.arm-wrap form.arm-ca-report-filter,.arm-wrap .arm-ca-profile-fields{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto!important;align-items:end!important;gap:16px!important}
.arm-wrap form.arm-ca-report-filter>label.arm-field,.arm-wrap .arm-ca-profile-fields>label.arm-field{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
.arm-wrap form.arm-ca-report-filter>label.arm-field>b,.arm-wrap .arm-ca-profile-fields>label.arm-field>b{margin:0!important;line-height:18px!important}
.arm-wrap form.arm-ca-report-filter>label.arm-field>input,.arm-wrap form.arm-ca-report-filter>label.arm-field>select,.arm-wrap .arm-ca-profile-fields>label.arm-field>input,.arm-wrap .arm-ca-profile-fields>label.arm-field>select{width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;margin:0!important;box-sizing:border-box!important}
.arm-wrap form.arm-ca-report-filter>button.arm-btn,.arm-wrap .arm-ca-profile-fields>button.arm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:end!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 16px!important;position:static!important;top:auto!important;bottom:auto!important;transform:none!important;white-space:nowrap!important;box-sizing:border-box!important}
.arm-wrap .arm-ca-recorded-heading{margin:24px 2px 0}
.arm-wrap .arm-ca-recorded-heading h3{margin:0 0 7px}
.arm-wrap .arm-ca-recorded-heading p{font-size:13px;color:#62758f;line-height:1.6;margin:0}
@media(max-width:850px){.arm-wrap form.arm-ca-report-filter,.arm-wrap .arm-ca-profile-fields{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.arm-wrap form.arm-ca-report-filter>button.arm-btn,.arm-wrap .arm-ca-profile-fields>button.arm-btn{width:100%!important}}

/* Verified receipts: apply the requested tint to every cell, including on hover. */
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="verified"]>td,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="verified"]:hover>td{background-color:#edf6f1!important}

/* Disabled receipts: light red background on every cell, including on hover. */
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="disabled"]>td,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="disabled"]:hover>td{background-color:#fdf0f0!important}

/* v2.1.12 — readable compact Review Receipts rows (other tables remain unchanged). */
.arm-wrap .arm-receipts-table table{width:100%!important;min-width:1080px!important;font-size:14px!important;line-height:1.35!important}
.arm-wrap .arm-receipts-table th{padding:10px 10px!important;font-size:12px!important;font-weight:800!important;line-height:1.3!important;white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td{padding:8px 10px!important;font-size:14px!important;line-height:1.35!important;vertical-align:middle!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(2),
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(4),
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(7),
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(9){white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(5){min-width:170px}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(8){min-width:145px}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:last-child{min-width:255px;white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions{gap:6px!important;flex-wrap:nowrap!important;align-items:center!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-btn-small{min-height:30px!important;height:30px!important;box-sizing:border-box!important;padding:5px 9px!important;font-size:12px!important;line-height:18px!important;white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-rescan-icon-button{width:30px!important;min-width:30px!important;padding:0!important;font-size:16px!important;line-height:1!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-recycle-icon-button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-recycle-icon-button .arm-trash-icon{width:15px!important;height:15px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-receipt-toggle{min-height:30px!important;padding:2px!important}
.arm-wrap .arm-receipts-table .arm-category-badge{height:22px!important;max-width:140px!important;padding:2px 8px!important;font-size:11px!important;line-height:18px!important}
.arm-wrap .arm-receipts-table .arm-dupe-flag{display:table!important;margin-top:4px!important;padding:3px 6px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-status{font-size:11.5px!important;white-space:nowrap!important;padding:5px 9px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td small{font-size:11px!important;line-height:1.25!important}
@media(max-width:1100px){.arm-wrap .arm-receipts-table{overflow-x:auto!important}}


/* v2.1.14 — tighten Review Receipts action column and remove forced desktop scrollbar. */
.arm-wrap .arm-receipts-table{overflow-x:hidden!important}
.arm-wrap .arm-receipts-table table{min-width:1000px!important}
.arm-wrap .arm-receipts-table th:last-child{width:176px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(5){min-width:150px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(8){min-width:122px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:last-child{min-width:176px!important;width:176px!important;padding-left:8px!important;padding-right:8px!important;white-space:nowrap!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important;width:auto!important;margin:0!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions>*{flex:0 0 auto!important;align-self:center!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-btn-small{padding:5px 8px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-rescan-icon-button,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-recycle-icon-button{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle{min-width:32px!important}
@media(max-width:1100px){.arm-wrap .arm-receipts-table{overflow-x:auto!important}.arm-wrap .arm-receipts-table table{min-width:1000px!important}}

/* v2.1.13 — consistent visual polish throughout Milton Accounting.
   Presentation only; receipt fields, report totals and actions are untouched. */
.arm-wrap{--mas-line:#e0e8f2!important;--mas-shadow:0 5px 22px rgba(29,58,94,.045)!important}
.arm-wrap .arm-head{border-color:#e0e8f2!important;box-shadow:0 5px 24px rgba(29,58,94,.045)!important}
.arm-wrap .arm-tabs{border-color:#e0e8f2!important;box-shadow:0 3px 14px rgba(29,58,94,.035)!important}
.arm-wrap .arm-tabs a{transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.arm-wrap .arm-panel{border-color:#e2eaf3!important;box-shadow:0 5px 19px rgba(29,58,94,.038)!important}
.arm-wrap .arm-panel h2{line-height:1.35!important}
.arm-wrap .arm-panel h2+p{line-height:1.6!important}
.arm-wrap .arm-metric{border-color:#e0e8f3!important;box-shadow:0 4px 17px rgba(29,58,94,.038)!important}
.arm-wrap .arm-metric-label{line-height:1.4!important}
.arm-wrap .arm-field{min-width:0}
.arm-wrap .arm-field>b,.arm-wrap label.arm-field>b{line-height:1.4!important}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.arm-wrap select,.arm-wrap textarea{border-color:#d6e1ed;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):hover,
.arm-wrap select:hover,.arm-wrap textarea:hover{border-color:#b9cbe2}
.arm-wrap textarea{line-height:1.55;resize:vertical}
.arm-wrap .arm-btn,.arm-wrap .button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
.arm-wrap .arm-btn:focus-visible,.arm-wrap button:focus-visible,.arm-wrap select:focus-visible{outline:2px solid #4f83ec!important;outline-offset:2px!important}
.arm-wrap .arm-warning{line-height:1.6!important}
.arm-wrap .arm-note{line-height:1.6!important}
/* General data tables: readable numbers, quiet dividers and calmer hover.
   Receipt list retains its dedicated compact rules; print styles are separate. */
@media screen{
  .arm-wrap .arm-table table{font-variant-numeric:tabular-nums}
  .arm-wrap .arm-table th{border-bottom:1px solid #dce6f2;color:#435d7e}
  .arm-wrap .arm-table td{border-bottom-color:#e6edf5}
  .arm-wrap .arm-table tr:hover>td{background-color:#f7faff}
  .arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="verified"]>td,
  .arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="verified"]:hover>td{background:#edf6f1!important}
  .arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="disabled"]>td,
  .arm-wrap .arm-receipts-table tr[data-arm-receipt-row][data-status="disabled"]:hover>td{background:#fdf0f0!important}
  .arm-wrap .arm-receipts-table .arm-rescan-icon-button:focus-visible{outline:2px solid #306bde!important}
  .arm-wrap .arm-report-sheet .arm-table td{line-height:1.4!important}
  .arm-wrap .arm-report-sheet .arm-table th{line-height:1.35!important}
  .arm-wrap .arm-client-directory .arm-actions{align-items:center}
  .arm-wrap details[open]>summary{margin-bottom:8px}
}
@media(max-width:760px){
  .arm-wrap .arm-metrics{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important}
  .arm-wrap .arm-metric{min-height:120px!important;padding:17px!important}
  .arm-wrap .arm-panel{border-radius:13px!important}
  .arm-wrap .arm-panel h2{overflow-wrap:break-word}
  .arm-wrap .arm-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(prefers-reduced-motion:reduce){
  .arm-wrap .arm-btn,.arm-wrap .arm-tabs a,.arm-wrap input,.arm-wrap select,.arm-wrap textarea{transition:none!important}
}

/* v2.1.15 Laptop and tablet responsiveness; full-HD styling remains unchanged. */
@media screen and (min-width:1101px) and (max-width:1600px){
 .arm-wrap{box-sizing:border-box;width:calc(100% - 18px);max-width:1500px}
 .arm-wrap .arm-receipts-table{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .arm-wrap .arm-receipts-table table{width:100%!important;min-width:1000px!important}
 .arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td,.arm-wrap .arm-receipts-table th{padding-left:7px!important;padding-right:7px!important}
 .arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(5){min-width:140px!important}
 .arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:nth-child(8){min-width:110px!important}
 .arm-wrap .arm-receipts-table tr[data-arm-receipt-row]>td:last-child{min-width:176px!important}
}
@media screen and (max-width:1100px){
 .arm-wrap{box-sizing:border-box;max-width:100%}
 .arm-wrap .arm-receipts-table{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .arm-wrap .arm-receipts-table table{width:100%!important;min-width:1000px!important}
 .arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions{flex-wrap:nowrap!important}
}
@media screen and (max-width:782px){
 .arm-wrap{width:auto;max-width:100%;margin-left:0!important;margin-right:0!important}
 .arm-wrap .arm-panel.arm-receipts-table{padding-left:10px!important;padding-right:10px!important}
}

/* v2.1.16: Help page aligns to the full workspace / header width. */
.arm-wrap #arm-async-content .arm-help-compact{width:100%;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box;min-width:0}
.arm-wrap .arm-help-top,.arm-wrap .arm-help-topics,.arm-wrap .arm-help-faq-compact{width:100%;box-sizing:border-box;min-width:0}
.arm-wrap .arm-help-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
.arm-wrap .arm-help-topic{min-width:0}
@media(max-width:760px){.arm-wrap .arm-help-topics{grid-template-columns:minmax(0,1fr)}.arm-wrap .arm-help-topic summary{padding:13px;gap:10px}.arm-wrap .arm-help-top{padding:17px}}

/* v2.1.17: Common questions is guide 14, a regular grid accordion. */
.arm-wrap .arm-help-topic .arm-help-faq-body{padding:15px 17px 18px}
.arm-wrap .arm-help-topic .arm-help-faq-body p:last-child{margin-bottom:0}


/* v2.2.0 — design system refresh for controls, filters, buttons and alerts.
   Keeps the existing workspace structure and colors, while giving fields and actions
   a cleaner, more consistent style inspired by a modern component system. */
.arm-wrap{
 --mas-control-height:42px;
 --mas-control-radius:8px;
 --mas-control-border:#dbe3ef;
 --mas-control-hover:#c5d5e8;
 --mas-control-focus:#3f76e8;
 --mas-control-bg:#ffffff;
 --mas-control-muted:#6d8098;
 --mas-button-shadow:0 2px 8px rgba(40,91,209,.10);
 --mas-button-shadow-hover:0 5px 16px rgba(40,91,209,.16);
}
.arm-wrap .arm-flex,
.arm-wrap .arm-actions{align-items:flex-end}
.arm-wrap .arm-field,
.arm-wrap .arm-field b,
.arm-wrap label.arm-field b{font-size:13px;font-weight:700;color:#2d4669}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.arm-wrap select,
.arm-wrap textarea,
.arm-wrap .arm-client-directory-search-input{
 background:var(--mas-control-bg)!important;
 color:#203754!important;
 border:1px solid var(--mas-control-border)!important;
 border-radius:var(--mas-control-radius)!important;
 min-height:var(--mas-control-height)!important;
 padding:9px 13px!important;
 font-size:14px!important;
 line-height:1.35!important;
 box-shadow:none!important;
}
.arm-wrap textarea{min-height:110px!important;padding-top:11px!important;padding-bottom:11px!important}
.arm-wrap input::placeholder,
.arm-wrap textarea::placeholder,
.arm-wrap .arm-client-directory-search-input::placeholder{color:#8a9bb0;opacity:1}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):hover,
.arm-wrap select:hover,
.arm-wrap textarea:hover,
.arm-wrap .arm-client-directory-search-input:hover{border-color:var(--mas-control-hover)!important}
.arm-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):focus,
.arm-wrap select:focus,
.arm-wrap textarea:focus,
.arm-wrap .arm-client-directory-search-input:focus{
 border-color:var(--mas-control-focus)!important;
 box-shadow:0 0 0 3px rgba(63,118,232,.12)!important;
 outline:0!important;
}
.arm-wrap select{
 appearance:none;
 -webkit-appearance:none;
 -moz-appearance:none;
 padding-right:38px!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23677994' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat:no-repeat;
 background-position:right 13px center;
 background-size:12px 8px;
}
.arm-wrap input[type=date],
.arm-wrap input[type=number],
.arm-wrap input[type=search]{padding-right:13px!important}
.arm-wrap .arm-btn,
.arm-wrap .button,
.arm-wrap button:not(.notice-dismiss):not(.arm-client-sort):not(.arm-more-toggle):not(.arm-help-toggle){
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:6px!important;
 min-height:var(--mas-control-height)!important;
 border-radius:var(--mas-control-radius)!important;
 padding:0 16px!important;
 font-size:14px!important;
 font-weight:700!important;
 line-height:1!important;
 vertical-align:middle!important;
 text-align:center!important;
 box-shadow:var(--mas-button-shadow)!important;
}
.arm-wrap .arm-btn:hover,
.arm-wrap .button:hover,
.arm-wrap button:not(.notice-dismiss):not(.arm-client-sort):not(.arm-more-toggle):not(.arm-help-toggle):hover{box-shadow:var(--mas-button-shadow-hover)!important}
.arm-wrap .arm-btn.secondary,
.arm-wrap .button.secondary,
.arm-wrap .arm-receipt-toggle,
.arm-wrap .arm-client-switch,
.arm-wrap .arm-client-page-step,
.arm-wrap .arm-client-page-numbers button,
.arm-wrap .arm-more-toggle{
 background:#fff!important;
 color:#2d4a6b!important;
 border:1px solid var(--mas-control-border)!important;
 box-shadow:none!important;
}
.arm-wrap .arm-btn.secondary:hover,
.arm-wrap .button.secondary:hover,
.arm-wrap .arm-client-page-step:hover,
.arm-wrap .arm-client-page-numbers button:hover,
.arm-wrap .arm-more-toggle:hover{background:#f7faff!important;border-color:#cad9ea!important;color:#1f4fb0!important}
.arm-wrap .arm-btn.arm-danger,
.arm-wrap .button.arm-danger{background:#fff5f5!important;border-color:#f4d2d7!important;color:#b62a3d!important}
.arm-wrap .arm-btn.arm-danger:hover,
.arm-wrap .button.arm-danger:hover{background:#ffecef!important;border-color:#efc0c8!important;color:#961a2d!important}
.arm-wrap .arm-btn[disabled],
.arm-wrap .button[disabled],
.arm-wrap button[disabled]{opacity:.62!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}
.arm-wrap .arm-btn svg,
.arm-wrap .button svg,
.arm-wrap .arm-actions svg{width:16px;height:16px;flex:0 0 16px}
.arm-wrap .arm-btn.arm-btn-small{min-height:34px!important;padding:0 10px!important;font-size:12px!important;border-radius:8px!important;gap:5px!important}
.arm-wrap .arm-delete-text{background:#fff!important;border:1px solid #f2d1d8!important;color:#b2293d!important}
.arm-wrap .arm-delete-text:hover{background:#fff1f4!important;border-color:#ecbec8!important;color:#93172b!important}
.arm-wrap .arm-recycle-icon-button,
.arm-wrap .arm-rescan-icon-button,
.arm-wrap .arm-client-delete-icon,
.arm-wrap #arm-bulk-delete{
 min-width:34px!important;
 padding-left:9px!important;
 padding-right:9px!important;
}
.arm-wrap .arm-actions{gap:8px!important;align-items:center!important}
.arm-wrap .arm-actions form{display:inline-flex;align-items:center;margin:0}
.arm-wrap .arm-table .arm-actions{min-height:34px}
.arm-wrap .arm-category-filter,
.arm-wrap .arm-receipt-filter,
.arm-wrap .arm-t2-filter,
.arm-wrap .arm-gst-filter,
.arm-wrap .arm-report-filter,
.arm-wrap .arm-client-entry-row{align-items:flex-end!important;gap:14px!important}
.arm-wrap .arm-receipt-filter .arm-field,
.arm-wrap .arm-category-filter .arm-field,
.arm-wrap .arm-t2-filter .arm-field,
.arm-wrap .arm-gst-filter .arm-field,
.arm-wrap .arm-report-filter .arm-field{gap:8px!important}
.arm-wrap .arm-warning,
.arm-wrap .arm-suspended-notice,
.arm-wrap .notice,
.arm-wrap .arm-inline-message,
.arm-wrap #arm-quick-notice,
.arm-wrap #arm-live-notice{
 border-radius:12px!important;
 padding:13px 16px!important;
 line-height:1.55!important;
 box-shadow:none!important;
}
.arm-wrap .arm-warning{background:#fff9eb!important;border:1px solid #f2ddb0!important;border-left:4px solid #d8a63d!important;color:#77561a!important}
.arm-wrap .notice.notice-success,
.arm-wrap .arm-inline-message,
.arm-wrap #arm-quick-notice,
.arm-wrap #arm-live-notice{background:#edf9f2!important;border:1px solid #bfe4cd!important;color:#166742!important}
.arm-wrap .notice.notice-error{background:#fff1f1!important;border:1px solid #f0c2c8!important;color:#9c1e31!important}
.arm-wrap .arm-note{color:#667b95!important;font-size:13px!important}
.arm-wrap .arm-status{font-size:11px!important;font-weight:800!important;padding:6px 11px!important;border:1px solid transparent}
.arm-wrap .arm-more-nav{border-radius:12px!important}
.arm-wrap .arm-more-toggle{min-height:42px!important;padding:0 15px!important;font-size:14px!important;font-weight:700!important}
.arm-wrap .arm-help-topic summary,
.arm-wrap .arm-help-faq-compact summary{min-height:76px}
@media(max-width:782px){
 .arm-wrap .arm-btn,
 .arm-wrap .button,
 .arm-wrap button:not(.notice-dismiss):not(.arm-client-sort):not(.arm-more-toggle):not(.arm-help-toggle){width:auto;max-width:100%}
 .arm-wrap .arm-actions{gap:6px!important}
}


/* v2.2.1 — receipt-row action buttons: a single cohesive 34px control system. */
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions{
 display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
 flex-wrap:nowrap!important;gap:5px!important;vertical-align:middle!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions>a.arm-btn-small,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-btn-small{
 height:34px!important;min-height:34px!important;max-height:34px!important;
 border:1px solid #dbe3ef!important;border-radius:8px!important;
 padding:0 9px!important;display:inline-flex!important;
 align-items:center!important;justify-content:center!important;
 font-size:12px!important;font-weight:700!important;line-height:1!important;
 color:#31557f!important;background:#f8fbff!important;
 box-shadow:0 2px 6px rgba(33,67,107,.085)!important;
 transform:none!important;vertical-align:middle!important;box-sizing:border-box!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions>a.arm-btn-small:hover,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-btn-small:hover{
 background:#eef5ff!important;border-color:#bfcfe5!important;
 box-shadow:0 3px 9px rgba(33,67,107,.12)!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-rescan-icon-button,
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-recycle-icon-button{
 width:34px!important;min-width:34px!important;max-width:34px!important;
 height:34px!important;min-height:34px!important;max-height:34px!important;
 padding:0!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-recycle-icon-button{
 color:#b52b43!important;background:#fff5f6!important;border-color:#f2d2d9!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions button.arm-recycle-icon-button:hover{
 background:#ffeef1!important;border-color:#eabec8!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-rescan-icon-button{font-size:17px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-trash-icon{
 width:16px!important;height:16px!important;flex:0 0 16px!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions form{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 height:34px!important;margin:0!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-toggle-form{height:34px!important}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions .arm-receipt-toggle{
 height:34px!important;min-height:34px!important;max-height:34px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 vertical-align:middle!important;
}

/* v2.2.2 — match Review and status/disable controls to raised icon actions. */
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions>a.arm-btn-small.secondary{
 border:1px solid #dbe3ef!important;
 background:#f8fbff!important;
 box-shadow:0 2px 6px rgba(33,67,107,.13)!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-actions>a.arm-btn-small.secondary:hover{
 box-shadow:0 3px 9px rgba(33,67,107,.17)!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-status{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:28px;border:1px solid #dbe3ef!important;
 box-shadow:0 2px 6px rgba(33,67,107,.13)!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-receipt-toggle{
 border:1px solid #dbe3ef!important;border-radius:8px!important;
 box-shadow:0 2px 6px rgba(33,67,107,.13)!important;
}
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-receipt-toggle:hover{
 box-shadow:0 3px 9px rgba(33,67,107,.17)!important;
}

/* v2.2.3 — receipt category is plain text, not a colored pill. */
.arm-wrap .arm-category-badge,
.arm-wrap .arm-receipts-table .arm-category-badge{
 display:inline!important; height:auto!important; max-width:none!important;
 padding:0!important; margin:0!important; border:0!important;
 border-radius:0!important; background:transparent!important; box-shadow:none!important;
 color:inherit!important; font-size:inherit!important; font-weight:inherit!important;
 line-height:inherit!important; white-space:normal!important; overflow:visible!important;
 text-overflow:clip!important; vertical-align:baseline!important;
}


/* v2.2.4 — status labels match the square-rounded receipt action buttons. */
.arm-wrap .arm-receipts-table tr[data-arm-receipt-row] .arm-status{
 border-radius:8px!important;
 min-height:34px!important;
 padding:0 10px!important;
 line-height:1!important;
 vertical-align:middle!important;
 border:1px solid #dbe3ef!important;
 box-shadow:0 2px 6px rgba(33,67,107,.13)!important;
}
