.oc-purple{display:grid;gap:20px;min-width:0}.oc-purple .oc-intro{padding:20px;border-radius:16px;background:linear-gradient(135deg,#f6f0fc,#fff);border:1px solid #e9dbf4}.oc-purple h4{margin:0 0 10px}.oc-purple p{line-height:1.6}.oc-purple .field{display:grid;gap:8px;margin-bottom:16px}.oc-purple textarea{width:100%;min-height:280px;resize:vertical;line-height:1.6}.oc-purple input,.oc-purple select{max-width:100%;width:100%}.oc-purple iframe{width:100%;height:460px;border:1px solid #e5dced;border-radius:12px;background:#fff}.oc-purple .oc-contract>div:first-child{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.oc-purple pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.oc-purple .oc-fields{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.oc-purple summary{cursor:pointer}.oc-purple .section-actions{flex-wrap:wrap}@media(max-width:600px){.oc-purple iframe{height:350px}.oc-purple .oc-intro{padding:14px}.oc-purple .section-actions .btn{flex:1 1 150px}}

.oc-brandline{display:flex;align-items:center;gap:16px;margin-bottom:12px}.oc-brandline img{width:138px;height:auto}.oc-brandline .eyebrow{border-left:1px solid #dbcbe4;padding-left:16px;color:#9b7aab;font-size:9px}.oc-purple .oc-intro{border:1px solid #cbb4d8;border-left:5px solid #704184;border-radius:16px;padding:24px;background:#fcf9ff;box-shadow:0 8px 22px #4e255e0c}.oc-purple .oc-intro h4{font-size:20px;letter-spacing:-.4px;color:#5b3470}.oc-purple .oc-contract{border:1px solid #d7c4e2;border-radius:15px;padding:21px;background:white;box-shadow:0 7px 20px #3613440c}.oc-purple .oc-contract strong{font-size:16px;color:#583267}.oc-purple .oc-contract .section-actions{padding-top:14px;border-top:1px solid #eee5f3}.oc-purple .status{border-radius:7px;padding:6px 9px}.oc-purple .btn{border-radius:10px}.oc-purple details.form-card{border:1px solid #d7c4e2;border-radius:14px;box-shadow:0 6px 16px #36134408}.oc-purple details.form-card summary{font-weight:600;color:#69417d;padding:4px 0}.oc-purple iframe{border:1px solid #d4c1df;box-shadow:0 7px 20px #3613440b}@media(max-width:600px){.oc-brandline{flex-wrap:wrap;gap:9px}.oc-brandline img{width:128px}.oc-brandline .eyebrow{font-size:8px;padding-left:10px}.oc-purple .oc-intro{padding:20px}.oc-purple .oc-intro h4{font-size:18px}.oc-purple .oc-contract{padding:18px}}

/* Contract preparation workspace */
.modal.oc-workspace{width:min(1500px,calc(100vw - 40px))!important;max-width:1500px!important;max-height:94dvh!important;padding:24px!important;overflow-y:auto!important}.oc-workspace .modal-head{padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e8deee}.oc-workspace .modal-head h3{font-size:24px;margin-bottom:0}.oc-steps{display:flex;gap:24px;padding:0 0 18px;color:#7c6b89;font-size:12px}.oc-steps span{display:flex;align-items:center;gap:9px}.oc-steps b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eee5f5;color:#704184}.oc-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}.oc-workspace .oc-intro{padding:22px;position:sticky;top:0}.oc-intro .eyebrow,.oc-viewer-toolbar .eyebrow{font-size:9px;letter-spacing:1.6px;color:#876396}.oc-workspace .oc-intro h4{font-size:26px;line-height:1.15;margin-top:12px}.oc-workspace .oc-intro p{font-size:13px;color:#776780}.oc-intro .btn{width:100%;min-height:46px}.oc-preview-shell{min-width:0;background:#eeeaf1;border:1px solid #ded3e5;border-radius:18px;overflow:hidden;min-height:560px}.oc-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:560px;padding:40px;text-align:center;background:radial-gradient(ellipse at center,#fff,#f4eff7)}.oc-empty p{max-width:360px;color:#81718b;font-size:14px}.oc-empty h4{font-size:23px;color:#583267;margin-top:18px}.oc-paper-icon{display:grid;place-items:center;width:78px;height:96px;border-radius:12px;background:white;border:1px solid #d5bfdf;color:#9c70ae;font-size:43px;box-shadow:8px 10px 0 #e7dced}.oc-empty-tag{margin-top:18px;color:#8b7298;font-size:10px;letter-spacing:1px}.oc-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;background:white;border-bottom:1px solid #e3d8e9}.oc-viewer-toolbar h4{margin:5px 0 0;font-size:16px;color:#583267}.oc-workspace .oc-viewer iframe{display:block;width:100%;height:calc(100dvh - 290px);min-height:570px;border:0;border-radius:0;box-shadow:none;background:#eeeaef}.oc-send-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:white;border-top:1px solid #e3d8e9}.oc-send-panel>div{display:grid;gap:5px;min-width:0}.oc-send-panel strong{font-size:11px;color:#8b7596;text-transform:uppercase;letter-spacing:1px}.oc-send-panel span{font-size:13px;overflow-wrap:anywhere}.oc-send-panel small{color:#8e8097;font-size:11px}.oc-send-panel .btn{max-width:280px;min-height:48px}.oc-history{border-top:1px solid #e9e0ee;padding-top:24px}.oc-history .oc-contract{margin-top:12px}.oc-workspace.oc-preview-focus .oc-intro,.oc-workspace.oc-preview-focus .oc-history,.oc-workspace.oc-preview-focus .oc-steps{display:none}.oc-workspace.oc-preview-focus .oc-layout{grid-template-columns:minmax(0,1fr)}.oc-workspace.oc-preview-focus .oc-viewer iframe{height:calc(100dvh - 245px)}
@media(max-width:800px){.modal.oc-workspace{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;height:100dvh;border-radius:0!important;padding:16px!important}.oc-layout{grid-template-columns:minmax(0,1fr);gap:16px}.oc-workspace .oc-intro{position:static}.oc-steps{gap:10px;justify-content:space-between;font-size:10px}.oc-steps span{gap:5px;flex:1}.oc-steps b{flex-shrink:0;width:24px;height:24px;font-size:10px}.oc-empty,.oc-preview-shell{min-height:330px}.oc-empty{padding:24px}.oc-viewer-toolbar{padding:14px;align-items:flex-start;flex-direction:column}.oc-viewer-toolbar .section-actions{width:100%;display:flex}.oc-workspace .oc-viewer iframe{min-height:560px;height:75dvh}.oc-send-panel{position:static;padding:16px;flex-direction:column;align-items:stretch}.oc-send-panel .btn{max-width:none;width:100%}.oc-workspace .oc-purple .section-actions .btn{flex:1 1 auto}.oc-workspace .modal-head h3{font-size:21px}.oc-workspace .oc-history .section-actions{display:flex;gap:8px}}
