.trident-panel .trident-header { padding: 0; }
.trident-expand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1.25rem; border: 0; background: transparent; color: var(--text); text-align: left; box-shadow: none; }
.trident-expand:hover { background: rgba(179, 71, 255, 0.035); box-shadow: none; }
.trident-panel .mod-body { padding: 0 1.25rem 1.25rem; }
.trident-note { margin: 0 0 0.55rem; color: var(--text-dim); font-size: 0.76rem; line-height: 1.5; max-width: 60ch; }
.trident-save { display: flex; justify-content: flex-end; align-items: center; gap: 0.7rem; min-height: 25px; margin-bottom: 0.75rem; color: var(--text-dim); font-size: 0.73rem; }
.trident-save button { width: auto; padding: 0.3rem 0.6rem; font-size: inherit; }
.trident-save button[hidden] { display: none; }
.trident-panel > .mod-body > .nt-group { max-width: none; }
.trident-panel .nt-setting-label { margin: 0; }
.trident-panel #trident-tripwire_hook { width: auto; min-width: 84px; padding: 0.35rem 0.6rem; font-size: 0.72rem; }
.trident-panel select { font-size: 0.82rem; padding: 0.4rem 0.6rem; background: var(--bg-input); color: var(--text); border: 1px solid var(--border); border-radius: 6px; }
.trident-panel button:focus-visible, .trident-panel input:focus-visible, .trident-panel select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .trident-panel .mod-body, .trident-expand { padding-left: 1rem; padding-right: 1rem; } .trident-expand { gap: 0.5rem; } .trident-panel > .mod-body > .nt-group { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .trident-panel * { transition: none !important; } }
