:root {
    color-scheme: light;
    --yg-bg: #edf4f8;
    --yg-bg-soft: #f8fbfd;
    --yg-ink: #0f1f28;
    --yg-muted: #60717b;
    --yg-soft: #98a8b4;
    --yg-border: rgba(15, 31, 40, 0.08);
    --yg-border-strong: rgba(15, 31, 40, 0.14);
    --yg-panel: rgba(255, 255, 255, 0.72);
    --yg-panel-strong: rgba(255, 255, 255, 0.9);
    --yg-panel-muted: rgba(244, 250, 253, 0.72);
    --yg-smoked: linear-gradient(180deg, rgba(11, 20, 25, 0.92), rgba(14, 28, 36, 0.8));
    --yg-accent: #0ca6b8;
    --yg-accent-2: #51d7e4;
    --yg-accent-soft: rgba(12, 166, 184, 0.12);
    --yg-success: #118168;
    --yg-warning: #b67c18;
    --yg-danger: #b42318;
    --yg-shadow-lg: 0 36px 80px -42px rgba(12, 28, 36, 0.3);
    --yg-shadow-md: 0 22px 56px -38px rgba(12, 28, 36, 0.24);
    --yg-shadow-sm: 0 16px 34px -26px rgba(12, 28, 36, 0.16);
    --yg-radius-xl: 32px;
    --yg-radius-lg: 26px;
    --yg-radius-md: 20px;
    --yg-radius-sm: 16px;
    --yg-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--yg-ink);
    font-family: "Manrope", system-ui, sans-serif;
    background:
        radial-gradient(circle at 8% 8%, rgba(81, 215, 228, 0.16), transparent 24%),
        radial-gradient(circle at 96% 0%, rgba(12, 166, 184, 0.12), transparent 22%),
        radial-gradient(circle at 82% 96%, rgba(54, 151, 170, 0.08), transparent 26%),
        linear-gradient(180deg, #edf4f8 0%, #f8fbfd 48%, #eef5f9 100%);
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: 8rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(81, 215, 228, 0.12), transparent 68%);
}

body::after {
    bottom: -10rem;
    left: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(12, 166, 184, 0.08), transparent 70%);
}

a {
    color: inherit;
}

::selection {
    color: white;
    background: rgba(12, 166, 184, 0.46);
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: rgba(96, 113, 123, 0.32);
    background-clip: padding-box;
}

::-webkit-scrollbar-track {
    background: transparent;
}

code,
pre,
.mono-chip,
.chip--mono {
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.text-muted {
    color: var(--yg-muted) !important;
}

.break-all {
    word-break: break-word;
}

.hosting-boot {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.hosting-boot-inner,
.entry-panel,
.entry-hero,
.glass-panel,
.hero-panel,
.surface-panel,
.form-panel,
.settings-block {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--yg-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
    backdrop-filter: blur(24px) saturate(145%);
    box-shadow: var(--yg-shadow-md);
}

.hosting-boot-inner {
    display: grid;
    gap: 1rem;
    width: min(100%, 30rem);
    padding: 1.7rem;
    text-align: center;
}

.hosting-boot-brand,
.hosting-brand-lockup,
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.hosting-boot-mark,
.hosting-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(12, 166, 184, 0.16), rgba(81, 215, 228, 0.28));
    color: var(--yg-ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.hosting-boot-name,
.hosting-brand-copy strong,
.hosting-brand-copy span {
    font-family: "Space Grotesk", sans-serif;
}

.hosting-boot-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.hosting-boot-lead {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.hosting-boot-hint {
    margin: 0;
    color: var(--yg-muted);
    font-size: 0.92rem;
}

.hosting-boot-bar {
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 31, 40, 0.08);
    overflow: hidden;
}

.hosting-boot-bar-fill {
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yg-accent), var(--yg-accent-2));
    animation: progress 1.4s infinite var(--yg-ease);
}

.hosting-shell,
.hosting-stage,
.hosting-canvas {
    background: transparent !important;
}

.hosting-rail-drawer {
    width: 320px !important;
}

.hosting-rail-drawer,
.hosting-rail-drawer .mud-drawer {
    background: transparent !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

.hosting-rail {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 1rem;
    padding: 1.2rem 1rem 1rem;
}

.hosting-rail::before {
    content: "";
    position: absolute;
    inset: 1rem 0.75rem;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56));
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: var(--yg-shadow-md);
}

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

.hosting-brand-copy {
    display: grid;
    gap: 0.1rem;
}

.hosting-brand-copy strong {
    font-size: 1.12rem;
    letter-spacing: -0.05em;
}

.hosting-brand-copy span,
.hosting-rail-description,
.hosting-rail-note p,
.panel-copy,
.workspace-lead,
.operator-row-caption,
.timeline-copy,
.entry-copy,
.entry-note,
.empty-state p {
    color: var(--yg-muted);
}

.hosting-rail-brand {
    display: grid;
    gap: 0.8rem;
    padding: 0.45rem;
}

.hosting-rail-description,
.entry-copy,
.workspace-lead {
    margin: 0;
    line-height: 1.7;
}

.hosting-rail-nav,
.hosting-rail-footer,
.signal-list,
.operator-list,
.settings-list,
.timeline-list,
.stack-grid,
.skeleton-stack,
.chip-row,
.chip-list {
    display: grid;
    gap: 0.8rem;
}

.hosting-rail-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    border: 1px solid transparent;
    color: var(--yg-muted);
    text-decoration: none;
    transition: transform 180ms var(--yg-ease), border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.hosting-rail-link:hover,
.hosting-rail-link.is-active,
.hosting-rail-link.active {
    transform: translateY(-1px);
    color: var(--yg-ink);
    border-color: rgba(12, 166, 184, 0.14);
    background: rgba(255, 255, 255, 0.5);
}

.hosting-rail-icon {
    margin-top: 0.18rem;
    color: var(--yg-accent);
}

.hosting-rail-link-copy {
    display: grid;
    gap: 0.18rem;
}

.hosting-rail-link-copy strong,
.panel-title,
.section-heading h2,
.section-heading h3,
.workspace-title,
.hero-title {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.05em;
}

.hosting-rail-link-copy small,
.hosting-rail-note-label,
.workspace-eyebrow,
.panel-kicker,
.entry-kicker,
.entry-panel-kicker,
.entry-preview-label,
.entry-proof-label,
.summary-tile-label,
.metric-label,
.signal-label,
.hosting-topbar-kicker,
.hosting-user-label {
    color: var(--yg-soft);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hosting-rail-note {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid var(--yg-border);
    background: rgba(255, 255, 255, 0.48);
}

.hosting-rail-note strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.hosting-stage {
    min-height: 100vh;
    padding: 1.1rem 1.1rem 1.4rem 0;
}

.hosting-canvas {
    position: relative;
    z-index: 1;
}

.hosting-topbar {
    position: sticky;
    top: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--yg-shadow-sm);
}

.hosting-topbar-left,
.hosting-topbar-right,
.hosting-user-cluster {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hosting-topbar-copy,
.hosting-user-copy {
    display: grid;
    gap: 0.08rem;
}

.hosting-topbar-copy strong {
    font-size: 1.02rem;
}

.hosting-topbar-menu,
.hosting-signout-button {
    border-radius: 999px !important;
}

.hosting-user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yg-accent), var(--yg-accent-2));
    color: white;
    font-weight: 800;
}

.hosting-content-wrap {
    max-width: 1480px !important;
    padding: 0 !important;
}

.workspace-page,
.page-shell {
    display: grid;
    gap: 1rem;
    animation: reveal-up 520ms both;
}

.workspace-page--centered {
    min-height: calc(100vh - 10rem);
    place-content: center;
}

.workspace-header,
.hero-panel {
    display: grid;
    gap: 1rem;
    padding: clamp(1.35rem, 2vw, 2rem);
}

.workspace-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.workspace-header-copy {
    display: grid;
    gap: 0.55rem;
}

.workspace-title,
.hero-title,
.entry-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.45rem);
    line-height: 0.96;
}

.workspace-summary-grid,
.metric-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workspace-summary-grid--compact,
.metric-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-tile,
.metric-card {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid var(--yg-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 252, 254, 0.68));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.summary-tile--accent {
    color: #eafcff;
    border-color: rgba(81, 215, 228, 0.18);
    background: linear-gradient(180deg, rgba(11, 20, 25, 0.92), rgba(16, 33, 42, 0.82));
}

.summary-tile--accent .summary-tile-label,
.summary-tile--accent .summary-tile-note {
    color: rgba(224, 247, 250, 0.68);
}

.summary-tile-value,
.metric-value {
    display: block;
    margin: 0.35rem 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.15rem);
    letter-spacing: -0.06em;
}

.summary-tile-note,
.metric-copy {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.workspace-grid,
.hero-grid,
.settings-grid,
.detail-grid,
.setup-layout {
    display: grid;
    gap: 1rem;
}

.workspace-grid--two,
.hero-grid,
.settings-grid,
.workspace-grid--integrations {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.workspace-grid--inventory {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.setup-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: start;
}

.setup-main,
.setup-sidebar,
.tabs-surface {
    display: grid;
    gap: 1rem;
}

.panel-header,
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.panel-title,
.section-heading h2,
.section-heading h3 {
    margin: 0.2rem 0 0;
    font-size: 1.32rem;
    line-height: 1.06;
}

.panel-copy,
.section-heading p {
    margin: 0.45rem 0 0;
    line-height: 1.6;
}

.glass-panel--smoked,
.entry-hero {
    color: #eefcff;
    background: var(--yg-smoked);
    border-color: rgba(255, 255, 255, 0.08);
}

.glass-panel--smoked .panel-copy,
.glass-panel--smoked .signal-item p,
.entry-hero .entry-copy,
.entry-preview-card p,
.entry-proof-card p {
    color: rgba(224, 247, 250, 0.72);
}

.glass-panel--tight,
.surface-panel--nested,
.glass-inset {
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid var(--yg-border);
    background: rgba(255, 255, 255, 0.42);
}

.glass-panel,
.surface-panel,
.settings-block,
.form-panel,
.hero-panel {
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.signal-item,
.signal-card {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.glass-panel:not(.glass-panel--smoked) .signal-item,
.glass-panel:not(.glass-panel--smoked) .signal-card,
.surface-panel .signal-card {
    border-color: var(--yg-border);
    background: rgba(247, 251, 253, 0.68);
}

.signal-item strong,
.signal-card strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.signal-item p,
.signal-card p {
    margin: 0.35rem 0 0;
    line-height: 1.6;
}

.operator-row,
.site-row,
.settings-item,
.timeline-item {
    display: grid;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid var(--yg-border);
    background: rgba(251, 253, 255, 0.66);
    transition: transform 180ms var(--yg-ease), box-shadow 180ms ease, border-color 180ms ease;
}

.operator-row:hover,
.site-row:hover,
.settings-item:hover,
.timeline-item:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 166, 184, 0.18);
    box-shadow: var(--yg-shadow-sm);
}

.operator-row,
.site-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.timeline-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.operator-row-titleline,
.site-row-top,
.site-row-meta,
.timeline-meta,
.timeline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.operator-row-title,
.site-row-title,
.settings-item strong {
    font-size: 1rem;
}

.chip,
.meta-chip,
.mono-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 31, 40, 0.08);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.chip--soft,
.meta-chip.is-soft {
    color: var(--yg-muted);
    background: rgba(244, 249, 252, 0.9);
}

.chip--link,
.meta-chip.is-link {
    color: var(--yg-accent);
    text-decoration: none;
}

.chip--mono,
.mono-chip {
    font-size: 0.74rem;
}

.status-pill,
.state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.status-pill.is-active,
.status-pill.is-ready,
.state-pill--public {
    color: #0e6b55;
    background: rgba(17, 129, 104, 0.12);
}

.status-pill.is-warning,
.status-pill.is-pending {
    color: #9d6811;
    background: rgba(182, 124, 24, 0.14);
}

.status-pill.is-danger,
.status-pill.is-failed {
    color: var(--yg-danger);
    background: rgba(180, 35, 24, 0.12);
}

.status-pill.is-neutral,
.status-pill.is-info,
.state-pill--neutral,
.state-pill--private {
    color: var(--yg-muted);
    background: rgba(96, 113, 123, 0.1);
}

.status-pill.is-building {
    color: var(--yg-accent);
    background: rgba(12, 166, 184, 0.12);
}

.status-pill.is-public {
    color: #0e6b55;
    background: rgba(17, 129, 104, 0.12);
}

.status-pill.is-private {
    color: var(--yg-muted);
    background: rgba(96, 113, 123, 0.1);
}

.empty-state {
    display: grid;
    gap: 0.7rem;
    place-items: start;
    padding: 1.1rem;
    border-radius: 22px;
    border: 1px dashed rgba(15, 31, 40, 0.12);
    background: rgba(248, 251, 253, 0.62);
}

.empty-state--inline {
    max-width: 34rem;
}

.empty-state h2,
.empty-state h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.04em;
}

.skeleton-line {
    height: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 31, 40, 0.08), rgba(255, 255, 255, 0.72), rgba(15, 31, 40, 0.08));
    background-size: 200% 100%;
    animation: shimmer 1.3s infinite linear;
}

.skeleton-line--lg {
    width: 74%;
}

.skeleton-line--xl {
    width: 88%;
    height: 1.1rem;
}

.form-section,
.setup-section {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--yg-border);
}

.form-section:last-child,
.setup-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.form-section-heading,
.setup-section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.form-section-heading h2,
.setup-section-heading h2 {
    margin: 0 0 0.2rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.form-step,
.setup-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--yg-accent-soft);
    color: var(--yg-accent);
    font-weight: 800;
}

.form-actions,
.setup-actions,
.hero-actions,
.workspace-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.setup-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.def-list,
.spec-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
}

.def-row,
.spec-row {
    display: grid;
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--yg-border);
}

.def-row:last-child,
.spec-row:last-child {
    border-bottom: 0;
}

.def-row dt,
.spec-row dt {
    color: var(--yg-muted);
}

.def-row dd,
.spec-row dd {
    margin: 0;
}

.build-log-pre,
.log-viewer {
    margin: 0;
    padding: 1rem;
    overflow: auto;
    min-height: 16rem;
    border-radius: 22px;
    background: #091419;
    color: #dbf6fb;
    font-size: 0.84rem;
    line-height: 1.65;
}

.log-panel-caption {
    display: block;
    margin: 0.35rem 0 0;
    color: var(--yg-muted);
}

.log-panel .section-heading > div > p:not(.log-panel-caption) {
    display: none;
}

.timeline-version {
    min-width: 4rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.82rem;
    font-weight: 700;
}

.entry-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(21rem, 0.85fr);
    gap: 1rem;
    padding: 1.25rem;
}

.hosting-gate-root {
    position: fixed;
    inset: 0;
    z-index: 120;
    width: 100vw;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 10% 12%, rgba(81, 215, 228, 0.16), transparent 24%),
        radial-gradient(circle at 94% 6%, rgba(12, 166, 184, 0.12), transparent 22%),
        linear-gradient(180deg, #edf4f8 0%, #f8fbfd 50%, #eef5f9 100%);
}

.hosting-gate-root .entry-shell {
    min-height: calc(100vh - 2.5rem);
    padding: 0;
}

.entry-shell--progress {
    align-items: center;
}

.entry-hero,
.entry-panel {
    padding: clamp(1.35rem, 2.4vw, 2rem);
}

.entry-hero {
    display: grid;
    align-content: space-between;
    gap: 1.2rem;
}

.entry-title {
    max-width: 12ch;
}

.entry-preview-grid,
.entry-proof-grid,
.entry-mini-stack {
    display: grid;
    gap: 0.75rem;
}

.entry-preview-card,
.entry-proof-card,
.entry-mini-card {
    padding: 0.9rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.entry-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.entry-panel h2,
.entry-hero h1 {
    margin: 0;
}

.entry-loader {
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(15, 31, 40, 0.08);
    overflow: hidden;
}

.entry-loader span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yg-accent), var(--yg-accent-2));
    animation: progress 1.2s infinite var(--yg-ease);
}

.entry-button,
.hosting-primary-action {
    border-radius: 999px !important;
    box-shadow: 0 20px 40px -26px rgba(12, 166, 184, 0.42);
}

.mud-button-root {
    border-radius: 999px !important;
}

.mud-input-root .mud-input-outlined-border {
    border-color: rgba(15, 31, 40, 0.12) !important;
}

.mud-input-root:hover .mud-input-outlined-border,
.mud-input-root.mud-input-focused .mud-input-outlined-border {
    border-color: rgba(12, 166, 184, 0.36) !important;
}

.mud-input-slot {
    font-size: 0.95rem !important;
}

.mud-input-label,
.mud-input-helper-text {
    color: var(--yg-muted) !important;
}

.mud-tabs-toolbar,
.tabs-surface .mud-tabs-toolbar {
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(244, 249, 252, 0.9);
    border: 1px solid var(--yg-border);
}

.mud-tab {
    min-height: 2.7rem !important;
    border-radius: 999px !important;
    text-transform: none !important;
    font-weight: 700 !important;
}

.mud-tab.mud-tab-active {
    background: white;
    color: var(--yg-ink) !important;
    box-shadow: var(--yg-shadow-sm);
}

.mud-snackbar {
    border-radius: 18px !important;
}

.mud-focus-trap:focus-visible,
.mud-button-root:focus-visible,
.mud-input-slot:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(12, 166, 184, 0.18);
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@keyframes progress {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(170%);
    }
}

@media (max-width: 1199px) {
    .workspace-summary-grid,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-grid--two,
    .workspace-grid--inventory,
    .workspace-grid--integrations,
    .hero-grid,
    .settings-grid,
    .detail-grid,
    .setup-layout,
    .entry-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 959px) {
    .hosting-stage {
        padding: 1rem;
    }

    .hosting-rail {
        min-height: auto;
    }

    .hosting-topbar {
        top: 0.8rem;
        flex-wrap: wrap;
    }

    .hosting-topbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 720px) {
    .workspace-header {
        grid-template-columns: 1fr;
    }

    .workspace-summary-grid,
    .metric-grid,
    .workspace-summary-grid--compact,
    .metric-grid--two {
        grid-template-columns: 1fr;
    }

    .operator-row,
    .site-row,
    .timeline-item {
        grid-template-columns: 1fr;
    }

    .def-row,
    .spec-row {
        grid-template-columns: 1fr;
    }

    .hosting-user-copy strong {
        max-width: 11rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .entry-shell {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
