/* Unreturn embedded admin: Polaris web components do the work. This file only covers
   the local-preview tab bar (outside Shopify admin) and the public legal pages. */
:root { --ur-cream: #FFF6EA; --ur-cocoa: #2A1A10; --ur-muted: #5A4C42; --ur-border: rgba(42, 26, 16, 0.1); --ur-link: #2446C2; }
body.embedded-admin { margin: 0; background: #F1F1F1; }
ui-nav-menu, ui-save-bar { display: none; }
.preview-tabs { display: flex; align-items: center; gap: 4px; padding: 8px 16px; background: #fff; border-bottom: 1px solid #E3E3E3; font: 500 13px/20px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: auto; }
.preview-tabs img { margin-right: 8px; border-radius: 4px; }
.preview-tabs a { color: #616161; text-decoration: none; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.preview-tabs a:hover { background: #F1F1F1; }
.preview-tabs a[aria-current="page"] { color: #303030; background: #F1F1F1; font-weight: 650; }
.preview-tabs a:focus-visible { outline: 2px solid #005BD3; outline-offset: 1px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr !important; } }

/* Public pages: privacy, terms, support */
body.legal-page { margin: 0; background: var(--ur-cream); color: var(--ur-cocoa); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.legal { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }
.legal header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.legal header img { height: 24px; }
.legal header a { color: var(--ur-muted); font-size: 14px; }
.legal h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; font-weight: 600; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; font-weight: 600; }
.legal p, .legal li { color: var(--ur-cocoa); }
.legal a { color: var(--ur-link); }
.legal code { font-size: 14px; background: rgba(42, 26, 16, 0.06); padding: 1px 5px; border-radius: 4px; }
