*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.5;background:#f1f5f9;color:#1e293b}.page{max-width:1400px;margin:0 auto;padding:1.5rem}.page-header{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.page-header h1{font-size:1.375rem;font-weight:700}.subtitle{color:#64748b;font-size:.8125rem}.header-actions{margin-left:auto;display:flex;gap:.5rem}.back{color:#3b82f6;text-decoration:none;font-size:.8125rem;white-space:nowrap}.back:hover{text-decoration:underline}.banner{padding:.625rem 1rem;border-radius:.375rem;margin-bottom:1rem;font-size:.875rem}.banner.ok{background:#dcfce7;color:#166534}.banner.error{background:#fee2e2;color:#991b1b}.banner.snapshot-banner{background:#fef9c3;color:#854d0e}.toolbar{display:flex;gap:.5rem;margin-bottom:1rem}.search{flex:1;padding:.4375rem .75rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;font-family:inherit;background:#fff}.search:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}button{padding:.4375rem .875rem;background:#3b82f6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.8125rem;font-family:inherit;font-weight:500;white-space:nowrap}button:hover{background:#2563eb}button:disabled{background:#94a3b8;cursor:not-allowed}button.secondary{background:#fff;color:#475569;border:1px solid #cbd5e1}button.secondary:hover{background:#f8fafc}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:.5rem;overflow:hidden;box-shadow:0 1px 3px #00000014}.table th{text-align:left;padding:.6rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.6875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.table td{padding:.5rem 1rem;border-bottom:1px solid #f1f5f9}.table tr:last-child td{border-bottom:none}.table .clickable{cursor:pointer}.table .clickable:hover{background:#f8fafc}.table .has-custom{background:#eff6ff}.table .has-custom:hover{background:#dbeafe}.mono{font-family:SF Mono,Fira Code,ui-monospace,monospace;font-size:.8em}.small{font-size:.8em}.muted{color:#94a3b8}.empty{text-align:center;color:#94a3b8;padding:2rem!important}.old{color:#dc2626;font-size:.8em}.new{color:#16a34a;font-size:.8em}.tag{display:inline-block;padding:.1rem .375rem;border-radius:.25rem;font-size:.7rem;font-weight:600;text-transform:uppercase}.tag.faa_sync{background:#e0f2fe;color:#0369a1}.tag.editor{background:#fef9c3;color:#854d0e}.detail-layout{display:grid;grid-template-columns:280px 1fr;gap:1rem}.card{background:#fff;border-radius:.5rem;padding:1.25rem;box-shadow:0 1px 3px #00000014}.card h2{font-size:.6875rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:1rem}.history-card,.pictures-card{grid-column:1 / -1}dl{display:grid;grid-template-columns:max-content 1fr;gap:.375rem 1rem;align-items:start}dt{color:#64748b;font-size:.75rem;padding-top:.125rem}dd{font-weight:500;word-break:break-word}.field{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.625rem}.field label{font-size:.6875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.field input,.field select{padding:.375rem .625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;font-family:inherit;background:#fff}.field input:focus,.field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.field input.internal{background:#fffbeb;border-color:#fbbf24}.dim-row{display:flex;gap:.5rem}.dim-cell{display:flex;flex-direction:column;gap:.2rem;flex:1}.dim-axis{font-size:.6rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.dim-cell input{width:100%}.form-section{margin-bottom:.25rem}.form-section[open]{margin-bottom:1rem}.form-section-heading{list-style:none;display:flex;align-items:center;gap:.375rem;font-size:.6875rem;font-weight:700;color:#3b82f6;text-transform:uppercase;letter-spacing:.06em;padding:.375rem 0;border-bottom:1px solid #e0f2fe;cursor:pointer;-webkit-user-select:none;user-select:none}.form-section-heading::-webkit-details-marker{display:none}.form-section-heading:before{content:"▶";font-size:.5rem;color:#93c5fd;transition:transform .15s}.form-section[open]>.form-section-heading:before{transform:rotate(90deg)}.form-section[open]>.form-section-heading{margin-bottom:.625rem}.actions{display:flex;align-items:center;gap:.75rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f1f5f9}.pictures{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.picture{position:relative;display:inline-block}.picture img{width:140px;height:105px;object-fit:cover;border-radius:.375rem;border:1px solid #e2e8f0;display:block}.delete-pic{position:absolute;top:4px;right:4px;width:22px;height:22px;padding:0;font-size:11px;background:#0000008c;color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.delete-pic:hover{background:#dc2626}.loading{padding:3rem;text-align:center;color:#94a3b8}.nav-link{display:inline-flex;align-items:center;gap:.35rem;font-weight:500}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .3rem;background:#ef4444;color:#fff;font-size:.6875rem;font-weight:700;border-radius:9999px;line-height:1}.conflicts-table .conflict-actions{display:flex;gap:.375rem;flex-wrap:wrap}.conflicts-table .conflict-actions input{flex:1;min-width:140px}.manual-row td{background:#f8fafc;padding-top:0!important}.note-row td{background:#fffbeb;padding:.375rem 1rem!important;border-bottom:1px solid #fef3c7}.conflict-note{font-size:.8125rem;color:#92400e}.schedule-control{display:flex;align-items:center;gap:.375rem}.schedule-label{font-size:.6875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.schedule-select{padding:.4375rem .625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.8125rem;font-family:inherit;background:#fff;color:#1e293b;cursor:pointer}.schedule-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.schedule-select.saving{opacity:.6}.schedule-last{font-size:.75rem;color:#94a3b8;white-space:nowrap}
