/* Contrato: página del cliente (/k/…) y recuadro de firma (también se usa en el panel) */
.ct main#app { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 28px) 40px; }
.ct-hero { display: grid; gap: 12px; padding: clamp(28px, 7vh, 72px) 0 28px; }
.ct-hero img { width: 150px; height: auto; margin-bottom: 18px; }
.ct-title { font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: .98; margin: 0; }
.ct-verse { font-family: var(--serif); font-style: italic; color: var(--amber, #f0b560); font-size: 1.1rem; margin: 0; }
.ct-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 24px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.ct-fact { display: grid; gap: 3px; } .ct-fact b { font-weight: 500; font-size: 1.02rem; }
.ct-banner { transform: none; margin: 0 0 18px; }
.ct-card { background: var(--panel, #101013); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 34px); margin-bottom: 16px; }
.ct-h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 16px; }
.ct-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 24px; margin: 0; }
.ct-rows dt { font: 400 .66rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--mute, #8d887f); margin-bottom: 5px; }
.ct-rows dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.ct-sep { height: 1px; background: var(--line); margin: 20px 0; }
.ct-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(111,224,204,.4); background: rgba(111,224,204,.07); font-size: .92rem; }
.ct-chips i { width: 12px; height: 7px; border-left: 2px solid var(--teal, #6fe0cc); border-bottom: 2px solid var(--teal, #6fe0cc); transform: rotate(-45deg) translate(1px, -1px); }
.ct-list { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: #d9d3c8; } .ct-list li::marker { color: var(--amber, #f0b560); }
.ct-money { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .ct-money > div { display: grid; gap: 4px; } .ct-money b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
.ct-total { grid-column: 1 / -1; padding-bottom: 16px; border-bottom: 1px solid var(--line); } .ct-total b { font-size: clamp(2.2rem, 7vw, 3.4rem); color: var(--amber, #f0b560); }
.ct-terms { border-top: 1px solid var(--line); padding: 4px 0; } .ct-terms:last-child { border-bottom: 1px solid var(--line); }
.ct-terms summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 500; }
.ct-terms summary::-webkit-details-marker { display: none; } .ct-terms summary small { color: var(--mute, #8d887f); font-weight: 400; }
.ct-terms summary::after { content: '+'; font-size: 1.3rem; color: var(--amber, #f0b560); margin-left: auto; padding-left: 12px; } .ct-terms[open] summary::after { content: '–'; }
.ct-terms ol { margin: 0 0 14px; padding-left: 1.3em; display: grid; gap: 12px; color: #cfc9be; font-size: .95rem; line-height: 1.6; } .ct-terms ol li::marker { color: var(--amber, #f0b560); font-weight: 600; }
.ct-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-sigf { margin: 0; display: grid; gap: 8px; align-content: end; }
.ct-sigf img { width: 100%; height: 110px; object-fit: contain; object-position: left bottom; background: #f4f0e8; border-radius: 12px; padding: 10px; }
.ct-sigempty { height: 110px; border: 1px dashed var(--line-2, rgba(255,255,255,.2)); border-radius: 12px; display: grid; place-items: center; color: var(--mute, #8d887f); font-size: .9rem; }
.ct-sigf figcaption { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; } .ct-sigf figcaption span, .ct-sigf figcaption small { color: var(--mute, #8d887f); font-size: .8rem; }
.ct-form { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ct-go { justify-self: start; min-width: 220px; }
.ct-ask { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.ct-hash { margin-top: 14px; font-size: .75rem; color: var(--mute, #8d887f); overflow-wrap: anywhere; } .ct-hash code { font-family: var(--mono, monospace); font-size: .72rem; }
.ct-gone { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; }
.ct .pp-foot { padding-bottom: 110px; }
@media (max-width: 640px) { .ct-sigs, .ct-money { grid-template-columns: 1fr; } .ct-go { width: 100%; } }

/* recuadro de firma */
.sig { position: relative; border: 1px solid var(--line-2, rgba(255,255,255,.2)); border-radius: 14px; background: #f4f0e8; overflow: hidden; }
.sig-c { display: block; width: 100%; cursor: crosshair; }
.sig-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #8a857b; font-size: .95rem; pointer-events: none; transition: opacity .2s; }
.sig::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: 34px; height: 1px; background: rgba(0,0,0,.25); pointer-events: none; }
.sig.has .sig-hint { opacity: 0; }
.sig-clear { position: absolute; right: 8px; top: 8px; background: rgba(255,255,255,.75); color: #222; border-color: rgba(0,0,0,.2); }

/* panel: servicios marcables */
.ct-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-pick .chip { font-size: .8rem; padding: 8px 14px; letter-spacing: .02em; font-family: var(--sans); }
.ct-pick .chip.on { color: var(--ink); border-color: var(--teal); background: rgba(111,224,204,.1); }
