:root {
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-text: #2d2d2d;
    --color-text-muted: #8d909b;
    --color-primary: #f78000;
    --color-accent: #ffda00;
    --color-border: #8d909b;
    --color-border-soft: rgba(141, 144, 155, 0.28);
    --color-dark-surface: #2d2d2d;
    --shadow-soft: 0 12px 30px rgba(45, 45, 45, 0.08);
    --shadow-hover: 0 14px 28px rgba(45, 45, 45, 0.14);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 218, 0, 0.2), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(247, 128, 0, 0.14), transparent 34%),
        var(--color-bg);
    min-height: 100vh;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

button {
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    background: var(--color-primary);
    color: var(--color-text);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    background: #ff910f;
    box-shadow: 0 8px 22px rgba(247, 128, 0, 0.26);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 3rem 2.5rem;
}

.login-home-link {
    display: inline-flex;
    margin-bottom: 1rem;
}

.login-card h1 {
    margin-bottom: 0.4rem;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.subtitle {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.error {
    display: none;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-primary);
    background: rgba(247, 128, 0, 0.1);
    color: var(--color-text);
    font-size: 0.9rem;
}

.error:not(:empty) {
    display: block;
}

/* Public Website */
.public-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 218, 0, 0.28), transparent 42%),
        radial-gradient(circle at 88% 92%, rgba(247, 128, 0, 0.16), transparent 40%),
        linear-gradient(165deg, rgba(255, 255, 255, 1) 0%, rgba(255, 249, 236, 1) 100%);
}

.site-loader {
    display: none;
}

html.js .page-loader-enabled.site-loader-active {
    overflow: hidden;
}

html.js .page-loader-enabled .site-loader {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
    isolation: isolate;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 218, 0, 0.16), transparent 30%),
        radial-gradient(circle at 82% 84%, rgba(247, 128, 0, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 240, 0.98) 100%);
}

html.js .page-loader-enabled .site-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(45, 45, 45, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 45, 45, 0.035) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
    pointer-events: none;
}

html.js .page-loader-enabled .site-loader.is-revealing {
    pointer-events: none;
    animation: loaderRevealUp 0.92s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.site-loader__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid rgba(141, 144, 155, 0.22);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
    box-shadow:
        0 28px 60px rgba(45, 45, 45, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    animation: loaderPanelEnter 0.84s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: min(100%, 20rem);
    padding: 0.72rem 0.86rem;
    border: 1px solid rgba(141, 144, 155, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 28px rgba(45, 45, 45, 0.08);
    animation: loaderRiseIn 0.74s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader__logo {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(45, 45, 45, 0.16);
    box-shadow: 0 10px 20px rgba(45, 45, 45, 0.14);
}

.site-loader__badge-copy {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.site-loader__eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #734006;
}

.site-loader__micro {
    color: #565c67;
    font-size: 0.82rem;
    line-height: 1.35;
}

.site-loader__wordmark {
    position: relative;
    display: inline-grid;
    place-items: center;
    font-size: clamp(2.35rem, 8vw, 4.9rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: clamp(0.12em, 0.42vw, 0.28em);
    text-transform: uppercase;
    animation: loaderRiseIn 0.9s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader__wordmark span {
    color: rgba(45, 45, 45, 0.15);
}

.site-loader__wordmark::after {
    content: attr(data-wordmark);
    position: absolute;
    inset: 0;
    color: transparent;
    background: linear-gradient(90deg, #2d2d2d 0%, #f78000 34%, #ffda00 56%, #f78000 80%, #2d2d2d 100%);
    background-size: 220% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    clip-path: inset(0 100% 0 0);
    animation: loaderWordmarkSweep 1.85s 0.22s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.site-loader__label {
    max-width: 26ch;
    text-align: center;
    color: #4f5561;
    font-size: 0.95rem;
    line-height: 1.45;
    animation: loaderRiseIn 0.8s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader__rail {
    position: relative;
    width: min(100%, 17rem);
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(45, 45, 45, 0.08);
}

.site-loader__progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(247, 128, 0, 0.25) 0%, #f78000 42%, #ffda00 100%);
    box-shadow: 0 0 20px rgba(247, 128, 0, 0.28);
    transform: scaleX(0);
    transform-origin: left center;
    animation: loaderBarFill 1.75s 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

html.js .page-loader-enabled .site-loader.is-revealing .site-loader__panel {
    animation: loaderPanelExit 0.66s cubic-bezier(0.76, 0, 0.24, 1) both;
}

@keyframes loaderPanelEnter {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }

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

@keyframes loaderRiseIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderWordmarkSweep {
    0% {
        clip-path: inset(0 100% 0 0);
        background-position: 100% 50%;
    }

    58% {
        clip-path: inset(0 0 0 0);
        background-position: 42% 50%;
    }

    100% {
        clip-path: inset(0 0 0 0);
        background-position: 0% 50%;
    }
}

@keyframes loaderBarFill {
    0% {
        transform: scaleX(0);
    }

    72% {
        transform: scaleX(0.96);
    }

    100% {
        transform: scaleX(1);
    }
}

@keyframes loaderPanelExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-18px) scale(0.985);
    }
}

@keyframes loaderRevealUp {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, -100%, 0);
    }
}

.public-shell {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 1rem 1.2rem;
}

.public-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.1rem;
    align-items: center;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    padding: 0.65rem 0.8rem;
    position: sticky;
    top: 0.6rem;
    z-index: 25;
    backdrop-filter: blur(6px);
    transition: transform 0.24s ease, padding 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.public-header.is-condensed {
    padding: 0.48rem 0.68rem;
}

.public-header.is-hidden {
    transform: translateY(calc(-100% - 1rem));
    pointer-events: none;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(45, 45, 45, 0.2);
    box-shadow: 0 8px 20px rgba(45, 45, 45, 0.2);
}

.logo-image-sm {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.public-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.public-nav a {
    color: var(--color-text);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.3rem 0.72rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.public-nav a:hover {
    text-decoration: none;
    background: rgba(255, 218, 0, 0.25);
    border-color: rgba(247, 128, 0, 0.28);
}

.public-nav a.is-active {
    background: rgba(247, 128, 0, 0.16);
    border-color: rgba(247, 128, 0, 0.5);
}

.public-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-self: end;
    min-inline-size: 12rem;
}

.language-switcher {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    min-height: 34px;
    padding: 0.3rem 0.62rem;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(141, 144, 155, 0.38);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.language-trigger:hover {
    text-decoration: none;
    background: rgba(255, 218, 0, 0.22);
    border-color: rgba(247, 128, 0, 0.28);
}

.language-trigger:focus-visible {
    outline: 2px solid rgba(255, 218, 0, 0.95);
    outline-offset: 2px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.42rem);
    right: 0;
    min-width: 100%;
    display: grid;
    gap: 0.18rem;
    padding: 0.28rem;
    border: 1px solid rgba(141, 144, 155, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(45, 45, 45, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 40;
}

.language-switcher[data-expanded="true"] .language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.language-switcher[data-expanded="true"] .language-trigger {
    background: rgba(247, 128, 0, 0.14);
    border-color: rgba(247, 128, 0, 0.42);
    color: var(--color-text);
}

.language-switcher[data-expanded="true"] .language-chevron {
    transform: rotate(180deg);
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 34px;
    padding: 0.3rem 0.52rem;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    background: transparent;
}

.language-link:hover {
    text-decoration: none;
    background: rgba(255, 218, 0, 0.22);
    border-color: rgba(247, 128, 0, 0.28);
}

.language-link:focus-visible {
    outline: 2px solid rgba(255, 218, 0, 0.95);
    outline-offset: 2px;
}

.language-link.is-active {
    background: rgba(247, 128, 0, 0.14);
    border-color: rgba(247, 128, 0, 0.42);
    color: var(--color-text);
}

.language-globe {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    opacity: 0.86;
}

.language-chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    transition: transform 0.16s ease;
}

.public-primary-btn,
.public-link-btn,
.public-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 1px solid var(--color-border-soft);
    padding: 0.55rem 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.public-primary-btn {
    background: var(--color-primary);
    color: var(--color-text);
    border-color: #d86a00;
}

.public-primary-btn:hover {
    text-decoration: none;
    background: #ff9817;
    box-shadow: 0 10px 20px rgba(247, 128, 0, 0.22);
    transform: translateY(-1px);
}

.public-secondary-btn,
.public-link-btn {
    background: #fff;
    color: var(--color-text);
    border-color: rgba(141, 144, 155, 0.45);
}

.public-secondary-btn:hover,
.public-link-btn:hover {
    text-decoration: none;
    background: rgba(255, 218, 0, 0.24);
    transform: translateY(-1px);
}

.public-main {
    margin-top: 1.05rem;
    display: grid;
    gap: 0.95rem;
}

.hero-split,
.public-section {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    padding: 1.45rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
}

.hero-copy h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.45rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.public-section h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.hero-copy p,
.public-section p {
    color: #4b4f5c;
    max-width: 74ch;
}

.hero-lead {
    font-size: 1.02rem;
    line-height: 1.55;
}

.public-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #734006;
    background: rgba(255, 218, 0, 0.35);
    border: 1px solid rgba(247, 128, 0, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.hero-panel {
    border: 1px solid rgba(45, 45, 45, 0.12);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
}

.hero-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
}

.hero-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.hero-list li {
    border: 1px solid rgba(141, 144, 155, 0.32);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.6rem;
    background: #fcfcfc;
}

.hero-list strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.12rem;
}

.hero-list span {
    color: #5b5f6c;
    font-size: 0.86rem;
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.proof-card {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    padding: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.proof-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.proof-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.ratings-overview {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0.9rem;
    align-items: center;
}

.rating-summary-copy h2 {
    margin-bottom: 0.35rem;
}

.rating-summary-copy p {
    color: #555b67;
}

.rating-summary-panel {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
}

.rating-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
    color: #734006;
    font-weight: 800;
    margin-bottom: 0.28rem;
}

.overall-rating-value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}

.rating-caption {
    margin-top: 0.38rem;
    color: #5a5f6b;
    font-size: 0.86rem;
}

.star-meter {
    position: relative;
    display: inline-flex;
    font-size: 1.08rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.star-meter-base {
    color: rgba(141, 144, 155, 0.45);
}

.star-meter-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--color-primary);
}

.testimonial-hero {
    position: relative;
    overflow: hidden;
}

.testimonial-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.testimonial-head p {
    color: #5b5f6c;
}

.testimonial-carousel {
    position: relative;
    min-height: 220px;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.42s ease;
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
    display: grid;
    gap: 0.72rem;
}

.testimonial-rating-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.testimonial-rating-value {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-quote {
    font-size: 1.04rem;
    line-height: 1.55;
    color: #3f4350;
}

.testimonial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: #5a5f6b;
}

.testimonial-meta span {
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.08rem 0.55rem;
    background: #fbfbfd;
}

.testimonial-controls {
    margin-top: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-arrow-wrap {
    display: flex;
    gap: 0.45rem;
}

.testimonial-arrow {
    width: auto;
    min-width: 40px;
    padding: 0.45rem 0.65rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.testimonial-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(141, 144, 155, 0.65);
    background: #fff;
    padding: 0;
}

.testimonial-dot.is-active {
    background: var(--color-primary);
    border-color: #d86a00;
}

.testimonial-empty {
    border: 1px dashed var(--color-border-soft);
    border-radius: var(--radius-md);
    padding: 1rem;
    color: #5b5f6c;
    background: rgba(255, 255, 255, 0.75);
}

.project-rating-display {
    margin-top: 0.55rem;
    display: grid;
    gap: 0.24rem;
}

.project-rating-value {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.project-rating-caption {
    color: var(--color-text-muted);
    font-size: 0.83rem;
}

.public-grid {
    display: grid;
    gap: 0.9rem;
}

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

.public-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-card {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.public-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f78000 0%, #ffda00 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.public-card:hover::after {
    opacity: 1;
}

.public-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.03rem;
}

.public-card p,
.public-card li {
    color: #575b67;
    font-size: 0.94rem;
}

.public-card ul {
    padding-left: 1rem;
    display: grid;
    gap: 0.35rem;
}

.case-media {
    margin: -0.1rem -0.1rem 0.6rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(141, 144, 155, 0.3);
    background: #f8f9fb;
    cursor: zoom-in;
    padding: 0;
    width: 100%;
}

.case-media img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.case-media-label {
    display: inline-flex;
    border: 1px solid rgba(141, 144, 155, 0.35);
    border-radius: 999px;
    background: #fbfbfd;
    padding: 0.1rem 0.55rem;
    font-size: 0.76rem;
    color: var(--color-text-muted);
    margin-bottom: 0.45rem;
}

.portfolio-preview-modal[hidden] {
    display: none;
}

.portfolio-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.portfolio-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 26, 34, 0.7);
    backdrop-filter: blur(3px);
}

.portfolio-preview-dialog {
    position: relative;
    margin: 4vh auto;
    width: min(94vw, 1080px);
    max-height: 92vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    background: #0d0f14;
}

.portfolio-preview-image {
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    display: block;
    background: #0d0f14;
}

.portfolio-preview-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: none;
}

.portfolio-preview-close:hover {
    transform: none;
    background: #ffffff;
}

body.has-preview-modal {
    overflow: hidden;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.section-title-row h2 {
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #7a4300;
}

.section-link:hover {
    color: #5a3200;
}

.process-grid {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.process-step {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.85rem;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 218, 0, 0.35);
    border: 1px solid rgba(247, 128, 0, 0.35);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.28rem;
}

.process-step p {
    font-size: 0.9rem;
    color: #5b5f6c;
}

.pricing-section h2 {
    margin-bottom: 0.48rem;
}

.pricing-grid {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.price-card {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.95rem;
}

.price-card.featured {
    border-color: rgba(247, 128, 0, 0.52);
    box-shadow: 0 12px 24px rgba(247, 128, 0, 0.14);
}

.price-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(247, 128, 0, 0.35);
    background: rgba(255, 218, 0, 0.28);
    color: #734006;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.14rem 0.5rem;
    margin-bottom: 0.42rem;
}

.price-value {
    font-size: 1.62rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 0.22rem;
}

.price-value span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-left: 0.18rem;
}

.price-caption {
    color: #555b67;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.price-points {
    padding-left: 1rem;
    display: grid;
    gap: 0.28rem;
}

.price-points li {
    font-size: 0.88rem;
    color: #4d525f;
}

.pricing-notes {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.pricing-note {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.82rem 0.9rem;
}

.pricing-note h3 {
    font-size: 1rem;
    margin-bottom: 0.28rem;
}

.pricing-note p {
    color: #555b67;
    font-size: 0.9rem;
}

.pricing-disclaimer {
    margin-top: 0.62rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.pricing-source {
    margin-top: 0.52rem;
    font-size: 0.84rem;
    color: #5a5f6b;
}

.pricing-source.is-warning {
    color: #8f4300;
}

.price-cta-wrap {
    margin-top: 0.55rem;
}

.price-cta {
    padding: 0.42rem 0.68rem;
    font-size: 0.84rem;
}

.cta-band {
    text-align: center;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 218, 0, 0.3), transparent 38%),
        rgba(255, 255, 255, 0.95);
}

.cta-band h2 {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.cta-band .public-primary-btn {
    margin-top: 0.8rem;
}

.tally-wrap {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
}

.tally-wrap iframe {
    border: 0;
    display: block;
}

.contact-form-card {
    padding: 1.1rem;
}

.contact-form-intro {
    color: #575b67;
    margin-bottom: 0.7rem;
}

.tally-wrap-wide {
    border-radius: var(--radius-md);
}

.tally-wrap-wide iframe {
    min-height: 74vh;
}

.public-footer {
    margin-top: 0.95rem;
    border-radius: var(--radius-lg);
    border: 1px solid #1f1f1f;
    background: var(--color-text);
    color: #f1f3f8;
    padding: 1.2rem;
    box-shadow: 0 18px 28px rgba(45, 45, 45, 0.2);
}

.public-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
}

.footer-title {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.footer-tagline {
    color: rgba(241, 243, 248, 0.86);
    font-size: 0.9rem;
    max-width: 44ch;
}

.footer-note {
    margin-top: 0.5rem;
    color: rgba(241, 243, 248, 0.7);
    font-size: 0.82rem;
}

.footer-col h4 {
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 218, 0, 0.95);
    margin-bottom: 0.4rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.28rem;
}

.footer-links a {
    color: #fff;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-link-prominent {
    font-weight: 800;
}

.footer-bottom {
    margin-top: 0.95rem;
    padding-top: 0.72rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    color: rgba(241, 243, 248, 0.74);
    font-size: 0.82rem;
}

.legal-grid {
    display: grid;
    gap: 0.9rem;
}

.legal-block {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
}

.legal-block h2 {
    font-size: 1.05rem;
    margin-bottom: 0.38rem;
}

.legal-address,
.legal-copy {
    color: #565b67;
    line-height: 1.7;
}

.legal-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.legal-list li {
    border-top: 1px solid rgba(141, 144, 155, 0.18);
    padding-top: 0.55rem;
}

.legal-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.legal-label {
    display: block;
    margin-bottom: 0.16rem;
    color: var(--color-text);
    font-weight: 700;
}

.legal-note {
    margin-top: 0.55rem;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.legal-contact-card {
    border: 1px solid rgba(247, 128, 0, 0.32);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 248, 235, 1) 100%);
    padding: 1rem;
}

.legal-contact-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

/* Portal */
.portal-page {
    min-height: 100vh;
}

.portal-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
}

.portal-sidebar {
    background: var(--color-dark-surface);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    color: #fff;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2.4rem);
    overflow: auto;
}

.portal-brand h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.portal-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.nav-item {
    width: 100%;
    text-align: left;
    background: transparent;
    color: #fff;
    border: 1px solid transparent;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: none;
}

.nav-item.active {
    background: var(--color-primary);
    color: var(--color-text);
}

.badge {
    min-width: 24px;
    text-align: center;
    border-radius: 999px;
    padding: 2px 7px;
    background: var(--color-accent);
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 700;
}

.portal-main {
    min-width: 0;
}

.portal-topbar {
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem 1.4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.portal-topbar-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.portal-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-home-link:hover {
    text-decoration: none;
}

.portal-topbar h2 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.header-subtitle {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.logout-button {
    width: auto;
    background: var(--color-text);
    color: #fff;
}

.logout-button:hover {
    background: #1f1f1f;
    box-shadow: 0 8px 20px rgba(45, 45, 45, 0.2);
}

.portal-content {
    margin-top: 1rem;
}

.section-pane {
    display: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem;
}

.section-pane.active {
    display: block;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.section-heading p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.section-actions {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.panel-head h4 {
    margin-bottom: 0;
}

.filter-select {
    appearance: none;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 0.35rem 0.6rem;
    font-size: 0.84rem;
    color: var(--color-text);
}

.ghost-btn {
    width: auto;
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border-soft);
    font-weight: 600;
    box-shadow: none;
}

.ghost-btn:hover {
    background: rgba(255, 218, 0, 0.3);
    box-shadow: none;
    transform: none;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.metric-card {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.9rem;
}

.metric-card h4 {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.metric-card p {
    font-size: 1.15rem;
    font-weight: 700;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.docs-layout {
    align-items: start;
}

.panel {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 1rem;
    margin-bottom: 0.9rem;
}

.panel h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.card {
    border: 1px solid rgba(141, 144, 155, 0.24);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.95rem;
    margin-bottom: 0.7rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.card h4 {
    margin-bottom: 0.45rem;
}

.card p {
    margin-bottom: 0.3rem;
    color: #4a4d57;
}

.card p:last-child {
    margin-bottom: 0;
}

.status-chip {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #f7f7f7;
    border: 1px solid var(--color-border-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-paid,
.status-approved,
.status-completed,
.status-done {
    background: rgba(34, 197, 94, 0.12);
}

.status-blocked,
.status-overdue,
.status-off-track,
.status-payment-is-late {
    background: rgba(239, 68, 68, 0.12);
}

.status-in-progress,
.status-sent,
.status-client-reviewing,
.status-waiting-for-payment {
    background: rgba(59, 130, 246, 0.12);
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.65rem;
}

.kanban-column {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    min-height: 220px;
    padding: 0.65rem;
}

.kanban-column header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
}

.kanban-column h5 {
    font-size: 0.92rem;
}

.kanban-cards {
    display: grid;
    gap: 0.5rem;
}

.kanban-card {
    border: 1px solid var(--color-border-soft);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 0.65rem;
}

.kanban-card h6 {
    font-size: 0.9rem;
    margin-bottom: 0.28rem;
}

.kanban-card p {
    font-size: 0.84rem;
    color: #585b66;
    margin-bottom: 0.25rem;
}

.list-row {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.8rem;
    margin-bottom: 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    background: #fff;
}

.list-main {
    min-width: 0;
    flex: 1;
}

.list-title {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.35;
}

.list-detail {
    color: #585b66;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.list-kicker {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: #f8f9fb;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.08rem 0.5rem;
}

.list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.08rem 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    background: #f8f9fb;
    color: #3f4250;
}

.tag-type.type-task {
    background: rgba(247, 128, 0, 0.14);
    border-color: rgba(247, 128, 0, 0.45);
    color: #8f4300;
}

.tag-type.type-milestone {
    background: rgba(255, 218, 0, 0.25);
    border-color: rgba(247, 128, 0, 0.34);
    color: #7a4a00;
}

.tag-type.type-invoice {
    background: rgba(45, 45, 45, 0.08);
    border-color: rgba(45, 45, 45, 0.25);
    color: #2d2d2d;
}

.tag-type.type-deliverable {
    background: rgba(141, 144, 155, 0.16);
    border-color: rgba(141, 144, 155, 0.4);
}

.tag-type.type-comment {
    background: rgba(88, 95, 255, 0.12);
    border-color: rgba(88, 95, 255, 0.36);
    color: #323dad;
}

.status-chip.tag {
    padding: 0.08rem 0.5rem;
    font-size: 0.76rem;
}

.assignee-chip {
    background: #f2f4f8;
}

.assignee-chip.assignee-freelancer {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.44);
    color: #1d4ed8;
}

.assignee-chip.assignee-client {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.5);
    color: #166534;
}

.list-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.38rem;
    flex-shrink: 0;
}

.list-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: #f8f9fb;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.12rem 0.52rem;
}

.row-unread {
    border-color: rgba(247, 128, 0, 0.5);
    background: rgba(255, 218, 0, 0.1);
}

.upcoming-row {
    border-left: 3px solid rgba(247, 128, 0, 0.6);
}

.activity-list {
    display: grid;
    gap: 0.45rem;
}

.activity-row {
    border-left: 3px solid rgba(141, 144, 155, 0.45);
}

.activity-row.type-task {
    border-left-color: rgba(247, 128, 0, 0.6);
}

.activity-row.type-milestone {
    border-left-color: rgba(223, 166, 0, 0.7);
}

.activity-row.type-comment {
    border-left-color: rgba(37, 99, 235, 0.6);
}

.activity-row.type-invoice {
    border-left-color: rgba(45, 45, 45, 0.55);
}

.activity-row.type-deliverable {
    border-left-color: rgba(34, 197, 94, 0.6);
}

.emphasis {
    font-weight: 700;
    color: var(--color-primary);
}

.link-row a {
    font-weight: 600;
}

.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.calendar-controls h4 {
    font-size: 1.08rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.calendar-cell {
    min-height: 78px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.42rem;
}

.calendar-cell .day-number {
    font-size: 0.88rem;
    font-weight: 700;
}

.calendar-cell .day-count {
    font-size: 0.78rem;
    border-radius: 999px;
    background: var(--color-accent);
    padding: 1px 6px;
}

.calendar-cell.is-muted {
    background: #f7f8fa;
    border-style: dashed;
}

.calendar-cell.is-selected {
    border-color: var(--color-primary);
    background: rgba(255, 218, 0, 0.16);
}

.notification-row {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.95rem 1rem;
    margin-bottom: 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
}

.notification-row.unread {
    border-left: 4px solid var(--color-primary);
    background: rgba(255, 218, 0, 0.1);
    box-shadow: 0 8px 20px rgba(247, 128, 0, 0.08);
}

.notification-row.type-task {
    border-left: 4px solid rgba(247, 128, 0, 0.7);
}

.notification-row.type-milestone {
    border-left: 4px solid rgba(223, 166, 0, 0.8);
}

.notification-row.type-comment {
    border-left: 4px solid rgba(37, 99, 235, 0.7);
}

.notification-row.type-invoice {
    border-left: 4px solid rgba(45, 45, 45, 0.6);
}

.notification-row.type-deliverable {
    border-left: 4px solid rgba(34, 197, 94, 0.7);
}

.notification-main {
    min-width: 0;
    flex: 1;
}

.notification-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
}

.notification-type {
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.14rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.notification-type.type-task {
    background: rgba(247, 128, 0, 0.11);
    border-color: rgba(247, 128, 0, 0.4);
}

.notification-type.type-milestone {
    background: rgba(255, 218, 0, 0.2);
    border-color: rgba(247, 128, 0, 0.3);
}

.notification-type.type-invoice {
    background: rgba(45, 45, 45, 0.08);
    border-color: rgba(45, 45, 45, 0.18);
}

.notification-type.type-deliverable,
.notification-type.type-comment {
    background: rgba(141, 144, 155, 0.15);
    border-color: rgba(141, 144, 155, 0.35);
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(247, 128, 0, 0.2);
}

.notification-row h4 {
    margin-bottom: 0.24rem;
    line-height: 1.34;
}

.notification-message {
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.notification-row p {
    color: #555866;
    margin-bottom: 0.25rem;
}

.notification-meta {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.notification-meta span {
    border-radius: 999px;
    padding: 0.08rem 0.5rem;
    border: 1px solid var(--color-border-soft);
    background: #fbfbfc;
}

.notification-actions {
    min-width: 105px;
    display: flex;
    justify-content: flex-end;
    align-self: center;
}

.notification-actions .ghost-btn {
    white-space: nowrap;
}

.notification-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.notif-stat {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    padding: 0.16rem 0.58rem;
    font-size: 0.77rem;
    font-weight: 700;
    background: #f9fafb;
    color: #3f4250;
}

.notif-stat.type-task {
    background: rgba(247, 128, 0, 0.14);
    border-color: rgba(247, 128, 0, 0.35);
}

.notif-stat.type-milestone {
    background: rgba(255, 218, 0, 0.24);
    border-color: rgba(223, 166, 0, 0.42);
}

.notif-stat.type-comment {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.notif-stat.type-invoice {
    background: rgba(45, 45, 45, 0.1);
    border-color: rgba(45, 45, 45, 0.28);
}

.notif-stat.type-deliverable {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.32);
}

.notif-stat.notif-unread {
    background: rgba(255, 218, 0, 0.34);
    border-color: rgba(247, 128, 0, 0.44);
}

.notification-feed {
    display: grid;
    gap: 0.5rem;
}

.comment-form,
.doc-form {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.95rem;
    margin-bottom: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.form-row.form-row-single {
    grid-template-columns: 1fr;
}

.form-actions {
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rating-input-wrap {
    margin-bottom: 0.55rem;
    border: 1px dashed rgba(141, 144, 155, 0.55);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.65rem 0.72rem;
}

.rating-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #4a4d57;
    margin-bottom: 0.28rem;
}

.rating-stars-input {
    display: inline-flex;
    gap: 0.2rem;
}

.rating-star {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 1px solid var(--color-border-soft);
    border-radius: 50%;
    background: #fff;
    color: rgba(141, 144, 155, 0.9);
    font-size: 1.12rem;
    line-height: 1;
    padding: 0;
    box-shadow: none;
}

.rating-star:hover,
.rating-star.is-active {
    color: #8f4300;
    background: rgba(255, 218, 0, 0.48);
    border-color: rgba(247, 128, 0, 0.58);
    transform: none;
}

.rating-star:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.comment-row {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0.86rem;
    margin-bottom: 0.6rem;
}

.comment-row header {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.comment-role {
    border-radius: 999px;
    border: 1px solid var(--color-border-soft);
    padding: 0.08rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.comment-role.role-client {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.5);
    color: #166534;
}

.comment-role.role-freelancer {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.44);
    color: #1d4ed8;
}

.comment-rating-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid rgba(247, 128, 0, 0.34);
    border-radius: 999px;
    background: rgba(255, 218, 0, 0.24);
    padding: 0.12rem 0.56rem;
}

.comment-rating-text {
    font-size: 0.76rem;
    font-weight: 800;
    color: #6d3c00;
}

.rating-none {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

button.is-loading {
    position: relative;
    padding-left: 2rem;
}

button.is-loading::before {
    content: "";
    position: absolute;
    left: 0.72rem;
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(45, 45, 45, 0.3);
    border-top-color: rgba(45, 45, 45, 0.92);
    animation: spin 0.72s linear infinite;
}

.stripe-pay {
    display: inline-block;
    padding: 0.42rem 0.72rem;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #1f1f1f;
    font-weight: 700;
    border: 1px solid #d86a00;
}

.stripe-pay:hover {
    background: #ff9a24;
    text-decoration: none;
}

.meet-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text);
    background: rgba(255, 218, 0, 0.45);
    border: 1px solid rgba(247, 128, 0, 0.55);
    border-radius: 999px;
    padding: 0.14rem 0.52rem;
}

.meet-link:hover {
    background: rgba(255, 218, 0, 0.7);
    text-decoration: none;
}

.comment-row time {
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.loading {
    color: var(--color-text-muted);
    font-size: 0.93rem;
    padding: 1.4rem 0.5rem;
    text-align: center;
}

.empty-state {
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    border: 1px dashed var(--color-border-soft);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
}

.muted {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

@media (max-width: 1060px) {
    .public-header {
        grid-template-columns: auto 1fr auto;
        border-radius: var(--radius-md);
        top: 0.45rem;
        gap: 0.65rem;
    }

    .public-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .public-nav::-webkit-scrollbar {
        display: none;
    }

    .public-actions {
        justify-content: flex-end;
    }

    .language-menu {
        min-width: 9rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .proof-strip {
        grid-template-columns: 1fr;
    }

    .ratings-overview {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .pricing-notes {
        grid-template-columns: 1fr;
    }

    .public-grid.two-col,
    .public-grid.three-col {
        grid-template-columns: 1fr;
    }

    .portal-shell {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        position: static;
        height: auto;
    }

    .portal-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .nav-item {
        min-width: max-content;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .public-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-loader__panel {
        gap: 0.85rem;
        padding: 1rem 0.92rem;
        border-radius: 22px;
    }

    .site-loader__badge {
        min-width: 0;
        width: 100%;
        gap: 0.72rem;
        padding: 0.62rem 0.72rem;
    }

    .site-loader__logo {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .site-loader__wordmark {
        font-size: clamp(1.9rem, 12vw, 3.4rem);
        letter-spacing: 0.16em;
    }

    .site-loader__label {
        font-size: 0.88rem;
    }

    .public-shell {
        padding: 0.55rem;
    }

    .public-header {
        position: static;
        border-radius: var(--radius-sm);
        padding: 0.42rem 0.48rem;
        gap: 0.5rem;
    }

    .hero-split,
    .public-section {
        padding: 1rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .public-primary-btn,
    .hero-actions .public-link-btn,
    .hero-actions .public-secondary-btn {
        width: 100%;
    }

    .public-actions {
        width: 100%;
        min-inline-size: 0;
        justify-content: space-between;
    }

    .public-actions .public-primary-btn,
    .public-actions .public-link-btn,
    .public-actions .public-secondary-btn {
        width: auto;
        white-space: nowrap;
        padding: 0.45rem 0.62rem;
        font-size: 0.82rem;
    }

    .language-switcher {
        align-items: stretch;
    }

    .language-trigger {
        min-height: 32px;
        padding-inline: 0.56rem;
    }

    .language-menu {
        left: auto;
        right: 0;
        min-width: 8.4rem;
    }

    .public-nav a {
        padding: 0.22rem 0.54rem;
        font-size: 0.82rem;
    }

    .portal-shell {
        padding: 0.65rem;
    }

    .portal-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logout-button {
        width: 100%;
    }

    .section-pane {
        padding: 1rem;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .calendar-cell {
        min-height: 68px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .list-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .list-side {
        align-items: flex-start;
    }

    .panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .notification-row {
        flex-direction: column;
        align-items: stretch;
    }

    .notification-actions {
        justify-content: flex-start;
        min-width: 0;
    }

    .logo-image {
        width: 46px;
        height: 46px;
    }

    .logo-image-sm {
        width: 38px;
        height: 38px;
    }

    .tally-wrap-wide iframe {
        min-height: 68vh;
    }

    .testimonial-slide {
        padding: 0.86rem;
    }

    .testimonial-quote {
        font-size: 0.98rem;
    }

    .public-footer {
        padding: 1rem;
    }

    .public-footer-grid {
        grid-template-columns: 1fr;
        gap: 0.82rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .legal-contact-actions .public-primary-btn,
    .legal-contact-actions .public-secondary-btn {
        width: 100%;
    }

    .rating-stars-input {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js .page-loader-enabled.site-loader-active {
        overflow: auto;
    }

    .site-loader__panel,
    .site-loader__badge,
    .site-loader__wordmark,
    .site-loader__wordmark::after,
    .site-loader__label,
    .site-loader__progress {
        animation: none;
    }
}
