/* AI page: structural details. Typography, colour, spacing and panels use editable Divi presets. */
.gk-ai-section .et_pb_text_inner {text-wrap:pretty}
.gk-ai-section h1,.gk-ai-section h2,.gk-ai-section h3 {text-wrap:balance}
.gk-ai-workbench {position:relative;isolation:isolate}
.gk-ai-workbench .gk-ai-ticket {box-shadow:0 10px 24px -16px #243b3266;transform-origin:50% 50%}
.gk-ai-ticket--one {transform:rotate(-2deg)}
.gk-ai-ticket--two {transform:rotate(2deg)}
.gk-ai-area .et_pb_text_inner {height:100%}
.gk-ai-area .et_pb_text_inner>p:first-child,.gk-ai-ticket .et_pb_text_inner>p:first-child {margin-bottom:1.5em}
.gk-ai-process-card .et_pb_text_inner>p:first-child {color:var(--gk-lime)}
.gk-ai-process-card .et_pb_text_inner>p:last-child {margin-top:1.5em}
.gk-ai-flow .gk-ai-flow-item {position:relative;padding-left:24px}
.gk-ai-flow .gk-ai-flow-item::before {content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;background:currentColor;border-radius:50%}
.gk-ai-flow .gk-ai-flow-item:not(:last-child)::after {content:"";position:absolute;left:3px;top:1.5em;bottom:-18px;border-left:1px solid currentColor;opacity:.3}
.gk-ai-section[id] {scroll-margin-top:120px}
.gk-ai-scroll-nav {display:none}
/* Existing GK toggle behaviour: left-aligned plus/minus and open rows.
   Colours, borders and type remain editable in the shared Divi preset. */
.gk-ai-section .gk-toggle-standard .et_pb_toggle_title {padding:26px 0 26px 36px;min-height:44px}
.gk-ai-section .gk-toggle-standard .et_pb_toggle_title::before {content:"\4c";left:0;right:auto;color:inherit;font-size:24px;display:block}
.gk-ai-section .gk-toggle-standard.et_pb_toggle_open .et_pb_toggle_title::before {content:"\4b"}
.gk-ai-section .gk-toggle-standard .et_pb_toggle_content {padding:0 0 26px 36px}
.gk-ai-section .gk-toggle-standard .et_pb_toggle_title:focus-visible {outline:2px solid currentColor;outline-offset:3px}
.gk-ai-process-row>.et_pb_column:focus-visible {outline:2px solid currentColor;outline-offset:4px}
@media(max-width:767px){
 .gk-ai-ticket--one,.gk-ai-ticket--two {transform:none}
 .gk-ai-process-row>.et_pb_column {display:flex!important;flex-direction:row!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px!important}
 .gk-ai-process-row .gk-ai-process-card {flex:0 0 88%;scroll-snap-align:start}
 .gk-ai-scroll-nav {display:flex;align-items:center;gap:12px;width:100%}
 .gk-ai-scroll-nav span {margin-right:auto}
 .gk-ai-scroll-nav button {display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:inherit;cursor:pointer}
 .gk-ai-scroll-nav button:disabled {opacity:.35;cursor:default}
 .gk-ai-scroll-nav button:focus-visible {outline:2px solid currentColor;outline-offset:3px}
}
@media print{.gk-ai-process-row>.et_pb_column {display:block!important}.gk-ai-ticket {transform:none!important}}
