/* i-BOT Reklamacje — visual layer v2 stage 1; CSS-only, no workflow changes. */
:root{--ibot-petrol:#123d46;--ibot-petrol-hover:#205863;--ibot-burgundy:#862746;--ibot-bg:#f5f8fa;--ibot-line:#c5d4da;--ibot-text:#26353b;--ibot-muted:#536777}
body{color:var(--ibot-text);background:var(--ibot-bg)}
.ibot-app-frame,.ibot-guest-frame{background:var(--ibot-bg)}
.ibot-app-frame nav[x-data]{border-color:var(--ibot-line);background:#fff}
.ibot-app-frame .kmc-page-header{border-color:var(--ibot-line);background:#fff}
.ibot-app-frame .kmc-card{border-color:var(--ibot-line)}
.ibot-app-frame .kmc-button-primary{background:var(--ibot-petrol);color:#fff}
.ibot-app-frame .kmc-button-primary:hover{background:var(--ibot-petrol-hover)}
.ibot-app-frame .kmc-button-primary:focus-visible{outline:3px solid var(--ibot-petrol);outline-offset:3px}
.ibot-app-frame a[class*="text-sky-"],.ibot-guest-frame a[class*="text-sky-"]{color:var(--ibot-petrol)}
.ibot-app-frame a[class*="text-sky-"]:hover,.ibot-guest-frame a[class*="text-sky-"]:hover{color:var(--ibot-petrol-hover)}
.ibot-app-frame [class*="border-sky-"]{border-color:var(--ibot-line)}
.ibot-app-frame [class*="bg-sky-50"]{background:#e7f0f2}
.ibot-app-frame button[class*="bg-sky-600"],.ibot-guest-frame button[class*="bg-sky-600"],.ibot-app-frame a[class*="bg-sky-600"]{background:var(--ibot-petrol);color:#fff}
.ibot-app-frame button[class*="bg-sky-600"]:hover,.ibot-guest-frame button[class*="bg-sky-600"]:hover,.ibot-app-frame a[class*="bg-sky-600"]:hover{background:var(--ibot-petrol-hover)}
.ibot-app-frame nav a[aria-current="page"]{color:var(--ibot-petrol);border-color:var(--ibot-petrol)}
.ibot-app-frame nav img[alt^="Reklamacje"]{max-height:66px;width:auto;max-width:230px}
.ibot-guest-frame img[alt^="Reklamacje"]{max-width:min(75vw,270px);height:auto}
.ibot-guest-frame>div:last-child{border-color:var(--ibot-line);box-shadow:0 22px 70px #123d4614}
.ibot-guest-frame input:focus-visible,.ibot-app-frame input:focus-visible,.ibot-app-frame select:focus-visible,.ibot-app-frame textarea:focus-visible{border-color:var(--ibot-petrol);outline:2px solid var(--ibot-petrol);outline-offset:1px}
/* Burgundy reserved for editorial highlights; status colors remain intact. */
.ibot-app-frame .ibot-editorial-accent,.ibot-guest-frame .ibot-editorial-accent{color:var(--ibot-burgundy)}
@media(max-width:640px){.ibot-app-frame nav img[alt^="Reklamacje"]{max-width:160px;max-height:58px}.ibot-guest-frame{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.ibot-app-frame *,.ibot-guest-frame *{scroll-behavior:auto}}

/* IBOT-AI-SUMMARY-BUTTON-2.1.2 */
.ibot-app-frame main form[action*="/ai-summary"] button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #155e63;
    color: #ffffff;
    border: 1px solid #155e63;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
}

.ibot-app-frame main form[action*="/ai-summary"] button[type="submit"]:hover {
    background-color: #104a4e;
    border-color: #104a4e;
}
