.ac-wrap {
	--ac-ink: #16211d;
	--ac-muted: #5b6662;
	--ac-line: #e2e6e3;
	--ac-bg: #ffffff;
	--ac-soft: #f5f7f4;
	--ac-accent: #0f6b4f;
	--ac-accent-ink: #ffffff;
	--ac-good: #1b7a46;
	--ac-ok: #a35f00;
	--ac-poor: #b42318;
	color: var(--ac-ink);
	max-width: 960px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.5;
	box-sizing: border-box;
}
.ac-wrap *, .ac-wrap *::before, .ac-wrap *::after { box-sizing: inherit; }
.ac-wrap h2, .ac-wrap h3, .ac-wrap h4 { line-height: 1.2; margin: 0 0 .4em; }
.ac-muted { color: var(--ac-muted); margin: 0 0 .75em; font-size: .92em; }
.ac-small { color: var(--ac-muted); font-size: .85em; margin: .5em 0 0; }

/* form */
.ac-form, .ac-unlock { background: var(--ac-soft); border: 1px solid var(--ac-line); border-radius: 16px; padding: 28px; }
.ac-form__title { font-size: 1.6em; }
.ac-form__sub { color: var(--ac-muted); margin: 0 0 1.2em; }
.ac-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 18px; }
.ac-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95em; }
.ac-field em { font-weight: 400; color: var(--ac-muted); font-style: normal; }
.ac-field input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #b9c2bd; border-radius: 10px; background: #fff; color: var(--ac-ink); min-height: 48px; width: 100%; }
.ac-field input:focus { outline: 3px solid rgba(15,107,79,.35); outline-offset: 1px; border-color: var(--ac-accent); }
.ac-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; padding: 14px 24px; min-height: 48px; border: 0; border-radius: 10px; background: var(--ac-accent); color: var(--ac-accent-ink); cursor: pointer; text-decoration: none; }
.ac-btn:hover { filter: brightness(1.08); }
.ac-btn:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.ac-btn[disabled] { opacity: .6; cursor: wait; }
.ac-btn--light { background: #fff; color: var(--ac-accent); }
.ac-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ac-error { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: var(--ac-poor); font-weight: 600; }
.ac-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 10px 0; }
.ac-grow { flex: 1 1 260px; }
.ac-check { display: flex; gap: 8px; align-items: flex-start; font-size: .92em; color: var(--ac-muted); }
.ac-check input { width: 20px; height: 20px; margin-top: 2px; }

/* progress */
.ac-progress { text-align: center; padding: 48px 16px; }
.ac-spinner { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--ac-line); border-top-color: var(--ac-accent); animation: ac-spin 1s linear infinite; }
@keyframes ac-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ac-spinner { animation-duration: 3s; } }

/* report */
.ac-demo { background: #fff6e0; border: 1px solid #f1d38a; padding: 8px 12px; border-radius: 8px; font-size: .9em; }
.ac-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 12px 0 8px; flex-wrap: wrap; }
.ac-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75em; font-weight: 700; color: var(--ac-accent); margin: 0 0 4px; }
.ac-score { display: grid; justify-items: center; padding: 14px 22px; border-radius: 16px; border: 2px solid currentColor; min-width: 150px; }
.ac-score strong { font-size: 2.6em; line-height: 1; }
.ac-score span { font-size: .9em; }
.ac-score em { font-style: normal; font-weight: 700; font-size: .85em; margin-top: 4px; }
.ac-score--good { color: var(--ac-good); }
.ac-score--ok { color: var(--ac-ok); }
.ac-score--poor { color: var(--ac-poor); }
.ac-summary { font-size: 1.08em; background: var(--ac-soft); border-left: 4px solid var(--ac-accent); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.ac-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.ac-tile { border: 1px solid var(--ac-line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.ac-tile span { font-size: .85em; color: var(--ac-muted); }
.ac-tile strong { font-size: 1.5em; }
.ac-tile small { font-size: .55em; color: var(--ac-muted); font-weight: 400; }
.ac-bar { height: 6px; background: var(--ac-line); border-radius: 3px; overflow: hidden; }
.ac-bar i { display: block; height: 100%; background: var(--ac-accent); }
.ac-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.ac-card { border: 1px solid var(--ac-line); border-radius: 14px; padding: 18px; }
.ac-big { font-size: 2.2em; font-weight: 800; margin: 0; }
.ac-mapgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 280px; }
.ac-pt { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 1.05em; }
.ac-pt--top { background: #1b7a46; color: #fff; }
.ac-pt--mid { background: #f2b94b; color: #2a1d00; }
.ac-pt--low { background: #f08a5d; color: #2a0f00; }
.ac-pt--none { background: #b42318; color: #fff; }
.ac-pt--na { background: var(--ac-line); color: var(--ac-muted); }
.ac-legend { font-size: .8em; color: var(--ac-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 10px 0 0; }
.ac-key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 2px; vertical-align: middle; }
.ac-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.ac-table th, .ac-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--ac-line); }
.ac-table th:not(:first-child), .ac-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.ac-you td { font-weight: 700; background: #eef7f2; }
.ac-you em { font-weight: 400; color: var(--ac-muted); font-style: normal; }
.ac-h3 { margin-top: 8px !important; }
.ac-findings { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ac-finding { border: 1px solid var(--ac-line); border-left-width: 5px; border-radius: 12px; padding: 16px 18px; }
.ac-sev--high { border-left-color: var(--ac-poor); }
.ac-sev--medium { border-left-color: var(--ac-ok); }
.ac-sev--low { border-left-color: var(--ac-good); }
.ac-finding__top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ac-pill { font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ac-sev--high .ac-pill { color: var(--ac-poor); }
.ac-sev--medium .ac-pill { color: var(--ac-ok); }
.ac-sev--low .ac-pill { color: var(--ac-good); }
.ac-src { font-size: .75em; color: var(--ac-muted); border: 1px solid var(--ac-line); border-radius: 999px; padding: 1px 8px; }
.ac-finding h4 { font-size: 1.1em; }
.ac-finding dl { margin: 8px 0; display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; }
.ac-finding dt { font-weight: 700; font-size: .9em; }
.ac-finding dd { margin: 0; }
.ac-how summary { cursor: pointer; font-weight: 700; color: var(--ac-accent); padding: 6px 0; min-height: 32px; }
.ac-how ol { margin: 6px 0 8px 1.2em; }
.ac-locked { color: var(--ac-muted); font-style: italic; margin: 0; }
.ac-link { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ac-accent); }
.ac-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--ac-accent); color: #fff; border-radius: 16px; padding: 22px 24px; margin: 24px 0 12px; }
.ac-cta h3 { color: #fff; }
.ac-cta p { margin: 0; opacity: .92; }
.ac-foot { margin-bottom: 24px; }

@media (max-width: 720px) {
	.ac-grid2, .ac-cols { grid-template-columns: 1fr; }
	.ac-tiles { grid-template-columns: 1fr 1fr; }
	.ac-finding dl { grid-template-columns: 1fr; }
	.ac-form, .ac-unlock { padding: 20px; }
	.ac-mapgrid { max-width: 100%; }
}

/* ---------- v0.2: plans, dashboard ---------- */
.ac-notice { background: #e5f4e4; border: 1px solid #b7dfb5; color: #14532d; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.ac-row--between { justify-content: space-between; align-items: center; }
.ac-linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--ac-accent); text-decoration: underline; cursor: pointer; min-height: 32px; }
.ac-btn--ghost { background: #fff; color: var(--ac-accent); border: 2px solid var(--ac-accent); }
.ac-btn--sm { padding: 8px 14px; min-height: 40px; font-size: .92em; }
.ac-tag { display: inline-block; font-size: .72em; font-weight: 700; background: #fff1e0; color: #8a4b00; border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.ac-upsell { border: 2px solid var(--ac-accent); border-radius: 16px; padding: 22px; margin: 24px 0; }
.ac-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 14px 0; }
.ac-plan { position: relative; border: 1px solid var(--ac-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.ac-plan .ac-btn { margin-top: auto; }
.ac-plan--pop { border: 2px solid var(--ac-accent); }
.ac-badge { position: absolute; top: -12px; left: 16px; background: var(--ac-accent); color: #fff; font-size: .72em; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ac-price { margin: 0; }
.ac-price strong { font-size: 1.8em; }
.ac-price small { color: var(--ac-muted); }
.ac-ticks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: .93em; }
.ac-ticks li { padding-left: 24px; position: relative; }
.ac-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ac-good); font-weight: 800; }
.ac-oneline { margin: 4px 0 0; }
.ac-oneoff { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--ac-soft); border: 1px solid var(--ac-line); border-radius: 14px; padding: 18px 20px; margin: 8px 0 12px; }
.ac-oneoff p { margin: 0; }
.ac-dash__top { margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.ac-switch select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid #b9c2bd; min-height: 44px; }
.ac-scorebox { display: flex; align-items: center; gap: 16px; color: var(--ac-accent); flex-wrap: wrap; }
.ac-spark { max-width: 100%; }
.ac-focus { background: var(--ac-soft); border-left: 5px solid var(--ac-accent); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 18px 0; }
.ac-focus h3 { margin: 0 0 4px; }
.ac-focus p { margin: 0; }
.ac-group { margin: 20px 0 8px !important; font-size: 1em; }
.ac-group span { color: var(--ac-muted); font-weight: 400; }
.ac-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.ac-task--fixed { border-left-color: var(--ac-good); background: #f3faf5; }
.ac-task--done { opacity: .85; }
.ac-card--good { border-color: #b7dfb5; background: #f3faf5; }
.ac-card--warn { border-color: #f1d38a; background: #fffaf0; }
.ac-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 16px; }
.ac-history summary { cursor: pointer; min-height: 32px; }
.ac-login form p { display: flex; flex-direction: column; gap: 6px; }
.ac-login input[type=text], .ac-login input[type=password] { font: inherit; padding: 12px 14px; border: 1px solid #b9c2bd; border-radius: 10px; min-height: 48px; }
.ac-login input[type=submit] { font: inherit; font-weight: 700; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--ac-accent); color: #fff; cursor: pointer; }
.ac-login .login-remember { flex-direction: row; align-items: center; }
@media (max-width: 720px) {
	.ac-plans { grid-template-columns: 1fr; }
}
@media print {
	.ac-wrap { max-width: none; font-size: 12pt; }
	.ac-cols { grid-template-columns: 1fr 1fr; }
	.ac-tiles { grid-template-columns: repeat(4, 1fr); }
	.ac-pt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- v0.3: guides ---------- */
.ac-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 8px; font-size: .85em; color: var(--ac-muted); }
.ac-level { border: 1px solid var(--ac-line); border-radius: 999px; padding: 1px 9px; font-weight: 700; }
.ac-level--easy { color: var(--ac-good); border-color: #b7dfb5; background: #f3faf5; }
.ac-level--medium { color: var(--ac-ok); border-color: #f1d38a; background: #fffaf0; }
.ac-level--ask-your-web-person { color: #5b3aa8; border-color: #d6ccf2; background: #f6f3ff; }
.ac-gain { font-weight: 700; color: var(--ac-accent); }
.ac-progress-mini { font-size: .85em; color: var(--ac-muted); font-weight: 600; }
.ac-finding.is-finished { background: #f3faf5; }
.ac-finding.is-finished .ac-progress-mini { color: var(--ac-good); }
.ac-guide-teaser { background: var(--ac-soft); border-radius: 10px; padding: 10px 14px; margin-top: 6px; }
.ac-guide-teaser p { margin: 0 0 4px; }
.ac-potential { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: center; border: 1px dashed var(--ac-accent); border-radius: 14px; padding: 14px 18px; margin: 8px 0 18px; }
.ac-potential p { margin: 0; }
.ac-potential__bar { height: 14px; background: var(--ac-line); border-radius: 7px; overflow: hidden; display: flex; }
.ac-potential__now { background: var(--ac-accent); }
.ac-potential__gain { background: repeating-linear-gradient(45deg, #7fc3a8, #7fc3a8 6px, #a9dbc6 6px, #a9dbc6 12px); }
.ac-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ac-chip { font: inherit; font-size: .9em; border: 1px solid #b9c2bd; background: #fff; color: var(--ac-ink); border-radius: 999px; padding: 6px 14px; min-height: 36px; cursor: pointer; }
.ac-chip span { color: var(--ac-muted); margin-left: 2px; }
.ac-chip.is-on { background: var(--ac-ink); color: #fff; border-color: var(--ac-ink); }
.ac-chip.is-on span { color: #cfd6d2; }
.ac-chip:focus-visible { outline: 3px solid rgba(15,107,79,.4); outline-offset: 2px; }
.ac-planbar { height: 10px; background: var(--ac-line); border-radius: 5px; overflow: hidden; margin: 4px 0 12px; }
.ac-planbar i { display: block; height: 100%; background: var(--ac-good); transition: width .4s; }
.ac-printsteps pre, .ac-copy pre { white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px solid var(--ac-line); border-radius: 8px; padding: 10px 12px; font-size: .88em; margin: 6px 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
.ac-noscroll { overflow: hidden; }
.ac-modal { position: fixed; inset: 0; background: rgba(10, 20, 16, .55); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ac-modal__panel { background: #fff; border-radius: 18px; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 24px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ac-modal__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ac-modal__head h2 { font-size: 1.25em; margin: 0; outline: none; }
.ac-modal__close { font-size: 28px; line-height: 1; border: 0; background: none; cursor: pointer; color: var(--ac-muted); min-width: 44px; min-height: 44px; }
.ac-steps-bar { height: 6px; background: var(--ac-line); border-radius: 3px; overflow: hidden; margin: 12px 0; }
.ac-steps-bar i { display: block; height: 100%; background: var(--ac-accent); transition: width .3s; }
.ac-platforms { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.ac-platforms .ac-muted { margin: 0 4px 0 0; }
.ac-modal__body { min-height: 180px; }
.ac-step__title { font-size: 1.2em; margin: 2px 0 8px; }
.ac-step__text { font-size: 1.02em; }
.ac-copy { background: var(--ac-soft); border: 1px solid var(--ac-line); border-radius: 12px; padding: 12px; margin: 12px 0; }
.ac-copy__label { font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ac-accent); margin: 0; }
.ac-tip { background: #fffaf0; border-left: 4px solid #f2b94b; padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: .93em; }
.ac-stepdone { margin-top: 14px; font-weight: 600; color: var(--ac-ink); }
.ac-modal__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--ac-line); padding-top: 14px; margin-top: 16px; }
.ac-overview summary { cursor: pointer; font-weight: 700; color: var(--ac-accent); min-height: 32px; }
.ac-bigtick { font-size: 48px; color: var(--ac-good); margin: 0; line-height: 1; }
@media (max-width: 600px) {
	.ac-modal { padding: 0; align-items: flex-end; }
	.ac-modal__panel { border-radius: 18px 18px 0 0; max-height: 92vh; }
	.ac-potential { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ac-steps-bar i, .ac-planbar i { transition: none; } }
.ac-modal__body h3 { font-size: 1.05em; margin: 14px 0 6px; }
.ac-modal__body .ac-step__title { font-size: 1.25em; }
