@charset "UTF-8";

/* WASLEH Design System Tokens — W01 Luxury, Neutral Enterprise & Unofficial Whish Partner Demo */
:root {
  color-scheme: light;
  --ivory: #f6f1e8;
  --paper: #fffcf6;
  --ink: #1f2421;
  --muted: #565c52;
  --navy: #1b2432;
  --olive: #233027;
  --gold: #d4b475;
  --gold-deep: #8c6a32;
  --line: #dad1c1;
  --danger: #8c2d2d;
  --success: #245c40;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-subtle: 0 2px 12px rgba(27, 36, 50, 0.05);
  --heading: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  scroll-behavior: smooth;
}

/* Theme 2: Neutral Enterprise White-Label */
body[data-theme="enterprise"] {
  --ivory: #f4f6f9;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --olive: #1e293b;
  --navy: #0f172a;
  --gold: #94a3b8;
  --gold-deep: #334155;
  --line: #d1d5db;
}

/* Theme 3: Unofficial Whish Integration Demonstration */
body[data-theme="partner"], body[data-mode="partner"] {
  --ivory: #f7f4f4;
  --paper: #ffffff;
  --ink: #1b1718;
  --muted: #5c4f52;
  --olive: #881337;
  --navy: #4c0519;
  --gold: #f4c469;
  --gold-deep: #9f1239;
  --line: #e4d5d8;
}

body.executive {
  --ivory: #f3f5f8;
  --paper: #ffffff;
  --olive: #162233;
  --line: #d0d7e2;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 0; }
html[lang="ar"] { --heading: 'Traditional Arabic', Tahoma, sans-serif; --body: Tahoma, Arial, sans-serif; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-family: var(--heading); font-weight: 400; }
h1 { font-size: clamp(2.15rem, 4.6vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); letter-spacing: -.02em; }
h3 { font-size: 1.35rem; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: normal; }
a { color: inherit; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { padding: .65rem; background: var(--paper); }

.shell { width: min(100% - 3rem, 1220px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; direction: ltr; font-family: var(--heading); font-size: 1.8rem; line-height: 1; letter-spacing: -.05em; }
.brand small { display: inline-block; padding-inline-start: .45rem; font-size: .78rem; letter-spacing: normal; color: var(--muted); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--olive); border-radius: 50%; flex-shrink: 0; }
.brand-mark::before, .brand-mark::after { content: ''; grid-area: 1/1; width: 11px; height: 16px; border: 1.2px solid var(--gold); border-radius: 50%; transform: translateX(-2.5px) rotate(43deg); }
.brand-mark::after { transform: translateX(2.5px) rotate(43deg); }

.navigation { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.8rem); }
.navigation a { text-decoration: none; font-size: .88rem; font-weight: 500; position: relative; padding-block: 1.4rem; white-space: nowrap; }
.navigation a[aria-current="page"]::after { content: ''; position: absolute; inset: auto 0 .7rem; height: 2px; background: var(--gold-deep); }

.utilities { display: flex; align-items: center; gap: .6rem; }
.theme-select { min-height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); padding: .2rem .55rem; font-size: .8rem; max-width: 155px; }
.utility, .language { display: inline-grid; min-width: 40px; min-height: 40px; place-items: center; background: transparent; border: 0; position: relative; }
.bell { width: 15px; height: 15px; border: 1.5px solid var(--ink); border-radius: 8px 8px 4px 4px; position: relative; }
.bell::after { content: ''; width: 5px; height: 2px; background: var(--ink); position: absolute; bottom: -5px; left: 3.5px; border-radius: 2px; }
.unread { position: absolute; inset: 2px 1px auto auto; background: var(--olive); color: white; font-size: .65rem; min-width: 1.15rem; border-radius: 1rem; text-align: center; padding-inline: 3px; }
.language { border-inline-start: 1px solid var(--line); padding-inline: .75rem 0; font-size: .85rem; font-weight: 600; }

.partner-banner { padding: .48rem 1rem; background: var(--navy); color: #fff6e6; text-align: center; font-size: .8rem; font-weight: 500; }
.main { padding-block: 2rem 4rem; flex: 1; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--olive); color: #fffdf8; border-radius: var(--radius-md); min-height: 340px; display: flex; align-items: center; padding: clamp(1.75rem, 5vw, 4.2rem); }
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero h1 { margin-block: .5rem 1rem; text-wrap: balance; }
.hero p:not(.greeting) { color: #ece8dc; max-width: 48ch; margin-block-end: 1.45rem; }
.greeting { color: var(--gold); font-size: .88rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-art { position: absolute; inset-inline-end: -2%; top: 50%; width: 44%; aspect-ratio: 1; transform: translateY(-50%); display: grid; place-items: center; pointer-events: none; }
.hero-art i { width: 63%; height: 65%; border: 1px solid #d8bd8870; border-radius: 50%; grid-area: 1/1; transform: translateX(-14%) rotate(-26deg); }
.hero-art i:nth-child(2) { transform: translateX(14%) rotate(26deg); }
.hero-art span { grid-area: 1/1; font-family: 'Traditional Arabic', Tahoma, serif; font-size: clamp(3rem, 7vw, 6.8rem); color: #e2cca05c; line-height: 1; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: .5rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .87rem; font-weight: 600; text-decoration: none; text-align: center; transition: filter .15s ease, transform .1s ease; }
.button.primary { background: var(--olive); color: #fffdf5; }
.button.gold { background: var(--gold); color: #1d211b; }
.button.secondary { background: transparent; border-color: #b9ae97; color: var(--ink); }
.button.secondary[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fffdf5; }
.check-row { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.check-row input[type="checkbox"] { width: auto; }
.button.quiet { background: transparent; color: var(--danger); }
.button:hover { filter: brightness(.93); }
.button:active { transform: translateY(1px); }

.featured { margin-block-start: 2.6rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; padding-block-end: .75rem; border-bottom: 1px solid var(--line); margin-block-end: 1.2rem; gap: 1rem; }
.section-heading > span { color: var(--muted); font-size: .8rem; white-space: nowrap; }

.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.05rem; }
.collection, .module-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-subtle); overflow: hidden; display: flex; flex-direction: column; }
.collection-image { background-size: cover; background-position: center 52%; min-height: 210px; }
.collection-harreka .collection-image, .service-harreka .collection-image { background-color: #2f3a34; background-image: url('/wasleh/car.webp'); }
.collection-farha .collection-image, .service-farha .collection-image { background-color: #d5c2a4; background-image: url('/wasleh/wedding.webp'); }
.collection-body, .module-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.collection h3 { font-size: 1.85rem; }
.collection h3 span, .module-card h3 span { font-family: var(--body); color: var(--muted); font-size: .78rem; margin-inline-start: .3rem; }
.collection-body > p:not(.category), .module-card p:not(.category) { color: var(--muted); font-size: .9rem; }
.category { color: var(--gold-deep); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.badge { display: inline-flex; align-items: center; padding: .16rem .55rem; border-radius: 999px; font-size: .73rem; font-weight: 600; background: var(--ivory); border: 1px solid var(--line); color: var(--ink); }
.badge.ok { background: #e6f4ec; border-color: #b7dfc7; color: #195436; }
.badge.warn { background: #fdf3dc; border-color: #ebd094; color: #6e4e10; }
.badge.danger { background: #fdeaea; border-color: #e8b8b8; color: #8c2d2d; }
.privacy-pill { background: var(--ivory); border: 1px solid var(--line); padding: .55rem .85rem; border-radius: var(--radius-sm); font-size: .84rem; color: var(--ink); margin-block: .6rem; }

.text-link, .back-link { display: inline-flex; align-items: center; min-height: 38px; text-underline-offset: 4px; font-weight: 600; font-size: .89rem; }
.back-link { margin-block-end: .65rem; }
.page-heading { margin-block: .5rem 1.35rem; }
.subtle { color: var(--muted); margin-block: .4rem .75rem; font-size: .9rem; }

.service-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block-end: 1.2rem; overflow: hidden; }
.service-hero > div:first-child { padding: clamp(1.2rem, 4vw, 2.8rem); align-self: center; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block-end: 1.05rem; padding: clamp(1rem, 2.2vw, 1.65rem); box-shadow: var(--shadow-subtle); }
.panel-heading, .row, .row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.panel-heading, .row { justify-content: space-between; }
.rows { list-style: none; padding: 0; margin: .8rem 0 0; }
.row { padding-block: .75rem; border-top: 1px solid var(--line); }
.row p, .qr-card p { color: var(--muted); margin-block: .18rem; font-size: .88rem; }
.narrow { max-width: 560px; }
.amount { font-size: 1.55rem; font-weight: 600; margin-block: .5rem; }

.form { display: grid; gap: .8rem; margin-block-start: .6rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.form label { display: grid; gap: .25rem; font-weight: 600; font-size: .86rem; }
.form input, .form textarea, .form select { width: 100%; min-height: 40px; border: 1px solid #bfb6a4; border-radius: var(--radius-sm); background: #fffefb; padding: .45rem .65rem; font-weight: 400; }
.form textarea { min-height: 82px; resize: vertical; }
.education-workflow-form input[type="checkbox"] { width: 1.2rem; min-height: 1.2rem; padding: 0; accent-color: var(--olive); }
.education-dashboard .panel { min-width: 0; overflow-wrap: anywhere; }
.mini-form { display: grid; gap: .55rem; margin-block: .8rem; max-width: 420px; margin-inline: auto; }
.mini-form input { min-height: 38px; padding: .4rem .6rem; border: 1px solid currentColor; border-radius: var(--radius-sm); background: rgba(255,255,255,.88); color: #1f2421; }

.studio { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 1.4rem; }
.preview-label { font-family: var(--body); font-size: .9rem; font-weight: 600; margin-block-end: .65rem; color: var(--muted); }

/* 10 FARHA Luxury Template Collections */
.invitation { text-align: center; overflow-wrap: anywhere; padding: clamp(2rem, 5vw, 3.8rem) 1.4rem; border: 1px solid #b8a785; border-radius: var(--radius-sm); background: #e8e9dc; color: #2b3426; box-shadow: inset 0 0 0 8px #ffffff65; }
.invitation h1, .invitation h2 { font-size: clamp(1.85rem, 3.5vw, 3.2rem); margin-block: .75rem; }
.invitation p { margin-block: .45rem; white-space: pre-wrap; }
.invitation .signature { font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.invitation .programme { margin-block-start: .9rem; font-size: .86rem; opacity: .9; border-top: 1px solid currentColor; padding-top: .75rem; }
.tpl-champagne-luxury, .theme-champagne { background: linear-gradient(160deg, #faf2e3, #f0dfc4); color: #463222; border-color: #c5a36a; }
.tpl-floral-romantic { background: linear-gradient(160deg, #fbf3f3, #f3e4e1); color: #4d2c33; border-color: #d6a9ad; }
.tpl-traditional-lebanese { background: #f4efe2; color: #233327; border-color: #9f844c; box-shadow: inset 0 0 0 10px #fffdf8, inset 0 0 0 12px #b69857; }
.tpl-arabic-calligraphy { background: #1e2d24; color: #f3dfae; border-color: #c7a663; box-shadow: inset 0 0 0 8px #c7a66328; }
.tpl-modern-minimalist { background: #ffffff; color: #191b1c; border-color: #d6d6d6; box-shadow: none; }
.tpl-black-gold, .theme-noir { background: #191b1d; color: #f5dfad; border-color: #c8a253; box-shadow: inset 0 0 0 8px #c8a2532e; }
.tpl-garden-wedding, .theme-olive { background: #e8ece2; color: #263325; border-color: #93a288; }
.tpl-mediterranean { background: linear-gradient(160deg, #eef4f9, #dde8f1); color: #193047; border-color: #8faec9; }
.tpl-classic-white { background: #fcfbf8; color: #2c2a27; border-color: #d7cfc1; box-shadow: inset 0 0 0 8px #f2ede2; }
.tpl-cinematic-elegance { background: linear-gradient(160deg, #1b2232, #2b3247); color: #f7e6c4; border-color: #c4a464; box-shadow: inset 0 0 0 8px #c4a46430; }

.invite-module { margin-block-start: 1.5rem; padding-top: 1.2rem; border-top: 1px solid currentColor; }
.guestbook-list { list-style: none; padding: 0; margin: .8rem 0 0; text-align: start; display: grid; gap: .6rem; }
.guestbook-list li { padding: .6rem .8rem; background: rgba(255,255,255,.55); color: #1f2421; border-radius: var(--radius-sm); }
.seat-badge { display: inline-block; padding: .35rem .8rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 600; font-size: .85rem; margin-block: .5rem; }

/* HARREKA Sticker Configurator Live Preview */
.sticker-stage { display: grid; place-items: center; padding: 1.6rem; background: var(--ivory); border: 1px dashed var(--line); border-radius: var(--radius-md); }
.sticker-frame { width: 220px; padding: 1.1rem; text-align: center; border: 2px solid #b89552; background: #1b2432; color: #fdfbf7; display: grid; gap: .55rem; justify-items: center; }
.sticker-frame.shape-round { border-radius: 50%; width: 235px; height: 235px; align-content: center; }
.sticker-frame.shape-oval { border-radius: 48%; width: 250px; height: 210px; align-content: center; }
.sticker-frame.shape-shield { border-radius: 14px 14px 95px 95px; padding-bottom: 1.6rem; }
.sticker-frame.shape-vehicle { border-radius: 36px 36px 12px 12px; width: 245px; }
.sticker-frame.shape-geometric { clip-path: polygon(10% 0, 90% 0, 100% 15%, 100% 85%, 90% 100%, 10% 100%, 0 85%, 0 15%); }
.sticker-frame.pal-midnight-navy { background: #0f172a; color: #ffffff; border-color: #64748b; }
.sticker-frame.pal-olive-silk { background: #233027; color: #fffcf6; border-color: #d4b475; }
.sticker-frame.pal-crimson-partner { background: #881337; color: #fff7f8; border-color: #f4c469; }
.sticker-frame.pal-obsidian-noir { background: #111111; color: #faf8f5; border-color: #c5a059; }
.sticker-frame.pal-pearl-white { background: #ffffff; color: #1f2421; border-color: #1f2421; }
.sticker-qr-box { width: 96px; height: 96px; background: #fff; padding: 6px; border-radius: 4px; display: grid; place-items: center; color: #111; font-size: .72rem; font-weight: 700; }

.public-invite { padding: clamp(1rem, 4vw, 3rem); display: grid; align-content: center; }
.public-invite main { width: min(100%, 660px); margin-inline: auto; }
.public-note { text-align: center; margin-block-start: .9rem; color: var(--muted); font-size: .82rem; }
.qr-card { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 1rem; }
.qr-card img { background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.new-dot { width: .65rem; height: .65rem; background: var(--gold-deep); border-radius: 50%; }
.notice { position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 25; max-width: min(450px, calc(100vw - 2rem)); padding: .8rem 1.2rem; color: white; background: var(--olive); border-radius: var(--radius-sm); box-shadow: 0 4px 14px rgba(0,0,0,.22); }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .85rem; margin-block-end: 1rem; }
.metrics .panel p { margin-block: .35rem; font-size: 1.55rem; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .6rem; }
table.data-table th, table.data-table td { text-align: start; padding: .55rem .65rem; border-bottom: 1px solid var(--line); }
table.data-table th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; }

.footer { border-block-start: 1px solid var(--line); color: var(--muted); background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.25rem; padding-block: 1.2rem; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-brand { color: var(--ink); font-family: var(--heading); font-size: 1.45rem; }

.mobile-bottom-nav { display: none; }

@media (max-width: 860px) {
  .shell { width: min(100% - 1.75rem, 1220px); }
  .navigation { display: none; }
  .theme-select { max-width: 120px; }
  body { padding-bottom: 62px; }
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bottom-nav a { text-decoration: none; font-size: .74rem; font-weight: 600; text-align: center; padding: .8rem .2rem; color: var(--muted); }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--olive); border-top: 2px solid var(--gold-deep); }
  .notice { bottom: 4.5rem; }
}

@media (max-width: 640px) {
  .collection-grid, .service-hero, .studio, .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 290px; padding: 1.4rem; }
  .qr-card { grid-template-columns: 1fr; }
}

/* Antigravity Spatial Depth, Glassmorphism & Staggered Motion Layer */
.header {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.collection, .module-card, .panel {
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), border-color .3s ease-out;
  will-change: transform;
}

.collection-grid, .module-grid {
  perspective: 1100px;
}

.collection:hover, .module-card:hover {
  transform: translateY(-6px) rotateX(1.5deg);
  border-color: var(--gold);
  box-shadow: 0 22px 42px rgba(27, 36, 50, 0.08);
}

.hero {
  box-shadow: 0 24px 48px rgba(27, 36, 50, 0.14);
}

.hero-art {
  animation: waslehFloat 9s ease-in-out infinite;
  will-change: transform;
}

.sticker-frame {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  box-shadow: 0 18px 36px rgba(27, 36, 50, 0.16);
}

.sticker-frame:hover {
  transform: translateY(-4px) rotateX(4deg) rotateY(-4deg);
}

.button {
  transition: transform .3s ease-out, filter .25s ease-out;
}

.button:hover {
  transform: translateY(-1px);
}

@keyframes waslehFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-54%) translateX(-4px); }
}

@keyframes waslehRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.collection, .module-card, .metrics .panel {
  animation: waslehRise .42s cubic-bezier(.22, 1, .36, 1) both;
}
.collection:nth-child(2), .module-card:nth-child(2), .metrics .panel:nth-child(2) { animation-delay: .08s; }
.module-card:nth-child(3), .metrics .panel:nth-child(3) { animation-delay: .16s; }
.module-card:nth-child(4), .metrics .panel:nth-child(4) { animation-delay: .24s; }

.code-console {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  background: #141a24;
  color: #e9e4d8;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  white-space: pre-wrap;
  max-height: 280px;
}

.mt-auto { margin-top: auto; padding-top: .5rem; }
.mt-1 { margin-top: .85rem; }
.mb-1 { margin-bottom: .75rem; }
.hr-line { margin-block: 1rem; border: 0; border-top: 1px solid var(--line); }
.sticker-brand { font-size: .82rem; letter-spacing: .1em; }
.scan-main { margin-inline: auto; width: min(100%, 580px); }
.full-console { width: 100%; min-height: 110px; border: 1px solid var(--line); }

/* Genuine Embedded Partner Shell (Safe-Area & Simplified Navigation) */
body.embedded {
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
.embed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 1rem;
  background: var(--navy);
  color: #fffdf8;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.embed-topbar-title { font-size: .92rem; font-weight: 600; }
.embed-back-btn {
  background: rgba(255,255,255,.14);
  color: #fffdf8;
  border: 0;
  border-radius: var(--radius-sm);
  padding: .35rem .7rem;
  font-size: .8rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .collection:hover, .module-card:hover, .sticker-frame:hover, .button:hover {
    transform: none !important;
  }
}

@media print {
  .public-invite { color: #171717; background: #fff; min-height: auto; }
  .invitation { print-color-adjust: exact; }
  .public-note, .rsvp, .invite-module, .invitation .button { display: none; }
}

/* FARHA atelier: guided visual invitation studio. */
.farha-studio { --studio-line: #d9d0bf; }
.studio-heading { display:flex; justify-content:space-between; gap:1.5rem; align-items:center; margin:1.3rem 0 2rem; }
.studio-heading h1 { font-size:clamp(2.2rem,4vw,3.4rem); max-width:18ch; line-height:1.08; margin:.4rem 0 .75rem; }
.studio-heading p:not(.category) { color:var(--muted); max-width:56ch; }
.studio-heading > a { flex-shrink:0; }
.studio-collection { background:var(--paper); border:1px solid var(--studio-line); padding:1.2rem 1.4rem .6rem; border-radius:var(--radius-md); margin-bottom:1.7rem; }
.studio-section-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.studio-section-heading h2 { font-size:1.55rem; display:inline; margin-inline-start:.6rem; }
.studio-section-heading p { color:var(--muted); font-size:.84rem; margin:.3rem 0 0; }
.studio-step { display:inline-grid; place-items:center; width:1.8rem; height:1.8rem; border:1px solid var(--studio-line); border-radius:50%; color:var(--gold-deep); font-size:.7rem; vertical-align:middle; font-weight:600; }
.studio-gallery-navigation { display:flex; gap:.45rem; }
.studio-gallery-navigation button { width:2.4rem; height:2.4rem; border:1px solid var(--studio-line); background:var(--paper); border-radius:50%; color:var(--ink); cursor:pointer; }
.studio-gallery { display:grid; grid-auto-flow:column; grid-auto-columns:140px; gap:.8rem; overflow-x:auto; overscroll-behavior-inline:contain; padding:.3rem .2rem .8rem; scrollbar-width:thin; scrollbar-color:var(--gold) transparent; }
.studio-template { display:grid; grid-template-rows:165px auto; gap:.6rem; min-width:0; border:1px solid var(--studio-line); border-radius:.5rem; background:#f0ece4; padding:.6rem; color:var(--ink); text-align:center; cursor:pointer; text-decoration:none; transition:border-color .2s,box-shadow .2s; }
.studio-template[aria-pressed="true"] { border-color:var(--gold-deep); box-shadow:0 0 0 2px var(--gold-deep); background:#ede4d2; }
.studio-template:hover { border-color:var(--gold-deep); }
.studio-template strong { font-size:.75rem; font-family:var(--body); font-weight:600; line-height:1.3; }
.studio-template-art { display:block; overflow:hidden; position:relative; width:100%; height:165px; pointer-events:none; }
.studio-template .studio-template-art > .farha-card { width:410px; max-width:none; min-height:570px; position:absolute; left:0; top:0; margin:0; transform:scale(.28); transform-origin:top left; padding:3rem 2.5rem 2rem; }
.studio-template .studio-template-art > .farha-card .farha-names { font-size:3.7rem; }
.studio-template .studio-template-art > .farha-card .farha-card-content { gap:1.2rem; }
.studio-template .studio-template-art > .farha-card .farha-signature { margin-top:2rem; }
.studio-gallery-hint { font-size:.72rem; color:var(--muted); text-align:end; margin:.2rem 0; }
.studio-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:1.7rem; align-items:start; }
.studio-editor { margin:0; gap:1rem; min-width:0; scroll-margin-top:6rem; }
.studio-panel { border:1px solid var(--studio-line); border-radius:var(--radius-md); background:var(--paper); padding:1.35rem; display:grid; gap:.85rem; min-width:0; }
.studio-panel .studio-section-heading { margin-bottom:.3rem; }
.studio-panel label { font-size:.83rem; }
.studio-panel fieldset { border:0; margin:0; padding:0; min-width:0; }
.studio-panel legend { font-size:.83rem; font-weight:600; padding:0; margin-bottom:.5rem; }
.studio-shapes > div { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.4rem; }
.studio-panel .studio-shape-option { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:start; gap:.5rem; padding:.7rem .3rem .6rem; border:1px solid var(--studio-line); border-radius:.4rem; background:#faf7f0; cursor:pointer; font-size:.65rem; font-weight:500; text-align:center; line-height:1.3; }
.studio-shape-option:has(input:checked) { box-shadow:inset 0 0 0 1px var(--gold-deep); border-color:var(--gold-deep); background:#eee6d6; }
.studio-shape-option input[type="radio"] { position:absolute; width:1px; min-height:0; height:1px; opacity:0; }
.studio-shape-option:has(input:focus-visible) { outline:3px solid var(--gold-deep); outline-offset:2px; }
.studio-shape-symbol { display:block; width:30px; height:39px; border:1px solid var(--gold-deep); background:linear-gradient(140deg,#fffaf0,#e5d5b5); box-shadow:2px 2px 3px #0000000b; }
.studio-symbol-rounded { border-radius:7px; }
.studio-symbol-arch { border-radius:50% 50% 0 0; }
.studio-symbol-oval { border-radius:50%; }
.studio-symbol-folded { width:39px; background:linear-gradient(90deg,#f5ead7 48%,#b59a64 50%,#eee0c6 52%); }
.studio-field-hint { margin:-.4rem 0 0; color:var(--muted); font-size:.72rem; }
.studio-photo-upload { display:grid; gap:.8rem; padding:1rem; border:1px dashed var(--studio-line); border-radius:.5rem; background:var(--ivory); }
.studio-photo-upload #studio-photo-upload { border:0; padding:0; background:transparent; max-width:100%; min-width:0; font-size:.8rem; }
.studio-photo-upload #studio-photo-upload::file-selector-button { border:1px solid var(--studio-line); border-radius:.3rem; background:var(--paper); color:var(--ink); padding:.6rem .8rem; margin-inline-end:.5rem; cursor:pointer; }
.studio-photo-upload p { font-size:.75rem; color:var(--muted); margin:0; }
.studio-section-list { list-style:none; padding:0; margin:0 0 .6rem; display:grid; gap:.35rem; }
.studio-section-row { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.5rem .6rem; border:1px solid var(--studio-line); border-radius:.35rem; background:#faf7f1; }
.studio-section-row > label { display:flex; align-items:center; gap:.65rem; cursor:pointer; }
.studio-section-row > label > input[type="checkbox"] { width:1rem; min-height:1rem; height:1rem; accent-color:var(--olive); padding:0; }
.studio-section-row label span { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.studio-section-row small { font-size:.6rem; font-weight:400; color:var(--muted); border:1px solid var(--studio-line); border-radius:1rem; padding:.1rem .35rem; }
.studio-section-row > div { display:flex; gap:.3rem; }
.studio-section-row button { display:grid; place-items:center; width:2rem; min-height:2rem; background:var(--paper); border:1px solid var(--studio-line); color:var(--ink); border-radius:.25rem; cursor:pointer; }
.studio-section-row button:disabled { opacity:.35; cursor:default; }
.studio-extras > summary { font-family:var(--heading); font-size:1.25rem; cursor:pointer; }
.studio-extras[open] > summary { margin-bottom:.4rem; }
.studio-extras:not([open]) { display:block; }
.studio-extras label + label { margin-top:.7rem; }
.studio-save { position:sticky; bottom:.7rem; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.85rem 1rem; background:var(--paper); border:1px solid var(--studio-line); border-radius:.4rem; box-shadow:0 5px 18px #1f242111; }
.studio-save p { font-size:.75rem; color:var(--muted); margin:0; }
.studio-preview { position:sticky; top:6rem; min-width:0; scroll-margin-top:6rem; }
.studio-preview-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.studio-preview-heading h2 { font-size:1.6rem; margin:.1rem 0; }
.studio-preview-heading .category { font-size:.65rem; margin:0; }
.studio-preview-hint { color:var(--muted); font-size:.78rem; margin:.4rem 0 .9rem; }
.studio-preview-modes { display:flex; gap:.2rem; padding:.2rem; border:1px solid var(--studio-line); border-radius:2rem; }
.studio-preview-modes button { font-size:.73rem; border:0; padding:.45rem .8rem; border-radius:2rem; background:transparent; color:var(--ink); cursor:pointer; }
.studio-preview-modes button[aria-pressed="true"] { background:var(--olive); color:#fffcf6; }
.studio-preview #studio-preview-stage { padding:1.4rem; border:1px solid #d6cdbf; }
.studio-preview #live-preview { display:grid; justify-items:center; }
.studio-preview #live-preview > .farha-card { width:100%; }
@media screen {
  .studio-preview .farha-stage-mobile #live-preview > .farha-card { max-width:320px; }
  .studio-preview .farha-stage-mobile #live-preview > .farha-card .farha-names { font-size:2.4rem; }
}
.studio-preview-actions { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:.85rem; }
.studio-preview-actions .button { font-size:.75rem; }
.studio-preview-actions .text-link { border:0; padding:0; background:transparent; cursor:pointer; font-size:.75rem; color:var(--ink); }
#studio-preview-warning { color:var(--danger); font-size:.8rem; }
.farha-inspiration { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:2rem; margin:2rem 0; padding:2rem; background:#ede6d8; border:1px solid var(--line); border-radius:.5rem; }
.farha-inspiration h2 { font-size:2rem; line-height:1.2; }
.farha-inspiration p:not(.category) { color:var(--muted); }
.farha-inspiration-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.farha-inspiration .inspiration-template { background:#f8f3e8; }
.studio-gallery-navigation button:focus-visible,.studio-template:focus-visible,.studio-section-row button:focus-visible,.studio-preview button:focus-visible { outline:3px solid var(--gold-deep); outline-offset:3px; }
@media(max-width:900px) {
  .studio-workspace { grid-template-columns:1fr; }
  .studio-preview { position:static; max-width:620px; width:100%; margin-inline:auto; }
  .studio-save { bottom:4.6rem; }
  .farha-inspiration { grid-template-columns:1fr; }
}
@media(max-width:560px) {
  body:has(.farha-studio) .header-inner { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; gap:.3rem; padding-block:.6rem; }
  body:has(.farha-studio) .header-inner .utilities { max-width:100%; flex-wrap:wrap; justify-content:center; gap:.4rem; }
  body:has(.farha-studio) .studio-preview,body:has(.farha-studio) .studio-editor { scroll-margin-top:7rem; }
  .studio-heading { display:block; }
  .studio-heading > a { margin-top:.5rem; }
  .studio-heading h1 { font-size:2.2rem; }
  .studio-collection { padding:.9rem .8rem .5rem; }
  .studio-section-heading h2 { font-size:1.25rem; }
  .studio-section-heading p { font-size:.75rem; }
  .studio-gallery { grid-auto-columns:132px; }
  .studio-panel { padding:1rem; }
  .studio-shapes > div { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .studio-shape-option:nth-child(n+4) { min-height:100px; }
  .studio-preview #studio-preview-stage { padding:.75rem; }
  .studio-preview-heading h2 { font-size:1.4rem; }
  .farha-inspiration { padding:1.2rem; }
  .farha-inspiration-cards { grid-template-columns:repeat(3,132px); overflow-x:auto; padding-bottom:.5rem; }
}
@media print {
  body:has(.farha-studio) { background:#fff; padding:0; }
  body:has(.farha-studio) > :not(main) { display:none !important; }
  body:has(.farha-studio) main.shell { width:100%; max-width:none; margin:0; padding:0; }
  .farha-studio > .back-link,.farha-studio .studio-heading,.farha-studio .studio-collection,.farha-studio .studio-editor,
  .farha-studio .studio-preview-heading,.farha-studio .studio-preview-hint,.farha-studio .studio-preview-actions,
  .farha-studio #studio-preview-warning { display:none !important; }
  .farha-studio .studio-workspace { display:block; }
  .farha-studio .studio-preview { position:static; width:100%; max-width:none; margin:0; }
  .farha-studio #studio-preview-stage { padding:0; border:0; background:transparent; }
  .farha-studio #live-preview > .farha-card { max-width:142mm; margin-inline:auto; }
}

/* Education — live marketplace and role-based school workspace */
.education-feature{margin:0 0 1.5rem}
.education-entry{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(100px,1fr);gap:1.5rem;align-items:center;padding:clamp(1.25rem,4vw,2.5rem);background:#173d38;color:#faf5e8;border:1px solid #274c44;border-radius:1rem;overflow:hidden}
.education-entry h2,.education-header h1{font-family:var(--heading);font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.1;letter-spacing:-.03em;margin:.5rem 0;color:#fffaf0}
.education-entry p:not(.education-kicker),.education-header p:not(.education-kicker){color:#d9e4dc;max-width:40ch;font-size:.95rem;line-height:1.6}
.education-kicker{font-size:.7rem;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:#b49b62;margin:0}
.education-cta{background:#ead8ab!important;color:#193c35!important;border-color:#ead8ab!important;margin-top:.6rem}
.education-entry-art{display:grid;place-items:center;color:#e9d6a4;gap:1.1rem}
.education-entry-art>.education-icon{width:clamp(70px,11vw,150px);height:auto;padding:1rem;border:1px solid #749085;border-radius:50%;background:#ffffff08}
.education-art-mini{display:flex;gap:1rem}
.education-art-mini .education-icon{width:35px;height:35px;padding:7px;border:1px solid #749085;border-radius:12px}
.education-icon{width:28px;height:28px;flex-shrink:0}
.education-dashboard{display:grid;gap:1rem}
.education-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:clamp(1.5rem,4vw,2.8rem);background:#173d38;color:#fffaf0;border-radius:1rem}
.education-header>.education-icon{width:clamp(56px,10vw,112px);height:auto;color:#e9d6a4;opacity:.9}
.education-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.education-metric{display:grid;gap:.5rem;border:1px solid var(--line);border-radius:.65rem;padding:1rem;background:var(--paper);color:var(--ink);min-width:0}
.education-metric .education-icon,.education-role .education-icon{color:#537d6d}
.education-metric strong{font-size:1.9rem;line-height:1;font-variant-numeric:tabular-nums}
.education-metric span{font-size:.78rem;color:var(--muted)}
.education-tabs{display:flex;gap:.35rem;overflow:auto;padding:.35rem;background:var(--paper);border:1px solid var(--line);border-radius:.7rem;scrollbar-width:thin}
.education-tabs button{flex:1 0 auto;border:0;border-radius:.45rem;color:var(--ink);background:transparent;padding:.75rem 1rem;font:inherit;font-size:.84rem;cursor:pointer}
.education-tabs button[aria-pressed=true]{background:#173d38;color:#fff}
.education-tabs button:focus-visible,.education-role button:focus-visible{outline:3px solid #ad925b;outline-offset:2px}
.education-content{display:grid;gap:1rem;min-width:0}
.education-guide{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem;border:1px solid var(--line);background:var(--paper);border-radius:.65rem}
.education-guide h2,.education-role h3{margin:.5rem 0;color:var(--ink)}
.education-guide p:not(.education-kicker),.education-role p{color:var(--muted);line-height:1.5;font-size:.9rem;margin:.4rem 0 .8rem}
.education-role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.education-role{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;padding:1.2rem;background:var(--paper);border:1px solid var(--line);border-radius:.65rem}
.education-role .button{margin-top:auto;font-size:.75rem}
.education-privacy{font-size:.78rem;color:var(--muted);border-inline-start:3px solid #ad925b;padding-inline-start:.8rem}
.education-setup{grid-template-columns:1fr}
.school-owner-links{display:grid;gap:.75rem;min-width:0}
.education-content .row{overflow-wrap:anywhere}
@media(max-width:800px){.education-role-grid,.education-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.education-entry{grid-template-columns:minmax(0,1fr) 85px;gap:.7rem}.education-art-mini{gap:.2rem}.education-art-mini .education-icon{width:23px;height:23px;padding:3px}.education-guide{align-items:flex-start;flex-direction:column}.education-role{padding:.85rem}.education-role .button{white-space:normal;width:100%}.education-metric{padding:.75rem}.education-content .row{display:grid;gap:.6rem;align-items:start}.education-content .row-actions{flex-wrap:wrap}}

.help-entry{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem;border:1px solid var(--line);background:var(--paper);border-radius:.7rem;margin-bottom:1.4rem}
.help-entry h3{margin:.4rem 0}.help-entry p:not(.category){margin:.4rem 0;color:var(--muted)}
.help-workspace,.help-results{display:grid;gap:1rem}.help-workspace{max-width:850px;margin-inline:auto}.help-answer p:not(.category){line-height:1.65;white-space:normal}.help-answer h3{margin:.4rem 0}
@media(max-width:480px){.help-entry{align-items:flex-start;flex-direction:column}.help-entry .button{width:100%}}
