.fragrance-dialog { width: min(1000px,calc(100vw - 48px)); max-width: none; height: min(900px,calc(100dvh - 48px)); max-height: none; padding: 0; margin: auto; border: 1px solid #dce5d2; border-radius: 20px; background: #fff; color: #31402b; box-shadow: 0 24px 90px #18231233; overflow: hidden; }
.fragrance-dialog[open] { display: flex; flex-direction: column; }
.fragrance-dialog::backdrop { background: #19221680; backdrop-filter: blur(4px); }
.fragrance-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: #edf3e6; flex-shrink: 0; }
.fragrance-dialog-header h2 { margin: 0; font-size: clamp(1.3rem,2.5vw,1.65rem); line-height: 1.3; font-weight: 400; }
.fragrance-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d0ddc5; border-radius: 50%; background: #fff; color: #405734; font: inherit; font-size: 1.7rem; cursor: pointer; flex-shrink: 0; }
.fragrance-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 24px; border-bottom: 1px solid #e0e6d9; flex-shrink: 0; }
.fragrance-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.fragrance-tabs button { border: 1px solid transparent; border-radius: 10px; background: #f7f9f4; color: #526348; font: inherit; font-size: .85rem; padding: 10px 14px; cursor: pointer; }
.fragrance-tabs button[aria-selected="true"] { color: #fff; background: #526c40; }
.fragrance-open { color: #405734; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.fragrance-open:hover { text-decoration: underline; }
.fragrance-dialog :focus-visible { outline: 2px solid #526c40; outline-offset: 3px; }
.fragrance-pages { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #f7f9f4; padding: 18px; }
.fragrance-pages img { display: block; width: 100%; height: auto; max-width: none; margin: 0 auto; box-shadow: 0 2px 10px #1823120d; }
@media(max-width:600px) {
 .fragrance-dialog { width: calc(100vw - 20px); height: calc(100dvh - 24px); border-radius: 16px; }
 .fragrance-dialog-header { padding: 12px 16px; }
 .fragrance-toolbar { padding: 10px 14px; gap: 10px; }
 .fragrance-tabs { width: 100%; }
 .fragrance-tabs button { padding: 9px 10px; font-size: .75rem; }
 .fragrance-pages { padding: 8px; }
}
.fragrance-actions { display: flex; align-items: center; gap: 16px; }
.fragrance-zoom { background: #fff; border: 1px solid #dce5d2; border-radius: 9px; padding: 8px 12px; color: #405734; font: inherit; font-size: .85rem; cursor: pointer; }
.fragrance-pages.is-enlarged img { width: max(150%,900px); }
.fragrance-tabs button[data-list="1"] { border: 2px solid #879d72; padding: 9px 13px; }
.fragrance-tabs button[data-list="1"][aria-selected="true"] { border-color: #405734; }
@media(max-width:600px) { .fragrance-tabs button[data-list="1"] { padding: 8px 9px; } }
