
.anf-bos-public { max-width:1200px; margin:0 auto; }
.anf-bos-public-header { padding:18px; border:1px solid #e5e5e5; border-radius:12px; background:#fff; margin-bottom:16px; display:flex; justify-content:space-between; gap:16px; }
.anf-bos-public-header h2 { margin:0 0 6px; }
.anf-bos-public-header p { margin:0; color:#667085; }
.anf-bos-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.anf-bos-tab { padding:8px 12px; border:1px solid #d0d7de; border-radius:999px; text-decoration:none; background:#fff; }
.anf-bos-tab.is-active { background:#0b746b; color:#fff; border-color:#0b746b; }
.anf-bos-card { background:#fff; border:1px solid #dcdcde; border-radius:12px; padding:14px; }
.anf-bos-form { background:#fff; border:1px solid #dcdcde; padding:14px; border-radius:12px; margin:16px 0; }
.anf-bos-form textarea, .anf-bos-form input, .anf-bos-form select { width:100%; margin-bottom:10px; }
.anf-bos-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.anf-bos-grid-form { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:10px; }

.anf-bos-wrap .anf-bos-grid, .anf-bos-public .anf-bos-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:16px 0; }
.anf-bos-card { background:#fff; border:1px solid #dcdcde; border-radius:12px; padding:14px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.anf-bos-card strong { display:block; font-size:13px; color:#555; }
.anf-bos-card span { display:block; font-size:20px; margin-top:8px; font-weight:700; }
.anf-bos-form { background:#fff; border:1px solid #dcdcde; padding:14px; border-radius:12px; margin:16px 0; }
.anf-bos-form textarea, .anf-bos-form input, .anf-bos-form select { width:100%; margin-bottom:10px; }
.anf-bos-grid-form { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:10px; }

.anf-bos-analytics-shell { --anf-teal:#0b746b; --anf-teal-2:#12b8a6; --anf-mint:#ccf5ee; --anf-soft:#f6f8f7; --anf-line:#edf1f0; --anf-text:#101828; --anf-muted:#667085; --anf-warn:#ffb84d; --anf-coral:#ff7a68; max-width:1180px; }
.anf-bos-dashboard-topbar { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:18px 0 22px; padding:18px 22px; border-radius:28px; background:rgba(255,255,255,.88); box-shadow:0 16px 45px rgba(15,23,42,.08); }
.anf-bos-dashboard-topbar h1, .anf-bos-dashboard-topbar h3 { margin:2px 0 4px; font-size:28px; line-height:1.15; font-weight:800; color:var(--anf-text); }
.anf-bos-eyebrow { margin:0; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--anf-teal); font-weight:700; }
.anf-bos-muted { margin:0; color:var(--anf-muted); }
.anf-bos-profile-pill { display:flex; align-items:center; gap:12px; min-width:230px; background:#fff; border-radius:999px; padding:9px 16px 9px 9px; box-shadow:inset 0 0 0 1px var(--anf-line); }
.anf-bos-profile-pill strong, .anf-bos-profile-pill span { display:block; }
.anf-bos-profile-pill span { color:var(--anf-muted); font-size:12px; }
.anf-bos-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,var(--anf-teal),var(--anf-teal-2)); color:#fff; font-weight:800; }
.anf-bos-dashboard-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:18px; align-items:stretch; }
.anf-bos-panel, .anf-bos-metric-card { background:rgba(255,255,255,.94); border:1px solid var(--anf-line); border-radius:28px; padding:20px; box-shadow:0 18px 48px rgba(15,23,42,.08); }
.anf-bos-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.anf-bos-panel-head h2 { margin:0; font-size:17px; font-weight:800; color:var(--anf-text); }
.anf-bos-status-dot { color:var(--anf-teal); font-weight:700; font-size:12px; }
.anf-bos-status-dot:before { content:''; width:7px; height:7px; border-radius:50%; display:inline-block; background:var(--anf-teal-2); margin-right:6px; vertical-align:middle; }
.anf-bos-hero-number { display:flex; align-items:flex-end; gap:10px; margin-top:20px; }
.anf-bos-hero-number strong { font-size:42px; line-height:1; font-weight:800; color:var(--anf-text); }
.anf-bos-hero-number span { color:var(--anf-muted); max-width:120px; }
.anf-bos-mini-stats { display:flex; gap:12px; flex-wrap:wrap; margin:18px 0; color:var(--anf-muted); font-size:12px; }
.anf-bos-mini-stats span { display:flex; gap:5px; align-items:center; }
.anf-bos-mini-stats b { color:var(--anf-teal); }
.anf-bos-search-look { background:#f8faf9; color:#98a2b3; border-radius:999px; padding:11px 16px; font-size:13px; }
.anf-bos-pie { width:118px; height:118px; border-radius:50%; margin:8px auto 12px; display:grid; place-items:center; background:conic-gradient(var(--anf-teal) 0 calc(var(--a) * 1%), var(--anf-warn) calc(var(--a) * 1%) calc((var(--a) + var(--b)) * 1%), var(--anf-coral) 0 100%); position:relative; }
.anf-bos-pie:after { content:''; width:62px; height:62px; border-radius:50%; background:#fff; position:absolute; }
.anf-bos-pie span { position:relative; z-index:1; font-weight:800; color:var(--anf-text); }
.anf-bos-legend { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.anf-bos-legend li { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--anf-muted); font-size:13px; }
.anf-bos-legend i { width:8px; height:8px; border-radius:50%; background:var(--anf-teal); display:inline-block; margin-right:4px; }
.anf-bos-legend li:nth-child(2) i { background:var(--anf-warn); }
.anf-bos-legend li:nth-child(3) i { background:var(--anf-coral); }
.anf-bos-rings { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.anf-bos-ring { --value:0; width:78px; height:78px; border-radius:50%; display:grid; place-items:center; margin:auto; background:conic-gradient(var(--anf-teal) calc(var(--value) * 1%), #edf2f1 0); position:relative; }
.anf-bos-ring.alt { background:conic-gradient(var(--anf-warn) calc(var(--value) * 1%), #edf2f1 0); }
.anf-bos-ring.soft { background:conic-gradient(var(--anf-teal-2) calc(var(--value) * 1%), #edf2f1 0); }
.anf-bos-ring:after { content:''; position:absolute; width:54px; height:54px; border-radius:50%; background:#fff; }
.anf-bos-ring span { z-index:1; font-weight:800; font-size:13px; color:var(--anf-text); }
.anf-bos-ring-labels { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; text-align:center; color:var(--anf-muted); font-size:12px; margin-top:8px; }
.anf-bos-stack { display:grid; gap:14px; }
.anf-bos-metric-card { border-radius:24px; min-height:106px; position:relative; overflow:hidden; }
.anf-bos-metric-card span, .anf-bos-metric-card small { color:var(--anf-muted); display:block; }
.anf-bos-metric-card strong { display:block; font-size:30px; margin:10px 0 2px; color:var(--anf-text); }
.anf-bos-spark { position:absolute; right:18px; bottom:18px; height:48px; display:flex; gap:5px; align-items:flex-end; }
.anf-bos-spark i { width:8px; border-radius:999px; background:linear-gradient(180deg,var(--anf-teal-2),var(--anf-teal)); display:block; }
.anf-bos-spark i:nth-child(1) { height:17px; } .anf-bos-spark i:nth-child(2) { height:28px; } .anf-bos-spark i:nth-child(3) { height:42px; } .anf-bos-spark i:nth-child(4) { height:24px; } .anf-bos-spark i:nth-child(5) { height:20px; }
.anf-bos-flow-panel { grid-column:span 2; min-height:300px; }
.anf-bos-flow-title { color:var(--anf-muted); margin-bottom:18px; }
.anf-bos-flow-title strong { color:var(--anf-text); font-size:24px; }
.anf-bos-flow { display:grid; gap:14px; margin:22px 0; }
.anf-bos-flow-row { display:grid; grid-template-columns:100px 1fr 70px; align-items:center; gap:12px; color:var(--anf-muted); }
.anf-bos-flow-row div { height:28px; background:linear-gradient(90deg,#f5fbfa,#eef8f6); border-radius:999px; overflow:hidden; }
.anf-bos-flow-row i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#b8efe7,var(--anf-teal-2),var(--anf-teal)); }
.anf-bos-flow-row b { color:var(--anf-text); text-align:right; }
.anf-bos-campaign-pill, .anf-bos-filter-pill { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--anf-line); background:#fff; border-radius:999px; padding:7px 12px; color:var(--anf-text); font-weight:700; font-size:12px; }
.anf-bos-schedule-panel { grid-column:span 2; }
.anf-bos-clean-table { width:100%; border-collapse:separate; border-spacing:0 8px; }
.anf-bos-clean-table th { text-align:left; color:var(--anf-muted); font-weight:700; font-size:12px; padding:8px 10px; background:#f8faf9; }
.anf-bos-clean-table td { padding:12px 10px; background:#fff; border-top:1px solid var(--anf-line); border-bottom:1px solid var(--anf-line); }
.anf-bos-clean-table td:first-child { border-left:1px solid var(--anf-line); border-radius:12px 0 0 12px; }
.anf-bos-clean-table td:last-child { border-right:1px solid var(--anf-line); border-radius:0 12px 12px 0; }
.anf-bos-status-badge { display:inline-block; padding:4px 9px; border-radius:999px; background:#eef8f6; color:var(--anf-teal); font-weight:700; font-size:12px; }
@media (max-width:1100px) { .anf-bos-dashboard-grid { grid-template-columns:1fr 1fr; } .anf-bos-flow-panel, .anf-bos-schedule-panel { grid-column:span 2; } }
@media (max-width:760px) { .anf-bos-dashboard-topbar { display:block; border-radius:20px; } .anf-bos-profile-pill { margin-top:14px; min-width:0; } .anf-bos-dashboard-grid { grid-template-columns:1fr; } .anf-bos-flow-panel, .anf-bos-schedule-panel { grid-column:span 1; } .anf-bos-flow-row { grid-template-columns:70px 1fr 48px; } .anf-bos-rings { grid-template-columns:1fr; } .anf-bos-ring-labels { display:none; } }

/* Product master and inventory patch */
.anf-bos-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;}
.anf-bos-form-card{padding:20px;}
.anf-bos-form-card h4{margin-top:0;}
.anf-bos-alert{padding:12px 14px;border-radius:14px;margin:12px 0;font-weight:600;}
.anf-bos-alert.is-success{background:#ecfdf5;color:#047857;}
.anf-bos-alert.is-error{background:#fef2f2;color:#b91c1c;}
@media(max-width:900px){.anf-bos-two-col{grid-template-columns:1fr;}}

/* BOS 2.2 operating modules */
.anf-bos-filter-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:12px;margin:12px 0 18px;}
.anf-bos-line-items{display:grid;gap:10px;margin:10px 0;}
.anf-bos-line-item{border:1px dashed #cbd5e1;border-radius:12px;padding:12px;background:#f8fafc;}
.anf-bos-status-badge.warning{background:#fff7ed;color:#c2410c;}

/* BOS 2.3 staff signup page */
.anf-bos-signup-page{max-width:980px;}
.anf-bos-login-panel .anf-bos-card .button,.anf-bos-signup-page .button{margin-right:8px;margin-top:8px;}
.anf-bos-signup-form h3{margin:18px 0 10px;}
.anf-bos-signup-form label{font-weight:600;color:#1f2937;display:block;}
.anf-bos-signup-form label input,.anf-bos-signup-form label select,.anf-bos-signup-form label textarea{margin-top:6px;}
.anf-bos-alert-success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0;}
.anf-bos-alert-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;}


/* BOS 2.3.1 staff access CTA button */
.anf-bos-staff-access-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#ffffff 0%,#f3fffc 55%,#eefbf8 100%);border:1px solid #cceee7;box-shadow:0 16px 36px rgba(11,116,107,.10);}
.anf-bos-staff-access-card strong{font-size:18px;color:#0f172a;margin-bottom:5px;}
.anf-bos-staff-access-card p{margin:6px 0 0;color:#667085;max-width:720px;}
.anf-bos-login-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;}
.anf-bos-apply-access-button{background:#0b746b!important;border-color:#0b746b!important;color:#fff!important;border-radius:999px!important;padding:8px 18px!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(11,116,107,.20)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.anf-bos-apply-access-button:hover,.anf-bos-apply-access-button:focus{background:#075f58!important;border-color:#075f58!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 14px 30px rgba(11,116,107,.28)!important;}
.anf-bos-login-button{border-radius:999px!important;padding:8px 18px!important;font-weight:700!important;}
.anf-bos-staff-access-shortcode{display:inline-flex!important;align-items:center;justify-content:center;margin:8px 0;}
@media(max-width:760px){.anf-bos-staff-access-card{display:block}.anf-bos-login-actions{justify-content:flex-start;margin-top:14px}.anf-bos-login-actions .button{width:100%;text-align:center}}

/* Business Operating System 2.4.0 attendance, travel, and GPS helpers */
.anf-bos-location-status {
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
	color: #be185d;
	font-weight: 700;
}
.anf-bos-attendance-actions .anf-bos-form,
.anf-bos-location-form {
	background: rgba(255,255,255,0.82);
	border: 1px solid rgba(244, 114, 182, 0.18);
	border-radius: 18px;
	padding: 16px;
	box-shadow: 0 18px 48px rgba(190, 24, 93, 0.08);
}
.anf-bos-form-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 10px;
}

/* Business Operating System 2.4.2 staff signup password and document upload */
.anf-bos-form-note{margin:0 0 12px;color:#667085;font-size:13px;line-height:1.5;}
.anf-bos-document-upload-grid input[type="file"]{padding:10px;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;width:100%;}

/* Business Operating System 2.4.4 GPS capture reliability patch */
.anf-bos-location-status.anf-bos-location-success{color:#047857;}
.anf-bos-location-status.anf-bos-location-error{color:#b91c1c;}
.anf-bos-location-status.anf-bos-location-loading{color:#2271b1;}
.anf-bos-get-location.disabled{opacity:.72;cursor:wait;}

/* Business Operating System 2.5.0 Visit Entry rebuild */
.anf-bos-module-head{margin:0 0 14px;}
.anf-bos-module-head h3{margin:0 0 6px;font-size:24px;line-height:1.2;}
.anf-bos-module-head p{margin:0;color:#667085;}
.anf-bos-field-stats .anf-bos-card span{font-size:26px;color:#0b746b;}
.anf-bos-field-form h4,.anf-bos-field-form h3{margin:18px 0 10px;color:#0f172a;}
.anf-bos-field-form label{font-weight:600;color:#1f2937;display:block;}
.anf-bos-field-form label input,.anf-bos-field-form label select,.anf-bos-field-form label textarea{margin-top:6px;}
.anf-bos-location-grid input[readonly]{background:#f8fafc;border-color:#dbe3ea;color:#0f172a;}
.anf-bos-status-completed{background:#ecfdf5;color:#047857;}
.anf-bos-status-cancelled{background:#f3f4f6;color:#4b5563;}
.anf-bos-status-verified{background:#e0f2fe;color:#0369a1;}
@media(max-width:760px){.anf-bos-location-status{display:block;margin:10px 0 0}.anf-bos-field-form .button{width:100%;text-align:center;}}

/* Business Operating System 2.6.0 settings polish */
.anf-bos-inline-options{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}.anf-bos-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--anf-line,#e5e7eb);border-radius:18px}.anf-bos-smart-report-table{min-width:980px}.anf-bos-form-card textarea{min-height:86px}

/* Business Operating System 2.6.4 sidebar navigation */
.anf-bos-app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start;}
.anf-bos-sidebar{position:sticky;top:18px;background:#fff;border:1px solid #dcdcde;border-radius:18px;padding:14px;box-shadow:0 12px 34px rgba(15,23,42,.07);}
.anf-bos-sidebar-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#0b746b;margin:4px 6px 12px;}
.anf-bos-app-shell .anf-bos-tabs{display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;margin:0;}
.anf-bos-app-shell .anf-bos-tab{display:flex;align-items:center;width:100%;box-sizing:border-box;border-radius:12px;padding:10px 12px;background:#fff;color:#0f172a;border:1px solid transparent;font-weight:700;line-height:1.25;}
.anf-bos-app-shell .anf-bos-tab:hover,.anf-bos-app-shell .anf-bos-tab:focus{background:#f8fafc;border-color:#d0d7de;color:#0b746b;}
.anf-bos-app-shell .anf-bos-tab.is-active{background:#0b746b;color:#fff;border-color:#0b746b;box-shadow:0 10px 22px rgba(11,116,107,.18);}
.anf-bos-public-body{min-width:0;}
@media(max-width:900px){.anf-bos-app-shell{grid-template-columns:1fr}.anf-bos-sidebar{position:relative;top:auto}.anf-bos-app-shell .anf-bos-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}.anf-bos-app-shell .anf-bos-tab{justify-content:center;text-align:center;}}

/* Business Operating System 2.6.9 simplified invoice generator */
.anf-bos-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
.anf-bos-section-head h3,.anf-bos-section-head h4{margin:0 0 5px;}
.anf-bos-section-head p{margin:0;color:#667085;}
.anf-bos-section-head.compact{align-items:center;}
.anf-bos-invoice-layout{display:grid;grid-template-columns:1fr;gap:18px;align-items:start;}
.anf-bos-invoice-main{min-width:0;display:grid;gap:16px;}
.anf-bos-mini-card label,.anf-bos-invoice-summary-panel label{display:block;font-weight:600;color:#1f2937;}
.anf-bos-mini-card label input,.anf-bos-mini-card label select,.anf-bos-mini-card label textarea,.anf-bos-invoice-summary-panel label input,.anf-bos-invoice-summary-panel label textarea{margin-top:6px;width:100%;}
.anf-bos-invoice-meta-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.anf-bos-invoice-summary-panel{position:relative;top:auto;background:#fff;border:1px solid #dfe7ef;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.05);margin-top:16px;}
.anf-bos-live-summary{border:1px solid #dfe7ef;border-radius:14px;overflow:hidden;margin:14px 0;background:#f8fafc;}
.anf-bos-live-summary div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #dfe7ef;}
.anf-bos-live-summary div:last-of-type{border-bottom:0;}
.anf-bos-live-summary .total{background:#0b746b;color:#fff;font-weight:800;}
.anf-bos-save-invoice-button{width:100%;justify-content:center;text-align:center;}
.anf-bos-invoice-table-wrap{overflow:auto;border:1px solid #dfe7ef;border-radius:14px;}
.anf-bos-invoice-items-table{min-width:960px;margin:0;}
.anf-bos-invoice-items-table input,.anf-bos-invoice-items-table select{width:100%;min-height:34px;}
.anf-bos-col-product{min-width:250px;}
.anf-bos-discount-cell{min-width:150px;display:grid;grid-template-columns:70px minmax(70px,1fr);gap:6px;}
.anf-bos-stock-hint{display:block;margin-top:5px;color:#667085;font-size:12px;}
@media(max-width:1100px){.anf-bos-invoice-layout{grid-template-columns:1fr}.anf-bos-section-head{display:block}.anf-bos-section-head .button{margin-top:10px}}

.anf-bos-invoice-summary-after-items{width:100%;max-width:none;}
.anf-bos-invoice-summary-after-items .anf-bos-live-summary{max-width:720px;}

/* Business Operating System 2.6.13 attendance log table */
.anf-bos-attendance-log-table th,
.anf-bos-attendance-log-table td{vertical-align:top;}
.anf-bos-attendance-log-table td:nth-child(5),
.anf-bos-attendance-log-table td:nth-child(6){font-size:12px;line-height:1.55;white-space:nowrap;}
@media (max-width: 782px){
	.anf-bos-attendance-log-table{display:block;overflow-x:auto;white-space:nowrap;}
}

/* Business Operating System 2.6.15 customer dues table */
.anf-bos-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0 18px;}
.anf-bos-summary-card{background:#fff;border:1px solid #dfe7ef;border-radius:14px;padding:14px 16px;box-shadow:0 8px 22px rgba(15,23,42,.04);}
.anf-bos-summary-card span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;}
.anf-bos-summary-card strong{font-size:20px;color:#0f172a;}

/* Business Operating System 2.6.16 comprehensive reports module */
.anf-bos-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0 0;}
.anf-bos-report-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:14px;}
.anf-bos-report-titlebar h4{margin:0 0 6px;color:#0f172a;}
.anf-bos-report-titlebar p{margin:0;color:#64748b;}
.anf-bos-report-meta{text-align:right;color:#64748b;font-size:12px;}
.anf-bos-report-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0 16px;}
.anf-bos-report-totals div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:11px 12px;}
.anf-bos-report-totals span{display:block;color:#64748b;font-size:12px;margin-bottom:4px;}
.anf-bos-report-totals strong{font-size:18px;color:#0f172a;}
.anf-bos-report-table{min-width:900px;font-size:12px;}
.anf-bos-report-table th{white-space:nowrap;}
@media print{
	.anf-bos-no-print,.anf-bos-sidebar,.anf-bos-public-header{display:none!important;}
	.anf-bos-app-shell{display:block!important;}
	.anf-bos-public,.anf-bos-public-body,.anf-bos-card.anf-bos-report-print-area{box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:#fff!important;}
	.anf-bos-report-print-area .anf-bos-table-scroll{overflow:visible!important;border:0!important;}
	.anf-bos-report-table{min-width:0!important;width:100%!important;border-collapse:collapse!important;font-size:10px!important;}
	.anf-bos-report-table th,.anf-bos-report-table td{border:1px solid #d1d5db!important;background:#fff!important;padding:5px!important;border-radius:0!important;}
	.anf-bos-report-totals{grid-template-columns:repeat(4,1fr)!important;}
	@page{size:A4 landscape;margin:10mm;}
}

/* Business Operating System 2.6.20 product-wise target dashboard */
.anf-bos-my-target-panel{margin:0 0 18px;}
.anf-bos-progress{height:10px;min-width:92px;background:#e5eef0;border-radius:999px;overflow:hidden;margin:0 0 6px;}
.anf-bos-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#12b8a6,#0b746b);}
.anf-bos-target-table{min-width:980px;}
.anf-bos-target-table small{color:#667085;}
.anf-bos-target-summary-grid{margin-top:0;}


/* Business Operating System 2.6.22 target management tab */
.anf-bos-target-management{max-width:100%;}
.anf-bos-target-management h1{margin:0 0 8px;font-size:26px;color:#0f172a;}
.anf-bos-target-management h2{margin:18px 0 10px;color:#0f172a;}
.anf-bos-target-management .description{color:#64748b;}
.anf-bos-target-management .notice{border-radius:12px;padding:10px 14px;margin:12px 0;border:1px solid #dfe7ef;background:#fff;}
.anf-bos-target-management .notice-success{background:#ecfdf5;border-color:#bbf7d0;color:#047857;}
.anf-bos-target-management .notice-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c;}
.anf-bos-target-management .anf-bos-target-product-table{min-width:900px;}
.anf-bos-target-management .anf-bos-target-product-table input[type="number"]{min-width:120px;}
.anf-bos-target-management .button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;text-decoration:none;cursor:pointer;}
.anf-bos-target-management .button-primary{background:#0b746b;border-color:#0b746b;color:#fff;}
.anf-bos-target-management .button-small{min-height:28px;padding:4px 9px;font-size:12px;}


/* Business Operating System 2.6.23 template-style analytics dashboard */
.anf-bos-public-dashboard-mode{max-width:1320px;background:#c9e1dc;padding:26px;border-radius:0;}
.anf-bos-app-shell-template{grid-template-columns:190px minmax(0,1fr);gap:0;background:#fff;border-radius:0;box-shadow:0 26px 60px rgba(15,64,68,.16);min-height:720px;overflow:hidden;}
.anf-bos-app-shell-template .anf-bos-sidebar{position:relative;top:auto;border:0;border-radius:0;box-shadow:none;background:#eaf7f6;padding:26px 18px;}
.anf-bos-app-shell-template .anf-bos-sidebar-title{font-size:15px;color:#152b3b;margin:0 0 26px;letter-spacing:0;text-transform:none;display:flex;align-items:center;gap:8px;}
.anf-bos-app-shell-template .anf-bos-sidebar-title:before{content:'★';width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#9fdf45;color:#14324a;border:3px solid #14324a;font-size:11px;box-sizing:border-box;}
.anf-bos-app-shell-template .anf-bos-tabs{gap:14px;}
.anf-bos-app-shell-template .anf-bos-tab{border:0;background:transparent;color:#234d59;border-radius:999px;padding:9px 13px;font-size:10px;font-weight:800;gap:10px;box-shadow:none;}
.anf-bos-app-shell-template .anf-bos-tab:before{content:'■';font-size:11px;color:#244f59;line-height:1;}
.anf-bos-app-shell-template .anf-bos-tab:hover,.anf-bos-app-shell-template .anf-bos-tab:focus{background:#ddf3f1;color:#173b45;border:0;}
.anf-bos-app-shell-template .anf-bos-tab.is-active{background:#d8f1ef;color:#173b45;border:0;box-shadow:none;}
.anf-bos-app-shell-template .anf-bos-public-body{padding:30px 28px 22px;background:#fff;}
.anf-bos-template-dashboard{--tpl-text:#153041;--tpl-muted:#51707a;--tpl-soft:#edfafa;--tpl-soft-2:#e7f6f4;--tpl-line:#d3ece9;--tpl-dark:#204f59;--tpl-green:#55d4b2;--tpl-lime:#a8df42;--tpl-red:#ff4549;max-width:none;margin:0;color:var(--tpl-text);font-size:10px;}
.anf-bos-template-dashboard *{box-sizing:border-box;}
.anf-bos-template-dashboard a{text-decoration:none;}
.anf-bos-template-dashboard table,.anf-bos-template-dashboard th,.anf-bos-template-dashboard td,.anf-bos-template-dashboard span,.anf-bos-template-dashboard small,.anf-bos-template-dashboard p,.anf-bos-template-dashboard a{font-size:10px;line-height:1.35;}
.anf-bos-template-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;}
.anf-bos-template-search{width:170px;height:26px;border-radius:999px;background:#edfafa;color:#315865;display:flex;align-items:center;gap:6px;padding:0 12px;font-size:10px;}
.anf-bos-template-search span{font-size:14px;font-weight:900;line-height:1;}
.anf-bos-template-userbar{display:flex;align-items:center;justify-content:flex-end;gap:18px;color:var(--tpl-text);}
.anf-bos-template-userbar strong{font-size:11px;font-weight:800;white-space:nowrap;}
.anf-bos-template-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#173340;font-size:16px;}
.anf-bos-template-icon b{position:absolute;right:-6px;top:-6px;min-width:13px;height:13px;border-radius:999px;background:var(--tpl-red);color:#fff;font-size:7px;line-height:13px;text-align:center;font-weight:800;}
.anf-bos-template-avatar{width:38px;height:38px;border:3px solid #173340;border-radius:50%;display:grid;place-items:center;color:#173340;font-weight:900;background:#f7ffff;font-size:15px;}
.anf-bos-template-breadcrumb{display:flex;align-items:center;gap:6px;margin:0 0 26px;color:#244c58;font-size:10px;font-weight:800;}
.anf-bos-template-breadcrumb span{margin-left:8px;color:#6b8790;font-weight:600;}
.anf-bos-template-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 24px;}
.anf-bos-template-kpi{min-height:70px;border-radius:8px;background:#eefafa;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px;}
.anf-bos-template-kpi strong{display:block;font-size:19px;line-height:1;font-weight:900;color:#173447;margin:0 0 5px;}
.anf-bos-template-kpi span{display:block;color:#446570;font-size:9px;}
.anf-bos-template-pulse{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;text-align:center;font-size:6px!important;font-weight:800;font-style:normal;color:#173447;background:var(--tpl-green);padding:2px;line-height:1.05!important;overflow:hidden;}
.anf-bos-template-pulse.red{background:var(--tpl-red);color:#fff;}
.anf-bos-template-pulse.lime{background:var(--tpl-lime);}
.anf-bos-template-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:24px;align-items:start;margin:0 0 20px;}
.anf-bos-template-statistics,.anf-bos-template-products,.anf-bos-template-bottom-card,.anf-bos-template-target-panel{background:#eefafa;border:0;border-radius:8px;box-shadow:none;}
.anf-bos-template-statistics{padding:0 0 16px;min-height:360px;}
.anf-bos-template-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0;padding:0;}
.anf-bos-template-statistics .anf-bos-template-section-head{padding:0 0 12px;background:#fff;}
.anf-bos-template-section-head h3{margin:0 0 14px;font-size:12px;line-height:1.2;font-weight:900;color:#173447;}
.anf-bos-template-section-head.compact{align-items:center;margin:0 0 12px;padding:0;}
.anf-bos-template-stat-numbers{display:flex;align-items:flex-end;gap:30px;}
.anf-bos-template-stat-numbers span{display:grid;gap:3px;color:#446570;font-size:9px;}
.anf-bos-template-stat-numbers strong{font-size:17px;line-height:1;font-weight:900;color:#173447;}
.anf-bos-template-periods{display:flex;align-items:center;min-width:190px;height:22px;border-radius:999px;background:#55d4b2;overflow:hidden;margin-top:45px;}
.anf-bos-template-periods span{flex:1;text-align:center;color:#173447;font-size:8px;font-weight:800;padding:6px 8px;}
.anf-bos-template-periods span.is-active{background:#204f59;color:#fff;border-radius:999px;}
.anf-bos-template-chart{background:#eefafa;border-radius:8px;padding:16px 22px 8px;}
.anf-bos-template-chart svg{display:block;width:100%;height:280px;}
.anf-bos-template-chart line{stroke:#c9e8e4;stroke-width:1;}
.anf-bos-template-chart polygon{fill:rgba(85,212,178,.12);}
.anf-bos-template-chart polyline{fill:none;stroke:var(--tpl-red);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;}
.anf-bos-template-chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;color:#315b65;text-align:center;margin-top:-2px;}
.anf-bos-template-chart-labels span{font-size:8px;}
.anf-bos-template-products{padding:0 0 10px;background:#fff;}
.anf-bos-template-products .anf-bos-template-section-head{background:#fff;}
.anf-bos-template-select{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#204f59;color:#fff;padding:7px 12px;font-size:8px!important;font-weight:800;white-space:nowrap;}
.anf-bos-template-product-table{width:100%;border-collapse:separate;border-spacing:0 6px;background:#eefafa;border-radius:8px;padding:8px;}
.anf-bos-template-product-table th{font-weight:700;color:#51707a;text-align:left;padding:5px 4px;background:transparent;font-size:8px;white-space:nowrap;}
.anf-bos-template-product-table td{padding:5px 4px;color:#33545e;vertical-align:middle;background:transparent;border:0;font-size:8px;}
.anf-bos-template-product-table td:first-child{display:grid;grid-template-columns:20px 1fr;column-gap:6px;align-items:center;min-width:80px;}
.anf-bos-template-product-table td:first-child strong{display:block;font-size:8px;color:#33545e;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:82px;}
.anf-bos-template-product-table td:first-child small{display:block;grid-column:2;color:#759199;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:82px;}
.anf-bos-template-product-icon{grid-row:1 / span 2;width:20px;height:20px;border-radius:4px;background:#204f59;position:relative;}
.anf-bos-template-product-icon:after{content:'';position:absolute;left:6px;top:5px;width:8px;height:8px;border-radius:50%;background:#a8df42;box-shadow:-2px 7px 0 #fff;}
.anf-bos-template-product-table a{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#204f59;color:#a8df42;font-size:7px!important;font-weight:800;white-space:nowrap;}
.anf-bos-template-bottom-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 20px;}
.anf-bos-template-bottom-card{min-height:140px;display:grid;place-items:center;align-content:center;gap:8px;color:#173447;padding:20px;}
.anf-bos-template-bottom-card i{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#27283b;color:#fff;font-style:normal;font-size:28px;line-height:1;}
.anf-bos-template-bottom-card:nth-child(2) i{background:#55d4b2;}
.anf-bos-template-bottom-card:nth-child(3) i{background:#a8df42;}
.anf-bos-template-bottom-card:nth-child(4) i{background:#ff4549;}
.anf-bos-template-bottom-card strong{font-size:15px;line-height:1;font-weight:900;color:#173447;}
.anf-bos-template-bottom-card span{font-size:10px;font-weight:900;color:#173447;}
.anf-bos-template-target-panel{padding:18px;margin-top:22px;}
.anf-bos-template-dashboard .anf-bos-panel-head h2{font-size:12px;}
.anf-bos-template-dashboard .anf-bos-summary-card{box-shadow:none;border:0;background:#fff;}
.anf-bos-template-dashboard .anf-bos-summary-card span,.anf-bos-template-dashboard .anf-bos-clean-table th,.anf-bos-template-dashboard .anf-bos-clean-table td,.anf-bos-template-dashboard .anf-bos-target-table small{font-size:10px;}
.anf-bos-template-dashboard .anf-bos-summary-card strong{font-size:13px;}
@media(max-width:1100px){.anf-bos-template-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.anf-bos-template-main-grid{grid-template-columns:1fr}.anf-bos-template-products{padding-top:16px}.anf-bos-template-bottom-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.anf-bos-template-periods{margin-top:0}}
@media(max-width:900px){.anf-bos-public-dashboard-mode{padding:10px}.anf-bos-app-shell-template{grid-template-columns:1fr}.anf-bos-app-shell-template .anf-bos-sidebar{position:relative}.anf-bos-app-shell-template .anf-bos-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.anf-bos-app-shell-template .anf-bos-public-body{padding:18px}.anf-bos-template-topbar{display:block}.anf-bos-template-userbar{justify-content:flex-start;margin-top:12px}.anf-bos-template-kpis,.anf-bos-template-bottom-cards{grid-template-columns:1fr}.anf-bos-template-section-head{display:block}.anf-bos-template-stat-numbers{gap:14px}.anf-bos-template-chart svg{height:210px}}

/* Business Operating System 2.6.24 updated analysis dashboard */
.anf-bos-analysis-dashboard-v2{font-size:10px!important;}
.anf-bos-analysis-dashboard-v2 *{box-sizing:border-box;}
.anf-bos-analysis-dashboard-v2 h1{margin:0 0 5px;font-size:22px;line-height:1.1;font-weight:900;color:var(--tpl-text);}
.anf-bos-analysis-dashboard-v2 h3{font-size:12px;line-height:1.2;}
.anf-bos-analysis-dashboard-v2 input,.anf-bos-analysis-dashboard-v2 select,.anf-bos-analysis-dashboard-v2 button,.anf-bos-analysis-dashboard-v2 .button{font-size:10px!important;min-height:26px;line-height:1.2;}
.anf-bos-analysis-dashboard-v2 table,.anf-bos-analysis-dashboard-v2 th,.anf-bos-analysis-dashboard-v2 td,.anf-bos-analysis-dashboard-v2 span,.anf-bos-analysis-dashboard-v2 small,.anf-bos-analysis-dashboard-v2 p,.anf-bos-analysis-dashboard-v2 a,.anf-bos-analysis-dashboard-v2 label{font-size:10px!important;}
.anf-bos-analysis-topbar{align-items:flex-start;margin-bottom:14px;}
.anf-bos-analysis-topbar > div:first-child span{display:block;color:#51707a;font-size:10px!important;font-weight:700;}
.anf-bos-analysis-eyebrow{margin:0 0 3px;color:#204f59;font-size:9px!important;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.anf-bos-analysis-filter{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;background:#eefafa;border-radius:10px;padding:10px;margin:0 0 18px;border:1px solid #d3ece9;}
.anf-bos-analysis-filter label{display:grid;gap:3px;color:#33545e;font-weight:800;}
.anf-bos-analysis-filter input{height:28px;border:1px solid #c8e7e3;border-radius:8px;background:#fff;padding:4px 8px;color:#153041;}
.anf-bos-analysis-filter .button{border-radius:8px;padding:6px 12px;}
.anf-bos-analysis-kpis{gap:14px;margin-bottom:16px;}
.anf-bos-analysis-kpi{min-height:72px;padding:14px 16px;border:1px solid #d3ece9;}
.anf-bos-analysis-kpi strong{font-size:16px;}
.anf-bos-template-pulse.dark{background:#204f59;color:#fff;}
.anf-bos-analysis-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:16px;margin:0 0 16px;align-items:stretch;}
.anf-bos-analysis-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px;}
.anf-bos-analysis-card{background:#eefafa;border:1px solid #d3ece9;border-radius:10px;padding:14px;box-shadow:none;min-width:0;}
.anf-bos-analysis-chart-card .anf-bos-template-section-head{background:transparent;padding:0 0 10px;}
.anf-bos-analysis-chart-card .anf-bos-template-chart{background:#fff;border:1px solid #d3ece9;padding:10px 12px 8px;}
.anf-bos-analysis-chart-card .anf-bos-template-chart svg{height:230px;}
.anf-bos-analysis-chart-card .sales-line{fill:none;stroke:#ff4549;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}
.anf-bos-analysis-chart-card .collection-line{fill:none;stroke:#204f59;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}
.anf-bos-analysis-legend{display:flex;align-items:center;gap:6px;color:#51707a;font-weight:800;white-space:nowrap;}
.anf-bos-analysis-legend span{width:18px;height:4px;border-radius:999px;display:inline-block;}
.anf-bos-analysis-legend .sales{background:#ff4549;}
.anf-bos-analysis-legend .collections{background:#204f59;}
.anf-bos-analysis-flow{display:grid;gap:10px;margin:10px 0 12px;}
.anf-bos-analysis-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;}
.anf-bos-analysis-mini-grid div{background:#fff;border:1px solid #d3ece9;border-radius:8px;padding:10px;display:grid;gap:4px;}
.anf-bos-analysis-mini-grid strong{font-size:13px;color:#153041;line-height:1.1;}
.anf-bos-analysis-mini-grid span{color:#51707a;font-weight:700;}
.anf-bos-analysis-bars{display:grid;gap:10px;margin-top:8px;}
.anf-bos-analysis-table{background:#fff;border:1px solid #d3ece9;margin-top:8px;}
.anf-bos-analysis-table th,.anf-bos-analysis-table td{font-size:10px!important;padding:7px 5px;}
.anf-bos-analysis-table td:first-child strong{max-width:170px;font-size:10px!important;}
.anf-bos-analysis-table td:first-child small{max-width:170px;font-size:9px!important;}
.anf-bos-analysis-shortcuts{gap:16px;margin-bottom:16px;}
.anf-bos-analysis-shortcuts .anf-bos-template-bottom-card{min-height:104px;border:1px solid #d3ece9;}
.anf-bos-analysis-shortcuts .anf-bos-template-bottom-card i{width:36px;height:36px;font-size:18px;}
.anf-bos-analysis-wide-card{margin-bottom:16px;}
.anf-bos-analysis-clean-table{background:#fff;border-radius:8px;overflow:hidden;margin-top:8px;}
.anf-bos-analysis-clean-table th,.anf-bos-analysis-clean-table td{font-size:10px!important;padding:8px;}
@media(max-width:1120px){.anf-bos-analysis-main-grid,.anf-bos-analysis-secondary-grid{grid-template-columns:1fr}.anf-bos-analysis-chart-card .anf-bos-template-chart svg{height:210px}}
@media(max-width:700px){.anf-bos-analysis-filter{display:grid;grid-template-columns:1fr}.anf-bos-analysis-dashboard-v2 h1{font-size:18px}.anf-bos-analysis-mini-grid{grid-template-columns:1fr}.anf-bos-analysis-legend{margin-top:8px}.anf-bos-analysis-chart-card .anf-bos-template-chart svg{height:170px}}

/* Order preview, decision reason, and MPO order status tracking. */
.anf-bos-order-preview-card { margin: 0 0 16px; }
.anf-bos-order-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.anf-bos-order-preview-grid > div { background: rgba(15, 23, 42, 0.04); border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 10px; padding: 10px; }
.anf-bos-order-preview-items th, .anf-bos-order-preview-items td,
.anf-bos-my-orders-table th, .anf-bos-my-orders-table td { font-size: 10px; }
.anf-bos-order-preview-totals { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.anf-bos-order-preview-totals span { background: rgba(15, 118, 110, 0.08); border-radius: 999px; padding: 6px 10px; }
.anf-bos-inline-reject-form { display: inline-flex; align-items: flex-start; gap: 6px; margin: 0 6px 6px 0; vertical-align: top; }
.anf-bos-inline-reject-form textarea { width: 150px; min-height: 34px; font-size: 10px; }
.anf-bos-order-rejection-box { margin: 10px 0; }

/* Business Operating System 2.6.35 Representative/MPO personal dashboard and My Target module */
.anf-bos-mpo-dashboard-v3,
.anf-bos-my-target-module{font-size:10px!important;}
.anf-bos-mpo-dashboard-v3 table,.anf-bos-mpo-dashboard-v3 th,.anf-bos-mpo-dashboard-v3 td,.anf-bos-mpo-dashboard-v3 span,.anf-bos-mpo-dashboard-v3 small,.anf-bos-mpo-dashboard-v3 p,.anf-bos-mpo-dashboard-v3 a,.anf-bos-mpo-dashboard-v3 label,
.anf-bos-my-target-module table,.anf-bos-my-target-module th,.anf-bos-my-target-module td,.anf-bos-my-target-module span,.anf-bos-my-target-module small,.anf-bos-my-target-module p,.anf-bos-my-target-module a,.anf-bos-my-target-module label{font-size:10px!important;line-height:1.35;}
.anf-bos-mpo-topbar h1,.anf-bos-my-target-module h1{margin:0 0 5px;font-size:22px;line-height:1.1;font-weight:900;color:var(--tpl-text,#153041);}
.anf-bos-mpo-hero-grid{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(320px,1.08fr);gap:16px;margin:0 0 16px;align-items:stretch;}
.anf-bos-mpo-hero-target,.anf-bos-mpo-hero-work,.anf-bos-mpo-card,.anf-bos-mpo-target-hero{background:#eefafa;border:1px solid #d3ece9;border-radius:12px;padding:14px;box-shadow:none;min-width:0;}
.anf-bos-mpo-hero-target{display:grid;gap:12px;}
.anf-bos-mpo-target-meter{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:12px;background:#fff;border:1px solid #d3ece9;border-radius:10px;}
.anf-bos-mpo-target-meter strong{font-size:28px;line-height:1;font-weight:900;color:#0b746b;}
.anf-bos-mpo-target-meter span{font-weight:800;color:#51707a;text-align:right;}
.anf-bos-mpo-target-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.anf-bos-mpo-target-kpis div,.anf-bos-mpo-work-summary div,.anf-bos-mpo-mini-dues div,.anf-bos-mpo-target-stat,.anf-bos-mpo-target-score{background:#fff;border:1px solid #d3ece9;border-radius:10px;padding:10px;}
.anf-bos-mpo-target-kpis span,.anf-bos-mpo-work-summary span,.anf-bos-mpo-mini-dues span,.anf-bos-mpo-target-stat span,.anf-bos-mpo-target-score span{display:block;color:#51707a;font-weight:800;margin-bottom:4px;}
.anf-bos-mpo-target-kpis b,.anf-bos-mpo-work-summary strong,.anf-bos-mpo-mini-dues strong,.anf-bos-mpo-target-stat strong,.anf-bos-mpo-target-score strong{display:block;color:#153041;font-weight:900;font-size:14px;line-height:1.1;}
.anf-bos-mpo-target-score strong{font-size:24px;color:#0b746b;margin-bottom:8px;}
.anf-bos-mpo-work-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;}
.anf-bos-mpo-work-summary strong{font-size:18px;}
.anf-bos-mpo-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px;}
.anf-bos-mpo-module-card{display:flex;align-items:center;gap:10px;min-height:82px;background:#eefafa;border:1px solid #d3ece9;border-radius:12px;padding:12px;color:#153041;text-decoration:none;box-shadow:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}
.anf-bos-mpo-module-card:hover,.anf-bos-mpo-module-card:focus{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,64,68,.10);border-color:#8edbd3;color:#153041;}
.anf-bos-mpo-module-card i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#204f59;color:#fff;font-size:17px;font-style:normal;font-weight:900;flex:0 0 auto;}
.anf-bos-mpo-module-card strong{display:block;font-size:15px;line-height:1;font-weight:900;color:#153041;margin-bottom:3px;}
.anf-bos-mpo-module-card span{display:block;font-weight:900;color:#204f59;margin-bottom:2px;}
.anf-bos-mpo-module-card small{display:block;color:#51707a;font-weight:700;}
.anf-bos-mpo-module-card.tone-target i{background:#0b746b;}
.anf-bos-mpo-module-card.tone-visit i{background:#2563eb;}
.anf-bos-mpo-module-card.tone-order i{background:#9333ea;}
.anf-bos-mpo-module-card.tone-collection i{background:#0f766e;}
.anf-bos-mpo-module-card.tone-invoice i{background:#ea580c;}
.anf-bos-mpo-module-card.tone-return i{background:#dc2626;}
.anf-bos-mpo-module-card.tone-dues i{background:#475569;}
.anf-bos-mpo-module-card.tone-customer i{background:#16a34a;}
.anf-bos-mpo-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;}
.anf-bos-mpo-card .anf-bos-analysis-clean-table{background:#fff;border:1px solid #d3ece9;border-radius:10px;overflow:hidden;}
.anf-bos-mpo-compact-table{min-width:520px;}
.anf-bos-mpo-compact-table th,.anf-bos-mpo-compact-table td{padding:8px!important;vertical-align:top;}
.anf-bos-mpo-compact-table strong{font-size:10px!important;color:#153041;}
.anf-bos-mpo-compact-table small{color:#64748b;font-weight:700;}
.anf-bos-mpo-target-card{grid-row:span 2;}
.anf-bos-mpo-mini-dues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px;}
.anf-bos-mpo-mini-dues-single{grid-template-columns:1fr;}
.anf-bos-mpo-filter{margin-bottom:16px!important;}
.anf-bos-mpo-target-hero{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(150px,.7fr));gap:12px;margin:0 0 16px;align-items:stretch;}
.anf-bos-my-target-module .anf-bos-mpo-target-table th,.anf-bos-my-target-module .anf-bos-mpo-target-table td{font-size:10px!important;padding:8px!important;}
.anf-bos-my-target-module .anf-bos-mpo-target-table{min-width:980px;background:#fff;border-radius:10px;overflow:hidden;}
@media(max-width:1180px){.anf-bos-mpo-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.anf-bos-mpo-hero-grid,.anf-bos-mpo-dashboard-grid{grid-template-columns:1fr;}.anf-bos-mpo-target-hero{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.anf-bos-mpo-module-grid,.anf-bos-mpo-target-kpis,.anf-bos-mpo-work-summary,.anf-bos-mpo-mini-dues,.anf-bos-mpo-target-hero{grid-template-columns:1fr;}.anf-bos-mpo-topbar{display:block;}.anf-bos-mpo-topbar .anf-bos-template-userbar{justify-content:flex-start;margin-top:12px;}.anf-bos-mpo-target-meter{display:block;}.anf-bos-mpo-target-meter span{text-align:left;margin-top:5px;}.anf-bos-mpo-compact-table{min-width:620px;}}

/* Business Operating System 2.6.36 simplified auto-detected visit entry */
.anf-bos-visit-select-grid{align-items:end;}
.anf-bos-auto-detected-card{margin:12px 0;background:#f8fafc;border:1px solid #e2e8f0;}
.anf-bos-auto-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.anf-bos-auto-details-grid div{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px;min-height:46px;}
.anf-bos-auto-details-grid span{display:block;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;}
.anf-bos-auto-details-grid strong{display:block;color:#0f172a;font-size:11px;line-height:1.35;word-break:break-word;}
.anf-bos-auto-details-wide{grid-column:span 4;}
@media (max-width: 900px){.anf-bos-auto-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.anf-bos-auto-details-wide{grid-column:span 2;}}
@media (max-width: 520px){.anf-bos-auto-details-grid{grid-template-columns:1fr;}.anf-bos-auto-details-wide{grid-column:span 1;}}

/* Business Operating System 2.6.38 popup tab for unsaved visit details */
.anf-bos-visit-add-box{display:flex;flex-direction:column;gap:5px;align-self:end;}
.anf-bos-visit-add-box small{display:block;color:#64748b;font-weight:700;line-height:1.25;}
.anf-bos-visit-detail-popup[hidden]{display:none!important;}
.anf-bos-visit-detail-popup{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px;}
.anf-bos-visit-detail-popup-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px);}
.anf-bos-visit-detail-popup-panel{position:relative;z-index:1;width:min(920px,calc(100vw - 28px));max-height:88vh;overflow:auto;margin:0;background:#fffaf0;border:1px solid #fed7aa;box-shadow:0 28px 90px rgba(15,23,42,.30);border-radius:16px;}
.anf-bos-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #fed7aa;margin:-2px 0 12px;padding-bottom:10px;}
.anf-bos-popup-head h4{margin:0;color:#9a3412;}
.anf-bos-new-visit-detail-card .anf-bos-form-note{color:#7c2d12;margin:4px 0 0;}
.anf-bos-popup-close{font-size:28px;line-height:1;color:#9a3412;text-decoration:none;padding:0 6px;min-width:34px;text-align:center;}
.anf-bos-popup-type-line{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #fde68a;border-radius:9px;padding:8px 10px;margin:0 0 12px;color:#7c2d12;font-weight:800;}
.anf-bos-popup-type-line strong{color:#9a3412;}
.anf-bos-popup-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,250,240,.88),#fffaf0);padding-top:10px;}
.anf-bos-new-visit-name-error{display:block;color:#dc2626;font-weight:800;margin-top:4px;}
body.anf-bos-visit-popup-open{overflow:hidden;}
@media(max-width:700px){.anf-bos-popup-head{align-items:flex-start;}.anf-bos-visit-detail-popup{padding:10px;}.anf-bos-visit-detail-popup-panel{max-height:92vh;width:calc(100vw - 20px);}}


.anf-bos-view-visit-details { white-space: nowrap; }
.anf-bos-unread-advice-row td { background: #fff7ed; }
.anf-bos-mpo-module-card.tone-advice { border-color: #c4b5fd; background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%); }
.anf-bos-advice-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 8px; background: #eef2ff; color: #3730a3; font-weight: 700; }

/* Business Operating System 2.6.42 - Professional rounded table borders */
.anf-bos-wrap .anf-bos-table-scroll,
.anf-bos-public .anf-bos-table-scroll,
.anf-bos-order-preview-card .anf-bos-table-scroll {
    background: #ffffff;
    border: 1px solid #dbe7ef !important;
    border-radius: 16px !important;
    overflow: auto;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.anf-bos-wrap table.widefat,
.anf-bos-wrap table.anf-bos-clean-table,
.anf-bos-wrap table.anf-bos-table,
.anf-bos-wrap table.anf-bos-analysis-clean-table,
.anf-bos-wrap table.anf-bos-template-product-table,
.anf-bos-public table.widefat,
.anf-bos-public table.anf-bos-clean-table,
.anf-bos-public table.anf-bos-table,
.anf-bos-public table.anf-bos-analysis-clean-table,
.anf-bos-public table.anf-bos-template-product-table,
.anf-bos-order-preview-card table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #dbe7ef !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    margin: 10px 0 14px;
}
.anf-bos-wrap table.widefat thead th,
.anf-bos-wrap table.anf-bos-clean-table thead th,
.anf-bos-wrap table.anf-bos-table thead th,
.anf-bos-wrap table.anf-bos-analysis-clean-table thead th,
.anf-bos-wrap table.anf-bos-template-product-table thead th,
.anf-bos-public table.widefat thead th,
.anf-bos-public table.anf-bos-clean-table thead th,
.anf-bos-public table.anf-bos-table thead th,
.anf-bos-public table.anf-bos-analysis-clean-table thead th,
.anf-bos-public table.anf-bos-template-product-table thead th,
.anf-bos-order-preview-card table thead th {
    background: linear-gradient(180deg, #f8fbfd 0%, #eef7f6 100%) !important;
    color: #1f3f46 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .025em;
    border: 0 !important;
    border-bottom: 1px solid #dbe7ef !important;
    padding: 10px 11px !important;
    vertical-align: middle;
    white-space: nowrap;
}
.anf-bos-wrap table.widefat tbody td,
.anf-bos-wrap table.anf-bos-clean-table tbody td,
.anf-bos-wrap table.anf-bos-table tbody td,
.anf-bos-wrap table.anf-bos-analysis-clean-table tbody td,
.anf-bos-wrap table.anf-bos-template-product-table tbody td,
.anf-bos-public table.widefat tbody td,
.anf-bos-public table.anf-bos-clean-table tbody td,
.anf-bos-public table.anf-bos-table tbody td,
.anf-bos-public table.anf-bos-analysis-clean-table tbody td,
.anf-bos-public table.anf-bos-template-product-table tbody td,
.anf-bos-order-preview-card table tbody td {
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #243746;
    padding: 10px 11px !important;
    vertical-align: middle;
}
.anf-bos-wrap table tbody tr:last-child td,
.anf-bos-public table tbody tr:last-child td,
.anf-bos-order-preview-card table tbody tr:last-child td {
    border-bottom: 0 !important;
}
.anf-bos-wrap table thead th:first-child,
.anf-bos-public table thead th:first-child,
.anf-bos-order-preview-card table thead th:first-child {
    border-top-left-radius: 14px;
}
.anf-bos-wrap table thead th:last-child,
.anf-bos-public table thead th:last-child,
.anf-bos-order-preview-card table thead th:last-child {
    border-top-right-radius: 14px;
}
.anf-bos-wrap table tbody tr:last-child td:first-child,
.anf-bos-public table tbody tr:last-child td:first-child,
.anf-bos-order-preview-card table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}
.anf-bos-wrap table tbody tr:last-child td:last-child,
.anf-bos-public table tbody tr:last-child td:last-child,
.anf-bos-order-preview-card table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}
.anf-bos-wrap table tbody tr:hover td,
.anf-bos-public table tbody tr:hover td,
.anf-bos-order-preview-card table tbody tr:hover td {
    background: #f8fcfc !important;
}
.anf-bos-wrap table.striped > tbody > :nth-child(odd),
.anf-bos-public table.striped > tbody > :nth-child(odd) {
    background: transparent !important;
}
.anf-bos-wrap table.striped > tbody > :nth-child(odd) td,
.anf-bos-public table.striped > tbody > :nth-child(odd) td {
    background: #fbfdfd !important;
}
.anf-bos-wrap table td:first-child,
.anf-bos-public table td:first-child,
.anf-bos-order-preview-card table td:first-child {
    border-left: 0 !important;
}
.anf-bos-wrap table td:last-child,
.anf-bos-public table td:last-child,
.anf-bos-order-preview-card table td:last-child {
    border-right: 0 !important;
}
.anf-bos-wrap table small,
.anf-bos-public table small,
.anf-bos-order-preview-card table small {
    color: #667085;
    font-weight: 600;
}
.anf-bos-wrap table .button,
.anf-bos-public table .button,
.anf-bos-order-preview-card table .button {
    border-radius: 999px;
}
@media print {
    .anf-bos-wrap table.widefat,
    .anf-bos-wrap table.anf-bos-clean-table,
    .anf-bos-wrap table.anf-bos-table,
    .anf-bos-wrap table.anf-bos-analysis-clean-table,
    .anf-bos-public table.widefat,
    .anf-bos-public table.anf-bos-clean-table,
    .anf-bos-public table.anf-bos-table,
    .anf-bos-public table.anf-bos-analysis-clean-table {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}


/* Business Operating System 2.6.43 - Session support */
.anf-bos-session-note { border-radius:12px; border:1px solid #fde68a; background:#fffbeb; color:#92400e; padding:10px 12px; }

/* Global front-display confirmation messages */
.anf-bos-front-message{position:sticky;top:12px;z-index:99999;display:flex;align-items:flex-start;gap:10px;max-width:860px;margin:12px auto;padding:12px 44px 12px 14px;border-radius:18px;border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a;box-shadow:0 16px 38px rgba(15,23,42,.16);font-size:10px;line-height:1.45;box-sizing:border-box;}
.anf-bos-front-message strong{display:block;font-size:10px;font-weight:800;margin-bottom:2px;}
.anf-bos-front-message p{margin:0;font-size:10px;line-height:1.45;}
.anf-bos-front-message-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:999px;background:#2563eb;color:#fff;font-weight:800;font-size:11px;line-height:1;}
.anf-bos-front-message-close{position:absolute;right:12px;top:10px;width:22px;height:22px;border:0;border-radius:999px;background:rgba(15,23,42,.08);color:inherit;cursor:pointer;font-size:16px;line-height:20px;text-align:center;padding:0;}
.anf-bos-front-message-success{border-color:#bbf7d0;background:#ecfdf5;color:#065f46;}
.anf-bos-front-message-success .anf-bos-front-message-icon{background:#10b981;}
.anf-bos-front-message-error{border-color:#fecaca;background:#fef2f2;color:#991b1b;}
.anf-bos-front-message-error .anf-bos-front-message-icon{background:#dc2626;}
.anf-bos-front-message-warning{border-color:#fde68a;background:#fffbeb;color:#92400e;}
.anf-bos-front-message-warning .anf-bos-front-message-icon{background:#f59e0b;}
.anf-bos-front-message-info{border-color:#bfdbfe;background:#eff6ff;color:#1e40af;}
@media(max-width:760px){.anf-bos-front-message{margin:8px 10px;border-radius:14px;}}


/* Business Operating System 2.6.56 - unified module font and button sizing */
.anf-bos-public,
.anf-bos-wrap,
.anf-bos-public table,
.anf-bos-wrap table,
.anf-bos-public input,
.anf-bos-public select,
.anf-bos-public textarea,
.anf-bos-public button,
.anf-bos-public .button,
.anf-bos-wrap input,
.anf-bos-wrap select,
.anf-bos-wrap textarea,
.anf-bos-wrap button,
.anf-bos-wrap .button {
    font-size: 10px !important;
    line-height: 1.25 !important;
}
.anf-bos-public .button,
.anf-bos-public button,
.anf-bos-public input[type="submit"],
.anf-bos-wrap .button,
.anf-bos-wrap button,
.anf-bos-wrap input[type="submit"] {
    min-height: 26px !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.anf-bos-public .button-small,
.anf-bos-wrap .button-small {
    min-height: 24px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
}
.anf-bos-public table th,
.anf-bos-public table td,
.anf-bos-wrap table th,
.anf-bos-wrap table td {
    font-size: 10px !important;
}

.anf-bos-logout-button{align-self:flex-start;margin-top:4px}

/* Business Operating System 2.6.68 - unified module header font size */
.anf-bos-public{
	--anf-bos-header-font-size:24px;
}
.anf-bos-public-header h2,
.anf-bos-public-body > h1,
.anf-bos-public-body > h2,
.anf-bos-public-body > h3,
.anf-bos-public-body > .wrap > h1,
.anf-bos-public-body > .wrap > h2,
.anf-bos-public-body > .wrap > h3,
.anf-bos-public-body > .anf-bos-module-head h1,
.anf-bos-public-body > .anf-bos-module-head h2,
.anf-bos-public-body > .anf-bos-module-head h3,
.anf-bos-public-body > .anf-bos-page-intro > h1,
.anf-bos-public-body > .anf-bos-page-intro > h2,
.anf-bos-public-body > .anf-bos-page-intro > h3,
.anf-bos-analysis-dashboard-v2 h1,
.anf-bos-mpo-topbar h1,
.anf-bos-my-target-module h1{
	font-size:var(--anf-bos-header-font-size)!important;
	line-height:1.2!important;
}
.anf-bos-public-body > h1,
.anf-bos-public-body > h2,
.anf-bos-public-body > h3,
.anf-bos-public-body > .wrap > h1,
.anf-bos-public-body > .wrap > h2,
.anf-bos-public-body > .wrap > h3{
	margin-top:0;
	margin-bottom:14px;
}

/* Settings module rebuild */
.anf-bos-settings-wrap .anf-bos-settings-grid .anf-bos-settings-field { display: flex; flex-direction: column; gap: 6px; }
.anf-bos-settings-wrap .anf-bos-settings-field span:first-child { font-weight: 600; }
.anf-bos-settings-wrap .anf-bos-checkbox-line { font-weight: 400; display: flex; gap: 6px; align-items: center; }
.anf-bos-settings-wrap .anf-bos-field-wide { grid-column: 1 / -1; }
.anf-bos-settings-wrap .anf-bos-settings-table-pill { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 7px; border-radius: 999px; background: #f1f5f9; }
.anf-bos-settings-wrap .anf-bos-settings-table-pill.missing { background: #fee2e2; }
.anf-bos-settings-wrap .anf-bos-settings-table-pill.exists { background: #dcfce7; }
.anf-bos-settings-wrap .anf-bos-settings-list { margin-left: 18px; list-style: disc; }
.anf-bos-settings-wrap .anf-bos-settings-save-button { margin: 14px 0 28px; }

/* Business Operating System 2.6.73 - staff signup AJAX/mobile upload status */
.anf-bos-signup-status {
	margin: 14px 0;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #334155;
	font-weight: 600;
}
.anf-bos-signup-status-success {
	border-color: #86efac;
	background: #f0fdf4;
	color: #166534;
}
.anf-bos-signup-status-error {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}
.anf-bos-signup-status-info {
	border-color: #bae6fd;
	background: #f0f9ff;
	color: #075985;
}
.anf-bos-signup-form .button.disabled,
.anf-bos-signup-form .button:disabled {
	opacity: .7;
	cursor: wait;
}

/* Business Operating System 2.6.75 - Dashboard logout visibility */
.anf-bos-dashboard-logout-button{white-space:nowrap;border-radius:999px!important;font-weight:800!important;line-height:1.8!important;padding:2px 12px!important;background:#fff!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.16)!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important;text-decoration:none!important;}
.anf-bos-dashboard-logout-button:hover{background:#f8fafc!important;color:#0f172a!important;}
@media(max-width:900px){.anf-bos-dashboard-logout-button{margin-top:4px;}}

/* BOS 2.6.83 Bangla translation button */
.anf-bos-language-switcher{
	width:100%;
	display:flex;
	justify-content:center;
	align-items:center;
	margin:0 auto 14px;
	position:relative;
	z-index:20;
}
.anf-bos-bangla-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:96px;
	padding:8px 18px;
	border-radius:999px;
	background:#0b746b;
	border:1px solid #0b746b;
	color:#fff!important;
	font-weight:800;
	font-size:15px;
	line-height:1.2;
	text-decoration:none!important;
	box-shadow:0 10px 24px rgba(11,116,107,.22);
	transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.anf-bos-bangla-button:hover,
.anf-bos-bangla-button:focus{
	background:#075f58;
	border-color:#075f58;
	color:#fff!important;
	transform:translateY(-1px);
	box-shadow:0 14px 30px rgba(11,116,107,.30);
}
.anf-bos-bangla-button.is-active{
	background:#14324a;
	border-color:#14324a;
}
@media(max-width:760px){
	.anf-bos-language-switcher{margin-bottom:10px;}
	.anf-bos-bangla-button{width:auto;min-width:86px;padding:8px 16px;}
}

.anf-bos-workflow-percentage-row{grid-template-columns:128px 1fr minmax(118px,auto)}
.anf-bos-workflow-percentage-row span strong,.anf-bos-workflow-percentage-row b strong{display:block}
.anf-bos-workflow-percentage-row span small,.anf-bos-workflow-percentage-row b em{display:block;font-size:11px;line-height:1.25;color:var(--anf-muted);font-style:normal;font-weight:600}
@media (max-width:760px){.anf-bos-workflow-percentage-row{grid-template-columns:96px 1fr 92px}}

/* Business Operating System 2.6.93 - Global BOS logout placement */
.anf-bos-global-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(15,23,42,.10);border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(15,64,68,.10);box-sizing:border-box;}
.anf-bos-global-brand{display:flex;flex-direction:column;gap:2px;min-width:0;}
.anf-bos-global-brand span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0b746b;}
.anf-bos-global-brand strong{font-size:18px;line-height:1.2;color:#102a43;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.anf-bos-global-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;text-align:right;}
.anf-bos-global-actions span{font-size:12px;font-weight:700;color:#49636f;}
.anf-bos-global-logout-button{white-space:nowrap;border-radius:999px!important;font-weight:800!important;background:#0b746b!important;border-color:#0b746b!important;color:#fff!important;text-decoration:none!important;box-shadow:0 10px 22px rgba(11,116,107,.18)!important;}
.anf-bos-global-logout-button:hover,.anf-bos-global-logout-button:focus{background:#095f58!important;border-color:#095f58!important;color:#fff!important;}
.anf-bos-public-dashboard-mode .anf-bos-global-topbar{margin-bottom:14px;}
@media(max-width:700px){.anf-bos-global-topbar{align-items:flex-start;flex-direction:column}.anf-bos-global-actions{justify-content:space-between;text-align:left;width:100%}.anf-bos-global-actions span{max-width:calc(100% - 120px)}}
@media print{.anf-bos-global-topbar{display:none!important}}

/* Business Operating System 2.7.10 - frontend login, remember device, and inline eye password visibility */
.anf-bos-login-grid{
	display:grid;
	grid-template-columns:minmax(280px, 420px) 1fr;
	gap:18px;
	align-items:stretch;
}
.anf-bos-login-form-card strong{
	font-size:19px;
	color:#0f172a;
	margin-bottom:6px;
}
.anf-bos-login-form-card p{
	margin:6px 0 12px;
	color:#667085;
}
.anf-bos-front-login-form{
	margin:12px 0 0;
}
.anf-bos-front-login-form label{
	display:block;
	font-weight:700;
	color:#1f2937;
}
.anf-bos-password-wrap{
	display:block;
	position:relative;
	width:100%;
	margin-top:6px;
}
.anf-bos-form .anf-bos-password-wrap input.anf-bos-password-input,
.anf-bos-password-wrap input.anf-bos-password-input{
	width:100%;
	min-width:0;
	margin:0 0 10px!important;
	padding-right:48px!important;
}
.anf-bos-password-toggle{
	align-items:center;
	background:transparent;
	border:0;
	border-radius:50%;
	color:#64748b;
	cursor:pointer;
	display:flex;
	height:36px;
	justify-content:center;
	margin:0!important;
	min-width:0;
	padding:0;
	position:absolute;
	right:6px;
	top:1px;
	width:36px;
	z-index:2;
}
.anf-bos-password-toggle:hover,
.anf-bos-password-toggle:focus{
	background:#eef8f6;
	box-shadow:0 0 0 2px rgba(11,116,107,.12);
	color:#0b746b;
	outline:none;
}
.anf-bos-password-toggle .anf-bos-eye-icon{
	display:flex;
	height:20px;
	line-height:1;
	width:20px;
}
.anf-bos-password-toggle svg{
	display:block;
	fill:currentColor;
	height:20px;
	width:20px;
}
.anf-bos-password-toggle .anf-bos-eye-closed{display:none;}
.anf-bos-password-toggle.is-visible .anf-bos-eye-open{display:none;}
.anf-bos-password-toggle.is-visible .anf-bos-eye-closed{display:flex;}
.anf-bos-remember-row{
	display:flex!important;
	align-items:center;
	gap:8px;
	margin:0 0 14px;
	font-weight:700;
	color:#334155;
}
.anf-bos-form .anf-bos-remember-row input[type="checkbox"],
.anf-bos-remember-row input[type="checkbox"]{
	width:auto!important;
	margin:0!important;
}
@media(max-width:800px){
	.anf-bos-login-grid{grid-template-columns:1fr;}
}

/* Business Operating System 2.7.11 - repeatable order item active display focus */
.anf-bos-line-item-active{border-color:#0b746b!important;box-shadow:0 0 0 3px rgba(11,116,107,.14),0 16px 34px rgba(15,23,42,.10)!important;background:#f0fdfa!important;transition:box-shadow .25s ease,border-color .25s ease,background .25s ease;}

/* Visit selfie capture and report thumbnail */
.anf-bos-location-actions{align-items:center;gap:10px;flex-wrap:wrap;}
.anf-bos-selfie-capture-label{cursor:pointer;}
.anf-bos-selfie-preview-wrap{display:flex;align-items:center;gap:10px;margin:8px 0 14px;padding:10px;border:1px solid #dbe7d5;border-radius:10px;background:#f7fbf5;}
.anf-bos-selfie-preview-wrap[hidden]{display:none!important;}
.anf-bos-selfie-preview{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #c9d8c1;background:#fff;}
.anf-bos-visit-selfie-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #cbd5e1;background:#fff;display:block;}

/* Business Operating System 2.7.14 - selfie-only GPS and follow-up reminders */
.anf-bos-selfie-quality-label{display:inline-flex;align-items:center;gap:8px;margin:0;color:#334155;font-weight:600;}
.anf-bos-selfie-quality-label select{min-height:34px;width:auto;min-width:170px;margin:0;}
.anf-bos-followup-reminder-card{border-left:4px solid #0b746b;background:#f8fffb;}
.anf-bos-followup-reminder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}
.anf-bos-followup-reminder-head strong{font-size:16px;color:#0f172a;}
.anf-bos-followup-reminder-head span{color:#64748b;font-size:12px;}
.anf-bos-followup-reminder-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;}
.anf-bos-followup-reminder-item{border:1px solid #dbe7d5;border-radius:10px;background:#fff;padding:10px;display:grid;gap:4px;}
.anf-bos-followup-reminder-item strong{color:#0f172a;}
.anf-bos-followup-reminder-item small{color:#64748b;}
@media(max-width:720px){.anf-bos-followup-reminder-head{display:block}.anf-bos-selfie-quality-label{width:100%;justify-content:space-between}.anf-bos-selfie-quality-label select{min-width:0;flex:1}}

/* Business Operating System 2.7.15 - office attendance selfie capture */
.anf-bos-attendance-selfie-actions{margin-top:8px;margin-bottom:8px;}
.anf-bos-attendance-selfie-list{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;min-width:118px;}
.anf-bos-attendance-selfie-link{display:inline-flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;font-size:11px;font-weight:700;color:#334155;}
.anf-bos-attendance-selfie-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #cbd5e1;background:#fff;display:block;}

/* Business Operating System 2.7.16 - attendance auto-GPS and Admin/CFO verification */
.anf-bos-verification-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#eef2ff;color:#3730a3;white-space:nowrap;}
.anf-bos-verification-approved{background:#dcfce7;color:#166534;}
.anf-bos-verification-pending{background:#fef9c3;color:#854d0e;}
.anf-bos-verification-rejected{background:#fee2e2;color:#991b1b;}
.anf-bos-attendance-verify-form{display:grid;gap:6px;min-width:180px;}
.anf-bos-attendance-verify-form textarea{width:100%;min-height:48px;}
.anf-bos-inline-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.anf-bos-attendance-log-table td{vertical-align:top;}

/* Business Operating System 2.7.18 pending action blinking badges */
.anf-bos-pending-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:auto;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 0 0 0 rgba(220,38,38,.58);}
.anf-bos-tab .anf-bos-pending-badge{margin-left:auto;flex:0 0 auto;}
.anf-bos-tab.is-active .anf-bos-pending-badge{background:#f97316;color:#fff;}
.anf-bos-blink-badge{animation:anfBosPendingBlink 1.15s ease-in-out infinite;}
@keyframes anfBosPendingBlink{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(220,38,38,.55);}50%{opacity:.48;transform:scale(1.08);box-shadow:0 0 0 6px rgba(220,38,38,0);}}

/* Business Operating System 2.7.19 - quick customer popup for order submission */
.anf-bos-modal[hidden]{display:none!important;}
.anf-bos-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;}
.anf-bos-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px);}
.anf-bos-modal-dialog{position:relative;z-index:1;width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.30);border:1px solid rgba(15,23,42,.10);padding:18px;box-sizing:border-box;}
.anf-bos-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border-bottom:1px solid #e5e7eb;padding-bottom:10px;}
.anf-bos-modal-head h3{margin:0;color:#0f172a;font-size:20px;line-height:1.2;}
.anf-bos-modal-close{font-size:28px;line-height:1;text-decoration:none;color:#64748b;cursor:pointer;}
.anf-bos-customer-quick-grid{grid-template-columns:1fr 1fr;gap:10px;}
.anf-bos-customer-quick-wide{grid-column:1/-1;}
.anf-bos-customer-quick-message{min-height:20px;margin:8px 0;font-weight:700;color:#475569;}
.anf-bos-inline-error{color:#b91c1c!important;}
.anf-bos-inline-success{color:#166534!important;}
.anf-bos-inline-loading{color:#0b746b!important;}
.anf-bos-modal-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 0;}
@media(max-width:620px){.anf-bos-modal{align-items:flex-start;padding:10px}.anf-bos-customer-quick-grid{grid-template-columns:1fr}.anf-bos-modal-dialog{border-radius:14px;padding:14px;}}

/* Executive generator hide mode */
.anf-bos-generator-toolbar {
	align-items: center;
	background: linear-gradient(135deg, #f7fbf9 0%, #eef8f4 100%);
	border: 1px solid #d6eadf;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 16px 0;
	padding: 18px 20px;
}

.anf-bos-generator-toolbar-summary {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.anf-bos-generator-toolbar-summary strong {
	color: #0f5132;
	font-size: 16px;
	font-weight: 700;
}

.anf-bos-generator-toolbar-summary span {
	color: #4b5f58;
	font-size: 13px;
	line-height: 1.5;
}

.anf-bos-generator-toggle.button.button-primary {
	background: #128b60;
	border-color: #0d7450;
	box-shadow: 0 6px 16px rgba(18, 139, 96, 0.2);
	font-weight: 700;
	white-space: nowrap;
}

.anf-bos-generator-toggle.button.button-primary:hover,
.anf-bos-generator-toggle.button.button-primary:focus {
	background: #0f7653;
	border-color: #0b6447;
}

.anf-bos-generator-panel {
	border-color: #cfe9dc !important;
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08) !important;
	position: relative;
}

.anf-bos-generator-panel-head {
	align-items: center;
	background: #f3fbf7;
	border: 1px solid #d6eadf;
	border-radius: 10px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 10px 12px;
}

.anf-bos-generator-panel-label {
	color: #0f5132;
	font-weight: 700;
}

.anf-bos-generator-close.button {
	background: #ffffff;
	border-color: #b8d8c6;
	color: #0f5132;
	font-weight: 600;
}

.anf-bos-generator-close.button:hover,
.anf-bos-generator-close.button:focus {
	background: #eaf7f0;
	border-color: #8dc6a5;
	color: #0b3f28;
}

@media (max-width: 782px) {
	.anf-bos-generator-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.anf-bos-generator-toggle.button.button-primary {
		text-align: center;
		width: 100%;
	}

	.anf-bos-generator-panel-head {
		align-items: stretch;
		flex-direction: column;
	}
}

.anf-bos-payment-customer-field select {
	display: block;
	width: 100%;
}

.anf-bos-customer-due-preview {
	background: #f6fbf8;
	border: 1px solid #d9eee3;
	border-left: 4px solid #128b60;
	border-radius: 8px;
	color: #174b35;
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	margin-top: 7px;
	padding: 8px 10px;
}

.anf-bos-customer-due-preview.is-loading {
	background: #f8fafc;
	border-color: #dbe3ea;
	border-left-color: #64748b;
	color: #475569;
}

.anf-bos-customer-due-preview.is-due {
	background: #fff7ed;
	border-color: #fed7aa;
	border-left-color: #f97316;
	color: #9a3412;
}

.anf-bos-customer-due-preview.is-clear,
.anf-bos-customer-due-preview.is-advance {
	background: #ecfdf5;
	border-color: #bbf7d0;
	border-left-color: #16a34a;
	color: #166534;
}

.anf-bos-customer-due-preview.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	border-left-color: #dc2626;
	color: #991b1b;
}

/* 2.7.27 Quick Popup Workflow Layer */
.anf-bos-quick-popup-open {
	overflow: hidden;
}

.anf-bos-quick-popup-modal[hidden] {
	display: none !important;
}

.anf-bos-quick-popup-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	box-sizing: border-box;
}

.anf-bos-quick-popup-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(3px);
}

.anf-bos-quick-popup-window {
	position: relative;
	z-index: 1;
	width: min(1240px, 96vw);
	height: min(860px, 92vh);
	background: #f8fafc;
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.35);
}

.anf-bos-quick-popup-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
}

.anf-bos-quick-popup-head strong {
	display: block;
	font-size: 16px;
	color: #0f172a;
}

.anf-bos-quick-popup-subtitle {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.anf-bos-quick-popup-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.anf-bos-quick-popup-loader {
	position: absolute;
	top: 62px;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 9px 14px;
	background: #ecfdf5;
	color: #047857;
	font-weight: 600;
	text-align: center;
	border-bottom: 1px solid #bbf7d0;
}

.anf-bos-quick-popup-frame,
.anf-bos-quick-popup-content {
	width: 100%;
	min-height: 0;
	flex: 1;
	border: 0;
	background: #f8fafc;
	overflow: auto;
}

.anf-bos-quick-popup-content {
	padding: 18px;
	box-sizing: border-box;
}

.anf-bos-quick-popup-content > .anf-bos-card,
.anf-bos-quick-popup-content > .postbox {
	margin: 0;
	max-width: none;
}

body.anf-bos-quick-popup-frame-body {
	background: #f8fafc !important;
	min-width: 0 !important;
}

body.anf-bos-quick-popup-frame-body .anf-bos-global-topbar,
body.anf-bos-quick-popup-frame-body .anf-bos-public-header,
body.anf-bos-quick-popup-frame-body .anf-bos-sidebar,
body.anf-bos-quick-popup-frame-body .anf-bos-tabs,
body.anf-bos-quick-popup-frame-body .anf-bos-sidebar-title {
	display: none !important;
}

body.anf-bos-quick-popup-frame-body .anf-bos-public,
body.anf-bos-quick-popup-frame-body .anf-bos-app-shell,
body.anf-bos-quick-popup-frame-body .anf-bos-public-body {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #f8fafc !important;
}

body.anf-bos-quick-popup-frame-body .wrap.anf-bos-wrap,
body.anf-bos-quick-popup-frame-body .anf-bos-card {
	margin: 16px !important;
}

@media (max-width: 782px) {
	.anf-bos-quick-popup-modal {
		padding: 10px;
	}
	.anf-bos-quick-popup-window {
		width: 98vw;
		height: 94vh;
		border-radius: 14px;
	}
	.anf-bos-quick-popup-head {
		align-items: flex-start;
		flex-direction: column;
	}
	.anf-bos-quick-popup-actions {
		width: 100%;
		justify-content: flex-start;
	}
}

/* -------------------------------------------------------------------------
 * Business Operating System 2.7.31 Professional UI Refresh
 * Scope: visual polish only for BOS admin/public screens. No workflow changes.
 * ------------------------------------------------------------------------- */
:where(.anf-bos-wrap, .anf-bos-public) {
	--anf-bos-primary: #0b746b;
	--anf-bos-primary-dark: #075f58;
	--anf-bos-primary-soft: #e7f8f5;
	--anf-bos-accent: #14b8a6;
	--anf-bos-info: #2563eb;
	--anf-bos-success: #047857;
	--anf-bos-warning: #b45309;
	--anf-bos-danger: #b91c1c;
	--anf-bos-ink: #0f172a;
	--anf-bos-text: #334155;
	--anf-bos-muted: #64748b;
	--anf-bos-line: #dbe7e5;
	--anf-bos-line-soft: #eaf1f0;
	--anf-bos-surface: #ffffff;
	--anf-bos-soft: #f6faf9;
	--anf-bos-soft-2: #eef8f6;
	--anf-bos-shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
	--anf-bos-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
	--anf-bos-shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.14);
	--anf-bos-radius-sm: 12px;
	--anf-bos-radius: 18px;
	--anf-bos-radius-lg: 26px;
	--anf-bos-focus: 0 0 0 3px rgba(20, 184, 166, 0.18);
	color: var(--anf-bos-text);
	font-family: "Noto Sans Bengali", "SolaimanLipi", "Kalpurush", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wrap.anf-bos-wrap {
	max-width: 1440px;
	margin-top: 18px;
	padding: 0 14px 34px 0;
}

.anf-bos-public {
	max-width: 1320px;
	padding: 18px;
	box-sizing: border-box;
}

:where(.anf-bos-wrap, .anf-bos-public) *,
:where(.anf-bos-wrap, .anf-bos-public) *::before,
:where(.anf-bos-wrap, .anf-bos-public) *::after {
	box-sizing: border-box;
}

:where(.anf-bos-wrap, .anf-bos-public) h1,
:where(.anf-bos-wrap, .anf-bos-public) h2,
:where(.anf-bos-wrap, .anf-bos-public) h3,
:where(.anf-bos-wrap, .anf-bos-public) h4 {
	color: var(--anf-bos-ink);
	letter-spacing: -0.025em;
}

:where(.anf-bos-wrap, .anf-bos-public) h1 {
	margin: 0 0 18px;
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

:where(.anf-bos-wrap, .anf-bos-public) h2,
:where(.anf-bos-wrap, .anf-bos-public) h3 {
	font-weight: 800;
}

:where(.anf-bos-wrap, .anf-bos-public) p,
:where(.anf-bos-wrap, .anf-bos-public) .description,
:where(.anf-bos-wrap, .anf-bos-public) small {
	color: var(--anf-bos-muted);
	line-height: 1.55;
}

:where(.anf-bos-wrap, .anf-bos-public) a {
	color: var(--anf-bos-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

:where(.anf-bos-wrap, .anf-bos-public) a:hover,
:where(.anf-bos-wrap, .anf-bos-public) a:focus {
	color: var(--anf-bos-primary-dark);
}

.anf-bos-global-topbar,
.anf-bos-public-header,
.anf-bos-dashboard-topbar,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-panel,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-metric-card,
:where(.anf-bos-wrap, .anf-bos-public) .postbox,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-summary-card,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-invoice-summary-panel,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-mini-card,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-location-form,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-bar {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--anf-bos-line-soft);
	border-radius: var(--anf-bos-radius);
	box-shadow: var(--anf-bos-shadow-sm);
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form,
:where(.anf-bos-wrap, .anf-bos-public) .postbox,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form-card {
	padding: clamp(16px, 1.7vw, 24px);
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-summary-card:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-metric-card:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-panel:hover {
	box-shadow: var(--anf-bos-shadow);
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-grid {
	gap: 16px;
	align-items: stretch;
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-grid-form {
	gap: 14px 16px;
	align-items: start;
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-two-col,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-summary-grid,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-totals {
	gap: 16px;
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card > strong:first-child,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card h3:first-child,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card h4:first-child,
:where(.anf-bos-wrap, .anf-bos-public) .postbox h2,
:where(.anf-bos-wrap, .anf-bos-public) .postbox h3 {
	margin-top: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--anf-bos-ink);
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card strong {
	color: var(--anf-bos-ink);
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-card > span,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-summary-card strong,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-metric-card strong {
	color: var(--anf-bos-primary);
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 850;
	letter-spacing: -0.04em;
}

.anf-bos-global-topbar {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 18px;
	padding: 18px 22px;
	border-radius: var(--anf-bos-radius-lg);
	background:
		radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f2fbf9 55%, #ecfdf5 100%);
}

.anf-bos-global-topbar::after,
.anf-bos-public-header::after,
.anf-bos-dashboard-topbar::after {
	content: "";
	position: absolute;
	inset: auto -60px -80px auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(20, 184, 166, 0.10);
	pointer-events: none;
}

.anf-bos-global-brand span,
.anf-bos-sidebar-title,
.anf-bos-eyebrow {
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--anf-bos-primary);
}

.anf-bos-global-brand strong {
	display: block;
	margin-top: 4px;
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.2;
	font-weight: 850;
	color: var(--anf-bos-ink);
}

.anf-bos-global-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.anf-bos-global-actions > span,
.anf-bos-profile-pill,
.anf-bos-filter-pill,
.anf-bos-campaign-pill {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(219, 231, 229, 0.92);
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
	color: var(--anf-bos-text);
	font-weight: 700;
}

.anf-bos-global-actions > span {
	padding: 8px 12px;
}

.anf-bos-public-header,
.anf-bos-dashboard-topbar {
	position: relative;
	overflow: hidden;
	align-items: center;
	padding: clamp(18px, 2vw, 26px);
	border-radius: var(--anf-bos-radius-lg);
	background:
		linear-gradient(135deg, rgba(255,255,255,0.96), rgba(241,250,249,0.96)),
		radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 36%);
}

.anf-bos-public-header h2,
.anf-bos-dashboard-topbar h1,
.anf-bos-dashboard-topbar h3 {
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 850;
	letter-spacing: -0.045em;
}

.anf-bos-app-shell {
	grid-template-columns: 282px minmax(0, 1fr);
	gap: 22px;
}

.anf-bos-sidebar {
	padding: 16px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,253,252,0.98)),
		radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 34%);
	border-color: var(--anf-bos-line-soft);
	box-shadow: var(--anf-bos-shadow);
}

.anf-bos-sidebar-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 4px 8px 16px;
}

.anf-bos-sidebar-title::before {
	content: "";
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-accent));
	box-shadow: 0 10px 24px rgba(11, 116, 107, 0.22);
}

.anf-bos-tabs {
	gap: 8px;
}

.anf-bos-tab,
.anf-bos-app-shell .anf-bos-tab {
	position: relative;
	gap: 10px;
	min-height: 42px;
	padding: 11px 13px;
	border-radius: 14px;
	background: transparent;
	color: var(--anf-bos-text);
	font-weight: 800;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.anf-bos-tab::before,
.anf-bos-app-shell .anf-bos-tab::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	box-shadow: 0 0 0 4px rgba(203, 213, 225, 0.20);
	flex: 0 0 auto;
}

.anf-bos-tab:hover,
.anf-bos-tab:focus,
.anf-bos-app-shell .anf-bos-tab:hover,
.anf-bos-app-shell .anf-bos-tab:focus {
	transform: translateX(2px);
	background: var(--anf-bos-primary-soft);
	border-color: rgba(20, 184, 166, 0.28);
	color: var(--anf-bos-primary-dark);
	box-shadow: none;
}

.anf-bos-tab.is-active,
.anf-bos-app-shell .anf-bos-tab.is-active {
	background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-accent));
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 14px 28px rgba(11, 116, 107, 0.24);
}

.anf-bos-tab.is-active::before,
.anf-bos-app-shell .anf-bos-tab.is-active::before {
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.20);
}

.anf-bos-pending-badge,
.anf-bos-tab .anf-bos-pending-badge,
.anf-bos-status-badge,
.anf-bos-badge,
.anf-bos-status,
.anf-bos-alert,
.notice.anf-bos-keep-popup-notice {
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.anf-bos-pending-badge,
.anf-bos-tab .anf-bos-pending-badge {
	min-width: 22px;
	margin-left: auto;
	padding: 2px 7px;
	background: #fff7ed;
	color: #c2410c;
	font-size: 11px;
	box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.26);
}

.anf-bos-tab.is-active .anf-bos-pending-badge {
	background: rgba(255,255,255,.18);
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
}

:where(.anf-bos-wrap, .anf-bos-public) .button,
:where(.anf-bos-wrap, .anf-bos-public) button.button,
:where(.anf-bos-wrap, .anf-bos-public) input[type="submit"].button,
:where(.anf-bos-wrap, .anf-bos-public) a.button {
	min-height: 38px;
	padding: 7px 15px;
	border-radius: 999px !important;
	border-color: #cbd5e1;
	background: #ffffff;
	color: var(--anf-bos-ink);
	font-weight: 800;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

:where(.anf-bos-wrap, .anf-bos-public) .button:hover,
:where(.anf-bos-wrap, .anf-bos-public) .button:focus {
	transform: translateY(-1px);
	border-color: var(--anf-bos-accent);
	background: #f8fffd;
	color: var(--anf-bos-primary-dark);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

:where(.anf-bos-wrap, .anf-bos-public) .button-primary,
:where(.anf-bos-wrap, .anf-bos-public) .button.button-primary,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-apply-access-button,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-login-button,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-save-invoice-button {
	border-color: transparent !important;
	background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-accent)) !important;
	color: #ffffff !important;
	box-shadow: 0 14px 30px rgba(11, 116, 107, 0.22) !important;
}

:where(.anf-bos-wrap, .anf-bos-public) .button-primary:hover,
:where(.anf-bos-wrap, .anf-bos-public) .button.button-primary:hover,
:where(.anf-bos-wrap, .anf-bos-public) .button-primary:focus,
:where(.anf-bos-wrap, .anf-bos-public) .button.button-primary:focus {
	background: linear-gradient(135deg, var(--anf-bos-primary-dark), var(--anf-bos-primary)) !important;
	color: #ffffff !important;
	box-shadow: 0 18px 36px rgba(11, 116, 107, 0.28) !important;
}

:where(.anf-bos-wrap, .anf-bos-public) .button-link-delete,
:where(.anf-bos-wrap, .anf-bos-public) .button.button-link-delete {
	border-color: #fecaca !important;
	background: #fff5f5 !important;
	color: var(--anf-bos-danger) !important;
	box-shadow: none !important;
}

:where(.anf-bos-wrap, .anf-bos-public) .button-link-delete:hover,
:where(.anf-bos-wrap, .anf-bos-public) .button.button-link-delete:hover {
	background: #fee2e2 !important;
	border-color: #fca5a5 !important;
}

:where(.anf-bos-wrap, .anf-bos-public) label {
	font-weight: 750;
	color: var(--anf-bos-ink);
}

:where(.anf-bos-wrap, .anf-bos-public) input[type="text"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="email"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="password"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="number"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="date"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="time"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="url"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="tel"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="search"],
:where(.anf-bos-wrap, .anf-bos-public) select,
:where(.anf-bos-wrap, .anf-bos-public) textarea {
	width: 100%;
	min-height: 42px;
	margin-top: 6px;
	margin-bottom: 10px;
	padding: 9px 12px;
	border: 1px solid #cfdedc;
	border-radius: 12px;
	background-color: #ffffff;
	color: var(--anf-bos-ink);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

:where(.anf-bos-wrap, .anf-bos-public) textarea {
	min-height: 96px;
	resize: vertical;
}

:where(.anf-bos-wrap, .anf-bos-public) input:focus,
:where(.anf-bos-wrap, .anf-bos-public) select:focus,
:where(.anf-bos-wrap, .anf-bos-public) textarea:focus {
	border-color: var(--anf-bos-accent);
	box-shadow: var(--anf-bos-focus);
}

:where(.anf-bos-wrap, .anf-bos-public) input[type="checkbox"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="radio"] {
	width: auto !important;
	min-height: auto;
	margin: 0 7px 0 0;
	padding: 0;
	border-radius: 4px;
}

:where(.anf-bos-wrap, .anf-bos-public) input[type="file"] {
	padding: 12px;
	border: 1px dashed #9fcfca;
	background: #f8fffd;
}

:where(.anf-bos-wrap, .anf-bos-public) input[readonly],
:where(.anf-bos-wrap, .anf-bos-public) input:disabled,
:where(.anf-bos-wrap, .anf-bos-public) select:disabled,
:where(.anf-bos-wrap, .anf-bos-public) textarea:disabled {
	background: #f1f5f9;
	border-color: #d8e2e0;
	color: #64748b;
}

.anf-bos-filter-form,
.anf-bos-filter-bar,
.anf-bos-actions,
.anf-bos-form-actions,
.anf-bos-inline-actions,
.anf-bos-table-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.anf-bos-filter-form {
	background: #f8fcfb;
	border: 1px solid var(--anf-bos-line-soft);
	border-radius: 16px;
	padding: 12px;
	margin: 12px 0 18px;
}

.anf-bos-filter-form input,
.anf-bos-filter-form select,
.anf-bos-filter-bar input,
.anf-bos-filter-bar select {
	width: auto;
	min-width: 160px;
	margin: 0;
}

:where(.anf-bos-wrap, .anf-bos-public) .widefat,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table {
	width: 100%;
	border: 1px solid var(--anf-bos-line-soft) !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
	overflow: hidden;
}

:where(.anf-bos-wrap, .anf-bos-public) .widefat thead th,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table thead th,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table thead th,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table thead th {
	padding: 12px 14px;
	background: linear-gradient(180deg, #f8fcfb, #edf7f5);
	border-bottom: 1px solid var(--anf-bos-line-soft);
	color: #475569;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	white-space: nowrap;
}

:where(.anf-bos-wrap, .anf-bos-public) .widefat td,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table td,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table td,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #eef4f3;
	color: var(--anf-bos-text);
	vertical-align: middle;
}

:where(.anf-bos-wrap, .anf-bos-public) .widefat tr:last-child td,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table tr:last-child td,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table tr:last-child td {
	border-bottom: 0;
}

:where(.anf-bos-wrap, .anf-bos-public) .striped > tbody > :nth-child(odd),
:where(.anf-bos-wrap, .anf-bos-public) .widefat.striped tbody tr:nth-child(odd) {
	background-color: #fbfefe;
}

:where(.anf-bos-wrap, .anf-bos-public) .widefat tbody tr:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table tbody tr:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table tbody tr:hover {
	background: #f0fbf8;
}

:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table td:first-child,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table td:last-child {
	border-radius: 0;
	border-left: 0;
	border-right: 0;
}

.anf-bos-table-actions form,
.anf-bos-inline-actions form {
	display: inline-flex !important;
	margin: 0 4px 4px 0;
}

.anf-bos-status-badge,
.anf-bos-badge,
.anf-bos-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 26px;
	padding: 5px 10px;
	background: var(--anf-bos-primary-soft);
	border: 1px solid rgba(20, 184, 166, 0.18);
	color: var(--anf-bos-primary-dark);
	font-size: 12px;
}

.anf-bos-status-badge::before,
.anf-bos-badge::before,
.anf-bos-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	opacity: .72;
}

.anf-bos-status-badge.warning,
.anf-bos-status-pending,
.anf-bos-status-draft {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #c2410c;
}

.anf-bos-status-completed,
.anf-bos-status-approved,
.anf-bos-status-success,
.anf-bos-status-verified {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: var(--anf-bos-success);
}

.anf-bos-status-cancelled,
.anf-bos-status-rejected,
.anf-bos-status-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: var(--anf-bos-danger);
}

.anf-bos-alert,
.anf-bos-alert-success,
.anf-bos-alert-error,
:where(.anf-bos-wrap, .anf-bos-public) .notice {
	border-radius: 14px;
	padding: 12px 14px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.anf-bos-alert-success,
.anf-bos-alert.is-success,
:where(.anf-bos-wrap, .anf-bos-public) .notice-success {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #047857;
}

.anf-bos-alert-error,
.anf-bos-alert.is-error,
:where(.anf-bos-wrap, .anf-bos-public) .notice-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

:where(.anf-bos-wrap, .anf-bos-public) .notice-warning {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.anf-bos-line-item {
	border: 1px solid var(--anf-bos-line-soft);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff, #f8fcfb);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.anf-bos-live-summary {
	border-radius: 16px;
	border-color: var(--anf-bos-line-soft);
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.anf-bos-live-summary div {
	padding: 12px 14px;
	border-color: #eef4f3;
}

.anf-bos-live-summary .total {
	background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-accent));
	color: #ffffff;
}

.anf-bos-invoice-table-wrap,
.anf-bos-table-scroll {
	border-color: var(--anf-bos-line-soft);
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.anf-bos-login-panel {
	min-height: min(760px, 88vh);
	display: grid;
	align-content: center;
}

.anf-bos-login-grid {
	display: grid;
	grid-template-columns: minmax(280px, 430px) minmax(280px, 1fr);
	gap: 18px;
	align-items: stretch;
}

.anf-bos-login-form-card,
.anf-bos-staff-access-card {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
}

.anf-bos-login-form-card::before,
.anf-bos-staff-access-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--anf-bos-primary), var(--anf-bos-accent));
}

.anf-bos-password-wrap {
	position: relative;
	display: block;
}

.anf-bos-password-wrap input {
	padding-right: 48px;
}

.anf-bos-password-toggle {
	position: absolute;
	right: 7px;
	top: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 10px;
	background: var(--anf-bos-primary-soft);
	color: var(--anf-bos-primary);
	cursor: pointer;
}

.anf-bos-password-toggle svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.anf-bos-remember-row {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin: 4px 0 14px;
	color: var(--anf-bos-muted);
	font-weight: 700;
}

.anf-bos-selfie-preview-wrap,
.anf-bos-location-status,
.anf-bos-customer-due-preview,
.anf-bos-stock-hint {
	border-radius: 12px;
}

.anf-bos-customer-due-preview,
.anf-bos-stock-hint,
.anf-bos-location-status {
	display: inline-flex;
	align-items: center;
	padding: 6px 9px;
	background: #f8fcfb;
	border: 1px solid #e2ecea;
	color: var(--anf-bos-muted);
	font-size: 12px;
	font-weight: 700;
}

.anf-bos-location-status.anf-bos-location-success {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: var(--anf-bos-success);
}

.anf-bos-location-status.anf-bos-location-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: var(--anf-bos-danger);
}

.anf-bos-location-status.anf-bos-location-loading {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: var(--anf-bos-info);
}

.anf-bos-quick-popup-modal {
	backdrop-filter: blur(8px);
}

.anf-bos-quick-popup-window {
	border-radius: 24px;
	box-shadow: var(--anf-bos-shadow-lg);
	background: #f8fcfb;
}

.anf-bos-quick-popup-head {
	padding: 16px 20px;
	background: linear-gradient(135deg, #ffffff, #f0fbf8);
}

.anf-bos-quick-popup-head strong {
	font-size: 18px;
	font-weight: 850;
}

.anf-bos-quick-popup-content,
.anf-bos-quick-popup-frame {
	background: #f8fcfb;
}

.anf-bos-clean-table th,
.anf-bos-clean-table td {
	background-clip: padding-box;
}

.anf-bos-report-titlebar {
	border-bottom-color: var(--anf-bos-line-soft);
}

.anf-bos-report-totals div {
	border-color: var(--anf-bos-line-soft);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff, #f8fcfb);
}

.anf-bos-chart-card,
.anf-bos-dashboard-grid .anf-bos-panel,
.anf-bos-dashboard-grid .anf-bos-metric-card {
	border-radius: 26px;
}

.anf-bos-pie,
.anf-bos-ring {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 28px rgba(11,116,107,.12);
}

@media (max-width: 1100px) {
	.anf-bos-app-shell {
		grid-template-columns: 236px minmax(0, 1fr);
		gap: 16px;
	}
	.anf-bos-login-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.wrap.anf-bos-wrap,
	.anf-bos-public {
		padding: 12px;
	}
	.anf-bos-app-shell {
		grid-template-columns: 1fr;
	}
	.anf-bos-sidebar {
		position: relative;
		top: auto;
	}
	.anf-bos-app-shell .anf-bos-tabs {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
	}
	.anf-bos-tab,
	.anf-bos-app-shell .anf-bos-tab {
		justify-content: flex-start;
		text-align: left;
	}
	.anf-bos-filter-form input,
	.anf-bos-filter-form select,
	.anf-bos-filter-bar input,
	.anf-bos-filter-bar select {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 782px) {
	.anf-bos-global-topbar,
	.anf-bos-public-header,
	.anf-bos-dashboard-topbar,
	.anf-bos-section-head,
	.anf-bos-report-titlebar,
	.anf-bos-staff-access-card {
		display: block;
	}
	.anf-bos-global-actions,
	.anf-bos-login-actions,
	.anf-bos-section-head .button,
	.anf-bos-report-titlebar .button {
		justify-content: flex-start;
		margin-top: 12px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .button,
	:where(.anf-bos-wrap, .anf-bos-public) a.button,
	:where(.anf-bos-wrap, .anf-bos-public) button.button {
		width: auto;
		max-width: 100%;
	}
	.anf-bos-table-actions .button,
	.anf-bos-inline-actions .button,
	.anf-bos-form-actions .button,
	.anf-bos-login-actions .button,
	.anf-bos-save-invoice-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .widefat,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clean-table,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.anf-bos-dashboard-grid,
	.anf-bos-grid,
	.anf-bos-grid-form,
	.anf-bos-summary-grid,
	.anf-bos-report-totals {
		grid-template-columns: 1fr !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.anf-bos-wrap, .anf-bos-public) *,
	:where(.anf-bos-wrap, .anf-bos-public) *::before,
	:where(.anf-bos-wrap, .anf-bos-public) *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * Business Operating System 2.7.32 Staff Signup / Access Popup UI Fix
 * Scope: standalone [anf_bos_staff_signup] page and ?anf_bos_access_popup=1.
 * ------------------------------------------------------------------------- */
body.anf-bos-access-popup-page,
body.anf-bos-quick-popup-frame-body {
	background:
		radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 30%),
		linear-gradient(135deg, #eef9f7 0%, #f8fcfb 48%, #ffffff 100%) !important;
	min-width: 0 !important;
}

body.anf-bos-access-popup-page header,
body.anf-bos-access-popup-page footer,
body.anf-bos-access-popup-page .site-header,
body.anf-bos-access-popup-page .main-header,
body.anf-bos-access-popup-page .page-header,
body.anf-bos-access-popup-page .entry-header,
body.anf-bos-access-popup-page .elementor-location-header,
body.anf-bos-access-popup-page .elementor-location-footer,
body.anf-bos-access-popup-page #masthead,
body.anf-bos-access-popup-page #colophon,
body.anf-bos-access-popup-page .site-footer,
body.anf-bos-access-popup-page .main-footer,
body.anf-bos-access-popup-page .footer,
body.anf-bos-access-popup-page .copyright,
body.anf-bos-access-popup-page .entry-title,
body.anf-bos-access-popup-page .page-title,
body.anf-bos-access-popup-page .post-navigation,
body.anf-bos-access-popup-page .comments-area {
	display: none !important;
}

body.anf-bos-access-popup-page #page,
body.anf-bos-access-popup-page .site,
body.anf-bos-access-popup-page .site-content,
body.anf-bos-access-popup-page #content,
body.anf-bos-access-popup-page .content-area,
body.anf-bos-access-popup-page main,
body.anf-bos-access-popup-page article,
body.anf-bos-access-popup-page .entry-content,
body.anf-bos-access-popup-page .container,
body.anf-bos-access-popup-page .wrap,
body.anf-bos-access-popup-page .wp-site-blocks {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.anf-bos-access-popup-page .entry-content > * {
	max-width: none !important;
}

.anf-bos-signup-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(14px, 2vw, 28px);
}

body.anf-bos-access-popup-page .anf-bos-signup-page,
body.anf-bos-quick-popup-frame-body .anf-bos-signup-page {
	min-height: 100vh;
	padding: clamp(12px, 2vw, 24px) !important;
}

.anf-bos-signup-page .anf-bos-public-header {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	margin: 0 0 18px;
	padding: clamp(18px, 2.2vw, 28px);
	border: 1px solid rgba(191, 223, 219, 0.85);
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(20, 184, 166, 0.20), transparent 30%),
		linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,250,248,0.98));
	box-shadow: 0 24px 64px rgba(11, 116, 107, 0.10);
}

.anf-bos-signup-page .anf-bos-public-header h2 {
	margin: 0 0 8px;
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.055em;
	color: #0f172a;
}

.anf-bos-signup-page .anf-bos-public-header h2::before {
	content: "BOS Access";
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	margin: 0 0 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e7f8f5;
	border: 1px solid rgba(20, 184, 166, 0.22);
	color: #075f58;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.anf-bos-signup-page .anf-bos-public-header p {
	max-width: 720px;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #64748b;
}

.anf-bos-signup-page .anf-bos-public-header .anf-bos-login-button {
	white-space: nowrap;
}

.anf-bos-signup-form {
	position: relative;
	overflow: hidden;
	counter-reset: anf-bos-signup-step;
	margin: 0 !important;
	padding: clamp(18px, 2vw, 28px) !important;
	border: 1px solid rgba(191, 223, 219, 0.88) !important;
	border-radius: 28px !important;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,253,252,0.98)),
		radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.12), transparent 34%) !important;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
}

.anf-bos-signup-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #0b746b, #14b8a6, #38d9c9);
}

.anf-bos-signup-form > h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 26px 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid #e5f1ef;
	color: #0f172a;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.025em;
}

.anf-bos-signup-form > h3:first-of-type {
	margin-top: 0;
}

.anf-bos-signup-form > h3::before {
	counter-increment: anf-bos-signup-step;
	content: counter(anf-bos-signup-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0b746b, #14b8a6);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 10px 22px rgba(11, 116, 107, 0.22);
}

.anf-bos-signup-form .anf-bos-grid-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.anf-bos-signup-form .anf-bos-grid-form > label,
.anf-bos-signup-form > label {
	display: block;
	margin: 0;
	padding: 13px 14px;
	border: 1px solid #e5f1ef;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
	color: #0f172a;
	font-size: 13px;
	font-weight: 850;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.anf-bos-signup-form > label + label {
	margin-top: 14px;
}

.anf-bos-signup-form input,
.anf-bos-signup-form select,
.anf-bos-signup-form textarea {
	margin-bottom: 0 !important;
}

.anf-bos-signup-form textarea {
	min-height: 98px;
}

.anf-bos-signup-form .anf-bos-form-note {
	margin: -4px 0 14px;
	padding: 12px 14px;
	border: 1px solid #dbeafe;
	border-radius: 16px;
	background: #eff6ff;
	color: #1e40af;
	font-size: 13px;
	font-weight: 650;
}

.anf-bos-document-upload-grid > label {
	background: linear-gradient(180deg, #ffffff, #f8fffd) !important;
}

.anf-bos-document-upload-grid input[type="file"] {
	margin-top: 9px !important;
	padding: 14px !important;
	border: 1.5px dashed #8ccdc6 !important;
	border-radius: 16px !important;
	background: #f4fffd !important;
	cursor: pointer;
}

.anf-bos-signup-status {
	margin: 18px 0 14px !important;
	padding: 13px 15px !important;
	border-radius: 16px !important;
	font-weight: 800;
	line-height: 1.5;
}

.anf-bos-signup-form .anf-bos-apply-access-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin-top: 16px !important;
	font-size: 15px;
	font-weight: 900;
}

.anf-bos-signup-form .anf-bos-password-toggle {
	top: 11px;
	right: 8px;
}

body.anf-bos-access-popup-page .anf-bos-signup-page .anf-bos-public-header {
	margin-bottom: 14px;
}

@media (max-width: 900px) {
	.anf-bos-signup-page .anf-bos-public-header {
		grid-template-columns: 1fr;
	}

	.anf-bos-signup-page .anf-bos-public-header .anf-bos-login-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 720px) {
	.anf-bos-signup-page,
	body.anf-bos-access-popup-page .anf-bos-signup-page,
	body.anf-bos-quick-popup-frame-body .anf-bos-signup-page {
		padding: 10px !important;
	}

	.anf-bos-signup-form .anf-bos-grid-form {
		grid-template-columns: 1fr;
	}

	.anf-bos-signup-form,
	.anf-bos-signup-page .anf-bos-public-header {
		border-radius: 22px !important;
	}
}

/* --------------------------------------------------------------------------
 * v2.7.33 Responsive Device Compatibility Layer
 * Desktop, laptop, tablet, iPad, mobile, Mac/Safari friendly refinements.
 * Business logic is not affected; this is presentation/accessibility only.
 * -------------------------------------------------------------------------- */
:where(.anf-bos-wrap, .anf-bos-public, .anf-bos-app-shell, .anf-bos-signup-page, .anf-bos-modal-dialog, .anf-bos-quick-popup-frame) {
	box-sizing: border-box;
	max-width: 100%;
}
:where(.anf-bos-wrap, .anf-bos-public, .anf-bos-app-shell, .anf-bos-signup-page, .anf-bos-modal-dialog, .anf-bos-quick-popup-frame) *,
:where(.anf-bos-wrap, .anf-bos-public, .anf-bos-app-shell, .anf-bos-signup-page, .anf-bos-modal-dialog, .anf-bos-quick-popup-frame) *::before,
:where(.anf-bos-wrap, .anf-bos-public, .anf-bos-app-shell, .anf-bos-signup-page, .anf-bos-modal-dialog, .anf-bos-quick-popup-frame) *::after {
	box-sizing: border-box;
}
:where(.anf-bos-wrap, .anf-bos-public) {
	width: min(100%, 1280px);
	padding-left: max(12px, env(safe-area-inset-left));
	padding-right: max(12px, env(safe-area-inset-right));
	margin-left: auto;
	margin-right: auto;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
:where(.anf-bos-wrap, .anf-bos-public) img,
:where(.anf-bos-wrap, .anf-bos-public) video,
:where(.anf-bos-wrap, .anf-bos-public) canvas,
:where(.anf-bos-wrap, .anf-bos-public) svg {
	max-width: 100%;
	height: auto;
}
:where(.anf-bos-wrap, .anf-bos-public) iframe {
	max-width: 100%;
}
:where(.anf-bos-wrap, .anf-bos-public) :is(h1,h2,h3,h4,p,span,strong,small,td,th,label,div,a,button) {
	overflow-wrap: anywhere;
}
:where(.anf-bos-wrap, .anf-bos-public) :is(input,select,textarea,button,.button,a.button) {
	max-width: 100%;
	min-height: 42px;
	touch-action: manipulation;
}
:where(.anf-bos-wrap, .anf-bos-public) :is(input,select,textarea) {
	line-height: 1.35;
	-webkit-appearance: none;
	appearance: none;
}
:where(.anf-bos-wrap, .anf-bos-public) input[type="checkbox"],
:where(.anf-bos-wrap, .anf-bos-public) input[type="radio"] {
	-webkit-appearance: auto;
	appearance: auto;
	min-height: 0;
	width: auto;
}
:where(.anf-bos-wrap, .anf-bos-public) input[type="file"] {
	min-height: 46px;
	white-space: normal;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-responsive-table-shell,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-scroll,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-responsive,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table-wrap,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-invoice-items-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	border-radius: 18px;
	scrollbar-width: thin;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-responsive-table-shell > table,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-scroll > table,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-responsive > table {
	margin-bottom: 0;
}
:where(.anf-bos-wrap, .anf-bos-public) table {
	max-width: 100%;
}
:where(.anf-bos-wrap, .anf-bos-public) table :is(th,td) {
	vertical-align: middle;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-responsive-table-shell.is-scrollable::after,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-scroll.is-scrollable::after,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-responsive.is-scrollable::after {
	content: 'Swipe to view more';
	display: block;
	padding: 7px 10px 9px;
	font-size: 11px;
	font-weight: 800;
	text-align: center;
	color: #64748b;
	background: linear-gradient(180deg, rgba(248,250,252,0), rgba(248,250,252,.9));
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-section-head,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-panel-head,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-titlebar,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-global-topbar,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-public-header,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-dashboard-topbar {
	min-width: 0;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-section-head > *,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-panel-head > *,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-titlebar > *,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-global-topbar > *,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-public-header > *,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-dashboard-topbar > * {
	min-width: 0;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form-actions,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-actions,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-inline-actions,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-bar,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-form {
	max-width: 100%;
	min-width: 0;
	flex-wrap: wrap;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-modal,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-quick-popup-overlay,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-popup {
	padding-left: max(10px, env(safe-area-inset-left));
	padding-right: max(10px, env(safe-area-inset-right));
	padding-bottom: max(10px, env(safe-area-inset-bottom));
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-modal-dialog,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-quick-popup-panel,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-popup-panel {
	width: min(100%, 980px);
	max-height: min(92vh, 900px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-status,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-badge,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-verification-badge,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-campaign-pill,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-pill {
	white-space: normal;
	line-height: 1.25;
}
body.anf-bos-public-surface-page {
	overflow-x: hidden;
}
body.anf-bos-access-popup-page {
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}
body.anf-bos-access-popup-page .site,
body.anf-bos-access-popup-page #page,
body.anf-bos-access-popup-page .site-content,
body.anf-bos-access-popup-page .content-area,
body.anf-bos-access-popup-page main,
body.anf-bos-access-popup-page article,
body.anf-bos-access-popup-page .entry-content {
	max-width: 100% !important;
	overflow-x: clip;
}
.anf-bos-device-ios :where(.anf-bos-wrap, .anf-bos-public) :is(input,select,textarea),
.anf-bos-device-macos :where(.anf-bos-wrap, .anf-bos-public) :is(input,select,textarea) {
	font-size: 16px;
}
.anf-bos-device-touch :where(.anf-bos-wrap, .anf-bos-public) :is(button,.button,a.button,input[type="submit"]) {
	min-height: 44px;
}

@media (hover: none) and (pointer: coarse) {
	:where(.anf-bos-wrap, .anf-bos-public) :is(button,.button,a.button,input[type="submit"]) {
		min-height: 44px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-tab {
		min-height: 42px;
	}
}

@media (max-width: 1180px) {
	:where(.anf-bos-wrap, .anf-bos-public) {
		width: 100%;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-dashboard-grid,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-analysis-main-grid,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-analysis-secondary-grid,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-mpo-dashboard-grid,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-mpo-hero-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-app-shell {
		grid-template-columns: 1fr !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-sidebar {
		position: relative !important;
		top: auto !important;
		width: 100%;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-tabs,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-app-shell .anf-bos-tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 8px;
		padding: 4px 2px 8px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-tab,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-app-shell .anf-bos-tab {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
		max-width: 84vw;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-bar,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-form {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-bar :is(input,select,button,.button),
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-form :is(input,select,button,.button) {
		width: 100%;
		min-width: 0 !important;
	}
}

@media (max-width: 782px) {
	:where(.anf-bos-wrap, .anf-bos-public) {
		padding-left: max(10px, env(safe-area-inset-left));
		padding-right: max(10px, env(safe-area-inset-right));
	}
	:where(.anf-bos-wrap, .anf-bos-public) :is(input,select,textarea) {
		font-size: 16px !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) :is(.anf-bos-card,.anf-bos-panel,.anf-bos-form,.anf-bos-form-card,.anf-bos-metric-card,.anf-bos-signup-form,.anf-bos-public-header,.anf-bos-dashboard-topbar) {
		border-radius: 18px !important;
		padding: 14px !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) :is(.anf-bos-dashboard-grid,.anf-bos-analysis-main-grid,.anf-bos-analysis-secondary-grid,.anf-bos-mpo-dashboard-grid,.anf-bos-mpo-hero-grid,.anf-bos-grid,.anf-bos-grid-form,.anf-bos-summary-grid,.anf-bos-report-totals,.anf-bos-two-col,.anf-bos-invoice-meta-grid,.anf-bos-mpo-target-hero,.anf-bos-mpo-module-grid,.anf-bos-mpo-target-kpis,.anf-bos-mpo-work-summary,.anf-bos-mpo-mini-dues,.anf-bos-auto-details-grid,.anf-bos-customer-quick-grid) {
		grid-template-columns: 1fr !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-flow-row,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-workflow-percentage-row {
		grid-template-columns: 1fr !important;
		gap: 6px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-flow-row b,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-workflow-percentage-row b {
		text-align: left;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-rings,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-ring-labels {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-bar,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-filter-form {
		grid-template-columns: 1fr;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-actions,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-inline-actions,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form-actions,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-login-actions,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-global-actions {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
		min-width: 0 !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-actions :is(.button,button,a),
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-inline-actions :is(.button,button,a),
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-form-actions :is(.button,button,a,input[type="submit"]),
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-login-actions :is(.button,button,a,input[type="submit"]),
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-global-actions :is(.button,button,a,input[type="submit"]) {
		width: 100% !important;
		justify-content: center;
		text-align: center;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-responsive-table-shell,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-scroll,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-table-responsive,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-report-table-wrap,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-invoice-items-wrap {
		margin-left: -2px;
		margin-right: -2px;
		border: 1px solid rgba(148, 163, 184, .22);
		box-shadow: inset -18px 0 22px -24px rgba(15, 23, 42, .48);
	}
	:where(.anf-bos-wrap, .anf-bos-public) table:is(.widefat,.anf-bos-clean-table,.anf-bos-table,.anf-bos-report-table,.anf-bos-smart-report-table,.anf-bos-invoice-items-table,.anf-bos-mpo-target-table,.anf-bos-mpo-compact-table) {
		display: table !important;
		width: max-content;
		min-width: 720px;
		white-space: nowrap;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-modal,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-quick-popup-overlay,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-popup {
		align-items: flex-start;
		overflow-y: auto;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-modal-dialog,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-quick-popup-panel,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-popup-panel {
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		max-height: calc(100dvh - 20px);
		border-radius: 18px !important;
	}
	body.anf-bos-access-popup-page .anf-bos-signup-page,
	body.anf-bos-quick-popup-frame-body .anf-bos-signup-page {
		min-height: 100dvh;
	}
}

@media (max-width: 520px) {
	:where(.anf-bos-wrap, .anf-bos-public) {
		padding-left: max(8px, env(safe-area-inset-left));
		padding-right: max(8px, env(safe-area-inset-right));
	}
	:where(.anf-bos-wrap, .anf-bos-public) :is(h1,.anf-bos-dashboard-topbar h1,.anf-bos-dashboard-topbar h3) {
		font-size: clamp(22px, 7vw, 30px) !important;
		line-height: 1.12;
	}
	:where(.anf-bos-wrap, .anf-bos-public) :is(h2,.anf-bos-panel-head h2) {
		font-size: clamp(17px, 5.5vw, 22px) !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-tabs,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-app-shell .anf-bos-tabs {
		margin-left: -8px;
		margin-right: -8px;
		padding-left: 8px;
		padding-right: 8px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) table:is(.widefat,.anf-bos-clean-table,.anf-bos-table,.anf-bos-report-table,.anf-bos-smart-report-table,.anf-bos-invoice-items-table,.anf-bos-mpo-target-table,.anf-bos-mpo-compact-table) {
		min-width: 680px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-hero-number strong,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-metric-card strong {
		font-size: clamp(26px, 9vw, 38px) !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-rings {
		grid-template-columns: 1fr !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-ring-labels {
		display: none !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-front-message {
		left: 8px;
		right: 8px;
		width: auto;
		max-width: none;
	}
}

@supports (-webkit-touch-callout: none) {
	body.anf-bos-public-surface-page {
		min-height: -webkit-fill-available;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-modal-dialog,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-quick-popup-panel,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-popup-panel {
		-webkit-transform: translateZ(0);
	}
}

/* v2.7.37 BOS clean front-end display and approved-only ad protection */
body.anf-bos-public-surface-page.admin-bar,
html:has(body.anf-bos-public-surface-page.admin-bar){margin-top:0!important;padding-top:0!important;}
body.anf-bos-public-surface-page #wpadminbar{display:none!important;visibility:hidden!important;pointer-events:none!important;height:0!important;overflow:hidden!important;}
body.anf-bos-public-surface-page.anf-bos-adguard-enabled .adsbygoogle,
body.anf-bos-public-surface-page.anf-bos-adguard-enabled .google-auto-placed,
body.anf-bos-public-surface-page.anf-bos-adguard-enabled [data-ad-client],
body.anf-bos-public-surface-page.anf-bos-adguard-enabled [data-ad-slot],
body.anf-bos-public-surface-page.anf-bos-adguard-enabled [data-google-query-id],
body.anf-bos-public-surface-page.anf-bos-adguard-enabled [data-anf-bos-adguard-blocked="1"]{display:none!important;visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;max-width:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;}

/* v2.7.38: Visit report bulk delete controls */
.anf-bos-bulk-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 14px 0 12px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff7f7;
}
.anf-bos-bulk-action-bar .description {
    color: #64748b;
}
.anf-bos-table th.check-column,
.anf-bos-table td.check-column {
    width: 42px;
    text-align: center;
    vertical-align: middle;
}
.anf-bos-table .check-column input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* v2.7.39: Contact picker, auto area fill and module-wide UI polish */
:where(.anf-bos-public,.anf-bos-wrap) {
    --anf-bos-surface: #ffffff;
    --anf-bos-soft: #f8fafc;
    --anf-bos-line: #e2e8f0;
    --anf-bos-primary: #0f75bc;
    --anf-bos-primary-dark: #075985;
    --anf-bos-danger: #dc2626;
    --anf-bos-text: #0f172a;
    --anf-bos-muted: #64748b;
    --anf-bos-radius: 16px;
    --anf-bos-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-card,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-panel,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-dashboard-card,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-info-card {
    border: 1px solid rgba(148, 163, 184, .28) !important;
    border-radius: var(--anf-bos-radius) !important;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
    box-shadow: var(--anf-bos-shadow) !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-module-head,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-panel-head {
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(14, 116, 144, .10), rgba(220, 38, 38, .07), rgba(255,255,255,.9)) !important;
    border: 1px solid rgba(14, 116, 144, .16) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06) !important;
}
:where(.anf-bos-public,.anf-bos-wrap) :is(input[type="text"],input[type="tel"],input[type="email"],input[type="number"],input[type="date"],input[type="datetime-local"],input[type="password"],select,textarea) {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03) !important;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease !important;
}
:where(.anf-bos-public,.anf-bos-wrap) :is(input,select,textarea):focus {
    border-color: var(--anf-bos-primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 116, 144, .14) !important;
    outline: none !important;
}
:where(.anf-bos-public,.anf-bos-wrap) input[readonly] {
    background: #f1f5f9 !important;
    color: #334155 !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .button,
:where(.anf-bos-public,.anf-bos-wrap) button,
:where(.anf-bos-public,.anf-bos-wrap) input[type="submit"] {
    border-radius: 12px !important;
    min-height: 38px;
    font-weight: 700 !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .button-primary,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-device-contact-picker {
    background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-primary-dark)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(14, 116, 144, .22) !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-phone-picker-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-contact-picker-field {
    grid-column: span 2;
    padding: 12px;
    border: 1px solid rgba(14, 116, 144, .14);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fdff, #ffffff);
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-new-visit-saved-contact {
    margin-top: 8px !important;
    width: 100% !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-contact-picker-status,
:where(.anf-bos-public,.anf-bos-wrap) label small {
    display: block;
    margin-top: 5px;
    color: var(--anf-bos-muted) !important;
    font-size: 12px;
    line-height: 1.4;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-auto-details-grid > div,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-kpi-card,
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-stats-grid .anf-bos-card {
    border: 1px solid rgba(148, 163, 184, .22) !important;
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
}
:where(.anf-bos-public,.anf-bos-wrap) table:is(.widefat,.anf-bos-table,.anf-bos-clean-table) {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid rgba(148, 163, 184, .25) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}
:where(.anf-bos-public,.anf-bos-wrap) table:is(.widefat,.anf-bos-table,.anf-bos-clean-table) thead th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
:where(.anf-bos-public,.anf-bos-wrap) table:is(.widefat,.anf-bos-table,.anf-bos-clean-table) tbody tr:hover td {
    background: #f8fafc !important;
}
@media (max-width: 782px) {
    :where(.anf-bos-public,.anf-bos-wrap) .anf-bos-phone-picker-row {
        grid-template-columns: 1fr;
    }
    :where(.anf-bos-public,.anf-bos-wrap) .anf-bos-contact-picker-field {
        grid-column: 1 / -1;
    }
    :where(.anf-bos-public,.anf-bos-wrap) .anf-bos-device-contact-picker {
        width: 100%;
        justify-content: center;
    }
}

/* v2.7.40: Generate Visit form UI and visible selfie capture button */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(14, 165, 148, .26) !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
	box-shadow: 0 22px 60px rgba(15, 23, 42, .08) !important;
	padding: 22px !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, #0b746b, #0ea5a0, #ef4444);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 18px;
	margin: 0 0 18px;
	border-radius: 20px;
	border: 1px solid rgba(14, 165, 148, .22);
	background:
		radial-gradient(circle at top right, rgba(239, 68, 68, .11), transparent 34%),
		linear-gradient(135deg, #ecfeff 0%, #ffffff 62%, #f8fafc 100%);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-kicker,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.1;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-kicker {
	color: #0b746b;
	background: #d8faf6;
	border: 1px solid #99f6e4;
	padding: 7px 10px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-badge {
	color: #9a3412;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	padding: 8px 11px;
	white-space: nowrap;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-hero h4 {
	margin: 10px 0 6px !important;
	font-size: clamp(20px, 3vw, 30px) !important;
	line-height: 1.12 !important;
	color: #0f172a !important;
	letter-spacing: -.03em;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-hero p {
	margin: 0;
	max-width: 720px;
	color: #475569;
	font-size: 14px;
	line-height: 1.55;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 10px !important;
	padding: 0 0 10px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 16px !important;
	font-weight: 900;
	color: #0f172a !important;
	letter-spacing: -.01em;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-section-title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0b746b, #0ea5a0);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(11, 116, 107, .20);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-section-title-compact {
	margin-top: 0 !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form .anf-bos-grid-form {
	gap: 14px !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form label {
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 10px 22px rgba(15, 23, 42, .035);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form label:focus-within {
	border-color: rgba(11, 116, 107, .48);
	box-shadow: 0 0 0 4px rgba(11, 116, 107, .10), 0 12px 26px rgba(15, 23, 42, .06);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form input,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form select,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form textarea {
	min-height: 44px;
	border-radius: 12px !important;
	border-color: #dbe3ea !important;
	background-color: #fff;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-auto-detected-card {
	margin: 18px 0 !important;
	padding: 16px !important;
	border-radius: 20px !important;
	background: linear-gradient(135deg, #f8fafc 0%, #ecfeff 100%) !important;
	border: 1px solid rgba(14, 165, 148, .22) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-auto-details-grid div {
	border-radius: 14px !important;
	padding: 12px !important;
	border-color: #dbeafe !important;
	box-shadow: 0 10px 20px rgba(15, 23, 42, .035);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-location-actions {
	margin: 14px 0 !important;
	padding: 14px;
	border: 1px solid rgba(14, 165, 148, .22);
	border-radius: 20px;
	background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
	align-items: stretch !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-label.anf-bos-visible-selfie-button {
	display: inline-grid !important;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 10px;
	min-height: 62px;
	min-width: min(100%, 280px);
	padding: 12px 16px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #0b746b 0%, #0ea5a0 100%) !important;
	color: #fff !important;
	box-shadow: 0 14px 30px rgba(11, 116, 107, .28) !important;
	text-align: left !important;
	text-decoration: none !important;
	line-height: 1.15 !important;
	cursor: pointer;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button:focus {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(11, 116, 107, .35) !important;
	outline: 3px solid rgba(14, 165, 160, .22);
	outline-offset: 2px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button.anf-bos-selfie-selected {
	background: linear-gradient(135deg, #047857 0%, #16a34a 100%) !important;
	box-shadow: 0 14px 30px rgba(22, 163, 74, .28) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-icon {
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .17);
	font-size: 22px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-main {
	font-size: 15px;
	font-weight: 900;
	letter-spacing: -.01em;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-subtext {
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, .84);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-quality-label {
	min-width: min(100%, 230px);
	background: #fff !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-location-status {
	align-self: center;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .75);
	font-weight: 800;
	min-height: 20px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-preview-wrap {
	margin: 12px 0 18px !important;
	padding: 12px !important;
	border-radius: 18px !important;
	border-color: rgba(14, 165, 148, .24) !important;
	background: #f0fdfa !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-preview {
	width: 86px !important;
	height: 86px !important;
	border-radius: 16px !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-actions {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-button {
	min-height: 50px;
	padding-left: 28px !important;
	padding-right: 28px !important;
	border-radius: 14px !important;
	font-weight: 900 !important;
	background: linear-gradient(135deg, var(--anf-bos-primary, #0b746b), var(--anf-bos-accent, #14b8a6)) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: 0 12px 26px rgba(11,116,107,.22) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-button:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-button:focus {
	background: linear-gradient(135deg, var(--anf-bos-primary-dark, #075f58), var(--anf-bos-primary, #0b746b)) !important;
	color: #fff !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-reset-button {
	min-height: 48px;
	border-radius: 14px !important;
}
@media (max-width: 780px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form {
		padding: 16px !important;
		border-radius: 20px !important;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-hero {
		display: block;
		padding: 15px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-form-badge {
		margin-top: 12px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-location-actions,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-quality-label,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-location-status,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-actions .button {
		width: 100% !important;
		box-sizing: border-box;
	}
}


/* Business Operating System 2.7.41 - Visit advice-only action and camera/selfie ad guard hardening */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button {
	position: relative !important;
	z-index: 3 !important;
	display: inline-grid !important;
	visibility: visible !important;
	opacity: 1 !important;
	min-height: 68px !important;
	border: 2px solid rgba(255,255,255,.34) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button input[type="file"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
body.anf-bos-camera-guard-active iframe[src*="ads"],
body.anf-bos-camera-guard-active iframe[src*="adservice"],
body.anf-bos-camera-guard-active iframe[src*="doubleclick"],
body.anf-bos-camera-guard-active iframe[src*="googlesyndication"],
body.anf-bos-camera-guard-active iframe[src*="adsterra"],
body.anf-bos-camera-guard-active iframe[src*="propeller"],
body.anf-bos-camera-guard-active iframe[src*="popads"],
body.anf-bos-camera-guard-active .adsbygoogle,
body.anf-bos-camera-guard-active .google-auto-placed,
body.anf-bos-camera-guard-active [data-ad-client],
body.anf-bos-camera-guard-active [data-ad-slot],
body.anf-bos-camera-guard-active .ad,
body.anf-bos-camera-guard-active .ads,
body.anf-bos-camera-guard-active .advertisement,
body.anf-bos-camera-guard-active .sponsored {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
@media (max-width: 720px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button {
		width: 100% !important;
		min-width: 100% !important;
	}
}

/* v2.7.44 Active Workspace Display */
.anf-bos-active-workspace {
    scroll-margin-top: 18px;
    outline: 0;
}
.anf-bos-active-workspace:focus {
    outline: 0;
}
.anf-bos-active-workspace-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(11, 116, 107, .14);
    border-radius: 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}
.anf-bos-workspace-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: #0b746b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.anf-bos-workspace-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, .12);
}
.anf-bos-workspace-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #0f172a;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 900;
    line-height: 1.15;
}
.anf-bos-workspace-top-link {
    flex: 0 0 auto;
    border-radius: 999px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}
.anf-bos-module-focus-ring {
    animation: anfBosWorkspacePulse 1.2s ease-out 1;
}
@keyframes anfBosWorkspacePulse {
    0% { box-shadow: 0 0 0 0 rgba(11, 116, 107, .34); }
    100% { box-shadow: 0 0 0 18px rgba(11, 116, 107, 0); }
}
@media (max-width: 900px) {
    .anf-bos-active-workspace {
        scroll-margin-top: 10px;
    }
    .anf-bos-active-workspace-bar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
        border-radius: 16px;
    }
    .anf-bos-workspace-top-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* v2.7.45 Visit advice summary and review-completed state */
.anf-bos-advice-summary{display:flex;flex-direction:column;gap:4px;min-width:180px;max-width:320px;line-height:1.35}.anf-bos-advice-summary strong{font-size:12px;color:#111827}.anf-bos-advice-summary small{font-size:11px;color:#475569}.anf-bos-advice-summary em{font-size:11px;color:#64748b;font-style:normal}.anf-bos-review-completed-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;background:#dcfce7;color:#166534;border:1px solid #86efac;padding:3px 8px;font-size:11px;font-weight:800;white-space:nowrap}.anf-bos-table-actions .anf-bos-view-visit-details{white-space:nowrap}

/* v2.7.46 Advice / Suggestion column wrap fix */
.anf-bos-clean-table th:nth-child(11),
.anf-bos-clean-table td.anf-bos-advice-cell,
.anf-bos-table th:nth-last-child(2),
.anf-bos-table td.anf-bos-advice-cell{
    width: 260px;
    min-width: 220px;
    max-width: 300px;
    white-space: normal !important;
    vertical-align: top;
}
.anf-bos-advice-cell,
.anf-bos-advice-cell *{
    box-sizing: border-box;
}
.anf-bos-advice-cell{
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.anf-bos-advice-summary{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.anf-bos-advice-summary .anf-bos-advice-title,
.anf-bos-advice-summary .anf-bos-advice-message,
.anf-bos-advice-summary .anf-bos-advice-provider{
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.anf-bos-advice-summary .anf-bos-advice-title{
    font-size: 12px;
    font-weight: 800;
    color: #111827;
}
.anf-bos-advice-summary .anf-bos-advice-message{
    font-size: 12px;
    color: #334155;
}
.anf-bos-advice-summary .anf-bos-advice-provider{
    font-size: 11px;
    color: #64748b;
}
.anf-bos-advice-provider-label{
    font-weight: 700;
    color: #475569;
}
.anf-bos-review-completed-badge{
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
@media (max-width: 782px){
    .anf-bos-clean-table td.anf-bos-advice-cell,
    .anf-bos-table td.anf-bos-advice-cell{
        width: 240px;
        min-width: 220px;
        max-width: 260px;
    }
    .anf-bos-advice-summary{
        padding: 9px 10px;
    }
}

/* v2.7.51 Visit Entry Report Advice / Suggestion font alignment fix */
.anf-bos-clean-table td.anf-bos-advice-cell,
.anf-bos-table td.anf-bos-advice-cell{
    font-size: inherit !important;
    font-weight: 800 !important;
}
.anf-bos-advice-cell .anf-bos-muted,
.anf-bos-advice-summary,
.anf-bos-advice-summary .anf-bos-advice-title,
.anf-bos-advice-summary .anf-bos-advice-message,
.anf-bos-advice-summary .anf-bos-advice-provider,
.anf-bos-advice-summary .anf-bos-advice-provider-label{
    font-size: inherit !important;
    font-weight: 800 !important;
}


/* v2.7.52 Visit Entry Report Advice / Suggestion info font final fix */
.anf-bos-clean-table tbody td.anf-bos-advice-cell,
.anf-bos-table tbody td.anf-bos-advice-cell{
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
}
.anf-bos-clean-table tbody td.anf-bos-advice-cell .anf-bos-muted,
.anf-bos-clean-table tbody td.anf-bos-advice-cell .anf-bos-advice-summary,
.anf-bos-clean-table tbody td.anf-bos-advice-cell .anf-bos-advice-summary *,
.anf-bos-clean-table tbody td.anf-bos-advice-cell .anf-bos-review-completed-badge,
.anf-bos-table tbody td.anf-bos-advice-cell .anf-bos-muted,
.anf-bos-table tbody td.anf-bos-advice-cell .anf-bos-advice-summary,
.anf-bos-table tbody td.anf-bos-advice-cell .anf-bos-advice-summary *,
.anf-bos-table tbody td.anf-bos-advice-cell .anf-bos-review-completed-badge{
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
}


/* v2.7.58: Colorful selfie capture button and required visit detail errors */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-label.anf-bos-visible-selfie-button,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button {
	background: linear-gradient(135deg, #f97316 0%, #ec4899 45%, #2563eb 100%) !important;
	box-shadow: 0 16px 34px rgba(236, 72, 153, .30), 0 8px 18px rgba(37, 99, 235, .22) !important;
	border: 2px solid rgba(255,255,255,.52) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-label.anf-bos-visible-selfie-button:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button:hover,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-label.anf-bos-visible-selfie-button:focus,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button:focus {
	background: linear-gradient(135deg, #ea580c 0%, #db2777 42%, #1d4ed8 100%) !important;
	box-shadow: 0 20px 42px rgba(236, 72, 153, .38), 0 10px 22px rgba(37, 99, 235, .28) !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-selfie-capture-label.anf-bos-visible-selfie-button.anf-bos-selfie-selected,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visible-selfie-button.anf-bos-selfie-selected {
	background: linear-gradient(135deg, #16a34a 0%, #0ea5e9 100%) !important;
}
.anf-bos-new-visit-address-error{display:block;color:#dc2626;font-weight:800;margin-top:4px;}

.anf-bos-login-lock-note{display:inline-block;color:#b91c1c;font-weight:800;margin-top:3px;}

/* v2.7.60 existing Visit client address-only update panel */
.anf-bos-existing-address-card {
	border: 1px solid #fde68a;
	background: #fffbeb;
	box-shadow: 0 8px 24px rgba(217,119,6,.12);
}
.anf-bos-existing-address-card h4 {
	margin-top: 0;
	color: #92400e;
}
.anf-bos-existing-address-card textarea {
	min-height: 78px;
}

/* v2.7.61 Generate Customer saved-contact picker and Visit Area restore */
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-customer-contact-picker {
    background: linear-gradient(135deg, var(--anf-bos-primary), var(--anf-bos-primary-dark)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(14, 116, 144, .22) !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-customer-saved-contact {
    margin-top: 8px !important;
    width: 100% !important;
}
:where(.anf-bos-public,.anf-bos-wrap) .anf-bos-customer-contact-field {
    grid-column: span 2;
}
@media (max-width: 782px) {
    :where(.anf-bos-public,.anf-bos-wrap) .anf-bos-customer-contact-picker {
        width: 100%;
        justify-content: center;
    }
    :where(.anf-bos-public,.anf-bos-wrap) .anf-bos-customer-contact-field {
        grid-column: 1 / -1;
    }
}


/* v2.7.62 floating language switcher */
.anf-bos-language-switcher.anf-bos-floating-language-switcher{
	position:fixed!important;
	right:22px!important;
	bottom:22px!important;
	left:auto!important;
	top:auto!important;
	width:auto!important;
	margin:0!important;
	z-index:999999!important;
	pointer-events:none;
}
.anf-bos-floating-language-switcher .anf-bos-bangla-button{
	pointer-events:auto;
	gap:7px;
	min-width:104px;
	padding:10px 16px;
	border-radius:999px;
	background:linear-gradient(135deg,#0b746b,#14324a);
	border:1px solid rgba(255,255,255,.24);
	color:#fff!important;
	box-shadow:0 16px 36px rgba(15,23,42,.24),0 5px 14px rgba(11,116,107,.28);
}
.anf-bos-floating-language-switcher .anf-bos-bangla-button:hover,.anf-bos-floating-language-switcher .anf-bos-bangla-button:focus{
	background:linear-gradient(135deg,#075f58,#0f2539);
	color:#fff!important;
	box-shadow:0 20px 42px rgba(15,23,42,.30),0 7px 18px rgba(11,116,107,.34);
}
.anf-bos-floating-language-switcher .anf-bos-language-icon{font-size:16px;line-height:1;}
.anf-bos-floating-language-switcher .anf-bos-language-text{font-size:14px;font-weight:900;line-height:1;}
@media(max-width:760px){
	.anf-bos-language-switcher.anf-bos-floating-language-switcher{right:14px!important;bottom:14px!important;}
	.anf-bos-floating-language-switcher .anf-bos-bangla-button{min-width:92px;padding:9px 13px;font-size:13px;}
}

/* v2.7.68 - Logged-in user self photo in BOS user info box */
.anf-bos-global-user-info{gap:12px;}
.anf-bos-global-user-text{display:flex!important;flex-direction:column;align-items:flex-start;text-align:left;line-height:1.15;}
.anf-bos-global-user-text strong{font-size:13px;font-weight:900;color:#173340;}
.anf-bos-global-user-text small{font-size:11px;font-weight:700;color:#60727c;}
.anf-bos-self-photo{width:42px;height:42px;border-radius:50%;overflow:hidden;display:inline-grid;place-items:center;flex:0 0 auto;border:3px solid rgba(23,51,64,.16);background:#f7ffff;color:#173340;font-weight:900;box-shadow:0 8px 22px rgba(15,35,45,.12);}
.anf-bos-self-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.anf-bos-self-photo.mini{width:30px;height:30px;border-width:2px;}
.anf-bos-inline-user-info{display:flex;align-items:center;gap:9px;}
.anf-bos-template-avatar.anf-bos-self-photo{width:42px;height:42px;border:3px solid #173340;border-radius:50%;background:#f7ffff;color:#173340;font-size:15px;}
.anf-bos-template-avatar.anf-bos-self-photo img{width:100%;height:100%;object-fit:cover;display:block;}
@media(max-width:700px){.anf-bos-global-user-info{align-items:center}.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{max-width:none}.anf-bos-self-photo{width:38px;height:38px}.anf-bos-global-user-text strong{font-size:12px}.anf-bos-global-user-text small{font-size:10px}}

/* v2.7.69 - Logged-in self photo retake notice */
.anf-bos-self-photo-wrap{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1;vertical-align:middle;}
.anf-bos-global-user-info .anf-bos-self-photo-wrap{align-self:center;}
.anf-bos-self-photo-retake-text,.anf-bos-self-photo-broken-text{display:none;color:#b91c1c;font-size:9px;font-weight:900;line-height:1.05;text-align:center;white-space:nowrap;}
.anf-bos-self-photo-wrap.is-retake-required .anf-bos-self-photo-retake-text,.anf-bos-self-photo-wrap.is-broken .anf-bos-self-photo-broken-text{display:block;}


/* v2.7.71 - Facebook-style profile photo on right side of user info box */
.anf-bos-global-actions.anf-bos-global-user-info{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:12px!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
    order:1!important;
    align-items:flex-end!important;
    text-align:right!important;
    min-width:0;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-wrap{
    order:2!important;
    align-self:center!important;
    flex:0 0 auto!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
    width:58px!important;
    height:58px!important;
    border-radius:50%!important;
    border:4px solid #ffffff!important;
    background:#eaf2ff!important;
    color:#1877f2!important;
    font-size:20px!important;
    font-weight:900!important;
    box-shadow:0 0 0 2px #1877f2,0 10px 24px rgba(15,23,42,.24)!important;
    overflow:hidden!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:50%!important;
    display:block!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-logout-button{
    order:3!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-retake-text,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-broken-text{
    max-width:78px;
    white-space:normal!important;
    font-size:9px!important;
}
@media(max-width:700px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        gap:8px!important;
        justify-content:flex-end!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:48px!important;
        height:48px!important;
        border-width:3px!important;
        box-shadow:0 0 0 2px #1877f2,0 7px 18px rgba(15,23,42,.20)!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text strong{
        font-size:12px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text small{
        font-size:10px!important;
    }
}

/* v2.7.72 - Device-friendly Facebook-style profile photo alignment */
.anf-bos-global-actions.anf-bos-global-user-info{
    max-width:100%!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:min(54vw,430px)!important;
    box-sizing:border-box!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text strong,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text small{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-wrap{
    min-width:0!important;
    max-width:100%!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
    box-sizing:border-box!important;
    aspect-ratio:1/1!important;
    width:clamp(48px,5vw,62px)!important;
    height:clamp(48px,5vw,62px)!important;
    min-width:48px!important;
    min-height:48px!important;
    max-width:62px!important;
    max-height:62px!important;
    display:grid!important;
    place-items:center!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo img{
    max-width:none!important;
    min-width:100%!important;
    min-height:100%!important;
}
@media(max-width:782px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) auto!important;
        grid-template-areas:"userinfo userphoto" "logout logout"!important;
        align-items:center!important;
        justify-content:stretch!important;
        width:100%!important;
        gap:8px 10px!important;
        margin-top:12px!important;
        text-align:left!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
        grid-area:userinfo!important;
        order:1!important;
        align-items:flex-start!important;
        justify-self:stretch!important;
        text-align:left!important;
        max-width:100%!important;
        width:100%!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-wrap{
        grid-area:userphoto!important;
        order:2!important;
        justify-self:end!important;
        align-self:center!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:52px!important;
        height:52px!important;
        min-width:52px!important;
        min-height:52px!important;
        max-width:52px!important;
        max-height:52px!important;
        border-width:3px!important;
        box-shadow:0 0 0 2px #1877f2,0 8px 18px rgba(15,23,42,.18)!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-logout-button{
        grid-area:logout!important;
        order:3!important;
        width:100%!important;
        justify-content:center!important;
        text-align:center!important;
        margin-top:2px!important;
    }
}
@media(max-width:480px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        grid-template-columns:minmax(0,1fr) 46px!important;
        gap:7px 8px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:46px!important;
        height:46px!important;
        min-width:46px!important;
        min-height:46px!important;
        max-width:46px!important;
        max-height:46px!important;
        border-width:3px!important;
        font-size:17px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
        padding:7px 10px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text strong{
        font-size:11.5px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text small{
        font-size:9.5px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-retake-text,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-broken-text{
        max-width:52px!important;
        font-size:8px!important;
        line-height:1.05!important;
    }
}
@media(max-width:360px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        grid-template-columns:minmax(0,1fr) 42px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:42px!important;
        height:42px!important;
        min-width:42px!important;
        min-height:42px!important;
        max-width:42px!important;
        max-height:42px!important;
        border-width:2px!important;
        box-shadow:0 0 0 2px #1877f2,0 6px 14px rgba(15,23,42,.16)!important;
    }
}


/* v2.7.72 - Stamp-size rounded profile photo, responsive for all device views */
.anf-bos-global-actions.anf-bos-global-user-info{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    max-width:100%!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
    order:1!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:min(54vw,430px)!important;
    align-items:flex-end!important;
    text-align:right!important;
    box-sizing:border-box!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text strong,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text small{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-wrap{
    order:2!important;
    align-self:center!important;
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:100%!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
    box-sizing:border-box!important;
    width:40px!important;
    height:50px!important;
    min-width:40px!important;
    min-height:50px!important;
    max-width:40px!important;
    max-height:50px!important;
    aspect-ratio:4/5!important;
    border-radius:10px!important;
    border:2px solid #ffffff!important;
    background:#f8fafc!important;
    color:#173340!important;
    font-size:15px!important;
    font-weight:900!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    box-shadow:0 0 0 1px rgba(23,51,64,.18),0 6px 14px rgba(15,23,42,.16)!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo img,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo img{
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    border-radius:8px!important;
    display:block!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-logout-button{
    order:3!important;
}
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-retake-text,
.anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-broken-text{
    max-width:48px!important;
    white-space:normal!important;
    font-size:7.5px!important;
    line-height:1.05!important;
}
@media(max-width:782px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 38px!important;
        grid-template-areas:"userinfo userphoto" "logout logout"!important;
        align-items:center!important;
        justify-content:stretch!important;
        width:100%!important;
        gap:8px 9px!important;
        margin-top:10px!important;
        text-align:left!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
        grid-area:userinfo!important;
        order:1!important;
        align-items:flex-start!important;
        justify-self:stretch!important;
        text-align:left!important;
        max-width:100%!important;
        width:100%!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-wrap{
        grid-area:userphoto!important;
        order:2!important;
        justify-self:end!important;
        align-self:center!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:38px!important;
        height:48px!important;
        min-width:38px!important;
        min-height:48px!important;
        max-width:38px!important;
        max-height:48px!important;
        border-radius:9px!important;
        border-width:2px!important;
        box-shadow:0 0 0 1px rgba(23,51,64,.18),0 5px 12px rgba(15,23,42,.14)!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo img,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo img{
        border-radius:7px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-logout-button{
        grid-area:logout!important;
        order:3!important;
        width:100%!important;
        justify-content:center!important;
        text-align:center!important;
        margin-top:2px!important;
    }
}
@media(max-width:480px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        grid-template-columns:minmax(0,1fr) 34px!important;
        gap:7px 8px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:34px!important;
        height:42px!important;
        min-width:34px!important;
        min-height:42px!important;
        max-width:34px!important;
        max-height:42px!important;
        border-radius:8px!important;
        font-size:13px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo img,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo img{
        border-radius:6px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text{
        padding:7px 10px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text strong{
        font-size:11.5px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-global-user-text small{
        font-size:9.5px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-retake-text,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-self-photo-broken-text{
        max-width:38px!important;
        font-size:7px!important;
    }
}
@media(max-width:360px){
    .anf-bos-global-actions.anf-bos-global-user-info{
        grid-template-columns:minmax(0,1fr) 30px!important;
    }
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-stamp-profile-photo,
    .anf-bos-global-actions.anf-bos-global-user-info .anf-bos-facebook-profile-photo{
        width:30px!important;
        height:38px!important;
        min-width:30px!important;
        min-height:38px!important;
        max-width:30px!important;
        max-height:38px!important;
        border-radius:7px!important;
        border-width:1px!important;
        box-shadow:0 0 0 1px rgba(23,51,64,.18),0 4px 10px rgba(15,23,42,.12)!important;
    }
}

/* v2.8.1 Visit submit and MPO customer region auto-fill */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-customer-region-preview{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:12px 14px;border-radius:16px;background:#eef8f6;border:1px solid #b8efe7;color:#0f172a;font-size:13px;}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-customer-region-preview strong{color:#0b746b;margin-right:4px;}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-customer-region-preview span{display:inline-flex;align-items:center;gap:4px;font-weight:700;}

/* Public module lock controls and notice */
.anf-bos-module-lock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:8px;}
.anf-bos-module-lock-option{display:flex;align-items:center;gap:8px;margin:0!important;padding:10px 12px;border:1px solid var(--anf-line,#e5e7eb);border-radius:12px;background:#fff;font-weight:700;color:#0f172a;}
.anf-bos-module-lock-option input{margin:0;}
.anf-bos-tab.is-locked{position:relative;opacity:.92;}
.anf-bos-tab-lock-badge{display:inline-flex;align-items:center;margin-left:auto;padding:2px 7px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:10px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.03em;}
.anf-bos-tab.is-active .anf-bos-tab-lock-badge{background:rgba(255,255,255,.24);color:#fff;}
.anf-bos-module-locked-card{max-width:760px;margin:24px auto;text-align:center;border:1px solid #fde68a;background:#fffbeb;box-shadow:0 18px 36px rgba(146,64,14,.08);}
.anf-bos-module-locked-card h3{margin:0 0 8px;color:#92400e;font-size:22px;}
.anf-bos-module-locked-card p{margin:0;color:#78350f;font-size:16px;font-weight:700;}


/* Frontend notification sound/count indicator */
.anf-bos-notification-bell{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	min-height:34px;
	padding:7px 10px;
	border-radius:999px;
	border:1px solid rgba(14,165,233,.28);
	background:#f0f9ff;
	color:#075985;
	text-decoration:none;
	font-weight:800;
	line-height:1;
	box-shadow:0 8px 18px rgba(14,165,233,.10);
	position:relative;
}
.anf-bos-notification-bell:hover,
.anf-bos-notification-bell:focus{
	background:#e0f2fe;
	color:#0c4a6e;
	text-decoration:none;
	outline:2px solid rgba(14,165,233,.22);
	outline-offset:2px;
}
.anf-bos-notification-bell-icon{font-size:15px;line-height:1;display:inline-block;}
.anf-bos-notification-count{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:20px;
	height:20px;
	padding:0 6px;
	border-radius:999px;
	background:#94a3b8;
	color:#fff!important;
	font-size:10px!important;
	font-weight:900!important;
	line-height:20px!important;
	letter-spacing:.01em;
}
.anf-bos-notification-count.has-count{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.14);}
.anf-bos-notification-count.anf-bos-notification-pulse{animation:anfBosNotificationPulse .85s ease-in-out 2;}
.anf-bos-notification-sound-enable[hidden]{display:none!important;}
.anf-bos-notification-sound-enable{
	border-color:#f59e0b!important;
	background:#fffbeb!important;
	color:#92400e!important;
	font-weight:800!important;
}
@keyframes anfBosNotificationPulse{
	0%{transform:scale(1);}
	50%{transform:scale(1.22);}
	100%{transform:scale(1);}
}
@media(max-width:700px){
	.anf-bos-notification-bell{order:1;min-height:32px;padding:6px 9px;}
	.anf-bos-notification-sound-enable{order:2;font-size:11px!important;padding:5px 8px!important;}
}


/* ANF BOS 2.15.7 - Selfie-first Visit Entry workflow */
.anf-bos-selfie-first-form .anf-bos-visit-after-selfie{border:0;margin:0;padding:0;min-width:0;}
.anf-bos-selfie-first-form .anf-bos-visit-after-selfie[disabled]{opacity:.46;filter:grayscale(.12);pointer-events:none;}
.anf-bos-selfie-first-form .anf-bos-visit-after-selfie.anf-bos-stage-ready{opacity:1;filter:none;pointer-events:auto;transition:opacity .2s ease;}
.anf-bos-selfie-first-actions{align-items:center;gap:12px;flex-wrap:wrap;}
.anf-bos-retry-gps{min-height:44px;}
.anf-bos-selfie-location-grid{margin-top:14px;}
.anf-bos-selfie-match-consent-row{display:flex!important;align-items:flex-start;gap:10px;margin:14px 0;padding:12px 14px;border:1px solid #d8e5df;border-radius:12px;background:#f8fbfa;font-weight:600;}
.anf-bos-selfie-match-consent-row input{width:18px!important;min-width:18px!important;height:18px;margin-top:2px;}
.anf-bos-selfie-match-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 22px;border-left:4px solid #0b746b;}
.anf-bos-selfie-match-card>div{display:flex;flex-direction:column;gap:5px;}
.anf-bos-selfie-match-status{font-size:14px;color:#475569;}
.anf-bos-selfie-match-status.is-loading{color:#075985;}
.anf-bos-selfie-match-status.is-success{color:#166534;font-weight:700;}
.anf-bos-selfie-match-status.is-warning{color:#92400e;}
.anf-bos-selfie-match-status.is-error{color:#b91c1c;font-weight:700;}
.anf-bos-selfie-workflow-ready .anf-bos-selfie-match-card{border-left-color:#16a34a;}
@media(max-width:720px){
 .anf-bos-selfie-match-card{align-items:stretch;flex-direction:column;}
 .anf-bos-selfie-match-card .button{width:100%;}
 .anf-bos-selfie-first-actions>*{width:100%;}
}

/* ANF BOS 2.15.7 - MPO saved details and previous Visit History search */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search {
	grid-column: 1 / -1;
	padding: 12px;
	border: 1px solid #dbe7e5;
	border-radius: 16px;
	background: #f8fbfa;
	box-shadow: 0 10px 22px rgba(15, 23, 42, .035);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form .anf-bos-visit-detail-search > label {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-weight: 800;
	color: #153041;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clear-visit-detail-search {
	flex: 0 0 auto;
	min-height: 44px;
	white-space: nowrap;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clear-visit-detail-search:disabled {
	opacity: .55;
	cursor: not-allowed;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-status {
	display: block;
	margin-top: 7px;
	color: #526875;
	font-weight: 700;
	line-height: 1.35;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-status.is-empty {
	color: #9a3412;
}
@media (max-width: 620px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-row {
		flex-direction: column;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clear-visit-detail-search {
		width: 100%;
	}
}

/* ANF BOS 2.15.8 - database-driven MPO previous Visit search */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-search-visit-details,
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clear-visit-detail-search {
	flex: 0 0 auto;
	min-height: 44px;
	white-space: nowrap;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-status.is-loading {
	color: #075985;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-status.is-success {
	color: #166534;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-detail-search-status.is-error {
	color: #b91c1c;
}
@media (max-width: 760px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-search-visit-details,
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-clear-visit-detail-search {
		width: 100%;
	}
}

/* ANF BOS 2.15.9 - Generate Visit submission and layout hardening */
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form .anf-bos-mobile-actions {
	display: none !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-card {
	position: relative;
	margin: 16px 0;
	padding: 18px;
	border: 1px solid #dce8e6;
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-card:first-of-type {
	margin-top: 0;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-card .anf-bos-visit-section-title {
	margin-top: 0 !important;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-verification {
	background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 72%);
	border-color: rgba(13, 148, 136, .25);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-details {
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 72%);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-result {
	background: linear-gradient(135deg, #f8fbff 0%, #ffffff 72%);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-submit {
	background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 72%);
	border-color: rgba(22, 163, 74, .22);
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-after-selfie {
	display: grid;
	gap: 2px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 14px;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form.anf-bos-is-submitting {
	cursor: progress;
}
:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-auto-form.anf-bos-is-submitting .anf-bos-visit-submit-button {
	opacity: .78;
	cursor: wait;
}
@media (max-width: 780px) {
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-step-card {
		padding: 14px;
		border-radius: 16px;
	}
	:where(.anf-bos-wrap, .anf-bos-public) .anf-bos-visit-submit-actions {
		align-items: stretch;
		flex-direction: column;
	}
}


/* v2.16.4: quick product search in order-generation product selectors. */
.anf-bos-product-picker{display:grid;gap:6px;width:100%;min-width:0}
.anf-bos-product-picker .anf-bos-product-quick-search{width:100%;min-width:0;margin:0;padding:8px 10px;border:1px solid #c7d2d9;border-radius:6px;background:#fff;box-sizing:border-box}
.anf-bos-product-picker .anf-bos-product-quick-search:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}
.anf-bos-product-picker .anf-bos-order-product-select{width:100%;min-width:0}
.anf-bos-product-search-status{display:block;min-height:16px;color:#60727c;font-size:11px;line-height:1.35}

/* v2.16.7 Customer edit form data declaration and record information */
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-declared-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	font-weight: 700;
	color: var(--anf-bos-ink, #1d2327);
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-declared-field > span:first-child {
	display: block;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: .025em;
	color: #475569;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-declared-field > span:first-child em {
	color: #b42318;
	font-style: normal;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-declared-field > :is(input,select,textarea) {
	width: 100%;
	margin: 0;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-declared-form-grid .anf-bos-field-wide {
	grid-column: 1 / -1;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-information {
	margin: 18px 0 14px;
	padding: 16px;
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	background: #f8fafc;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-information h3 {
	margin: 0 0 12px;
	font-size: 16px;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
	gap: 10px;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-grid p,
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-approval-note {
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	background: #fff;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-grid span,
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-approval-note span {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #64748b;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-record-grid strong,
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-approval-note strong {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #0f172a;
	word-break: break-word;
}
:where(.anf-bos-wrap,.anf-bos-public) .anf-bos-customer-approval-note {
	margin-top: 10px;
}

/* Business Operating System 2.16.18 dashboard navigation integrity */
@media(min-width:901px){
	.anf-bos-public-dashboard-mode .anf-bos-app-shell-template{overflow:visible;align-items:start;}
	.anf-bos-public-dashboard-mode .anf-bos-app-shell-template .anf-bos-sidebar{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;z-index:4;}
}

@media(min-width:901px){
	.anf-bos-template-dashboard{font-size:12px;}
	.anf-bos-template-dashboard table,.anf-bos-template-dashboard th,.anf-bos-template-dashboard td,.anf-bos-template-dashboard span,.anf-bos-template-dashboard small,.anf-bos-template-dashboard p,.anf-bos-template-dashboard a{font-size:11px;line-height:1.45;}
	.anf-bos-app-shell-template .anf-bos-tab{font-size:12px;line-height:1.35;}
	.anf-bos-analysis-clean-table th,.anf-bos-analysis-clean-table td{word-break:normal;overflow-wrap:anywhere;}
	.anf-bos-analysis-card{overflow-x:auto;}
}


/* Customer Ledger selected-customer profile */
.anf-bos-ledger-customer-details{margin:16px 0 18px;}
.anf-bos-ledger-customer-details>h3,
.anf-bos-ledger-customer-details>h4{margin:0 0 12px!important;}
.anf-bos-ledger-customer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.anf-bos-ledger-customer-grid>div{min-width:0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;}
.anf-bos-ledger-customer-grid>div>span{display:block!important;margin:0 0 5px!important;color:#64748b!important;font-size:11px!important;line-height:1.35!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.035em;}
.anf-bos-ledger-customer-grid>div>strong{display:block!important;color:#0f172a!important;font-size:13px!important;line-height:1.45!important;font-weight:700!important;overflow-wrap:anywhere;word-break:normal;}
.anf-bos-ledger-customer-grid>div>strong small{font-weight:600;color:#64748b;}
.anf-bos-ledger-customer-wide{grid-column:span 2;}
.anf-bos-ledger-customer-full{grid-column:1/-1;}
@media(max-width:980px){.anf-bos-ledger-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.anf-bos-ledger-customer-wide{grid-column:span 2;}}
@media(max-width:620px){.anf-bos-ledger-customer-grid{grid-template-columns:1fr;}.anf-bos-ledger-customer-wide,.anf-bos-ledger-customer-full{grid-column:1;}}


/* v2.16.28 Business Report Generator consistency */
.anf-bos-report-generator-form [data-anf-bos-report-filter][hidden]{display:none!important;}
.anf-bos-report-filter-note{margin:10px 0 0;color:#64748b;font-size:12px;line-height:1.5;}
.anf-bos-report-output-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0 0 14px;}
.anf-bos-report-filter-warning{margin:12px 0 16px;padding:12px 14px;border:1px solid #f59e0b;border-radius:10px;background:#fffbeb;color:#92400e;line-height:1.5;}
@media (max-width:782px){.anf-bos-report-output-actions{justify-content:flex-start;}}

/* v2.16.35 Staff signup: keep completed form data and isolate only the field that needs correction. */
.anf-bos-signup-form .anf-bos-field-needs-correction {
	border-color: #b91c1c !important;
	box-shadow: 0 0 0 2px rgba(185, 28, 28, .12) !important;
}
.anf-bos-signup-form .anf-bos-inline-field-error {
	display: block;
	margin-top: 6px;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.45;
	color: #b91c1c;
}


/* BOS integrated password recovery */
.anf-bos-password-recovery{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:12px;}
.anf-bos-password-recovery>summary{color:#0b746b;cursor:pointer;font-weight:800;list-style:none;outline:none;padding:4px 0;}
.anf-bos-password-recovery>summary::-webkit-details-marker{display:none;}
.anf-bos-password-recovery>summary::before{content:"↻";display:inline-block;font-weight:900;margin-right:7px;}
.anf-bos-password-recovery[open]>summary{margin-bottom:10px;}
.anf-bos-password-recovery-body{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;}
.anf-bos-password-recovery-body>p:first-child{color:#475569;margin:0 0 12px;}
.anf-bos-password-recovery-form{margin-top:10px;}
.anf-bos-recovery-button{margin-top:6px!important;}
.anf-bos-password-recovery-note{color:#64748b;font-size:12px;line-height:1.5;margin:12px 0 0!important;}
@media(max-width:760px){.anf-bos-recovery-button{width:100%;text-align:center;}}
