@font-face{font-family:Geist;src:url('geist.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--title:#1D4E61;--ink:#1D3F56;--deep:#173F50;--muted:#4D6574;--purple:#7329C3;--pink:#F448C9;--border:#E6D9EE;--card:#FAF5FD;--off:#F8F4FA;--white:#fff;--grad:linear-gradient(103deg,#E541C9,#8728E6);color:var(--ink);font-family:Geist,Arial,sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:#f8f6fa;line-height:1.5}button,input,select,textarea{font:inherit}button,a.btn{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--purple);outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}button{border:0}a{color:var(--purple)}[hidden]{display:none!important}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border-bottom:1px solid var(--border);padding:17px clamp(18px,4vw,62px);position:sticky;top:0;z-index:20}
.brand{display:flex;gap:16px;align-items:center;min-width:0}.brand>img{width:140px}.brand-divider{height:35px;width:1px;background:var(--border)}.brand b{font-size:16px;line-height:1.15;display:block;color:var(--title)}.brand small{display:block;font-size:12px;color:var(--muted)}
.top-actions{display:flex;gap:10px;align-items:center}.private{font-weight:650;font-size:13px;color:var(--muted);margin-right:8px;white-space:nowrap}.lock-icon{color:var(--purple);margin-right:4px}
.btn{padding:11px 17px;border-radius:9px;text-decoration:none;font-weight:700;line-height:1.2;font-size:14px;display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:8px;white-space:nowrap}.btn.primary{background:var(--grad);color:white;box-shadow:0 3px 10px #8F2CE42B}.btn.primary:hover{filter:brightness(.96)}.btn.outline{background:white;border:1px solid #DFC6EB;color:var(--purple)}.btn.outline:hover{background:#FAF5FD}.btn.glass{background:#FFFFFF17;color:white;border:1px solid #FFFFFF3C}.btn.ghost{color:#F4D4F6;background:none;padding-left:0}.btn.wide{width:100%}
main{max-width:1550px;margin:auto;padding:27px clamp(16px,3.5vw,50px) 0}.intro{background:radial-gradient(circle at 96% 28%,transparent 10%,#D9C0ED26 10.2%,transparent 10.4%,transparent 17%,#D9C0ED26 17.2%,transparent 17.4%,transparent 24%,#D9C0ED26 24.2%,transparent 24.4%,transparent 31%,#D9C0ED26 31.2%,transparent 31.4%),linear-gradient(120deg,#173F50 14%,#262E53 73%,#34244F);color:#E0E9F0;border-radius:20px;display:grid;grid-template-columns:1.3fr .7fr;gap:32px;padding:38px 42px;overflow:hidden}.intro h1{margin:9px 0 13px;color:white;font-size:clamp(2.4rem,4.5vw,4.2rem);letter-spacing:-.055em;line-height:.99;font-weight:900}.intro p{margin:0;max-width:670px;font-size:17px;line-height:1.48}.eyebrow{color:var(--purple);font-weight:800;letter-spacing:.09em;text-transform:uppercase;font-size:12px}.eyebrow.light{color:#F3C3ED}.intro-side{align-self:center;padding:24px;border:1px solid #FFFFFF25;background:#FFFFFF09;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:350px;justify-self:end;width:100%}.intro-side strong{font-size:23px;line-height:1.1;letter-spacing:-.025em;color:white;overflow-wrap:anywhere}.intro-side span:not(.section-meta){font-size:14px}.section-meta{font-size:12px;font-weight:800;letter-spacing:.09em;color:#F3C3ED}.intro-line{border-top:1px solid #ffffff25;width:100%;margin:8px 0 4px}
.catalog-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:31px 4px 14px}.catalog-head h2,.editor h2,.preview-toolbar h2{font-size:25px;letter-spacing:-.04em;font-weight:900;line-height:1.12;color:var(--title);margin:5px 0 0}.catalog-head>span{font-size:13px;color:var(--muted)}
.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.template-card{appearance:none;display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid var(--border);padding:20px 19px;min-height:170px;border-radius:14px;color:var(--ink);position:relative;gap:8px;box-shadow:0 2px 12px #25103004}.template-card:hover{border-color:#C397E3}.template-card.active{background:linear-gradient(145deg,#fff,#FAF1FF);border:2px solid #9B42D2;padding:19px 18px;box-shadow:0 2px 12px #7329c317}.template-icon{display:flex;align-items:center;justify-content:center;background:#F0E4FA;color:var(--purple);width:38px;height:38px;border-radius:10px}.template-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.template-card .category{position:absolute;right:16px;top:19px;border-radius:20px;background:#F8EFFB;color:#7329C3;font-size:11px;font-weight:750;padding:4px 8px}.template-card strong{font-size:18px;line-height:1.15;letter-spacing:-.024em;color:var(--title);font-weight:800}.template-card p{font-size:14px;line-height:1.38;margin:0;color:var(--muted)}.template-card .selected{margin-top:auto;color:var(--purple);font-weight:750;font-size:12px}
.workbench{display:grid;grid-template-columns:minmax(310px,380px) minmax(0,1fr);gap:18px;align-items:start;margin-top:28px}.editor,.preview-area{border-radius:15px;background:white;border:1px solid var(--border);box-shadow:0 2px 14px #25103006;min-width:0}.editor{padding:22px}.editor-head p{font-size:14px;color:var(--muted);margin:8px 0 20px}.field-group{border-top:1px solid var(--border);padding-top:16px;margin-top:16px}.field-group h3{font-size:15px;color:var(--title);margin:0 0 12px;font-weight:800}.field-group>p{font-size:13px;color:var(--muted);margin:0 0 10px}.field{margin:0 0 12px;min-width:0}.field label{display:block;font-size:13.5px;font-weight:650;color:var(--ink);margin-bottom:5px}.field input,.field textarea,.field select{width:100%;border:1px solid #DDD5E4;border-radius:8px;background:#FDFCFE;color:var(--ink);padding:10px 11px;font-size:14px;line-height:1.4;min-width:0}.field input[type=number]{font-variant-numeric:tabular-nums}.field textarea{min-height:72px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#9D51D5;outline:1px solid #A96ADF;outline-offset:0}.field input.invalid,.field textarea.invalid,.field select.invalid{border-color:#C57BB9}.field .hint{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px}.field .req{color:var(--purple)}.row-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.optional-group{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.optional-group summary{cursor:pointer;font-weight:750;font-size:14px;color:var(--purple);margin-bottom:10px}.optional-group summary::marker{color:var(--purple)}
.validation-card{border-radius:10px;padding:13px 14px;margin:18px 0 13px;background:#FAF4FD;border:1px solid #E5D3EE;font-size:13px}.validation-card strong{color:var(--title);font-size:14px;display:block;margin-bottom:4px}.validation-card p{margin:4px 0;color:var(--muted)}.validation-card .missing{color:#9B397F}.validation-card .check{display:flex;gap:9px;align-items:flex-start;font-size:13px;margin-top:10px}.check input{accent-color:var(--purple);margin-top:4px;flex-shrink:0}.security-note{padding:9px 11px;border-left:3px solid #E541C9;background:#FFF5FA;border-radius:6px;font-size:13px;margin-bottom:12px}.privacy-note{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}
.preview-area{overflow:hidden;background:#F3EFF6}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;background:white;padding:19px 22px;gap:14px}.preview-toolbar h2{font-size:21px;margin:4px 0 0}.preview-controls{display:flex;gap:9px;flex-wrap:wrap}.preview-meta{background:white;border-top:1px solid #F1ECF3;border-bottom:1px solid var(--border);padding:11px 22px;display:flex;justify-content:space-between;gap:12px;align-items:center}.file-name{font-size:12px;font-weight:650;color:var(--muted);overflow-wrap:anywhere}.preview-status{white-space:nowrap;border-radius:20px;background:#F8E9FA;color:#8A2690;font-size:12px;font-weight:750;padding:4px 10px}.preview-status.ready{background:#E8F5EA;color:#276640}.preview-note{font-size:12px;color:var(--muted);padding:11px 22px;background:#fff}.document-preview{padding:22px 20px;display:flex;flex-direction:column;align-items:center;gap:18px;overflow:hidden}.a4{background:#fff;width:100%;max-width:794px;padding:36px 41px 28px;position:relative;box-shadow:0 3px 15px #2B183F16;line-height:1.44;font-size:14px;overflow-wrap:anywhere;min-height:570px}.a4:before{content:'';position:absolute;height:2px;top:15px;left:41px;right:41px;background:var(--grad)}.a4 .brand-logo{width:144px;margin:0 0 23px;display:block}.a4 h1{color:var(--title);font-weight:900;font-size:clamp(26px,3vw,42px);line-height:1.04;letter-spacing:-.045em;margin:7px 0 11px}.a4 h2{font-weight:900;font-size:29px;color:var(--title);letter-spacing:-.04em;margin:7px 0 18px;line-height:1.1}.a4 h3{color:var(--title);font-weight:800;font-size:15px;margin:0 0 6px;line-height:1.22}.a4 h3 .article-no{color:var(--purple);display:inline-block;min-width:25px}.a4 p{margin:0 0 9px}.a4 .lead{font-size:15px;margin:0 0 19px}.a4 .eyebrow{font-size:10.4px}.hero-doc{display:grid;grid-template-columns:1.13fr .87fr;gap:16px;background:radial-gradient(circle at 103% 45%,transparent 21%,#D9C0ED30 21.3%,transparent 21.7%,transparent 28%,#D9C0ED30 28.3%,transparent 28.7%,transparent 36%,#D9C0ED30 36.3%,transparent 36.7%),linear-gradient(120deg,#173F50 14%,#262E53 73%,#34244F);padding:19px;border-radius:13px;color:#E0E9F0;align-items:center;margin:4px 0 15px}.hero-doc .eyebrow{color:#F3C3ED;margin-bottom:4px}.hero-doc .hero-val{display:block;color:white;font-size:36px;line-height:1.04;font-weight:900;letter-spacing:-.045em;overflow-wrap:anywhere}.hero-doc.guide .hero-val{font-size:24px}.hero-doc .hero-detail{font-size:12px;line-height:1.3;margin-top:4px}.hero-facts{border-left:1px solid #FFFFFF2A;padding-left:15px;display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}.hero-facts span{font-size:10px;color:#F3C3ED;display:block}.hero-facts strong{color:white;display:block;overflow-wrap:anywhere}.parties{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 13px}.party{background:var(--card);border:1px solid var(--border);border-radius:9px;padding:13px;font-size:12px}.party b{display:block;color:var(--title);font-size:15px;margin:4px 0 3px;font-weight:800}.rows{border-top:1px solid var(--border)}.docrow{display:grid;grid-template-columns:minmax(95px,26%) 1fr;gap:12px;border-bottom:1px solid var(--border);padding:9px 0;font-size:12px}.docrow span{font-weight:600;color:var(--muted)}.docrow strong{font-weight:650}.a4 .footnote{font-size:11px;color:var(--muted);margin:13px 0 0}.a4 .pagefoot{font-size:10px;border-top:1px solid var(--border);padding-top:10px;margin-top:35px;display:flex;justify-content:space-between;color:var(--muted);gap:10px}.clause-block{margin:0 0 15px}.clause-block.has-number p{padding-left:25px}.table-block{margin-bottom:17px}.table-block .docrow{padding:9px 7px}.table-block .docrow:nth-child(2n+1){background:var(--card)}.note-block,.example-block{background:var(--card);border:1px solid var(--border);border-radius:9px;margin-bottom:15px;padding:13px}.note-block h3,.example-block h3{color:var(--purple);font-size:12px;text-transform:uppercase;letter-spacing:.065em}.note-block p,.example-block p{font-size:12px;margin:7px 0 0}.example-line{display:flex;justify-content:space-between;gap:12px;margin:5px 0;font-size:13px;font-variant-numeric:tabular-nums}.example-line:last-of-type{border-top:1px solid var(--border);padding-top:8px;font-weight:800;color:var(--title)}.signs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sign-box{border:1px solid var(--border);border-radius:9px;padding:13px;color:var(--muted);font-size:11px;display:flex;flex-direction:column}.sign-box b{display:block;color:var(--title);min-height:48px;font-size:14px}.sign-line{height:48px;border-bottom:1px solid #AD9EBA;margin-bottom:9px}.doccontacts{font-size:11px;margin-top:10px;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:10px;padding:27px 4px;color:var(--muted);font-size:12px}
dialog{width:min(1000px,95vw);height:min(90vh,1000px);border:0;border-radius:14px;padding:0;box-shadow:0 15px 75px #1C103757;color:var(--ink)}dialog::backdrop{background:#173F5099}.modal-title{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--border);gap:15px}.modal-title small{display:block;font-size:12px;overflow-wrap:anywhere}.modal-title b{color:var(--title)}#pdfFrame{height:calc(100% - 132px);width:100%;border:0;background:#F4EDF6}.modal-actions{display:flex;justify-content:flex-end;padding:12px 18px;background:white}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:min(90vw,700px);padding:0;opacity:0;pointer-events:none;background:#1D3F56;color:white;border-radius:10px;z-index:60;font-size:14px;box-shadow:0 5px 20px #0002;transition:.2s}#toast.show{padding:13px 18px;opacity:1}#toast.error{background:#76284F}
@media(max-width:1000px){.workbench{grid-template-columns:320px minmax(0,1fr)}.preview-toolbar{flex-direction:column;align-items:flex-start}.a4{padding:30px 26px 22px}.a4:before{left:26px;right:26px}.intro{padding:32px}.topbar{padding:14px 20px}.top-actions .private{display:none}}
@media(max-width:760px){.topbar{position:static;flex-wrap:wrap;padding:13px 16px}.brand img{width:126px}.brand-divider{height:28px}.top-actions{width:100%;gap:7px}.top-actions .btn{font-size:12px;padding:8px 12px;min-height:35px}.intro{display:block;padding:25px 22px}.intro h1{font-size:40px}.intro p{font-size:15px}.intro-side{margin-top:22px;max-width:none;padding:16px}.intro-side strong{font-size:20px}.catalog-head{align-items:flex-start;flex-direction:column;gap:5px;margin-top:25px}.catalog-head h2{font-size:22px}.catalog{grid-template-columns:1fr;gap:8px}.template-card{min-height:110px;padding:15px 16px;display:grid;grid-template-columns:38px 1fr;align-content:center;gap:5px 12px}.template-card.active{padding:14px 15px}.template-icon{grid-row:span 3}.template-card strong{padding-right:0;font-size:16px}.template-card .category{position:static;grid-column:2;justify-self:start;grid-row:1;font-size:10px}.template-card p{font-size:13px;grid-column:2}.template-card .selected{display:none}.workbench{display:block;margin-top:20px}.editor{padding:18px}.preview-area{margin-top:18px}.preview-toolbar{padding:16px;align-items:flex-start}.preview-meta,.preview-note{padding:10px 16px}.document-preview{padding:11px 9px}.a4{padding:27px 19px 21px;min-height:0;font-size:12px}.a4:before{left:19px;right:19px}.a4 .brand-logo{width:115px;margin-bottom:18px}.a4 h1{font-size:30px}.a4 h2{font-size:24px}.a4 .lead{font-size:13px}.hero-doc{grid-template-columns:1fr;padding:14px;gap:11px}.hero-facts{border-left:0;border-top:1px solid #FFFFFF28;padding:10px 0 0}.hero-doc .hero-val{font-size:31px}.parties{gap:6px}.party{padding:9px;font-size:10.5px}.party b{font-size:12px}.docrow{font-size:11px}.a4 h3{font-size:13px}.a4 p{font-size:12px}.clause-block.has-number p{padding-left:0}.site-footer{display:block}.site-footer span{display:block}}
/* Compact technical guide based on the Crossuite precedent */
.guide-sheet .brand-logo{margin-bottom:20px}.guide-sheet h1{margin-top:0}.guide-sheet .lead{margin-bottom:16px;font-weight:600}.guide-config{background:linear-gradient(112deg,#183F50,#34244F);border-radius:11px;color:#fff;padding:15px 18px;margin:0 0 12px}.guide-config .eyebrow{color:#F3C3ED;margin-bottom:8px}.guide-config-row{display:flex;gap:12px;justify-content:space-between;font-size:12px;line-height:1.55}.guide-config-row b{font-weight:600}.guide-config-row span{text-align:right;overflow-wrap:anywhere}.guide-config .doc-link{color:#F3C3ED;text-decoration:underline}.guide-creds{border-radius:10px;background:#F9F3F9;border-left:3px solid #F448C9;padding:12px 15px;margin-bottom:17px}.guide-creds h3{margin-bottom:7px}.guide-creds .docrow{padding:5px 0}.doc-link{color:#7329C3;text-decoration:underline}.guide-heading{margin:8px 0 8px;color:#7329C3}.guide-step{border:1px solid #E6D9EE;border-radius:10px;padding:12px 13px;margin:8px 0;display:grid;grid-template-columns:37px minmax(0,1fr);gap:10px;background:#fff}.guide-step:nth-of-type(even){background:#FAF5FD}.guide-step .guide-no{display:flex;align-items:center;justify-content:center;height:36px;border-radius:8px;background:#F0E5F8;color:#7329C3;font-size:20px;font-weight:800}.guide-step p{font-size:12px;margin:3px 0;line-height:1.42}.guide-sheet .footnote{font-size:10px;margin-top:8px}.template-card[data-template=access] .category{color:#6b7180}.guide-sheet .pagefoot{margin-top:20px}@media(max-width:760px){.guide-config-row{display:block}.guide-config-row span{display:block;text-align:left}.guide-step{grid-template-columns:30px minmax(0,1fr);padding:10px}.guide-step .guide-no{height:30px;font-size:16px}}

/* Document studio: restrained chrome, comfortable spacing and one visible sheet. */
body{background:#F6F7F9;color:#203E4D}
.topbar{padding:18px clamp(22px,4vw,60px);border-bottom:1px solid #E5E8ED;background:#fff;box-shadow:none}
.topbar:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:var(--grad)}
.brand{gap:16px}.brand>img{width:128px}.brand b{font-weight:700;font-size:15px}.brand-divider{height:30px;background:#E7E8EC}
.top-actions{gap:9px}.private{font-size:12px;font-weight:600;color:#586977;margin-right:12px}
.btn{font-weight:650;font-size:14px;border-radius:8px;min-height:42px;padding:10px 15px}
.btn.outline{border:1px solid #E0E2E8;color:#284B5A;background:#fff;box-shadow:none}
.btn.outline:hover{border-color:#A771D0;background:#FAF8FD;color:var(--purple)}
.btn.primary{background:#7329C3;box-shadow:none}
.btn.primary:hover{background:#6020AA;filter:none}
.btn.subtle{background:none;color:#526673;padding:10px 13px;border:1px solid transparent;box-shadow:none}
.btn.subtle:hover{color:var(--purple);background:#F5EFFA}
main{max-width:1512px;padding:40px clamp(24px,4vw,64px) 0}
.intro{color:var(--ink);background:none;border-radius:0;padding:0 0 30px;display:flex;justify-content:space-between;align-items:center;gap:32px;overflow:visible}
.intro-inner{min-width:0}
.intro h1{font-size:clamp(34px,4.2vw,52px);font-weight:800;letter-spacing:-.05em;line-height:1.07;color:#1D4E61;margin:0 0 10px}
.intro p{color:#60717D;font-size:16px;line-height:1.5;max-width:530px}
.intro-side{background:none;border:0;border-radius:0;max-width:none;min-width:220px;width:auto;align-items:flex-end;justify-self:auto;padding:0;gap:14px}
.case{text-align:right;max-width:300px;min-width:0}.case small{display:block;color:#73818B;font-size:12px;font-weight:550;margin-bottom:3px}.case strong{font-size:17px;font-weight:700;letter-spacing:-.01em;line-height:1.3;color:#234957}.case #caseInfo:empty{display:none}
.intro-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.catalog-head{margin:0 0 13px;align-items:center}.catalog-head h2{font-size:15px;letter-spacing:0;font-weight:650;margin:0;color:#516673}
.catalog{gap:13px;grid-template-columns:repeat(3,minmax(0,1fr))}
.template-card{display:flex;flex-direction:row;align-items:center;gap:13px;min-height:96px;padding:19px 18px;border:1px solid #E1E5EA;border-radius:12px;background:#fff;box-shadow:none;text-align:left}
.template-card:hover{border-color:#B99AD9}
.template-card.active{background:#FDFBFF;border:1.5px solid #9A68CC;box-shadow:0 1px 5px #7329c30d;padding:18.5px 17.5px}
.template-icon{width:40px;height:40px;flex:0 0 40px;border-radius:10px;color:#516B79;background:#F0F3F5}
.template-card.active .template-icon{background:#F1E8FA;color:var(--purple)}
.template-text{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}
.template-card strong{font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.012em}
.template-desc{font-size:13px;color:#71818B;line-height:1.3}
.template-selection{width:17px;height:17px;flex:0 0 17px;border-radius:50%;border:1px solid #DDE1E7;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1}
.template-card.active .template-selection{background:var(--purple);border-color:var(--purple)}
.workbench{margin-top:34px;gap:26px;grid-template-columns:minmax(330px,390px) minmax(0,1fr)}
.editor,.preview-area{border-radius:14px;border:1px solid #E3E6EB;box-shadow:none}
.editor{padding:28px 28px 25px}
.editor h2,.preview-toolbar h2{font-size:23px;margin:0;font-weight:750;letter-spacing:-.035em;line-height:1.25}
.editor-head p{font-size:14px;color:#75828B;margin:7px 0 24px}
.field-group{border-top:1px solid #E8EAEE;padding-top:21px;margin-top:22px}
.field-group h3{font-size:15px;font-weight:720;letter-spacing:0;margin:0 0 17px}
.field{margin:0 0 18px}
.field label{font-size:14px;color:#284855;line-height:1.35;font-weight:600;margin-bottom:7px}
.field input,.field textarea,.field select{background:#fff;font-size:15px;padding:11px 12px;min-height:44px;border-color:#DBE1E6;border-radius:7px}
.field textarea{min-height:88px;line-height:1.5}
.field select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23657580' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;text-overflow:ellipsis}
.field input.invalid,.field textarea.invalid,.field select.invalid{border-color:#CFACD1}
.field .hint{font-size:12.5px;color:#75818B;line-height:1.45;margin-top:6px}
.optional-group{border-top:1px solid #E8EAEE;padding-top:0;margin-top:14px}
.optional-group summary{color:#435B68;font-weight:650;line-height:1.4;padding:15px 0 5px;margin:0;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center}
.optional-group summary::-webkit-details-marker{display:none}.optional-group summary::after{content:"+";font-size:20px;line-height:1;color:#9B75BB;font-weight:450}.optional-group[open] summary::after{content:"−"}.optional-group[open] summary{padding-bottom:17px}
.security-note{background:#FBF7FC;border-left:2px solid #C995DD;line-height:1.5;padding:11px 12px;color:#5E4E69;font-size:13px}
.validation-card{margin-top:24px;padding:17px 17px 14px;background:#FAF8FC;border:1px solid #E8E1ED;border-radius:10px;font-size:13px}
.validation-card strong{font-size:14px;color:#234957;line-height:1.35}
.review-issues{margin-top:7px;color:#805790}.review-issues summary{cursor:pointer;font-size:13px;font-weight:650}.review-issues ul{font-size:12.5px;margin:9px 0 4px;padding-left:17px;line-height:1.4}.review-issues li{margin:4px 0}
.validation-card .check{margin-top:12px;line-height:1.45}.validation-card p{font-size:12px;margin:6px 0 0}
.privacy-note{color:#75818B;font-size:12px;line-height:1.55;margin-top:14px}
.preview-area{overflow:hidden;background:#EEF1F4}
.preview-toolbar{padding:22px 24px;background:#fff;gap:13px}
.preview-toolbar h2{font-size:20px}
.preview-controls{flex-wrap:nowrap;gap:8px}.preview-controls .btn{min-height:40px;font-size:13px}
.preview-meta{padding:10px 24px;border-top:1px solid #EEF0F3;border-bottom:1px solid #E5E8ED;background:#fff}
.file-name{font-size:12.5px;color:#6D7D87;font-weight:550}.preview-status{background:#F2EAF9;color:#764A98;font-weight:650}
.preview-note{padding:10px 24px;font-size:12px;color:#6A7984;border-bottom:1px solid #E8EAEE;background:#fff}
.page-nav{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border-bottom:1px solid #E5E8ED;padding:9px 16px}
.page-nav .btn{font-size:13px;min-height:34px;padding:7px 10px}.page-nav select{color:#294A58;background:#fff;border:1px solid #E0E4E8;border-radius:7px;padding:8px 26px 8px 10px;max-width:calc(100% - 155px);min-width:0;font-size:13px}
.document-preview{padding:30px 28px 36px;background:#EEF1F4}
.a4{padding:45px 47px 34px;border-radius:2px;box-shadow:0 4px 15px #19324413;line-height:1.57;font-size:14px}
.a4:before{top:20px;left:47px;right:47px}
.a4 .brand-logo{margin-bottom:30px;width:134px}
.a4 h1{font-weight:800;line-height:1.1;font-size:clamp(28px,3vw,40px);margin-bottom:12px}
.a4 h2{font-weight:800;line-height:1.2;margin-bottom:22px}
.a4 p{line-height:1.55;margin-bottom:12px}.a4 .lead{margin-bottom:24px}
.a4 .hero-doc{margin-bottom:20px;padding:22px;border-radius:10px}
.a4 .parties{margin-bottom:19px;gap:12px}
.a4 .party{padding:15px;background:#FCFAFD}
.a4 .docrow{padding:11px 0}
.a4 .clause-block{margin-bottom:24px}
.a4 .clause-block h3{margin-bottom:10px}
.a4 .pagefoot{margin-top:42px}
.guide-sheet .brand-logo{margin-bottom:25px}
.guide-sheet .lead{margin-bottom:21px}
.guide-config{padding:19px 21px;margin-bottom:18px;border-radius:10px}
.guide-config-row{line-height:1.8}
.guide-creds{padding:16px 18px;margin-bottom:23px;background:#FCF8FC;border-left:2px solid #D47BCB;border-radius:8px}
.guide-creds .docrow{padding:7px 0}
.guide-step{padding:15px 15px;gap:12px;margin:11px 0;background:#fff;border-color:#E4E7ED;border-radius:8px}
.guide-step:nth-of-type(even){background:#FCFAFD}
.guide-step .guide-no{width:35px;height:35px;background:#F4EDF8}
.guide-step p{font-size:12px;line-height:1.5;margin:5px 0}
.guide-sheet .footnote{line-height:1.55;font-size:11px}
.guide-sheet .pagefoot{margin-top:30px}
.site-footer{font-size:12px;color:#78838D;padding:28px 0 32px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:1200px){main{padding-left:32px;padding-right:32px}.workbench{grid-template-columns:minmax(310px,350px) minmax(0,1fr);gap:20px}.editor{padding:23px}.template-card{gap:9px;padding:15px}.template-card.active{padding:14.5px}.template-card strong{font-size:15px}.template-icon{width:35px;height:35px;flex-basis:35px}.preview-toolbar{padding:18px}.preview-controls .btn{padding:8px 11px}.document-preview{padding:24px 20px}.a4{padding:37px 33px 28px}.a4:before{left:33px;right:33px;top:15px}}
@media(max-width:1000px){.preview-toolbar{align-items:flex-start;flex-direction:column}.preview-controls{flex-wrap:wrap}.template-card{min-height:104px}.template-selection{display:none}}
@media(max-width:760px){.topbar{padding:14px 18px}.top-actions{justify-content:flex-end}.top-actions .btn{font-size:13px}.brand>img{width:118px}.brand b{font-size:14px}main{padding:26px 15px 0}.intro{display:block;padding-bottom:24px}.intro h1{font-size:36px}.intro p{font-size:15px}.intro-side{margin-top:20px;align-items:flex-start;gap:11px}.case{text-align:left}.intro-actions{justify-content:flex-start}.catalog-head{margin:0 0 10px}.catalog{grid-template-columns:1fr;gap:9px}.template-card,.template-card.active{display:flex;align-items:center;min-height:77px;padding:14px 15px;gap:12px}.template-card.active{padding:13.5px 14.5px}.template-selection{display:flex}.template-icon{width:38px;flex-basis:38px;height:38px}.template-card strong{font-size:16px}.workbench{display:block;margin-top:23px}.editor{padding:23px 20px}.field-group{padding-top:19px;margin-top:21px}.preview-area{margin-top:24px}.preview-toolbar{flex-direction:column;padding:18px 17px}.preview-meta,.preview-note{padding:11px 17px}.document-preview{padding:17px 11px 23px}.a4{padding:30px 21px 24px;font-size:12px;line-height:1.55}.a4:before{left:21px;right:21px;top:12px}.a4 h1{font-size:29px}.a4 .brand-logo{width:110px;margin-bottom:20px}.a4 .hero-doc{padding:15px}.a4 .party{padding:10px}.guide-config{padding:15px}.guide-config-row{display:flex;gap:7px;line-height:1.5;font-size:11px}.guide-config-row span{text-align:right}.guide-step{padding:12px;grid-template-columns:30px minmax(0,1fr)}.guide-step .guide-no{width:30px;height:30px}.guide-step p{font-size:11px}.guide-sheet .footnote{font-size:10px}.site-footer{display:flex;gap:10px;flex-wrap:wrap}}

/* Shared export register */
.hub-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.hub-tab{white-space:nowrap;border:0;border-radius:8px;font-size:14px;font-weight:650;color:#5D6E7C;background:transparent;padding:10px 13px}
.hub-tab:hover{background:#F5EFFA;color:#7329C3}.hub-tab.active{background:#F1E8FA;color:#7329C3}
.history-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 30px}
.history-intro h1{font-size:clamp(34px,4.2vw,52px);font-weight:800;letter-spacing:-.05em;line-height:1.07;color:#1D4E61;margin:0 0 10px}.history-intro p{margin:0;color:#60717D}
.history-card{border:1px solid #E1E5EA;border-radius:14px;background:white;overflow:hidden}
.history-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #E9EBEF}
.history-filters{display:flex;gap:10px;flex:1;align-items:center}
.history-filters input,.history-filters select,.sent-body input{font-size:14px;border:1px solid #DDE1E7;border-radius:8px;padding:10px 12px;color:#234957;background:#fff;min-height:42px}
.history-filters input{flex:1;min-width:170px;max-width:420px}.history-filters select{max-width:240px;min-width:0}
.history-table-wrap{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;min-width:880px;text-align:left;font-size:14px}
.history-table th{color:#60717D;font-size:13px;font-weight:650;padding:13px 18px;background:#F7F8FA;border-bottom:1px solid #E9EBEF;white-space:nowrap}
.history-table td{padding:18px;vertical-align:middle;border-bottom:1px solid #E9EBEF;overflow-wrap:anywhere;max-width:300px}
.history-table td strong{display:block;color:#1D4E61;font-weight:680;line-height:1.4}.history-table td small{display:block;color:#687B87;font-size:12px;margin-top:5px;line-height:1.45}
.history-table td:last-child{text-align:right;white-space:nowrap}.history-table .pill{display:inline-flex;font-size:12px;line-height:1.2;font-weight:650;white-space:nowrap;background:#F0F2F5;color:#596C7A;border-radius:6px;padding:5px 8px}
.history-table .pill.sent{background:#E7F5EE;color:#28634A}.history-table .pill.validated{background:#F1E8FA;color:#6C2CB6}
.history-message{padding:54px 25px;text-align:center;color:#617481}.history-message.error{color:#942B51;background:#FFF8FA}
.history-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;font-size:13px;color:#617481}.history-paging{display:flex;gap:9px;align-items:center}
.history-note{font-size:13px;line-height:1.6;color:#677987;margin:17px 2px;max-width:900px}
.sent-dialog{width:min(500px,92vw);height:auto}.sent-body{padding:22px;display:grid;gap:10px}.sent-body label{font-size:14px;font-weight:650}.sent-body p{margin:8px 0 0;font-size:13px;color:#677987}.sent-body input{width:100%}
@media(max-width:1000px){.topbar{flex-wrap:wrap}.hub-nav{margin-left:auto}.history-toolbar{flex-wrap:wrap}.history-filters{flex-wrap:wrap}}
@media(max-width:600px){.hub-nav{width:100%;order:1;margin:0}.top-actions{order:2}.history-intro{align-items:flex-start;flex-direction:column;gap:12px}.history-toolbar{padding:14px}.history-filters{display:grid;grid-template-columns:1fr;width:100%}.history-filters input,.history-filters select{max-width:none;width:100%}.history-bottom{padding:12px 14px;flex-wrap:wrap}}
.history-access{padding:0 24px 32px;text-align:center}.history-access p{color:#60717D;font-size:14px;max-width:560px;margin:0 auto 15px}.history-access:not([hidden]){background:white}
