:root {
    --bg: #eef5ff;
    --panel: #ffffff;
    --ink: #172033;
    --muted: #6b7280;
    --line: #dfe4ee;
    --blue: #095cff;
    --cyan: #00a8e8;
    --green: #10d98a;
    --amber: #b7791f;
    --red: #dc2626;
    --dark: #07152f;
    --glass: rgba(255, 255, 255, .78);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(9, 92, 255, .08), rgba(0, 168, 232, .06) 42%, rgba(16, 217, 138, .08)),
        var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(9, 92, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 92, 255, .055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

button,
input {
    font: inherit;
}

.shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 16px 18px;
    background:
        radial-gradient(circle at 18% 18%, rgba(9, 92, 255, .18), transparent 34%),
        radial-gradient(circle at 88% 62%, rgba(16, 217, 138, .2), transparent 34%),
        linear-gradient(180deg, #f8fcff 0%, #e7f7ff 48%, #e9fff7 100%);
    color: var(--ink);
    border-right: 1px solid rgba(9, 92, 255, .12);
    box-shadow: 16px 0 40px rgba(9, 92, 255, .08);
    overflow: hidden;
}

.sidebar::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 96px;
    bottom: auto;
    height: 430px;
    pointer-events: none;
    background: url("../images/agentstanding.png") center center / contain no-repeat;
    opacity: .9;
    filter: saturate(1.2) contrast(1.08) drop-shadow(0 22px 34px rgba(9, 92, 255, .22));
    z-index: 0;
    transform-origin: center bottom;
    animation: robotIdle 5.2s ease-in-out infinite;
}

.sidebar::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 116px;
    height: 380px;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0%, rgba(0, 168, 232, .22) 48%, transparent 100%),
        radial-gradient(circle at 50% 42%, rgba(16, 217, 138, .16), transparent 42%);
    opacity: .45;
    mix-blend-mode: multiply;
    z-index: 0;
    transform: translateY(-16px);
    animation: robotScan 3.8s ease-in-out infinite;
}

.sidebar > * {
    position: relative;
    z-index: 1;
}

@keyframes robotIdle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: saturate(1.2) contrast(1.08) drop-shadow(0 22px 34px rgba(9, 92, 255, .22));
    }

    45% {
        transform: translateY(-7px) rotate(.7deg) scale(1.012);
        filter: saturate(1.28) contrast(1.1) drop-shadow(0 28px 38px rgba(0, 168, 232, .28));
    }

    70% {
        transform: translateY(-3px) rotate(-.45deg) scale(1.006);
    }
}

@keyframes robotScan {
    0%,
    100% {
        opacity: .18;
        transform: translateY(-20px);
    }

    48% {
        opacity: .5;
        transform: translateY(72px);
    }
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--ink);
    text-decoration: none;
    min-height: 52px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.brand-logo {
    width: 172px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.sidebar-workflow {
    position: absolute;
    top: 126px;
    left: 16px;
    right: 16px;
    height: 370px;
    pointer-events: none;
    z-index: 2;
}

.workflow-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 82px;
    padding: 6px 8px;
    border: 1px solid rgba(9, 92, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    color: #07152f;
    box-shadow: 0 12px 26px rgba(9, 92, 255, .12);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    backdrop-filter: blur(5px);
    animation: workflowPulse 6s ease-in-out infinite;
}

.workflow-node i {
    color: white;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    font-size: 9px;
}

.workflow-left {
    left: 0;
    justify-content: flex-start;
}

.workflow-right {
    right: 0;
    justify-content: flex-start;
}

.workflow-1 {
    top: 0;
    animation-delay: 0s;
}

.workflow-2 {
    top: 44px;
    animation-delay: .75s;
}

.workflow-3 {
    top: 122px;
    animation-delay: 1.5s;
}

.workflow-4 {
    top: 168px;
    animation-delay: 2.25s;
}

.workflow-5 {
    top: 286px;
    animation-delay: 3s;
}

.workflow-6 {
    top: 318px;
    animation-delay: 3.75s;
}

@keyframes workflowPulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: .78;
        box-shadow: 0 12px 26px rgba(9, 92, 255, .1);
    }

    12% {
        transform: translateY(-3px) scale(1.045);
        opacity: 1;
        box-shadow: 0 16px 32px rgba(0, 168, 232, .22);
    }

    24% {
        transform: translateY(0) scale(1);
        opacity: .82;
    }
}

.brand small,
.system-card small {
    display: block;
    margin-top: 4px;
    color: #526078;
}

.nav {
    display: grid;
    gap: 2px;
    padding: 300px 0 10px;
}

.library-sidebar::before {
    top: 88px;
    height: 330px;
}

.library-sidebar::after {
    top: 102px;
    height: 294px;
}

.library-sidebar .sidebar-workflow {
    top: 112px;
    height: 280px;
}

.library-sidebar .workflow-1 {
    top: 0;
}

.library-sidebar .workflow-2 {
    top: 42px;
}

.library-sidebar .workflow-3 {
    top: 92px;
}

.library-sidebar .workflow-4 {
    top: 134px;
}

.library-sidebar .workflow-5 {
    top: 218px;
}

.library-sidebar .workflow-6 {
    top: 248px;
}

.library-sidebar .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 438px;
    padding: 0;
    z-index: 4;
}

.settings-sidebar .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 560px;
    padding: 0;
    z-index: 4;
}

.settings-sidebar .nav a {
    min-height: 42px;
    padding: 5px 6px 5px 8px;
}

.nav a {
    position: relative;
    color: #17233a;
    text-decoration: none;
    padding: 5px 6px 5px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    font-weight: 850;
    font-size: 15px;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .94),
        0 0 12px rgba(255, 255, 255, .86);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.nav a:hover,
.nav a.active {
    background: rgba(255, 255, 255, .18);
    border-color: transparent;
    color: #07152f;
    transform: translateX(4px);
}

.nav a::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    width: 5px;
    height: 18px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--blue), var(--cyan), var(--green));
    transform: translateY(-50%);
    opacity: .32;
}

.system-card {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(6px);
    box-shadow: 0 14px 32px rgba(9, 92, 255, .08);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(15, 159, 122, .16);
}

.main {
    min-width: 0;
    padding: 18px 30px 30px;
    position: relative;
    overflow: hidden;
}

.dashboard-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 54px;
    margin: -18px -30px 18px;
    padding: 8px 30px;
    border-bottom: 1px solid rgba(9, 92, 255, .1);
    background: rgba(248, 252, 255, .9);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(9, 92, 255, .07);
    overflow-x: auto;
}

.dashboard-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #20304c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    border-color: rgba(9, 92, 255, .15);
    background: rgba(255, 255, 255, .78);
    color: #07152f;
}

.dashboard-nav i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    font-size: 12px;
    box-shadow: 0 10px 22px rgba(9, 92, 255, .13);
}

.main::before {
    content: "";
    position: fixed;
    right: 34px;
    bottom: 0;
    width: min(360px, 26vw);
    height: min(650px, 72vh);
    pointer-events: none;
    background: url("../images/agentstanding.png") bottom right / contain no-repeat;
    opacity: .16;
    filter: drop-shadow(0 24px 42px rgba(9, 92, 255, .2));
    z-index: 0;
}

.main > * {
    position: relative;
    z-index: 1;
}

.main > .dashboard-nav {
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar,
.panel-head,
.terminal-head,
.agent-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar {
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: 36px;
    line-height: 1.1;
}

h2 {
    margin-bottom: 0;
}

.clock,
#seoBadge {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.mission {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 18px;
    align-items: stretch;
}

.control-panel,
.preview-panel,
.recent-panel {
    background: var(--glass);
    border: 1px solid rgba(9, 92, 255, .12);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(9, 92, 255, .08);
    backdrop-filter: blur(14px);
}

.terminal {
    overflow: hidden;
    border: 1px solid rgba(9, 92, 255, .16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(7, 21, 47, .96), rgba(8, 29, 62, .98));
    color: #dbeafe;
    box-shadow: 0 22px 55px rgba(7, 21, 47, .22);
}

.agent-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(9, 92, 255, .12);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    cursor: pointer;
}

.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(9, 92, 255, .12);
}

.agent-card:focus-visible {
    outline: 3px solid rgba(9, 92, 255, .35);
    outline-offset: 3px;
}

.agent-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--agent-accent, linear-gradient(90deg, var(--blue), var(--cyan)));
}

.control-panel {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 14px;
    padding: 18px;
}

.field.wide {
    grid-column: 1 / -1;
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-row.wide {
    grid-column: 1 / -1;
}

#activateBtn {
    background: linear-gradient(135deg, #0ea5e9, #10d98a);
}


.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

.field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .11);
}

button {
    align-self: end;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    color: white;
    font-weight: 800;
    cursor: pointer;
}

button:disabled {
    opacity: .65;
    cursor: wait;
}

.terminal {
    overflow: hidden;
    background: #0b1220;
    color: #dbeafe;
}

.terminal-head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.terminal-head span {
    color: #93c5fd;
    font-size: 13px;
}

.terminal-body {
    height: 220px;
    overflow: auto;
    padding: 16px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    line-height: 1.65;
}

.terminal-body p {
    margin-bottom: 8px;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.agent-card {
    min-height: 160px;
    padding: 15px;
}

.agent-card.active {
    border-color: var(--blue);
}

.agent-card.done {
    border-color: rgba(15, 159, 122, .45);
}

.agent-card.error {
    border-color: rgba(220, 38, 38, .55);
    box-shadow: 0 16px 34px rgba(220, 38, 38, .08);
}

.agent-card p {
    min-height: 56px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.agent-top span {
    font-weight: 850;
}

.agent-top small {
    color: var(--muted);
}

.progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
    transition: width .35s ease;
}

.agent-card:nth-child(1) {
    --agent-accent: linear-gradient(90deg, #095cff, #00a8e8);
}

.agent-card:nth-child(2) {
    --agent-accent: linear-gradient(90deg, #00a8e8, #10d98a);
}

.agent-card:nth-child(3) {
    --agent-accent: linear-gradient(90deg, #10d98a, #84cc16);
}

.agent-card:nth-child(4) {
    --agent-accent: linear-gradient(90deg, #f59e0b, #10d98a);
}

.agent-card:nth-child(5) {
    --agent-accent: linear-gradient(90deg, #0ea5e9, #6366f1);
}

.agent-card:nth-child(6) {
    --agent-accent: linear-gradient(90deg, #14b8a6, #095cff);
}

.agent-card:nth-child(1) .progress span { background: linear-gradient(90deg, #095cff, #00a8e8); }
.agent-card:nth-child(2) .progress span { background: linear-gradient(90deg, #00a8e8, #10d98a); }
.agent-card:nth-child(3) .progress span { background: linear-gradient(90deg, #10d98a, #84cc16); }
.agent-card:nth-child(4) .progress span { background: linear-gradient(90deg, #f59e0b, #10d98a); }
.agent-card:nth-child(5) .progress span { background: linear-gradient(90deg, #0ea5e9, #6366f1); }
.agent-card:nth-child(6) .progress span { background: linear-gradient(90deg, #14b8a6, #095cff); }

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.preview-panel,
.recent-panel {
    padding: 20px;
}

.image-preview {
    min-height: 260px;
    display: grid;
    place-items: center;
    margin: 18px 0;
    border-radius: 8px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: linear-gradient(135deg, #e8f0ff, #e9fbf4);
    background-size: cover;
    background-position: center;
    font-weight: 800;
}

.meta {
    color: var(--muted);
    line-height: 1.6;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.metrics span {
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
}

.metrics strong {
    color: var(--ink);
}

.article-html {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: #354158;
    line-height: 1.72;
}

.article-html h1,
.article-html h2,
.article-html h3 {
    color: var(--ink);
    line-height: 1.2;
}

.publish-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    font-weight: 800;
    text-decoration: none;
}

.agent-card.error .progress span {
    background: var(--red);
}

.agent-card.error .agent-top small {
    color: var(--red);
    font-weight: 900;
}

.publish-link.is-pending {
    color: #40506b;
    background: #eef5fb;
    border: 1px dashed rgba(9, 92, 255, .3);
}

.recent-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.recent-item {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.recent-item strong {
    display: block;
    margin-bottom: 6px;
}

.recent-item small {
    color: var(--muted);
}

.post-body {
    background:
        linear-gradient(180deg, #f7fbff 0%, #ffffff 34%, #f5fbf9 100%);
}

.blog-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px clamp(18px, 5vw, 70px);
    border-bottom: 1px solid rgba(9, 92, 255, .12);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
}

.blog-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0;
    font-weight: 900;
}

.blog-brand img {
    width: 190px;
    height: 64px;
    object-fit: contain;
}

.blog-back {
    color: white;
    text-decoration: none;
    padding: 11px 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    font-weight: 800;
}

.blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    min-height: 560px;
    padding: clamp(20px, 4vw, 58px) clamp(18px, 5vw, 70px);
}

.blog-hero-copy {
    max-width: 880px;
}

.blog-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(42px, 7vw, 88px);
    line-height: .98;
    color: #07152f;
}

.blog-dek {
    max-width: 760px;
    margin: 24px 0 0;
    color: #43516b;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
}

.blog-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.blog-stats span {
    padding: 10px 13px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    background: white;
    color: #20304c;
    font-weight: 800;
}

.blog-hero-media {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 232, .2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(9, 92, 255, .16), rgba(16, 217, 138, .16)),
        #ffffff;
    box-shadow: 0 30px 70px rgba(9, 92, 255, .12);
}

.blog-hero-media img,
.blog-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.blog-image-fallback {
    display: grid;
    place-items: center;
}

.blog-image-fallback img {
    width: 78%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

.post-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 820px);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 22px 80px;
}

.post-empty {
    display: block;
    max-width: 840px;
    padding-top: 90px;
}

.post-sidebar {
    position: sticky;
    top: 94px;
    padding: 18px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: white;
}

.post-sidebar img {
    width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.post-sidebar strong,
.post-sidebar span {
    display: block;
}

.post-sidebar span {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.post-article {
    padding: clamp(22px, 4vw, 46px);
    border: 1px solid rgba(9, 92, 255, .12);
    border-radius: 8px;
    background: white;
    color: #25314a;
    box-shadow: 0 22px 50px rgba(17, 24, 39, .06);
}

.post-article article > header h1 {
    display: none;
}

.post-article h1,
.post-article h2,
.post-article h3 {
    color: #07152f;
    line-height: 1.16;
}

.post-article h2 {
    margin-top: 34px;
    font-size: 30px;
}

.post-article h3 {
    margin-top: 26px;
    font-size: 22px;
}

.post-article p,
.post-article li {
    color: #354158;
    font-size: 18px;
    line-height: 1.78;
}

.post-article ul,
.post-article ol {
    padding-left: 24px;
}

.post-article strong {
    color: #07152f;
}

.dashboard-welcome {
    margin: 10px 0 0;
    color: var(--muted);
}

.landing-body {
    background:
        linear-gradient(rgba(9, 92, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 92, 255, .045) 1px, transparent 1px),
        radial-gradient(circle at 72% 18%, rgba(16, 217, 138, .16), transparent 28%),
        radial-gradient(circle at 14% 20%, rgba(9, 92, 255, .14), transparent 30%),
        #f8fbff;
    background-size: 56px 56px, 56px 56px, auto, auto, auto;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 10px clamp(18px, 5vw, 72px);
    border-bottom: 1px solid rgba(9, 92, 255, .1);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
}

.landing-brand,
.landing-nav nav,
.landing-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-brand {
    color: #07152f;
    text-decoration: none;
    font-size: 0;
    font-weight: 900;
}

.landing-brand img {
    width: 150px;
    height: 54px;
    object-fit: contain;
}

.landing-nav nav a {
    color: #354158;
    text-decoration: none;
    font-weight: 800;
}

.landing-nav .nav-cta,
.landing-actions a:first-child,
.landing-band a {
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    text-decoration: none;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: clamp(18px, 3vw, 38px) clamp(18px, 5vw, 72px) clamp(38px, 5vw, 68px);
}

.landing-copy h1 {
    max-width: 840px;
    margin: 0;
    color: #07152f;
    font-size: clamp(64px, 8vw, 118px);
    line-height: .86;
    letter-spacing: 0;
}

.landing-copy h2 {
    max-width: 780px;
    margin: 14px 0 0;
    color: #07152f;
    font-size: clamp(30px, 4.4vw, 64px);
    line-height: 1;
}

.landing-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: #43516b;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.58;
}

.landing-actions {
    margin-top: 30px;
}

.landing-actions a {
    font-weight: 900;
}

.landing-actions a:last-child {
    color: var(--blue);
    text-decoration: none;
    padding: 12px 16px;
    border: 1px solid rgba(9, 92, 255, .22);
    border-radius: 8px;
    background: white;
}

.landing-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-metrics span {
    padding: 12px 14px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    color: #43516b;
    font-weight: 800;
}

.landing-metrics strong {
    color: #07152f;
    margin-right: 6px;
}

.landing-visual {
    position: relative;
    min-height: 570px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    background:
        linear-gradient(rgba(9, 92, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 92, 255, .05) 1px, transparent 1px),
        radial-gradient(circle at 50% 34%, rgba(16, 217, 138, .18), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(232, 250, 255, .72));
    background-size: 52px 52px, 52px 52px, auto, auto;
    box-shadow: 0 34px 90px rgba(9, 92, 255, .14);
    overflow: hidden;
}

.landing-visual::before {
    content: "";
    position: absolute;
    inset: 54px 14% 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 92, 255, .12), transparent 64%);
    filter: blur(4px);
}

.hero-logo-card {
    position: absolute;
    top: 18px;
    left: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(9, 92, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(10px);
    color: #07152f;
    font-weight: 900;
}

.hero-logo-card img {
    width: min(260px, 58%);
    height: auto;
}

.hero-agent {
    position: absolute;
    left: 50%;
    bottom: 56px;
    width: min(292px, 42%);
    transform: translateX(-50%);
    filter: drop-shadow(0 28px 38px rgba(9, 92, 255, .2));
    animation: robotIdleLanding 5.4s ease-in-out infinite;
}

.hero-agent-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .74);
    color: #07152f;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(9, 92, 255, .13);
    backdrop-filter: blur(8px);
    animation: workflowPulse 6s ease-in-out infinite;
}

.hero-agent-node i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
}

.node-scout { left: 34px; top: 124px; animation-delay: 0s; }
.node-radar { right: 40px; top: 158px; animation-delay: .6s; }
.node-quill { left: 48px; top: 256px; animation-delay: 1.2s; }
.node-warden { right: 34px; top: 296px; animation-delay: 1.8s; }
.node-pulse { left: 68px; bottom: 108px; animation-delay: 2.4s; }
.node-publisher { right: 46px; bottom: 82px; animation-delay: 3s; }

.hero-console {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #07152f;
    color: white;
    box-shadow: 0 22px 48px rgba(7, 21, 47, .2);
}

.hero-console span {
    color: var(--green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.hero-console p {
    margin: 6px 0 0;
    color: #dbeafe;
    font-family: Consolas, monospace;
    font-size: 13px;
}

@keyframes robotIdleLanding {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }

    46% {
        transform: translateX(-50%) translateY(-8px) rotate(.8deg);
    }

    72% {
        transform: translateX(-50%) translateY(-3px) rotate(-.5deg);
    }
}

.landing-section {
    padding: 60px clamp(18px, 5vw, 72px) 76px;
}

.section-title {
    max-width: 720px;
    margin-bottom: 24px;
}

.section-title h2,
.landing-band h2 {
    color: #07152f;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.04;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-grid article {
    min-height: 204px;
    padding: 22px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 20px 46px rgba(9, 92, 255, .08);
}

.landing-grid article > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
}

.landing-grid strong,
.landing-grid span {
    display: block;
}

.landing-grid strong {
    color: #07152f;
    font-size: 24px;
    margin-bottom: 10px;
}

.landing-grid span {
    color: #526078;
    line-height: 1.6;
}

.landing-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 clamp(18px, 5vw, 72px) 72px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 8px;
    background: #07152f;
    color: white;
}

.landing-band h2 {
    max-width: 900px;
    margin: 0;
    color: white;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.landing-band a {
    flex: 0 0 auto;
    font-weight: 900;
}

.landing-flow {
    padding: 0 clamp(18px, 5vw, 72px) 88px;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.flow-steps span {
    position: relative;
    min-height: 92px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    background: white;
    color: #07152f;
    text-align: center;
    font-weight: 900;
}

.flow-steps span::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.flow-steps span:last-child::after {
    display: none;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 15%, rgba(9, 92, 255, .16), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(16, 217, 138, .18), transparent 28%),
        #f8fbff;
}

.auth-card {
    width: min(100%, 460px);
    padding: 32px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: white;
    box-shadow: 0 28px 70px rgba(9, 92, 255, .12);
}

.auth-card img {
    width: 220px;
    max-width: 100%;
    margin-bottom: 18px;
}

.auth-card h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.auth-card form {
    display: grid;
    gap: 14px;
}

.auth-card label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 800;
}

.auth-card input {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 13px;
}

.auth-card p {
    margin: 16px 0 0;
    color: var(--muted);
}

.auth-card a {
    color: var(--blue);
    font-weight: 900;
}

.auth-error {
    padding: 11px 13px;
    border: 1px solid rgba(220, 38, 38, .2);
    border-radius: 8px;
    background: #fff5f5;
    color: var(--red) !important;
}

.settings-page {
    max-width: 1100px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .06);
}

.settings-page h1 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 62px);
}

.settings-page > p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.settings-grid article {
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: #f8fbff;
}

.settings-grid strong,
.settings-grid span {
    display: block;
}

.settings-grid strong {
    margin-bottom: 9px;
    color: #07152f;
    font-size: 22px;
}

.settings-grid span {
    color: #526078;
    line-height: 1.55;
}

.topbar-link,
.empty-library a,
.editor-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    font-weight: 900;
    text-decoration: none;
}

.notice-card {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(16, 217, 138, .25);
    border-radius: 8px;
    background: #f0fff8;
    color: #065f46;
    font-weight: 800;
}

.empty-library {
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .06);
}

.empty-library h2,
.empty-library h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(34px, 5vw, 58px);
}

.blog-library {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .06);
}

.blog-tile-image {
    display: block;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0ff, #e9fbf4);
}

.blog-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.blog-tile:hover .blog-tile-image img {
    transform: scale(1.035);
}

.blog-tile-body {
    padding: 18px;
}

.blog-tile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-tile-meta span {
    padding: 7px 9px;
    border: 1px solid rgba(9, 92, 255, .14);
    border-radius: 8px;
    color: #40506b;
    background: #f8fbff;
    font-size: 12px;
    font-weight: 900;
}

.blog-tile h2 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.18;
}

.blog-tile p {
    color: var(--muted);
    line-height: 1.58;
}

.blog-tile-footer {
    display: grid;
    gap: 13px;
    margin-top: 18px;
}

.blog-tile-footer small {
    color: var(--muted);
}

.blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.blog-actions a,
.blog-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 0;
    border-radius: 8px;
    color: white;
    background: #07152f;
    font-weight: 900;
    text-decoration: none;
}

.blog-actions a:first-child {
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
}

.blog-actions button {
    background: var(--red);
}

.blog-actions form {
    margin: 0;
}

.blog-editor {
    display: grid;
    gap: 16px;
    max-width: 1060px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 39, .06);
}

.blog-editor label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.blog-editor input,
.blog-editor textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    font: inherit;
}

.blog-editor input {
    min-height: 46px;
}

.blog-editor textarea {
    resize: vertical;
    line-height: 1.55;
}

.html-editor {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.editor-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.editor-actions button {
    padding: 0 18px;
}

.modal-open {
    overflow: hidden;
}

.agent-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.agent-modal.open {
    display: flex;
}

.agent-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 21, 47, .72), rgba(9, 92, 255, .28)),
        rgba(7, 21, 47, .54);
    backdrop-filter: blur(10px);
}

.agent-modal-panel {
    position: relative;
    width: min(100%, 860px);
    max-height: min(760px, 88vh);
    overflow: auto;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(239, 249, 255, .94));
    box-shadow: 0 36px 90px rgba(7, 21, 47, .38);
}

.agent-modal-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.agent-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 8px;
    background: #07152f;
}

.agent-modal-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
    box-shadow: 0 18px 34px rgba(9, 92, 255, .2);
}

.agent-modal-icon i {
    font-size: 27px;
}

.agent-modal-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 5vw, 58px);
    color: #07152f;
}

.agent-modal-summary {
    max-width: 820px;
    color: #40506b;
    font-size: 18px;
    line-height: 1.65;
}

.agent-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.agent-modal-grid article {
    padding: 18px;
    border: 1px solid rgba(9, 92, 255, .13);
    border-radius: 8px;
    background: white;
}

.agent-modal-grid strong {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #07152f;
    font-size: 17px;
}

.agent-modal-grid strong i {
    color: var(--blue);
}

.agent-modal-grid ul {
    margin: 0;
    padding-left: 18px;
    color: #526078;
    line-height: 1.55;
}

.agent-modal-grid li + li {
    margin-top: 8px;
}

@media (max-width: 1180px) {
    .agent-grid,
    .workspace,
    .mission,
    .blog-hero,
    .post-shell,
    .landing-hero,
    .landing-grid,
    .flow-steps,
    .settings-grid,
    .blog-library,
    .editor-row,
    .agent-modal-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        min-height: 0;
    }

    .post-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        height: auto;
        min-height: 620px;
    }

    .main {
        padding: 18px;
    }

    .dashboard-nav {
        margin: -18px -18px 16px;
        padding: 10px 18px;
    }

    .system-card {
        bottom: 16px;
    }

    .topbar,
    .panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .control-panel {
        grid-template-columns: 1fr;
    }

    .landing-nav,
    .landing-nav nav,
    .landing-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-brand {
        font-size: 0;
    }

    .landing-brand img {
        width: 138px;
        height: auto;
    }

    .landing-copy h1 {
        font-size: 54px;
    }

    .landing-visual {
        min-height: 560px;
    }

    .hero-logo-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-logo-card img {
        width: 220px;
        max-width: 100%;
    }

    .hero-agent {
        width: 210px;
        bottom: 92px;
    }

    .hero-agent-node {
        min-width: 112px;
        padding: 8px 9px;
        font-size: 13px;
    }

    .node-scout,
    .node-quill,
    .node-pulse {
        left: 16px;
    }

    .node-radar,
    .node-warden,
    .node-publisher {
        right: 16px;
    }

    .flow-steps span::after {
        display: none;
    }
}

/* Dashboard visual refresh overrides */
.topbar {
    padding: 8px 0 6px;
}

.main > .topbar h1 {
    font-size: clamp(34px, 4vw, 54px);
}

.mission {
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
}

.control-panel {
    padding: 22px;
}

.field input,
button {
    min-height: 56px;
}

.terminal-body {
    height: 300px;
}

.agent-grid {
    gap: 16px;
}

.agent-card {
    min-height: 176px;
    padding: 18px;
}

.agent-top span {
    font-size: 22px;
}

.agent-top small {
    padding: 5px 8px;
    border-radius: 8px;
    background: #f3f8ff;
    font-size: 12px;
    font-weight: 900;
}

.progress {
    height: 11px;
}

.preview-panel,
.recent-panel {
    padding: 22px;
}

@media (max-width: 1180px) {
    .mission {
        grid-template-columns: 1fr;
    }

    .main::before {
        width: 260px;
        opacity: .09;
    }
}

@media (max-width: 860px) {
    .main::before {
        display: none;
    }
}

/* Agentic AI icon and visualization pass */
.nav a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav a i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    font-size: 13px;
    color: white;
    background: linear-gradient(135deg, rgba(9, 92, 255, .92), rgba(0, 168, 232, .86), rgba(16, 217, 138, .86));
    box-shadow: 0 10px 22px rgba(9, 92, 255, .16);
}

.nav a.active i,
.nav a:hover i {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
}

.terminal-head strong::before {
    content: "\f544";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 9px;
    color: var(--green);
}

.agent-card {
    min-height: 212px;
}

.agent-icon {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 8px;
    color: white;
    background: var(--agent-accent, linear-gradient(135deg, var(--blue), var(--cyan)));
    box-shadow: 0 14px 26px rgba(9, 92, 255, .18);
}

.agent-icon i {
    font-size: 22px;
}

.agent-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: 28px;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(9, 92, 255, .08);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(9, 92, 255, .08), rgba(16, 217, 138, .08));
}

.agent-card p,
.agent-top,
.progress {
    position: relative;
    z-index: 1;
}

.control-panel::before,
.preview-panel::before,
.recent-panel::before {
    content: "";
    display: block;
    height: 4px;
    margin: -22px -22px 18px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.image-preview::before {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--blue);
}

.image-preview[style*="url"]::before {
    content: "";
    margin: 0;
}

/* Compact dashboard hero: keep agents visible above the fold */
.main {
    padding-top: 18px;
}

.topbar {
    margin-bottom: 12px;
    padding: 0;
}

.main > .topbar h1 {
    font-size: clamp(30px, 3.35vw, 44px);
    line-height: 1.02;
}

.dashboard-welcome {
    margin-top: 6px;
    font-size: 17px;
}

.topbar .eyebrow {
    margin-bottom: 3px;
    font-size: 11px;
}

.mission {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
}

.control-panel {
    padding: 16px 22px 18px;
    gap: 11px;
}

.control-panel::before {
    margin-top: -16px;
    margin-bottom: 14px;
}

.field label {
    margin-bottom: 5px;
    font-size: 12px;
}

.field input,
button {
    min-height: 46px;
}

.terminal-body {
    height: 236px;
}

.agent-grid {
    margin-top: 14px;
}

.agent-card {
    min-height: 168px;
    padding: 15px;
}

.agent-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
}

.agent-icon i {
    font-size: 18px;
}

.agent-top span {
    font-size: 20px;
}

.agent-card p {
    min-height: 42px;
    font-size: 13px;
}

.progress {
    height: 9px;
}

.agent-top {
    gap: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.agent-top span {
    min-width: 0;
    font-size: 19px;
    line-height: 1.1;
}

.agent-top small {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
    font-size: 11px;
    padding: 5px 7px;
}

#agent-publisher .agent-top {
    align-items: flex-start;
}

#agent-publisher .agent-top small {
    margin-left: 0;
}

@media (max-width: 1180px) {
    .mission {
        grid-template-columns: 1fr;
    }
}
