*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--clr-bg: #f5f7fa;--clr-surface: #ffffff;--clr-primary: #1a56db;--clr-primary-hover: #1244b0;--clr-text: #1f2937;--clr-text-muted: #6b7280;--clr-border: #e5e7eb;--clr-green: #059669;--clr-green-bg: #ecfdf5;--clr-orange: #d97706;--clr-orange-bg: #fffbeb;--clr-red: #dc2626;--clr-red-bg: #fef2f2;--clr-kimdhs: #2563eb;--clr-ted: #7c3aed;--radius: 8px;--shadow: 0 1px 3px rgba(0, 0, 0, .08)}html{font-size:15px}body{font-family:Segoe UI,system-ui,-apple-system,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Noto Sans Greek;background:var(--clr-bg);color:var(--clr-text);line-height:1.6;min-height:100vh;display:flex;flex-direction:column}.container{max-width:1280px;margin:0 auto;padding:0 1.25rem;width:100%}a{color:var(--clr-primary);text-decoration:none}a:hover{text-decoration:underline}header{background:var(--clr-primary);color:#fff;padding:1.5rem 0}header h1{font-size:1.6rem;font-weight:700;letter-spacing:-.02em}header .subtitle{font-size:.95rem;opacity:.85;margin-top:.15rem}.record-tabs{display:flex;gap:0;margin-top:1.5rem;border-bottom:2px solid var(--clr-border)}.record-tabs .tab{padding:.65rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;cursor:pointer;font-size:.95rem;font-weight:500;color:var(--clr-text-muted);transition:color .15s,border-color .15s}.record-tabs .tab:hover{color:var(--clr-primary)}.record-tabs .tab.active{color:var(--clr-primary);border-bottom-color:var(--clr-primary);font-weight:600}.record-tabs .tab-count{font-size:.8rem;margin-left:.3rem;opacity:.7}.filters{background:var(--clr-surface);border:1px solid var(--clr-border);border-radius:0 0 var(--radius) var(--radius);padding:1.25rem;box-shadow:var(--shadow);border-top:none}.filter-row{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-end}.filter-row+.filter-row{margin-top:.75rem}.filter-group{display:flex;flex-direction:column;gap:.3rem;flex:1;min-width:140px}.filter-group.filter-search{flex:2;min-width:240px}.filter-group.filter-actions{flex-direction:row;align-items:flex-end;gap:.5rem;min-width:auto;flex:0 0 auto}.filter-group.filter-check{flex-direction:row;align-items:center;min-width:auto;flex:0 0 auto}.filter-group.filter-check label{display:flex;align-items:center;gap:.4rem;font-size:.88rem;text-transform:none;cursor:pointer}.filter-group.filter-check input[type=checkbox]{width:1.1rem;height:1.1rem;cursor:pointer}.filters label{font-size:.8rem;font-weight:600;color:var(--clr-text-muted);text-transform:uppercase;letter-spacing:.04em}.filters input,.filters select{height:2.5rem;padding:0 .75rem;border:1px solid var(--clr-border);border-radius:6px;font-size:.93rem;background:var(--clr-bg);color:var(--clr-text);transition:border-color .15s}.filters input:focus,.filters select:focus{outline:none;border-color:var(--clr-primary);box-shadow:0 0 0 3px #1a56db1f}button,.btn-secondary{height:2.5rem;padding:0 1.25rem;border:none;border-radius:6px;font-size:.93rem;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}#btn-search{background:var(--clr-primary);color:#fff}#btn-search:hover{background:var(--clr-primary-hover)}.btn-secondary{background:var(--clr-bg);color:var(--clr-text-muted);border:1px solid var(--clr-border)}.btn-secondary:hover{background:var(--clr-border)}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:1.25rem;padding:0 .25rem;flex-wrap:wrap;gap:.5rem}#result-count{font-size:.9rem;color:var(--clr-text-muted)}.sort-controls{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.sort-controls select{padding:.3rem .6rem;border:1px solid var(--clr-border);border-radius:6px;font-size:.87rem;background:var(--clr-surface)}.table-wrap{margin-top:.75rem;overflow-x:auto;background:var(--clr-surface);border:1px solid var(--clr-border);border-radius:var(--radius);box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;font-size:.9rem}thead{background:var(--clr-bg);position:sticky;top:0;z-index:1}th{text-align:left;padding:.75rem .85rem;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--clr-text-muted);border-bottom:2px solid var(--clr-border);white-space:nowrap}th.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s,background .15s}th.sortable-th:hover{color:var(--clr-primary);background:#eef2ff}th.sortable-th.sorted{color:var(--clr-primary);border-bottom-color:var(--clr-primary)}.sort-arrow{font-size:.7rem;margin-left:.2rem}td{padding:.7rem .85rem;border-bottom:1px solid var(--clr-border);vertical-align:top}tbody tr:hover{background:#f9fafb}tbody tr:last-child td{border-bottom:none}td:nth-child(1){max-width:320px}td:nth-child(2){max-width:200px}.cell-title{font-weight:500;line-height:1.4}.cell-title a{color:var(--clr-text)}.cell-title a:hover{color:var(--clr-primary)}.cell-org{font-size:.85rem;color:var(--clr-text-muted)}.cell-amount{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.cell-cpv{font-size:.82rem;color:var(--clr-text-muted);font-family:Cascadia Code,Fira Code,monospace}.deadline-open{color:var(--clr-green);background:var(--clr-green-bg);padding:.15rem .5rem;border-radius:4px;font-size:.85rem;display:inline-block}.deadline-closing{color:var(--clr-orange);background:var(--clr-orange-bg);padding:.15rem .5rem;border-radius:4px;font-size:.85rem;display:inline-block;font-weight:600}.deadline-expired{color:var(--clr-red);background:var(--clr-red-bg);padding:.15rem .5rem;border-radius:4px;font-size:.85rem;display:inline-block}.badge{display:inline-block;padding:.15rem .55rem;border-radius:4px;font-size:.78rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.badge-kimdhs{background:#dbeafe;color:var(--clr-kimdhs)}.badge-ted{background:#ede9fe;color:var(--clr-ted)}.badge-diavgeia{background:#fef3c7;color:#92400e}.loading,.no-results{padding:3rem;text-align:center;color:var(--clr-text-muted);font-size:1rem}.pagination{display:flex;justify-content:center;gap:.35rem;margin:1.5rem 0 2rem;flex-wrap:wrap}.pagination button{min-width:2.4rem;height:2.4rem;padding:0 .6rem;border:1px solid var(--clr-border);border-radius:6px;background:var(--clr-surface);color:var(--clr-text);font-size:.87rem;font-weight:500;cursor:pointer;transition:all .15s}.pagination button:hover{background:var(--clr-bg);border-color:var(--clr-primary)}.pagination button.active{background:var(--clr-primary);color:#fff;border-color:var(--clr-primary)}.pagination button:disabled{opacity:.4;cursor:not-allowed}footer{margin-top:auto;padding:1.5rem 0;border-top:1px solid var(--clr-border);background:var(--clr-surface)}footer .attribution{font-size:.82rem;color:var(--clr-text-muted);line-height:1.6}footer a{color:var(--clr-text-muted);text-decoration:underline}footer a:hover{color:var(--clr-primary)}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center}.modal[hidden]{display:none}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080}.modal-content{position:relative;background:var(--clr-surface);border-radius:var(--radius);box-shadow:0 8px 30px #0003;width:95vw;max-width:1200px;height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-close{position:absolute;top:.75rem;right:.75rem;width:2.2rem;height:2.2rem;min-width:auto;padding:0;border:none;border-radius:50%;background:var(--clr-bg);color:var(--clr-text);font-size:1.3rem;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:var(--clr-red-bg);color:var(--clr-red)}.modal-body{display:flex;height:100%;overflow:hidden}.detail-info{width:28%;padding:1.5rem;overflow-y:auto;border-right:1px solid var(--clr-border)}.detail-pdf{width:42%;height:100%;display:flex;flex-direction:column}.detail-context{width:32%;padding:1.5rem;overflow-y:auto;border-left:1px solid var(--clr-border)}.detail-pdf iframe{width:100%;flex:1 1 0%;min-height:200px;border:none}.pdf-search-bar{display:flex;align-items:center;gap:4px;padding:6px 8px;background:var(--clr-surface);border-bottom:1px solid var(--clr-border);flex-shrink:0}.pdf-search-bar input{flex:1;font-size:.82rem;padding:4px 8px;border:1px solid var(--clr-border);border-radius:4px;background:var(--clr-bg);color:var(--clr-text);outline:none}.pdf-search-bar input:focus{border-color:var(--clr-primary)}.pdf-search-bar button{font-size:.82rem;padding:4px 8px;border:1px solid var(--clr-border);border-radius:4px;background:var(--clr-bg);color:var(--clr-text);cursor:pointer}.pdf-search-bar button:hover{background:var(--clr-border)}.pdf-search-status{font-size:.72rem;color:var(--clr-text-muted);white-space:nowrap}.pdf-search-results{max-height:180px;overflow-y:auto;border-bottom:1px solid var(--clr-border);background:var(--clr-surface);flex-shrink:0}.pdf-search-match{font-size:.78rem;padding:6px 10px;border-bottom:1px solid var(--clr-border);line-height:1.4;color:var(--clr-text);cursor:pointer}.pdf-search-match:last-child{border-bottom:none}.pdf-search-match:hover{background:var(--clr-bg)}.pdf-search-match mark{background:#fde68a;color:#000;border-radius:2px;padding:0 2px}.pdf-page-badge{display:inline-block;font-size:.68rem;font-weight:700;background:var(--clr-primary);color:#fff;border-radius:3px;padding:1px 5px;margin-right:4px;vertical-align:middle}.pdf-search-more{font-size:.72rem;padding:6px 10px;color:var(--clr-text-muted);text-align:center}.detail-pdf .pdf-fallback{flex:1;flex-direction:column;align-items:center;justify-content:center}.detail-pdf .pdf-fallback[hidden]{display:none!important;justify-content:center;height:100%;gap:1rem;color:var(--clr-text-muted)}.detail-pdf .pdf-fallback a{padding:.75rem 1.5rem;background:var(--clr-primary);color:#fff;border-radius:6px;font-weight:600;text-decoration:none}.detail-pdf .pdf-fallback a:hover{background:var(--clr-primary-hover)}.detail-info h2{font-size:1.15rem;margin-bottom:1.25rem;line-height:1.4}.detail-field{margin-bottom:1rem}.detail-field .label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--clr-text-muted);margin-bottom:.15rem}.detail-field .value{font-size:.95rem}.detail-field .value.amount{font-size:1.2rem;font-weight:700;color:var(--clr-primary)}tbody tr{cursor:pointer}@media(max-width:1100px){.modal-body{flex-direction:column}.detail-info{width:100%;height:auto;max-height:30%;border-right:none;border-bottom:1px solid var(--clr-border)}.detail-pdf{width:100%;height:40%}.detail-context{width:100%;height:30%;border-left:none;border-top:1px solid var(--clr-border)}}.context-panel{border:1px solid var(--clr-border);border-radius:var(--radius);background:var(--clr-bg);overflow:hidden}.context-header{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;background:linear-gradient(135deg,#134e4a,#065f46);color:#fff}.context-badge{font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.context-section{padding:.85rem 1rem;border-bottom:1px solid var(--clr-border)}.context-section:last-child{border-bottom:none}.context-section-title{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#059669;margin-bottom:.5rem}.context-section ul,.context-section ol{margin:0;padding-left:1.3rem;font-size:.86rem;line-height:1.55}.context-section li{margin-bottom:.3rem}.context-section p{font-size:.86rem;line-height:1.55;margin-bottom:.3rem}.context-section p:last-child{margin-bottom:0}.law-card{background:var(--clr-surface);border:1px solid var(--clr-border);border-radius:6px;padding:.65rem .85rem;margin-bottom:.5rem}.law-card:last-child{margin-bottom:0}.law-ref{font-size:.78rem;font-weight:700;color:#059669}.law-title{font-size:.85rem;font-weight:600;margin:.15rem 0}.law-summary,.law-action{font-size:.82rem;line-height:1.5;color:var(--clr-text-muted)}.law-action{color:var(--clr-text);font-weight:500;margin-top:.2rem}.cert-card{background:var(--clr-surface);border:1px solid var(--clr-border);border-radius:6px;padding:.65rem .85rem;margin-bottom:.5rem}.cert-name{font-size:.85rem;font-weight:700;color:var(--clr-text)}.cert-desc,.cert-how{font-size:.82rem;line-height:1.5;color:var(--clr-text-muted)}.cert-how{color:var(--clr-text);font-weight:500}.risk-badge{display:inline-block;padding:.2rem .6rem;border-radius:4px;font-size:.82rem;font-weight:700}.risk-easy{background:var(--clr-green-bg);color:var(--clr-green)}.risk-medium{background:var(--clr-orange-bg);color:var(--clr-orange)}.risk-hard{background:var(--clr-red-bg);color:var(--clr-red)}.pdf-ref-badge{display:inline-block;font-size:.7rem;font-weight:600;padding:.1rem .4rem;margin-left:.4rem;background:#e0e7ff;color:#4338ca;border-radius:4px;vertical-align:middle;cursor:default}.ai-panel{border:1px solid var(--clr-border);border-radius:var(--radius);background:var(--clr-bg);overflow:hidden}.ai-header{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;background:linear-gradient(135deg,#1e1b4b,#312e81);color:#fff}.ai-badge{font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.ai-cost{font-size:.72rem;font-weight:600;color:var(--clr-text-muted);margin-left:auto;cursor:default}.ai-ready{display:flex;align-items:center;gap:.5rem;padding:1rem .75rem;justify-content:center;flex-wrap:wrap}.ai-ready .model-selector{flex:1 1 auto;min-width:0}.ai-ready .start-analysis-btn{flex-shrink:0;white-space:nowrap}.model-selector{font-size:.82rem;padding:6px 10px;border-radius:6px;border:1px solid var(--clr-border);background:var(--clr-bg);color:var(--clr-text);cursor:pointer;outline:none}.start-analysis-btn{font-size:.82rem;font-weight:600;padding:6px 18px;border-radius:6px;border:none;background:var(--clr-primary);color:#fff;cursor:pointer;transition:background .15s}.start-analysis-btn:hover{background:var(--clr-primary-dark, #2563eb)}.ai-reanalyze{display:flex;align-items:center;gap:.5rem;padding:.75rem;border-top:1px solid var(--clr-border);justify-content:flex-end;flex-wrap:wrap}.ai-reanalyze .model-selector{min-width:0;flex:1 1 auto}.ai-reanalyze .start-analysis-btn{flex-shrink:0;white-space:nowrap}.ai-loading{padding:2rem 1rem;text-align:center;color:var(--clr-text-muted)}.ai-spinner{width:2rem;height:2rem;border:3px solid var(--clr-border);border-top-color:#6366f1;border-radius:50%;margin:0 auto 1rem;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.ai-loading-sub{font-size:.82rem;margin-top:.25rem;opacity:.7}.ai-error{padding:1rem;color:var(--clr-red);background:var(--clr-red-bg)}.ai-section{padding:.85rem 1rem;border-bottom:1px solid var(--clr-border)}.ai-section:last-child{border-bottom:none}.ai-section-title{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6366f1;margin-bottom:.5rem}.ai-summary{font-size:.9rem;line-height:1.55;color:var(--clr-text)}.ai-section ul,.ai-section ol{margin:0;padding-left:1.3rem;font-size:.88rem;line-height:1.6}.ai-section li{margin-bottom:.2rem}.ai-section p{font-size:.88rem;line-height:1.55;margin-bottom:.3rem}.ai-section p:last-child{margin-bottom:0}.ai-checklist{list-style:none;padding-left:0}.ai-checklist li{margin-bottom:.35rem}.ai-checklist label{display:flex;align-items:flex-start;gap:.5rem;cursor:pointer;font-size:.88rem;text-transform:none;letter-spacing:normal;font-weight:400;color:var(--clr-text)}.ai-checklist input[type=checkbox]{margin-top:.25rem;flex-shrink:0;width:1rem;height:1rem;accent-color:#6366f1}.ai-checklist label:has(input:checked){text-decoration:line-through;opacity:.6}.ai-warnings{background:#fef9ee;border-left:3px solid var(--clr-orange)}.ai-warnings .ai-section-title{color:var(--clr-orange)}.ai-warnings ul{color:#92400e}.ai-extras p{font-size:.88rem;margin-bottom:.25rem}@media(max-width:768px){html{font-size:14px}.filter-row{flex-direction:column}.filter-group{min-width:100%}.filter-group.filter-actions{flex-direction:row;width:100%}.filter-group.filter-actions button{flex:1}.toolbar{flex-direction:column;align-items:flex-start}table,thead,tbody,th,td,tr{display:block}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}tbody tr{border-bottom:2px solid var(--clr-border);padding:.75rem .85rem;margin-bottom:.5rem}td{border-bottom:none;padding:.25rem 0;max-width:none}td:before{content:attr(data-label);display:block;font-size:.75rem;font-weight:600;color:var(--clr-text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.1rem}}
