.auro-sig-generator {
    --auro-navy: #06163b;
    --auro-blue: #2f60ab;
    --auro-teal: #36b9aa;
    --auro-muted: #667085;
    color: #15213d;
    font-family: Lato, Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at 8% 4%, rgba(54,185,170,.1), transparent 28rem), #f4f6f9;
    border: 1px solid #e1e6ed;
    border-radius: 18px;
    overflow: hidden;
}

.auro-sig-generator * { box-sizing: border-box; }
.auro-sig-generator button,
.auro-sig-generator input { font-family: Lato, Arial, Helvetica, sans-serif; }

.auro-sig-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 14px clamp(20px, 5vw, 54px);
    background: #fff;
    border-bottom: 1px solid #e5e8ee;
}

.auro-sig-brand { display: flex; align-items: center; gap: 14px; }
.auro-sig-brand img { width: 54px; height: 54px; object-fit: contain; }
.auro-sig-brand p,
.auro-sig-brand h1 { margin: 0; }
.auro-sig-brand p { color: var(--auro-teal); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.auro-sig-brand h1 { color: var(--auro-navy); font-size: 22px; line-height: 1.2; }

.auro-sig-pill {
    padding: 9px 13px;
    border: 1px solid rgba(47,96,171,.2);
    border-radius: 999px;
    color: var(--auro-blue);
    background: #f5f8fd;
    font-size: 13px;
    font-weight: 700;
}

.auro-sig-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    padding: 42px clamp(20px, 5vw, 54px) 26px;
}

.auro-sig-intro > div:first-child { max-width: 680px; }
.auro-sig-eyebrow { display: inline-block; margin-bottom: 9px; color: var(--auro-teal); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auro-sig-intro h2 { margin: 0 0 11px; color: var(--auro-navy); font-size: clamp(30px, 3vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.auro-sig-intro p { margin: 0; color: var(--auro-muted); font-size: 17px; line-height: 1.65; }

.auro-sig-steps { display: flex; gap: 9px; }
.auro-sig-steps span { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: #59647b; font-size: 12px; font-weight: 700; }
.auro-sig-steps b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--auro-blue); font-size: 10px; }

.auro-sig-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
    gap: 24px;
    padding: 0 clamp(20px, 5vw, 54px);
}

.auro-sig-form-card,
.auro-sig-preview-card {
    border: 1px solid #e1e6ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(13,28,66,.08);
}

.auro-sig-form-card { padding: 24px; }
.auro-sig-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.auro-sig-section-heading span,
.auro-sig-preview-toolbar > span { color: var(--auro-navy); font-size: 17px; font-weight: 700; }
.auro-sig-section-heading small,
.auro-sig-preview-toolbar small { color: #8992a4; font-size: 12px; }

.auro-sig-form-card label { display: block; margin-top: 17px; color: #344054; font-size: 14px; font-weight: 700; }
.auro-sig-form-card input {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #d6dce6;
    border-radius: 9px;
    outline: none;
    color: var(--auro-navy);
    background: #fff;
    font-size: 15px;
}
.auro-sig-form-card input:focus { border-color: var(--auro-teal); box-shadow: 0 0 0 3px rgba(54,185,170,.13); }
.auro-sig-form-card label > small { display: block; margin-top: 6px; color: #8a93a4; font-size: 12px; font-weight: 400; }
.auro-sig-field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.auro-sig-field-meta small { color: #8a93a4; font-size: 12px; font-weight: 400; }

.auro-sig-option-card {
    margin: 18px 0 0;
    padding: 15px;
    border: 1px solid #e1e6ed;
    border-radius: 11px;
    background: #fbfcfe;
}
.auro-sig-option-card label { margin-top: 12px; }
.auro-sig-option-card label[hidden] { display: none; }
.auro-sig-toggle {
    display: flex!important;
    align-items: center;
    gap: 10px;
    margin: 0!important;
    cursor: pointer;
}
.auro-sig-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.auro-sig-toggle span {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #c9cfda;
    transition: background .2s ease;
}
.auro-sig-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(6,22,59,.2);
    transition: transform .2s ease;
}
.auro-sig-toggle input:checked + span { background: var(--auro-teal); }
.auro-sig-toggle input:checked + span::after { transform: translateX(18px); }
.auro-sig-toggle input:focus-visible + span { outline: 3px solid rgba(54,185,170,.25); outline-offset: 2px; }

.auro-sig-fixed-data { display: grid; gap: 7px; margin-top: 23px; padding: 14px; border-radius: 10px; background: #f5f8fb; color: #697386; font-size: 12px; line-height: 1.5; }
.auro-sig-fixed-data strong { color: var(--auro-blue); }

.auro-sig-preview-card { overflow: hidden; }
.auro-sig-preview-toolbar { display: grid; gap: 4px; min-height: 76px; padding: 17px 20px; border-bottom: 1px solid #e5e9ef; }
.auro-sig-preview-stage {
    min-height: 335px;
    padding: 32px;
    background: linear-gradient(90deg,rgba(47,96,171,.025) 1px,transparent 1px), linear-gradient(rgba(47,96,171,.025) 1px,transparent 1px), #f9fafc;
    background-size: 24px 24px;
}
.auro-sig-email-context { width: min(760px,100%); margin: 0 auto 18px; color: #4d576a; font-size: 15px; }
.auro-sig-signature-scroll { width: 100%; overflow-x: auto; padding: 18px; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(13,28,66,.06); }
.auro-sig-signature-canvas { width: max-content; margin: 0 auto; background: #fff; }

.auro-sig-action-row { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; min-height: 142px; padding: 20px; border-top: 1px solid #e5e9ef; background: #fff; text-align: center; }
.auro-sig-action-row p { margin: 0; color: #6e788c; font-size: 14px; }
.auro-sig-action-row button { width: min(420px,100%); min-height: 76px; padding: 20px 26px; border: 0; border-radius: 12px; color: #fff; background: var(--auro-blue); box-shadow: 0 10px 24px rgba(47,96,171,.28); font-size: 28px; line-height: 1.1; font-weight: 700; cursor: pointer; }
.auro-sig-action-row button:hover { background: #244f94; transform: translateY(-1px); }
.auro-sig-action-row button:disabled { cursor: not-allowed; opacity: .45; }
.auro-sig-copy-success { color: var(--auro-teal)!important; font-weight: 700; }
.auro-sig-copy-success[hidden] { display: none; }

.auro-sig-instructions { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 22px clamp(20px,5vw,54px) 36px; }
.auro-sig-instructions > div { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #e1e6ed; border-radius: 12px; background: rgba(255,255,255,.85); }
.auro-sig-instructions > div > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 8px; color: #fff; background: var(--auro-teal); font-size: 12px; font-weight: 700; }
.auro-sig-instructions p { margin: 0; color: #687286; font-size: 13px; line-height: 1.5; }
.auro-sig-instructions strong { color: var(--auro-navy); }

@media (max-width: 1050px) {
    .auro-sig-intro { display: block; }
    .auro-sig-steps { margin-top: 22px; flex-wrap: wrap; }
    .auro-sig-workspace { grid-template-columns: 1fr; }
    .auro-sig-form-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .auro-sig-section-heading,
    .auro-sig-fixed-data { grid-column: 1 / -1; }
    .auro-sig-instructions { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
    .auro-sig-pill,
    .auro-sig-steps { display: none; }
    .auro-sig-topbar,
    .auro-sig-intro,
    .auro-sig-workspace,
    .auro-sig-instructions { padding-left: 16px; padding-right: 16px; }
    .auro-sig-intro { padding-top: 30px; }
    .auro-sig-form-card { display: block; }
    .auro-sig-preview-stage { padding: 18px 12px; }
    .auro-sig-action-row { align-items: center; }
    .auro-sig-action-row button { width: 100%; }
    .auro-sig-instructions { grid-template-columns: 1fr; }
}
