.graphics-panel { position: absolute; right: 0; top: 0; z-index: 9; width: 350px; min-width: 0; height: auto; max-height: calc(100dvh - var(--dock-clear, 96px) - 14px); padding-bottom: 16px; animation: fp-in-right .34s var(--fp-ease) both; }
.graphics-subtitle, .graphics-note, .graphics-message { font-size: 11px; line-height: 1.5; color: var(--glass-muted); }
.graphics-subtitle { margin: 0 0 12px; }
.graphics-status { margin: 0 0 12px; padding: 10px 12px; white-space: pre-line; font-size: 11px; line-height: 1.6; color: var(--glass-secondary); font-variant-numeric: tabular-nums; background: var(--fp-card); border: 1px solid var(--fp-chip-edge); border-radius: 16px; }
.graphics-message:empty { display: none; }

.graphics-group { margin-top: 8px; padding: 0 14px; background: var(--fp-card); border: 1px solid var(--fp-chip-edge); border-radius: 19px; }
.graphics-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--glass-secondary); cursor: pointer; list-style: none; }
.graphics-group summary::-webkit-details-marker { display: none; }
.graphics-group summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--fp-ease); }
.graphics-group[open] summary::after { transform: rotate(-135deg); }
.graphics-group[open] summary { color: var(--glass-ink); }
.graphics-group-body { padding-bottom: 10px; }
.graphics-field { margin: 4px 0 10px; }
.graphics-field > label { display: block; font-size: 12px; margin-bottom: 6px; color: var(--glass-secondary); }
.graphics-panel .range-caption { margin: 10px 0 4px; }
.graphics-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; font-size: 13px; }

.graphics-panel select { width: 100%; min-height: 40px; padding: 8px 34px 8px 12px; appearance: none; -webkit-appearance: none; color: var(--glass-ink); font-size: 13px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596a70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; border: 1px solid rgb(80 111 126 / .2); border-radius: 12px; }
.graphics-row input[type="checkbox"] { position: relative; flex: none; width: 48px; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 999px; background: #b6c0c2; box-shadow: inset 0 2px 5px rgb(0 0 0 / .18); cursor: pointer; transition: background-color .3s ease; }
.graphics-row input[type="checkbox"]::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3); transition: transform .38s cubic-bezier(.34, 1.56, .64, 1); }
.graphics-row input[type="checkbox"]:checked { background: var(--fp-amber); }
.graphics-row input[type="checkbox"]:checked::after { transform: translateX(20px); }
.graphics-row input[type="color"] { width: 48px; height: 32px; padding: 2px; background: #fff; border: 1px solid rgb(80 111 126 / .2); border-radius: 10px; cursor: pointer; }

.graphics-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.graphics-actions button { padding: 11px 4px; border: 1px solid var(--fp-chip-edge); border-radius: 14px; background: rgb(255 255 255 / .55); font-size: 12px; font-weight: 600; transition: background-color .2s ease, transform .2s ease; }
.graphics-actions button:hover { background: #fff; transform: translateY(-1px); }
.graphics-note { margin: 12px 2px 0; }
.graphics-message { margin: 6px 2px 0; }
@media (prefers-reduced-motion: reduce) { .graphics-panel { animation-duration: .01s; } .graphics-group summary::after { transition-duration: .01s; } }
