.change-history-section{border-top:2px solid var(--border-color);margin-top:2rem;padding-top:2rem}.change-history-section h3{color:var(--text-primary);align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.update-badge{background:var(--accent);color:#fff;border-radius:12px;padding:.25rem .75rem;font-size:.875rem;font-weight:400}.timeline{padding-left:2.5rem;position:relative}.timeline:before{content:"";background:var(--border-color);width:2px;position:absolute;top:0;bottom:0;left:.75rem}.timeline-item{margin-bottom:1.5rem;padding-bottom:1.5rem;position:relative}.timeline-item:last-child{margin-bottom:0;padding-bottom:0}.timeline-marker{background:var(--bg-secondary);border:2px solid var(--border-color);z-index:1;border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.875rem;display:flex;position:absolute;left:-2.5rem}.timeline-item.created .timeline-marker{background:var(--accent);border-color:var(--accent)}.timeline-content{background:var(--bg-tertiary);border-radius:8px;padding:1rem}.timeline-date{color:var(--text-secondary);margin-bottom:.5rem;font-size:.875rem;font-weight:500}.timeline-description{color:var(--text-primary);font-weight:500}.timeline-changes{margin-top:.5rem}.change-item{color:var(--text-primary);padding:.25rem 0;font-size:.9375rem}.change-item:first-child{padding-top:0}.admin-history-controls{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.admin-select-all{cursor:pointer;color:var(--text-secondary);align-items:center;gap:.4rem;display:flex}.admin-select-all input[type=checkbox]{cursor:pointer}.btn-remove-history{background:var(--danger);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.35rem .85rem;font-size:.8125rem;font-weight:600;transition:filter .15s}.btn-remove-history:hover:not(:disabled){filter:brightness(.88)}.btn-remove-history:disabled{opacity:.6;cursor:not-allowed}.remove-error{color:var(--danger);font-size:.8125rem}.history-entry-checkbox{cursor:pointer;width:1rem;height:1rem;position:absolute;top:.75rem;left:-3.5rem}.timeline-item.admin-selected .timeline-content{outline:2px solid var(--danger);outline-offset:2px}.dark .timeline-marker{background:var(--bg-primary)}.dark .timeline-item.created .timeline-marker{background:var(--accent)}
.item-resources-section{border-top:1px solid var(--border-color,#e2e8f0);margin-top:1.5rem;padding-top:1.5rem}.item-resources-section h3{align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1.1rem;display:flex}.resource-count{background:var(--accent-primary);color:#fff;border-radius:999px;padding:.15rem .5rem;font-size:.75rem;font-weight:600}.btn-add-resource{background:var(--accent-primary);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;font-size:1rem;transition:background .15s;display:flex}.btn-add-resource:hover{background:var(--accent-hover)}.resource-form{background:var(--surface-card);border:1px solid var(--border-color,#e2e8f0);border-radius:8px;margin-bottom:1rem;padding:.75rem}.resource-form .form-row{gap:.5rem;margin-bottom:.5rem;display:flex}.resource-form .form-row:last-of-type{margin-bottom:0}.resource-form select,.resource-form input[type=text],.resource-form input[type=url]{border:1px solid var(--border-color,#e2e8f0);background:var(--input-bg,#fff);color:var(--text-primary);border-radius:6px;flex:1;padding:.4rem .6rem;font-size:.875rem}.resource-form select{flex:0 0 140px}.btn-save-resource{background:var(--accent-primary);color:#fff;cursor:pointer;border:none;border-radius:6px;flex:none;padding:.4rem 1rem;font-size:.875rem;transition:background .15s}.btn-save-resource:hover:not(:disabled){background:var(--accent-hover)}.btn-save-resource:disabled{opacity:.6;cursor:not-allowed}.resource-error{color:var(--danger-text);margin:.5rem 0 0;font-size:.8rem}.resources-list{flex-direction:column;gap:.75rem;display:flex}.resource-item{background:var(--surface-card);border:1px solid var(--border-color,#e2e8f0);border-radius:8px;position:relative;overflow:hidden}.resource-title{color:var(--text-primary);margin:0;padding:.6rem .75rem .25rem;font-size:.9rem;font-weight:600}.resource-embed .video-container{height:0;padding-bottom:56.25%;position:relative;overflow:hidden}.resource-embed .video-container iframe{border:0;width:100%;height:100%;position:absolute;top:0;left:0}.resource-image img{object-fit:contain;max-width:100%;max-height:400px;margin:0 auto;padding:.5rem;display:block}.resource-link{align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.resource-type-icon{flex-shrink:0;font-size:1.2rem}.resource-link a{color:var(--accent-primary);word-break:break-all;text-decoration:none}.resource-link a:hover{text-decoration:underline}.btn-delete-resource{cursor:pointer;background:#0000000d;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.85rem;transition:background .15s;display:flex;position:absolute;top:.4rem;right:.4rem}.btn-delete-resource:hover{background:#dc262626}
