.agreements-workspace{color:#10203e;direction:rtl;background:#f7f4ed;width:100%;min-width:0;padding:28px 34px 80px}.agreements-header{justify-content:space-between;align-items:center;gap:20px;padding:4px 0 22px;display:flex}.agreements-header.compact{border-bottom:1px solid #e1d7c3;padding-bottom:16px}.agreements-header span{color:#9b6b1e;font-size:13px;font-weight:800}.agreements-header h1{margin:4px 0;font-size:34px}.agreements-header p{color:#6b7484;margin:0}.agreements-header button,.agreement-actions button,.agreements-toolbar button,.agreement-fields-panel button{color:#10203e;cursor:pointer;background:#fff;border:1px solid #d8c6a6;border-radius:10px;padding:10px 16px;font-weight:800}.agreements-header .gold,.agreement-actions .gold{background:linear-gradient(135deg,#f7d486,#e7ad40);border:0}.agreement-actions{flex-wrap:wrap;gap:8px;display:flex}.agreement-actions .danger{color:#a83c35}.agreement-tabs{background:#fff;border:1px solid #ded4c2;border-radius:14px;margin-bottom:14px;padding:5px;display:flex}.agreement-tabs button{color:#5f6978;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;padding:12px;font-weight:800}.agreement-tabs button.active{color:#fff;background:#10203e}.agreements-toolbar{align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.agreements-toolbar>input{flex:1;min-width:180px}.agreements-toolbar input,.agreements-toolbar select,.agreement-builder input,.agreement-builder select,.public-field input,.public-field textarea{font:inherit;color:#10203e;background:#fff;border:1px solid #d9cfbd;border-radius:10px;padding:11px 12px}.agreements-toolbar details{background:#fff;border:1px solid #ded4c2;border-radius:10px;position:relative}.agreements-toolbar summary{cursor:pointer;padding:11px 14px;font-weight:800}.agreements-toolbar details>div{z-index:4;background:#fff;border:1px solid #d9cfbd;border-radius:12px;gap:9px;width:min(440px,85vw);padding:14px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 15px 40px #10203e22}.agreements-toolbar small{color:#6b7484}.agreement-list,.recipient-groups{gap:9px;display:grid}.recipient-groups>section{background:#fff;border:1px solid #e2d8c6;border-radius:14px;padding:14px}.recipient-groups h2{margin:0 0 10px;font-size:17px}.agreement-row{background:#fff;border:1px solid #e1d8c8;border-radius:13px;align-items:center;gap:8px;padding:7px;display:flex;box-shadow:0 5px 18px #10203e08}.agreement-row-main{text-align:right;cursor:pointer;color:#10203e;background:0 0;border:0;flex:1;grid-template-columns:minmax(180px,1fr) 140px 100px;align-items:center;padding:8px;display:grid}.agreement-row-main div{gap:3px;display:grid}.agreement-row-main span,.agreement-row-main time{color:#737c8a;font-size:13px}.agreement-row-main em{text-align:center;background:#f5efe2;border-radius:999px;padding:7px 10px;font-size:12px;font-style:normal;font-weight:800}.agreement-row-main em.signed{color:#17633a;background:#def4e6}.agreement-row-main em.sent{color:#79520e;background:#fff0c7}.copy-link{color:#fff;cursor:pointer;background:#10203e;border:0;border-radius:9px;padding:9px 12px}.agreement-empty{text-align:center;color:#7b8490;border:1px dashed #d3c7b3;border-radius:14px;padding:50px}.agreement-modal-backdrop{z-index:50;background:#09142bcc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.agreement-modal{background:#fffaf0;border-radius:20px;width:min(600px,100%);padding:28px;position:relative}.agreement-modal .close{background:0 0;border:0;font-size:25px;position:absolute;top:15px;left:18px}.agreement-modal h2{margin-top:0}.create-options{grid-template-columns:1fr 1fr;gap:12px;display:grid}.create-options button{text-align:right;cursor:pointer;background:#fff;border:1px solid #d9c7a7;border-radius:14px;gap:8px;padding:22px;display:grid}.create-options strong{font-size:18px}.create-options span{color:#737c8a}.agreement-modal>label{gap:8px;margin-top:18px;display:grid}.agreement-modal select{border:1px solid #d9cfbd;border-radius:9px;padding:11px}.agreement-builder{grid-template-columns:minmax(0,1fr) 330px;gap:16px;padding-top:16px;display:grid}.agreement-builder-main,.agreement-fields-panel{background:#fff;border:1px solid #e1d7c4;border-radius:16px;align-self:start;padding:18px}.agreement-builder-main>label{gap:7px;margin-bottom:16px;font-weight:800;display:grid}.agreement-builder-main input{width:100%}.agreement-two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.agreement-two label{gap:7px;font-weight:800;display:grid}.agreement-editor-shell{border:1px solid #d9cfbd;border-radius:12px;overflow:hidden}.agreement-editor-toolbar{background:#f2ede3;border-bottom:1px solid #d9cfbd;flex-wrap:wrap;gap:5px;padding:7px;display:flex}.agreement-editor-toolbar button{background:#fff;border:1px solid #d6c7ab;border-radius:7px;padding:7px 9px}.agreement-rich-editor,.agreement-readonly{outline:0;min-height:280px;padding:18px;font-weight:400;line-height:1.7}.agreement-rich-editor:empty:before{content:attr(data-placeholder);color:#98a0aa}.panel-title{gap:12px;margin-bottom:12px;display:grid}.panel-title>div:first-child{justify-content:space-between;display:flex}.panel-title strong{background:#e8bd62;border-radius:999px;padding:2px 8px}.add-field-row{grid-template-columns:1fr auto;gap:7px;display:grid}.agreement-fields-list{gap:8px;max-height:430px;display:grid;overflow:auto}.agreement-field-card{background:#faf8f2;border:1px solid #e0d5c2;border-radius:11px;grid-template-columns:1fr auto;gap:5px;padding:10px;display:grid;position:relative}.agreement-field-card>input{grid-column:1/-1}.agreement-field-card small{color:#7b8490}.agreement-field-card .check{font-size:12px}.agreement-field-card>button{color:#a83c35;background:0 0;border:0;padding:4px;position:absolute;top:4px;left:6px}.agreement-notification-toggle{cursor:pointer;align-items:flex-start;gap:9px;font-weight:800;display:flex}.agreement-notification-toggle>input{accent-color:#10203e;flex:0 0 19px;width:19px;height:19px;margin-top:1px;padding:0}.agreement-notification-toggle small{color:#737c8a;margin-top:4px;font-weight:400;line-height:1.45;display:block}.agreement-link-box{color:#fff;background:#10203e;border-radius:12px;gap:8px;margin-top:14px;padding:12px;display:grid}.agreement-link-box code{overflow-wrap:anywhere;direction:ltr;unicode-bidi:plaintext;font-size:11px}.agreement-link-box button{background:#e8bd62;border:0}.agreement-locked{color:#17633a;background:#e1f4e8;border-radius:11px;padding:12px 16px;font-weight:800}.agreements-notice{z-index:60;color:#fff;background:#10203e;border-radius:11px;padding:12px 16px;position:fixed;bottom:22px;left:22px;box-shadow:0 10px 30px #10203e44}.public-agreement-page{color:#10203e;direction:rtl;background:linear-gradient(135deg,#0c1831,#182b4e);min-height:100vh;padding:36px 18px}.public-agreement-card{background:#fffaf1;border-radius:22px;width:min(820px,100%);margin:auto;padding:clamp(20px,4vw,46px);box-shadow:0 30px 70px #02081755}.public-agreement-card>header{border-bottom:1px solid #ded2be;align-items:center;gap:18px;padding-bottom:22px;display:flex}.public-agreement-card header img{border-radius:16px;width:72px;height:72px}.public-agreement-card header span{color:#9b6b1e;font-size:13px;font-weight:800}.public-agreement-card h1{margin:4px 0;font-size:clamp(27px,5vw,42px)}.public-agreement-card header p{color:#6d7582;margin:0}.public-signed-banner{color:#17633a;background:#def4e6;border-radius:11px;justify-content:space-between;gap:12px;margin:18px 0;padding:13px 15px;display:flex}.public-agreement-body{border-bottom:1px solid #ded2be;padding:24px 0;line-height:1.75}.public-agreement-body a{color:#9b6b1e}.public-agreement-fields{gap:13px;padding-top:20px;display:grid}.public-agreement-fields h2{margin:0}.public-field{gap:7px;font-weight:800;display:grid}.public-field b{color:#b43f38}.public-field textarea{resize:vertical;min-height:110px}.public-field input[readonly],.public-field textarea[readonly]{background:#f1eee6}.signature-pad{background:#fff;border:1px solid #d7c9ae;border-radius:12px;overflow:hidden}.signature-pad canvas{touch-action:none;cursor:crosshair;width:100%;height:180px;display:block}.signature-pad img{object-fit:contain;width:100%;height:180px;display:block}.signature-pad button{background:#f3eee3;border:0;border-radius:7px;margin:8px;padding:7px 10px}.public-sign-button{color:#10203e;cursor:pointer;background:linear-gradient(135deg,#f5d27d,#e3aa3c);border:0;border-radius:12px;width:100%;margin-top:22px;padding:15px;font-size:17px;font-weight:900}.public-agreement-error{color:#aa372f;font-weight:800}.public-agreement-card footer{text-align:center;color:#7a8290;margin-top:22px;font-size:12px}.agreement-error{text-align:center;margin-top:12vh}.public-signature-receipt{background:#fff7df;border:1px solid #d6b56d;border-radius:13px;gap:11px;margin:0 0 20px;padding:17px;display:grid}.public-signature-receipt>strong{font-size:18px}.public-signature-receipt>span{color:#5f6978}.public-signature-receipt>a{overflow-wrap:anywhere;color:#805612;direction:ltr;unicode-bidi:plaintext;font-size:13px}.signature-evidence-grid{grid-template-columns:1fr 1fr;gap:8px;margin:3px 0;display:grid}.signature-evidence-grid>div{background:#fff;border:1px solid #ead8af;border-radius:9px;min-width:0;padding:10px}.signature-evidence-grid .hash-row{grid-column:1/-1}.signature-evidence-grid dt{color:#737c8a;font-size:12px;font-weight:800}.signature-evidence-grid dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;font-weight:800}.agreement-audit{border-top:1px solid #e5cc98;padding-top:10px}.agreement-audit summary{cursor:pointer;font-weight:900}.agreement-audit ol{gap:8px;margin:10px 0 0;padding:0 20px 0 0;display:grid}.agreement-audit li{background:#fff;border-radius:8px;padding:8px}.agreement-audit li strong,.agreement-audit li time,.agreement-audit li code{display:block}.agreement-audit li time{color:#737c8a;margin:3px 0;font-size:12px}.agreement-audit li code{overflow-wrap:anywhere;font-size:10px}.signature-receipt-actions{flex-wrap:wrap;gap:8px;display:flex}.signature-receipt-actions button,.signature-receipt-actions a{color:#10203e;cursor:pointer;background:#fff;border:1px solid #d6b56d;border-radius:9px;padding:10px 14px;font-weight:800;text-decoration:none}.signature-receipt-actions button:first-child{color:#fff;background:#10203e;border-color:#10203e}.signature-receipt-actions .gold{background:#e8bd62;border-color:#e8bd62}.signature-receipt-actions button:disabled{opacity:.55;cursor:wait}.agreement-consent{cursor:pointer;background:#fff7df;border:1px solid #d6b56d;border-radius:12px;align-items:flex-start;gap:10px;margin-top:22px;padding:14px 15px;font-weight:800;line-height:1.5;display:flex}.agreement-consent input{accent-color:#b47b19;flex:none;width:19px;height:19px;margin-top:2px}.public-sign-button:disabled{opacity:.48;cursor:not-allowed}.owner-signature-evidence{background:#fff9eb;border:1px solid #d6b56d;border-radius:12px;gap:10px;margin-top:14px;padding:13px;display:grid}.owner-signature-evidence h2{margin:0;font-size:17px}.owner-signature-evidence dl{gap:7px;margin:0;display:grid}.owner-signature-evidence dl>div{background:#fff;border-radius:8px;padding:8px}.owner-signature-evidence dt{color:#737c8a;font-size:11px;font-weight:800}.owner-signature-evidence dd{margin:3px 0 0;font-weight:800}.owner-signature-evidence dd.hash,.owner-signature-evidence code{overflow-wrap:anywhere;font-size:10px}.owner-signature-evidence summary{cursor:pointer;font-weight:900}.owner-signature-evidence ol{gap:7px;padding-right:20px;display:grid}.owner-signature-evidence li strong,.owner-signature-evidence li time,.owner-signature-evidence li code{display:block}.owner-signature-evidence li time{color:#737c8a;font-size:11px}@media (max-width:800px){.agreements-workspace{padding:18px 12px 80px}.agreements-header{flex-direction:column;align-items:flex-start}.agreements-header h1{font-size:28px}.agreement-tabs{overflow-x:auto}.agreement-tabs button{min-width:150px}.agreements-toolbar{flex-direction:column}.agreements-toolbar>input,.agreements-toolbar details{width:100%}.agreement-row{flex-direction:column;align-items:stretch}.agreement-row-main{grid-template-columns:1fr auto;gap:8px}.agreement-row-main time{grid-column:1/-1}.agreement-builder{grid-template-columns:1fr}.agreement-fields-panel{order:-1}.agreement-two,.create-options{grid-template-columns:1fr}.public-agreement-page{padding:0}.public-agreement-card{border-radius:0;min-height:100vh}.public-agreement-card>header{align-items:flex-start}.public-agreement-card header img{width:56px;height:56px}.public-signed-banner{flex-direction:column}.signature-evidence-grid{grid-template-columns:1fr}.signature-evidence-grid .hash-row{grid-column:auto}.signature-receipt-actions>*{text-align:center;width:100%}}.agreement-readonly,.public-agreement-body{font-weight:400}.agreement-readonly strong,.agreement-readonly b,.public-agreement-body strong,.public-agreement-body b{font-weight:700}.agreement-readonly ul,.agreement-readonly ol,.public-agreement-body ul,.public-agreement-body ol{margin:.6em 0 1em;padding-inline-start:1.8em;list-style-position:outside}.agreement-readonly ul,.public-agreement-body ul{list-style-type:disc}.agreement-readonly ol,.public-agreement-body ol{list-style-type:decimal}.agreement-readonly ul ul,.public-agreement-body ul ul{list-style-type:circle}.agreement-readonly ul ul ul,.public-agreement-body ul ul ul{list-style-type:square}.agreement-readonly li,.public-agreement-body li{margin:.08em 0;display:list-item}.agreement-readonly li>p,.public-agreement-body li>p{margin:0}.agreement-readonly li>ul,.agreement-readonly li>ol,.public-agreement-body li>ul,.public-agreement-body li>ol{margin:.22em 0}.agreement-readonly li::marker{color:#8b641f;font-weight:700}.public-agreement-body li::marker{color:#8b641f;font-weight:700}.agreement-readonly img,.public-agreement-body img{border-radius:8px;max-width:100%;height:auto;margin:1.4em auto;display:block}.agreement-readonly code,.public-agreement-body code{color:#c43455;background:#f5f3ef;border-radius:4px;padding:.12em .32em;font-family:SFMono-Regular,Consolas,monospace;font-size:.88em}.agreement-readonly pre,.public-agreement-body pre{color:#d4d4d4;text-align:left;white-space:pre-wrap;direction:ltr;background:#1e1e1e;border-radius:8px;margin:1.3em 0;padding:16px;overflow:auto}.agreement-readonly pre code,.public-agreement-body pre code{color:inherit;background:0 0;padding:0}
