:root,[data-theme=light]{--bg: #f5f7fa;--bg-elevated: #ffffff;--bg-muted: #f9fafb;--bg-subtle: #f1f5f9;--text: #0f172a;--text-muted: #475569;--text-faint: #94a3b8;--border: #e5e7eb;--border-strong: #d1d5db;--dots: #cbd5e1;--shadow: 0 1px 3px rgba(15, 23, 42, .08);--primary: #2563eb;--primary-hover: #1d4ed8}[data-theme=dark]{--bg: #0b1220;--bg-elevated: #111827;--bg-muted: #1f2937;--bg-subtle: #1f2937;--text: #f1f5f9;--text-muted: #cbd5e1;--text-faint: #94a3b8;--border: #1f2937;--border-strong: #334155;--dots: #1f2937;--shadow: 0 1px 3px rgba(0, 0, 0, .4);--primary: #3b82f6;--primary-hover: #2563eb}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;font-family:Miranda Sans,Noto Kufi Arabic,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}button,input,select,textarea,optgroup{font-family:inherit}html[lang=ar],html[lang=ar] *,html[lang=ar] *:before,html[lang=ar] *:after{font-family:Noto Kufi Arabic,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{font-family:Miranda Sans,Noto Kufi Arabic,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--bg);background-image:radial-gradient(circle,var(--dots) 1px,transparent 1px);background-size:20px 20px;color:var(--text);line-height:1.6;transition:background-color .2s,color .2s}a{color:#3b82f6;text-decoration:none}button{cursor:pointer;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;transition:background .2s}input,textarea,select{padding:.5rem .75rem;border:1px solid var(--border-strong);border-radius:6px;font-size:.875rem;width:100%;outline:none;transition:border-color .2s,background .2s,color .2s;background:var(--bg-elevated);color:var(--text)}input:focus,textarea:focus,select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}table{width:100%;border-collapse:collapse}th,td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--border);color:var(--text)}th{background:var(--bg-muted);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}tr:hover{background:var(--bg-muted)}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669}.btn-request{background:#f59e0b;color:#fff}.btn-request:hover{background:#d97706}.card{background:var(--bg-elevated);border-radius:8px;padding:1.5rem;box-shadow:var(--shadow);color:var(--text);border:1px solid var(--border)}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.25rem;color:var(--text-muted)}.badge{display:inline-block;padding:.2rem .6rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase}.badge-draft{background:#fef3c7;color:#92400e}.badge-active{background:#d1fae5;color:#065f46}.badge-archived{background:#e5e7eb;color:#374151}.badge-pending{background:#fef3c7;color:#92400e}.badge-approved{background:#d1fae5;color:#065f46}.badge-declined{background:#fee2e2;color:#991b1b}.badge-signed{background:#dbeafe;color:#1e40af}.badge-ended{background:#e5e7eb;color:#374151}[dir=rtl],[dir=rtl] th,[dir=rtl] td{text-align:right}.site-nav-link{color:var(--text-muted);font-size:1.05rem;font-weight:600;text-decoration:none;transition:color .18s ease,text-shadow .18s ease}.site-nav-link:hover,.site-nav-link:focus-visible{color:#22c55e;text-shadow:0 0 10px rgba(34,197,94,.6),0 0 22px rgba(34,197,94,.35)}@media(prefers-reduced-motion:reduce){.site-nav-link{transition:none}}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.mobile-hidden{display:initial}.mobile-only{display:none!important}@media(max-width:768px){.mobile-hidden{display:none!important}.mobile-only{display:initial!important}.card{padding:1rem}.form-grid{grid-template-columns:1fr!important}.btn-mobile-full{width:100%;justify-content:center}.page-header{flex-direction:column;align-items:stretch!important;gap:.75rem}.page-header-actions{display:flex;flex-wrap:wrap;gap:.5rem}.page-header-actions>*{flex:1;min-width:0}.page-header-actions button,.page-header-actions a button{width:100%;justify-content:center}th,td{padding:.5rem .6rem;font-size:.8rem}th{font-size:.7rem}td .btn-primary,td .btn-secondary,td .btn-danger,td .btn-request,td .btn-success{font-size:.7rem!important;padding:.25rem .4rem!important}.landing-hero-buttons,.landing-hero-bullets{justify-content:center}.landing-hero-text{max-width:100%!important;text-align:center}.landing-hero-text h1{font-size:2rem!important}.landing-defense-grid,.landing-features-grid,.landing-why-grid{grid-template-columns:1fr!important}.landing-cta-card{padding:2rem 1.25rem!important}.landing-section{padding:3rem 1rem!important}.landing-section h2{font-size:1.5rem!important}.landing-nav-links{display:none!important}.site-nav{grid-template-columns:1fr auto!important;padding:.75rem 1rem!important}.site-nav-links,.landing-nav-actions .mobile-hidden{display:none!important}.user-nav{height:auto!important;min-height:60px;padding:.5rem 1rem!important;flex-wrap:wrap;gap:.5rem}.user-nav-brand{order:1}.user-nav-brand img{height:48px!important;width:48px!important}.user-nav-toggle{display:flex!important}.user-nav-actions{order:2;margin-inline-start:auto}.user-nav-links{order:3;width:100%;flex-direction:column;gap:.25rem;overflow:hidden;max-height:60vh;opacity:1;transform:translateY(0);transition:max-height .28s ease,opacity .18s ease,transform .28s ease,visibility 0s}.user-nav-links.collapsed{max-height:0;opacity:0;transform:translateY(-6px);margin-block-start:-.5rem;pointer-events:none;visibility:hidden;transition:max-height .28s ease,opacity .18s ease,transform .28s ease,visibility 0s linear .28s}.user-main{padding:1rem!important}.field-def-grid{grid-template-columns:1fr!important}.admin-sidebar{position:fixed;top:0;bottom:0;inset-inline-start:0;z-index:100;transform:translate(-100%);transition:transform .25s ease;width:260px!important}[dir=rtl] .admin-sidebar{transform:translate(100%)}.admin-sidebar.open{transform:translate(0)!important}.admin-overlay{display:block!important;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99}.admin-main{margin-inline-start:0!important}.admin-main-content{padding:1rem!important}.admin-topbar{display:flex!important}.wizard-stepper{gap:.25rem;overflow-x:auto}.wizard-stepper>div{min-width:60px!important}.wizard-stepper .step-label{font-size:.6rem!important}.wizard-step-icon{width:32px!important;height:32px!important}.wizard-form-grid{grid-template-columns:1fr!important}.wizard-card-content{padding:1.25rem!important}.defense-header{padding:.75rem 1rem!important}.builder-layout{flex-direction:column}.builder-sidebar{width:100%!important;position:sticky!important;top:0!important;z-index:20;align-self:flex-start}.builder-sidebar>div{top:0!important}.card img[alt]{max-height:100px;max-width:100px}.admin-main{padding-top:56px}}.rt-content p{margin:0 0 .5rem}.rt-content p:last-child{margin-bottom:0}.rt-content h1{font-size:1.25rem;font-weight:700;margin:.5rem 0 .4rem}.rt-content h2{font-size:1.05rem;font-weight:700;margin:.5rem 0 .4rem}.rt-content ul,.rt-content ol{margin:0 0 .5rem;padding-inline-start:1.5rem}.rt-content a{color:#2563eb;text-decoration:underline}.rt-placeholder-token{background:#fff7d6;color:#7a5a00;border-bottom:1px dashed #c79900;padding:0 2px;border-radius:2px}[data-theme=dark] .rt-placeholder-token{background:#c7990038;color:#f5d67a;border-bottom-color:#a37c00}[data-theme=dark] .rt-content a{color:#60a5fa}.contract-html p{margin:0 0 .6rem}.contract-html p:last-child{margin-bottom:0}.contract-html h1{font-size:1.25rem;font-weight:700;margin:.5rem 0 .4rem}.contract-html h2{font-size:1.05rem;font-weight:700;margin:.5rem 0 .4rem}.contract-html ul,.contract-html ol{margin:0 0 .6rem;padding-inline-start:1.5rem}.contract-html a{color:#2563eb;text-decoration:underline}@page{size:A4 portrait;margin:10mm}@media print{body *{visibility:hidden!important}.pdf-print-root,.pdf-print-root *{visibility:visible!important}.pdf-print-root{position:absolute!important;left:0;top:0;width:100%!important;display:block!important;margin:0!important;padding:0!important}.pdf-print-root>div{width:100%!important;min-height:0!important;box-shadow:none!important;padding:0!important}.pdf-print-root,.pdf-print-root *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}.forms-split{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:stretch}@media(max-width:900px){.forms-split{grid-template-columns:1fr}}.landing-section-bg{position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(/media/hero-gavel.jpg);background-size:cover;background-position:center 30%;background-attachment:fixed;opacity:.09;z-index:0;pointer-events:none}[data-theme=dark] .landing-section-bg{opacity:.13}@supports (-webkit-touch-callout: none){.landing-section-bg{background-attachment:scroll}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tip{position:relative}.tip:hover:after{content:attr(data-tip);position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:6px;background:#0f172a;color:#fff;padding:6px 9px;border-radius:6px;font-size:.72rem;line-height:1.35;font-weight:400;white-space:normal;width:max-content;max-width:240px;text-align:center;z-index:60;pointer-events:none;box-shadow:0 4px 14px #00000038}@keyframes lp-fadeUp{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes lp-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes lp-slideLeft{0%{opacity:0;transform:translate(-36px)}to{opacity:1;transform:translate(0)}}@keyframes lp-slideRight{0%{opacity:0;transform:translate(36px)}to{opacity:1;transform:translate(0)}}@keyframes lp-scaleUp{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes lp-float{0%,to{transform:translateY(0)}50%{transform:translateY(-14px)}}.anim-fade-up,.anim-fade-in,.anim-slide-left,.anim-slide-right,.anim-scale-up{opacity:0}.anim-fade-up.in-view{animation:lp-fadeUp .65s cubic-bezier(.22,1,.36,1) forwards}.anim-fade-in.in-view{animation:lp-fadeIn .65s cubic-bezier(.22,1,.36,1) forwards}.anim-slide-left.in-view{animation:lp-slideLeft .65s cubic-bezier(.22,1,.36,1) forwards}.anim-slide-right.in-view{animation:lp-slideRight .65s cubic-bezier(.22,1,.36,1) forwards}.anim-scale-up.in-view{animation:lp-scaleUp .65s cubic-bezier(.22,1,.36,1) forwards}.anim-float{animation:lp-float 3.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.anim-fade-up,.anim-fade-in,.anim-slide-left,.anim-slide-right,.anim-scale-up{opacity:1!important;transform:none!important;animation:none!important}.anim-float{animation:none!important}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}.tour-spotlight{position:fixed;z-index:1001;border-radius:10px;box-shadow:0 0 0 9999px #0f172a99;outline:2px solid #22c55e;outline-offset:2px;pointer-events:none;transition:top .25s ease,left .25s ease,width .25s ease,height .25s ease}.tour-card{position:fixed;z-index:1002;background:var(--bg-elevated);color:var(--text);border:1px solid var(--border);border-radius:14px;box-shadow:0 20px 48px #00000047;padding:1rem 1.1rem;animation:tour-card-in .18s ease-out}.tour-card-sheet{border-radius:16px;padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px))}@keyframes tour-card-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.tour-card[style*="translate(-50%"]{animation-name:tour-card-fade}@keyframes tour-card-fade{0%{opacity:0}to{opacity:1}}.tour-dots{display:flex;gap:.35rem;margin:.9rem 0 .85rem}.tour-dots span{width:6px;height:6px;border-radius:999px;background:var(--border);transition:width .2s ease,background .2s ease}.tour-dots span.done{background:#22c55e73}.tour-dots span.active{width:18px;background:#22c55e}.tour-nav-btn{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;min-height:38px}.tour-link-btn{background:transparent;border:none;color:var(--text-muted);font-size:.85rem;padding:.4rem .2rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.tour-link-btn:hover,.tour-link-btn:focus-visible{color:var(--text)}.tour-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border-radius:8px;background:transparent;border:none;color:var(--text-muted);cursor:pointer}.tour-icon-btn:hover,.tour-icon-btn:focus-visible{background:var(--bg-subtle);color:var(--text)}@media(prefers-reduced-motion:reduce){.tour-spotlight{transition:none}.tour-card{animation:none}.tour-dots span{transition:none}}.tour-trigger{position:relative;display:inline-flex;align-items:center;gap:.4rem;height:40px;padding:0 .8rem;border-radius:10px;border:1px solid rgba(34,197,94,.45);background:#22c55e1a;color:var(--text);font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .12s ease,box-shadow .2s ease}.tour-trigger:hover,.tour-trigger:focus-visible{background:#22c55e2e;border-color:#22c55e;box-shadow:0 0 0 3px #22c55e2e}.tour-trigger:active{transform:scale(.95)}.tour-trigger-icon{color:#16a34a;flex-shrink:0;transition:transform .6s cubic-bezier(.34,1.56,.64,1)}.tour-trigger:hover .tour-trigger-icon,.tour-trigger:focus-visible .tour-trigger-icon{transform:rotate(360deg)}.tour-trigger-ring{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:inherit;border:2px solid #22c55e;opacity:0;pointer-events:none;animation:tour-trigger-pulse 1.8s ease-out .8s 3}@keyframes tour-trigger-pulse{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(1.35)}}.tour-trigger-label{white-space:nowrap}@media(max-width:1199px){.tour-trigger{width:40px;padding:0;justify-content:center}.tour-trigger-label{display:none}}@media(prefers-reduced-motion:reduce){.tour-trigger,.tour-trigger-icon{transition:none}.tour-trigger:hover .tour-trigger-icon,.tour-trigger:focus-visible .tour-trigger-icon{transform:none}.tour-trigger-ring{animation:none}}.account-menu-trigger:hover,.account-menu-trigger:focus-visible{background:var(--bg-subtle)}.account-menu-item:hover,.account-menu-item:focus-visible{background:var(--bg-subtle)}.account-menu-item{outline-offset:-2px}.account-menu-panel{transform-origin:top;animation:account-menu-in .14s ease-out}@keyframes account-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.account-menu-panel{animation:none}.user-nav-links,.user-nav-links.collapsed{transition:none}}@keyframes agent-sweep{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes agent-pulse{0%,to{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes agent-caret{0%,45%{opacity:1}55%,to{opacity:0}}.agent-activity-text{color:var(--text-muted);background-image:linear-gradient(90deg,var(--text-muted) 0%,var(--text-muted) 42%,var(--primary) 50%,var(--text-muted) 58%,var(--text-muted) 100%);background-size:200% 100%;animation:agent-sweep 2.4s linear infinite}@supports (background-clip: text) or (-webkit-background-clip: text){.agent-activity-text{-webkit-background-clip:text;background-clip:text;color:transparent}}.agent-activity-dot{width:8px;height:8px;border-radius:50%;background:var(--primary);flex-shrink:0;animation:agent-pulse 1.4s ease-in-out infinite}.agent-caret{display:inline-block;width:2px;height:1em;vertical-align:text-bottom;background:var(--primary);margin-inline-start:2px;animation:agent-caret 1.1s steps(1,end) infinite}@media(prefers-reduced-motion:reduce){.agent-activity-text{animation:none!important;background-image:none;color:var(--text-muted)}.agent-activity-dot,.agent-caret{animation:none!important}}.placeholder-hints{background:#f0f7ff;border:1px solid #dbeafe}.placeholder-hints-label{color:#1e40af}.placeholder-hint-pill{background:#fff;border:1px solid #93c5fd;color:#1e40af}[data-theme=dark] .placeholder-hints{background:#3b82f614;border-color:#1e3a5f}[data-theme=dark] .placeholder-hints-label{color:#93c5fd}[data-theme=dark] .placeholder-hint-pill{background:var(--bg-elevated);border-color:#1e3a5f;color:#bfdbfe}
