.portal-show .pageStage{position:relative;overflow:hidden;background:radial-gradient(1000px 420px at 5% -10%,rgba(14,165,233,.18),transparent 65%),radial-gradient(860px 360px at 95% 0%,rgba(99,102,241,.14),transparent 60%),#f1f5f9;min-height:calc(100vh - 58px)}.portal-show .wrap{max-width:1660px;margin:0 auto;padding:28px 18px 36px}.portal-show .headCard{border:1px solid #dbe5f1;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);padding:20px;box-shadow:0 16px 34px #0f172a14;margin-bottom:16px}.portal-show .crumb{font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8}.portal-show .crumb span{margin:0 6px;color:#cbd5e1}.portal-show .title{font-size:32px;line-height:1.05;font-weight:900;color:#0f172a;letter-spacing:-.02em;margin-top:10px}.portal-show .muted{color:#64748b}.portal-show .toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.portal-show .btnWhite,.portal-show .btnDark{min-height:46px;padding:0 16px;border-radius:12px;font-weight:900;font-size:14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.portal-show .btnWhite{border:1px solid #e5e7eb;background:#fff;color:#0f172a}.portal-show .btnDark{border:1px solid #0f172a;background:#0f172a;color:#fff}.portal-show .topBadges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.portal-show .walletTag,.portal-show .statusTag{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-weight:900;font-size:13px}.portal-show .walletTag{background:#ede9fe;color:#4338ca;border:1px solid #ddd6fe}.portal-show .statusOk{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.portal-show .statusPend{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.portal-show .meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.portal-show .metaItem{border:1px solid #e8eef7;border-radius:12px;padding:14px;background:#f8fbff}.portal-show .metaLabel{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.portal-show .metaValue{margin-top:5px;font-size:20px;font-weight:900;color:#0f172a;line-height:1.2;word-break:break-word}.portal-show .viewer{border:1px solid #dbe5f1;background:#fff;border-radius:18px;padding:14px;box-shadow:0 14px 30px #0f172a0f}.portal-show .viewer iframe{width:100%;min-height:76vh;border:none;border-radius:12px;background:#fff}.portal-show .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.portal-show .subtitle{margin-top:4px;font-size:14px}.portal-show .signedMeta{margin-top:10px;font-size:13px;line-height:1.5}.portal-show .headCardAlert{margin-bottom:12px;font-weight:800}.portal-show .headCardAlertOk{border-color:#bbf7d0;background:#ecfdf5;color:#065f46}.portal-show .headCardAlertErr{border-color:#fecaca;background:#fff1f2;color:#9f1239}@media(max-width:980px){.portal-show .title{font-size:26px}.portal-show .meta{grid-template-columns:1fr 1fr}.portal-show .metaValue{font-size:18px}.portal-show .viewer iframe{min-height:64vh}}@media(max-width:640px){.portal-show .wrap{padding:18px 12px 24px}.portal-show .headCard{padding:14px}.portal-show .meta{grid-template-columns:1fr}.portal-show .actions{display:grid;grid-template-columns:1fr}.portal-show .viewer iframe{min-height:56vh}.portal-show .btnWhite,.portal-show .btnDark{width:100%}}.portal-sign .pageStage{position:relative;overflow:hidden;background:radial-gradient(1000px 420px at 5% -10%,rgba(14,165,233,.18),transparent 65%),radial-gradient(860px 360px at 95% 0%,rgba(99,102,241,.14),transparent 60%),#f1f5f9;min-height:calc(100vh - 58px)}.portal-sign .wrap{max-width:1660px;margin:0 auto;padding:28px 18px 36px}.portal-sign .crumb{font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8}.portal-sign .crumb span{margin:0 6px;color:#cbd5e1}.portal-sign .title{margin-top:10px;font-size:30px;font-weight:900;color:#0f172a;letter-spacing:-.02em;line-height:1.05}.portal-sign .muted{color:#64748b}.portal-sign .headCard{border:1px solid #dbe5f1;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);padding:20px;box-shadow:0 16px 34px #0f172a14;margin-bottom:16px}.portal-sign .toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.portal-sign .btnWhite{min-height:46px;padding:0 16px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;color:#0f172a;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.portal-sign .btnWhite:hover{background:#f8fafc}.portal-sign .btnDark{min-height:46px;padding:0 16px;border-radius:12px;border:1px solid #0f172a;background:#0f172a;color:#fff;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.portal-sign .btnDark:disabled{opacity:.55;cursor:not-allowed}.portal-sign .badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-weight:900;font-size:12px}.portal-sign .badgeOk{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.portal-sign .badgePend{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.portal-sign .badgeWallet{background:#ede9fe;color:#4338ca;border:1px solid #ddd6fe}.portal-sign .alertOk{margin-top:10px;padding:10px 12px;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;color:#065f46;font-weight:700}.portal-sign .alertErr{margin-top:10px;padding:10px 12px;background:#fff1f2;border:1px solid #fecaca;border-radius:12px;color:#9f1239;font-weight:700}.portal-sign .subtitle{margin-top:4px;font-size:14px}.portal-sign .badgesRow{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.portal-sign .gridTopSpace{margin-top:14px}.portal-sign .pdfTopLeft{display:flex;align-items:center;gap:10px}.portal-sign .pdfTitle{font-weight:900;color:#0f172a}.portal-sign .pdfHint{padding:10px;font-weight:700}.portal-sign .signHeader{display:flex;justify-content:space-between;align-items:center;gap:10px}.portal-sign .signHeaderTitle{font-weight:900;color:#0f172a}.portal-sign .sigForm{margin-top:10px}.portal-sign .agreeRow{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#0f172a}.portal-sign .agreeCheckbox{margin-top:3px}.portal-sign .consentBox{font-size:12px;line-height:1.4;border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#f8fafc}.portal-sign .fieldLabel{display:block;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.portal-sign .passwordInput{width:100%;height:44px;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px}.portal-sign .sigDrawLabel{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.portal-sign .sigQuickLabel{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-top:8px}.portal-sign .signNote{font-size:12px;line-height:1.4}.portal-sign .signedInfo{margin-top:10px;font-weight:700}.portal-sign .rowTopSpace{margin-top:10px}.portal-sign .meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.portal-sign .metaItem{border:1px solid #e8eef7;border-radius:12px;padding:14px;background:#f8fbff}.portal-sign .metaLabel{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.portal-sign .metaValue{margin-top:5px;font-size:20px;font-weight:900;color:#0f172a;line-height:1.2;word-break:break-word}.portal-sign .grid{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;align-items:start}.portal-sign .card{border:1px solid #dbe5f1;background:#fff;border-radius:18px;padding:16px;box-shadow:0 14px 30px #0f172a0f}.portal-sign .pdfBox{padding:0;border-radius:18px;overflow:hidden}.portal-sign .pdfTop{padding:14px 16px;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.portal-sign .pdfCanvasWrap{padding:14px 16px;max-height:72vh;overflow:auto;background:#f8fafc}.portal-sign .pdfContainerWrap{position:relative}.portal-sign .wmLayer{position:absolute;inset:0;pointer-events:none;z-index:8;overflow:hidden}.portal-sign .wmText{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-24deg);font-size:18px;font-weight:900;letter-spacing:.04em;color:#0f172a1a;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.portal-sign .page{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 10px 24px #0000000f;margin:0 auto 14px;padding:10px;width:-moz-fit-content;width:fit-content}.portal-sign canvas{display:block;border-radius:10px}.portal-sign .sigBox{display:flex;flex-direction:column;gap:10px}.portal-sign .sigCanvas{width:100%;height:160px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff;touch-action:none}.portal-sign .sigPresetRow{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.portal-sign .sigPresetBtn{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:7px 11px;font-size:12px;font-weight:800;cursor:pointer;max-width:100%}.portal-sign .sigPresetBtn:hover{background:#f8fafc}.portal-sign .sigPresetBtn b{display:block;font-size:11px;line-height:1.1;color:#475569}.portal-sign .sigPresetBtn span{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-sign .row{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:1180px){.portal-sign .grid{grid-template-columns:1fr}}@media(max-width:980px){.portal-sign .title{font-size:25px}.portal-sign .meta{grid-template-columns:1fr 1fr}.portal-sign .metaValue{font-size:18px}}@media(max-width:640px){.portal-sign .wrap{padding:18px 12px 24px}.portal-sign .headCard{padding:14px}.portal-sign .meta{grid-template-columns:1fr}.portal-sign .row{display:grid;grid-template-columns:1fr}.portal-sign .btnWhite,.portal-sign .btnDark{width:100%}}@media print{.portal-sign *{visibility:hidden!important}.portal-sign:before{content:"Impressao desativada ate assinatura.";visibility:visible!important;position:fixed;inset:0;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;color:#0f172a;background:#fff;z-index:99999}}
