/* =========================================================
   AUTOOFFICE GLOBAL DESIGN SYSTEM
   PHASE 2A-5
   ========================================================= */

:root {
    --ao-ink:#07111f;
    --ao-ink-soft:#0d1b30;
    --ao-navy:#102440;

    --ao-blue:#4f7cff;
    --ao-blue-bright:#6d91ff;
    --ao-cyan:#42d8ff;
    --ao-violet:#8d63ff;
    --ao-purple:#b86cff;

    --ao-white:#ffffff;
    --ao-page:#f6f8fc;
    --ao-surface:#ffffff;
    --ao-surface-soft:#eef3fa;

    --ao-text:#101828;
    --ao-text-soft:#475467;
    --ao-muted:#667085;

    --ao-line:rgba(15,35,65,.11);
    --ao-line-light:rgba(255,255,255,.12);

    --ao-shadow-sm:
        0 10px 30px rgba(15,35,65,.08);

    --ao-shadow-md:
        0 24px 70px rgba(10,25,55,.14);

    --ao-shadow-lg:
        0 40px 100px rgba(2,12,30,.24);

    --ao-radius-sm:14px;
    --ao-radius-md:22px;
    --ao-radius-lg:32px;

    --ao-container:1240px;

    --ao-transition:
        220ms cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    min-width:320px;

    font-family:
        "DM Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color:var(--ao-text);
    background:var(--ao-page);

    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body,
button,
input,
textarea {
    font:inherit;
}

a {
    color:inherit;
    text-decoration:none;
}

button {
    border:0;
}

img,
svg {
    max-width:100%;
}

.ao-site-shell {
    min-height:100vh;
    overflow:hidden;
}

.ao-main {
    min-height:70vh;
}

.ao-container {
    width:min(
        calc(100% - 48px),
        var(--ao-container)
    );

    margin-inline:auto;
}


/* =========================================================
   BRAND
   ========================================================= */

.ao-brand {
    display:inline-flex;
    align-items:center;
    gap:9px;

    flex:none;

    color:var(--ao-white);
}

.ao-brand-mark {
    position:relative;

    display:grid;
    place-items:center;

    width:35px;
    height:35px;

    border-radius:11px;

    background:
        linear-gradient(
            135deg,
            var(--ao-cyan),
            var(--ao-blue) 48%,
            var(--ao-violet)
        );

    box-shadow:
        0 8px 24px rgba(79,124,255,.34);

    overflow:hidden;
}

.ao-brand-mark span {
    position:absolute;

    width:16px;
    height:4px;

    border-radius:999px;

    background:#fff;

    transform-origin:center;
}

.ao-brand-mark span:nth-child(1) {
    transform:
        translateY(-6px)
        rotate(-24deg);
}

.ao-brand-mark span:nth-child(2) {
    width:20px;
}

.ao-brand-mark span:nth-child(3) {
    transform:
        translateY(6px)
        rotate(24deg);
}

.ao-brand-word {
    font-family:
        "Manrope",
        sans-serif;

    font-size:21px;
    font-weight:800;
    letter-spacing:-.7px;
}

.ao-brand-ai {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:27px;
    height:22px;

    padding:0 7px;

    border:1px solid rgba(255,255,255,.2);
    border-radius:7px;

    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;

    color:#dbe6ff;
    background:rgba(255,255,255,.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.ao-header {
    position:absolute;
    z-index:100;

    top:0;
    left:0;
    right:0;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(7,17,31,.58);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}

.ao-header-inner {
    min-height:78px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:32px;
}

.ao-nav {
    display:flex;
    align-items:center;
    justify-content:center;

    gap:34px;

    margin-left:auto;
}

.ao-nav a {
    position:relative;

    padding:28px 0 25px;

    font-size:14px;
    font-weight:600;

    color:rgba(236,243,255,.76);

    transition:
        color var(--ao-transition);
}

.ao-nav a::after {
    content:"";

    position:absolute;

    left:50%;
    bottom:19px;

    width:0;
    height:2px;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            var(--ao-cyan),
            var(--ao-violet)
        );

    transform:translateX(-50%);

    transition:
        width var(--ao-transition);
}

.ao-nav a:hover {
    color:#fff;
}

.ao-nav a:hover::after {
    width:100%;
}

.ao-header-actions {
    display:flex;
    align-items:center;
    gap:18px;
}

.ao-login-link {
    font-size:14px;
    font-weight:600;

    color:rgba(236,243,255,.78);

    transition:
        color var(--ao-transition);
}

.ao-login-link:hover {
    color:#fff;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.ao-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    border-radius:13px;

    font-weight:700;

    transition:
        transform var(--ao-transition),
        box-shadow var(--ao-transition),
        border-color var(--ao-transition),
        background var(--ao-transition);
}

.ao-button:hover {
    transform:translateY(-2px);
}

.ao-button-primary {
    color:#fff;

    background:
        linear-gradient(
            135deg,
            #527cff,
            #715fff 54%,
            #9c62ff
        );

    box-shadow:
        0 14px 34px rgba(91,91,255,.32);
}

.ao-button-primary:hover {
    box-shadow:
        0 20px 44px rgba(91,91,255,.42);
}

.ao-button-small {
    min-height:42px;
    padding:0 18px;

    font-size:13px;
}

.ao-button-large {
    min-height:54px;
    padding:0 24px;

    font-size:15px;
}

.ao-button-ghost {
    color:#eef4ff;

    border:
        1px solid rgba(255,255,255,.17);

    background:
        rgba(255,255,255,.06);

    backdrop-filter:blur(10px);
}

.ao-button-ghost:hover {
    border-color:
        rgba(255,255,255,.3);

    background:
        rgba(255,255,255,.1);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.ao-menu-button {
    display:none;

    width:42px;
    height:42px;

    padding:10px;

    border-radius:12px;

    background:
        rgba(255,255,255,.08);

    cursor:pointer;
}

.ao-menu-button span {
    display:block;

    width:100%;
    height:2px;

    margin:4px 0;

    border-radius:999px;

    background:#fff;

    transition:
        transform var(--ao-transition),
        opacity var(--ao-transition);
}


/* =========================================================
   HERO
   ========================================================= */

.ao-hero {
    position:relative;

    min-height:850px;

    padding:
        160px 0
        105px;

    color:#fff;

    background:
        radial-gradient(
            circle at 77% 28%,
            rgba(83,97,255,.19),
            transparent 31%
        ),
        radial-gradient(
            circle at 18% 62%,
            rgba(45,209,255,.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #06101d 0%,
            #09182b 47%,
            #10152f 100%
        );

    overflow:hidden;
}

.ao-hero::before {
    content:"";

    position:absolute;
    inset:0;

    opacity:.22;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        64px 64px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 82%
        );

    pointer-events:none;
}

.ao-hero::after {
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:180px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(246,248,252,.03)
        );

    pointer-events:none;
}

.ao-hero-glow {
    position:absolute;

    border-radius:50%;

    filter:blur(2px);

    pointer-events:none;
}

.ao-hero-glow-one {
    width:480px;
    height:480px;

    right:-180px;
    top:40px;

    background:
        radial-gradient(
            circle,
            rgba(131,89,255,.2),
            transparent 68%
        );
}

.ao-hero-glow-two {
    width:420px;
    height:420px;

    left:-220px;
    bottom:10px;

    background:
        radial-gradient(
            circle,
            rgba(51,211,255,.13),
            transparent 68%
        );
}

.ao-hero-grid {
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        minmax(0,.88fr)
        minmax(540px,1.12fr);

    align-items:center;

    gap:72px;
}


/* =========================================================
   HERO COPY
   ========================================================= */

.ao-hero-copy {
    max-width:600px;
}

.ao-eyebrow {
    display:inline-flex;
    align-items:center;

    gap:10px;

    margin-bottom:24px;

    padding:
        8px 13px;

    border:
        1px solid rgba(122,154,255,.22);

    border-radius:999px;

    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;

    color:#cbd9ff;

    background:
        rgba(89,116,255,.08);

    box-shadow:
        inset 0 1px
        rgba(255,255,255,.06);
}

.ao-eyebrow-pulse {
    position:relative;

    width:8px;
    height:8px;

    border-radius:50%;

    background:#5ee5ff;

    box-shadow:
        0 0 0 5px
        rgba(94,229,255,.1);
}

.ao-eyebrow-pulse::after {
    content:"";

    position:absolute;
    inset:-5px;

    border:
        1px solid rgba(94,229,255,.45);

    border-radius:50%;

    animation:
        aoPulse 2.2s infinite;
}

.ao-hero h1 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            54px,
            5.25vw,
            82px
        );

    line-height:.99;

    letter-spacing:
        -.065em;

    font-weight:800;

    color:#fff;
}

.ao-hero h1 span {
    display:block;

    margin-top:9px;

    color:transparent;

    background:
        linear-gradient(
            100deg,
            #67dfff,
            #7291ff 42%,
            #a36dff 78%,
            #d37bff
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-hero-lead {
    max-width:570px;

    margin:
        29px 0
        0;

    font-size:18px;
    line-height:1.72;

    color:
        rgba(225,234,249,.73);
}

.ao-hero-actions {
    display:flex;
    flex-wrap:wrap;

    gap:13px;

    margin-top:34px;
}

.ao-hero-proof {
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:0;

    margin-top:48px;

    padding-top:25px;

    border-top:
        1px solid rgba(255,255,255,.1);
}

.ao-hero-proof > div {
    min-width:0;

    padding-right:18px;
}

.ao-hero-proof > div + div {
    padding-left:18px;

    border-left:
        1px solid rgba(255,255,255,.1);
}

.ao-hero-proof strong,
.ao-hero-proof span {
    display:block;
}

.ao-hero-proof strong {
    margin-bottom:5px;

    font-size:13px;
    font-weight:700;

    color:#f4f7ff;
}

.ao-hero-proof span {
    font-size:11px;
    line-height:1.45;

    color:
        rgba(210,222,241,.55);
}


/* =========================================================
   BASIC ANIMATION
   ========================================================= */

@keyframes aoPulse {
    0% {
        opacity:1;
        transform:scale(.75);
    }

    70% {
        opacity:0;
        transform:scale(1.65);
    }

    100% {
        opacity:0;
        transform:scale(1.65);
    }
}


/* =========================================================
   AUTOOFFICE AI WORKSPACE
   PHASE 2A-6A
   ========================================================= */

.ao-workspace-stage {
    position:relative;
    min-height:610px;
}

.ao-workspace-orbit {
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

.ao-orbit-one {
    width:520px;
    height:520px;
    top:20px;
    right:-40px;

    border:
        1px solid rgba(121,145,255,.12);
}

.ao-orbit-two {
    width:390px;
    height:390px;
    top:85px;
    right:25px;

    border:
        1px solid rgba(78,216,255,.09);
}


/* AI WINDOW */

.ao-ai-window {
    position:relative;
    z-index:5;

    width:min(100%,650px);
    margin:20px 0 0 auto;

    border:
        1px solid rgba(255,255,255,.13);

    border-radius:24px;

    background:
        linear-gradient(
            145deg,
            rgba(18,34,58,.96),
            rgba(11,24,44,.96)
        );

    box-shadow:
        0 45px 100px rgba(0,5,20,.42),
        inset 0 1px rgba(255,255,255,.07);

    overflow:hidden;

    backdrop-filter:blur(24px);
}

.ao-ai-window-top {
    height:58px;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;

    padding:0 18px;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.025);
}

.ao-window-dots {
    display:flex;
    gap:6px;
}

.ao-window-dots span {
    width:7px;
    height:7px;

    border-radius:50%;

    background:
        rgba(255,255,255,.2);
}

.ao-window-dots span:nth-child(1) {
    background:#ff6b81;
}

.ao-window-dots span:nth-child(2) {
    background:#ffc75a;
}

.ao-window-dots span:nth-child(3) {
    background:#55d98b;
}

.ao-ai-window-title {
    display:flex;
    align-items:center;
    gap:7px;

    font-size:12px;
    font-weight:700;

    color:#e9efff;
}

.ao-ai-spark {
    color:#76dfff;
}

.ao-live-chip {
    justify-self:end;

    padding:5px 8px;

    border:
        1px solid rgba(87,227,167,.18);

    border-radius:999px;

    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;

    color:#72e8b0;

    background:
        rgba(87,227,167,.07);
}


/* CHAT */

.ao-ai-window-body {
    padding:23px;
}

.ao-chat-row {
    display:flex;
    margin-bottom:19px;
}

.ao-chat-user {
    justify-content:flex-end;
}

.ao-chat-message {
    max-width:77%;

    padding:13px 16px;

    border:
        1px solid rgba(124,145,255,.18);

    border-radius:
        16px 16px 5px 16px;

    font-size:12px;
    line-height:1.55;

    color:#eaf0ff;

    background:
        linear-gradient(
            135deg,
            rgba(76,104,218,.25),
            rgba(110,78,208,.18)
        );
}

.ao-chat-ai {
    align-items:flex-start;
    gap:11px;
}

.ao-ai-avatar {
    flex:none;

    display:grid;
    place-items:center;

    width:29px;
    height:29px;

    border-radius:9px;

    font-family:"Manrope",sans-serif;
    font-size:11px;
    font-weight:800;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--ao-cyan),
            var(--ao-blue),
            var(--ao-violet)
        );

    box-shadow:
        0 8px 20px rgba(77,115,255,.25);
}

.ao-ai-response {
    flex:1;
    min-width:0;
}

.ao-ai-response-head {
    margin:2px 0 7px;

    font-size:11px;
    font-weight:700;

    color:#dbe5ff;
}

.ao-ai-response p {
    margin:0 0 13px;

    font-size:11px;
    line-height:1.55;

    color:
        rgba(218,228,246,.65);
}


/* JOB STATUS */

.ao-job-list {
    display:grid;
    gap:7px;
}

.ao-job {
    display:flex;
    align-items:center;
    gap:9px;

    min-height:34px;

    padding:7px 10px;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius:9px;

    font-size:10px;

    color:
        rgba(226,234,248,.72);

    background:
        rgba(255,255,255,.025);
}

.ao-job-icon {
    display:grid;
    place-items:center;

    width:17px;
    height:17px;

    border-radius:50%;

    font-size:9px;

    color:#61e0a0;

    background:
        rgba(74,213,144,.1);
}

.ao-job-spinner {
    width:15px;
    height:15px;

    border:
        2px solid rgba(107,143,255,.2);

    border-top-color:#7da0ff;

    border-radius:50%;

    animation:
        aoSpin .9s linear infinite;
}


/* GENERATED FILES */

.ao-result-grid {
    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:8px;

    margin:19px 0;
}

.ao-result-card {
    min-width:0;
    min-height:92px;

    padding:11px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius:11px;

    background:
        rgba(255,255,255,.035);

    transition:
        transform var(--ao-transition),
        border-color var(--ao-transition),
        background var(--ao-transition);
}

.ao-result-card:hover {
    transform:translateY(-3px);

    border-color:
        rgba(255,255,255,.16);

    background:
        rgba(255,255,255,.06);
}

.ao-result-type {
    display:inline-flex;

    margin-bottom:14px;

    padding:4px 6px;

    border-radius:5px;

    font-size:7px;
    font-weight:800;
    letter-spacing:.08em;
}

.ao-result-card strong,
.ao-result-card small {
    display:block;
}

.ao-result-card strong {
    overflow:hidden;

    font-size:9px;
    font-weight:700;

    color:#eef3ff;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.ao-result-card small {
    margin-top:3px;

    font-size:8px;

    color:
        rgba(206,218,239,.45);
}

.ao-result-xlsx .ao-result-type {
    color:#65e5a0;
    background:rgba(60,204,130,.1);
}

.ao-result-docx .ao-result-type {
    color:#75a4ff;
    background:rgba(76,126,255,.11);
}

.ao-result-pptx .ao-result-type {
    color:#ff9a6d;
    background:rgba(255,128,81,.11);
}

.ao-result-pdf .ao-result-type {
    color:#ff7d96;
    background:rgba(255,90,120,.1);
}


/* COMMAND */

.ao-command-box {
    min-height:55px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:14px;

    padding:8px 9px 8px 15px;

    border:
        1px solid rgba(124,150,255,.15);

    border-radius:14px;

    background:
        rgba(255,255,255,.04);

    box-shadow:
        inset 0 1px rgba(255,255,255,.035);
}

.ao-command-placeholder {
    overflow:hidden;

    font-size:10px;

    color:
        rgba(211,222,241,.42);

    white-space:nowrap;
    text-overflow:ellipsis;
}

.ao-command-actions {
    display:flex;
    align-items:center;
    gap:5px;
}

.ao-command-actions button {
    display:grid;
    place-items:center;

    width:31px;
    height:31px;

    border-radius:9px;

    color:#cbd7ee;

    background:
        rgba(255,255,255,.055);

    cursor:pointer;
}

.ao-command-actions
.ao-command-send {
    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--ao-blue),
            var(--ao-violet)
        );
}


/* FLOATING CARDS */

.ao-floating-card {
    position:absolute;
    z-index:8;

    display:flex;
    align-items:center;

    gap:10px;

    padding:11px 13px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius:13px;

    background:
        rgba(13,28,49,.86);

    box-shadow:
        0 20px 45px rgba(0,5,20,.3);

    backdrop-filter:blur(18px);
}

.ao-floating-card strong,
.ao-floating-card span {
    display:block;
}

.ao-floating-card strong {
    font-size:9px;
    color:#f0f4ff;
}

.ao-floating-card
div > span {
    margin-top:2px;

    font-size:7px;

    color:
        rgba(207,219,239,.52);
}

.ao-floating-image {
    top:75px;
    right:-40px;

    animation:
        aoFloat 5s ease-in-out infinite;
}

.ao-floating-icon {
    display:grid;
    place-items:center;

    width:31px;
    height:31px;

    border-radius:9px;

    color:#d9c8ff;

    background:
        linear-gradient(
            135deg,
            rgba(136,96,255,.28),
            rgba(201,100,255,.17)
        );
}

.ao-floating-voice {
    left:-25px;
    bottom:70px;

    animation:
        aoFloat 5.8s ease-in-out
        .7s infinite;
}

.ao-wave {
    display:flex !important;
    align-items:center;

    gap:2px;

    height:28px;
}

.ao-wave i {
    display:block;

    width:2px;

    border-radius:999px;

    background:
        linear-gradient(
            to top,
            var(--ao-blue),
            var(--ao-cyan)
        );

    animation:
        aoWave 1s ease-in-out infinite;
}

.ao-wave i:nth-child(1) {
    height:8px;
}

.ao-wave i:nth-child(2) {
    height:17px;
    animation-delay:.1s;
}

.ao-wave i:nth-child(3) {
    height:24px;
    animation-delay:.2s;
}

.ao-wave i:nth-child(4) {
    height:15px;
    animation-delay:.3s;
}

.ao-wave i:nth-child(5) {
    height:9px;
    animation-delay:.4s;
}


/* WORKSPACE ANIMATIONS */

@keyframes aoSpin {
    to {
        transform:rotate(360deg);
    }
}

@keyframes aoFloat {
    0%,
    100% {
        transform:translateY(0);
    }

    50% {
        transform:translateY(-8px);
    }
}

@keyframes aoWave {
    0%,
    100% {
        transform:scaleY(.55);
        opacity:.65;
    }

    50% {
        transform:scaleY(1);
        opacity:1;
    }
}


/* =========================================================
   CAPABILITIES
   PHASE 2A-6B
   ========================================================= */

.ao-capabilities {
    position:relative;

    padding:
        118px 0
        128px;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(79,124,255,.07),
            transparent 26%
        ),
        radial-gradient(
            circle at 92% 72%,
            rgba(141,99,255,.06),
            transparent 25%
        ),
        var(--ao-page);
}


/* SECTION HEADING */

.ao-section-heading {
    max-width:760px;

    margin:
        0 auto
        58px;

    text-align:center;
}

.ao-section-kicker {
    margin-bottom:14px;

    font-size:12px;
    font-weight:800;

    letter-spacing:.12em;
    text-transform:uppercase;

    color:var(--ao-blue);
}

.ao-section-heading h2 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            36px,
            4vw,
            56px
        );

    line-height:1.08;

    letter-spacing:-.045em;

    color:var(--ao-ink);
}

.ao-section-heading h2 span {
    color:transparent;

    background:
        linear-gradient(
            100deg,
            var(--ao-blue),
            var(--ao-violet)
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-section-heading p {
    max-width:650px;

    margin:
        20px auto
        0;

    font-size:16px;
    line-height:1.72;

    color:var(--ao-text-soft);
}


/* CARD GRID */

.ao-capability-grid {
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:18px;
}

.ao-capability-card {
    --card-accent:79,124,255;
    --card-accent-solid:#4f7cff;

    position:relative;

    min-height:310px;

    display:flex;
    flex-direction:column;

    padding:28px;

    border:
        1px solid rgba(
            var(--card-accent),
            .14
        );

    border-radius:
        var(--ao-radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(
                var(--card-accent),
                .065
            ),
            rgba(255,255,255,.96) 42%
        );

    box-shadow:
        0 14px 38px
        rgba(15,35,65,.055);

    overflow:hidden;

    isolation:isolate;

    transition:
        transform 260ms cubic-bezier(.2,.7,.2,1),
        box-shadow 260ms cubic-bezier(.2,.7,.2,1),
        border-color 260ms cubic-bezier(.2,.7,.2,1),
        background 260ms cubic-bezier(.2,.7,.2,1);
}

.ao-capability-card::before {
    content:"";

    position:absolute;

    width:170px;
    height:170px;

    right:-75px;
    top:-75px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(
                var(--card-accent),
                .16
            ),
            transparent 68%
        );

    z-index:-1;

    transition:
        transform 320ms ease,
        opacity 320ms ease;
}

.ao-capability-card::after {
    content:"";

    position:absolute;

    left:28px;
    right:28px;
    bottom:0;

    height:3px;

    border-radius:
        999px 999px 0 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                var(--card-accent),
                .72
            ),
            transparent
        );

    opacity:0;

    transform:scaleX(.35);

    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.ao-capability-card:hover {
    transform:
        translateY(-9px)
        scale(1.012);

    border-color:
        rgba(
            var(--card-accent),
            .34
        );

    background:
        linear-gradient(
            145deg,
            rgba(
                var(--card-accent),
                .13
            ),
            #fff 48%
        );

    box-shadow:
        0 28px 65px
        rgba(15,35,65,.12);
}

.ao-capability-card:hover::before {
    transform:scale(1.3);
}

.ao-capability-card:hover::after {
    opacity:1;
    transform:scaleX(1);
}


/* CARD TOP */

.ao-capability-top {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;

    margin-bottom:28px;
}

.ao-capability-icon {
    display:grid;
    place-items:center;

    width:49px;
    height:49px;

    border-radius:14px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:18px;
    font-weight:800;

    color:
        var(--card-accent-solid);

    background:
        rgba(
            var(--card-accent),
            .1
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(
            var(--card-accent),
            .1
        );

    transition:
        transform 260ms ease,
        color 260ms ease,
        background 260ms ease,
        box-shadow 260ms ease;
}

.ao-capability-card:hover
.ao-capability-icon {
    transform:
        translateY(-2px)
        rotate(-4deg)
        scale(1.08);

    color:#fff;

    background:
        var(--card-accent-solid);

    box-shadow:
        0 12px 28px
        rgba(
            var(--card-accent),
            .25
        );
}

.ao-card-label {
    display:inline-flex;

    padding:
        6px 9px;

    border-radius:999px;

    font-size:9px;
    font-weight:800;

    letter-spacing:.1em;
    text-transform:uppercase;

    color:
        var(--card-accent-solid);

    background:
        rgba(
            var(--card-accent),
            .075
        );
}


/* CARD CONTENT */

.ao-capability-card h3 {
    margin:
        0 0
        13px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:23px;
    line-height:1.22;

    letter-spacing:-.03em;

    color:var(--ao-ink);
}

.ao-capability-card p {
    margin:0;

    font-size:14px;
    line-height:1.68;

    color:var(--ao-text-soft);
}

.ao-card-meta {
    margin-top:auto;
    padding-top:27px;

    font-size:9px;
    font-weight:800;

    letter-spacing:.12em;

    color:
        rgba(
            var(--card-accent),
            .82
        );
}


/* =========================================================
   UNIQUE CARD COLOURS
   ========================================================= */

.ao-card-blue {
    --card-accent:63,112,255;
    --card-accent-solid:#3f70ff;
}

.ao-card-green {
    --card-accent:32,173,111;
    --card-accent-solid:#20ad6f;
}

.ao-card-orange {
    --card-accent:240,128,54;
    --card-accent-solid:#f08036;
}

.ao-card-violet {
    --card-accent:139,91,246;
    --card-accent-solid:#8b5bf6;
}

.ao-card-cyan {
    --card-accent:21,165,196;
    --card-accent-solid:#15a5c4;
}

.ao-card-rose {
    --card-accent:222,80,126;
    --card-accent-solid:#de507e;
}


/* =========================================================
   CARD ENTRY
   ========================================================= */

.ao-capability-card {
    animation:
        aoCardIn .65s both;
}

.ao-capability-card:nth-child(2) {
    animation-delay:.06s;
}

.ao-capability-card:nth-child(3) {
    animation-delay:.12s;
}

.ao-capability-card:nth-child(4) {
    animation-delay:.18s;
}

.ao-capability-card:nth-child(5) {
    animation-delay:.24s;
}

.ao-capability-card:nth-child(6) {
    animation-delay:.30s;
}

@keyframes aoCardIn {
    from {
        opacity:0;
        transform:translateY(18px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }
}


/* =========================================================
   CAPABILITIES
   PHASE 2A-6B
   ========================================================= */

.ao-capabilities {
    position:relative;

    padding:
        118px 0
        128px;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(79,124,255,.07),
            transparent 26%
        ),
        radial-gradient(
            circle at 92% 72%,
            rgba(141,99,255,.06),
            transparent 25%
        ),
        var(--ao-page);
}


/* SECTION HEADING */

.ao-section-heading {
    max-width:760px;

    margin:
        0 auto
        58px;

    text-align:center;
}

.ao-section-kicker {
    margin-bottom:14px;

    font-size:12px;
    font-weight:800;

    letter-spacing:.12em;
    text-transform:uppercase;

    color:var(--ao-blue);
}

.ao-section-heading h2 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            36px,
            4vw,
            56px
        );

    line-height:1.08;

    letter-spacing:-.045em;

    color:var(--ao-ink);
}

.ao-section-heading h2 span {
    color:transparent;

    background:
        linear-gradient(
            100deg,
            var(--ao-blue),
            var(--ao-violet)
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-section-heading p {
    max-width:650px;

    margin:
        20px auto
        0;

    font-size:16px;
    line-height:1.72;

    color:var(--ao-text-soft);
}


/* CARD GRID */

.ao-capability-grid {
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:18px;
}

.ao-capability-card {
    --card-accent:79,124,255;
    --card-accent-solid:#4f7cff;

    position:relative;

    min-height:310px;

    display:flex;
    flex-direction:column;

    padding:28px;

    border:
        1px solid rgba(
            var(--card-accent),
            .14
        );

    border-radius:
        var(--ao-radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(
                var(--card-accent),
                .065
            ),
            rgba(255,255,255,.96) 42%
        );

    box-shadow:
        0 14px 38px
        rgba(15,35,65,.055);

    overflow:hidden;

    isolation:isolate;

    transition:
        transform 260ms cubic-bezier(.2,.7,.2,1),
        box-shadow 260ms cubic-bezier(.2,.7,.2,1),
        border-color 260ms cubic-bezier(.2,.7,.2,1),
        background 260ms cubic-bezier(.2,.7,.2,1);
}

.ao-capability-card::before {
    content:"";

    position:absolute;

    width:170px;
    height:170px;

    right:-75px;
    top:-75px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(
                var(--card-accent),
                .16
            ),
            transparent 68%
        );

    z-index:-1;

    transition:
        transform 320ms ease,
        opacity 320ms ease;
}

.ao-capability-card::after {
    content:"";

    position:absolute;

    left:28px;
    right:28px;
    bottom:0;

    height:3px;

    border-radius:
        999px 999px 0 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                var(--card-accent),
                .72
            ),
            transparent
        );

    opacity:0;

    transform:scaleX(.35);

    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.ao-capability-card:hover {
    transform:
        translateY(-9px)
        scale(1.012);

    border-color:
        rgba(
            var(--card-accent),
            .34
        );

    background:
        linear-gradient(
            145deg,
            rgba(
                var(--card-accent),
                .13
            ),
            #fff 48%
        );

    box-shadow:
        0 28px 65px
        rgba(15,35,65,.12);
}

.ao-capability-card:hover::before {
    transform:scale(1.3);
}

.ao-capability-card:hover::after {
    opacity:1;
    transform:scaleX(1);
}


/* CARD TOP */

.ao-capability-top {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;

    margin-bottom:28px;
}

.ao-capability-icon {
    display:grid;
    place-items:center;

    width:49px;
    height:49px;

    border-radius:14px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:18px;
    font-weight:800;

    color:
        var(--card-accent-solid);

    background:
        rgba(
            var(--card-accent),
            .1
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(
            var(--card-accent),
            .1
        );

    transition:
        transform 260ms ease,
        color 260ms ease,
        background 260ms ease,
        box-shadow 260ms ease;
}

.ao-capability-card:hover
.ao-capability-icon {
    transform:
        translateY(-2px)
        rotate(-4deg)
        scale(1.08);

    color:#fff;

    background:
        var(--card-accent-solid);

    box-shadow:
        0 12px 28px
        rgba(
            var(--card-accent),
            .25
        );
}

.ao-card-label {
    display:inline-flex;

    padding:
        6px 9px;

    border-radius:999px;

    font-size:9px;
    font-weight:800;

    letter-spacing:.1em;
    text-transform:uppercase;

    color:
        var(--card-accent-solid);

    background:
        rgba(
            var(--card-accent),
            .075
        );
}


/* CARD CONTENT */

.ao-capability-card h3 {
    margin:
        0 0
        13px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:23px;
    line-height:1.22;

    letter-spacing:-.03em;

    color:var(--ao-ink);
}

.ao-capability-card p {
    margin:0;

    font-size:14px;
    line-height:1.68;

    color:var(--ao-text-soft);
}

.ao-card-meta {
    margin-top:auto;
    padding-top:27px;

    font-size:9px;
    font-weight:800;

    letter-spacing:.12em;

    color:
        rgba(
            var(--card-accent),
            .82
        );
}


/* =========================================================
   UNIQUE CARD COLOURS
   ========================================================= */

.ao-card-blue {
    --card-accent:63,112,255;
    --card-accent-solid:#3f70ff;
}

.ao-card-green {
    --card-accent:32,173,111;
    --card-accent-solid:#20ad6f;
}

.ao-card-orange {
    --card-accent:240,128,54;
    --card-accent-solid:#f08036;
}

.ao-card-violet {
    --card-accent:139,91,246;
    --card-accent-solid:#8b5bf6;
}

.ao-card-cyan {
    --card-accent:21,165,196;
    --card-accent-solid:#15a5c4;
}

.ao-card-rose {
    --card-accent:222,80,126;
    --card-accent-solid:#de507e;
}


/* =========================================================
   CARD ENTRY
   ========================================================= */

.ao-capability-card {
    animation:
        aoCardIn .65s both;
}

.ao-capability-card:nth-child(2) {
    animation-delay:.06s;
}

.ao-capability-card:nth-child(3) {
    animation-delay:.12s;
}

.ao-capability-card:nth-child(4) {
    animation-delay:.18s;
}

.ao-capability-card:nth-child(5) {
    animation-delay:.24s;
}

.ao-capability-card:nth-child(6) {
    animation-delay:.30s;
}

@keyframes aoCardIn {
    from {
        opacity:0;
        transform:translateY(18px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================================================
   INTELLIGENT AUTOMATION
   PHASE 2A-7A-1
   ========================================================= */

.ao-automation {
    position:relative;
    padding:130px 0 135px;
    color:#fff;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(111,87,255,.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(48,207,255,.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #07111f,
            #0b1a30 55%,
            #10152f
        );

    overflow:hidden;
}

.ao-automation::before {
    content:"";
    position:absolute;
    inset:0;
    opacity:.18;

    background-image:
        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size:72px 72px;
    pointer-events:none;
}

.ao-automation-grid {
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        minmax(0,.88fr)
        minmax(520px,1.12fr);

    align-items:center;
    gap:85px;
}

.ao-automation-copy {
    max-width:540px;
}

.ao-automation .ao-section-kicker {
    color:#78dfff;
}

.ao-automation h2 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(40px,4.5vw,62px);

    line-height:1.05;
    letter-spacing:-.05em;
}

.ao-automation h2 span {
    display:block;
    margin-top:7px;

    color:transparent;

    background:
        linear-gradient(
            100deg,
            #67ddff,
            #7d8dff,
            #b374ff
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-automation-copy > p {
    margin:25px 0 0;

    font-size:16px;
    line-height:1.75;

    color:rgba(218,228,246,.68);
}


/* FEATURE LIST */

.ao-feature-list {
    display:grid;
    gap:13px;
    margin-top:35px;
}

.ao-feature-item {
    display:flex;
    align-items:flex-start;
    gap:13px;

    padding:14px 15px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius:13px;

    background:
        rgba(255,255,255,.03);

    transition:
        transform var(--ao-transition),
        background var(--ao-transition),
        border-color var(--ao-transition);
}

.ao-feature-item:hover {
    transform:translateX(5px);

    border-color:
        rgba(107,145,255,.2);

    background:
        rgba(255,255,255,.05);
}

.ao-feature-check {
    flex:none;

    display:grid;
    place-items:center;

    width:25px;
    height:25px;
    margin-top:1px;

    border-radius:8px;

    font-size:11px;

    color:#64e3aa;

    background:
        rgba(75,216,151,.1);
}

.ao-feature-item strong,
.ao-feature-item span {
    display:block;
}

.ao-feature-item strong {
    margin-bottom:4px;

    font-size:12px;
    color:#f2f5ff;
}

.ao-feature-item div > span {
    font-size:10px;
    line-height:1.55;

    color:
        rgba(211,222,240,.53);
}


/* =========================================================
   GATEWAY PANEL
   ========================================================= */

.ao-router-panel {
    position:relative;
    padding:23px;

    border:
        1px solid rgba(255,255,255,.11);

    border-radius:24px;

    background:
        linear-gradient(
            145deg,
            rgba(18,35,60,.93),
            rgba(10,24,43,.96)
        );

    box-shadow:
        0 40px 90px rgba(0,5,20,.35),
        inset 0 1px rgba(255,255,255,.05);

    overflow:hidden;
}

.ao-router-panel::before {
    content:"";

    position:absolute;

    width:300px;
    height:300px;

    right:-130px;
    top:-150px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(112,90,255,.2),
            transparent 70%
        );

    pointer-events:none;
}

.ao-router-top {
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;
    margin-bottom:19px;
}

.ao-router-badge {
    font-size:11px;
    font-weight:700;
    color:#edf2ff;
}

.ao-router-status {
    position:relative;

    padding-left:13px;

    font-size:9px;
    font-weight:700;

    color:#6de2aa;
}

.ao-router-status::before {
    content:"";

    position:absolute;

    width:6px;
    height:6px;

    left:0;
    top:50%;

    border-radius:50%;

    background:#61dda4;

    transform:translateY(-50%);

    box-shadow:
        0 0 0 5px
        rgba(97,221,164,.08);
}


/* REQUEST */

.ao-router-request {
    position:relative;
    padding:16px;

    border:
        1px solid rgba(115,143,255,.11);

    border-radius:13px;

    background:
        rgba(255,255,255,.025);
}

.ao-router-request small,
.ao-router-request strong {
    display:block;
}

.ao-router-request small {
    margin-bottom:7px;

    font-size:7px;
    font-weight:800;

    letter-spacing:.13em;

    color:
        rgba(174,195,230,.43);
}

.ao-router-request strong {
    max-width:450px;

    font-size:11px;
    line-height:1.55;

    color:#e7edff;
}


/* FLOW */

.ao-router-flow {
    position:relative;
    padding:28px 0 12px;
}

.ao-router-line {
    position:absolute;

    left:50%;
    top:0;

    width:1px;
    height:100%;

    background:
        linear-gradient(
            to bottom,
            rgba(92,132,255,.5),
            rgba(89,211,255,.1)
        );

    transform:translateX(-50%);
}

.ao-router-node {
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;

    gap:10px;
    padding:11px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:11px;

    background:
        rgba(11,27,48,.96);

    box-shadow:
        0 10px 30px rgba(0,5,20,.15);
}

.ao-router-node > span {
    flex:none;

    display:grid;
    place-items:center;

    width:30px;
    height:30px;

    border-radius:9px;

    font-size:9px;
    font-weight:800;

    color:#a8c0ff;

    background:
        rgba(92,127,255,.1);
}

.ao-router-node strong,
.ao-router-node small {
    display:block;
}

.ao-router-node strong {
    font-size:10px;
    color:#eef3ff;
}

.ao-router-node small {
    margin-top:2px;

    font-size:7px;

    color:
        rgba(197,212,236,.44);
}

.ao-router-main {
    width:230px;

    margin:
        0 auto
        24px;

    border-color:
        rgba(106,142,255,.2);

    background:
        linear-gradient(
            135deg,
            rgba(71,100,191,.22),
            rgba(75,53,154,.15)
        );
}

.ao-router-main > span {
    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--ao-cyan),
            var(--ao-blue),
            var(--ao-violet)
        );
}

.ao-router-branches {
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:9px;
}


/* OUTPUT */

.ao-router-output {
    display:flex;
    align-items:center;

    gap:11px;
    margin-top:10px;

    padding:13px 14px;

    border:
        1px solid rgba(84,220,160,.12);

    border-radius:12px;

    background:
        rgba(73,207,148,.045);
}

.ao-router-output > span {
    flex:none;

    display:grid;
    place-items:center;

    width:28px;
    height:28px;

    border-radius:9px;

    color:#67e2a9;

    background:
        rgba(76,215,151,.09);
}

.ao-router-output strong,
.ao-router-output small {
    display:block;
}

.ao-router-output strong {
    font-size:10px;
    color:#eef5ff;
}

.ao-router-output small {
    margin-top:3px;

    font-size:7px;
    line-height:1.45;

    color:
        rgba(201,216,238,.46);
}

/* =========================================================
   BUSINESS
   PHASE 2A-7A-2
   ========================================================= */

.ao-business {
    padding:115px 0 110px;
    background:#fff;
}

.ao-business-panel {
    display:grid;

    grid-template-columns:
        1.05fr .95fr;

    align-items:center;
    gap:65px;

    padding:55px 60px;

    border:
        1px solid var(--ao-line);

    border-radius:
        var(--ao-radius-lg);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(111,92,255,.09),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #fbfcff,
            #f5f8fd
        );

    box-shadow:
        var(--ao-shadow-sm);
}

.ao-business-copy h2 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(34px,3.7vw,51px);

    line-height:1.08;
    letter-spacing:-.045em;

    color:var(--ao-ink);
}

.ao-business-copy h2 span {
    display:block;

    margin-top:6px;

    color:var(--ao-blue);
}

.ao-business-copy p {
    max-width:560px;

    margin:20px 0 0;

    font-size:15px;
    line-height:1.7;

    color:var(--ao-text-soft);
}


/* BUSINESS METRICS */

.ao-business-metrics {
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:10px;
}

.ao-business-metrics > div {
    min-height:155px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:20px;

    border:
        1px solid rgba(79,124,255,.1);

    border-radius:17px;

    background:
        rgba(255,255,255,.74);

    transition:
        transform var(--ao-transition),
        box-shadow var(--ao-transition),
        background var(--ao-transition);
}

.ao-business-metrics > div:hover {
    transform:translateY(-6px);

    background:#fff;

    box-shadow:
        0 18px 40px
        rgba(20,45,90,.09);
}

.ao-business-metrics strong {
    display:block;

    margin-bottom:10px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:32px;
    font-weight:800;

    letter-spacing:-.04em;

    color:var(--ao-blue);
}

.ao-business-metrics span {
    font-size:10px;
    line-height:1.55;

    color:var(--ao-text-soft);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ao-final-cta {
    padding:0 0 110px;
    background:#fff;
}

.ao-final-cta-panel {
    position:relative;

    min-height:400px;

    display:grid;
    place-items:center;

    padding:65px 30px;

    border-radius:
        var(--ao-radius-lg);

    color:#fff;
    text-align:center;

    background:
        radial-gradient(
            circle at 15% 100%,
            rgba(44,210,255,.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 0,
            rgba(161,93,255,.2),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #07111f,
            #0b1930 52%,
            #141534
        );

    box-shadow:
        var(--ao-shadow-md);

    overflow:hidden;
}

.ao-final-orb {
    position:absolute;

    border-radius:50%;

    pointer-events:none;
}

.ao-final-orb-one {
    width:270px;
    height:270px;

    left:-110px;
    bottom:-140px;

    background:
        radial-gradient(
            circle,
            rgba(51,216,255,.18),
            transparent 68%
        );
}

.ao-final-orb-two {
    width:320px;
    height:320px;

    right:-120px;
    top:-160px;

    background:
        radial-gradient(
            circle,
            rgba(154,91,255,.22),
            transparent 68%
        );
}

.ao-final-content {
    position:relative;
    z-index:2;

    max-width:760px;
}

.ao-final-kicker {
    display:inline-block;

    margin-bottom:14px;

    font-size:10px;
    font-weight:800;

    letter-spacing:.14em;
    text-transform:uppercase;

    color:#7edfff;
}

.ao-final-content h2 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(39px,4.8vw,64px);

    line-height:1.05;
    letter-spacing:-.05em;
}

.ao-final-content h2 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #6edfff,
            #8093ff,
            #bd78ff
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-final-content p {
    max-width:610px;

    margin:
        21px auto
        29px;

    font-size:15px;
    line-height:1.72;

    color:
        rgba(220,230,247,.68);
}

/* =========================================================
   SHARED FOOTER
   PHASE 2A-7A-3
   ========================================================= */

.ao-footer {
    padding:65px 0 30px;

    color:#fff;
    background:#06101d;
}

.ao-footer-main {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;

    padding-bottom:38px;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.ao-brand-footer {
    margin-bottom:14px;
}

.ao-footer-brand p {
    max-width:340px;

    margin:0;

    font-size:12px;
    line-height:1.6;

    color:
        rgba(205,218,238,.52);
}

.ao-footer-status {
    display:flex;
    align-items:center;

    gap:9px;

    padding:9px 12px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:999px;

    font-size:10px;

    color:
        rgba(218,228,245,.6);

    background:
        rgba(255,255,255,.025);
}

.ao-status-dot {
    width:7px;
    height:7px;

    border-radius:50%;

    background:#62dfa7;

    box-shadow:
        0 0 0 5px
        rgba(98,223,167,.07);
}

.ao-footer-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;

    padding-top:25px;

    font-size:10px;

    color:
        rgba(192,207,230,.38);
}

/* =========================================================
   TABLET RESPONSIVE
   PHASE 2A-7B-2A
   ========================================================= */

@media (max-width:1100px) {

    .ao-container {
        width:min(
            calc(100% - 40px),
            var(--ao-container)
        );
    }

    .ao-nav {
        gap:22px;
    }

    .ao-hero {
        min-height:auto;

        padding:
            145px 0
            95px;
    }

    .ao-hero-grid {
        grid-template-columns:1fr;
        gap:65px;
    }

    .ao-hero-copy {
        max-width:760px;
    }

    .ao-hero h1 {
        max-width:720px;
    }

    .ao-hero-lead {
        max-width:650px;
    }

    .ao-workspace-stage {
        width:min(100%,760px);

        min-height:570px;

        margin-inline:auto;
    }

    .ao-ai-window {
        width:min(100%,680px);
        margin-inline:auto;
    }

    .ao-floating-image {
        right:0;
    }

    .ao-floating-voice {
        left:0;
    }


    /* CAPABILITIES */

    .ao-capability-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    /* AUTOMATION */

    .ao-automation-grid {
        grid-template-columns:1fr;
        gap:60px;
    }

    .ao-automation-copy {
        max-width:700px;
    }

    .ao-router-panel {
        width:min(100%,760px);

        margin-inline:auto;
    }


    /* BUSINESS */

    .ao-business-panel {
        grid-template-columns:1fr;

        gap:45px;

        padding:48px;
    }

    .ao-business-copy {
        max-width:720px;
    }

    .ao-business-metrics {
        max-width:700px;
    }

}


@media (max-width:900px) {

    .ao-nav {
        gap:16px;
    }

    .ao-nav a {
        font-size:12px;
    }

    .ao-login-link {
        display:none;
    }

    .ao-header-actions {
        gap:10px;
    }

    .ao-hero h1 {
        font-size:
            clamp(
                52px,
                8vw,
                72px
            );
    }

    .ao-result-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .ao-result-card {
        min-height:82px;
    }

    .ao-business-metrics {
        grid-template-columns:
            repeat(3,1fr);
    }

}

/* =========================================================
   MOBILE RESPONSIVE
   PHASE 2A-7B-2B
   ========================================================= */

@media (max-width:760px) {

    .ao-container {
        width:calc(100% - 30px);
    }


    /* HEADER */

    .ao-header-inner {
        min-height:68px;
        gap:12px;
    }

    .ao-brand-mark {
        width:32px;
        height:32px;
    }

    .ao-brand-word {
        font-size:18px;
    }

    .ao-brand-ai {
        min-width:24px;
        height:20px;
        padding:0 6px;
        font-size:8px;
    }

    .ao-nav {
        position:absolute;

        top:68px;
        left:15px;
        right:15px;

        display:none;
        flex-direction:column;
        align-items:stretch;

        gap:0;

        padding:10px;

        border:
            1px solid rgba(255,255,255,.1);

        border-radius:16px;

        background:
            rgba(8,20,36,.97);

        box-shadow:
            0 25px 60px
            rgba(0,5,20,.35);

        backdrop-filter:blur(22px);
    }

    .ao-nav.is-open {
        display:flex;
    }

    .ao-nav a {
        padding:13px 14px;

        border-radius:10px;

        font-size:13px;

        color:
            rgba(235,242,255,.8);
    }

    .ao-nav a::after {
        display:none;
    }

    .ao-nav a:hover {
        background:
            rgba(255,255,255,.06);
    }

    .ao-login-link {
        display:none;
    }

    .ao-header-actions
    .ao-button-small {
        display:none;
    }

    .ao-menu-button {
        display:block;
    }


    /* HERO */

    .ao-hero {
        padding:
            118px 0
            80px;
    }

    .ao-hero-grid {
        gap:52px;
    }

    .ao-eyebrow {
        margin-bottom:19px;

        padding:7px 11px;

        font-size:10px;
    }

    .ao-hero h1 {
        font-size:
            clamp(
                44px,
                13vw,
                62px
            );

        line-height:1.01;
    }

    .ao-hero-lead {
        margin-top:23px;

        font-size:16px;
        line-height:1.65;
    }

    .ao-hero-actions {
        margin-top:28px;
    }

    .ao-button-large {
        min-height:50px;
        padding:0 19px;

        font-size:13px;
    }

    .ao-hero-proof {
        grid-template-columns:1fr;

        gap:16px;

        margin-top:36px;
        padding-top:22px;
    }

    .ao-hero-proof > div,
    .ao-hero-proof > div + div {
        padding:
            0 0
            0 14px;

        border-left:
            2px solid
            rgba(105,143,255,.35);
    }


    /* AI WORKSPACE */

    .ao-workspace-stage {
        min-height:auto;
        width:100%;
    }

    .ao-workspace-orbit {
        display:none;
    }

    .ao-ai-window {
        width:100%;
        margin:0;

        border-radius:19px;
    }

    .ao-ai-window-top {
        height:52px;
        padding:0 14px;
    }

    .ao-ai-window-body {
        padding:16px;
    }

    .ao-chat-message {
        max-width:88%;

        padding:11px 13px;

        font-size:11px;
    }

    .ao-result-grid {
        grid-template-columns:
            repeat(2,1fr);

        gap:7px;
    }

    .ao-result-card {
        min-height:80px;
    }

    .ao-command-box {
        min-height:52px;
        padding-left:12px;
    }

    .ao-floating-card {
        display:none;
    }


    /* CAPABILITIES */

    .ao-capabilities {
        padding:
            82px 0
            88px;
    }

    .ao-section-heading {
        margin-bottom:38px;
        text-align:left;
    }

    .ao-section-heading h2 {
        font-size:
            clamp(
                34px,
                10vw,
                46px
            );
    }

    .ao-section-heading p {
        margin-top:16px;

        font-size:14px;
    }

    .ao-capability-grid {
        grid-template-columns:1fr;
        gap:13px;
    }

    .ao-capability-card {
        min-height:270px;
        padding:23px;
    }

    .ao-capability-top {
        margin-bottom:22px;
    }


    /* AUTOMATION */

    .ao-automation {
        padding:
            85px 0
            90px;
    }

    .ao-automation-grid {
        gap:45px;
    }

    .ao-automation h2 {
        font-size:
            clamp(
                37px,
                10.5vw,
                50px
            );
    }

    .ao-automation-copy > p {
        font-size:14px;
    }

    .ao-router-panel {
        padding:16px;

        border-radius:19px;
    }

    .ao-router-branches {
        grid-template-columns:1fr;
    }

    .ao-router-main {
        width:100%;
        max-width:250px;
    }

    .ao-router-line {
        display:none;
    }


    /* BUSINESS */

    .ao-business {
        padding:
            78px 0
            76px;
    }

    .ao-business-panel {
        gap:34px;

        padding:30px 24px;

        border-radius:23px;
    }

    .ao-business-copy h2 {
        font-size:
            clamp(
                34px,
                10vw,
                45px
            );
    }

    .ao-business-copy p {
        font-size:14px;
    }

    .ao-business-metrics {
        grid-template-columns:1fr;
    }

    .ao-business-metrics > div {
        min-height:115px;
    }


    /* FINAL CTA */

    .ao-final-cta {
        padding-bottom:75px;
    }

    .ao-final-cta-panel {
        min-height:360px;

        padding:
            55px 22px;

        border-radius:23px;
    }

    .ao-final-content h2 {
        font-size:
            clamp(
                38px,
                11vw,
                50px
            );
    }

    .ao-final-content p {
        font-size:14px;
    }


    /* FOOTER */

    .ao-footer {
        padding:
            50px 0
            25px;
    }

    .ao-footer-main {
        flex-direction:column;
        align-items:flex-start;

        gap:25px;

        padding-bottom:30px;
    }

    .ao-footer-bottom {
        flex-direction:column;

        gap:8px;
    }

}

/* =========================================================
   SMALL MOBILE
   PHASE 2A-7B-2C
   ========================================================= */

@media (max-width:520px) {

    .ao-container {
        width:calc(100% - 24px);
    }

    .ao-brand {
        gap:7px;
    }

    .ao-brand-word {
        font-size:17px;
    }

    .ao-brand-ai {
        display:none;
    }

    .ao-hero {
        padding:
            108px 0
            70px;
    }

    .ao-hero h1 {
        font-size:
            clamp(
                40px,
                13vw,
                54px
            );
    }

    .ao-hero-actions {
        display:grid;
        grid-template-columns:1fr;
    }

    .ao-hero-actions
    .ao-button {
        width:100%;
    }

    .ao-ai-window-body {
        padding:13px;
    }

    .ao-ai-window-title {
        font-size:10px;
    }

    .ao-chat-message {
        max-width:94%;
    }

    .ao-result-grid {
        grid-template-columns:1fr 1fr;
    }

    .ao-command-placeholder {
        max-width:130px;
    }

    .ao-command-actions button {
        width:29px;
        height:29px;
    }

    .ao-capability-card {
        min-height:250px;
        padding:21px;
    }

    .ao-capability-card h3 {
        font-size:21px;
    }

    .ao-router-top {
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .ao-router-request {
        padding:13px;
    }

    .ao-router-node {
        padding:10px;
    }

    .ao-business-panel {
        padding:27px 20px;
    }

    .ao-business-metrics strong {
        font-size:28px;
    }

    .ao-final-cta-panel {
        min-height:340px;
        padding:48px 18px;
    }

    .ao-final-content h2 {
        font-size:
            clamp(
                35px,
                11vw,
                46px
            );
    }

    .ao-footer-status {
        max-width:100%;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion:reduce) {

    html {
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }

}

/* =========================================================
   AUTOOFFICE REAL BRAND LOGO
   ========================================================= */

.ao-brand-logo {
    display:block;

    width:auto;
    height:42px;

    max-width:220px;

    object-fit:contain;
}

.ao-brand-logo-footer {
    height:48px;
    max-width:240px;
}

@media (max-width:760px) {

    .ao-brand-logo {
        height:36px;
        max-width:185px;
    }

    .ao-brand-logo-footer {
        height:42px;
        max-width:210px;
    }

}

@media (max-width:520px) {

    .ao-brand-logo {
        height:34px;
        max-width:170px;
    }

}

/* =========================================================
   AUTOOFFICE LOGO FINAL OVERRIDE
   Header: 42px -> 59px
   Footer: 48px -> 58px
   Dark-background visibility enhancement
   ========================================================= */



.ao-header .ao-brand-logo:hover {
    filter:
        brightness(1.38)
        contrast(1.1)
        saturate(1.08);

    transform:translateY(-1px);
}


/* FOOTER */

.ao-footer .ao-brand-logo-footer {
    width:auto;
    height:58px;
    max-width:290px;

    object-fit:contain;

    filter:
        brightness(1.32)
        contrast(1.08)
        saturate(1.04);
}


/* Slight glow improves dark-background readability
   without changing the source PNG. */

.ao-header .ao-brand,
.ao-footer .ao-brand-footer {
    filter:
        drop-shadow(
            0 3px 10px
            rgba(53,151,255,.16)
        );
}


/* TABLET */

@media (max-width:760px) {

    

    .ao-footer .ao-brand-logo-footer {
        height:52px;
        max-width:260px;
    }

}


/* SMALL MOBILE */

@media (max-width:520px) {

    

    .ao-footer .ao-brand-logo-footer {
        height:48px;
        max-width:235px;
    }

}

/* =========================================================
   AUTOOFFICE VISIBLE LOGO FIX V2
   Compensates for transparent space inside source PNG.
   ========================================================= */

/* HEADER */

.ao-header .ao-brand {
    height:72px;
    overflow:visible;
}




/* FOOTER */

.ao-footer .ao-brand-footer {
    height:70px;
    overflow:visible;
}

.ao-footer .ao-brand-logo-footer {
    width:250px;
    height:auto;
    max-width:none;

    transform:
        scale(1.20);

    transform-origin:left center;

    filter:
        brightness(1.72)
        contrast(1.12)
        saturate(1.10)
        drop-shadow(
            0 0 6px
            rgba(88,190,255,.30)
        );

    object-fit:contain;
}


/* Prevent the enlarged header logo
   from colliding with navigation. */

.ao-header .ao-brand {
    margin-right:65px;
}


/* TABLET */

@media (max-width:900px) {

    .ao-header .ao-brand {
        margin-right:20px;
    }

    

}


/* MOBILE */

@media (max-width:760px) {

    .ao-header .ao-brand {
        height:60px;
        margin-right:0;
    }

    

    .ao-footer .ao-brand-footer {
        height:62px;
    }

    .ao-footer .ao-brand-logo-footer {
        width:210px;
        height:auto;
        max-width:none;

        transform:
            scale(1.10);
    }

}


/* SMALL MOBILE */

@media (max-width:520px) {

    

    .ao-footer .ao-brand-logo-footer {
        width:190px;

        transform:
            scale(1.08);
    }

}

/* =========================================================
   AUTOOFFICE LOGO SCALE FINAL V3
   Header 1.1x / Footer 1.1x
   ========================================================= */

.ao-header .ao-brand {
    margin-right:25px;
}



.ao-footer .ao-brand-logo-footer {
    transform:scale(1.10);
    transform-origin:left center;
}


/* TABLET */

@media (max-width:900px) {

    .ao-header .ao-brand {
        margin-right:10px;
    }

    

    .ao-footer .ao-brand-logo-footer {
        transform:scale(1.10);
    }

}


/* MOBILE */

@media (max-width:760px) {

    .ao-header .ao-brand {
        margin-right:0;
    }

    

    .ao-footer .ao-brand-logo-footer {
        transform:scale(1.10);
    }

}


/* SMALL MOBILE */

@media (max-width:520px) {

    

    .ao-footer .ao-brand-logo-footer {
        transform:scale(1.10);
    }

}

/* =========================================================
   AUTOOFFICE LOGO FINAL SIZE V4
   Fixed visual size - independent of mouse hover

   Original header: 42px
   42 x 1.10 = 46.2px

   Original footer: 48px
   48 x 1.10 = 52.8px
   ========================================================= */


/* HEADER */

.ao-header .ao-brand {
    height:auto;
    margin-right:0;
    overflow:visible;
    filter:none;
}




/* Mouse hover MUST NOT change logo size or position */

.ao-header .ao-brand-logo:hover,
.ao-header .ao-brand:hover .ao-brand-logo {
    width:auto;
    height:46.2px;
    max-width:242px;

    transform:none !important;

    filter:
        brightness(1.65)
        contrast(1.12)
        saturate(1.12)
        drop-shadow(
            0 0 5px
            rgba(88,190,255,.34)
        );
}


/* FOOTER */

.ao-footer .ao-brand-footer {
    height:auto;
    overflow:visible;
    filter:none;
}

.ao-footer .ao-brand-logo-footer {
    width:auto;
    height:52.8px;
    max-width:264px;

    object-fit:contain;

    transform:none !important;

    filter:
        brightness(1.72)
        contrast(1.12)
        saturate(1.10)
        drop-shadow(
            0 0 6px
            rgba(88,190,255,.30)
        );

    transition:
        filter var(--ao-transition);
}


/* Footer hover also stays exactly the same size */

.ao-footer .ao-brand-logo-footer:hover,
.ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
    width:auto;
    height:52.8px;
    max-width:264px;

    transform:none !important;

    filter:
        brightness(1.72)
        contrast(1.12)
        saturate(1.10)
        drop-shadow(
            0 0 6px
            rgba(88,190,255,.30)
        );
}


/* TABLET + MOBILE
   Keep proportional fixed sizing.
   No scale() anywhere. */

@media (max-width:760px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        width:auto;
        height:39.6px;
        max-width:204px;

        transform:none !important;
    }

    .ao-footer .ao-brand-logo-footer,
    .ao-footer .ao-brand-logo-footer:hover,
    .ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
        width:auto;
        height:46.2px;
        max-width:231px;

        transform:none !important;
    }

}


@media (max-width:520px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        height:37.4px;
        max-width:190px;

        transform:none !important;
    }

    .ao-footer .ao-brand-logo-footer,
    .ao-footer .ao-brand-logo-footer:hover,
    .ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
        height:44px;
        max-width:220px;

        transform:none !important;
    }

}

/* =========================================================
   AUTOOFFICE HEADER LOGO V6
   Current 55.4px x 1.20 = 66.48px
   Footer is intentionally unchanged.
   ========================================================= */

.ao-header .ao-brand-logo,
.ao-header .ao-brand-logo:hover,
.ao-header .ao-brand:hover .ao-brand-logo {
    width:auto;
    height:66.48px;
    max-width:none;

    transform:none !important;
}


/* MOBILE - preserve the same proportional increase */

@media (max-width:760px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        width:auto;
        height:57px;
        max-width:none;

        transform:none !important;
    }

}


@media (max-width:520px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        width:auto;
        height:53.88px;
        max-width:none;

        transform:none !important;
    }

}

/* =========================================================
   AUTOOFFICE DARK LOGO COLOR FINAL
   PNG already contains exact final colours.
   Do not recolour it with CSS.
   Size rules remain unchanged.
   ========================================================= */

.ao-header .ao-brand-logo,
.ao-header .ao-brand-logo:hover,
.ao-header .ao-brand:hover .ao-brand-logo,
.ao-footer .ao-brand-logo-footer,
.ao-footer .ao-brand-logo-footer:hover,
.ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
    filter:none !important;
}

/* =========================================================
   AUTOOFFICE WHITE LOGO FINAL
   Header: 240 x 67px
   Footer: 200 x 55px
   ========================================================= */


/* HEADER */

.ao-header .ao-brand {
    height:auto;
    margin-right:0;
    overflow:visible;
    filter:none !important;
}

.ao-header .ao-brand-logo,
.ao-header .ao-brand-logo:hover,
.ao-header .ao-brand:hover .ao-brand-logo {
    display:block;

    width:240px;
    height:67px;

    max-width:none;

    object-fit:contain;

    transform:none !important;
    filter:none !important;

    transition:none;
}


/* FOOTER */

.ao-footer .ao-brand-footer {
    height:auto;
    overflow:visible;
    filter:none !important;
}

.ao-footer .ao-brand-logo-footer,
.ao-footer .ao-brand-logo-footer:hover,
.ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
    display:block;

    width:200px;
    height:55px;

    max-width:none;

    object-fit:contain;

    transform:none !important;
    filter:none !important;

    transition:none;
}


/* MOBILE
   Preserve aspect ratio while fitting smaller screens. */

@media (max-width:760px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        width:216px;
        height:auto;

        max-width:100%;

        transform:none !important;
    }

    .ao-footer .ao-brand-logo-footer,
    .ao-footer .ao-brand-logo-footer:hover,
    .ao-footer .ao-brand-footer:hover .ao-brand-logo-footer {
        width:200px;
        height:auto;

        max-width:100%;

        transform:none !important;
    }

}


@media (max-width:520px) {

    .ao-header .ao-brand-logo,
    .ao-header .ao-brand-logo:hover,
    .ao-header .ao-brand:hover .ao-brand-logo {
        width:190px;
        height:auto;
    }

}

/* =========================================================
   AUTOOFFICE FOOTER NAVIGATION V1
   ========================================================= */

.ao-footer-grid {
    display:grid;

    grid-template-columns:
        minmax(230px,.8fr)
        minmax(0,2.2fr);

    gap:70px;

    padding-bottom:48px;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.ao-footer-brand {
    min-width:0;
}

.ao-footer-brand p {
    max-width:270px;

    margin:
        18px 0
        0;

    font-size:12px;
    line-height:1.7;

    color:
        rgba(224,233,248,.62);
}


/* NAVIGATION */

.ao-footer-navigation {
    display:grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));

    gap:28px;
}

.ao-footer-column {
    min-width:0;
}

.ao-footer-column h3 {
    margin:
        0 0
        18px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:12px;
    font-weight:800;

    color:#ffffff;
}

.ao-footer-column span {
    display:block;

    margin-top:11px;

    font-size:11px;
    line-height:1.45;

    color:
        rgba(208,220,240,.58);

    cursor:default;

    transition:
        color var(--ao-transition),
        transform var(--ao-transition);
}

.ao-footer-column span:hover {
    color:#ffffff;

    transform:
        translateX(2px);
}


/* FOOTER BOTTOM */

.ao-footer-grid
+ .ao-footer-bottom {
    padding-top:25px;

    border-top:0;
}


/* TABLET */

@media (max-width:1000px) {

    .ao-footer-grid {
        grid-template-columns:1fr;

        gap:45px;
    }

    .ao-footer-navigation {
        grid-template-columns:
            repeat(3,minmax(0,1fr));

        row-gap:38px;
    }

}


/* MOBILE */

@media (max-width:760px) {

    .ao-footer-grid {
        gap:38px;

        padding-bottom:35px;
    }

    .ao-footer-navigation {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:
            34px
            24px;
    }

    .ao-footer-column h3 {
        margin-bottom:15px;
    }

}


/* SMALL MOBILE */

@media (max-width:420px) {

    .ao-footer-navigation {
        grid-template-columns:1fr;

        gap:30px;
    }

}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-A — SHELL / SIDEBAR / MAIN
   ========================================================= */

.ao-workspace-page {
    min-height:calc(100vh - 80px);
    padding-top:80px;
    background:#f4f7fb;
}

.ao-workspace-shell {
    width:100%;
    height:calc(100vh - 80px);
    min-height:720px;

    display:grid;
    grid-template-columns:250px minmax(0,1fr) 290px;

    background:#f4f7fb;
    overflow:hidden;
}


/* LEFT SIDEBAR */

.ao-ws-sidebar {
    min-width:0;

    display:flex;
    flex-direction:column;

    padding:18px 14px;

    border-right:1px solid #e5eaf2;

    background:#f9fbfd;
}

.ao-ws-sidebar-top {
    margin-bottom:24px;
}

.ao-ws-new-chat {
    width:100%;
    min-height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:9px;

    border:1px solid #dce4ef;
    border-radius:13px;

    background:#ffffff;

    color:#12223a;

    font-family:"Manrope",sans-serif;
    font-size:12px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 5px 16px rgba(15,35,65,.04);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.ao-ws-new-chat span {
    font-size:20px;
    font-weight:400;
    color:#4f7cff;
}

.ao-ws-new-chat:hover {
    transform:translateY(-1px);
    border-color:#bfcdf0;
    box-shadow:0 9px 22px rgba(15,35,65,.07);
}


/* HISTORY */

.ao-ws-history {
    flex:1;
    min-height:0;
    overflow-y:auto;
}

.ao-ws-section-label {
    padding:0 10px 9px;

    font-size:9px;
    font-weight:800;

    letter-spacing:.12em;
    text-transform:uppercase;

    color:#91a0b5;
}

.ao-ws-history-item {
    width:100%;

    display:flex;
    align-items:center;

    gap:10px;

    padding:11px;

    border:0;
    border-radius:12px;

    text-align:left;

    background:transparent;

    cursor:pointer;
}

.ao-ws-history-item.is-active {
    background:#edf3ff;
}

.ao-ws-history-icon {
    flex:0 0 auto;

    width:30px;
    height:30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:#ffffff;
    background:linear-gradient(135deg,#4f7cff,#8b5bf6);

    font-size:12px;
}

.ao-ws-history-item > span:last-child {
    min-width:0;
}

.ao-ws-history-item strong,
.ao-ws-history-item small {
    display:block;
}

.ao-ws-history-item strong {
    overflow:hidden;

    font-size:11px;
    font-weight:700;

    color:#26364e;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.ao-ws-history-item small {
    margin-top:3px;

    font-size:9px;

    color:#94a1b4;
}


/* SIDEBAR BOTTOM */

.ao-ws-sidebar-bottom {
    padding-top:13px;

    border-top:1px solid #e7ebf2;
}

.ao-ws-sidebar-link {
    width:100%;

    display:flex;
    align-items:center;

    gap:10px;

    padding:10px;

    border:0;
    border-radius:10px;

    background:transparent;

    color:#697a91;

    font-size:10px;

    cursor:pointer;
}

.ao-ws-sidebar-link:hover {
    color:#24354e;
    background:#f0f4f9;
}

.ao-ws-sidebar-link span {
    width:20px;

    font-size:14px;
    text-align:center;
}


/* MAIN CHAT AREA */

.ao-ws-main {
    min-width:0;
    min-height:0;

    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto;

    background:#ffffff;
}

.ao-ws-topbar {
    min-height:58px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding:0 24px;

    border-bottom:1px solid #edf0f5;

    background:rgba(255,255,255,.94);
}

.ao-ws-topbar > div:first-child {
    display:flex;
    align-items:center;
    gap:9px;
}

.ao-ws-topbar strong {
    font-family:"Manrope",sans-serif;
    font-size:12px;

    color:#17263d;
}

.ao-ws-status-dot {
    width:7px;
    height:7px;

    border-radius:50%;

    background:#25c889;

    box-shadow:0 0 0 5px rgba(37,200,137,.08);
}

.ao-ws-model {
    display:flex;
    align-items:center;

    gap:9px;

    padding:6px 9px;

    border:1px solid #e5eaf1;
    border-radius:9px;

    background:#fafbfd;
}

.ao-ws-model span {
    font-size:8px;

    color:#8a98aa;
}

.ao-ws-model strong {
    font-size:9px;

    color:#4f7cff;
}


/* SCROLLABLE CONVERSATION */

.ao-ws-conversation {
    min-width:0;
    min-height:0;

    overflow-y:auto;

    padding:36px 28px 28px;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(79,124,255,.045),
            transparent 30%
        ),
        #ffffff;
}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-B1 — WELCOME + STARTER CARDS
   ========================================================= */

.ao-ws-welcome {
    width:min(100%,780px);

    margin:0 auto;
    padding:42px 0 30px;

    text-align:center;
}

.ao-ws-ai-mark {
    width:54px;
    height:54px;

    display:grid;
    place-items:center;

    margin:0 auto 22px;

    border-radius:17px;

    font-family:"Manrope",sans-serif;
    font-size:15px;
    font-weight:800;
    letter-spacing:-.03em;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #3f70ff,
            #775cf4 55%,
            #a653e8
        );

    box-shadow:
        0 14px 32px
        rgba(79,124,255,.22);
}

.ao-ws-welcome h1 {
    max-width:650px;

    margin:0 auto;

    font-family:"Manrope",sans-serif;

    font-size:
        clamp(
            32px,
            3.5vw,
            47px
        );

    font-weight:750;
    line-height:1.08;

    letter-spacing:-.045em;

    color:#0d1a2d;
}

.ao-ws-welcome h1 span {
    display:block;

    margin-top:4px;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-ws-welcome > p {
    max-width:530px;

    margin:
        17px auto
        0;

    font-size:13px;
    line-height:1.7;

    color:#718198;
}


/* STARTER GRID */

.ao-ws-starters {
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:11px;

    margin-top:34px;

    text-align:left;
}

.ao-ws-starters button {
    position:relative;

    min-width:0;
    min-height:126px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    padding:17px;

    border:
        1px solid
        #e5eaf2;

    border-radius:15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fafcff
        );

    cursor:pointer;

    overflow:hidden;

    box-shadow:
        0 7px 20px
        rgba(17,38,70,.035);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.ao-ws-starters button::after {
    content:"";

    position:absolute;

    width:90px;
    height:90px;

    right:-40px;
    top:-42px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(79,124,255,.10),
            transparent 70%
        );

    pointer-events:none;
}

.ao-ws-starters button:hover {
    transform:translateY(-4px);

    border-color:
        rgba(79,124,255,.26);

    background:#ffffff;

    box-shadow:
        0 15px 32px
        rgba(17,38,70,.085);
}


/* FILE TYPE BADGE */

.ao-ws-starters button > span {
    min-width:34px;
    height:25px;

    display:inline-grid;
    place-items:center;

    margin-bottom:15px;

    padding:0 7px;

    border-radius:7px;

    font-size:8px;
    font-weight:800;
    letter-spacing:.04em;

    color:#416ff2;

    background:#edf3ff;
}

.ao-ws-starters button:nth-child(2) > span {
    color:#159667;
    background:#eaf9f3;
}

.ao-ws-starters button:nth-child(3) > span {
    color:#d66f28;
    background:#fff2e8;
}

.ao-ws-starters button:nth-child(4) > span {
    color:#8b55dc;
    background:#f5edff;
}

.ao-ws-starters button:nth-child(5) > span {
    color:#d54d71;
    background:#fff0f4;
}

.ao-ws-starters button:nth-child(6) > span {
    color:#168ca8;
    background:#eaf9fc;
}


/* STARTER TEXT */

.ao-ws-starters strong {
    display:block;

    margin-bottom:6px;

    font-family:"Manrope",sans-serif;
    font-size:11px;
    font-weight:750;

    color:#24344c;
}

.ao-ws-starters small {
    display:block;

    font-size:9px;
    line-height:1.5;

    color:#8a98aa;
}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-B2 — COMMAND COMPOSER
   ========================================================= */

.ao-ws-composer-wrap {
    position:relative;
    z-index:5;

    padding:
        12px 28px
        15px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.80),
            #ffffff 30%
        );
}

.ao-ws-composer {
    width:min(100%,780px);

    margin:0 auto;

    padding:
        13px 14px
        11px;

    border:
        1px solid
        #dce4ef;

    border-radius:20px;

    background:#ffffff;

    box-shadow:
        0 13px 36px
        rgba(18,39,72,.09),
        0 2px 7px
        rgba(18,39,72,.035);

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.ao-ws-composer:focus-within {
    border-color:
        rgba(79,124,255,.48);

    box-shadow:
        0 16px 42px
        rgba(18,39,72,.11),
        0 0 0 3px
        rgba(79,124,255,.06);
}


/* TEXTAREA */

.ao-ws-composer textarea {
    display:block;

    width:100%;
    min-height:48px;
    max-height:180px;

    padding:
        7px 5px
        10px;

    border:0;
    outline:0;

    resize:none;

    background:transparent;

    color:#15243a;

    font-family:
        "Inter",
        sans-serif;

    font-size:13px;
    line-height:1.55;
}

.ao-ws-composer textarea::placeholder {
    color:#96a3b4;
}


/* BOTTOM TOOLBAR */

.ao-ws-composer-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;
}

.ao-ws-tools {
    display:flex;
    align-items:center;

    gap:6px;
}

.ao-ws-tools button {
    min-width:32px;
    height:32px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 9px;

    border:
        1px solid
        #e5eaf1;

    border-radius:9px;

    background:#f9fbfd;

    color:#64758c;

    font-size:12px;

    cursor:pointer;

    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.ao-ws-tools button:hover {
    color:#345fd5;

    border-color:#ced9ef;

    background:#f1f5ff;

    transform:translateY(-1px);
}

.ao-ws-tools button:first-child {
    font-size:18px;
    font-weight:400;
}

.ao-ws-tool-mode {
    width:auto !important;

    padding:
        0 11px !important;

    font-size:9px !important;
    font-weight:700;

    letter-spacing:.02em;
}


/* SEND */

.ao-ws-send {
    flex:0 0 auto;

    width:35px;
    height:35px;

    display:grid;
    place-items:center;

    padding:0;

    border:0;
    border-radius:11px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #765cf1
        );

    font-size:17px;
    font-weight:600;

    cursor:pointer;

    box-shadow:
        0 8px 18px
        rgba(79,124,255,.23);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.ao-ws-send:hover {
    transform:translateY(-2px);

    box-shadow:
        0 11px 24px
        rgba(79,124,255,.30);
}

.ao-ws-send:active {
    transform:translateY(0);
}


/* DISCLAIMER */

.ao-ws-disclaimer {
    width:min(100%,780px);

    margin:
        7px auto
        0;

    text-align:center;

    font-size:8px;
    line-height:1.5;

    color:#a0aaba;
}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-C1 — RIGHT WORK PANEL
   ========================================================= */

.ao-ws-workpanel {
    min-width:0;
    min-height:0;

    display:flex;
    flex-direction:column;

    border-left:1px solid #e5eaf2;

    background:
        linear-gradient(
            180deg,
            #fafcff,
            #f7f9fc
        );
}


/* PANEL HEADER */

.ao-ws-workpanel-head {
    min-height:58px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    padding:0 17px;

    border-bottom:1px solid #e8edf4;

    background:
        rgba(255,255,255,.72);
}

.ao-ws-workpanel-head > div {
    min-width:0;
}

.ao-ws-workpanel-head span {
    display:block;

    margin-bottom:2px;

    font-size:7px;
    font-weight:800;

    letter-spacing:.14em;

    color:#9aa7b8;
}

.ao-ws-workpanel-head strong {
    display:block;

    font-family:"Manrope",sans-serif;
    font-size:11px;
    font-weight:750;

    color:#25354c;
}

.ao-ws-workpanel-head > button {
    width:29px;
    height:29px;

    display:grid;
    place-items:center;

    padding:0;

    border:1px solid #e3e8ef;
    border-radius:9px;

    background:#ffffff;

    color:#8492a5;

    font-size:17px;
    line-height:1;

    cursor:pointer;

    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.ao-ws-workpanel-head > button:hover {
    color:#31435d;
    background:#f4f7fb;
    border-color:#d5dce7;
}


/* EMPTY WORK STATE */

.ao-ws-empty-work {
    flex:1;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:35px 26px;

    text-align:center;
}

.ao-ws-empty-icon {
    width:52px;
    height:52px;

    display:grid;
    place-items:center;

    margin-bottom:18px;

    border:
        1px solid
        rgba(79,124,255,.14);

    border-radius:16px;

    color:#5b79e8;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf3ff
        );

    font-size:18px;

    box-shadow:
        0 12px 28px
        rgba(32,63,115,.07);
}

.ao-ws-empty-work > strong {
    font-family:"Manrope",sans-serif;
    font-size:13px;
    font-weight:750;

    color:#26364d;
}

.ao-ws-empty-work > p {
    max-width:215px;

    margin:
        10px auto
        0;

    font-size:9px;
    line-height:1.65;

    color:#8b98aa;
}


/* OUTPUT TYPES */

.ao-ws-work-types {
    display:flex;
    flex-wrap:wrap;

    gap:6px;

    padding:
        14px 16px
        18px;

    border-top:1px solid #e8edf4;
}

.ao-ws-work-types span {
    flex:1 1 auto;

    min-width:42px;

    display:grid;
    place-items:center;

    height:27px;

    padding:0 7px;

    border:
        1px solid #e2e8f0;

    border-radius:8px;

    background:#ffffff;

    font-size:7px;
    font-weight:800;

    letter-spacing:.05em;

    color:#728197;
}

.ao-ws-work-types span:nth-child(1) {
    color:#3970df;
}

.ao-ws-work-types span:nth-child(2) {
    color:#15956a;
}

.ao-ws-work-types span:nth-child(3) {
    color:#d57730;
}

.ao-ws-work-types span:nth-child(4) {
    color:#d44f70;
}

.ao-ws-work-types span:nth-child(5) {
    color:#8858d5;
}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-C2A — TABLET RESPONSIVE
   ========================================================= */

@media (max-width:1180px) {

    .ao-workspace-shell {
        grid-template-columns:
            220px
            minmax(0,1fr);
    }

    .ao-ws-workpanel {
        display:none;
    }

    .ao-ws-welcome {
        width:min(100%,720px);
    }

    .ao-ws-composer {
        width:min(100%,720px);
    }

    .ao-ws-disclaimer {
        width:min(100%,720px);
    }

}


@media (max-width:900px) {

    .ao-workspace-page {
        padding-top:68px;

        min-height:
            calc(100vh - 68px);
    }

    .ao-workspace-shell {
        height:
            calc(100vh - 68px);

        min-height:650px;

        grid-template-columns:
            190px
            minmax(0,1fr);
    }

    .ao-ws-sidebar {
        padding:
            14px 10px;
    }

    .ao-ws-new-chat {
        min-height:42px;

        font-size:10px;
    }

    .ao-ws-history-item {
        padding:9px;
    }

    .ao-ws-history-icon {
        width:27px;
        height:27px;
    }

    .ao-ws-history-item strong {
        font-size:9px;
    }

    .ao-ws-sidebar-link {
        font-size:9px;
    }

    .ao-ws-topbar {
        padding:
            0 18px;
    }

    .ao-ws-conversation {
        padding:
            28px 20px
            24px;
    }

    .ao-ws-welcome {
        padding-top:30px;
    }

    .ao-ws-welcome h1 {
        font-size:
            clamp(
                30px,
                5vw,
                42px
            );
    }

    .ao-ws-starters {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .ao-ws-composer-wrap {
        padding:
            10px 20px
            13px;
    }

}

/* =========================================================
   AUTOOFFICE AI WORKSPACE
   W2-C2B — MOBILE RESPONSIVE
   ========================================================= */

@media (max-width:760px) {

    .ao-workspace-page {
        padding-top:68px;
        min-height:calc(100dvh - 68px);
    }

    .ao-workspace-shell {
        display:block;

        width:100%;
        height:calc(100dvh - 68px);
        min-height:0;

        overflow:hidden;

        background:#ffffff;
    }

    .ao-ws-sidebar,
    .ao-ws-workpanel {
        display:none;
    }


    /* MAIN */

    .ao-ws-main {
        width:100%;
        height:100%;

        grid-template-rows:
            52px
            minmax(0,1fr)
            auto;
    }


    /* TOP BAR */

    .ao-ws-topbar {
        min-height:52px;

        padding:0 15px;
    }

    .ao-ws-topbar strong {
        font-size:11px;
    }

    .ao-ws-model {
        gap:6px;

        padding:5px 7px;
    }

    .ao-ws-model span {
        display:none;
    }


    /* CONVERSATION */

    .ao-ws-conversation {
        padding:
            22px 15px
            20px;
    }

    .ao-ws-welcome {
        width:100%;

        padding:
            20px 0
            22px;
    }

    .ao-ws-ai-mark {
        width:46px;
        height:46px;

        margin-bottom:18px;

        border-radius:14px;

        font-size:13px;
    }

    .ao-ws-welcome h1 {
        max-width:440px;

        font-size:
            clamp(
                30px,
                9vw,
                40px
            );
    }

    .ao-ws-welcome > p {
        max-width:420px;

        margin-top:14px;

        font-size:12px;
    }


    /* STARTERS */

    .ao-ws-starters {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:9px;

        margin-top:26px;
    }

    .ao-ws-starters button {
        min-height:116px;

        padding:15px;

        border-radius:13px;
    }

    .ao-ws-starters button > span {
        margin-bottom:12px;
    }


    /* COMPOSER */

    .ao-ws-composer-wrap {
        padding:
            9px 12px
            10px;

        background:#ffffff;
    }

    .ao-ws-composer {
        width:100%;

        padding:
            10px 11px
            9px;

        border-radius:17px;
    }

    .ao-ws-composer textarea {
        min-height:43px;

        font-size:12px;
    }

    .ao-ws-disclaimer {
        width:100%;

        margin-top:5px;

        font-size:7px;
    }

}


@media (max-width:480px) {

    .ao-ws-topbar {
        padding:0 12px;
    }

    .ao-ws-conversation {
        padding:
            18px 12px
            18px;
    }

    .ao-ws-welcome {
        padding-top:15px;
    }

    .ao-ws-welcome h1 {
        font-size:
            clamp(
                28px,
                9.5vw,
                36px
            );
    }

    .ao-ws-starters {
        grid-template-columns:1fr;
    }

    .ao-ws-starters button {
        min-height:96px;
    }

    .ao-ws-tools {
        gap:4px;
    }

    .ao-ws-tools button {
        min-width:30px;
        height:30px;
    }

    .ao-ws-tool-mode {
        padding:
            0 9px !important;
    }

    .ao-ws-send {
        width:33px;
        height:33px;
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE VISUAL FIX V1
   Header clarity / remove visible inner scrollbar
   ========================================================= */


/* WORKSPACE HEADER
   Keep the shared AutOffice header fully opaque and vivid. */

.ao-workspace-page ~ * {
    opacity:1;
}

body:has(.ao-workspace-page) .ao-header {
    opacity:1 !important;

    background:
        #07111f !important;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;

    filter:none !important;

    box-shadow:
        0 1px 0
        rgba(255,255,255,.06),
        0 8px 28px
        rgba(3,10,22,.16);
}

body:has(.ao-workspace-page) .ao-header::before,
body:has(.ao-workspace-page) .ao-header::after {
    opacity:0 !important;
    display:none !important;
}


/* Keep logo source colours untouched. */

body:has(.ao-workspace-page)



/* NAVIGATION */

body:has(.ao-workspace-page)
.ao-header .ao-nav a {
    opacity:1;

    color:
        rgba(255,255,255,.78);
}

body:has(.ao-workspace-page)
.ao-header .ao-nav a:hover {
    color:#ffffff;
}

body:has(.ao-workspace-page)
.ao-header .ao-login-link {
    color:
        rgba(255,255,255,.82);
}


/* REMOVE VISIBLE INNER SCROLLBAR
   Scrolling itself remains available. */

.ao-ws-conversation {
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.ao-ws-conversation::-webkit-scrollbar {
    width:0;
    height:0;
    display:none;
}


/* AO avatar has been removed.
   Rebalance welcome spacing. */

.ao-ws-welcome {
    padding-top:28px;
}


/* =========================================================
   WORKSPACE STARTER SVG ICON FIX V3
   Prevent global SVG/path fill rules from turning icons black.
   ========================================================= */

.ao-ws-starter-icon svg {
    display:block;

    width:23px;
    height:23px;

    overflow:visible;

    color:inherit;

    fill:none !important;
    stroke:currentColor !important;

    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ao-ws-starter-icon svg *,
.ao-ws-starter-icon svg path,
.ao-ws-starter-icon svg rect,
.ao-ws-starter-icon svg circle,
.ao-ws-starter-icon svg line,
.ao-ws-starter-icon svg polyline,
.ao-ws-starter-icon svg polygon {
    fill:none !important;
    stroke:currentColor !important;

    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* Preserve each card's icon colour */

.ao-ws-starters button:nth-child(1)
.ao-ws-starter-icon {
    color:#416ff2 !important;
}

.ao-ws-starters button:nth-child(2)
.ao-ws-starter-icon {
    color:#159667 !important;
}

.ao-ws-starters button:nth-child(3)
.ao-ws-starter-icon {
    color:#d66f28 !important;
}

.ao-ws-starters button:nth-child(4)
.ao-ws-starter-icon {
    color:#8b55dc !important;
}

.ao-ws-starters button:nth-child(5)
.ao-ws-starter-icon {
    color:#d54d71 !important;
}

.ao-ws-starters button:nth-child(6)
.ao-ws-starter-icon {
    color:#168ca8 !important;
}

/* =========================================================
   WORKSPACE STARTER CARD FONT SIZE V3
   Larger title + description
   ========================================================= */

.ao-ws-starters strong {
    font-size:17px !important;
    line-height:1.32;

    font-weight:750;

    margin-bottom:9px;

    color:#17263d;
}

.ao-ws-starters small {
    font-size:14px !important;
    line-height:1.55;

    color:#718198;
}


/* MOBILE */

@media (max-width:760px) {

    .ao-ws-starters strong {
        font-size:16px !important;
    }

    .ao-ws-starters small {
        font-size:13px !important;
    }

}

/* =========================================================
   WORKSPACE STARTER CARD FONT FINAL
   Title: 16px
   Description: 14px
   ========================================================= */

.ao-ws-starters strong {
    font-size:16px !important;
    line-height:1.32;
}

.ao-ws-starters small {
    font-size:14px !important;
    line-height:1.55;
}


/* MOBILE */

@media (max-width:760px) {

    .ao-ws-starters strong {
        font-size:16px !important;
    }

    .ao-ws-starters small {
        font-size:14px !important;
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE HEADER V2
   Full-width application header
   Workspace only
   ========================================================= */

@media (min-width:761px) {

    body:has(.ao-workspace-page)
    .ao-header .ao-container {
        width:100%;
        max-width:none;

        margin:0;

        padding-left:24px;
        padding-right:24px;
    }


    body:has(.ao-workspace-page)
    .ao-header-inner {
        width:100%;
        max-width:none;

        margin:0;

        display:flex;
        align-items:center;
    }


    /* LOGO — FAR LEFT */

    body:has(.ao-workspace-page)
    .ao-header .ao-brand {
        flex:0 0 auto;

        margin-left:0;
        margin-right:auto;
    }


    /* NAVIGATION — RIGHT */

    body:has(.ao-workspace-page)
    .ao-header .ao-nav {
        flex:0 0 auto;

        margin-left:auto;
    }


    /* LOGIN + CTA — FAR RIGHT */

    body:has(.ao-workspace-page)
    .ao-header .ao-header-actions {
        flex:0 0 auto;

        margin-left:28px;
        margin-right:0;
    }

}


/* LARGE DESKTOP
   Give the edges a little more breathing room. */

@media (min-width:1400px) {

    body:has(.ao-workspace-page)
    .ao-header .ao-container {
        padding-left:32px;
        padding-right:32px;
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE MESSAGE UI V1
   ========================================================= */

.ao-ws-message-row {
    width:min(100%,780px);

    display:flex;

    margin:
        0 auto
        22px;
}

.ao-ws-message-row.is-user {
    justify-content:flex-end;
}

.ao-ws-message-row.is-ai {
    justify-content:flex-start;
}


/* MESSAGE BUBBLE */

.ao-ws-message {
    max-width:78%;

    padding:
        15px 18px;

    border-radius:17px;
}

.ao-ws-message-row.is-user
.ao-ws-message {
    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #685ce8
        );

    border-bottom-right-radius:5px;

    box-shadow:
        0 8px 22px
        rgba(79,124,255,.16);
}

.ao-ws-message-row.is-ai
.ao-ws-message {
    color:#24344b;

    background:#f4f7fb;

    border:
        1px solid #e5eaf2;

    border-bottom-left-radius:5px;
}


/* LABEL */

.ao-ws-message-label {
    margin-bottom:6px;

    font-size:11px;
    font-weight:800;

    letter-spacing:.02em;

    opacity:.68;
}


/* CONTENT */

.ao-ws-message-content {
    font-size:15px;
    line-height:1.65;

    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.ao-ws-message-row.is-user
.ao-ws-message-content {
    color:#ffffff;
}


/* TEMPORARY AI RESPONSE */

.is-temporary-response
.ao-ws-message {
    border-color:
        rgba(79,124,255,.16);
}


/* MOBILE */

@media (max-width:760px) {

    .ao-ws-message {
        max-width:88%;
    }

    .ao-ws-message-content {
        font-size:14px;
    }

}

/* =========================================================
   AUTOOFFICE AUTH GOOGLE FINAL V2
   LOGIN + REGISTER
   ========================================================= */

.ao-auth-page {
    min-height:100vh;

    display:grid;
    place-items:center;

    padding:
        135px 20px
        80px;

    background:
        radial-gradient(
            circle at 18% 12%,
            rgba(79,124,255,.10),
            transparent 29%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(139,91,246,.08),
            transparent 28%
        ),
        #f5f8fc;
}


.ao-auth-card {
    width:min(100%,470px);

    padding:42px;

    border:
        1px solid
        #e0e6ef;

    border-radius:24px;

    background:#ffffff;

    box-shadow:
        0 25px 70px
        rgba(18,38,70,.10);
}


/* HEADING */

.ao-auth-heading {
    margin-bottom:28px;

    text-align:center;
}

.ao-auth-kicker {
    display:block;

    margin-bottom:11px;

    color:#4f7cff;

    font-size:11px;
    font-weight:800;

    letter-spacing:.14em;
}

.ao-auth-heading h1 {
    margin:0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:36px;
    line-height:1.12;

    letter-spacing:-.045em;

    color:#0d1a2d;
}

.ao-auth-heading p {
    max-width:340px;

    margin:
        12px auto
        0;

    font-size:14px;
    line-height:1.65;

    color:#718198;
}


/* ERROR */

.ao-auth-error {
    margin-bottom:19px;

    padding:12px 14px;

    border:
        1px solid
        rgba(210,62,86,.18);

    border-radius:11px;

    background:#fff3f5;

    color:#b9364e;

    font-size:13px;
    line-height:1.5;
}


/* =========================================================
   GOOGLE BUTTON
   ========================================================= */

.ao-google-button {
    width:100%;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:12px;

    padding:0 18px;

    border:
        1px solid
        #d9e0e9;

    border-radius:12px;

    background:#ffffff;

    color:#26364d;

    font-family:
        "Inter",
        sans-serif;

    font-size:14px;
    font-weight:650;

    text-decoration:none;

    box-shadow:
        0 3px 10px
        rgba(20,40,70,.035);

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.ao-google-button:hover {
    transform:translateY(-1px);

    border-color:#c8d1dd;

    background:#fbfcfe;

    box-shadow:
        0 8px 20px
        rgba(20,40,70,.07);
}


/* GOOGLE 4-COLOUR LOGO */

.ao-google-icon {
    width:21px;
    height:21px;

    flex:0 0 21px;

    display:block;
}

.ao-google-icon svg {
    display:block;

    width:21px;
    height:21px;

    fill:initial !important;
    stroke:none !important;
}

.ao-google-icon svg path {
    stroke:none !important;
}


/* Preserve Google's individual path colours */

.ao-google-icon svg path:nth-child(1) {
    fill:#4285F4 !important;
}

.ao-google-icon svg path:nth-child(2) {
    fill:#34A853 !important;
}

.ao-google-icon svg path:nth-child(3) {
    fill:#FBBC05 !important;
}

.ao-google-icon svg path:nth-child(4) {
    fill:#EA4335 !important;
}


/* DIVIDER */

.ao-auth-divider {
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:
        24px 0;

    color:#9aa6b7;

    font-size:10px;
    font-weight:750;

    letter-spacing:.08em;
}

.ao-auth-divider::before,
.ao-auth-divider::after {
    content:"";

    flex:1;

    height:1px;

    background:#e7ebf1;
}

.ao-auth-divider span {
    padding:0 13px;
}


/* FORM */

.ao-auth-form {
    display:grid;

    gap:18px;
}

.ao-auth-field {
    display:block;
}

.ao-auth-field > span {
    display:block;

    margin-bottom:7px;

    color:#35455c;

    font-size:13px;
    font-weight:700;
}

.ao-auth-field input {
    width:100%;
    height:49px;

    padding:0 14px;

    border:
        1px solid
        #dce3ed;

    border-radius:11px;

    outline:none;

    background:#fbfcfe;

    color:#17263d;

    font-family:
        "Inter",
        sans-serif;

    font-size:14px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.ao-auth-field input::placeholder {
    color:#a1adbd;
}

.ao-auth-field input:focus {
    border-color:
        rgba(79,124,255,.68);

    background:#ffffff;

    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.08);
}


/* LOGIN OPTIONS */

.ao-auth-options {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.ao-auth-remember {
    display:flex;
    align-items:center;

    gap:8px;

    cursor:pointer;
}

.ao-auth-remember input {
    width:16px;
    height:16px;

    margin:0;

    accent-color:#4f7cff;
}

.ao-auth-remember span {
    margin:0;

    color:#718198;

    font-size:12px;
    font-weight:500;
}


/* PRIMARY BUTTON */

.ao-auth-submit {
    width:100%;
    height:50px;

    margin-top:2px;

    border:0;
    border-radius:12px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:
        "Manrope",
        sans-serif;

    font-size:14px;
    font-weight:750;

    cursor:pointer;

    box-shadow:
        0 10px 24px
        rgba(79,124,255,.22);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.ao-auth-submit:hover {
    transform:translateY(-2px);

    box-shadow:
        0 15px 31px
        rgba(79,124,255,.29);
}


/* LOGIN / REGISTER SWITCH */

.ao-auth-switch {
    display:flex;
    align-items:center;
    justify-content:center;

    flex-wrap:wrap;

    gap:6px;

    margin-top:26px;

    padding-top:22px;

    border-top:
        1px solid
        #edf0f5;

    color:#7c899b;

    font-size:12px;
}

.ao-auth-switch a {
    color:#4f70df;

    font-weight:750;

    text-decoration:none;
}

.ao-auth-switch a:hover {
    text-decoration:underline;
}


/* MOBILE */

@media (max-width:520px) {

    .ao-auth-page {
        padding:
            105px 13px
            45px;
    }

    .ao-auth-card {
        padding:
            30px 22px;

        border-radius:19px;
    }

    .ao-auth-heading {
        margin-bottom:24px;
    }

    .ao-auth-heading h1 {
        font-size:30px;
    }

    .ao-auth-heading p {
        font-size:13px;
    }

    .ao-google-button {
        height:50px;
    }

}

/* =========================================================
   AUTOOFFICE PRICING FINAL V2
   ========================================================= */

.ao-pricing-page {
    min-height:100vh;
    padding-top:80px;
    background:#f6f8fc;
}


/* HERO */

.ao-pricing-hero {
    padding:88px 0 62px;

    text-align:center;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(79,124,255,.13),
            transparent 42%
        ),
        #f6f8fc;
}

.ao-pricing-kicker {
    display:block;

    margin-bottom:15px;

    color:#5579e8;

    font-size:11px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-pricing-hero h1 {
    max-width:780px;

    margin:0 auto;

    color:#0d1a2d;

    font-family:"Manrope",sans-serif;

    font-size:clamp(42px,5vw,68px);
    font-weight:760;
    line-height:1.04;

    letter-spacing:-.055em;
}

.ao-pricing-hero h1 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-pricing-hero > .ao-container > p {
    max-width:650px;

    margin:22px auto 0;

    color:#718198;

    font-size:16px;
    line-height:1.7;
}

.ao-pricing-note {
    margin-top:15px;

    color:#96a2b3;

    font-size:11px;
}


/* GRID */

.ao-pricing-section {
    padding:28px 0 90px;
}

.ao-pricing-grid {
    display:grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));

    gap:14px;

    align-items:stretch;
}


/* CARD */

.ao-price-card {
    position:relative;

    min-width:0;

    display:flex;
    flex-direction:column;

    padding:
        28px 21px
        22px;

    border:
        1px solid
        #e0e6ef;

    border-radius:20px;

    background:#ffffff;

    box-shadow:
        0 10px 30px
        rgba(18,38,70,.045);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.ao-price-card:hover {
    transform:translateY(-5px);

    border-color:#cad5e6;

    box-shadow:
        0 22px 48px
        rgba(18,38,70,.09);
}


/* PROFESSIONAL */

.ao-price-card.is-popular {
    border-color:
        rgba(79,124,255,.52);

    box-shadow:
        0 18px 46px
        rgba(79,124,255,.13);
}

.ao-price-card.is-popular:hover {
    box-shadow:
        0 25px 55px
        rgba(79,124,255,.18);
}

.ao-price-badge {
    position:absolute;

    top:-13px;
    left:50%;

    transform:translateX(-50%);

    padding:
        6px 12px;

    border-radius:20px;

    color:#ffffff;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #775cf4
        );

    font-size:8px;
    font-weight:800;

    letter-spacing:.09em;

    white-space:nowrap;

    box-shadow:
        0 6px 16px
        rgba(79,124,255,.24);
}


/* ENTERPRISE */

.ao-price-card.is-enterprise {
    border-color:#26375b;

    color:#ffffff;

    background:
        linear-gradient(
            155deg,
            #111f36,
            #1a3053 55%,
            #253d69
        );

    box-shadow:
        0 18px 44px
        rgba(12,29,55,.16);
}

.ao-price-card.is-enterprise:hover {
    border-color:#3e5b8b;

    box-shadow:
        0 25px 58px
        rgba(12,29,55,.22);
}


/* CARD HEAD */

.ao-price-head h2 {
    margin:0;

    color:#17263d;

    font-family:"Manrope",sans-serif;

    font-size:20px;
    font-weight:760;
}

.ao-price-head p {
    min-height:68px;

    margin:9px 0 0;

    color:#8390a3;

    font-size:11px;
    line-height:1.55;
}

.ao-price-card.is-enterprise
.ao-price-head h2 {
    color:#ffffff;
}

.ao-price-card.is-enterprise
.ao-price-head p {
    color:#bdc9da;
}


/* PRICE */

.ao-price-value {
    min-height:68px;

    display:flex;
    align-items:flex-end;

    gap:6px;

    margin-top:18px;
}

.ao-price-value strong {
    color:#101e33;

    font-family:"Manrope",sans-serif;

    font-size:38px;
    font-weight:780;
    line-height:1;

    letter-spacing:-.05em;
}

.ao-price-value span {
    padding-bottom:4px;

    color:#8b98aa;

    font-size:10px;
}

.ao-price-card.is-enterprise
.ao-price-value strong {
    color:#ffffff;
}

.ao-price-card.is-enterprise
.ao-price-value span {
    color:#afbed2;
}


/* DIVIDER */

.ao-price-divider {
    height:1px;

    margin:21px 0;

    background:#edf0f4;
}

.ao-price-card.is-enterprise
.ao-price-divider {
    background:
        rgba(255,255,255,.12);
}


/* FEATURES */

.ao-price-features {
    flex:1;

    display:grid;
    align-content:start;

    gap:10px;

    margin:0;
    padding:0;

    list-style:none;
}

.ao-price-features li {
    display:flex;
    align-items:flex-start;

    gap:8px;

    color:#526278;

    font-size:10px;
    line-height:1.48;
}

.ao-price-features li > span {
    flex:0 0 auto;

    color:#4f7cff;

    font-weight:900;
}

.ao-price-card.is-enterprise
.ao-price-features li {
    color:#d4deec;
}

.ao-price-card.is-enterprise
.ao-price-features li > span {
    color:#72b7ff;
}


/* ACTION */

.ao-price-action {
    margin-top:27px;
}

.ao-price-button {
    width:100%;
    min-height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 13px;

    border:
        1px solid
        #dbe3ee;

    border-radius:11px;

    color:#344761;

    background:#f9fbfd;

    font-size:11px;
    font-weight:750;

    text-align:center;
    text-decoration:none;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.ao-price-button:hover {
    transform:translateY(-2px);

    border-color:#bdcae0;

    background:#ffffff;

    box-shadow:
        0 9px 20px
        rgba(18,38,70,.08);
}

.ao-price-button.is-primary {
    border-color:transparent;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    box-shadow:
        0 10px 23px
        rgba(79,124,255,.20);
}

.ao-price-button.is-enterprise {
    border-color:
        rgba(255,255,255,.22);

    color:#ffffff;

    background:
        rgba(255,255,255,.10);
}

.ao-price-button.is-enterprise:hover {
    border-color:
        rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.16);
}


/* ENTERPRISE PANEL */

.ao-pricing-enterprise-note {
    padding:
        0 0 70px;
}

.ao-pricing-enterprise-panel {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;

    padding:
        42px 48px;

    border-radius:24px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #101e34,
            #1b3156
        );

    box-shadow:
        0 20px 50px
        rgba(13,30,55,.13);
}

.ao-pricing-enterprise-panel > div {
    max-width:660px;
}

.ao-pricing-enterprise-panel
> div > span {
    display:block;

    margin-bottom:8px;

    color:#7eb8ff;

    font-size:9px;
    font-weight:800;

    letter-spacing:.14em;
}

.ao-pricing-enterprise-panel h2 {
    margin:0;

    font-family:"Manrope",sans-serif;

    font-size:32px;

    letter-spacing:-.04em;
}

.ao-pricing-enterprise-panel p {
    margin:10px 0 0;

    color:#b8c5d8;

    font-size:13px;
    line-height:1.65;
}

.ao-enterprise-configure {
    flex:0 0 auto;

    display:flex;
    align-items:center;

    gap:16px;

    padding:
        14px 18px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius:12px;

    color:#ffffff;

    background:
        rgba(255,255,255,.08);

    font-size:12px;
    font-weight:750;

    text-decoration:none;

    transition:
        transform 160ms ease,
        background 160ms ease;
}

.ao-enterprise-configure:hover {
    transform:translateY(-2px);

    background:
        rgba(255,255,255,.14);
}

.ao-enterprise-configure span {
    font-size:18px;
}


/* POLICY */

.ao-pricing-policy {
    padding:
        0 0 80px;
}

.ao-pricing-policy p {
    max-width:850px;

    margin:0 auto;

    color:#8a97a8;

    font-size:11px;
    line-height:1.7;

    text-align:center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1280px) {

    .ao-pricing-grid {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .ao-price-card.is-enterprise {
        grid-column:span 2;
    }

}


@media (max-width:900px) {

    .ao-pricing-page {
        padding-top:68px;
    }

    .ao-pricing-hero {
        padding:
            68px 0
            48px;
    }

    .ao-pricing-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .ao-price-card.is-enterprise {
        grid-column:auto;
    }

    .ao-pricing-enterprise-panel {
        padding:35px;

        align-items:flex-start;
        flex-direction:column;
    }

}


@media (max-width:620px) {

    .ao-pricing-hero {
        padding:
            52px 0
            38px;
    }

    .ao-pricing-hero h1 {
        font-size:
            clamp(
                37px,
                11vw,
                50px
            );
    }

    .ao-pricing-hero > .ao-container > p {
        font-size:14px;
    }

    .ao-pricing-grid {
        grid-template-columns:1fr;

        gap:18px;
    }

    .ao-price-card {
        padding:
            29px 24px
            23px;
    }

    .ao-price-head p {
        min-height:0;
    }

    .ao-pricing-enterprise-panel {
        padding:
            30px 24px;

        border-radius:19px;
    }

    .ao-pricing-enterprise-panel h2 {
        font-size:27px;
    }

    .ao-enterprise-configure {
        width:100%;

        justify-content:space-between;
    }

}


@media (max-width:420px) {

    .ao-pricing-section {
        padding-bottom:65px;
    }

    .ao-price-value strong {
        font-size:35px;
    }

    .ao-price-card {
        border-radius:17px;
    }

}

/* =========================================================
   AUTOOFFICE ENTERPRISE CONFIGURATOR FINAL V1
   ========================================================= */

.ao-enterprise-page {
    min-height:100vh;
    padding-top:80px;
    background:#f5f8fc;
}


/* HERO */

.ao-enterprise-hero {
    padding:68px 0 52px;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(79,124,255,.12),
            transparent 42%
        ),
        #f5f8fc;
}

.ao-enterprise-back {
    display:inline-flex;
    align-items:center;

    margin-bottom:34px;

    color:#718198;

    font-size:11px;
    font-weight:650;

    text-decoration:none;
}

.ao-enterprise-back:hover {
    color:#4f70df;
}

.ao-enterprise-kicker {
    display:block;

    margin-bottom:13px;

    color:#5579e8;

    font-size:10px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-enterprise-hero h1 {
    max-width:780px;

    margin:0;

    color:#0d1a2d;

    font-family:"Manrope",sans-serif;

    font-size:clamp(42px,5vw,64px);
    font-weight:760;
    line-height:1.04;

    letter-spacing:-.055em;
}

.ao-enterprise-hero h1 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-enterprise-hero p {
    max-width:680px;

    margin:20px 0 0;

    color:#718198;

    font-size:15px;
    line-height:1.7;
}


/* BUILDER */

.ao-enterprise-builder {
    padding:
        10px 0
        100px;
}

.ao-enterprise-layout {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        370px;

    gap:34px;

    align-items:start;
}


/* LEFT */

.ao-enterprise-options {
    min-width:0;

    padding:
        38px 40px;

    border:
        1px solid
        #e1e7f0;

    border-radius:22px;

    background:#ffffff;

    box-shadow:
        0 15px 42px
        rgba(18,38,70,.055);
}


/* SECTION HEADING */

.ao-enterprise-section-head {
    display:flex;
    align-items:flex-start;

    gap:15px;

    margin:
        4px 0
        22px;
}

.ao-enterprise-section-head:not(:first-child) {
    margin-top:42px;

    padding-top:35px;

    border-top:
        1px solid
        #edf0f5;
}

.ao-enterprise-section-head > span {
    width:30px;
    height:30px;

    flex:0 0 30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:#4f70df;

    background:#edf3ff;

    font-size:9px;
    font-weight:800;
}

.ao-enterprise-section-head h2 {
    margin:0;

    color:#1a2a41;

    font-family:"Manrope",sans-serif;

    font-size:18px;
    font-weight:750;
}

.ao-enterprise-section-head p {
    margin:5px 0 0;

    color:#8996a8;

    font-size:11px;
    line-height:1.55;
}


/* FIELDS */

.ao-enterprise-field-grid,
.ao-enterprise-contact-grid {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:16px;
}

.ao-enterprise-field {
    display:block;
}

.ao-enterprise-field.is-wide {
    grid-column:1 / -1;
}

.ao-enterprise-field > span {
    display:block;

    margin-bottom:5px;

    color:#34455d;

    font-size:12px;
    font-weight:750;
}

.ao-enterprise-field > small {
    display:block;

    min-height:31px;

    margin-bottom:8px;

    color:#929eae;

    font-size:9px;
    line-height:1.5;
}

.ao-enterprise-field input,
.ao-enterprise-field select {
    width:100%;
    height:48px;

    padding:
        0 13px;

    border:
        1px solid
        #dce3ed;

    border-radius:11px;

    outline:none;

    color:#17263d;

    background:#fbfcfe;

    font-family:"Inter",sans-serif;
    font-size:13px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.ao-enterprise-field input:focus,
.ao-enterprise-field select:focus {
    border-color:
        rgba(79,124,255,.62);

    background:#ffffff;

    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.07);
}


/* USAGE TIERS */

.ao-enterprise-usage {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:11px;
}

.ao-enterprise-usage label {
    position:relative;

    cursor:pointer;
}

.ao-enterprise-usage input {
    position:absolute;

    opacity:0;

    pointer-events:none;
}

.ao-enterprise-usage label > span {
    min-height:94px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:16px;

    border:
        1px solid
        #e0e6ef;

    border-radius:13px;

    background:#fafbfd;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.ao-enterprise-usage
input:checked + span {
    border-color:
        rgba(79,124,255,.55);

    background:#f2f6ff;

    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.055);
}

.ao-enterprise-usage
label:hover > span {
    transform:translateY(-2px);

    border-color:#c8d3e5;
}

.ao-enterprise-usage strong {
    color:#26374f;

    font-size:12px;
}

.ao-enterprise-usage small {
    margin-top:5px;

    color:#8b98aa;

    font-size:9px;
    line-height:1.5;
}


/* ADDONS */

.ao-enterprise-addons {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:11px;

    margin-top:18px;
}

.ao-enterprise-addons label {
    display:flex;
    align-items:flex-start;

    gap:11px;

    padding:16px;

    border:
        1px solid
        #e1e7ef;

    border-radius:13px;

    background:#fafbfd;

    cursor:pointer;
}

.ao-enterprise-addons input {
    width:17px;
    height:17px;

    flex:0 0 auto;

    margin-top:2px;

    accent-color:#4f7cff;
}

.ao-enterprise-addons strong,
.ao-enterprise-addons small {
    display:block;
}

.ao-enterprise-addons strong {
    color:#304158;

    font-size:11px;
}

.ao-enterprise-addons small {
    margin-top:5px;

    color:#8d99aa;

    font-size:9px;
    line-height:1.5;
}


/* ERROR */

.ao-enterprise-error {
    margin-top:20px;

    padding:12px 14px;

    border:
        1px solid
        rgba(210,62,86,.18);

    border-radius:10px;

    color:#b9364e;

    background:#fff3f5;

    font-size:11px;
    line-height:1.5;
}


/* RIGHT SUMMARY */

.ao-enterprise-summary {
    position:sticky;

    top:105px;
}

.ao-enterprise-summary-card {
    padding:
        29px 27px;

    border:
        1px solid
        #253a60;

    border-radius:21px;

    color:#ffffff;

    background:
        linear-gradient(
            155deg,
            #111f36,
            #1a3053 58%,
            #253d69
        );

    box-shadow:
        0 22px 52px
        rgba(12,29,55,.18);
}

.ao-enterprise-summary-label {
    display:block;

    color:#7fb8ff;

    font-size:8px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-enterprise-total {
    margin:
        14px 0
        26px;

    padding-bottom:24px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.ao-enterprise-total strong {
    display:block;

    color:#ffffff;

    font-family:"Manrope",sans-serif;

    font-size:45px;
    font-weight:780;

    line-height:1;

    letter-spacing:-.055em;
}

.ao-enterprise-total span {
    display:block;

    margin-top:7px;

    color:#aebcd0;

    font-size:10px;
}

.ao-enterprise-summary-line {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    padding:7px 0;

    color:#b9c6d8;

    font-size:10px;
}

.ao-enterprise-summary-line strong {
    color:#ffffff;

    font-size:10px;
}


/* BREAKDOWN */

.ao-enterprise-breakdown {
    margin-top:18px;

    padding-top:18px;

    border-top:
        1px solid
        rgba(255,255,255,.12);
}

.ao-enterprise-breakdown > span {
    display:block;

    margin-bottom:10px;

    color:#8296b2;

    font-size:8px;
    font-weight:800;

    letter-spacing:.08em;
}

.ao-enterprise-breakdown > div {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:14px;

    padding:5px 0;

    color:#aebdd0;

    font-size:9px;
}

.ao-enterprise-breakdown strong {
    color:#eaf0f8;

    font-size:9px;
}


/* CONTINUE */

.ao-enterprise-continue {
    width:100%;
    min-height:49px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:24px;

    padding:
        0 17px;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius:11px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:"Manrope",sans-serif;

    font-size:11px;
    font-weight:750;

    cursor:pointer;

    box-shadow:
        0 10px 25px
        rgba(42,83,190,.25);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
}

.ao-enterprise-continue:hover:not(:disabled) {
    transform:translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(42,83,190,.32);
}

.ao-enterprise-continue:disabled {
    cursor:wait;

    opacity:.65;
}

.ao-enterprise-summary-note {
    margin:
        13px 0
        0;

    color:#8293aa;

    font-size:8px;
    line-height:1.55;

    text-align:center;
}


/* RESPONSIVE */

@media (max-width:1000px) {

    .ao-enterprise-layout {
        grid-template-columns:1fr;
    }

    .ao-enterprise-summary {
        position:static;
    }

    .ao-enterprise-summary-card {
        max-width:none;
    }

}


@media (max-width:760px) {

    .ao-enterprise-page {
        padding-top:68px;
    }

    .ao-enterprise-hero {
        padding:
            48px 0
            38px;
    }

    .ao-enterprise-back {
        margin-bottom:26px;
    }

    .ao-enterprise-options {
        padding:
            28px 22px;

        border-radius:18px;
    }

    .ao-enterprise-field-grid,
    .ao-enterprise-contact-grid,
    .ao-enterprise-usage,
    .ao-enterprise-addons {
        grid-template-columns:1fr;
    }

    .ao-enterprise-field.is-wide {
        grid-column:auto;
    }

}


@media (max-width:480px) {

    .ao-enterprise-hero h1 {
        font-size:38px;
    }

    .ao-enterprise-builder {
        padding-bottom:65px;
    }

    .ao-enterprise-options {
        padding:
            24px 17px;
    }

    .ao-enterprise-summary-card {
        padding:
            25px 20px;
    }

    .ao-enterprise-total strong {
        font-size:40px;
    }

}

/* =========================================================
   AUTOOFFICE PRICING + ENTERPRISE HEADER SOLID FIX V1
   Keep original header appearance.
   Prevent page background from showing through header.
   ========================================================= */

body:has(.ao-pricing-page) .ao-header,
body:has(.ao-enterprise-page) .ao-header {
    background:#101827 !important;
    background-image:none !important;

    opacity:1 !important;

    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;

    filter:none !important;

    box-shadow:
        0 1px 0
        rgba(255,255,255,.06),
        0 8px 24px
        rgba(0,0,0,.10);

    z-index:1000;
}


/* Prevent pseudo overlay from washing out header */

body:has(.ao-pricing-page) .ao-header::before,
body:has(.ao-pricing-page) .ao-header::after,
body:has(.ao-enterprise-page) .ao-header::before,
body:has(.ao-enterprise-page) .ao-header::after {
    opacity:0 !important;
    background:none !important;
    backdrop-filter:none !important;
    pointer-events:none;
}


/* Header inner content must remain fully opaque */

body:has(.ao-pricing-page) .ao-header > *,
body:has(.ao-enterprise-page) .ao-header > * {
    opacity:1 !important;
    filter:none;
}


/* Do not alter logo image filters or dimensions here */

body:has(.ao-pricing-page) .ao-header .ao-brand-logo,
body:has(.ao-enterprise-page) 


/* Pricing / Enterprise content begins below header */

body:has(.ao-pricing-page) .ao-pricing-page,
body:has(.ao-enterprise-page) .ao-enterprise-page {
    position:relative;
    z-index:1;
}

/* =========================================================
   AUTOOFFICE ENTERPRISE CONFIGURATOR FINAL V2
   ========================================================= */

.ao-enterprise-page {
    min-height:100vh;
    padding-top:80px;
    background:#f5f8fc;
}


/* HERO */

.ao-enterprise-hero {
    padding:68px 0 50px;

    background:
        radial-gradient(
            circle at 45% 0,
            rgba(79,124,255,.12),
            transparent 42%
        ),
        #f5f8fc;
}

.ao-enterprise-back {
    display:inline-flex;
    align-items:center;

    margin-bottom:32px;

    color:#718198;

    font-size:11px;
    font-weight:650;

    text-decoration:none;
}

.ao-enterprise-back:hover {
    color:#4f70df;
}

.ao-enterprise-kicker {
    display:block;

    margin-bottom:13px;

    color:#5579e8;

    font-size:10px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-enterprise-hero h1 {
    max-width:820px;

    margin:0;

    color:#0d1a2d;

    font-family:"Manrope",sans-serif;

    font-size:clamp(42px,5vw,64px);
    font-weight:760;
    line-height:1.04;

    letter-spacing:-.055em;
}

.ao-enterprise-hero h1 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-enterprise-hero p {
    max-width:690px;

    margin:20px 0 0;

    color:#718198;

    font-size:15px;
    line-height:1.7;
}


/* BUILDER */

.ao-enterprise-builder {
    padding:
        8px 0
        100px;
}

.ao-enterprise-layout {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        380px;

    gap:34px;

    align-items:start;
}


/* OPTIONS PANEL */

.ao-enterprise-options {
    min-width:0;

    padding:
        38px 40px;

    border:1px solid #e1e7f0;
    border-radius:22px;

    background:#ffffff;

    box-shadow:
        0 15px 42px
        rgba(18,38,70,.055);
}


/* SECTION */

.ao-enterprise-section-head {
    display:flex;
    align-items:flex-start;

    gap:15px;

    margin:
        3px 0
        22px;
}

.ao-enterprise-section-head:not(:first-child) {
    margin-top:42px;

    padding-top:35px;

    border-top:
        1px solid
        #edf0f5;
}

.ao-enterprise-section-head > span {
    width:30px;
    height:30px;

    flex:0 0 30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:#4f70df;
    background:#edf3ff;

    font-size:9px;
    font-weight:800;
}

.ao-enterprise-section-head h2 {
    margin:0;

    color:#1a2a41;

    font-family:"Manrope",sans-serif;

    font-size:18px;
    font-weight:750;
}

.ao-enterprise-section-head p {
    margin:5px 0 0;

    color:#8996a8;

    font-size:11px;
    line-height:1.55;
}


/* FIELDS */

.ao-enterprise-field-grid,
.ao-enterprise-contact-grid {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:16px;
}

.ao-enterprise-field {
    display:block;
}

.ao-enterprise-field.is-wide {
    grid-column:1 / -1;
}

.ao-enterprise-field > span {
    display:block;

    margin-bottom:5px;

    color:#34455d;

    font-size:12px;
    font-weight:750;
}

.ao-enterprise-field > small {
    display:block;

    min-height:30px;

    margin-bottom:8px;

    color:#929eae;

    font-size:9px;
    line-height:1.5;
}

.ao-enterprise-field input,
.ao-enterprise-field select {
    width:100%;
    height:48px;

    padding:0 13px;

    border:1px solid #dce3ed;
    border-radius:11px;

    outline:none;

    color:#17263d;
    background:#fbfcfe;

    font-family:"Inter",sans-serif;
    font-size:13px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.ao-enterprise-field input:focus,
.ao-enterprise-field select:focus {
    border-color:
        rgba(79,124,255,.62);

    background:#ffffff;

    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.07);
}


/* AI USAGE */

.ao-enterprise-usage {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:11px;
}

.ao-enterprise-usage label {
    position:relative;

    cursor:pointer;
}

.ao-enterprise-usage input {
    position:absolute;

    opacity:0;
    pointer-events:none;
}

.ao-enterprise-usage label > span {
    min-height:94px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:16px;

    border:1px solid #e0e6ef;
    border-radius:13px;

    background:#fafbfd;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.ao-enterprise-usage
input:checked + span {
    border-color:
        rgba(79,124,255,.58);

    background:#f1f5ff;

    box-shadow:
        0 0 0 3px
        rgba(79,124,255,.055);
}

.ao-enterprise-usage
label:hover > span {
    transform:translateY(-2px);

    border-color:#c8d3e5;
}

.ao-enterprise-usage strong {
    color:#26374f;

    font-size:12px;
}

.ao-enterprise-usage small {
    margin-top:5px;

    color:#8b98aa;

    font-size:9px;
    line-height:1.5;
}


/* ADD-ONS */

.ao-enterprise-addons {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:11px;

    margin-top:18px;
}

.ao-enterprise-addons label {
    display:flex;
    align-items:flex-start;

    gap:11px;

    padding:16px;

    border:1px solid #e1e7ef;
    border-radius:13px;

    background:#fafbfd;

    cursor:pointer;
}

.ao-enterprise-addons input {
    width:17px;
    height:17px;

    flex:0 0 auto;

    margin-top:2px;

    accent-color:#4f7cff;
}

.ao-enterprise-addons strong,
.ao-enterprise-addons small {
    display:block;
}

.ao-enterprise-addons strong {
    color:#304158;

    font-size:11px;
}

.ao-enterprise-addons small {
    margin-top:5px;

    color:#8d99aa;

    font-size:9px;
    line-height:1.5;
}


/* ERROR */

.ao-enterprise-error {
    margin-top:20px;

    padding:12px 14px;

    border:
        1px solid
        rgba(210,62,86,.18);

    border-radius:10px;

    color:#b9364e;
    background:#fff3f5;

    font-size:11px;
    line-height:1.5;
}


/* SUMMARY */

.ao-enterprise-summary {
    position:sticky;

    top:105px;
}

.ao-enterprise-summary-card {
    padding:
        29px 27px;

    border:1px solid #253a60;
    border-radius:21px;

    color:#ffffff;

    background:
        linear-gradient(
            155deg,
            #111f36,
            #1a3053 58%,
            #253d69
        );

    box-shadow:
        0 22px 52px
        rgba(12,29,55,.18);
}

.ao-enterprise-summary-label {
    display:block;

    color:#7fb8ff;

    font-size:8px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-enterprise-total {
    margin:
        14px 0
        26px;

    padding-bottom:24px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.ao-enterprise-total strong {
    display:block;

    color:#ffffff;

    font-family:"Manrope",sans-serif;

    font-size:45px;
    font-weight:780;
    line-height:1;

    letter-spacing:-.055em;
}

.ao-enterprise-total span {
    display:block;

    margin-top:7px;

    color:#aebcd0;

    font-size:10px;
}

.ao-enterprise-summary-line {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    padding:7px 0;

    color:#b9c6d8;

    font-size:10px;
}

.ao-enterprise-summary-line strong {
    color:#ffffff;

    font-size:10px;
}


/* BREAKDOWN */

.ao-enterprise-breakdown {
    margin-top:18px;

    padding-top:18px;

    border-top:
        1px solid
        rgba(255,255,255,.12);
}

.ao-enterprise-breakdown > span {
    display:block;

    margin-bottom:10px;

    color:#8296b2;

    font-size:8px;
    font-weight:800;

    letter-spacing:.08em;
}

.ao-enterprise-breakdown > div {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:14px;

    padding:5px 0;

    color:#aebdd0;

    font-size:9px;
}

.ao-enterprise-breakdown strong {
    color:#eaf0f8;

    font-size:9px;
}


/* CONTINUE */

.ao-enterprise-continue {
    width:100%;
    min-height:49px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:24px;

    padding:0 17px;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius:11px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:"Manrope",sans-serif;

    font-size:11px;
    font-weight:750;

    cursor:pointer;

    box-shadow:
        0 10px 25px
        rgba(42,83,190,.25);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
}

.ao-enterprise-continue:hover:not(:disabled) {
    transform:translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(42,83,190,.32);
}

.ao-enterprise-continue:disabled {
    cursor:wait;

    opacity:.65;
}

.ao-enterprise-summary-note {
    margin:
        13px 0
        0;

    color:#8293aa;

    font-size:8px;
    line-height:1.55;

    text-align:center;
}


/* TABLET */

@media (max-width:1000px) {

    .ao-enterprise-layout {
        grid-template-columns:1fr;
    }

    .ao-enterprise-summary {
        position:static;
    }

}


/* MOBILE */

@media (max-width:760px) {

    .ao-enterprise-page {
        padding-top:68px;
    }

    .ao-enterprise-hero {
        padding:
            48px 0
            38px;
    }

    .ao-enterprise-back {
        margin-bottom:26px;
    }

    .ao-enterprise-options {
        padding:
            28px 22px;

        border-radius:18px;
    }

    .ao-enterprise-field-grid,
    .ao-enterprise-contact-grid,
    .ao-enterprise-usage,
    .ao-enterprise-addons {
        grid-template-columns:1fr;
    }

    .ao-enterprise-field.is-wide {
        grid-column:auto;
    }

}


@media (max-width:480px) {

    .ao-enterprise-hero h1 {
        font-size:38px;
    }

    .ao-enterprise-builder {
        padding-bottom:65px;
    }

    .ao-enterprise-options {
        padding:
            24px 17px;
    }

    .ao-enterprise-summary-card {
        padding:
            25px 20px;
    }

    .ao-enterprise-total strong {
        font-size:40px;
    }

}

/* =========================================================
   AUTOOFFICE ENTERPRISE QUOTE REVIEW V1
   ========================================================= */

.ao-quote-page {
    background:#f5f8fc;
}


/* HERO */

.ao-quote-hero {
    padding:
        65px 0
        46px;

    background:
        radial-gradient(
            circle at 45% 0,
            rgba(79,124,255,.11),
            transparent 42%
        ),
        #f5f8fc;
}

.ao-quote-hero h1 {
    max-width:760px;

    margin:0;

    color:#0d1a2d;

    font-family:"Manrope",sans-serif;

    font-size:clamp(40px,5vw,61px);
    font-weight:760;
    line-height:1.04;

    letter-spacing:-.055em;
}

.ao-quote-hero h1 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-quote-hero p {
    max-width:650px;

    margin:19px 0 0;

    color:#718198;

    font-size:14px;
    line-height:1.7;
}


/* LAYOUT */

.ao-quote-section {
    padding:
        10px 0
        100px;
}

.ao-quote-layout {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        380px;

    gap:34px;

    align-items:start;
}

.ao-quote-details {
    display:grid;

    gap:18px;
}


/* WHITE CARDS */

.ao-quote-card {
    padding:
        31px 34px;

    border:
        1px solid
        #e1e7f0;

    border-radius:20px;

    background:#ffffff;

    box-shadow:
        0 12px 34px
        rgba(18,38,70,.045);
}


/* ORGANISATION */

.ao-quote-card-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    gap:20px;

    padding-bottom:22px;

    border-bottom:
        1px solid
        #edf0f5;
}

.ao-quote-card-head > div:first-child > span {
    display:block;

    margin-bottom:6px;

    color:#8494aa;

    font-size:8px;
    font-weight:800;

    letter-spacing:.13em;
}

.ao-quote-card-head h2 {
    margin:0;

    color:#192a42;

    font-family:"Manrope",sans-serif;

    font-size:22px;
    font-weight:750;
}

.ao-quote-status {
    padding:
        6px 9px;

    border-radius:7px;

    color:#4f70df;

    background:#edf3ff;

    font-size:8px;
    font-weight:800;

    letter-spacing:.07em;
}

.ao-quote-contact {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:18px;

    padding-top:21px;
}

.ao-quote-contact > div:last-child {
    grid-column:1 / -1;
}

.ao-quote-contact span,
.ao-quote-contact strong {
    display:block;
}

.ao-quote-contact span {
    margin-bottom:5px;

    color:#929eae;

    font-size:9px;
}

.ao-quote-contact strong {
    color:#35465e;

    font-size:11px;
    font-weight:700;

    overflow-wrap:anywhere;
}


/* CARD TITLE */

.ao-quote-title {
    display:flex;
    align-items:flex-start;

    gap:14px;

    margin-bottom:23px;
}

.ao-quote-title > span {
    width:30px;
    height:30px;

    flex:0 0 30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:#4f70df;
    background:#edf3ff;

    font-size:9px;
    font-weight:800;
}

.ao-quote-title h2 {
    margin:0;

    color:#1a2a41;

    font-family:"Manrope",sans-serif;

    font-size:18px;
}

.ao-quote-title p {
    margin:5px 0 0;

    color:#8996a8;

    font-size:10px;
    line-height:1.5;
}


/* SPECS */

.ao-quote-spec-grid {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:12px;
}

.ao-quote-spec-grid > div {
    padding:17px;

    border:
        1px solid
        #e6ebf2;

    border-radius:12px;

    background:#fafbfd;
}

.ao-quote-spec-grid span,
.ao-quote-spec-grid strong {
    display:block;
}

.ao-quote-spec-grid span {
    margin-bottom:7px;

    color:#8b98aa;

    font-size:9px;
}

.ao-quote-spec-grid strong {
    color:#26374f;

    font-family:"Manrope",sans-serif;

    font-size:15px;
}


/* SERVICES */

.ao-quote-services {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:11px;
}

.ao-quote-services > div {
    display:flex;
    align-items:flex-start;

    gap:11px;

    padding:16px;

    border:
        1px solid
        #e5eaf1;

    border-radius:12px;

    background:#fafbfd;
}

.ao-quote-services > div > span {
    flex:0 0 auto;

    color:#4f7cff;

    font-weight:900;
}

.ao-quote-services strong,
.ao-quote-services small {
    display:block;
}

.ao-quote-services strong {
    color:#304158;

    font-size:10px;
}

.ao-quote-services small {
    margin-top:5px;

    color:#8d99aa;

    font-size:9px;
    line-height:1.5;
}

.ao-quote-services .is-disabled {
    opacity:.55;
}


/* SUMMARY */

.ao-quote-summary {
    position:sticky;

    top:105px;
}

.ao-quote-summary-card {
    padding:
        29px 27px;

    border:
        1px solid
        #253a60;

    border-radius:21px;

    color:#ffffff;

    background:
        linear-gradient(
            155deg,
            #111f36,
            #1a3053 58%,
            #253d69
        );

    box-shadow:
        0 22px 52px
        rgba(12,29,55,.18);
}

.ao-quote-summary-label {
    display:block;

    color:#7fb8ff;

    font-size:8px;
    font-weight:800;

    letter-spacing:.15em;
}

.ao-quote-total {
    margin:
        14px 0
        24px;

    padding-bottom:23px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.ao-quote-total strong {
    display:block;

    color:#ffffff;

    font-family:"Manrope",sans-serif;

    font-size:45px;
    font-weight:780;
    line-height:1;

    letter-spacing:-.055em;
}

.ao-quote-total span {
    display:block;

    margin-top:7px;

    color:#aebcd0;

    font-size:10px;
}


/* BREAKDOWN */

.ao-quote-breakdown {
    display:grid;

    gap:9px;
}

.ao-quote-breakdown > div {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    color:#afbed1;

    font-size:9px;
}

.ao-quote-breakdown strong {
    color:#eef3fa;

    font-size:9px;
}


/* VALIDITY */

.ao-quote-validity {
    margin-top:21px;

    padding:
        16px 0;

    border-top:
        1px solid
        rgba(255,255,255,.12);

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.ao-quote-validity strong,
.ao-quote-validity span {
    display:block;
}

.ao-quote-validity strong {
    color:#ffffff;

    font-size:10px;
}

.ao-quote-validity span {
    margin-top:5px;

    color:#8fa0b7;

    font-size:8px;
    line-height:1.5;
}


/* CHECKOUT */

.ao-quote-checkout {
    width:100%;
    min-height:49px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:22px;

    padding:0 17px;

    border-radius:11px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:"Manrope",sans-serif;

    font-size:11px;
    font-weight:750;

    text-decoration:none;

    box-shadow:
        0 10px 25px
        rgba(42,83,190,.25);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.ao-quote-checkout:hover {
    transform:translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(42,83,190,.32);
}

.ao-quote-checkout > span {
    font-size:17px;
}

.ao-quote-edit {
    display:block;

    margin-top:15px;

    color:#aebed3;

    font-size:9px;
    font-weight:650;

    text-align:center;
    text-decoration:none;
}

.ao-quote-edit:hover {
    color:#ffffff;
}

.ao-quote-secure {
    margin:
        14px 0
        0;

    color:#7f91aa;

    font-size:8px;
    line-height:1.55;

    text-align:center;
}


/* TABLET */

@media (max-width:1000px) {

    .ao-quote-layout {
        grid-template-columns:1fr;
    }

    .ao-quote-summary {
        position:static;
    }

}


/* MOBILE */

@media (max-width:760px) {

    .ao-quote-hero {
        padding:
            48px 0
            38px;
    }

    .ao-quote-card {
        padding:
            26px 21px;
    }

    .ao-quote-contact,
    .ao-quote-spec-grid,
    .ao-quote-services {
        grid-template-columns:1fr;
    }

    .ao-quote-contact > div:last-child {
        grid-column:auto;
    }

}


@media (max-width:480px) {

    .ao-quote-hero h1 {
        font-size:38px;
    }

    .ao-quote-section {
        padding-bottom:65px;
    }

    .ao-quote-summary-card {
        padding:
            25px 20px;
    }

    .ao-quote-total strong {
        font-size:40px;
    }

}

/* =========================================================
   AUTOOFFICE ENTERPRISE CHECKOUT FINAL V1
   ========================================================= */

.ao-checkout-page {
    background:#f5f8fc;
}


/* HERO */

.ao-checkout-hero {
    padding:
        64px 0
        46px;

    background:
        radial-gradient(
            circle at 45% 0,
            rgba(79,124,255,.11),
            transparent 42%
        ),
        #f5f8fc;
}

.ao-checkout-hero h1 {
    max-width:760px;
    margin:0;

    color:#0d1a2d;

    font-family:"Manrope",sans-serif;
    font-size:clamp(40px,5vw,61px);
    font-weight:760;
    line-height:1.04;
    letter-spacing:-.055em;
}

.ao-checkout-hero h1 span {
    display:block;

    color:transparent;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #875cf2
        );

    -webkit-background-clip:text;
    background-clip:text;
}

.ao-checkout-hero p {
    max-width:670px;

    margin:19px 0 0;

    color:#718198;

    font-size:14px;
    line-height:1.7;
}


/* LAYOUT */

.ao-checkout-section {
    padding:
        10px 0
        100px;
}

.ao-checkout-layout {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        380px;

    gap:34px;

    align-items:start;
}

.ao-checkout-main {
    display:grid;
    gap:18px;
}


/* CARDS */

.ao-checkout-card {
    padding:
        31px 34px;

    border:1px solid #e1e7f0;
    border-radius:20px;

    background:#ffffff;

    box-shadow:
        0 12px 34px
        rgba(18,38,70,.045);
}

.ao-checkout-title {
    display:flex;
    align-items:flex-start;

    gap:14px;

    margin-bottom:23px;
}

.ao-checkout-title > span {
    width:30px;
    height:30px;

    flex:0 0 30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:#4f70df;
    background:#edf3ff;

    font-size:9px;
    font-weight:800;
}

.ao-checkout-title h2 {
    margin:0;

    color:#1a2a41;

    font-family:"Manrope",sans-serif;
    font-size:18px;
    font-weight:750;
}

.ao-checkout-title p {
    margin:5px 0 0;

    color:#8996a8;

    font-size:10px;
    line-height:1.5;
}


/* ACCOUNT */

.ao-checkout-account {
    padding:17px;

    border:1px solid #e6ebf2;
    border-radius:12px;

    background:#fafbfd;
}

.ao-checkout-account span,
.ao-checkout-account strong,
.ao-checkout-account small {
    display:block;
}

.ao-checkout-account span {
    margin-bottom:5px;

    color:#8b98aa;

    font-size:9px;
}

.ao-checkout-account strong {
    color:#26374f;

    font-size:12px;
}

.ao-checkout-account small {
    margin-top:4px;

    color:#718198;

    font-size:10px;
}


/* ORGANISATION */

.ao-checkout-organisation {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:12px;
}

.ao-checkout-organisation > div {
    padding:17px;

    border:1px solid #e6ebf2;
    border-radius:12px;

    background:#fafbfd;
}

.ao-checkout-organisation
> div.is-wide {
    grid-column:1 / -1;
}

.ao-checkout-organisation span,
.ao-checkout-organisation strong {
    display:block;
}

.ao-checkout-organisation span {
    margin-bottom:7px;

    color:#8b98aa;

    font-size:9px;
}

.ao-checkout-organisation strong {
    color:#26374f;

    font-family:"Manrope",sans-serif;
    font-size:14px;
}


/* SERVICES */

.ao-checkout-services {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:10px;
}

.ao-checkout-services > div {
    display:flex;
    align-items:center;

    gap:9px;

    padding:13px 14px;

    border:1px solid #e6ebf2;
    border-radius:11px;

    color:#45566d;
    background:#fafbfd;

    font-size:10px;
}

.ao-checkout-services > div > span {
    color:#4f7cff;

    font-weight:900;
}


/* BILLING */

.ao-checkout-billing-note {
    padding:18px;

    border:1px solid #e6ebf2;
    border-radius:12px;

    background:#fafbfd;
}

.ao-checkout-billing-note strong {
    display:block;

    color:#2c3e56;

    font-size:11px;
}

.ao-checkout-billing-note p {
    margin:7px 0 0;

    color:#7f8da0;

    font-size:10px;
    line-height:1.6;
}


/* SUMMARY */

.ao-checkout-summary {
    position:sticky;

    top:105px;
}

.ao-checkout-summary-card {
    padding:
        29px 27px;

    border:1px solid #253a60;
    border-radius:21px;

    color:#ffffff;

    background:
        linear-gradient(
            155deg,
            #111f36,
            #1a3053 58%,
            #253d69
        );

    box-shadow:
        0 22px 52px
        rgba(12,29,55,.18);
}

.ao-checkout-summary-label {
    display:block;

    color:#7fb8ff;

    font-size:8px;
    font-weight:800;
    letter-spacing:.15em;
}

.ao-checkout-summary-card h2 {
    margin:
        15px 0
        0;

    color:#ffffff;

    font-family:"Manrope",sans-serif;
    font-size:22px;
}

.ao-checkout-company {
    margin:
        5px 0
        0;

    color:#aebdd0;

    font-size:10px;
}


/* PRICE */

.ao-checkout-price {
    margin:
        22px 0
        23px;

    padding:
        0 0
        23px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.ao-checkout-price strong {
    display:block;

    color:#ffffff;

    font-family:"Manrope",sans-serif;

    font-size:45px;
    font-weight:780;
    line-height:1;

    letter-spacing:-.055em;
}

.ao-checkout-price span {
    display:block;

    margin-top:7px;

    color:#aebcd0;

    font-size:10px;
}


/* BREAKDOWN */

.ao-checkout-breakdown {
    display:grid;

    gap:9px;
}

.ao-checkout-breakdown > div {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    color:#afbed1;

    font-size:9px;
}

.ao-checkout-breakdown strong {
    color:#eef3fa;

    font-size:9px;
}


/* RENEWAL */

.ao-checkout-renewal {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:20px;

    padding:
        17px 0;

    border-top:
        1px solid
        rgba(255,255,255,.12);

    border-bottom:
        1px solid
        rgba(255,255,255,.12);

    color:#aebdd0;

    font-size:9px;
}

.ao-checkout-renewal strong {
    color:#ffffff;
}


/* PAYMENT BUTTON */

.ao-checkout-pay {
    width:100%;
    min-height:49px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:22px;

    padding:0 17px;

    border:0;
    border-radius:11px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:"Manrope",sans-serif;
    font-size:11px;
    font-weight:750;

    box-shadow:
        0 10px 25px
        rgba(42,83,190,.25);
}

.ao-checkout-pay:disabled {
    cursor:not-allowed;

    opacity:.58;
}

.ao-checkout-pay > span {
    font-size:17px;
}

.ao-checkout-payment-note {
    margin:
        12px 0
        0;

    color:#8293aa;

    font-size:8px;
    line-height:1.55;

    text-align:center;
}


/* SECURITY */

.ao-checkout-security {
    display:flex;
    align-items:flex-start;

    gap:8px;

    margin-top:18px;

    padding-top:17px;

    border-top:
        1px solid
        rgba(255,255,255,.12);
}

.ao-checkout-security > span {
    color:#70d4a7;

    font-weight:900;
}

.ao-checkout-security p {
    margin:0;

    color:#91a2b8;

    font-size:8px;
    line-height:1.5;
}


/* TABLET */

@media (max-width:1000px) {

    .ao-checkout-layout {
        grid-template-columns:1fr;
    }

    .ao-checkout-summary {
        position:static;
    }

}


/* MOBILE */

@media (max-width:760px) {

    .ao-checkout-hero {
        padding:
            48px 0
            38px;
    }

    .ao-checkout-card {
        padding:
            26px 21px;
    }

    .ao-checkout-organisation,
    .ao-checkout-services {
        grid-template-columns:1fr;
    }

    .ao-checkout-organisation
    > div.is-wide {
        grid-column:auto;
    }

}


@media (max-width:480px) {

    .ao-checkout-hero h1 {
        font-size:38px;
    }

    .ao-checkout-section {
        padding-bottom:65px;
    }

    .ao-checkout-summary-card {
        padding:
            25px 20px;
    }

    .ao-checkout-price strong {
        font-size:40px;
    }

}

/* =========================================================
   AUTOOFFICE COMMON FOOTER TYPOGRAPHY SIZE UP V1
   Increase all footer text one level.
   No layout / logo / background changes.
   ========================================================= */

/* General footer text */
.ao-footer {
    font-size:14px;
}


/* Brand description / introductory text */
.ao-footer p,
.ao-footer-description,
.ao-footer-brand p {
    font-size:14px !important;
    line-height:1.7;
}


/* Footer column titles */
.ao-footer h2,
.ao-footer h3,
.ao-footer h4,
.ao-footer-title,
.ao-footer-heading {
    font-size:15px !important;
    line-height:1.35;
}


/* Navigation links */
.ao-footer a,
.ao-footer li a {
    font-size:13px !important;
    line-height:1.55;
}


/* Ordinary list / supporting text */
.ao-footer li,
.ao-footer span {
    font-size:13px;
}


/* Small text */
.ao-footer small {
    font-size:11px !important;
    line-height:1.55;
}


/* Footer bottom / legal / copyright */
.ao-footer-bottom,
.ao-footer-bottom p,
.ao-footer-bottom span,
.ao-footer-bottom a,
.ao-footer-copyright,
.ao-footer-legal {
    font-size:11px !important;
    line-height:1.55;
}


/* Preserve logo sizing */
.ao-footer img,
.ao-footer-logo,
.ao-footer .ao-brand-logo {
    font-size:initial;
}


/* Mobile: keep typography readable instead of shrinking it back */
@media (max-width:760px) {

    .ao-footer p,
    .ao-footer-description,
    .ao-footer-brand p {
        font-size:14px !important;
    }

    .ao-footer h2,
    .ao-footer h3,
    .ao-footer h4,
    .ao-footer-title,
    .ao-footer-heading {
        font-size:15px !important;
    }

    .ao-footer a,
    .ao-footer li,
    .ao-footer li a,
    .ao-footer span {
        font-size:13px;
    }

    .ao-footer small,
    .ao-footer-bottom,
    .ao-footer-bottom p,
    .ao-footer-bottom span,
    .ao-footer-bottom a,
    .ao-footer-copyright,
    .ao-footer-legal {
        font-size:11px !important;
    }

}

/* =========================================================
   AUTOOFFICE PRICING CARD HOVER V1
   Distinct colour for each plan.
   High-contrast text on hover.
   ========================================================= */

.ao-price-card {
    transition:
        transform 200ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        color 220ms ease;
}

.ao-price-card *,
.ao-price-card *::before,
.ao-price-card *::after {
    transition:
        color 200ms ease,
        background 200ms ease,
        border-color 200ms ease,
        opacity 200ms ease;
}


/* ---------------------------------------------------------
   1. FREE — BLUE
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:nth-child(1):hover {
    background:
        linear-gradient(
            145deg,
            #eaf3ff,
            #dceaff
        ) !important;

    border-color:#8bb5f4 !important;

    box-shadow:
        0 22px 48px
        rgba(61,111,190,.16);
}


/* ---------------------------------------------------------
   2. PERSONAL — GREEN
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:nth-child(2):hover {
    background:
        linear-gradient(
            145deg,
            #e8f8f1,
            #d7f1e6
        ) !important;

    border-color:#79c7a4 !important;

    box-shadow:
        0 22px 48px
        rgba(35,137,96,.15);
}


/* ---------------------------------------------------------
   3. PROFESSIONAL — PURPLE
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:nth-child(3):hover {
    background:
        linear-gradient(
            145deg,
            #f1edff,
            #e5dcff
        ) !important;

    border-color:#a58be8 !important;

    box-shadow:
        0 24px 52px
        rgba(112,78,190,.18);
}


/* ---------------------------------------------------------
   4. EXECUTIVE — WARM GOLD
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:nth-child(4):hover {
    background:
        linear-gradient(
            145deg,
            #fff5df,
            #fce9c3
        ) !important;

    border-color:#e4b866 !important;

    box-shadow:
        0 22px 48px
        rgba(174,122,35,.16);
}


/* ---------------------------------------------------------
   5. ENTERPRISE — DEEP BLUE
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:nth-child(5):hover,
.ao-price-card.is-enterprise:hover {
    background:
        linear-gradient(
            145deg,
            #18355e,
            #244d80 55%,
            #315f99
        ) !important;

    border-color:#6594d0 !important;

    box-shadow:
        0 25px 58px
        rgba(17,48,89,.28);
}


/* ---------------------------------------------------------
   LIGHT CARD TEXT CONTRAST
   FREE / PERSONAL / PROFESSIONAL / EXECUTIVE
   --------------------------------------------------------- */

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-head h2 {
    color:#14243b !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-head p {
    color:#4d6078 !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-value strong {
    color:#0e1d32 !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-value span {
    color:#53657b !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-features li {
    color:#33465e !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-features li > span {
    color:#245fd0 !important;
}

.ao-pricing-grid
.ao-price-card:not(.is-enterprise):hover
.ao-price-divider {
    background:
        rgba(35,62,96,.15) !important;
}


/* ---------------------------------------------------------
   ENTERPRISE TEXT CONTRAST
   --------------------------------------------------------- */

.ao-price-card.is-enterprise:hover
.ao-price-head h2,
.ao-price-card.is-enterprise:hover
.ao-price-value strong {
    color:#ffffff !important;
}

.ao-price-card.is-enterprise:hover
.ao-price-head p,
.ao-price-card.is-enterprise:hover
.ao-price-value span {
    color:#d5e2f2 !important;
}

.ao-price-card.is-enterprise:hover
.ao-price-features li {
    color:#edf4fc !important;
}

.ao-price-card.is-enterprise:hover
.ao-price-features li > span {
    color:#91c7ff !important;
}


/* ---------------------------------------------------------
   BUTTONS ON HOVER
   --------------------------------------------------------- */

.ao-price-card:not(.is-enterprise):hover
.ao-price-button:not(.is-primary) {
    border-color:
        rgba(38,65,100,.18) !important;

    color:#203751 !important;

    background:
        rgba(255,255,255,.72) !important;
}

.ao-price-card.is-popular:hover
.ao-price-button.is-primary {
    color:#ffffff !important;

    background:
        linear-gradient(
            135deg,
            #5578e8,
            #7555d7
        ) !important;

    box-shadow:
        0 11px 25px
        rgba(82,69,171,.22);
}

.ao-price-card.is-enterprise:hover
.ao-price-button.is-enterprise {
    color:#ffffff !important;

    border-color:
        rgba(255,255,255,.35) !important;

    background:
        rgba(255,255,255,.14) !important;
}


/* Lift all cards consistently */

.ao-pricing-grid
.ao-price-card:hover {
    transform:translateY(-7px);
}


/* Touch devices should not remain visually stuck in hover */

@media (hover:none) {

    .ao-pricing-grid
    .ao-price-card:hover {
        transform:none;
    }

}

/* =========================================================
   AUTOOFFICE CLICKABLE PRICING CARDS V1
   ========================================================= */

.ao-price-card-clickable {
    cursor:pointer;
}

.ao-price-card-clickable:focus-visible {
    outline:
        3px solid
        rgba(79,124,255,.28);

    outline-offset:4px;
}

/* =========================================================
   AUTOOFFICE NATIVE PRICING CARD LINK V1
   Whole card works without JavaScript.
   ========================================================= */

.ao-price-card {
    position:relative;
}


/*
 * Invisible native link covering the complete card.
 */
.ao-price-card-overlay {
    position:absolute;

    inset:0;

    z-index:5;

    display:block;

    border-radius:inherit;

    text-decoration:none;
}


/*
 * Actual CTA buttons remain above the card overlay.
 */
.ao-price-action {
    position:relative;

    z-index:10;
}


/*
 * Most Popular badge should remain visible.
 */
.ao-price-badge {
    z-index:11;
    pointer-events:none;
}


/*
 * Keyboard focus for the native card link.
 */
.ao-price-card-overlay:focus-visible {
    outline:
        3px solid
        rgba(79,124,255,.34);

    outline-offset:4px;
}


/*
 * Card itself shows clickability.
 */
.ao-price-card:has(
    .ao-price-card-overlay
) {
    cursor:pointer;
}

/* =========================================================
   AUTOOFFICE PRICING PLAN STATE FINAL V2
   ========================================================= */


/* CURRENT PLAN */

.ao-price-button.is-current {
    cursor:default;

    border-color:
        rgba(30,170,115,.26) !important;

    color:#137d58 !important;

    background:#e9f8f1 !important;

    box-shadow:none !important;
}

.ao-price-button.is-current:hover {
    transform:none !important;
    box-shadow:none !important;
}


/* CURRENT PLAN CARD */

.ao-price-card:has(
    .ao-price-button.is-current
) {
    border-color:
        rgba(30,170,115,.38);

    box-shadow:
        0 14px 38px
        rgba(30,170,115,.08);
}


/* SWITCH TO LOWER PLAN */

.ao-price-button.is-switch {
    border-color:#d8e0ea !important;

    color:#53657b !important;

    background:#f4f7fa !important;
}


/* NON-CLICKABLE CURRENT / ADMIN CARD */

.ao-price-card:not(
    :has(.ao-price-card-overlay)
) {
    cursor:default;
}

.ao-price-card:not(
    :has(.ao-price-card-overlay)
):hover {
    transform:none;
}


/* MOBILE */

@media (max-width:620px) {

    .ao-price-button.is-current,
    .ao-price-button.is-switch {
        min-height:46px;
    }

}

/* =========================================================
   AUTOOFFICE HEADER ACCOUNT UI V1
   ========================================================= */

.ao-account {
    position:relative;
}

.ao-account-trigger {
    min-height:44px;

    display:flex;
    align-items:center;

    gap:9px;

    padding:5px 9px 5px 6px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;

    color:#ffffff;
    background:rgba(255,255,255,.055);

    cursor:pointer;

    font-family:"Inter",sans-serif;

    transition:
        background 160ms ease,
        border-color 160ms ease;
}

.ao-account-trigger:hover,
.ao-account-trigger.is-open {
    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.10);
}


/* AVATAR */

.ao-account-avatar {
    width:32px;
    height:32px;

    flex:0 0 32px;

    display:grid;
    place-items:center;

    border-radius:50%;

    object-fit:cover;
}

.ao-account-initial {
    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #805ce9
        );

    font-family:"Manrope",sans-serif;
    font-size:12px;
    font-weight:800;
}


/* USER NAME / PLAN */

.ao-account-copy {
    min-width:0;

    display:block;

    text-align:left;
}

.ao-account-copy strong,
.ao-account-copy small {
    display:block;

    max-width:135px;

    overflow:hidden;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.ao-account-copy strong {
    color:#ffffff;

    font-size:11px;
    font-weight:700;
}

.ao-account-copy small {
    margin-top:2px;

    color:#b5c2d5;

    font-size:9px;
}

.ao-account-chevron {
    margin-left:2px;

    color:#91a1b7;

    font-size:10px;

    transition:transform 160ms ease;
}

.ao-account-trigger.is-open
.ao-account-chevron {
    transform:rotate(180deg);
}


/* DROPDOWN */

.ao-account-menu {
    position:absolute;

    z-index:1200;

    top:calc(100% + 10px);
    right:0;

    width:275px;

    padding:9px;

    border:1px solid #e1e7ef;
    border-radius:15px;

    background:#ffffff;

    box-shadow:
        0 22px 55px
        rgba(8,24,48,.20);
}

.ao-account-menu[hidden] {
    display:none !important;
}


/* DROPDOWN HEADER */

.ao-account-menu-head {
    padding:12px 12px 13px;

    margin-bottom:6px;

    border-bottom:1px solid #edf0f5;
}

.ao-account-menu-head strong,
.ao-account-menu-head span,
.ao-account-menu-head small {
    display:block;

    overflow:hidden;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.ao-account-menu-head strong {
    color:#203149;

    font-size:13px;
}

.ao-account-menu-head span {
    margin-top:3px;

    color:#7c899c;

    font-size:10px;
}

.ao-account-menu-head small {
    margin-top:6px;

    color:#4f70df;

    font-size:9px;
    font-weight:750;
}


/* MENU LINKS */

.ao-account-menu-link {
    width:100%;

    display:flex;
    align-items:center;

    gap:10px;

    padding:10px;

    border:0;
    border-radius:10px;

    color:#33465e;
    background:transparent;

    text-align:left;
    text-decoration:none;

    cursor:pointer;

    font-family:"Inter",sans-serif;
}

.ao-account-menu-link:hover {
    background:#f3f6fa;
}

.ao-account-menu-link > span {
    width:28px;
    height:28px;

    flex:0 0 28px;

    display:grid;
    place-items:center;

    border-radius:8px;

    color:#4f70df;
    background:#edf3ff;

    font-size:9px;
    font-weight:800;
}

.ao-account-menu-link > div {
    min-width:0;
}

.ao-account-menu-link strong,
.ao-account-menu-link small {
    display:block;
}

.ao-account-menu-link strong {
    color:#304158;

    font-size:11px;
}

.ao-account-menu-link small {
    margin-top:3px;

    color:#8b98aa;

    font-size:9px;
}


/* LOGOUT */

.ao-account-logout-form {
    margin:6px 0 0;

    padding-top:6px;

    border-top:1px solid #edf0f5;
}

.ao-account-logout > span {
    color:#c64e63;

    background:#fff0f3;
}

.ao-account-logout strong {
    color:#a93e51;
}


/* MOBILE */

@media (max-width:760px) {

    .ao-account-copy {
        display:none;
    }

    .ao-account-trigger {
        padding:5px;
    }

    .ao-account-chevron {
        display:none;
    }

    .ao-account-menu {
        position:fixed;

        top:75px;
        right:12px;

        width:
            min(
                290px,
                calc(100vw - 24px)
            );
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE PLAN METER V1
   ========================================================= */

.ao-ws-plan-meter {
    width:min(100%,780px);

    display:flex;
    align-items:center;

    gap:18px;

    margin:
        0 auto
        20px;

    padding:
        11px 14px;

    border:
        1px solid
        #e3e8f0;

    border-radius:12px;

    background:
        rgba(255,255,255,.92);

    box-shadow:
        0 5px 18px
        rgba(25,45,75,.045);
}

.ao-ws-plan-meter-main {
    flex:0 0 auto;
}

.ao-ws-plan-label {
    display:block;

    margin-bottom:2px;

    color:#4f70df;

    font-size:9px;
    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.07em;
}

.ao-ws-plan-meter-main strong {
    display:block;

    color:#293a52;

    font-size:11px;
    font-weight:700;
}


/* USAGE */

.ao-ws-plan-usage {
    min-width:150px;

    flex:1;
}

.ao-ws-plan-usage > span {
    display:block;

    margin-bottom:5px;

    color:#8794a6;

    font-size:9px;

    text-align:right;
}

.ao-ws-plan-progress {
    width:100%;
    height:5px;

    overflow:hidden;

    border-radius:99px;

    background:#e9edf3;
}

.ao-ws-plan-progress > span {
    display:block;

    height:100%;

    border-radius:inherit;

    background:
        linear-gradient(
            90deg,
            #4778ff,
            #785de8
        );
}


/* PLAN LINK */

.ao-ws-plan-link {
    flex:0 0 auto;

    padding:
        6px 9px;

    border:
        1px solid
        #dce3ee;

    border-radius:8px;

    color:#536b91;

    background:#f8faff;

    font-size:9px;
    font-weight:700;

    text-decoration:none;
}

.ao-ws-plan-link:hover {
    border-color:#bfcbe0;

    color:#3156b5;

    background:#f0f4ff;
}


@media (max-width:680px) {

    .ao-ws-plan-meter {
        align-items:flex-start;
        flex-wrap:wrap;

        gap:10px 14px;
    }

    .ao-ws-plan-usage {
        min-width:
            calc(100% - 110px);
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE PLAN LIMIT MESSAGE V1
   ========================================================= */

.ao-ws-message-row.is-plan-limit
.ao-ws-message {
    border-color:
        rgba(211,151,43,.24);

    background:#fffaf0;
}

.ao-ws-plan-error-link {
    display:inline-flex;

    margin-top:10px;

    padding:
        6px 10px;

    border-radius:8px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-size:10px;
    font-weight:750;

    text-decoration:none;
}

.ao-ws-plan-error-link:hover {
    transform:translateY(-1px);
}

/* =========================================================
   AUTOOFFICE WORKSPACE REAL HISTORY V1
   ========================================================= */

.ao-ws-history-list {
    display:grid;
    gap:3px;
}

.ao-ws-history-empty {
    padding:
        13px 10px;

    color:#9aa6b6;

    font-size:9px;
    line-height:1.5;
}

.ao-ws-history-item {
    transition:
        background 150ms ease,
        transform 150ms ease;
}

.ao-ws-history-item:hover {
    background:#f0f4fa;
}

.ao-ws-history-item.is-active {
    background:#e9f1ff;
}

/* =========================================================
   AUTOOFFICE WORKSPACE HISTORY ACTIONS V1
   ========================================================= */

.ao-ws-history-row {
    position:relative;

    display:flex;
    align-items:center;

    min-width:0;
}

.ao-ws-history-row
.ao-ws-history-item {
    flex:1;
    min-width:0;

    padding-right:34px;
}

.ao-ws-history-more {
    position:absolute;

    z-index:3;

    top:50%;
    right:5px;

    width:28px;
    height:28px;

    display:grid;
    place-items:center;

    transform:translateY(-50%);

    border:0;
    border-radius:7px;

    color:#8795a9;
    background:transparent;

    cursor:pointer;

    font-size:14px;
    font-weight:800;

    opacity:0;

    transition:
        opacity 140ms ease,
        background 140ms ease,
        color 140ms ease;
}

.ao-ws-history-row:hover
.ao-ws-history-more,
.ao-ws-history-more:focus,
.ao-ws-history-more[aria-expanded="true"] {
    opacity:1;
}

.ao-ws-history-more:hover {
    color:#33465e;
    background:#e6edf7;
}


/* POPUP */

.ao-ws-history-menu {
    position:absolute;

    z-index:20;

    top:
        calc(100% - 4px);

    right:4px;

    width:112px;

    padding:5px;

    border:
        1px solid
        #dfe5ed;

    border-radius:9px;

    background:#ffffff;

    box-shadow:
        0 12px 30px
        rgba(18,38,70,.15);
}

.ao-ws-history-menu[hidden] {
    display:none !important;
}

.ao-ws-history-menu button {
    width:100%;

    padding:8px 9px;

    border:0;
    border-radius:6px;

    color:#42536a;
    background:transparent;

    text-align:left;

    font-family:"Inter",sans-serif;
    font-size:9px;
    font-weight:650;

    cursor:pointer;
}

.ao-ws-history-menu button:hover {
    background:#f1f5fa;
}

.ao-ws-history-menu
button.is-danger {
    color:#b34256;
}

.ao-ws-history-menu
button.is-danger:hover {
    background:#fff0f3;
}

/* =========================================================
   AUTOOFFICE WORKSPACE CONVERSATION SEARCH V1
   ========================================================= */

.ao-ws-search-panel {
    margin:
        8px 0
        10px;

    padding:
        8px;

    border:
        1px solid
        #e1e7ef;

    border-radius:10px;

    background:#ffffff;
}

.ao-ws-search-panel[hidden] {
    display:none !important;
}

.ao-ws-search-box {
    display:flex;
    align-items:center;

    gap:6px;
}

.ao-ws-search-box > span {
    color:#8b98aa;

    font-size:12px;
}

.ao-ws-search-box input {
    min-width:0;
    flex:1;

    height:32px;

    padding:
        0 5px;

    border:0;
    outline:0;

    color:#2c3e56;
    background:transparent;

    font-family:"Inter",sans-serif;
    font-size:10px;
}

.ao-ws-search-box input::placeholder {
    color:#a1adbd;
}

.ao-ws-search-box button {
    width:25px;
    height:25px;

    border:0;
    border-radius:6px;

    color:#8290a3;
    background:transparent;

    cursor:pointer;

    font-size:15px;
}

.ao-ws-search-box button:hover {
    color:#34465d;
    background:#f0f4f8;
}

.ao-ws-search-status {
    min-height:12px;

    margin-top:5px;

    color:#97a3b4;

    font-size:8px;
}

/* =========================================================
   AUTOOFFICE WORKSPACE SETTINGS UI V1
   ========================================================= */

.ao-ws-settings-panel {
    margin-top:9px;

    padding:11px;

    border:1px solid #dfe6ef;
    border-radius:11px;

    background:#ffffff;

    box-shadow:
        0 10px 28px
        rgba(20,40,70,.07);
}

.ao-ws-settings-panel[hidden] {
    display:none !important;
}

.ao-ws-settings-head {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:10px;

    margin-bottom:12px;
}

.ao-ws-settings-head strong {
    color:#304158;

    font-size:10px;
}

.ao-ws-settings-head button {
    width:24px;
    height:24px;

    border:0;
    border-radius:6px;

    color:#8491a3;
    background:transparent;

    cursor:pointer;

    font-size:15px;
}

.ao-ws-settings-head button:hover {
    color:#34465d;
    background:#f0f4f8;
}


/* SELECTS */

.ao-ws-setting-field {
    display:block;

    margin-bottom:11px;
}

.ao-ws-setting-field > span {
    display:block;

    margin-bottom:5px;

    color:#6c7a8e;

    font-size:8px;
    font-weight:700;
}

.ao-ws-setting-field select {
    width:100%;
    height:33px;

    padding:0 8px;

    border:1px solid #dce3ec;
    border-radius:8px;

    outline:none;

    color:#35465c;
    background:#fafbfd;

    font-family:"Inter",sans-serif;
    font-size:9px;
}


/* TOGGLES */

.ao-ws-setting-toggle {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;

    padding:
        9px 0;

    border-top:
        1px solid #edf0f4;
}

.ao-ws-setting-toggle > span {
    min-width:0;
}

.ao-ws-setting-toggle strong,
.ao-ws-setting-toggle small {
    display:block;
}

.ao-ws-setting-toggle strong {
    color:#3d4e64;

    font-size:9px;
}

.ao-ws-setting-toggle small {
    margin-top:3px;

    color:#929eae;

    font-size:7px;
    line-height:1.4;
}

.ao-ws-setting-toggle input {
    width:16px;
    height:16px;

    flex:0 0 16px;

    accent-color:#4f7cff;
}


/* SAVE */

.ao-ws-settings-status {
    min-height:14px;

    margin-top:6px;

    color:#718198;

    font-size:8px;
}

.ao-ws-settings-status.is-success {
    color:#17845e;
}

.ao-ws-settings-status.is-error {
    color:#b54258;
}

.ao-ws-settings-save {
    width:100%;
    min-height:34px;

    margin-top:4px;

    border:0;
    border-radius:8px;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    font-family:"Inter",sans-serif;
    font-size:9px;
    font-weight:750;

    cursor:pointer;
}

.ao-ws-settings-save:disabled {
    opacity:.6;
    cursor:wait;
}

/* =========================================================
   AUTOOFFICE WORKSPACE GUEST AUTH GATE V1
   ========================================================= */

.ao-ws-message-row.is-auth-required
.ao-ws-message {
    border-color:
        rgba(79,124,255,.20);

    background:#f7f9ff;
}

.ao-ws-auth-required-actions {
    display:flex;
    align-items:center;

    flex-wrap:wrap;

    gap:8px;

    margin-top:13px;
}

.ao-ws-auth-required-actions a {
    min-height:32px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 12px;

    border-radius:8px;

    font-size:10px;
    font-weight:750;

    text-decoration:none;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.ao-ws-auth-required-actions a:hover {
    transform:translateY(-1px);
}

.ao-ws-auth-required-primary {
    border:1px solid transparent;

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #4778ff,
            #725cf0
        );

    box-shadow:
        0 5px 14px
        rgba(79,124,255,.17);
}

.ao-ws-auth-required-secondary {
    border:1px solid #d9e1ec;

    color:#4d6079;

    background:#ffffff;
}

/* =========================================================
   AUTOOFFICE WORKSPACE TYPOGRAPHY FINAL V1

   Readability baseline:
   - Primary UI / navigation: 14px+
   - Secondary text: 12px+
   - Micro labels: 11px minimum
   ========================================================= */


/* ---------------------------------------------------------
   LEFT SIDEBAR
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-sidebar {
    font-size:14px;
}

.ao-workspace-page .ao-ws-sidebar button,
.ao-workspace-page .ao-ws-sidebar a,
.ao-workspace-page .ao-ws-sidebar-link {
    font-size:14px;
}

.ao-workspace-page .ao-ws-sidebar-section-title,
.ao-workspace-page .ao-ws-sidebar-label,
.ao-workspace-page .ao-ws-recent-title {
    font-size:12px !important;
    line-height:1.4;

    letter-spacing:.02em;
}

.ao-workspace-page .ao-ws-history-item strong {
    font-size:13px !important;
    line-height:1.4;
}

.ao-workspace-page .ao-ws-history-item small {
    margin-top:3px;

    font-size:12px !important;
    line-height:1.35;
}

.ao-workspace-page .ao-ws-history-empty {
    font-size:12px !important;
    line-height:1.5;
}

.ao-workspace-page .ao-ws-history-more {
    font-size:17px !important;
}

.ao-workspace-page .ao-ws-history-menu button {
    font-size:13px !important;
}


/* Search */

.ao-workspace-page .ao-ws-search-box input {
    font-size:13px !important;
}

.ao-workspace-page .ao-ws-search-status {
    font-size:11px !important;
}


/* Workspace settings */

.ao-workspace-page .ao-ws-settings-head strong {
    font-size:14px !important;
}

.ao-workspace-page .ao-ws-setting-field > span {
    font-size:12px !important;
}

.ao-workspace-page .ao-ws-setting-field select {
    font-size:13px !important;
}

.ao-workspace-page .ao-ws-setting-toggle strong {
    font-size:13px !important;
}

.ao-workspace-page .ao-ws-setting-toggle small {
    margin-top:4px;

    font-size:11px !important;
    line-height:1.45;
}

.ao-workspace-page .ao-ws-settings-status {
    font-size:11px !important;
}

.ao-workspace-page .ao-ws-settings-save {
    font-size:13px !important;
}


/* ---------------------------------------------------------
   RIGHT SIDEBAR
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-context,
.ao-workspace-page .ao-ws-right-sidebar,
.ao-workspace-page .ao-ws-inspector {
    font-size:14px;
}

.ao-workspace-page .ao-ws-context h2,
.ao-workspace-page .ao-ws-context h3,
.ao-workspace-page .ao-ws-right-sidebar h2,
.ao-workspace-page .ao-ws-right-sidebar h3,
.ao-workspace-page .ao-ws-inspector h2,
.ao-workspace-page .ao-ws-inspector h3 {
    font-size:15px !important;
    line-height:1.35;
}

.ao-workspace-page .ao-ws-context p,
.ao-workspace-page .ao-ws-context li,
.ao-workspace-page .ao-ws-context button,
.ao-workspace-page .ao-ws-context a,
.ao-workspace-page .ao-ws-right-sidebar p,
.ao-workspace-page .ao-ws-right-sidebar li,
.ao-workspace-page .ao-ws-right-sidebar button,
.ao-workspace-page .ao-ws-right-sidebar a,
.ao-workspace-page .ao-ws-inspector p,
.ao-workspace-page .ao-ws-inspector li,
.ao-workspace-page .ao-ws-inspector button,
.ao-workspace-page .ao-ws-inspector a {
    font-size:13px !important;
    line-height:1.5;
}

.ao-workspace-page .ao-ws-context small,
.ao-workspace-page .ao-ws-right-sidebar small,
.ao-workspace-page .ao-ws-inspector small {
    font-size:11px !important;
    line-height:1.45;
}


/* ---------------------------------------------------------
   CENTRAL TOP BAR / INTELLIGENT ROUTING
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-topbar,
.ao-workspace-page .ao-ws-toolbar {
    font-size:14px;
}

.ao-workspace-page .ao-ws-routing,
.ao-workspace-page .ao-ws-routing-label,
.ao-workspace-page .ao-ws-routing-status {
    font-size:13px !important;
    line-height:1.4;
}

.ao-workspace-page .ao-ws-routing strong,
.ao-workspace-page .ao-ws-routing-value {
    font-size:14px !important;
    line-height:1.4;
}


/* Catch current topbar small elements including
   Intelligent routing / Auto without shrinking icons. */

.ao-workspace-page .ao-ws-topbar small,
.ao-workspace-page .ao-ws-toolbar small {
    font-size:12px !important;
    line-height:1.4;
}

.ao-workspace-page .ao-ws-topbar button,
.ao-workspace-page .ao-ws-toolbar button {
    font-size:13px;
}


/* ---------------------------------------------------------
   PLAN METER
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-plan-label {
    font-size:11px !important;
}

.ao-workspace-page .ao-ws-plan-meter-main strong {
    font-size:13px !important;
}

.ao-workspace-page .ao-ws-plan-usage > span {
    font-size:11px !important;
}

.ao-workspace-page .ao-ws-plan-link {
    font-size:12px !important;
}


/* ---------------------------------------------------------
   COMPOSER / SUPPORTING TEXT
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-composer textarea {
    font-size:15px;
    line-height:1.5;
}

.ao-workspace-page .ao-ws-tools button {
    font-size:13px;
}

.ao-workspace-page .ao-ws-disclaimer {
    font-size:11px !important;
    line-height:1.45;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width:760px) {

    .ao-workspace-page .ao-ws-sidebar button,
    .ao-workspace-page .ao-ws-sidebar a,
    .ao-workspace-page .ao-ws-sidebar-link {
        font-size:14px;
    }

    .ao-workspace-page .ao-ws-history-item strong {
        font-size:13px !important;
    }

    .ao-workspace-page .ao-ws-history-item small {
        font-size:12px !important;
    }

    .ao-workspace-page .ao-ws-composer textarea {
        font-size:16px;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE TOOL SELECTION V2
   ========================================================= */

.ao-workspace-page .ao-ws-composer {
    position:relative;
}


/* TOOL MENU */

.ao-workspace-page .ao-ws-tools-menu {
    position:absolute;

    left:12px;
    bottom:58px;

    width:290px;
    max-width:
        calc(100vw - 40px);

    max-height:380px;

    overflow-y:auto;

    padding:8px;

    border:
        1px solid
        #dce4ee;

    border-radius:14px;

    background:#ffffff;

    box-shadow:
        0 18px 48px
        rgba(18,38,70,.16);

    z-index:40;
}

.ao-workspace-page
.ao-ws-tools-menu[hidden] {
    display:none !important;
}

.ao-workspace-page
.ao-ws-tools-menu button {
    width:100%;

    display:block;

    padding:11px 12px;

    border:1px solid transparent;
    border-radius:9px;

    background:transparent;

    text-align:left;

    cursor:pointer;

    transition:
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.ao-workspace-page
.ao-ws-tools-menu button:hover {
    background:#f2f6ff;

    transform:
        translateY(-1px);
}

.ao-workspace-page
.ao-ws-tools-menu button.is-selected {
    border-color:
        rgba(79,124,255,.22);

    background:#edf3ff;
}

.ao-workspace-page
.ao-ws-tools-menu strong,
.ao-workspace-page
.ao-ws-tools-menu small {
    display:block;
}

.ao-workspace-page
.ao-ws-tools-menu strong {
    color:#293c55;

    font-size:14px;
    line-height:1.35;
}

.ao-workspace-page
.ao-ws-tools-menu small {
    margin-top:3px;

    color:#78879b;

    font-size:12px;
    line-height:1.4;
}


/* SELECTED TOOL CHIP */

.ao-workspace-page
.ao-ws-selected-tool {
    width:max-content;

    max-width:
        calc(100% - 20px);

    display:flex;
    align-items:center;

    gap:7px;

    margin:
        9px 10px
        0;

    padding:
        5px 7px
        5px 10px;

    border:
        1px solid
        rgba(79,124,255,.22);

    border-radius:999px;

    color:#385cc9;

    background:#f2f6ff;

    font-size:12px;
    font-weight:700;
    line-height:1.3;
}

.ao-workspace-page
.ao-ws-selected-tool[hidden] {
    display:none !important;
}

.ao-workspace-page
.ao-ws-selected-tool button {
    width:21px;
    height:21px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 21px;

    padding:0;

    border:0;
    border-radius:50%;

    color:#718198;

    background:transparent;

    cursor:pointer;

    font-size:15px;
    line-height:1;
}

.ao-workspace-page
.ao-ws-selected-tool button:hover {
    background:#e2eaff;
}


/* STARTER SELECTED STATE */

.ao-workspace-page
.ao-ws-starter.is-tool-selected {
    border-color:
        rgba(79,124,255,.36);

    background:#f3f6ff;

    box-shadow:
        0 8px 24px
        rgba(79,124,255,.09);
}


/* TOOLS BUTTON SELECTED STATE */

.ao-workspace-page
.ao-ws-tool-mode[aria-expanded="true"] {
    color:#385cc9;

    background:#eef3ff;
}


/* MOBILE */

@media (max-width:760px) {

    .ao-workspace-page
    .ao-ws-tools-menu {
        left:8px;
        right:8px;

        width:auto;
        max-width:none;

        bottom:58px;
    }

    .ao-workspace-page
    .ao-ws-tools-menu strong {
        font-size:14px;
    }

    .ao-workspace-page
    .ao-ws-tools-menu small {
        font-size:12px;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE PLAN + ROUTING FINAL FIX V1

   1. Plan meter must never stretch with conversation.
   2. Intelligent routing typography must remain readable.
   ========================================================= */


/* ---------------------------------------------------------
   PLAN METER
   Never participate in vertical flex expansion.
   --------------------------------------------------------- */

.ao-workspace-page .ao-ws-plan-meter {
    flex:0 0 auto !important;

    align-self:stretch;

    min-height:0 !important;
    height:auto !important;
    max-height:none !important;

    margin:
        10px 12px
        0 !important;

    padding:
        10px 14px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    gap:14px;

    overflow:visible !important;
}


/* Main plan information stays compact */

.ao-workspace-page
.ao-ws-plan-meter-main {
    flex:0 1 auto !important;

    min-height:0 !important;

    display:flex;
    align-items:center;

    gap:8px;
}


/* Administrator / plan name */

.ao-workspace-page
.ao-ws-plan-label {
    margin:0 !important;

    font-size:12px !important;
    line-height:1.25 !important;

    white-space:nowrap;
}


/* Unlimited usage / remaining credits */

.ao-workspace-page
.ao-ws-plan-meter-main strong {
    margin:0 !important;

    font-size:14px !important;
    line-height:1.3 !important;

    white-space:nowrap;
}


/* Paid/free usage section must not grow vertically */

.ao-workspace-page
.ao-ws-plan-usage {
    flex:1 1 auto;

    min-height:0 !important;

    margin:0 !important;
}

.ao-workspace-page
.ao-ws-plan-usage > span {
    font-size:12px !important;
    line-height:1.3 !important;
}


/* View plans link */

.ao-workspace-page
.ao-ws-plan-link {
    flex:0 0 auto;

    font-size:13px !important;
    line-height:1.3 !important;

    white-space:nowrap;
}


/* ---------------------------------------------------------
   CONVERSATION owns the available vertical space.
   The plan meter does not.
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-main {
    min-height:0;
}

.ao-workspace-page
.ao-ws-conversation {
    flex:1 1 auto !important;

    min-height:0;
}


/* ---------------------------------------------------------
   INTELLIGENT ROUTING
   One readability step larger.
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-model {
    min-height:36px;

    display:inline-flex;
    align-items:center;

    gap:9px;

    padding:
        7px 11px !important;

    border-radius:8px;
}


/* Intelligent routing */

.ao-workspace-page
.ao-ws-model > span {
    font-size:13px !important;
    line-height:1.3 !important;

    font-weight:600;

    letter-spacing:0;
}


/* Auto */

.ao-workspace-page
.ao-ws-model > strong {
    font-size:14px !important;
    line-height:1.3 !important;

    font-weight:750;
}


/* Keep top bar vertically centred */

.ao-workspace-page
.ao-ws-topbar {
    align-items:center !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width:760px) {

    .ao-workspace-page
    .ao-ws-plan-meter {
        padding:
            9px 11px !important;

        gap:8px;
    }

    .ao-workspace-page
    .ao-ws-plan-meter-main {
        flex-wrap:wrap;
    }

    .ao-workspace-page
    .ao-ws-plan-label {
        font-size:12px !important;
    }

    .ao-workspace-page
    .ao-ws-plan-meter-main strong {
        font-size:13px !important;
    }

    .ao-workspace-page
    .ao-ws-model > span {
        font-size:12px !important;
    }

    .ao-workspace-page
    .ao-ws-model > strong {
        font-size:13px !important;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE MAIN GRID FIX V1

   Direct children of .ao-ws-main:
   1. Top bar
   2. Plan meter
   3. Conversation
   4. Composer

   Only conversation may consume remaining vertical space.
   ========================================================= */

.ao-workspace-page .ao-ws-main {
    display:grid !important;

    grid-template-rows:
        auto
        auto
        minmax(0,1fr)
        auto !important;

    min-height:0 !important;
}


/* Explicit row assignment prevents future implicit-grid bugs. */

.ao-workspace-page
.ao-ws-main > .ao-ws-topbar {
    grid-row:1;
}

.ao-workspace-page
.ao-ws-main > .ao-ws-plan-meter {
    grid-row:2;

    align-self:start !important;

    height:auto !important;
    min-height:0 !important;

    max-height:none !important;
}

.ao-workspace-page
.ao-ws-main > .ao-ws-conversation {
    grid-row:3;

    min-height:0 !important;

    overflow-y:auto;
}

.ao-workspace-page
.ao-ws-main > .ao-ws-composer-wrap {
    grid-row:4;

    align-self:end;
}


/* Guest users have no plan meter.
   Their original three-row structure remains correct. */

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter)) {
    grid-template-rows:
        auto
        minmax(0,1fr)
        auto !important;
}

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter))
> .ao-ws-conversation {
    grid-row:2;
}

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter))
> .ao-ws-composer-wrap {
    grid-row:3;
}


/* Mobile also needs four rows when authenticated.
   This overrides the old 52px / 1fr / auto rule. */

@media (max-width:760px) {

    .ao-workspace-page .ao-ws-main {
        grid-template-rows:
            52px
            auto
            minmax(0,1fr)
            auto !important;
    }

    .ao-workspace-page
    .ao-ws-main:not(:has(> .ao-ws-plan-meter)) {
        grid-template-rows:
            52px
            minmax(0,1fr)
            auto !important;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE PLAN TRACK FINAL FIX V2

   Browser diagnosis:
   MAIN GRID:
   58px 351px 288px 159px

   Cause:
   auto grid track stretched vertically.

   Final structure:
   topbar       max-content
   plan         max-content
   conversation minmax(0,1fr)
   composer     max-content
   ========================================================= */

.ao-workspace-page .ao-ws-main {
    display:grid !important;

    grid-template-rows:
        max-content
        max-content
        minmax(0,1fr)
        max-content !important;

    align-content:start !important;

    min-height:0 !important;
}


/* TOP BAR */

.ao-workspace-page
.ao-ws-main > .ao-ws-topbar {
    grid-row:1 !important;

    align-self:start !important;
}


/* PLAN BAR */

.ao-workspace-page
.ao-ws-main > .ao-ws-plan-meter {
    grid-row:2 !important;

    align-self:start !important;

    width:
        calc(100% - 24px) !important;

    height:max-content !important;
    min-height:0 !important;
    max-height:max-content !important;

    box-sizing:border-box;

    margin:
        10px 12px
        0 !important;

    padding:
        10px 14px !important;
}


/* Do not allow children to create vertical expansion. */

.ao-workspace-page
.ao-ws-plan-meter-main {
    height:auto !important;
    min-height:0 !important;
    max-height:max-content !important;
}


/* CONVERSATION IS THE ONLY FLEXIBLE GRID TRACK */

.ao-workspace-page
.ao-ws-main > .ao-ws-conversation {
    grid-row:3 !important;

    align-self:stretch !important;

    min-height:0 !important;

    overflow-y:auto;
}


/* COMPOSER */

.ao-workspace-page
.ao-ws-main > .ao-ws-composer-wrap {
    grid-row:4 !important;

    align-self:end !important;
}


/* ---------------------------------------------------------
   GUEST — no plan meter
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter)) {
    grid-template-rows:
        max-content
        minmax(0,1fr)
        max-content !important;

    align-content:start !important;
}

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter))
> .ao-ws-conversation {
    grid-row:2 !important;
}

.ao-workspace-page
.ao-ws-main:not(:has(> .ao-ws-plan-meter))
> .ao-ws-composer-wrap {
    grid-row:3 !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width:760px) {

    .ao-workspace-page .ao-ws-main {
        grid-template-rows:
            52px
            max-content
            minmax(0,1fr)
            max-content !important;

        align-content:start !important;
    }

    .ao-workspace-page
    .ao-ws-main:not(:has(> .ao-ws-plan-meter)) {
        grid-template-rows:
            52px
            minmax(0,1fr)
            max-content !important;
    }
}

/* =========================================================
   AUTOOFFICE WORK PANEL READABILITY + FILE ICONS V1
   ========================================================= */


/* ---------------------------------------------------------
   RIGHT PANEL TYPOGRAPHY
   One readability step larger.
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-workpanel-head > div > span {
    font-size:12px !important;
    line-height:1.3;

    letter-spacing:.08em;
}

.ao-workspace-page
.ao-ws-workpanel-head strong {
    font-size:15px !important;
    line-height:1.35 !important;
}


/* Close button also needs to remain visually clear */

.ao-workspace-page
.ao-ws-workpanel-head > button {
    font-size:18px !important;
    line-height:1;
}


/* Empty work panel title */

.ao-workspace-page
.ao-ws-empty-work > strong {
    font-size:15px !important;
    line-height:1.4 !important;
}


/* Empty work panel description */

.ao-workspace-page
.ao-ws-empty-work > p {
    max-width:250px;

    font-size:13px !important;
    line-height:1.6 !important;
}


/* Central sparkle icon */

.ao-workspace-page
.ao-ws-empty-icon {
    width:56px;
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:19px !important;
}


/* ---------------------------------------------------------
   FILE TYPE ICON CARDS
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-types {
    display:flex;
    align-items:center;
    justify-content:center;

    flex-wrap:wrap;

    gap:8px;
}


/* Replace old tiny text badge appearance */

.ao-workspace-page
.ao-ws-work-types
.ao-ws-work-type {
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 42px;

    padding:0;

    border:
        1px solid
        #dce5f0;

    border-radius:10px;

    color:#60738d;

    background:#ffffff;

    box-shadow:
        0 3px 10px
        rgba(24,46,76,.045);

    cursor:default;

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease;
}


.ao-workspace-page
.ao-ws-work-types
.ao-ws-work-type:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(79,124,255,.30);

    color:#4f70df;

    background:#f4f7ff;
}


/* SVG is intentionally larger than the old labels */

.ao-workspace-page
.ao-ws-work-type svg {
    width:23px;
    height:23px;

    display:block;

    fill:none !important;

    stroke:currentColor !important;
    stroke-width:1.65;
    stroke-linecap:round;
    stroke-linejoin:round;

    overflow:visible;
}


/* Prevent global SVG rules from filling these icons */

.ao-workspace-page
.ao-ws-work-type svg *,
.ao-workspace-page
.ao-ws-work-type svg path,
.ao-workspace-page
.ao-ws-work-type svg rect,
.ao-workspace-page
.ao-ws-work-type svg circle {
    fill:none !important;

    stroke:currentColor !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width:760px) {

    .ao-workspace-page
    .ao-ws-workpanel-head > div > span {
        font-size:11px !important;
    }

    .ao-workspace-page
    .ao-ws-workpanel-head strong {
        font-size:14px !important;
    }

    .ao-workspace-page
    .ao-ws-empty-work > strong {
        font-size:14px !important;
    }

    .ao-workspace-page
    .ao-ws-empty-work > p {
        font-size:12px !important;
    }

    .ao-workspace-page
    .ao-ws-work-types
    .ao-ws-work-type {
        width:40px;
        height:40px;

        flex-basis:40px;
    }

    .ao-workspace-page
    .ao-ws-work-type svg {
        width:22px;
        height:22px;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE FILE TYPE COLOURS V1
   ========================================================= */


/* ---------------------------------------------------------
   DOCUMENT — BLUE
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-type:nth-child(1) {
    color:#3974e8;

    border-color:
        rgba(57,116,232,.20);

    background:
        rgba(57,116,232,.075);
}

.ao-workspace-page
.ao-ws-work-type:nth-child(1):hover {
    color:#285fc8;

    border-color:
        rgba(57,116,232,.34);

    background:
        rgba(57,116,232,.13);
}


/* ---------------------------------------------------------
   SPREADSHEET — GREEN
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-type:nth-child(2) {
    color:#24a56a;

    border-color:
        rgba(36,165,106,.20);

    background:
        rgba(36,165,106,.075);
}

.ao-workspace-page
.ao-ws-work-type:nth-child(2):hover {
    color:#178552;

    border-color:
        rgba(36,165,106,.34);

    background:
        rgba(36,165,106,.13);
}


/* ---------------------------------------------------------
   PRESENTATION — ORANGE
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-type:nth-child(3) {
    color:#e27632;

    border-color:
        rgba(226,118,50,.22);

    background:
        rgba(226,118,50,.08);
}

.ao-workspace-page
.ao-ws-work-type:nth-child(3):hover {
    color:#c45e20;

    border-color:
        rgba(226,118,50,.36);

    background:
        rgba(226,118,50,.14);
}


/* ---------------------------------------------------------
   PDF — RED
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-type:nth-child(4) {
    color:#df4c55;

    border-color:
        rgba(223,76,85,.20);

    background:
        rgba(223,76,85,.075);
}

.ao-workspace-page
.ao-ws-work-type:nth-child(4):hover {
    color:#bf3540;

    border-color:
        rgba(223,76,85,.35);

    background:
        rgba(223,76,85,.13);
}


/* ---------------------------------------------------------
   IMAGE — PURPLE
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-work-type:nth-child(5) {
    color:#8a5ce2;

    border-color:
        rgba(138,92,226,.20);

    background:
        rgba(138,92,226,.075);
}

.ao-workspace-page
.ao-ws-work-type:nth-child(5):hover {
    color:#7044c5;

    border-color:
        rgba(138,92,226,.35);

    background:
        rgba(138,92,226,.13);
}


/* Keep SVG tied to each card colour */

.ao-workspace-page
.ao-ws-work-type svg,
.ao-workspace-page
.ao-ws-work-type svg * {
    stroke:currentColor !important;
}

/* =========================================================
   AUTOOFFICE WORKPANEL COLLAPSE V1

   Open:
   sidebar | main | work panel

   Closed:
   sidebar | expanded main | 24px right breathing space

   Reopen control remains at the upper-right.
   ========================================================= */


/* ---------------------------------------------------------
   COLLAPSED GRID
   --------------------------------------------------------- */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed {
    grid-template-columns:
        var(--ao-ws-sidebar-width, 250px)
        minmax(0,1fr)
        24px !important;
}


/* Hide only the Work panel.
   Do not hide the reopen control. */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-workpanel,

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-work-panel {
    display:none !important;
}


/*
 * Main workspace expands naturally into the former
 * work-panel width because column 2 becomes 1fr.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-main {
    min-width:0;

    width:auto;
}


/* ---------------------------------------------------------
   REOPEN HAMBURGER
   --------------------------------------------------------- */

.ao-workspace-page
.ao-ws-workpanel-open {
    position:absolute;

    top:10px;
    right:24px;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:
        1px solid
        #dce4ef;

    border-radius:9px;

    color:#60738d;

    background:
        rgba(255,255,255,.96);

    box-shadow:
        0 5px 18px
        rgba(22,43,72,.08);

    cursor:pointer;

    z-index:50;

    transition:
        color 150ms ease,
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.ao-workspace-page
.ao-ws-workpanel-open[hidden] {
    display:none !important;
}

.ao-workspace-page
.ao-ws-workpanel-open:hover {
    color:#4f70df;

    border-color:
        rgba(79,112,223,.28);

    background:#f4f7ff;

    transform:
        translateY(-1px);
}

.ao-workspace-page
.ao-ws-workpanel-open svg {
    width:20px;
    height:20px;

    display:block;

    fill:none !important;

    stroke:currentColor !important;
    stroke-width:1.8;
    stroke-linecap:round;
}

.ao-workspace-page
.ao-ws-workpanel-open svg path {
    fill:none !important;
    stroke:currentColor !important;
}


/* ---------------------------------------------------------
   EXISTING CLOSE BUTTON
   Make its purpose clearer.
   --------------------------------------------------------- */

.ao-workspace-page
#workspaceWorkPanelClose {
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border-radius:8px;

    cursor:pointer;
}


/* ---------------------------------------------------------
   MAIN RIGHT BREATHING SPACE
   --------------------------------------------------------- */

/*
 * When the Work panel is closed the final 24px grid
 * column intentionally remains empty. This prevents
 * the central workspace from touching the viewport edge.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-main {
    margin-right:0;
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width:980px) {

    /*
     * Preserve the existing responsive Workspace layout.
     * On narrower screens the reopen button simply floats
     * over the upper-right rather than forcing a new column.
     */

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed {
        grid-template-columns:
            var(--ao-ws-sidebar-width, 220px)
            minmax(0,1fr)
            16px !important;
    }

    .ao-workspace-page
    .ao-ws-workpanel-open {
        right:16px;
    }
}


@media (max-width:760px) {

    .ao-workspace-page
    .ao-ws-workpanel-open {
        top:8px;
        right:12px;

        width:36px;
        height:36px;
    }
}

/* =========================================================
   AUTOOFFICE WORKPANEL REOPEN BUTTON FIX V2
   ========================================================= */


/*
 * Absolute reopen control must use Workspace shell
 * as its positioning context.
 */

.ao-workspace-page
.ao-workspace-shell {
    position:relative !important;
}


/*
 * Default state:
 * reopen control is hidden while Work panel is open.
 */

.ao-workspace-page
#workspaceWorkPanelOpen {
    display:none !important;
}


/*
 * Collapsed state:
 * force the hamburger back into view.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen {
    position:absolute !important;

    top:10px !important;
    right:24px !important;

    width:40px !important;
    height:40px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:0 !important;

    border:
        1px solid
        #d8e1ed !important;

    border-radius:9px !important;

    color:#536a86 !important;

    background:#ffffff !important;

    box-shadow:
        0 6px 20px
        rgba(25,45,75,.12) !important;

    opacity:1 !important;
    visibility:visible !important;

    pointer-events:auto !important;

    transform:none !important;

    z-index:100 !important;

    cursor:pointer;
}


/* Hamburger icon */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen svg {
    width:22px !important;
    height:22px !important;

    display:block !important;

    opacity:1 !important;

    fill:none !important;

    stroke:currentColor !important;
    stroke-width:1.9 !important;
    stroke-linecap:round;
}


.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen svg path {
    fill:none !important;
    stroke:currentColor !important;
}


/* Hover */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen:hover {
    color:#315fd1 !important;

    border-color:
        rgba(79,112,223,.35) !important;

    background:#f3f6ff !important;
}


/*
 * Leave enough room so expanded Main content does
 * not visually collide with the reopen control.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-main {
    margin-right:24px !important;
}


/* Mobile */

@media (max-width:760px) {

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    #workspaceWorkPanelOpen {
        top:8px !important;
        right:12px !important;

        width:38px !important;
        height:38px !important;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-main {
        margin-right:12px !important;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE TOP RIGHT CONTROLS POSITION V1

   When Work panel is collapsed:
   move Intelligent routing + reopen hamburger
   approximately 30px away from the right edge.
   ========================================================= */


/*
 * Reserve visual breathing room on the right side
 * of the expanded top bar.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-topbar {
    padding-right:78px !important;
}


/*
 * Move the Intelligent routing control left.
 * The hamburger occupies the right-most control position.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
.ao-ws-model {
    position:relative;

    right:30px;
}


/*
 * Reopen hamburger:
 * previous right position = 24px
 * new right position = 54px
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen {
    right:54px !important;
}


/*
 * Keep a clean gap between routing control
 * and hamburger.
 */

.ao-workspace-page
.ao-workspace-shell.is-workpanel-collapsed
#workspaceWorkPanelOpen {
    margin-left:10px;
}


/* Tablet */

@media (max-width:980px) {

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-model {
        right:22px;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    #workspaceWorkPanelOpen {
        right:38px !important;
    }
}


/* Mobile: do not waste too much horizontal space */

@media (max-width:760px) {

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-model {
        right:0;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    #workspaceWorkPanelOpen {
        right:12px !important;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-topbar {
        padding-right:58px !important;
    }
}

/* =========================================================
   AUTOOFFICE WORKSPACE ROUTING + HAMBURGER GAP V1

   Hamburger position stays unchanged.
   Move Intelligent routing / Auto back toward hamburger.
   Target visual gap: approximately 20px.
   ========================================================= */

@media (min-width:981px) {

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-model {
        position:relative;

        /*
         * N9 used right:30px which pushed this control
         * too far left. Return it toward the hamburger.
         */
        right:0 !important;

        /*
         * Keep a small deliberate separation from
         * the reopen control.
         */
        margin-right:5px !important;
    }

}

/* =========================================================
   AUTOOFFICE WORKSPACE HAMBURGER POSITION V1
   Desktop only.
   Move reopen hamburger 10px left.
   Routing control remains unchanged.
   ========================================================= */

@media (min-width:981px) {

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    #workspaceWorkPanelOpen {
        right:64px !important;
    }

}

/* AUTOOFFICE_WORKSPACE_CONVERSATION_WIDTH_V1 */

@media (min-width:981px) {

    .ao-workspace-page
    .ao-ws-main
    .ao-ws-conversation > * {
        width:90%;
        max-width:none;
        margin-left:auto;
        margin-right:auto;
        box-sizing:border-box;
    }

    .ao-workspace-page
    .ao-ws-main
    .ao-ws-composer-wrap {
        width:90%;
        max-width:none;
        margin-left:auto;
        margin-right:auto;
        box-sizing:border-box;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-conversation > * {
        width:94%;
        max-width:none;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-composer-wrap {
        width:94%;
        max-width:none;
    }
}

@media (max-width:980px) {

    .ao-workspace-page
    .ao-ws-main
    .ao-ws-conversation > * {
        max-width:100%;
        box-sizing:border-box;
    }

    .ao-workspace-page
    .ao-ws-main
    .ao-ws-composer-wrap {
        width:calc(100% - 24px);
        max-width:none;
        margin-left:auto;
        margin-right:auto;
        box-sizing:border-box;
    }
}

/* AUTOOFFICE_WORKSPACE_COMPOSER_WIDTH_FIX_V1 */

@media (min-width:981px) {

    .ao-workspace-page
    .ao-ws-composer-wrap
    > .ao-ws-composer {
        width:100% !important;
        max-width:none !important;
        min-width:0;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box;
    }

    .ao-workspace-page
    .ao-workspace-shell.is-workpanel-collapsed
    .ao-ws-composer-wrap
    > .ao-ws-composer {
        width:100% !important;
        max-width:none !important;
    }
}


/* AUTOOFFICE_WORKSPACE_THINKING_ROBOT_V1 */

.ao-workspace-page
.ao-ws-message-row.is-waiting
.ao-ws-message-content {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:48px;
}

.ao-workspace-page
.ao-ws-message-row.is-waiting
.ao-ws-message-content::before {
    content:"";
    display:block;
    flex:0 0 44px;
    width:44px;
    height:44px;

    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='11' y='17' width='42' height='35' rx='12' fill='%235965F2'/%3E%3Crect x='16' y='22' width='32' height='25' rx='8' fill='%231D285C'/%3E%3Crect x='5' y='29' width='7' height='13' rx='3.5' fill='%23818AFB'/%3E%3Crect x='52' y='29' width='7' height='13' rx='3.5' fill='%23818AFB'/%3E%3Cpath d='M32 17V10' stroke='%235965F2' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='8' r='4' fill='%234BDBF4'/%3E%3Crect x='21' y='31' width='8' height='6' rx='3' fill='%2355E1FA'/%3E%3Crect x='35' y='31' width='8' height='6' rx='3' fill='%2355E1FA'/%3E%3Cpath d='M27 41Q32 44 37 41' stroke='%238DECFD' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

    animation:
        aoThinkingRobotPulse 1.2s
        ease-in-out infinite;

    transform-origin:center;
}

@keyframes aoThinkingRobotPulse {
    0%,100% {
        transform:scale(.88);
        opacity:.78;
    }

    50% {
        transform:scale(1.08);
        opacity:1;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ao-workspace-page
    .ao-ws-message-row.is-waiting
    .ao-ws-message-content::before {
        animation:none;
    }
}



/* AUTOOFFICE_HISTORY_SCROLLBAR_FIX_V1 */

.ao-workspace-page .ao-ws-history {
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
}

.ao-workspace-page .ao-ws-history::-webkit-scrollbar {
    display:none !important;
    width:0 !important;
    height:0 !important;
}

.ao-workspace-page .ao-ws-history-list {
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}

.ao-workspace-page .ao-ws-history-list::-webkit-scrollbar {
    display:none !important;
}

.ao-ws-history-menu:popover-open {
    position:fixed !important;
    z-index:2147483000 !important;
    margin:0 !important;
    inset:auto !important;
}


/* AUTOOFFICE_HISTORY_MORE_DOTS_SIZE_V1 */

.ao-workspace-page .ao-ws-history-more {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:12px !important;
    font-weight:700 !important;
    letter-spacing:-2px !important;
    line-height:1 !important;

    text-align:center !important;
    white-space:nowrap !important;

    padding:0 3px 0 1px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}



/* AUTOOFFICE_CODING_WORK_ICON_V1 */
.ao-ws-work-types .ao-ws-work-type-code {
    background: #f0f2f5;
    border-color: #d9dee6;
    color: #596579;
}

.ao-ws-work-types .ao-ws-work-type-code:hover {
    background: #e3e8ef;
    border-color: #aab4c2;
    color: #344054;
}

.ao-ws-work-types .ao-ws-work-type-code svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ao-ws-work-types {
    gap: 5px;
}

.ao-ws-work-types .ao-ws-work-type {
    flex-shrink: 1;
    min-width: 0;
}

/*
 * AUTOOFFICE_WORKPANEL_SIX_ICONS_SINGLE_ROW_V1
 * Keep all six work-type icons on one row.
 */

.ao-ws-workpanel .ao-ws-work-types {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.ao-ws-workpanel .ao-ws-work-types
.ao-ws-work-type {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 1 36px !important;
    width: 36px !important;
    min-width: 0 !important;
    max-width: 36px !important;
    height: 38px !important;

    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 7px !important;
}

.ao-ws-workpanel .ao-ws-work-types
.ao-ws-work-type svg {
    width: 19px !important;
    height: 19px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 480px) {
    .ao-ws-workpanel .ao-ws-work-types {
        gap: 3px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .ao-ws-workpanel .ao-ws-work-types
    .ao-ws-work-type {
        flex-basis: 34px !important;
        width: 34px !important;
        max-width: 34px !important;
        height: 36px !important;
    }
}



/*
 * AUTOOFFICE_WORKPANEL_WIDE_SIX_ICONS_V1
 * Expand the right portfolio column.
 * Preserve the existing responsive layout.
 */

@media (min-width: 1101px) {

    .ao-workspace-page .ao-workspace-shell:not(.is-workpanel-collapsed) {
        grid-template-columns:
            var(--ao-ws-sidebar-width, 250px)
            minmax(0, 1fr)
            340px !important;
    }

    .ao-workspace-page .ao-ws-workpanel .ao-ws-work-types {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 7px !important;
        padding: 0 4px !important;
    }

    .ao-workspace-page .ao-ws-workpanel
    .ao-ws-work-types .ao-ws-work-type {
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
    }

    .ao-workspace-page .ao-ws-workpanel
    .ao-ws-work-types .ao-ws-work-type svg {
        width: 23px !important;
        height: 23px !important;
    }
}

/* AUTOOFFICE_PORTFOLIO_FILTER_V1 */
.ao-ws-work-types button.ao-ws-work-type {
    cursor: pointer !important;
    font: inherit;
}

.ao-ws-work-types button.is-portfolio-active {
    outline: 2px solid #5b7df1;
    outline-offset: 2px;
}

.ao-ws-portfolio-results {
    margin: 16px 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.ao-ws-portfolio-results[hidden] {
    display: none !important;
}

.ao-ws-portfolio-results > strong {
    display: block;
    margin-bottom: 12px;
}

.ao-ws-portfolio-file {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f5;
}

.ao-ws-portfolio-file:last-child {
    border-bottom: none;
}

.ao-ws-portfolio-file small {
    color: #64748b;
}


/*
 * AUTOOFFICE_PORTFOLIO_ICON_SPACING_V1
 * Remove the upper divider and add footer spacing.
 * Preserve six-icon layout and interactions.
 */

.ao-workspace-page
.ao-ws-workpanel
.ao-ws-work-types {
    border-top: none !important;
    box-shadow: none !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 12px !important;
    padding-bottom: 16px !important;
}

/* Keep icon buttons unchanged. */

.ao-workspace-page
.ao-ws-workpanel
.ao-ws-work-types::before,
.ao-workspace-page
.ao-ws-workpanel
.ao-ws-work-types::after {
    content: none !important;
    display: none !important;
}

/* Ensure the work panel does not add a divider. */

.ao-workspace-page
.ao-ws-workpanel {
    border-bottom: none !important;
}


/*
 * AUTOOFFICE_PORTFOLIO_DOWNLOAD_BUTTON_V1
 */

.ao-ws-portfolio-file {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ao-ws-portfolio-file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ao-ws-portfolio-download {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce5f0;
    border-radius: 9px;

    background: #f7f9fd;
    color: #526b92;

    font-size: 21px;
    font-weight: 600;
    text-decoration: none;
}

.ao-ws-portfolio-download:hover {
    background: #eaf1ff;
    color: #3156a0;
}

.ao-ws-portfolio-download[aria-disabled="true"] {
    opacity: .4;
    pointer-events: none;
}

/* =========================================================
   AUTOOFFICE_WORKSPACE_GRID_HEIGHT_V1

   Prevent grid children from exceeding the shell height.
   Keep conversation scrolling independent.
   Do not change page/footer scrolling.
   ========================================================= */

@media (min-width: 761px) {

    .ao-workspace-page .ao-workspace-shell {
        grid-template-rows: minmax(0, 1fr) !important;
        align-items: stretch !important;
    }

    .ao-workspace-page .ao-ws-sidebar,
    .ao-workspace-page .ao-ws-main,
    .ao-workspace-page .ao-ws-workpanel {
        min-height: 0 !important;
        max-height: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .ao-workspace-page .ao-ws-main {
        overflow: hidden !important;
    }

    .ao-workspace-page .ao-ws-main > .ao-ws-conversation {
        min-height: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    .ao-workspace-page .ao-ws-main > .ao-ws-composer-wrap {
        min-height: 0 !important;
        flex-shrink: 0 !important;
    }

    /*
     * AUTOOFFICE_WORKPANEL_SCROLL_8D815
     * Allow independent scrolling in the WORK panel.
     */
    .ao-workspace-page .ao-ws-workpanel {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
        min-height: 0 !important;
    }

    .ao-workspace-page .ao-ws-work-types {
        flex-shrink: 0 !important;
    }
}


/* AutOffice Assistant UI refinement - 8D230 */

/* Reduce shared header logo display size */


/* Calendar page top spacing */
.ao-assistant-page {
    padding-top: 36px !important;
}

/* English time selectors */
.ao-assistant-page .ao-time-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d4def0;
    border-radius: 11px;
    background: #fff;
    color: #17243c;
    font: inherit;
    padding: 10px 12px;
}

.ao-assistant-page .ao-time-select:focus {
    outline: 2px solid #6366f1;
    outline-offset: 1px;
}

/* AutOffice AI-R3U-3B-7E-8D-231 */

/* Restore logo to 95% of original display size */


/* Move the entire Assistant page below the header */
.ao-main .ao-assistant-page {
    padding-top: 86px !important;
}

/* Keep heading spacing consistent */
.ao-assistant-page h1 {
    margin-top: 0;
}



/* AutOffice 8D232 - exact original logo scaling */
.ao-header .ao-brand-logo {
    width: 180.5px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}

/* AutOffice AI-R3U-3B-7E-8D-235 */
.ao-assistant-page .ao-time-control {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    border: 1px solid #d4def0;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
}

.ao-assistant-page .ao-time-control .ao-time-select {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
}

.ao-assistant-page .ao-time-control .ao-ampm-select {
    flex: 0 0 76px;
    width: 76px;
    min-width: 76px;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 10px;
    border: 0 !important;
    border-left: 1px solid #d4def0 !important;
    border-radius: 0 !important;
    background: #f7f8ff;
    color: #27375b;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ao-assistant-page .ao-time-control:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
