.contracts-container{max-width:1400px;margin:0 auto;padding:48px 32px;position:relative;z-index:1}.contracts-page-header{margin-bottom:40px;display:flex;justify-content:space-between;align-items:flex-start}.contracts-header-content h1{font-size:40px;font-weight:700;background:linear-gradient(135deg,#F8FAFC,#CBD5E1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:12px}.contracts-header-meta{display:flex;align-items:center;gap:24px;color:var(--text-tertiary);font-size:15px}.contracts-stat-item{display:flex;align-items:center;gap:8px}.contracts-stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:32px}.contracts-stat-card{background:linear-gradient(135deg,var(--surface-2) 0,var(--surface-3) 100%);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:24px;box-shadow:var(--shadow-md)}.contracts-stat-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.contracts-stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--stat-bg)}.contracts-stat-number{font-size:36px;font-weight:700;color:var(--stat-color);margin-bottom:4px}.contracts-stat-label{font-size:14px;color:var(--text-tertiary)}.contracts-filter-bar{background:linear-gradient(135deg,var(--surface-2) 0,var(--surface-3) 100%);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px 24px;margin-bottom:32px;box-shadow:var(--shadow-md);display:flex;gap:16px;flex-wrap:wrap;align-items:center}.contracts-search-box{flex:1;min-width:300px;position:relative}.contracts-search-box input{width:100%;background:var(--surface-1);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 16px 12px 44px;color:var(--text-primary);font-size:15px;transition:all .3s ease}.contracts-search-box input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(59,130,246,.1)}.contracts-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-tertiary)}.contracts-filter-group{display:flex;gap:12px;align-items:center}.contracts-filter-label{color:var(--text-tertiary);font-size:14px;font-weight:500}.contracts-filter-bar select{background:var(--surface-1);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 36px 10px 14px;color:var(--text-primary);font-size:14px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.contracts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:24px}.contract-card{background:linear-gradient(135deg,var(--surface-2) 0,var(--surface-3) 100%);border-radius:20px;padding:28px;position:relative;overflow:hidden;box-shadow:var(--shadow-lg);transition:all .3s ease;border:1px solid rgba(255,255,255,.06)}.contract-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--gradient-bg);opacity:0;transition:opacity .3s ease}.contract-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-glow);border-color:rgba(255,255,255,.12)}.contract-card:hover:before{opacity:1}.contract-card.high-risk{--gradient-bg:linear-gradient(90deg,#EF4444,#F59E0B)}.contract-card.medium-risk{--gradient-bg:linear-gradient(90deg,#F59E0B,#10B981)}.contract-card.low-risk{--gradient-bg:linear-gradient(90deg,#10B981,#06B6D4)}.contract-card-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.contract-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--icon-bg);box-shadow:var(--shadow-md)}.contract-card-title-group{flex:1}.contract-card-title{font-size:18px;font-weight:600;color:var(--text-primary);margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.contract-card-subtitle{font-size:14px;color:var(--text-tertiary)}.contract-card-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.06)}.contract-meta-item{display:flex;flex-direction:column;gap:4px}.contract-meta-label{font-size:12px;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.5px;font-weight:500}.contract-meta-value{font-size:15px;color:var(--text-primary);font-weight:600}.contract-card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.contracts-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid;position:relative}.contracts-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.contracts-badge-high{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:#EF4444}.contracts-badge-medium{background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.3);color:#F59E0B}.contracts-badge-low{background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.3);color:#10B981}.contracts-badge-tag{background:rgba(148,163,184,.1);border-color:rgba(148,163,184,.2);color:var(--text-secondary);padding:4px 10px;font-size:12px}.contracts-badge-tag:before{display:none}.contract-card-actions{display:flex;gap:10px}.contract-btn{flex:1;padding:12px 20px;border-radius:12px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.contract-btn-primary{background:linear-gradient(135deg,#3B82F6,#2563EB);color:white;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 4px 8px rgba(59,130,246,.3),0 0 16px rgba(59,130,246,.2)}.contract-btn-primary:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(255,255,255,.15),0 6px 12px rgba(59,130,246,.4),0 0 24px rgba(59,130,246,.3)}.contract-btn-secondary{background:var(--surface-4);color:var(--text-primary);border:1px solid rgba(255,255,255,.1)}.contract-btn-secondary:hover{background:var(--surface-5);border-color:rgba(255,255,255,.15)}@media (max-width:768px){.contracts-container{padding:24px 16px}.contracts-header-content h1{font-size:32px}.contracts-grid{grid-template-columns:1fr}.contracts-filter-bar{flex-direction:column;align-items:stretch}.contracts-search-box{min-width:100%}}.template-examples-section{margin-top:48px;padding:32px;background:linear-gradient(135deg,#0F1319,#14171F);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 0 0 1px rgba(255,255,255,.05),0 4px 6px rgba(0,0,0,.3)}.section-header{gap:16px;margin-bottom:24px}.header-icon,.section-header{display:flex;align-items:center}.header-icon{font-size:32px;width:48px;height:48px;justify-content:center;background:linear-gradient(135deg,rgba(59,130,246,.15),rgba(59,130,246,.08));border-radius:12px;box-shadow:0 0 0 1px rgba(59,130,246,.2),0 0 20px rgba(59,130,246,.15)}.header-content{flex:1}.section-title{font-size:20px;font-weight:700;color:#F8FAFC;margin-bottom:4px}.section-subtitle{font-size:14px;color:#94A3B8}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.template-card{background:#1A1F2E;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.template-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#3B82F6,#8B5CF6,#10B981);opacity:0;transition:opacity .3s ease}.template-card:hover{border-color:#3B82F6;transform:translateY(-4px);box-shadow:0 8px 20px rgba(59,130,246,.2)}.template-card:hover:before{opacity:1}.template-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.template-badge{padding:4px 8px;background:rgba(16,185,129,.15);color:#10B981;border:1px solid rgba(16,185,129,.3);border-radius:4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.template-icon{font-size:24px}.template-title{font-size:16px;font-weight:600;color:#F8FAFC;margin-bottom:8px}.template-description{font-size:13px;color:#94A3B8;line-height:1.5;margin-bottom:16px}.template-details{display:flex;flex-direction:column;gap:8px;padding:12px;background:rgba(59,130,246,.05);border-radius:8px;margin-bottom:12px}.detail-row{display:flex;justify-content:space-between;font-size:13px}.detail-label{color:#94A3B8}.detail-value{color:#F8FAFC;font-weight:600}.template-card-footer{text-align:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.click-hint{font-size:12px;color:#64748B;transition:color .3s ease}.template-card:hover .click-hint{color:#3B82F6}.contract-entry-form.highlight-updated{animation:formHighlight 2s ease}@keyframes formHighlight{0%,to{box-shadow:0 0 0 0 rgba(59,130,246,0)}50%{box-shadow:0 0 0 4px rgba(59,130,246,.3)}}@media (max-width:1024px){.templates-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width:768px){.template-examples-section{padding:24px 20px;margin-top:32px}.templates-grid{grid-template-columns:1fr;gap:16px}.section-header{flex-direction:column;align-items:flex-start;gap:12px}}