.memo-page .container{max-width:680px;padding:26px 22px}.memo-pair{background:linear-gradient(135deg,#f2f8fc,#fff);border:1px solid #d7e5ef;border-radius:18px;padding:22px;text-align:center}.memo-pair h2{font-size:17px;margin:14px 0 4px;color:#144767}.memo-pair p{font-size:13px;line-height:1.6;color:#536b7b;margin:0}.memo-tag{display:inline-block;background:#e5f3ed;color:#226a4d;border-radius:20px;font-size:11px;padding:4px 12px}.memo-divider{display:flex;align-items:center;gap:12px;font-size:11px;color:#70899a;margin:18px 0 0}.memo-divider:before,.memo-divider:after{content:'';height:1px;background:#dbe5ed;flex:1}.memo-help{font-size:12px;color:#647987;line-height:1.7;margin:16px 0}.memo-section{min-width:0;margin:24px 0;padding:18px;border:1px solid #dbe5ed;border-radius:16px;background:#fff}.memo-section legend{font-weight:600;font-size:16px;padding:0 7px;color:#174e72}.memo-section legend span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e9f2f9;font-size:12px;margin-right:6px}.memo-section label{display:block;text-align:left;font-size:13px;font-weight:500;color:#3c596d;margin:0 0 16px}.memo-section label:last-child{margin-bottom:0}.memo-section input,.memo-section select{box-sizing:border-box;display:block;width:100%;min-width:0;margin:7px 0 0;border:1px solid #cddce7;border-radius:9px;background:#fff;padding:12px;font:inherit;font-size:16px;color:#153f5c}.memo-section input:focus,.memo-section select:focus{outline:2px solid #87b5d8;outline-offset:2px}.memo-section input[type=date]{min-height:46px;appearance:none}.memo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.memo-primary{width:100%;border:0;border-radius:10px;color:#fff;padding:14px;font:inherit;font-weight:600;cursor:pointer}.memo-primary:disabled{opacity:.5;cursor:default}.memo-review{margin-top:24px}.memo-review-heading h2{font-size:18px;margin:0}.memo-review-heading>span{display:block;font-size:12px;color:#6d8494;margin:5px 0 16px}.memo-review article{padding:22px;background:#fff;border:1px solid #d9e1e8;border-radius:12px;line-height:1.85;overflow-wrap:anywhere}.memo-review article h3{text-align:center;margin:0 0 18px;color:#17354a}.memo-review article p{font-size:14px;margin:0 0 15px;color:#283d4b}.memo-review article .memo-paragraph{text-indent:1.27em;text-align:justify;text-justify:inter-character;text-align-last:start}.memo-review article .memo-paragraph-first{text-indent:2.5em}.memo-review article .memo-signatures{position:relative;margin:24px 0 0 auto;max-width:300px;text-align:left;--signature-center:50%;--signature-width:100%}.memo-review article .memo-signatures p{font-size:13px;margin:0;line-height:1.85}.memo-review article .memo-signature-rank{padding-left:26%;text-align:left}.memo-review article .memo-signatures .memo-signature-name{margin-left:34%;width:max-content;max-width:66%;text-align:left}.memo-review article .memo-signature-position,.memo-review article .memo-signature-phone{position:relative;left:var(--signature-center);transform:translateX(-50%);width:var(--signature-width);text-align:center}.memo-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0;font-size:13px;line-height:1.7;color:#36566b}.memo-consent input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#0056b3}.memo-result{text-align:center;background:#edf6f1;border:1px solid #cce1d6;border-radius:14px;padding:22px;margin-top:20px}.memo-result h2{font-size:19px;color:#216847;margin:0}.memo-result p{font-size:13px;line-height:1.7}.memo-result-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:16px}.memo-result-actions .btn-save{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:46px;margin:0;line-height:1.5;white-space:nowrap;border:0;border-radius:8px;color:white;font:inherit;font-size:14px;padding:12px 8px;text-decoration:none;cursor:pointer}.memo-back{display:block;text-align:center;text-decoration:none}.memo-error{border:1px solid #e7c7c7;background:#fff8f8;border-radius:12px;padding:14px;color:#8b3030;margin:16px 0;line-height:1.7;font-size:14px}.memo-error button{margin:8px 0 0}.memo-page [hidden]{display:none!important}.memo-page .app-loading{padding:36px 12px}.memo-page .app-loading button{display:block;margin:18px auto 0}@media(max-width:420px){.memo-page .container{padding:22px 16px}.memo-section{padding:16px 13px}.memo-pair{padding:18px}.memo-grid{gap:10px}.memo-review article{padding:18px}}

.memo-page-icon{display:grid;place-items:center;background:linear-gradient(140deg,#e9f4fc,#dcebf5);color:#145a88}.memo-page-icon .memo-document-icon{width:44%;height:56%;margin:0}.memo-navigation{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.memo-navigation .back-btn{box-sizing:border-box;background:#fff;color:#145a88;border:1px solid #cbdce9;display:flex;align-items:center;justify-content:center;padding:12px 6px;margin:0;min-width:0;text-decoration:none;font-size:14px}.memo-review [data-memo-key]{white-space:pre-wrap;overflow-wrap:anywhere;outline:none;border-radius:3px;border-bottom:1px dashed #b5cbdc;cursor:text}.memo-review [data-memo-key]:focus{background:#eff7fd;box-shadow:0 0 0 3px #c7e0f2}.memo-viewer-open{overflow:hidden}.memo-viewer{box-sizing:border-box;width:100%;max-width:1100px;height:96vh;height:96dvh;max-height:100dvh;padding:0;border:1px solid #cfdae5;border-radius:14px;color:#173f5b;background:#f1f5f9;overscroll-behavior:contain}.memo-viewer::backdrop{background:#16354c99}.memo-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:white}.memo-viewer-toolbar h2{font-size:17px;margin:0}.memo-viewer button{font:inherit;font-size:13px;border:1px solid #cbdae6;border-radius:7px;background:#fff;color:#145a88;padding:9px 12px;cursor:pointer;min-height:42px}.memo-viewer button:disabled{opacity:.4;cursor:default}.memo-viewer-controls{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:8px;background:white;border-bottom:1px solid #dae4ec}.memo-viewer-controls span{font-size:13px;min-width:60px;text-align:center}.memo-viewer-scroll{overflow:auto;padding:12px 8px;max-height:calc(96dvh - 130px)}.memo-viewer-pages{width:100%;min-height:1px}.memo-viewer-pages canvas{display:block;margin:0 auto;background:white;box-shadow:0 2px 12px #17364c1a}.memo-viewer .memo-error{margin:16px}.memo-viewer #memoViewerRetry{display:block;margin:12px auto}.memo-viewer .app-loading{min-height:160px}.memo-viewer button:focus-visible{outline:2px solid #78acd3;outline-offset:2px}@media(max-width:600px){.memo-viewer{height:100vh;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.memo-viewer-scroll{max-height:calc(100dvh - 130px)}}
.memo-viewer button{width:auto;margin:0;flex:0 0 auto}.memo-viewer-toolbar h2{min-width:0;flex:1;font-size:17px}.memo-viewer-controls{flex-wrap:nowrap;gap:5px}.memo-viewer-controls button{padding:8px;font-size:12px}.memo-viewer-controls span{flex:1;min-width:56px}.memo-viewer-controls #memoViewerPrev,.memo-viewer-controls #memoViewerNext{min-width:38px;font-size:22px;padding:2px 8px}
.memo-page-icon .memo-document-icon{width:55%;height:68%}.memo-navigation .back-btn{border-radius:8px;min-height:46px}
