.elementor-1432 .elementor-element.elementor-element-a462cb4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-1e640aa */:root {
    --panel: rgba(255, 252, 247, 0.94);
    --panel-border: rgba(80, 58, 28, 0.14);
    --text: #2b241b;
    --muted: #6f6254;
    --brand-strong: #5d4019;
    --accent: #123d4a;
    --danger: #8a2d2d;
    --danger-soft: #f8e1e1;
    --success: #1d5f43;
    --success-soft: #deeee4;
    --shadow: 0 24px 60px rgba(59, 43, 21, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(124, 90, 45, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(18, 61, 74, 0.12), transparent 24%),
        linear-gradient(180deg, #f7f1e8 0%, #f1e7d7 100%);
}

button,
input,
select {
    font: inherit;
}

.page-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 24px auto 40px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(28, 59, 39, 0.92), rgba(18, 61, 74, 0.92)),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent);
    color: #fff8ef;
    box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker,
.hero-card-label,
.document-mark {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero h1,
.panel h2,
.document-header h3,
.history-head h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    line-height: 0.96;
    max-width: 10ch;
}

.hero-text {
    max-width: 62ch;
    margin: 18px 0 0;
    color: rgba(255, 248, 239, 0.84);
    line-height: 1.7;
}

.hero-card {
    align-self: end;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.12);
    border: 1px solid rgba(255, 248, 239, 0.18);
    backdrop-filter: blur(8px);
}

.hero-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.75;
    color: rgba(255, 248, 239, 0.88);
}

.layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.98fr) minmax(340px, 1.12fr);
    gap: 24px;
    margin-top: 24px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel-form {
    padding: 28px;
}

.panel-preview {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin-bottom: 22px;
}

.panel h2 {
    font-size: 2.1rem;
}

.panel-note {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 28ch;
    text-align: right;
}

.form-section {
    padding: 20px;
    border: 1px solid rgba(80, 58, 28, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
}

.form-section + .form-section {
    margin-top: 16px;
}

.section-title-row,
.history-head,
.preview-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.section-title-row h3,
.history-head h3 {
    margin: 0;
    font-size: 1.06rem;
}

.section-chip,
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.section-chip {
    color: var(--brand-strong);
    background: rgba(124, 90, 45, 0.12);
}

.status-badge {
    color: var(--muted);
    background: rgba(80, 58, 28, 0.08);
}

.status-badge.ready {
    color: var(--success);
    background: var(--success-soft);
}

.status-badge.error {
    color: var(--danger);
    background: var(--danger-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text);
    font-size: 0.96rem;
}

label span {
    font-weight: 600;
}

label.full {
    grid-column: 1 / -1;
}

input,
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(80, 58, 28, 0.16);
    border-radius: 14px;
    background: #fffdf9;
    color: var(--text);
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: rgba(18, 61, 74, 0.42);
    box-shadow: 0 0 0 4px rgba(18, 61, 74, 0.12);
}

input.invalid,
select.invalid {
    border-color: rgba(138, 45, 45, 0.42);
    box-shadow: 0 0 0 4px rgba(138, 45, 45, 0.08);
}

.feedback {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    line-height: 1.6;
}

.feedback.show {
    display: block;
}

.feedback.error {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid rgba(138, 45, 45, 0.14);
}

.feedback.success {
    color: var(--success);
    background: var(--success-soft);
    border: 1px solid rgba(29, 95, 67, 0.14);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff7eb;
    background: linear-gradient(135deg, #7c5a2d, #573712);
    box-shadow: 0 12px 20px rgba(87, 55, 18, 0.2);
}

.btn-secondary {
    color: #fff8ef;
    background: linear-gradient(135deg, #1d5f43, #184735);
}

.btn-ghost,
.history-clear {
    color: var(--accent);
    background: rgba(18, 61, 74, 0.08);
}

.history-clear {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.document-sheet {
    background: #fffdfa;
    border: 1px solid rgba(80, 58, 28, 0.12);
    border-radius: 28px;
    padding: 44px;
    min-height: 720px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.document-header {
    border-bottom: 1px solid rgba(80, 58, 28, 0.14);
    padding-bottom: 18px;
    margin-bottom: 28px;
}

.document-header h3 {
    font-size: 2.5rem;
    line-height: 0.95;
}

.contract-body {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.36rem;
    line-height: 1.55;
}

.contract-body p {
    margin: 0 0 16px;
}

.contract-body h4 {
    margin: 28px 0 10px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contract-body .signature-block {
    margin-top: 42px;
    text-align: center;
}

.contract-body .signature-line {
    width: min(320px, 90%);
    margin: 0 auto 10px;
    border-bottom: 1px solid rgba(43, 36, 27, 0.65);
    height: 22px;
}

.empty-state {
    color: var(--muted);
}

.history-card {
    padding: 20px;
    border: 1px solid rgba(80, 58, 28, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
}

.history-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.history-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fffdf9;
    border: 1px solid rgba(80, 58, 28, 0.1);
}

.history-empty {
    color: var(--muted);
}

.history-title,
.history-meta {
    margin: 0;
}

.history-title {
    font-weight: 600;
}

.history-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.93rem;
}

@media (max-width: 1120px) {
    .layout,
    .hero {
        grid-template-columns: 1fr;
    }

    .panel-note {
        text-align: left;
    }
}

@media (max-width: 780px) {
    .page-shell {
        width: min(100% - 20px, 100%);
        margin-top: 10px;
    }

    .hero,
    .panel-form,
    .panel-preview,
    .document-sheet {
        padding: 20px;
    }

    .panel-head,
    .section-title-row,
    .preview-head,
    .history-head {
        flex-direction: column;
        align-items: start;
    }

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

    .document-header h3 {
        font-size: 2rem;
    }

    .contract-body {
        font-size: 1.18rem;
    }
}/* End custom CSS */