:root {
	--aoc-orange: #ff3c12;
	--aoc-orange-2: #ff6540;
	--aoc-ink: #08090b;
	--aoc-panel: #111318;
	--aoc-line: #2b2f38;
	--aoc-muted: #9fa5af;
	--aoc-white: #f7f7f8;
	--aoc-green: #43d17a;
}

.aoc-wp-wrap { margin: 18px 20px 0 0; }
.aoc-app, .aoc-app * { box-sizing: border-box; }
.aoc-app {
	background: radial-gradient(circle at 86% -10%, rgba(255,60,18,.21), transparent 26%), var(--aoc-ink);
	color: var(--aoc-white);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 780px;
	font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	border: 1px solid #20242b;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(0,0,0,.28);
}

.aoc-loading { min-height: 620px; display: grid; place-content: center; justify-items: center; gap: 14px; }
.aoc-loading img { width: 104px; filter: drop-shadow(0 16px 30px rgba(255,60,18,.25)); }
.aoc-loading strong { font: 900 22px/1 Barlow, Impact, sans-serif; letter-spacing: .15em; }
.aoc-loading span, .aoc-muted { color: var(--aoc-muted); }

.aoc-topbar {
	height: 78px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between;
	border-bottom: 1px solid var(--aoc-line); background: rgba(8,9,11,.9); position: sticky; top: 0; z-index: 20;
	backdrop-filter: blur(12px);
}
.aoc-brand { display: flex; align-items: center; gap: 13px; }
.aoc-brand img { width: 48px; height: 48px; object-fit: contain; }
.aoc-brand b { font: 900 19px/1 Barlow, Impact, sans-serif; letter-spacing: .075em; }
.aoc-brand small { display: block; color: var(--aoc-orange); font-size: 10px; letter-spacing: .22em; margin-top: 6px; }
.aoc-top-actions { display: flex; gap: 10px; align-items: center; }
.aoc-live { display: inline-flex; gap: 7px; align-items: center; color: #cbd0d7; font-size: 12px; margin-right: 8px; }
.aoc-live::before { content: ""; width: 8px; height: 8px; background: var(--aoc-green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(67,209,122,.1); }

.aoc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); width: 100%; max-width: 100%; min-width: 0; min-height: 700px; }
.aoc-layout > * { min-width: 0; max-width: 100%; }
.aoc-sidebar { padding: 22px 14px; border-right: 1px solid var(--aoc-line); background: #0b0d10; }
.aoc-nav { display: grid; gap: 7px; position: sticky; top: 100px; }
.aoc-nav button {
	border: 0; background: transparent; color: #afb5bf; text-align: left; padding: 12px 14px; border-radius: 11px;
	font: 700 13px/1.2 inherit; cursor: pointer; transition: .18s ease;
}
.aoc-nav button:hover { color: #fff; background: #16191e; }
.aoc-nav button.is-active { color: #fff; background: linear-gradient(90deg, rgba(255,60,18,.22), rgba(255,60,18,.04)); box-shadow: inset 3px 0 var(--aoc-orange); }
.aoc-main { padding: 28px; min-width: 0; max-width: 100%; overflow: hidden; }
.aoc-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.aoc-title-row h1 { color: #fff; font: 900 28px/1 Barlow, Impact, sans-serif; margin: 0 0 8px; letter-spacing: .025em; }
.aoc-title-row p { color: var(--aoc-muted); margin: 0; }

.aoc-btn {
	appearance: none; border: 1px solid #363b45; background: #181b20; color: #fff; padding: 10px 15px; border-radius: 10px;
	font: 800 12px/1 inherit; cursor: pointer; transition: .16s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.aoc-btn:hover { color: #fff; border-color: #5b626e; transform: translateY(-1px); }
.aoc-btn-primary { background: var(--aoc-orange); border-color: var(--aoc-orange); box-shadow: 0 9px 22px rgba(255,60,18,.22); }
.aoc-btn-primary:hover { background: var(--aoc-orange-2); border-color: var(--aoc-orange-2); }
.aoc-btn-danger { border-color: #7a2d2d; color: #ff9e9e; }
.aoc-btn-small { padding: 7px 10px; font-size: 11px; }
.aoc-btn[disabled] { opacity: .48; cursor: wait; transform: none; }
.aoc-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.aoc-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aoc-chip { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.05); color: #f5f7fb; padding: 8px 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.aoc-chip:hover { border-color: rgba(255,60,18,.7); color: #fff; background: rgba(255,60,18,.13); }
.aoc-chat-card { display: grid; gap: 14px; }
.aoc-chat-log { min-height: 420px; max-height: 560px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px; }
.aoc-chat-empty { border: 1px dashed rgba(255,255,255,.15); border-radius: 16px; padding: 24px; color: #aab0b9; }
.aoc-chat-msg { max-width: 86%; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 12px 14px; line-height: 1.55; }
.aoc-chat-user { align-self: flex-end; background: rgba(255,60,18,.16); color: #fff; }
.aoc-chat-assistant { align-self: flex-start; background: rgba(255,255,255,.055); color: #f5f7fb; }
.aoc-chat-msg small { display: block; margin-top: 8px; color: #9dceff; font-weight: 700; }
.aoc-ai-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.aoc-ai-form textarea { min-height: 78px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.26); color: #fff; padding: 12px; resize: vertical; }

.aoc-grid { display: grid; gap: 16px; }
.aoc-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.aoc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aoc-card {
	background: linear-gradient(145deg, rgba(25,28,34,.98), rgba(15,17,21,.98)); border: 1px solid var(--aoc-line);
	border-radius: 16px; padding: 20px; min-width: 0;
}
.aoc-stat strong { display: block; font: 900 30px/1 Barlow, Impact, sans-serif; color: #fff; }
.aoc-stat span { display: block; color: var(--aoc-muted); margin-top: 9px; font-size: 12px; }
.aoc-card h2 { font: 800 17px/1.25 Barlow, Impact, sans-serif; margin: 0 0 14px; color: #fff; }
.aoc-card h3 { color: #fff; margin: 0 0 7px; font-size: 15px; }
.aoc-hero { min-height: 320px; position: relative; overflow: hidden; padding: 32px; display: flex; align-items: center; isolation: isolate; }
.aoc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,24,.98) 0%, rgba(17,19,24,.9) 48%, rgba(17,19,24,.08) 76%); z-index: 1; pointer-events: none; }
.aoc-hero-copy { max-width: 58%; position: relative; z-index: 3; }
.aoc-hero-copy .aoc-kicker { color: var(--aoc-orange); font-weight: 900; letter-spacing: .17em; font-size: 11px; }
.aoc-hero-copy h2 { font-size: 32px; margin: 12px 0; }
.aoc-hero-copy p { color: #b8bec7; line-height: 1.65; }
.aoc-mascot { position: absolute; z-index: 0; right: -10px; bottom: -8px; width: 55%; height: 310px; object-fit: contain; object-position: right bottom; filter: drop-shadow(-18px 18px 34px rgba(0,0,0,.48)); pointer-events: none; }
.aoc-status-line { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--aoc-line); padding-top: 14px; margin-top: 14px; color: var(--aoc-muted); font-size: 12px; }

.aoc-table-wrap { display: block; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border: 1px solid var(--aoc-line); border-radius: 14px; }
.aoc-table { width: 100%; border-collapse: collapse; background: #101216; min-width: 820px; }
.aoc-table th { color: #89909a; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--aoc-line); }
.aoc-table td { padding: 13px 14px; border-bottom: 1px solid #20232a; font-size: 12px; color: #d8dbe0; vertical-align: middle; }
.aoc-table tr:last-child td { border: 0; }
.aoc-table a { color: #ff856a; overflow-wrap: anywhere; word-break: break-word; }
.aoc-email { color: #fff; font-weight: 700; }
.aoc-phone { color: #fff; font-weight: 900; text-decoration: none; }
.aoc-call-notes { min-width: 190px; min-height: 72px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.22); color: #f5f7fb; padding: 10px; resize: vertical; }
.aoc-evidence { max-width: 270px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9299a3; }
.aoc-pill { display: inline-block; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; background: #282c33; color: #cbd0d7; text-transform: uppercase; letter-spacing: .04em; }
.aoc-pill-approved, .aoc-pill-sent, .aoc-pill-complete, .aoc-pill-completed { background: rgba(67,209,122,.13); color: #71e89d; }
.aoc-pill-hot { background: rgba(255,60,18,.2); color: #ff9a82; }
.aoc-pill-connected, .aoc-pill-call_back { background: rgba(67,209,122,.13); color: #71e89d; }
.aoc-pill-active, .aoc-pill-scanning { background: rgba(255,60,18,.15); color: #ff8b71; }
.aoc-pill-sending { background: rgba(90,170,255,.14); color: #9dceff; }
.aoc-pill-failed, .aoc-pill-rejected, .aoc-pill-cancelled { background: rgba(255,74,74,.12); color: #ff8b8b; }
.aoc-pill-needs_review, .aoc-pill-pending, .aoc-pill-paused, .aoc-pill-left_message, .aoc-pill-not_called { background: rgba(247,187,66,.12); color: #ffd379; }
.aoc-pill-not_interested, .aoc-pill-bad_number { background: rgba(160,166,176,.12); color: #b9bec7; }
.aoc-pill-no_email_found, .aoc-pill-suppressed { background: rgba(160,166,176,.12); color: #b9bec7; }
.aoc-pill-research_failed { background: rgba(247,187,66,.12); color: #ffd379; }

.aoc-form { display: grid; gap: 16px; }
.aoc-form-section { display: grid; gap: 16px; padding: 24px; }
.aoc-form-section > h2 { margin-bottom: 0; }
.aoc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aoc-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aoc-field { display: grid; gap: 7px; }
.aoc-field-wide { grid-column: 1 / -1; }
.aoc-field label { color: #aab0b9; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.aoc-field input, .aoc-field textarea, .aoc-field select {
	width: 100%; color: #fff; background: #0b0d10; border: 1px solid #343943; border-radius: 10px; padding: 11px 12px;
	font: 13px/1.4 inherit; box-shadow: none; min-height: 42px;
}
.aoc-field textarea { min-height: 190px; resize: vertical; }
.aoc-field input[type="file"] { padding: 7px; }
.aoc-field input[type="file"]::file-selector-button { border: 0; border-radius: 7px; background: var(--aoc-orange); color: #fff; padding: 8px 11px; margin-right: 10px; font: 800 11px/1 inherit; cursor: pointer; }
.aoc-field input:focus, .aoc-field textarea:focus, .aoc-field select:focus { border-color: var(--aoc-orange); box-shadow: 0 0 0 3px rgba(255,60,18,.12); outline: 0; }
.aoc-help { color: #858c96; font-size: 11px; line-height: 1.5; }
.aoc-note { border: 1px solid rgba(255,60,18,.28); background: rgba(255,60,18,.07); border-radius: 12px; padding: 13px 15px; color: #f3b8aa; font-size: 12px; line-height: 1.5; }
.aoc-captcha-alert { border-color: rgba(255,184,77,.45); background: rgba(255,184,77,.1); color: #ffd6a1; }
.aoc-check { display: flex; align-items: center; gap: 9px; color: #d4d8dd; font-size: 12px; }
.aoc-check input { width: 17px; height: 17px; accent-color: var(--aoc-orange); }
.aoc-separator { border: 0; border-top: 1px solid var(--aoc-line); margin: 4px 0; }
.aoc-code { background: #07080a; border: 1px solid #2d323b; color: #ffb09e; border-radius: 10px; padding: 12px; font: 11px/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.aoc-optional { border: 1px solid #313640; border-radius: 12px; background: #0d0f13; overflow: hidden; }
.aoc-optional summary { cursor: pointer; padding: 13px 15px; color: #e6e8eb; font-size: 12px; font-weight: 800; list-style-position: inside; }
.aoc-optional[open] summary { border-bottom: 1px solid #2a2f37; }
.aoc-optional .aoc-form-grid { padding: 16px; }
.aoc-compact { padding: 15px 18px; display: grid; gap: 5px; }
.aoc-compact strong { color: #fff; font-size: 14px; }
.aoc-compact span { color: var(--aoc-muted); font-size: 11px; line-height: 1.5; }
.aoc-progress-large { margin: 12px 0 4px; height: 9px; }

.aoc-campaigns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aoc-campaign-card { display: grid; gap: 15px; }
.aoc-campaign-card .aoc-meta { color: var(--aoc-muted); font-size: 11px; display: flex; gap: 13px; flex-wrap: wrap; }
.aoc-attachment-current { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid #343943; border-radius: 11px; background: #0b0d10; }
.aoc-attachment-current strong { color: #fff; overflow-wrap: anywhere; }
.aoc-attachment-current span { color: var(--aoc-muted); font-size: 11px; white-space: nowrap; }
.aoc-progress { height: 7px; border-radius: 99px; background: #090a0c; overflow: hidden; }
.aoc-progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--aoc-orange), #ff8b71); border-radius: inherit; }
.aoc-empty { text-align: center; padding: 60px 25px; color: var(--aoc-muted); }
.aoc-empty strong { display: block; color: #fff; font-size: 18px; margin-bottom: 8px; }

.aoc-toast { position: fixed; right: 25px; bottom: 25px; z-index: 99999; max-width: 420px; background: #1b1f25; border: 1px solid #414750; color: #fff; padding: 13px 16px; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: 12px; }
.aoc-toast.is-error { border-color: #9d3a3a; color: #ffc3c3; }
.aoc-access { padding: 24px; border: 1px solid #ddd; background: #fff; }
.aoc-filterbar { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; padding: 10px 12px; border: 1px solid var(--aoc-line); background: #101216; border-radius: 12px; }
.aoc-filterbar label { color: #fff; font-size: 11px; font-weight: 800; }
.aoc-filterbar select { min-width: 220px; color: #fff; background: #090b0e; border: 1px solid #373c45; border-radius: 9px; padding: 8px 10px; }
.aoc-filterbar span { color: var(--aoc-muted); font-size: 11px; margin-left: auto; }

.aoc-login { min-height: 720px; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 75% 10%, rgba(255,60,18,.2), transparent 30%), #08090b; border-radius: 22px; color: #fff; font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif; }
.aoc-login-card { width: min(430px, 100%); padding: 34px; background: #121419; border: 1px solid #30343c; border-radius: 20px; box-shadow: 0 28px 80px rgba(0,0,0,.4); }
.aoc-login-card > img { width: 72px; display: block; margin-bottom: 20px; }
.aoc-login-card > span { color: var(--aoc-orange); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.aoc-login-card h1 { color: #fff; font: 900 30px/1.1 Barlow, Impact, sans-serif; margin: 10px 0 8px; }
.aoc-login-card > p { color: var(--aoc-muted); margin: 0 0 24px; }
.aoc-login-card form { display: grid; gap: 15px; }
.aoc-login-card form p { margin: 0; }
.aoc-login-card label { display: grid; gap: 7px; color: #b8bec7; font-size: 11px; font-weight: 800; }
.aoc-login-card input[type="text"], .aoc-login-card input[type="password"] { width: 100%; min-height: 44px; color: #fff; background: #090b0e; border: 1px solid #373c45; border-radius: 10px; padding: 10px 12px; }
.aoc-login-card .login-remember label { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.aoc-login-card .button-primary { width: 100%; min-height: 44px; border: 0; border-radius: 10px; background: var(--aoc-orange); color: #fff; font-weight: 900; cursor: pointer; }

@media (max-width: 1100px) {
	.aoc-grid-5 { grid-template-columns: repeat(3, 1fr); }
	.aoc-campaigns { grid-template-columns: repeat(2, 1fr); }
	.aoc-hero-copy { max-width: 65%; }
	.aoc-mascot { width: 52%; right: -35px; }
}
@media (max-width: 1200px) {
	.aoc-layout { display: block; }
	.aoc-sidebar { padding: 8px 10px; border: 0; border-bottom: 1px solid var(--aoc-line); overflow-x: auto; overscroll-behavior-x: contain; }
	.aoc-nav { display: flex; width: max-content; position: static; gap: 5px; }
	.aoc-nav button { white-space: nowrap; }
}
@media (max-width: 760px) {
	.aoc-topbar { padding: 0 15px; }
	.aoc-top-actions .aoc-live, .aoc-top-actions a { display: none; }
	.aoc-main { padding: 18px 14px; }
	.aoc-grid-5, .aoc-grid-2, .aoc-campaigns, .aoc-form-grid, .aoc-form-grid-3 { grid-template-columns: 1fr; }
	.aoc-hero { min-height: 420px; align-items: flex-start; }
	.aoc-hero-copy { max-width: 100%; }
	.aoc-hero::after { background: linear-gradient(180deg, rgba(17,19,24,.98) 0%, rgba(17,19,24,.9) 58%, rgba(17,19,24,.15) 100%); }
	.aoc-mascot { width: 100%; height: 245px; bottom: -12px; right: -45px; opacity: .5; }
	.aoc-title-row { display: grid; }
	.aoc-filterbar { align-items: stretch; flex-direction: column; }
	.aoc-filterbar select { min-width: 0; width: 100%; }
	.aoc-filterbar span { margin-left: 0; }
}
