/* FariDocs 1.7 — five-document suite, editable metadata labels, legal center */
.editable-label-row{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:23px}
.editable-label-row input{width:min(190px,70%);height:auto!important;padding:0 3px 3px!important;border:0!important;border-bottom:1px dashed #9aacba!important;border-radius:0!important;background:transparent!important;color:#24364b!important;font-size:12px!important;font-weight:750!important;line-height:1.4!important;box-shadow:none!important}
.editable-label-row input:focus{border-bottom-color:var(--preview-accent,#148e82)!important;outline:none}
.editable-label-row small{color:#8a99a8;font-size:9px;font-weight:600;white-space:nowrap}
.document-cards-five{grid-template-columns:repeat(6,1fr)}
.document-cards-five .document-card{grid-column:span 2;background:linear-gradient(155deg,#fff 65%,#f5fafb)}
.document-cards-five .document-card:nth-child(4){grid-column:2/span 2}
.document-cards-five .document-card:nth-child(5){grid-column:4/span 2}
.document-cards-five .card-icon{background:linear-gradient(135deg,#e9f4f5,#edf2f7);border:1px solid #d7e4e9;box-shadow:0 9px 22px rgba(18,59,93,.08)}
.sample-grid-five{grid-template-columns:repeat(6,1fr)}
.sample-grid-five .sample-card{grid-column:span 2}
.sample-grid-five .sample-card:nth-child(4){grid-column:2/span 2}
.sample-grid-five .sample-card:nth-child(5){grid-column:4/span 2}
.footer-note{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:9px;align-items:center;padding:20px!important}
.footer-note .status-dot{margin:0}
.footer-note strong{display:block;line-height:1.35}
.footer-note p{grid-column:1/-1;margin:3px 0 0!important;padding-top:7px;border-top:1px solid rgba(255,255,255,.08);line-height:1.75!important}
.legal-main{min-height:70vh;background:linear-gradient(180deg,#f6fafb 0,#fff 470px)}
.legal-hero{width:min(1120px,calc(100% - 48px));margin:auto;padding:84px 0 56px;border-bottom:1px solid #dbe5eb}
.legal-hero h1{max-width:760px;margin:13px 0 18px;color:#071b2b;font-size:clamp(42px,5vw,66px);line-height:1.03;letter-spacing:-.045em}
.legal-hero>p{max-width:760px;color:#5c7081;font-size:16px;line-height:1.8}
.legal-hero>div{display:inline-flex;gap:12px;margin-top:13px;padding:9px 13px;border:1px solid #d9e4ea;border-radius:999px;background:#fff;color:#718194;font-size:10px}
.legal-hero>div strong{color:#123b5d}
.legal-layout{width:min(1120px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:240px minmax(0,1fr);gap:70px;padding:55px 0 105px}
.legal-index{position:sticky;top:105px;align-self:start;display:flex;flex-direction:column;gap:8px;padding:23px;border:1px solid #dce6eb;border-radius:14px;background:#fff;box-shadow:0 13px 35px rgba(18,59,93,.06)}
.legal-index strong{margin-bottom:6px;color:#123b5d;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.legal-index a{padding:5px 0;color:#65798a;font-size:11px;line-height:1.45}
.legal-index a:hover{color:#148e82}
.legal-content{min-width:0}
.legal-assurance{display:flex;gap:18px;margin-bottom:18px;padding:22px 24px;border:1px solid #bfe2dc;border-radius:14px;background:#effaf8}
.legal-assurance>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#fff;font-size:18px}
.legal-assurance strong{color:#0b4e4a}.legal-assurance p{margin:4px 0 0;color:#55716f;font-size:12px}
.legal-content>section{scroll-margin-top:105px;display:grid;grid-template-columns:40px 1fr;gap:18px;padding:35px 0;border-bottom:1px solid #e0e8ed}
.legal-content>section>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #cbdbe4;border-radius:10px;color:#148e82;font-size:10px;font-weight:800}
.legal-content h2{margin:1px 0 15px;color:#102f48;font-size:22px;line-height:1.3}
.legal-content p{margin:0 0 12px;color:#52677a;font-size:13px;line-height:1.85}
.legal-references{display:flex;flex-direction:column;gap:8px;margin-top:20px;padding:18px;border-radius:10px;background:#f4f8fa}
.legal-references strong{margin-bottom:3px;color:#123b5d;font-size:11px;text-transform:uppercase}
.legal-references a{color:#197c73;font-size:11px;font-weight:700}
.legal-contact{display:grid;grid-template-columns:1fr auto;align-items:center;margin-top:35px;padding:27px 30px;border-radius:14px;background:linear-gradient(135deg,#123b5d,#071b2b);color:#fff}
.legal-contact span{font-size:10px;letter-spacing:.08em;text-transform:uppercase}.legal-contact strong{grid-column:1;font-size:17px}.legal-contact a{grid-column:2;grid-row:1/span 2;padding:11px 15px;border-radius:8px;background:#fff;color:#123b5d;font-size:11px;font-weight:800}
@media(max-width:1000px){.document-cards-five,.sample-grid-five{grid-template-columns:repeat(2,1fr)}.document-cards-five .document-card,.document-cards-five .document-card:nth-child(4),.document-cards-five .document-card:nth-child(5),.sample-grid-five .sample-card,.sample-grid-five .sample-card:nth-child(4),.sample-grid-five .sample-card:nth-child(5){grid-column:auto}.legal-layout{grid-template-columns:1fr}.legal-index{position:static;display:none}}
@media(max-width:680px){.document-cards-five,.sample-grid-five{grid-template-columns:1fr}.editable-label-row{align-items:flex-start;flex-direction:column;gap:3px}.editable-label-row input{width:100%}.legal-hero,.legal-layout{width:min(100% - 30px,1120px)}.legal-hero{padding:58px 0 42px}.legal-layout{padding:34px 0 70px}.legal-content>section{grid-template-columns:1fr}.legal-content>section>span{margin-bottom:-4px}.legal-contact{grid-template-columns:1fr;gap:15px}.legal-contact a{grid-column:1;grid-row:auto;text-align:center}}
