/*
Theme Name: AlkoKalko 0.3.4
Theme URI: https://alkokalko.pl/
Author: SZAMET.PL
Description: Lekki motyw aplikacyjny dla AlkoKalko: kalkulatory, wykresy, piwowarstwo, blog, tryb jasny/ciemny i miejsce na PWA.
Version: 0.3.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: alkokalko
*/


:root {
  --ak-bg: #fbfcfe;
  --ak-surface: #ffffff;
  --ak-surface-2: #f5f8fc;
  --ak-text: #202936;
  --ak-muted: #697586;
  --ak-border: #e4eaf1;
  --ak-primary: #4a9af4;
  --ak-primary-2: #76b6fb;
  --ak-navy: #262c34;
  --ak-success: #25a66a;
  --ak-shadow: 0 8px 26px rgba(40, 55, 75, .06);
  --ak-radius: 16px;
  --ak-sidebar: 240px;
  --ak-rightbar: 276px;
}

html[data-theme="dark"] {
  --ak-bg: #1b1e23;
  --ak-surface: #24282f;
  --ak-surface-2: #2c3139;
  --ak-text: #f3f4f6;
  --ak-muted: #aab0ba;
  --ak-border: #3a4049;
  --ak-primary: #70b7ff;
  --ak-primary-2: #97cbff;
  --ak-navy: #15181c;
  --ak-success: #52bf86;
  --ak-shadow: 0 10px 28px rgba(0, 0, 0, .20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ak-bg);
  color: var(--ak-text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; }
body { overflow-x: hidden; }
.ak-shell > *, .ak-header-inner > *, .ak-tool-card > *, .ak-rightbar > * { min-width: 0; }
.ak-tool-title, .ak-tool-subtitle, .ak-post-list a { overflow-wrap: anywhere; }

/* WordPress toolbar: keep sticky elements below the admin bar while logged in. */
.admin-bar .ak-site-header { top: 32px; }
.admin-bar .ak-sidebar, .admin-bar .ak-rightbar { top: 130px; }

.ak-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ak-surface) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ak-border);
}
.ak-header-inner {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.ak-brand { display: inline-flex; align-items: center; min-width: 0; color: var(--ak-text); }
.ak-brand-image { display: block; height: auto; max-width: 100%; }
.ak-brand-image-light { height: 48px; width: auto; max-width: none; display: block; }
.ak-brand-image-dark { height: 48px; width: auto; max-width: none; display: none; }
html[data-theme="dark"] .ak-brand-image-light { display: none; }
html[data-theme="dark"] .ak-brand-image-dark { display: block; }


.ak-topnav { display: flex; justify-content: center; gap: 28px; font-family: "Manrope", "Inter", sans-serif; font-weight: 700; font-size: 15px; }
.ak-topnav a:hover { color: var(--ak-primary); }
.ak-header-actions { display: flex; gap: 10px; align-items: center; }
.ak-install-header {
  min-height: 44px; padding: 0 15px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--ak-primary) 45%, var(--ak-border));
  background: color-mix(in srgb, var(--ak-primary) 10%, var(--ak-surface));
  color: var(--ak-primary); cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  font-family: "Manrope", "Inter", sans-serif; font-weight: 800; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.ak-install-header:hover {
  border-color: var(--ak-primary);
  background: color-mix(in srgb, var(--ak-primary) 16%, var(--ak-surface));
  transform: translateY(-1px);
}
.ak-install-header-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.ak-install-header.is-ready::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ak-success); margin-left: -3px;
}
.ak-icon-button {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--ak-border); background: var(--ak-surface);
  color: var(--ak-text); cursor: pointer; display: grid; place-items: center;
}
.ak-icon-button:hover { border-color: var(--ak-primary); color: var(--ak-primary); }
.ak-mobile-menu { display: none; }

.ak-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 20px auto 30px;
  display: grid;
  grid-template-columns: var(--ak-sidebar) minmax(0, 1fr) var(--ak-rightbar);
  gap: 18px;
  align-items: start;
}
.ak-sidebar, .ak-card, .ak-right-card {
  background: var(--ak-surface);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  box-shadow: var(--ak-shadow);
}
.ak-sidebar { padding: 18px 12px; position: sticky; top: 98px; }
.ak-sidebar-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ak-muted); font-weight: 800; padding: 0 10px 12px; }
.ak-nav-group { border-top: 1px solid var(--ak-border); padding: 10px 0; }
.ak-nav-group:first-of-type { border-top: 0; }
.ak-nav-toggle {
  width: 100%; font-family: "Manrope", "Inter", sans-serif; border: 0; background: transparent; color: var(--ak-text);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px; font-weight: 800; cursor: pointer; border-radius: 10px;
}
.ak-nav-toggle:hover { background: var(--ak-surface-2); }
.ak-nav-list { list-style: none; padding: 4px 0 0; margin: 0; }
.ak-nav-list li a { display: block; padding: 8px 10px 8px 26px; color: var(--ak-muted); border-radius: 9px; font-size: 14px; }
.ak-nav-list li a:hover { background: var(--ak-surface-2); color: var(--ak-primary); }
.ak-nav-group.is-collapsed .ak-nav-list { display: none; }
.ak-chevron { transition: transform .18s ease; }
.ak-nav-group.is-collapsed .ak-chevron { transform: rotate(-90deg); }

.ak-main { min-width: 0; }
.ak-intro {
  background: linear-gradient(135deg, color-mix(in srgb, var(--ak-primary) 6%, var(--ak-surface)), var(--ak-surface));
  border: 1px solid var(--ak-border); border-radius: var(--ak-radius); padding: 24px 26px; margin-bottom: 18px;
}
.ak-intro h1 { font-family: "Manrope", "Inter", sans-serif; font-weight: 800; font-size: clamp(28px, 3vw, 42px); margin: 0 0 6px; letter-spacing: -.03em; }
.ak-intro p { margin: 0; color: var(--ak-muted); max-width: 820px; }
.ak-section { margin: 0 0 24px; }
.ak-section-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.ak-section-title h2 { font-family: "Manrope", "Inter", sans-serif; font-weight: 800; margin: 0; font-size: 22px; }
.ak-count { color: var(--ak-muted); font-weight: 700; font-size: 14px; }
.ak-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.ak-tool-card {
  min-height: 102px; padding: 16px; background: var(--ak-surface); border: 1px solid var(--ak-border);
  border-radius: 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ak-tool-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ak-primary) 55%, var(--ak-border)); box-shadow: var(--ak-shadow); }
.ak-tool-icon { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--ak-primary) 9%, var(--ak-surface)); color: var(--ak-primary); display: grid; place-items: center; font-size: 20px; font-weight: 900; }
.ak-tool-copy { min-width: 0; display: block; }
.ak-tool-title { display: block; font-family: "Manrope", "Inter", sans-serif; font-weight: 700; line-height: 1.28; font-size: 15px; }
.ak-tool-subtitle { display: block; font-size: 12px; line-height: 1.35; color: var(--ak-muted); margin-top: 5px; }
.ak-tool-arrow { color: var(--ak-muted); font-size: 22px; }

.ak-rightbar { display: grid; gap: 14px; position: sticky; top: 98px; }
.ak-right-card { padding: 18px; }
.ak-pwa-head { display: flex; gap: 14px; align-items: center; }
.ak-pwa-icon { width: 68px; height: 68px; border-radius: 16px; object-fit: contain; }
.ak-right-card h3 { font-family: "Manrope", "Inter", sans-serif; font-weight: 800; margin: 0 0 6px; font-size: 19px; }
.ak-right-card p { margin: 0; color: var(--ak-muted); font-size: 14px; }
.ak-primary-button { width: 100%; margin-top: 14px; border: 0; border-radius: 12px; padding: 13px 15px; background: var(--ak-primary); color: white; font-weight: 800; cursor: pointer; }
.ak-primary-button:disabled { opacity: .6; cursor: default; }
.ak-store-card { background: linear-gradient(135deg, var(--ak-surface), color-mix(in srgb, #f7941d 8%, var(--ak-surface))); }
.ak-store-link { display: inline-flex; margin-top: 12px; font-weight: 800; color: var(--ak-primary); }
.ak-post-list { list-style: none; padding: 0; margin: 8px 0 0; }
.ak-post-list li { border-top: 1px solid var(--ak-border); padding: 10px 0; }
.ak-post-list li:first-child { border-top: 0; }
.ak-post-list a:hover { color: var(--ak-primary); }

.ak-banner-wrap { width: min(1480px, calc(100% - 32px)); margin: 0 auto 18px; }
.ak-banner-slider { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--ak-border); box-shadow: var(--ak-shadow); min-height: 122px; }
.ak-slide { display: none; min-height: 122px; padding: 22px 90px 22px 28px; align-items: center; background: linear-gradient(120deg, var(--ak-navy), #343b44); color: #fff; }
.ak-slide.is-active { display: flex; }
.ak-slide:nth-child(2) { background: linear-gradient(120deg, #2f363f, #46515d); }
.ak-slide:nth-child(3) { background: linear-gradient(120deg, #55473c, #79604a); }
.ak-slide.ak-banner-style-graphite { background: linear-gradient(120deg, var(--ak-navy), #343b44); }
.ak-slide.ak-banner-style-blue { background: linear-gradient(120deg, #2f455c, #456f99); }
.ak-slide.ak-banner-style-amber { background: linear-gradient(120deg, #55473c, #79604a); }
.ak-slide-content h3 { margin: 0 0 4px; font-size: 24px; }
.ak-slide-content p { margin: 0; opacity: .9; }
.ak-slide-content a { display: inline-flex; margin-top: 10px; font-weight: 800; color: white; text-decoration: underline; text-underline-offset: 3px; }
.ak-slider-controls { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.ak-slider-controls button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.22); color: white; cursor: pointer; }

.ak-site-footer { background: var(--ak-navy); color: #dfeaff; }
.ak-footer-inner { width: min(1480px, calc(100% - 32px)); margin: 0 auto; min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.ak-footer-brand { color: #f3f4f6; }
.ak-footer-logo { display:block; height: 46px; width:auto; max-width:none; }

.ak-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 14px; }
.ak-footer-nav a:hover { color: #fff; }
.ak-footer-copy { font-size: 12px; opacity: .8; text-align: right; }

.ak-content-page { width: min(1120px, calc(100% - 32px)); margin: 34px auto; background: var(--ak-surface); border: 1px solid var(--ak-border); border-radius: var(--ak-radius); padding: 28px; box-shadow: var(--ak-shadow); }
.ak-content-page h1 { margin-top: 0; }


/* Dark mode: graphite-first, blue only as an accent. */
html[data-theme="dark"] .ak-site-header { background: color-mix(in srgb, #20252a 96%, transparent); }
html[data-theme="dark"] .ak-intro { background: linear-gradient(135deg, #2a2f36, #24282f); }
html[data-theme="dark"] .ak-store-card { background: linear-gradient(135deg, #262b32, #2d3033); }
html[data-theme="dark"] .ak-tool-icon { background: #303640; }
html[data-theme="dark"] .ak-tool-card:hover { border-color: #59636f; }
html[data-theme="dark"] .ak-icon-button:hover { border-color: #66717d; }


@media (min-width: 1540px) {
  .ak-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 1380px) {
  :root { --ak-rightbar: 252px; --ak-sidebar: 220px; }
  .ak-header-inner, .ak-shell, .ak-banner-wrap, .ak-footer-inner { width: min(1320px, calc(100% - 28px)); }
  .ak-header-inner { gap: 18px; }
  .ak-topnav { gap: 20px; font-size: 14px; }
  .ak-brand-image-light, .ak-brand-image-dark { height: 44px; width: auto; }
  .ak-tool-card { padding: 14px; gap: 10px; min-height: 104px; }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .ak-tool-title { font-size: 14.5px; }
  .ak-tool-subtitle { font-size: 11.5px; }
}
@media (max-width: 1180px) {
  .ak-shell { grid-template-columns: 220px minmax(0,1fr); }
  .ak-rightbar { position: static; grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ak-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ak-topnav { display: none; }
  .ak-mobile-menu { display: grid; }
}
@media (max-width: 900px) {
  .ak-header-inner { grid-template-columns: 1fr auto; }
  .ak-shell { display: block; }
  .ak-sidebar { display: none; position: fixed; left: 12px; right: 12px; top: 90px; max-height: calc(100vh - 110px); overflow: auto; z-index: 60; }
  .admin-bar .ak-sidebar { top: 122px; max-height: calc(100vh - 142px); }
  .ak-sidebar.is-open { display: block; }
  .ak-rightbar { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 18px; }
}
@media (max-width: 782px) {
  .admin-bar .ak-site-header { top: 46px; }
  .admin-bar .ak-sidebar { top: 136px; max-height: calc(100vh - 156px); }
}
@media (max-width: 680px) {
  .ak-header-inner { width: calc(100% - 20px); min-height: 68px; gap: 10px; }
  .ak-brand-image-light, .ak-brand-image-dark { height: 40px; width: auto; }
  .ak-header-actions { gap: 6px; }
  .ak-install-header { min-height: 40px; padding: 0 11px; gap: 7px; font-size: 13px; }
  .ak-install-header-icon { width: 18px; height: 18px; }
  .ak-icon-button { width: 40px; height: 40px; }
  .ak-shell { width: calc(100% - 20px); margin-top: 12px; }
  .ak-intro { padding: 18px; }
  .ak-intro h1 { font-family: "Manrope", "Inter", sans-serif; font-weight: 800; font-size: clamp(26px, 8vw, 36px); }
  .ak-section-title { flex-wrap: wrap; }
  .ak-grid { grid-template-columns: 1fr; }
  .ak-tool-card { min-height: 78px; }
  .ak-rightbar { grid-template-columns: 1fr; }
  .ak-banner-wrap { width: calc(100% - 20px); }
  .ak-slide { padding: 20px 66px 20px 20px; min-height: 132px; }
  .ak-slide-content h3 { font-size: 20px; }
  .ak-footer-inner { width: calc(100% - 20px); padding: 22px 0; grid-template-columns: 1fr; text-align: center; }
  .ak-footer-brand { margin: 0 auto; }
  .ak-footer-copy { text-align:center; }
}
@media (max-width: 520px) {
  .ak-install-header { width: 40px; padding: 0; justify-content: center; }
  .ak-install-header-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .ak-install-header.is-ready::after { position: absolute; width: 7px; height: 7px; margin: -24px 0 0 24px; }
}
@media (max-width: 380px) {
  .ak-brand-image-light, .ak-brand-image-dark { height: 36px; width: auto; }
  .ak-tool-card { grid-template-columns: 38px minmax(0,1fr) auto; padding: 12px; }
  .ak-tool-icon { width: 38px; height: 38px; }
}


/* Blog / Poradniki */
.ak-blog-page { max-width: 1180px; margin: 0 auto; padding: 48px 24px 64px; }
.ak-blog-header { margin-bottom: 28px; }
.ak-blog-header h1 { margin: 4px 0 10px; font-family: "Manrope", sans-serif; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; }
.ak-blog-header p { max-width: 760px; color: var(--ak-muted); }
.ak-eyebrow { color: var(--ak-primary) !important; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.ak-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ak-blog-card { min-width: 0; overflow: hidden; background: var(--ak-surface); border: 1px solid var(--ak-border); border-radius: 20px; }
.ak-blog-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ak-surface-2); }
.ak-blog-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ak-blog-thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2rem; color: var(--ak-muted); }
.ak-blog-card-body { padding: 20px; }
.ak-blog-meta { margin-bottom: 8px; color: var(--ak-muted); font-size: .82rem; }
.ak-blog-card h2 { margin: 0 0 10px; font-family: "Manrope", sans-serif; font-size: 1.2rem; line-height: 1.3; }
.ak-blog-card h2 a, .ak-blog-read { color: var(--ak-text); text-decoration: none; }
.ak-blog-excerpt { color: var(--ak-muted); font-size: .94rem; line-height: 1.6; }
.ak-blog-excerpt p { margin: 0; }
.ak-blog-read { display: inline-flex; margin-top: 16px; color: var(--ak-primary); font-weight: 700; }
.ak-blog-pagination { margin-top: 32px; }
.ak-blog-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.ak-blog-pagination a, .ak-blog-pagination span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid var(--ak-border); border-radius: 12px; color: var(--ak-text); text-decoration: none; background: var(--ak-surface); }
.ak-blog-pagination .current { border-color: var(--ak-primary); color: var(--ak-primary); }
.ak-empty-state { padding: 32px; border: 1px dashed var(--ak-border); border-radius: 18px; background: var(--ak-surface); }
@media (hover:hover) and (pointer:fine) { .ak-blog-card:hover .ak-blog-thumb img { transform: scale(1.025); } }
@media (max-width: 900px) { .ak-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ak-blog-page { padding: 32px 16px 48px; } .ak-blog-grid { grid-template-columns: 1fr; } }


/* O projekcie / Kontakt */
.ak-content-page article { max-width: 900px; margin: 0 auto; }
.ak-content-page article > p, .ak-content-page article > ul { color: var(--ak-muted); font-size: 1rem; line-height: 1.75; }
.ak-content-page article h2 { margin: 30px 0 10px; font-family: "Manrope", "Inter", sans-serif; font-size: 1.45rem; }
.ak-content-page article a { color: var(--ak-primary); font-weight: 700; }
.ak-lead { font-size: 1.12rem !important; color: var(--ak-text) !important; max-width: 760px; }
.ak-info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.ak-info-grid > div { padding: 18px; border: 1px solid var(--ak-border); border-radius: 14px; background: var(--ak-surface-2); }
.ak-info-grid strong, .ak-info-grid span { display: block; }
.ak-info-grid strong { font-family: "Manrope", "Inter", sans-serif; margin-bottom: 6px; }
.ak-info-grid span { color: var(--ak-muted); font-size: .93rem; line-height: 1.55; }
.ak-note { padding: 16px 18px; border-left: 3px solid var(--ak-primary); background: var(--ak-surface-2); border-radius: 0 12px 12px 0; }
.ak-contact-box { display: flex; align-items: center; gap: 16px; margin: 24px 0; padding: 20px; border: 1px solid var(--ak-border); border-radius: 16px; background: var(--ak-surface-2); }
.ak-contact-box p { margin: 3px 0 0; }
.ak-contact-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--ak-primary) 10%, var(--ak-surface)); font-size: 22px; }
.ak-nav-info .ak-nav-toggle + .ak-nav-toggle { margin-top: 2px; }
@media (max-width: 680px) { .ak-info-grid { grid-template-columns: 1fr; } }


/* Formularz kontaktowy */
.ak-contact-page article { max-width: 820px; }
.ak-contact-form { margin-top: 26px; padding: 24px; border: 1px solid var(--ak-border); border-radius: 18px; background: var(--ak-surface); }
.ak-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ak-form-field { display: block; margin-bottom: 15px; }
.ak-form-field > span { display: block; margin-bottom: 7px; color: var(--ak-text); font-weight: 700; font-size: .93rem; }
.ak-form-field strong { color: var(--ak-primary); }
.ak-form-field input, .ak-form-field textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--ak-border); border-radius: 12px; background: var(--ak-surface-2); color: var(--ak-text); padding: 12px 13px; font: 500 16px/1.45 "Inter",system-ui,sans-serif; outline: none; }
.ak-form-field input { min-height: 48px; }
.ak-form-field textarea { resize: vertical; min-height: 170px; }
.ak-form-field input:focus, .ak-form-field textarea:focus { border-color: var(--ak-primary); box-shadow: 0 0 0 3px color-mix(in srgb,var(--ak-primary) 16%,transparent); }
.ak-form-field input::placeholder, .ak-form-field textarea::placeholder { color: var(--ak-muted); opacity: .78; }
.ak-form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--ak-muted); font-size: .9rem; line-height: 1.5; }
.ak-form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ak-primary); flex: 0 0 auto; }
.ak-contact-submit { min-width: 190px; }
.ak-form-footnote { margin: 11px 0 0 !important; font-size: .82rem !important; color: var(--ak-muted) !important; }
.ak-form-message { margin: 20px 0; padding: 14px 16px; border-radius: 12px; font-weight: 650; }
.ak-form-message.is-success { border: 1px solid color-mix(in srgb,#16a34a 35%,var(--ak-border)); background: color-mix(in srgb,#16a34a 8%,var(--ak-surface)); color: var(--ak-text); }
.ak-form-message.is-error { border: 1px solid color-mix(in srgb,#dc2626 35%,var(--ak-border)); background: color-mix(in srgb,#dc2626 8%,var(--ak-surface)); color: var(--ak-text); }
.ak-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 620px) { .ak-form-grid { grid-template-columns: 1fr; gap: 0; } .ak-contact-form { padding: 18px; } .ak-contact-submit { width: 100%; } }

/* Standalone tool */
.ak-standalone-nav{margin-top:18px;padding-top:16px;border-top:1px solid var(--ak-border)}
.ak-standalone-link{display:flex;align-items:center;gap:10px;margin:0 4px;padding:12px;border-radius:12px;text-decoration:none;font-weight:800;color:var(--ak-text);background:var(--ak-surface-2);border:1px solid var(--ak-border);transition:.18s ease}
.ak-standalone-link:hover,.ak-standalone-link.is-active{border-color:var(--ak-primary);background:color-mix(in srgb,var(--ak-primary) 12%,var(--ak-surface))}
.ak-standalone-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--ak-surface);font-size:16px}
.ak-standalone-home{margin-top:28px;padding-top:22px;border-top:1px solid var(--ak-border)}
.ak-tool-card-standalone{min-height:92px;border-style:solid;border-width:1px}
