/*
Theme Name: KIVU AI ERP
Description: KIVU's seven-language AI Accounting and ERP marketing website. Install with the KIVU Site Content companion plugin.
Version: 2.0.5-preview
Requires at least: 6.4
Requires PHP: 8.1
Author: KIVU
License: GPL-2.0-or-later
Text Domain: kivu-ai-erp
*/
body.admin-bar .top{top:32px}body.admin-bar .language-picker ul{z-index:100}
@media(max-width:782px){body.admin-bar .top{top:46px}}
@media(max-width:600px){body.admin-bar .top{top:0}}
.kivu-wp-fallback{min-height:60vh;padding-block:70px}
/* Physical negative-left positioning expands the RTL scroll range. Keep the skip link accessible. */
.skip:not(:focus){position:absolute;left:auto;inset-inline-start:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{left:auto;inset-inline-start:20px}

/* Header-only overrides. Original product CSS/JS and body markup remain intact. */
.top .head{display:flex;position:relative;align-items:center;flex-wrap:nowrap;gap:14px;min-height:84px;width:min(1720px,calc(100% - 40px));padding-block:10px}
.top .head>.logo{width:clamp(165px,14vw,200px);flex:0 0 clamp(165px,14vw,200px)}
.top .head>.logo img[src$="/assets/kivu-logo.png"]{aspect-ratio:2048/513;height:auto}
.top .head>.menu{display:block;margin:0;margin-inline-start:auto;min-width:44px;min-height:44px;order:4}
.top .head>.language-picker{margin-inline-start:auto;order:3;max-width:calc(100% - 220px)}
.top .language-picker summary{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.top .language-picker ul{max-width:calc(100vw - 32px);min-width:160px}
.top .head>.nav{display:none;position:absolute;inset-inline:0;top:100%;margin:0;padding:20px;flex-direction:column;align-items:stretch;gap:10px;width:auto;max-height:calc(100dvh - 140px);overflow:auto;background:white;border-bottom:1px solid var(--line);font-size:1rem;order:2}
.top .head>.nav.open{display:flex}
.top .nav>a{min-height:44px;display:flex;align-items:center;white-space:normal;overflow-wrap:anywhere}
.top .nav>a:hover{color:#17649b}
.kivu-header-actions{display:none;gap:8px;align-items:center;order:4}
.kivu-header-actions:empty,.kivu-mobile-actions:empty{display:none!important}
.kivu-header-actions .btn{font-size:.82rem;min-height:44px;padding:9px 12px;white-space:nowrap}
.kivu-mobile-actions{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin-top:10px}
.kivu-mobile-actions .btn{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.kivu-header-actions .btn:not(.secondary),.kivu-mobile-actions .btn:not(.secondary){background:#17649b;color:#fff}
/* A measured fit chooses desktop layout; translated text and action counts are included. */
.top .head.kivu-wide>.nav{display:flex;position:static;flex-direction:row;align-items:center;gap:10px;padding:0;margin:0;margin-inline-start:auto;width:max-content;max-height:none;overflow:visible;border:0;font-size:.82rem}
.top .head.kivu-wide>.nav>a{white-space:nowrap;padding-inline:2px}
.top .head.kivu-wide>.menu{display:none}
.top .head.kivu-wide>.language-picker{margin:0;max-width:none}
.top .head.kivu-wide>.kivu-header-actions{display:flex}
.top .head.kivu-wide .kivu-mobile-actions{display:none}
.top .head.kivu-measure{position:fixed;inset:0 auto auto 0;visibility:hidden;pointer-events:none}
.top .head.kivu-measure>.nav{display:flex;position:fixed;visibility:hidden;flex-direction:row;gap:10px;padding:0;width:max-content;max-height:none;overflow:visible;border:0;font-size:.82rem}
.top .head.kivu-measure>.nav>a{white-space:nowrap;padding-inline:2px}
.top .head.kivu-measure>.kivu-header-actions{display:flex;position:fixed;visibility:hidden;width:max-content}
.top .head.kivu-measure .kivu-mobile-actions{display:none}
html:not(.kivu-header-js) .top .head{flex-wrap:wrap}
html:not(.kivu-header-js) .top .head>.menu{display:none}
html:not(.kivu-header-js) .top .head>.nav{display:flex;position:static;flex:1 1 100%;max-height:none;flex-direction:row;flex-wrap:wrap;order:5}
@media(max-width:540px){.top .head{width:calc(100% - 24px);gap:8px}.top .head>.logo{width:145px;flex-basis:145px}.top .head>.language-picker{max-width:calc(100% - 205px);font-size:.75rem}.top .language-picker summary{padding:8px}.top .head>.menu{padding:6px}}
@media(prefers-reduced-motion:reduce){.top *{transition:none!important;scroll-behavior:auto!important}}
.top .head[data-kivu-logo="compact"]>.logo{width:165px;flex-basis:165px}
.top .head[data-kivu-logo="standard"]>.logo{width:180px;flex-basis:180px}
.top .head[data-kivu-logo="large"]>.logo{width:200px;flex-basis:200px}
@media(max-width:540px){.top .head[data-kivu-logo]>.logo{width:145px;flex-basis:145px}}
