.material-dialog { width: min(620px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d9d2c7; border-radius: 8px; background: #fcfaf5; color: #35291f; overflow-y: auto; box-shadow: 0 24px 80px #180d0966; }
.material-dialog::backdrop { background: #241a14b8; backdrop-filter: blur(3px); }
.material-dialog-header { position: relative; height: 190px; background: #442d20; }
.material-dialog-header > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.material-dialog-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 15%,#221711df); pointer-events: none; }
.material-dialog-heading { position: absolute; bottom: 22px; left: 28px; right: 28px; z-index: 1; color: #fff4df; }
.material-dialog-heading span { font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.material-dialog-heading h2 { font: 700 38px/1.1 Georgia,serif; margin: 10px 0 0; }
.material-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #fff4df88; border-radius: 50%; color: #fff4df; background: #35291fc9; cursor: pointer; }
.material-dialog-body { padding: 26px 28px; }
.material-owner-note { border-left: 3px solid #812c32; background: #f3f0e8; padding: 14px 16px; }
.material-owner-note > span { color: #812c32; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.material-owner-note p { font: 700 18px/1.5 Georgia,serif; margin: 10px 0 0; }
.material-content-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.material-content-prompts h3 { color: #812c32; font-size: 14px; margin: 0 0 8px; }
.material-content-prompts p { font-size: 14px; line-height: 1.6; margin: 0; }
.material-dialog-note { color: #62584d; font-size: 11px; line-height: 1.6; margin: 20px 0; }
.material-quote { min-height: 46px; background: #812c32; color: #fff; }
.material-dialog button:focus-visible { outline: 2px solid #812c32; outline-offset: 3px; }
.material-close:focus-visible { outline-color: #fff4df !important; }
@media(max-width:500px) {
 .material-dialog-header { height: 155px; }
 .material-dialog-heading { left: 22px; bottom: 18px; }
 .material-dialog-heading h2 { font-size: 32px; }
 .material-dialog-body { padding: 20px 22px; }
 .material-content-prompts { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
 .material-owner-note p { font-size: 16px; }
 .material-quote { width: 100%; }
}
