
:root {
  --background: #f4f6f3;
  --foreground: #20342a;
  --card: #ffffff;
  --card-foreground: #20342a;
  --popover: #ffffff;
  --popover-foreground: #20342a;
  --primary: #315b45;
  --primary-foreground: #ffffff;
  --secondary: #e8eee9;
  --secondary-foreground: #274536;
  --muted: #eef2ef;
  --muted-foreground: #68766e;
  --accent: #f4eadb;
  --accent-foreground: #2f4d3e;
  --destructive: #b94e42;
  --border: #dfe5e0;
  --input: #d9e0da;
  --ring: #6e947d;
  --radius: .7rem;
  --rj-ink: #20342a;
  --rj-green: #315b45;
  --rj-green-2: #4e7a61;
  --rj-paper: #f5ecdc;
  --rj-gold: #caa461;
  --rj-orange: #c9704f;
  --rj-line: #dfe5e0;
  --rj-muted: #6b776f;
  --rj-serif: Georgia, "Times New Roman", serif;
  --rj-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rj-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body { font-family: var(--rj-sans); }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.rj-kicker { color: var(--rj-green-2); font-family: var(--rj-mono); font-size: .76rem; font-weight: 800; letter-spacing: .1em; }

/* Login */
.rj-login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, .95fr) minmax(500px, 1.05fr); background: #f8f5ee; color: var(--rj-ink); }
.rj-login-story { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 38px clamp(32px, 5vw, 78px) 58px; background: #1b3327 var(--rj-login-bg, url("/assets/ruangjanji/templates/wedding-rpg-map.webp")) center 46%/cover; color: #fffaf0; }
.rj-login-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 36, 25, .34), rgba(15, 30, 22, .9)); }
.rj-login-story > * { position: relative; z-index: 1; }
.rj-login-brand { display: flex; align-items: center; gap: 12px; width: fit-content; color: #fffaf0; text-decoration: none; }
.rj-login-brand > span { width: 45px; height: 45px; display: grid; place-items: center; border: 2px solid #dbbe83; border-radius: 10px; background: #254535; box-shadow: 4px 4px 0 rgba(7, 19, 12, .28); }
.rj-login-brand svg { width: 23px; }
.rj-login-brand strong { display: grid; font-family: var(--rj-serif); font-size: 1.4rem; line-height: 1; }
.rj-login-brand small { margin-top: 5px; font-family: var(--rj-mono); font-size: .68rem; letter-spacing: .1em; }
.rj-login-world { max-width: 610px; margin-top: auto; }
.rj-login-world .rj-kicker { color: #ead6ad; }
.rj-login-world h1 { margin: 20px 0 18px; font-family: var(--rj-serif); font-size: clamp(3rem, 5.2vw, 5.4rem); font-weight: 400; line-height: .93; letter-spacing: -.052em; }
.rj-login-world > p { max-width: 550px; margin: 0; color: #d9e1db; font-size: 1.03rem; line-height: 1.75; }
.rj-login-world-card { width: fit-content; display: grid; gap: 6px; margin-top: 30px; padding: 14px 18px; border: 1px solid rgba(239, 217, 171, .42); border-radius: 9px; background: rgba(24, 48, 34, .7); backdrop-filter: blur(8px); }
.rj-login-world-card span { color: #d5bd8f; font-family: var(--rj-mono); font-size: .7rem; letter-spacing: .1em; }
.rj-login-world-card strong { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.rj-login-world-card i { width: 8px; height: 8px; border-radius: 50%; background: #79bf8b; box-shadow: 0 0 0 4px rgba(121, 191, 139, .14); }
.rj-login-panel { min-height: 100vh; display: grid; place-items: center; padding: 50px clamp(28px, 6vw, 92px); }
.rj-login-form-wrap { width: min(460px, 100%); }
.rj-login-back { display: inline-flex; margin-bottom: 58px; color: #6c786f; font-size: .88rem; font-weight: 650; text-decoration: none; }
.rj-login-form-wrap header h2 { margin: 11px 0 10px; font-family: var(--rj-serif); font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.04em; }
.rj-login-form-wrap header p { margin: 0; color: var(--rj-muted); font-size: .98rem; }
.rj-role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 31px 0 27px; padding: 6px; border: 1px solid #dde4de; border-radius: 11px; background: #edf1ed; }
.rj-role-switch button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: transparent; color: #68756d; cursor: pointer; font-size: .9rem; font-weight: 750; }
.rj-role-switch button svg { width: 18px; }
.rj-role-switch button.active { background: #fff; color: var(--rj-green); box-shadow: 0 4px 14px rgba(40, 61, 50, .09); }
.rj-login-form-wrap form { display: grid; gap: 18px; }
.rj-field { display: grid; gap: 8px; color: #3e5146; font-size: .88rem; font-weight: 700; }
.rj-field > small { color: #b5473d; font-size: .76rem; }
.rj-input-shell { min-height: 53px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 0 15px; border: 1px solid #d8dfd9; border-radius: 9px; background: #fff; transition: .2s ease; }
.rj-input-shell:focus-within { border-color: #5d806b; box-shadow: 0 0 0 3px rgba(74, 117, 91, .11); }
.rj-input-shell > svg { width: 18px; color: #849087; }
.rj-input-shell input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--rj-ink); font-size: .95rem; }
.rj-input-shell button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: #77837b; cursor: pointer; }
.rj-input-shell button svg { width: 18px; }
.rj-login-options { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #5d6c63; font-size: .84rem; }
.rj-login-options label { display: flex; align-items: center; gap: 8px; }
.rj-login-options input { accent-color: var(--rj-green); }
.rj-login-options button { border: 0; background: transparent; color: var(--rj-green); cursor: pointer; font-weight: 700; }
.rj-login-submit { min-height: 54px; border: 0; border-radius: 9px; background: var(--rj-green); box-shadow: 4px 5px 0 rgba(34, 62, 47, .14); color: #fff; cursor: pointer; font-size: .94rem; font-weight: 800; transition: .2s ease; }
.rj-login-submit:hover { transform: translateY(-2px); background: #264c38; }
.rj-login-submit:disabled { opacity: .7; cursor: wait; }
.rj-login-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 25px 0 0; color: #7d8981; font-size: .76rem; }
.rj-login-secure svg { width: 15px; }

/* Dashboard shell */
.rj-app-shell { min-height: 100vh; background: #f3f5f2; color: var(--rj-ink); }
.rj-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 278px; display: flex; flex-direction: column; overflow-y: auto; padding: 20px 16px; border-right: 1px solid #d9e0da; background: #fff; }
.rj-sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 19px; }
.rj-sidebar-brand > span { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #d2b473; border-radius: 9px; background: var(--rj-green); color: #fff7e8; box-shadow: 3px 3px 0 rgba(35, 56, 46, .13); }
.rj-sidebar-brand > span svg { width: 20px; }
.rj-sidebar-brand strong { display: grid; font-family: var(--rj-serif); font-size: 1.24rem; line-height: 1; }
.rj-sidebar-brand small { margin-top: 5px; color: #79857d; font-family: var(--rj-mono); font-size: .62rem; letter-spacing: .08em; }
.rj-sidebar-brand > button { display: none; margin-left: auto; border: 0; background: transparent; color: #68756d; }
.rj-sidebar-brand > button svg { width: 22px; }
.rj-workspace { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 4px 3px 21px; padding: 11px; border: 1px solid #e0e5e1; border-radius: 10px; background: #f7f8f6; }
.rj-avatar, .rj-top-avatar { display: grid; place-items: center; border: 0; border-radius: 8px; background: #d7b892; color: #5a3f2d; font-size: .72rem; font-weight: 850; }
.rj-avatar { width: 36px; height: 36px; }
.rj-workspace div { min-width: 0; display: grid; gap: 2px; }
.rj-workspace strong { overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.rj-workspace small { color: #78847c; font-size: .7rem; }
.rj-workspace > svg { width: 16px; color: #849087; }
.rj-sidebar nav { display: grid; gap: 5px; }
.rj-sidebar nav button { min-height: 45px; display: grid; grid-template-columns: 21px 1fr auto; align-items: center; gap: 11px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #617067; cursor: pointer; font-size: .88rem; font-weight: 650; text-align: left; transition: .18s ease; }
.rj-sidebar nav button svg { width: 19px; }
.rj-sidebar nav button b { min-width: 24px; padding: 3px 6px; border-radius: 999px; background: #e7ece8; color: #5c6961; font-size: .66rem; text-align: center; }
.rj-sidebar nav button:hover { background: #f1f4f1; color: var(--rj-ink); }
.rj-sidebar nav button.active { border-color: rgba(49, 91, 69, .11); background: #e8efe9; color: var(--rj-green); font-weight: 800; }
.rj-sidebar nav button.active b { background: var(--rj-orange); color: #fff; }
.rj-sidebar-help { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: auto; padding: 14px; border: 1px solid #e3d8c5; border-radius: 10px; background: #faf5ea; color: #3e5548; }
.rj-sidebar-help > svg { width: 20px; color: var(--rj-orange); }
.rj-sidebar-help div { display: grid; gap: 2px; }
.rj-sidebar-help strong { font-size: .8rem; }
.rj-sidebar-help small { color: #78847c; font-size: .68rem; }
.rj-sidebar-help button { grid-column: 1 / -1; min-height: 35px; border: 1px solid #d9c8ac; border-radius: 7px; background: #fffaf0; color: #4b5f53; cursor: pointer; font-size: .73rem; font-weight: 750; }
.rj-signout { min-height: 42px; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 0 12px; border-radius: 8px; color: #7a4742; font-size: .82rem; font-weight: 700; text-decoration: none; }
.rj-signout:hover { background: #fff0ed; }
.rj-signout svg { width: 18px; }
.rj-sidebar-backdrop { display: none; }
.rj-app-main { min-height: 100vh; margin-left: 278px; }
.rj-topbar { position: sticky; z-index: 30; top: 0; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 clamp(22px, 3vw, 44px); border-bottom: 1px solid #dce2dd; background: rgba(255, 255, 255, .91); backdrop-filter: blur(16px); }
.rj-topbar-left { display: flex; align-items: center; gap: 13px; }
.rj-topbar-left > div { display: flex; align-items: baseline; gap: 7px; }
.rj-topbar-left small { color: #98a39c; font-family: var(--rj-mono); font-size: .68rem; }
.rj-topbar-left strong { font-size: .92rem; }
.rj-mobile-menu { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid #dce2dd; border-radius: 8px; background: #fff; }
.rj-mobile-menu svg { width: 20px; }
.rj-topbar-actions { display: flex; align-items: center; gap: 9px; }
.rj-global-search { width: min(300px, 24vw); min-height: 41px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #dce2dd; border-radius: 8px; background: #f6f8f6; color: #7b877f; cursor: pointer; font-size: .8rem; text-align: left; }
.rj-global-search svg { width: 17px; }
.rj-global-search kbd { padding: 3px 6px; border: 1px solid #d5ddd7; border-radius: 5px; background: #fff; color: #7d8981; font-family: var(--rj-mono); font-size: .65rem; }
.rj-notification, .rj-top-avatar, .rj-icon-btn { cursor: pointer; }
.rj-notification { position: relative; width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid #dce2dd; border-radius: 8px; background: #fff; color: #5d6c63; }
.rj-notification svg { width: 18px; }
.rj-notification i { position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--rj-orange); }
.rj-top-avatar { width: 41px; height: 41px; }
.rj-dashboard-content { width: min(1460px, 100%); margin-inline: auto; padding: 34px clamp(22px, 3vw, 44px) 80px; }

/* Common dashboard components */
.rj-section-head { min-height: 88px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.rj-section-head > div:first-child { min-width: 0; }
.rj-section-head span { color: var(--rj-green-2); font-family: var(--rj-mono); font-size: .73rem; font-weight: 800; letter-spacing: .09em; }
.rj-section-head h1 { margin: 7px 0 6px; font-family: var(--rj-serif); font-size: clamp(2.25rem, 3.5vw, 3.5rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.rj-section-head p { max-width: 700px; margin: 0; color: var(--rj-muted); font-size: .92rem; line-height: 1.6; }
.rj-primary-btn, .rj-soft-btn, .rj-test-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 8px; cursor: pointer; font-size: .84rem; font-weight: 800; white-space: nowrap; transition: .18s ease; }
.rj-primary-btn { border: 1px solid var(--rj-green); background: var(--rj-green); box-shadow: 3px 4px 0 rgba(35, 56, 46, .11); color: #fff; }
.rj-primary-btn:hover { transform: translateY(-1px); background: #274c39; }
.rj-primary-btn:disabled { border-color: #aeb9b2; background: #aeb9b2; box-shadow: none; cursor: not-allowed; }
.rj-soft-btn { border: 1px solid #d8e0da; background: #fff; color: #405449; }
.rj-soft-btn:hover { background: #edf2ee; }
.rj-primary-btn svg, .rj-soft-btn svg, .rj-test-btn svg { width: 17px; }
.rj-head-actions { display: flex; gap: 9px; }
.rj-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 19px; }
.rj-metric { min-height: 140px; display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid var(--rj-line); border-radius: 11px; background: #fff; box-shadow: 0 8px 22px rgba(42, 62, 51, .035); }
.rj-metric-icon { flex: 0 0 auto; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 9px; background: #e3eee7; color: #397052; }
.rj-metric-icon.blue { background: #e4edf3; color: #47718a; }
.rj-metric-icon.orange { background: #f6e9df; color: #bc6543; }
.rj-metric-icon.purple { background: #eee7f3; color: #755b87; }
.rj-metric-icon svg { width: 21px; }
.rj-metric > div:last-child { min-width: 0; display: grid; }
.rj-metric span { color: #77847c; font-size: .78rem; font-weight: 650; }
.rj-metric strong { margin: 7px 0 4px; font-family: var(--rj-serif); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.rj-metric small { overflow: hidden; color: #7d8a82; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.rj-panel { min-width: 0; overflow: hidden; border: 1px solid var(--rj-line); border-radius: 11px; background: #fff; box-shadow: 0 8px 25px rgba(42, 62, 51, .035); }
.rj-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 23px; border-bottom: 1px solid #e5e9e6; }
.rj-panel-head > div { display: grid; gap: 5px; }
.rj-panel-head span { color: #849087; font-family: var(--rj-mono); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.rj-panel-head h2 { margin: 0; font-family: var(--rj-serif); font-size: 1.35rem; font-weight: 500; }
.rj-panel-head > b { color: var(--rj-green); font-family: var(--rj-serif); font-size: 1.4rem; }
.rj-panel-head > svg { width: 20px; color: #7b887f; }
.rj-icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dce2dd; border-radius: 7px; background: #fff; color: #65736a; }
.rj-icon-btn svg { width: 17px; }
.rj-muted-link { color: #7e8a82 !important; font-family: var(--rj-sans) !important; font-size: .72rem !important; letter-spacing: 0 !important; }
.rj-overview-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .75fr); gap: 19px; margin-bottom: 19px; }
.rj-big-number { padding: 19px 23px 0; font-family: var(--rj-serif); font-size: 1.8rem; }
.rj-big-number small { color: #849087; font-family: var(--rj-sans); font-size: .72rem; }
.rj-chart { height: 270px; padding: 18px 16px 12px 4px; }
.rj-task-list { display: grid; padding: 8px 16px 14px; }
.rj-task-list > button { min-height: 66px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 8px; border: 0; border-bottom: 1px solid #edf0ed; background: transparent; color: var(--rj-ink); cursor: pointer; text-align: left; }
.rj-task-list > button:last-child { border-bottom: 0; }
.rj-task-list > button > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 8px; }
.rj-task-list > button > span.orange { background: #f7e9de; color: #b95e3d; }
.rj-task-list > button > span.purple { background: #eee7f3; color: #755b87; }
.rj-task-list > button > span.blue { background: #e4edf3; color: #47718a; }
.rj-task-list > button > span.green { background: #e3eee7; color: #397052; }
.rj-task-list svg { width: 18px; }
.rj-task-list div { min-width: 0; display: grid; gap: 3px; }
.rj-task-list strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.rj-task-list small { overflow: hidden; color: #7d8981; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }

/* Table */
.rj-data-table { min-width: 0; }
.rj-table-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid #e7ebe8; }
.rj-table-tools label { width: min(390px, 100%); min-height: 42px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #dce2dd; border-radius: 8px; background: #f7f9f7; }
.rj-table-tools label:focus-within { border-color: #71917d; box-shadow: 0 0 0 3px rgba(74, 117, 91, .09); }
.rj-table-tools svg { width: 17px; color: #849087; }
.rj-table-tools input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--rj-ink); font-size: .82rem; }
.rj-table-tools > span { color: #849087; font-size: .72rem; }
.rj-table-scroll { width: 100%; overflow-x: auto; }
.rj-data-table table { width: 100%; min-width: 760px; border-collapse: collapse; }
.rj-data-table th { height: 44px; padding: 0 16px; border-bottom: 1px solid #e4e9e5; background: #f8faf8; text-align: left; }
.rj-data-table th button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #76837b; cursor: pointer; font-size: .69rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rj-data-table th svg { width: 13px; }
.rj-data-table td { height: 68px; padding: 9px 16px; border-bottom: 1px solid #edf0ee; color: #46584e; font-size: .8rem; }
.rj-data-table tbody tr:hover { background: #fafcfb; }
.rj-person { min-width: 180px; display: flex; align-items: center; gap: 10px; }
.rj-person > span { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #ecdfcf; color: #75513d; font-size: .68rem; font-weight: 850; }
.rj-person strong, .rj-stack { display: grid; gap: 3px; color: #30453a; font-size: .79rem; }
.rj-person small, .rj-stack small { color: #8a958e; font-size: .68rem; font-weight: 500; }
.rj-status { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.rj-status i { width: 6px; height: 6px; border-radius: 50%; }
.rj-status.success { background: #e3f1e6; color: #36724b; }.rj-status.success i { background: #4d9b65; }
.rj-status.warning { background: #fbefdd; color: #9a622d; }.rj-status.warning i { background: #d18a3d; }
.rj-status.danger { background: #f8e6e4; color: #a44f48; }.rj-status.danger i { background: #c75c53; }
.rj-status.info { background: #e8edf3; color: #4c6b83; }.rj-status.info i { background: #6689a3; }
.rj-table-action { min-height: 32px; padding: 0 10px; border: 1px solid #d6ded8; border-radius: 6px; background: #fff; color: var(--rj-green); cursor: pointer; font-size: .72rem; font-weight: 750; }
.rj-pagination { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: #7c8981; font-size: .72rem; }
.rj-pagination > div { display: flex; gap: 6px; }
.rj-pagination button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #dce2dd; border-radius: 6px; background: #fff; color: #53645a; cursor: pointer; }
.rj-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.rj-pagination svg { width: 16px; }
.rj-mini-stats { display: flex; flex-wrap: wrap; gap: 9px; margin: -8px 0 18px; }
.rj-mini-stats span { padding: 8px 11px; border: 1px solid #dce2dd; border-radius: 7px; background: #fff; color: #78857d; font-size: .72rem; }
.rj-mini-stats b { color: var(--rj-ink); font-size: .8rem; }

/* Template catalog and Studio */
.rj-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.rj-template-card { overflow: hidden; border: 1px solid #dce3dd; border-radius: 11px; background: #fff; transition: .2s ease; }
.rj-template-card.selected { border-color: #668d75; box-shadow: 0 0 0 3px rgba(74, 117, 91, .1); }
.rj-theme-image { position: relative; width: 100%; aspect-ratio: 1.45 / 1; overflow: hidden; padding: 0; border: 0; background: #dce6de; cursor: pointer; }
.rj-theme-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 31, 20, .46)); }
.rj-theme-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: transform .35s ease; }
.rj-theme-image:hover img { transform: scale(1.035); }
.rj-theme-image span { position: absolute; z-index: 2; left: 13px; bottom: 12px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; background: rgba(26, 52, 37, .78); color: #fff; font-family: var(--rj-mono); font-size: .65rem; font-weight: 800; }
.rj-template-card > div { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; }
.rj-template-card > div > div { min-width: 0; }
.rj-template-card small { color: #829087; font-size: .67rem; }
.rj-template-card h3 { overflow: hidden; margin: 3px 0 0; font-family: var(--rj-serif); font-size: 1.15rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rj-template-card .rj-soft-btn { min-height: 35px; padding: 0 10px; font-size: .7rem; }
.rj-studio-toolbar { min-height: 61px; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 9px 12px; border: 1px solid #dce3dd; border-radius: 10px; background: #fff; }
.rj-studio-toolbar > span { display: flex; align-items: center; gap: 9px; color: #7a867e; font-size: .72rem; }
.rj-studio-toolbar > div:last-child { display: flex; gap: 5px; margin-left: auto; }
.rj-studio-toolbar > div:last-child button { min-height: 34px; padding: 0 10px; border: 1px solid #dce2dd; border-radius: 6px; background: #f8faf8; color: #617068; cursor: pointer; font-size: .7rem; }
.rj-combobox { width: min(310px, 100%); min-height: 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid #d9e0da; border-radius: 8px; background: #fff; color: #394f43; cursor: pointer; font-size: .8rem; text-align: left; }
.rj-combobox svg { width: 16px; color: #7d8981; }
.rj-combobox-popover { width: min(330px, calc(100vw - 32px)); padding: 0; }
.rj-studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.rj-studio-stage, .rj-studio-inspector { overflow: hidden; border: 1px solid #dbe2dc; border-radius: 11px; background: #fff; }
.rj-stage-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 15px; border-bottom: 1px solid #e2e7e3; color: #6e7c73; font-size: .72rem; }
.rj-stage-bar span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.rj-stage-bar i { width: 7px; height: 7px; border-radius: 50%; background: #6dad7d; box-shadow: 0 0 0 4px rgba(109,173,125,.13); }
.rj-stage-bar small { color: #8a958e; font-size: .68rem; }
.rj-map-canvas { position: relative; height: min(68vh, 680px); min-height: 510px; overflow: hidden; background: #20372a; cursor: crosshair; }
.rj-map-canvas > img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.rj-map-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,31,20,.05), rgba(14,31,20,.18)); pointer-events: none; }
.rj-hotspot { position: absolute; z-index: 2; display: grid; justify-items: center; gap: 5px; transform: translate(-50%, -50%); border: 0; background: transparent; color: #fff; cursor: grab; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.rj-hotspot span { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 9px; background: #456c55; font-size: .72rem; font-weight: 850; }
.rj-hotspot b { padding: 4px 7px; border-radius: 5px; background: rgba(18, 39, 26, .83); font-size: .66rem; text-transform: capitalize; }
.rj-hotspot.active span { border-color: #f4d391; background: #bc704e; box-shadow: 0 0 0 7px rgba(244,211,145,.2); }
.rj-inspector-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-bottom: 1px solid #e1e6e2; background: #f6f8f6; }
.rj-inspector-tabs button { min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: #738078; cursor: pointer; font-size: .73rem; font-weight: 700; }
.rj-inspector-tabs button.active { background: #fff; color: var(--rj-green); box-shadow: 0 2px 8px rgba(38,59,47,.08); }
.rj-inspector-body { display: grid; gap: 15px; padding: 20px; }
.rj-inspector-body h3 { margin: -7px 0 -8px; font-family: var(--rj-serif); font-size: 1.4rem; font-weight: 500; }
.rj-inspector-body > p { margin: 0 0 3px; color: #748078; font-size: .76rem; line-height: 1.55; }
.rj-inspector-body label, .rj-form-grid label { display: grid; gap: 8px; color: #53635a; font-size: .74rem; font-weight: 750; }
.rj-coordinate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.rj-inspector-body input:not([type="file"]):not([type="range"]), .rj-form-grid input, .rj-form-grid select { width: 100%; min-height: 43px; padding: 0 11px; border: 1px solid #d8dfd9; border-radius: 7px; outline: 0; background: #fff; color: var(--rj-ink); font-size: .8rem; }
.rj-inspector-body input:focus, .rj-form-grid input:focus, .rj-form-grid select:focus { border-color: #6e917b; box-shadow: 0 0 0 3px rgba(74,117,91,.09); }
.rj-inspector-body input[type="range"] { accent-color: var(--rj-green); }
.rj-divider { height: 1px; margin: 2px 0; background: #e4e8e5; }
.rj-upload-zone { position: relative; min-height: 112px; place-items: center; align-content: center; padding: 14px; border: 1px dashed #b9c5bd; border-radius: 8px; background: #f8faf8; cursor: pointer; text-align: center; }
.rj-upload-zone svg { width: 22px; color: var(--rj-green-2); }
.rj-upload-zone strong { font-size: .78rem; }
.rj-upload-zone small { color: #849087; font-size: .67rem; font-weight: 500; }
.rj-upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rj-test-btn { width: 100%; border: 1px solid #d5ded7; background: #eef3ef; color: var(--rj-green); }
.rj-test-result { display: flex; align-items: center; justify-content: center; gap: 7px; margin: -4px 0 0; color: #8b6f4f !important; font-size: .69rem !important; }
.rj-test-result.success { color: #3e7b52 !important; }
.rj-test-result svg { width: 14px; }
.rj-confirm { border-radius: 12px; }

/* Plans, settings, customer */
.rj-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.rj-plan-card { position: relative; overflow: hidden; padding: 27px; border: 1px solid #dce2dd; border-radius: 11px; background: #fff; }
.rj-plan-card.premium { border-color: #315b45; box-shadow: 5px 6px 0 rgba(49,91,69,.11); }
.rj-plan-card > span { color: #7a877f; font-family: var(--rj-mono); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.rj-plan-card h2 { margin: 10px 0 19px; font-family: var(--rj-serif); font-size: 2rem; font-weight: 400; }
.rj-plan-card > strong { display: block; font-family: var(--rj-serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; }
.rj-plan-card > strong small { margin-left: 5px; color: #819087; font-family: var(--rj-sans); font-size: .7rem; }
.rj-plan-card > div { display: grid; gap: 11px; margin: 25px 0; padding: 20px 0; border-block: 1px solid #e6eae7; }
.rj-plan-card p { display: flex; align-items: center; gap: 9px; margin: 0; color: #5f6f66; font-size: .78rem; }
.rj-plan-card p svg { width: 17px; color: var(--rj-green-2); }
.rj-plan-card > button { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; color: var(--rj-green); cursor: pointer; font-size: .78rem; font-weight: 800; }
.rj-plan-card > button svg { width: 17px; }
.rj-rule-panel { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 20px 22px; border-color: #d9cab2; background: #faf6ed; }
.rj-rule-panel > svg { flex: 0 0 auto; width: 24px; color: var(--rj-orange); }
.rj-rule-panel h3 { margin: 0 0 5px; font-family: var(--rj-serif); font-size: 1.2rem; font-weight: 500; }
.rj-rule-panel p { margin: 0; color: #707c74; font-size: .78rem; line-height: 1.55; }
.rj-gateway-bar { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; padding: 13px 16px; border: 1px solid #d9e4dc; border-radius: 9px; background: #eff6f1; color: #4f6759; font-size: .76rem; }
.rj-gateway-bar > span { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.rj-gateway-bar i { width: 8px; height: 8px; border-radius: 50%; background: #53a06b; box-shadow: 0 0 0 4px rgba(83,160,107,.12); }
.rj-gateway-bar small { margin-left: auto; color: #7d8981; font-size: .7rem; }
.rj-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rj-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 22px; }
.rj-form-grid .rj-combobox { width: 100%; }
.rj-asset-list { display: grid; padding: 8px 20px 18px; }
.rj-asset-list > label { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #e8ece9; }
.rj-asset-list > label:last-child { border-bottom: 0; }
.rj-asset-preview { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 9px; background: var(--rj-green); color: #fff; }
.rj-asset-preview.login { background: #e7ddd0; color: #6b4d3c; }.rj-asset-preview.mail { background: #e4ebf1; color: #4c6c82; }
.rj-asset-preview svg { width: 20px; }
.rj-asset-list div { min-width: 0; display: grid; gap: 4px; }
.rj-asset-list strong { font-size: .8rem; }.rj-asset-list small { overflow: hidden; color: #849087; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.rj-asset-list button { position: relative; min-height: 34px; overflow: hidden; padding: 0 10px; border: 1px solid #d8e0da; border-radius: 6px; background: #fff; color: var(--rj-green); font-size: .7rem; font-weight: 750; }
.rj-asset-list input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rj-customer-hero { min-height: 230px; display: grid; grid-template-columns: 1fr minmax(280px, 38%); overflow: hidden; margin-bottom: 17px; border: 1px solid #284b39; border-radius: 12px; background: #254535; color: #fff; }
.rj-customer-hero > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 52px); }
.rj-customer-hero > div > span { color: #e0c48d; font-family: var(--rj-mono); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.rj-customer-hero h2 { margin: 12px 0 8px; font-family: var(--rj-serif); font-size: clamp(2rem, 3.3vw, 3.2rem); font-weight: 400; line-height: 1; }
.rj-customer-hero p { margin: 0; color: #c4d0c9; font-size: .8rem; }
.rj-customer-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.78) brightness(.82); }
.rj-progress-track { height: 7px; overflow: hidden; margin-top: 26px; border-radius: 999px; background: rgba(255,255,255,.17); }
.rj-progress-track i { display: block; height: 100%; border-radius: inherit; background: #e0bd78; }
.rj-customer-hero > div > small { margin-top: 7px; color: #bdcac2; font-size: .68rem; }
.rj-customer-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; }
.rj-checklist { display: grid; padding: 8px 18px 18px; }
.rj-checklist button { min-height: 65px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 7px; border: 0; border-bottom: 1px solid #e8ece9; background: transparent; color: #405248; cursor: pointer; text-align: left; }
.rj-checklist button:last-child { border-bottom: 0; }
.rj-checklist button > span, .rj-checklist button > svg:first-child { width: 31px; height: 31px; display: grid; place-items: center; padding: 7px; border: 1px solid #ccd6ce; border-radius: 8px; color: #6f7e75; font-size: .7rem; }
.rj-checklist button.done > svg { border-color: #c4dccc; background: #e5f1e8; color: #3f8055; }
.rj-checklist div { display: grid; gap: 3px; }.rj-checklist strong { font-size: .8rem; }.rj-checklist small { color: #859087; font-size: .69rem; }.rj-checklist > button > svg:last-child { width: 17px; }
.rj-activity-list { display: grid; padding: 14px 22px 20px; }
.rj-activity-list p { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 0; padding: 11px 0; }
.rj-activity-list p::after { content: ""; position: absolute; left: 4px; top: 28px; bottom: -7px; width: 1px; background: #e3e8e4; }.rj-activity-list p:last-child::after { display: none; }
.rj-activity-list i { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 5px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px #e2e9e4; }.rj-activity-list i.green { background: #57a16d; }.rj-activity-list i.orange { background: #ce744f; }.rj-activity-list i.blue { background: #5e87a0; }.rj-activity-list i.purple { background: #826796; }
.rj-activity-list span { display: grid; gap: 3px; color: #5a6960; font-size: .76rem; }.rj-activity-list b { color: #344a3e; }.rj-activity-list small { color: #89948d; font-size: .67rem; }
.rj-wishes-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.rj-wish-list { display: grid; padding: 6px 21px 18px; }
.rj-wish-list > article { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 19px 0; border-bottom: 1px solid #e8ece9; }
.rj-wish-list > article:last-child { border-bottom: 0; }
.rj-wish-list > article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #ecdfcf; color: #73523f; font-size: .7rem; font-weight: 850; }
.rj-wish-list article > div { min-width: 0; }.rj-wish-list header { display: flex; justify-content: space-between; gap: 15px; }.rj-wish-list header strong { font-size: .8rem; }.rj-wish-list header small { color: #8c9790; font-size: .68rem; }.rj-wish-list p { margin: 9px 0 13px; color: #607067; font-size: .78rem; line-height: 1.6; }.rj-wish-list footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.rj-wish-list footer > div { display: flex; gap: 6px; }.rj-wish-list footer button { min-height: 30px; padding: 0 8px; border: 1px solid #d9e0da; border-radius: 5px; background: #fff; color: #53665b; font-size: .68rem; }
.rj-rsvp-summary { padding-bottom: 20px; text-align: center; }.rj-rsvp-summary > .rj-kicker { display: block; margin-top: 24px; }.rj-rsvp-summary h2 { margin: 7px 0 0; font-family: var(--rj-serif); font-size: 1.5rem; font-weight: 500; }.rj-donut { width: 150px; height: 150px; display: grid; place-items: center; margin: 28px auto; border-radius: 50%; background: conic-gradient(#4c8061 0 87%, #e5eae6 87%); }.rj-donut::before { content: ""; grid-area: 1 / 1; width: 112px; height: 112px; border-radius: 50%; background: #fff; }.rj-donut strong { z-index: 1; grid-area: 1 / 1; display: grid; font-family: var(--rj-serif); font-size: 2rem; font-weight: 500; }.rj-donut small { color: #7e8a82; font-family: var(--rj-sans); font-size: .67rem; font-weight: 500; }.rj-rsvp-summary ul { display: grid; gap: 12px; margin: 0; padding: 0 28px; list-style: none; text-align: left; }.rj-rsvp-summary li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: #65736a; font-size: .76rem; }.rj-rsvp-summary li i { width: 8px; height: 8px; border-radius: 50%; }.rj-rsvp-summary i.green { background: #4c8061; }.rj-rsvp-summary i.orange { background: #d38a44; }.rj-rsvp-summary i.red { background: #c75b52; }
.rj-media-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }.rj-gallery-preview { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 10px; padding: 18px; }.rj-gallery-preview img, .rj-gallery-preview button { width: 100%; aspect-ratio: 1 / .86; border-radius: 8px; object-fit: cover; }.rj-gallery-preview button { display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed #aebdb3; background: #f6f8f6; color: #617269; font-size: .7rem; }.rj-gallery-preview button svg { width: 20px; }.rj-media-options { display: grid; align-content: start; padding: 9px 20px; }.rj-media-options > div { min-height: 95px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #e8ece9; }.rj-media-options > div:last-child { border-bottom: 0; }.rj-media-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: #e8e2f0; color: #745d86; }.rj-media-icon.gift { background: #f5e5da; color: #b86343; }.rj-media-icon.map { background: #e3eee7; color: #397052; }.rj-media-icon svg { width: 20px; }.rj-media-options div > div { display: grid; gap: 3px; }.rj-media-options small { color: #89958d; font-size: .65rem; }.rj-media-options strong { font-size: .78rem; }.rj-media-options p { margin: 0; color: #849087; font-size: .68rem; }.rj-media-options button, .rj-host-links button { min-height: 31px; padding: 0 9px; border: 1px solid #d8dfd9; border-radius: 6px; background: #fff; color: var(--rj-green); font-size: .68rem; font-weight: 750; }
.rj-host-links { display: grid; gap: 14px; padding: 22px; }.rj-host-links label { display: grid; grid-template-columns: 1fr auto; gap: 7px; }.rj-host-links label > span { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; color: #52635a; font-size: .74rem; font-weight: 750; }.rj-host-links label svg { width: 16px; }.rj-host-links input { min-width: 0; height: 42px; padding: 0 10px; border: 1px solid #d8dfd9; border-radius: 7px; background: #f8faf8; color: #65736a; font-size: .74rem; }.rj-host-links > p { margin: 3px 0 0; color: #7c8981; font-size: .7rem; line-height: 1.5; }

@media (max-width: 1180px) {
  .rj-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .rj-template-grid { grid-template-columns: repeat(2, 1fr); }
  .rj-overview-grid { grid-template-columns: 1fr; }
  .rj-studio-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .rj-plan-card { padding: 22px; }
}

@media (max-width: 1024px) {
  .rj-sidebar { width: 290px; transform: translateX(-102%); box-shadow: 20px 0 55px rgba(20, 38, 28, .18); transition: transform .25s ease; }
  .rj-sidebar.open { transform: none; }
  .rj-sidebar-brand > button { display: grid; }
  .rj-sidebar-backdrop { position: fixed; z-index: 35; inset: 0; display: block; background: rgba(12, 27, 18, .54); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  .rj-sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
  .rj-app-main { margin-left: 0; }
  .rj-mobile-menu { display: grid; }
  .rj-studio-layout { grid-template-columns: 1fr; }
  .rj-studio-inspector { overflow: visible; }
  .rj-inspector-body { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .rj-inspector-body > .rj-kicker, .rj-inspector-body > h3, .rj-inspector-body > p, .rj-inspector-body > .rj-divider, .rj-inspector-body > .rj-test-btn, .rj-inspector-body > .rj-test-result { grid-column: 1 / -1; }
  .rj-login-page { grid-template-columns: minmax(360px, .8fr) minmax(480px, 1.2fr); }
  .rj-login-story { padding-inline: 38px; }
}

@media (max-width: 780px) {
  .rj-login-page { grid-template-columns: 1fr; }
  .rj-login-story { min-height: 440px; padding: 28px 26px 42px; }
  .rj-login-world h1 { font-size: clamp(2.7rem, 12vw, 4.4rem); }
  .rj-login-panel { min-height: auto; padding: 46px 24px 70px; }
  .rj-login-back { margin-bottom: 38px; }
  .rj-topbar { padding-inline: 16px; }
  .rj-topbar-left small, .rj-global-search { display: none; }
  .rj-dashboard-content { padding: 26px 16px 65px; }
  .rj-section-head { min-height: 0; align-items: flex-start; flex-direction: column; gap: 17px; }
  .rj-section-head h1 { font-size: 2.45rem; }
  .rj-section-head > button, .rj-section-head > .rj-head-actions { width: 100%; }
  .rj-head-actions > * { flex: 1; }
  .rj-metric-grid, .rj-settings-grid, .rj-plan-grid, .rj-customer-grid, .rj-wishes-layout, .rj-media-grid { grid-template-columns: 1fr; }
  .rj-customer-hero { grid-template-columns: 1fr; }
  .rj-customer-hero > img { height: 230px; }
  .rj-template-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rj-template-card > div { align-items: flex-start; flex-direction: column; }
  .rj-theme-image { aspect-ratio: 1.15 / 1; }
  .rj-form-grid { grid-template-columns: 1fr; }
  .rj-studio-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .rj-studio-toolbar > div:last-child { width: 100%; margin-left: 0; }
  .rj-studio-toolbar > div:last-child button { flex: 1; }
  .rj-combobox { width: 100%; }
  .rj-map-canvas { height: 540px; min-height: 0; }
  .rj-inspector-body { grid-template-columns: 1fr; }
  .rj-inspector-body > * { grid-column: 1 !important; }
  .rj-gateway-bar { align-items: flex-start; flex-wrap: wrap; }
  .rj-gateway-bar small { flex-basis: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .rj-login-story { min-height: 405px; }
  .rj-login-brand strong { font-size: 1.2rem; }
  .rj-login-world > p { font-size: .92rem; }
  .rj-login-world-card { width: 100%; }
  .rj-login-panel { padding-inline: 18px; }
  .rj-role-switch { gap: 4px; }
  .rj-role-switch button { font-size: .78rem; }
  .rj-login-options { align-items: flex-start; flex-direction: column; gap: 10px; }
  .rj-topbar-left strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rj-section-head h1 { font-size: 2.15rem; }
  .rj-head-actions { flex-direction: column; }
  .rj-metric-grid { grid-template-columns: 1fr; }
  .rj-metric { min-height: 115px; }
  .rj-template-grid { grid-template-columns: 1fr; }
  .rj-theme-image { aspect-ratio: 1.32 / 1; }
  .rj-stage-bar { align-items: flex-start; flex-direction: column; justify-content: center; }
  .rj-map-canvas { height: 460px; }
  .rj-table-tools { align-items: flex-start; flex-direction: column; }
  .rj-table-tools label { width: 100%; }
  .rj-plan-card { padding: 22px 19px; }
  .rj-customer-hero > div { padding: 27px 21px; }
  .rj-customer-hero > img { height: 190px; }
  .rj-gallery-preview { grid-template-columns: 1fr 1fr; }
  .rj-gallery-preview button { grid-column: 1 / -1; aspect-ratio: auto; min-height: 75px; }
  .rj-wish-list footer { align-items: flex-start; flex-direction: column; }
  .rj-asset-list > label { grid-template-columns: auto 1fr; padding: 12px 0; }
  .rj-asset-list > label > button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .rj-sidebar, .rj-login-submit, .rj-template-card, .rj-theme-image img { transition: none; }
}


/* RuangJanji Laravel V0.4 compatibility layer */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f5f2;color:var(--rj-ink)}a{color:inherit}.rj-icon{display:block;flex:0 0 auto}.rj-dashboard-shell{min-height:100vh}.rj-brand-link{min-width:0;display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit}.rj-brand-mark,.rj-brand-image{width:40px;height:40px;display:grid;place-items:center;border:2px solid #d2b473;border-radius:9px;background:var(--rj-green);color:#fff7e8;box-shadow:3px 3px 0 rgba(35,56,46,.13);font-size:.74rem;font-weight:900;letter-spacing:.05em;overflow:hidden}.rj-brand-image img,.rj-login-logo-image img{width:100%;height:100%;object-fit:contain}.rj-sidebar-brand .rj-brand-link>span:last-child{display:grid}.rj-sidebar-brand .rj-brand-link strong{font-family:var(--rj-serif);font-size:1.24rem;line-height:1}.rj-sidebar-brand .rj-brand-link small{margin-top:5px;color:#79857d;font-family:var(--rj-mono);font-size:.62rem;letter-spacing:.08em}.rj-sidebar-close{display:none;width:38px;height:38px;place-items:center;margin-left:auto;border:0;border-radius:8px;background:transparent;color:#68756d;cursor:pointer}.rj-nav{display:grid;gap:5px}.rj-nav a{min-height:45px;display:grid;grid-template-columns:21px 1fr;align-items:center;gap:11px;padding:0 12px;border:1px solid transparent;border-radius:8px;color:#617067;text-decoration:none;font-size:.88rem;font-weight:650;transition:.18s ease}.rj-nav a:hover{background:#f1f4f1;color:var(--rj-ink)}.rj-nav a.active{border-color:rgba(49,91,69,.11);background:#e8efe9;color:var(--rj-green);font-weight:800}.rj-sidebar-footer{display:grid;gap:4px;margin-top:auto;padding-top:20px}.rj-sidebar-footer>a,.rj-sidebar-footer button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#65736a;text-decoration:none;font-size:.82rem;font-weight:700;cursor:pointer}.rj-sidebar-footer>a:hover{background:#f1f4f1}.rj-sidebar-footer button{color:#8a4c46}.rj-sidebar-footer button:hover{background:#fff0ed}.rj-sidebar-footer form{margin:0}.rj-mobile-menu{display:none;width:38px;height:38px;place-items:center;border:1px solid #dbe2dc;border-radius:8px;background:#fff;color:#4c6255;cursor:pointer}.rj-topbar-link{display:flex;align-items:center;gap:7px;padding:9px 11px;border-radius:8px;color:#607067;text-decoration:none;font-size:.78rem;font-weight:750}.rj-topbar-link:hover{background:#f0f3f0}.rj-top-avatar{width:34px;height:34px}.rj-dashboard-content{width:min(1500px,100%);margin:0 auto;padding:32px clamp(18px,3vw,42px) 70px}.rj-flash{margin-bottom:18px;padding:13px 15px;border:1px solid;border-radius:9px;font-size:.84rem}.rj-flash.success{border-color:#c8dfcf;background:#edf7ef;color:#315d40}.rj-flash.danger{border-color:#efcfc9;background:#fff1ee;color:#8b3b33}.rj-flash ul{margin:7px 0 0 18px;padding:0}.rj-auth-body{min-height:100vh;background:#f8f5ee}.rj-login-story{background-color:#1b3327;background-image:linear-gradient(180deg,rgba(17,36,25,.2),rgba(15,30,22,.7)),var(--rj-login-bg);background-position:center;background-size:cover}.rj-login-story::before{background:linear-gradient(180deg,rgba(17,36,25,.18),rgba(15,30,22,.88))}.rj-login-logo-mark,.rj-login-logo-image{width:45px;height:45px;display:grid;place-items:center;border:2px solid #dbbe83;border-radius:10px;background:#254535;color:#fffaf0;box-shadow:4px 4px 0 rgba(7,19,12,.28);font-size:.76rem;font-weight:900;letter-spacing:.06em;overflow:hidden}.rj-login-brand strong{display:grid}.rj-login-error{margin:24px 0 -2px;padding:12px 13px;border:1px solid #efc5bf;border-radius:8px;background:#fff0ed;color:#963f36;font-size:.82rem}.rj-login-form-wrap header+form{margin-top:31px}.rj-login-error+form{margin-top:18px}.rj-input-shell input{width:100%}.rj-login-panel{overflow:auto}.rj-login-submit{width:100%}

/* Page content */
.page-head,.rj-section-head{min-height:84px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.page-head>div:first-child{max-width:760px}.page-head h1,.rj-section-head h1{margin:5px 0 7px;font-family:var(--rj-serif);font-size:clamp(2.05rem,4vw,3.2rem);font-weight:500;line-height:1.02;letter-spacing:-.045em}.eyebrow{color:var(--rj-green-2);font-family:var(--rj-mono);font-size:.7rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.muted{color:#748078;line-height:1.6}.head-actions,.row-actions,.inline-form,.spread{display:flex;align-items:center;gap:9px}.spread{justify-content:space-between}.panel,.rj-card{background:#fff;border:1px solid #dfe5e0;border-radius:11px;box-shadow:0 10px 34px rgba(38,62,49,.045)}.panel{padding:21px}.panel h2,.panel h3{margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.grid.two,.manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-grid{display:grid;gap:18px}.section-gap{margin-top:18px}.form-grid{display:grid;gap:13px}.form-grid.compact{gap:10px}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.form-action{display:flex;align-items:end;height:100%}label{display:grid;gap:7px;color:#405249;font-size:.79rem;font-weight:750}.input,.select,.textarea,.copy-field{width:100%;min-height:45px;border:1px solid #d7dfd8;border-radius:8px;background:#fff;color:#20342a;padding:0 12px;outline:none;font:inherit;transition:.18s ease}.textarea{min-height:92px;padding:11px 12px;resize:vertical}.input:focus,.select:focus,.textarea:focus,.copy-field:focus{border-color:#6c8d79;box-shadow:0 0 0 3px rgba(74,117,91,.1)}.input.file{height:auto;padding:9px}.btn{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid transparent;border-radius:8px;background:var(--rj-green);color:#fff;text-decoration:none;font-size:.8rem;font-weight:800;cursor:pointer}.btn:hover{background:#274b38;color:#fff}.btn.secondary{border-color:#d9e1da;background:#fff;color:#40584a}.btn.secondary:hover{background:#f3f6f3;color:#294635}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.check input{accent-color:var(--rj-green)}fieldset{border:1px solid #e1e6e2;border-radius:9px;padding:14px}legend{padding:0 7px;color:#506158;font-size:.75rem;font-weight:800}.stats-grid,.rj-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.stat-card,.rj-metric{min-height:128px;display:grid;align-content:space-between;padding:18px;border:1px solid #dde4de;border-radius:10px;background:#fff}.stat-card span,.stat-card small,.rj-metric small{color:#748178;font-size:.72rem}.stat-card strong,.rj-metric strong{color:#274536;font-family:var(--rj-serif);font-size:2.1rem;font-weight:500;letter-spacing:-.035em}.stat-card .date-stat{font-size:1.2rem}.count{min-width:30px;height:30px;display:inline-grid;place-items:center;padding:0 8px;border-radius:999px;background:#edf1ed;color:#4f6257;font-size:.72rem;font-weight:850}.table-wrap{width:100%;overflow:auto}.table{width:100%;border-collapse:collapse!important}.table th,.table td{padding:12px 11px;border-bottom:1px solid #e8ece9;text-align:left;vertical-align:middle;font-size:.78rem}.table th{color:#77847c;font-size:.68rem;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.table td strong{color:#344a3e}.table small{display:block;margin-top:3px;color:#849087}.badge{width:max-content;display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#e8edf3;color:#4c6b83;font-size:.66rem;font-weight:800;text-transform:none}.badge.active,.badge.opened,.badge.rsvp,.badge.sent,.badge.converted{background:#e3f1e6;color:#36724b}.badge.pending,.badge.contacted,.badge.setup{background:#fbefdd;color:#9a622d}.badge.suspended,.badge.failed{background:#f8e6e4;color:#a44f48}.badge.expired,.badge.archived,.badge.purged,.badge.closed{background:#ecefed;color:#65736a}.item-list{display:grid;gap:8px;margin-top:14px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #edf0ed}.list-row small{display:block;margin-top:3px;color:#7d8981}.icon-btn{min-height:34px;padding:0 10px;border:1px solid #d9e0da;border-radius:7px;background:#fff;color:#4b6154;font-size:.72rem;font-weight:750;cursor:pointer}.icon-btn.danger{border-color:#efd4cf;color:#a0463e}.gallery-manager{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:16px}.gallery-manager figure{margin:0;overflow:hidden;border:1px solid #e1e6df;border-radius:10px;background:#fff}.gallery-manager .thumb{aspect-ratio:4/3;display:grid;place-items:center;background:#edf1ed}.gallery-manager img{width:100%;height:100%;object-fit:cover}.gallery-manager figcaption{display:grid;gap:5px;padding:10px}.copy-field{min-width:250px;font-size:.72rem}.wa-form{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #edf0eb}.wish-admin-list{display:grid;gap:9px;max-height:560px;overflow:auto}.wish-admin{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e6df;border-radius:9px}.wish-admin.hidden{opacity:.58}.wish-admin p{margin:7px 0 0;white-space:pre-wrap}.wish-admin small{display:block;margin-top:2px;color:#758078}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips span{padding:6px 9px;border-radius:999px;background:#edf1ec;color:#59685f;font-size:.7rem;font-weight:700}.template-access-grid{display:grid;gap:9px}.template-access-row{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;align-items:end;padding:10px 0;border-bottom:1px solid #edf0eb}.template-catalog-thumb{width:74px;height:104px;object-fit:cover;border-radius:9px;border:1px solid #e1e6df}.host-link-grid{margin-top:16px}.host-link-card{display:grid;gap:9px;padding:15px;border:1px solid #e1e6e2;border-radius:10px;background:#fafbf9}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.asset-card{display:grid;gap:13px;padding:17px}.asset-preview{height:150px;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e6e2;border-radius:9px;background:#f3f5f2}.asset-preview img{width:100%;height:100%;object-fit:contain}.asset-preview.cover img{object-fit:cover}.asset-placeholder{display:grid;place-items:center;gap:6px;color:#8a958e;font-size:.72rem}.asset-meta{display:grid;gap:4px}.asset-meta small{color:#849087}.asset-actions{display:flex;gap:8px;flex-wrap:wrap}

/* DataTables / Tom Select integration */
.dt-container{font-size:.78rem}.dt-container .dt-search input,.dt-container .dt-length select{border:1px solid #d7dfd8!important;border-radius:7px!important;background:#fff!important}.dt-container .dt-paging .dt-paging-button{border:0!important;border-radius:7px!important}.ts-wrapper.single .ts-control,.ts-wrapper.multi .ts-control{min-height:45px;border-color:#d7dfd8;border-radius:8px;box-shadow:none}.ts-wrapper.focus .ts-control{border-color:#6c8d79;box-shadow:0 0 0 3px rgba(74,117,91,.1)}.ts-dropdown{border-color:#d7dfd8;border-radius:8px;box-shadow:0 14px 35px rgba(37,59,47,.13)}.swal2-popup{border-radius:12px!important;font-family:var(--rj-sans)!important}.swal2-confirm{background:var(--rj-green)!important}.swal2-cancel{background:#eef1ee!important;color:#46594e!important}

@media(max-width:1024px){.rj-sidebar-close{display:grid}.rj-nav a{min-height:47px}.rj-mobile-menu{display:grid}.rj-dashboard-content{padding-top:26px}.stats-grid,.rj-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.page-head{min-height:0;flex-direction:column}.head-actions{width:100%;flex-wrap:wrap}.head-actions>*{flex:1}.grid.two,.manager-grid,.form-grid.cols-3{grid-template-columns:1fr}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:16px}.table-wrap{margin-inline:-16px;padding-inline:16px}.copy-field{min-width:190px}.template-access-row{grid-template-columns:1fr}}
@media(max-width:520px){.rj-login-page{min-height:100dvh}.rj-login-story{min-height:340px;padding:22px 18px 32px}.rj-login-brand{gap:9px}.rj-login-logo-mark,.rj-login-logo-image{width:40px;height:40px}.rj-login-world h1{margin:16px 0 12px;font-size:clamp(2.45rem,13vw,3.65rem)}.rj-login-world>p{font-size:.88rem;line-height:1.6}.rj-login-panel{padding:34px 18px max(42px,env(safe-area-inset-bottom))}.rj-login-back{margin-bottom:30px}.rj-login-form-wrap header h2{font-size:2.25rem}.rj-input-shell{min-height:51px}.rj-login-options{flex-direction:row;align-items:center}.rj-topbar{height:66px}.rj-topbar-link{display:none}.rj-dashboard-content{padding:22px 12px 54px}.stats-grid,.rj-metric-grid,.asset-grid{grid-template-columns:1fr}.panel{border-radius:9px}.row-actions,.inline-form{align-items:stretch;flex-direction:column}.inline-form .select,.inline-form .btn{width:100%}.page-head h1{font-size:2rem}.gallery-manager{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-preview{height:125px}}
@media(max-width:360px){.rj-login-story{min-height:310px}.rj-login-world h1{font-size:2.3rem}.rj-login-panel{padding-inline:14px}.rj-workspace{grid-template-columns:auto minmax(0,1fr)}.rj-dashboard-content{padding-inline:10px}.gallery-manager{grid-template-columns:1fr}}
.rj-fallback-dialog{width:min(430px,calc(100vw - 28px));border:1px solid #dfe5e0;border-radius:12px;padding:0;box-shadow:0 24px 80px rgba(24,43,32,.22)}.rj-fallback-dialog::backdrop{background:rgba(15,29,20,.5)}.rj-fallback-dialog form{padding:22px}.rj-fallback-dialog h3{margin:0 0 8px;font-family:var(--rj-serif);font-size:1.55rem;font-weight:500}.rj-fallback-dialog p{margin:0 0 20px;color:#718078;line-height:1.55}.rj-fallback-dialog form>div{display:flex;justify-content:flex-end;gap:8px}.rj-select-fallback{display:grid;gap:7px}.rj-select-fallback>.input{min-height:39px}.rj-table-fallback-tools{display:flex;justify-content:flex-end;margin:0 0 10px}.rj-table-fallback-tools .input{width:min(280px,100%)}.copy-field.copied{border-color:#5b8d6c;box-shadow:0 0 0 3px rgba(91,141,108,.12)}body.rj-menu-open{overflow:hidden}

/* RuangJanji V0.4.19 — sound bank & editable digital demo */
.rj-section-head-secondary{margin-top:34px}.rj-sound-bank-layout{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:20px;align-items:start}.rj-sound-list{display:grid;gap:12px}.rj-sound-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px!important}.rj-sound-row-copy,.rj-sound-row-actions{display:flex;align-items:center;gap:12px;min-width:0}.rj-sound-row-copy>div{display:grid;gap:3px;min-width:0}.rj-sound-row-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rj-sound-row-copy small,.rj-sound-row-actions>small{color:var(--rj-muted,#7c807d)}.rj-sound-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:10px;background:#f1ece2}.rj-sound-row-actions form{margin:0}.rj-sound-upload-card .rj-primary-btn{width:100%;justify-content:center}.rj-subsection{margin-top:24px;padding-top:24px;border-top:1px solid rgba(36,50,42,.1)}.rj-subsection-head{margin-bottom:18px}.rj-subsection-head>span{display:block;margin-bottom:5px;color:#8a7563;font-size:.7rem;font-weight:800;letter-spacing:.12em}.rj-subsection-head h3{margin:0;font-size:1.08rem}.rj-subsection-head p{margin:5px 0 0;color:#777;font-size:.84rem}.rj-demo-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rj-demo-story{position:relative;display:grid;gap:10px;padding:16px;border:1px solid rgba(36,50,42,.1);border-radius:14px;background:#fbfaf6}.rj-demo-story>span{position:absolute;right:12px;top:10px;color:#b9afa3;font-size:.72rem;font-weight:800}.rj-demo-story label{display:grid;gap:6px}.music-panel .panel-heading-inline{margin-bottom:18px}.music-panel .panel-heading-inline span{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#88725f}.music-panel .panel-heading-inline h2{margin:4px 0}.music-panel .panel-heading-inline p{margin:0;color:#737975;font-size:.86rem}.music-panel [data-music-bank],.music-panel [data-music-upload]{min-width:0}.music-panel [hidden]{display:none!important}.music-preview-button{width:max-content!important;margin-top:8px}.optional{color:#979c98;font-size:.72rem;font-weight:500}
@media(max-width:900px){.rj-sound-bank-layout{grid-template-columns:1fr}.rj-demo-story-grid{grid-template-columns:1fr}.rj-sound-row{align-items:flex-start;flex-direction:column}.rj-sound-row-actions{width:100%;justify-content:space-between}.rj-sound-row-actions .rj-soft-btn{min-height:40px}}


/* RuangJanji V0.5.13.3 — customer form + per-wedding nickname typography */
.rj-customer-create-form{align-items:start}
.rj-customer-create-form .rj-field{min-width:0}
.rj-customer-create-form .rj-field>span{color:#42554a;font-size:.74rem;font-weight:800}
.rj-customer-create-form .rj-field>small{color:#7b8880;font-size:.69rem;font-weight:500;line-height:1.5}
.rj-customer-create-form .rj-field-wide{grid-column:1/-1}
.rj-customer-create-form .rj-checkline{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:12px!important;min-width:0;padding:14px 15px;border:1px solid #dce4de;border-radius:10px;background:#f8faf8;cursor:pointer}
.rj-customer-create-form .rj-checkline:hover{border-color:#bdcec2;background:#f5f9f6}
.rj-customer-create-form .rj-checkline input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:2px 0 0!important;padding:0!important;border:0!important;border-radius:4px!important;box-shadow:none!important;accent-color:var(--rj-green);flex:0 0 18px}
.rj-customer-create-form .rj-checkline>span{display:grid;gap:4px;min-width:0;color:#4e6056;font-size:.73rem;font-weight:500;line-height:1.55}
.rj-customer-create-form .rj-checkline strong{color:#2d4939;font-size:.76rem}
.rj-customer-create-form .rj-checkline small{color:#77847c;font-size:.69rem;font-weight:500;line-height:1.55}
.rj-customer-create-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:3px}
.rj-customer-create-actions>small{color:#7c8881;font-size:.68rem;line-height:1.45;text-align:right}

.rj-digital-typography-panel{overflow:hidden}
.rj-digital-typography-form{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:20px;padding:20px 22px 22px}
.rj-digital-typography-preview{display:grid;place-items:center;align-content:center;min-height:250px;padding:24px 20px;border:1px solid #e3dfd5;border-radius:15px;background:radial-gradient(circle at 50% 15%,#fff 0,#faf6ee 58%,#f0e7d8 100%);text-align:center;overflow:hidden}
.rj-typography-preview-head{display:grid;gap:2px;margin-bottom:18px}
.rj-typography-preview-head>span{color:#796d62;font-family:var(--rj-mono);font-size:.65rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.rj-typography-preview-head>small{color:#a1978e;font-size:.66rem}
.rj-digital-typography-preview h3{max-width:100%;margin:0;color:#27392f;font-weight:500;line-height:.96;overflow-wrap:anywhere;transition:font-size .18s ease}
.rj-digital-typography-preview h3 i{display:inline-block;margin:0 .16em;color:#a77c59;font-family:Georgia,serif;font-size:.62em;font-weight:400}
.rj-typography-preview-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:24px}
.rj-typography-preview-tabs button{min-height:32px;padding:0 10px;border:1px solid #d9ded9;border-radius:999px;background:rgba(255,255,255,.72);color:#6c786f;font-size:.67rem;font-weight:750;cursor:pointer}
.rj-typography-preview-tabs button.active{border-color:#537662;background:#355d48;color:#fff}
.rj-digital-typography-controls{display:grid;align-content:start;gap:16px;min-width:0}
.rj-digital-typography-controls>label,.rj-typography-size-grid>label{display:grid;gap:7px;color:#435047;font-size:.75rem;font-weight:750}
.rj-digital-typography-controls label>small{color:#7b847e;font-size:.69rem;font-weight:500;line-height:1.55}
.rj-typography-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rj-font-size-control{display:grid;grid-template-columns:minmax(0,1fr) 62px;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:1px solid #dce2dd;border-radius:8px;background:#fff}
.rj-font-size-control input[type=range]{width:100%;min-width:0;height:auto;min-height:0;padding:0;border:0;box-shadow:none;accent-color:#456b56}
.rj-font-size-control b{color:#385847;font-family:var(--rj-mono);font-size:.7rem;text-align:right;white-space:nowrap}
.rj-typography-scope-note{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #dfe8e2;border-radius:9px;background:#f5f9f6;color:#637169;font-size:.69rem;line-height:1.55}
.rj-typography-scope-note svg{flex:0 0 auto;margin-top:1px;color:#456b56}
.rj-typography-scope-note strong{color:#345443}
.rj-digital-typography-form>.rj-digital-template-actions{grid-column:1/-1;margin-top:0;padding-top:18px;border-top:1px solid #e7e8e4}

@media(max-width:820px){
  .rj-digital-typography-form{grid-template-columns:1fr;padding:16px}
  .rj-digital-typography-preview{min-height:205px}
  .rj-digital-typography-form>.rj-digital-template-actions{grid-column:auto}
}
@media(max-width:600px){
  .rj-typography-size-grid{grid-template-columns:1fr}
  .rj-customer-create-actions{align-items:stretch;flex-direction:column}
  .rj-customer-create-actions .rj-primary-btn{width:100%;justify-content:center}
  .rj-customer-create-actions>small{text-align:left}
}
@media(max-width:520px){
  .rj-customer-create-form .rj-field-wide,.rj-customer-create-form .rj-checkline,.rj-customer-create-actions{grid-column:1}
  .rj-customer-create-form .rj-checkline{padding:13px}
  .rj-digital-typography-preview{min-height:185px;padding:20px 13px}
  .rj-font-size-control{grid-template-columns:minmax(0,1fr) 58px}
  .rj-typography-preview-tabs{gap:5px}
  .rj-typography-preview-tabs button{flex:1 1 calc(50% - 5px)}
}

/* V0.5.14.4.6 — customer access card responsive polish */
.rj-customer-access-card{margin:0 0 22px;overflow:hidden}
.rj-customer-access-head{align-items:flex-start}
.rj-customer-access-head>div{min-width:0}
.rj-customer-access-head p{max-width:760px;margin:1px 0 0;color:var(--rj-muted);font-size:.78rem;line-height:1.55}
.rj-customer-access-head>svg{flex:0 0 20px;margin-top:2px}
.rj-customer-access-grid{align-items:start;padding:20px 22px;gap:16px}
.rj-customer-access-grid .rj-form-span{grid-column:1/-1}
.rj-customer-access-grid .rj-access-field,.rj-customer-access-grid .rj-access-message-field{min-width:0}
.rj-customer-access-grid input[readonly],.rj-customer-access-grid textarea[readonly]{background:#f8faf8;color:#34483d}
.rj-access-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}
.rj-access-copy-row input{min-width:0}
.rj-access-copy-row button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid #d7dfd8;border-radius:7px;background:#fff;color:#365745;font-size:.72rem;font-weight:800;cursor:pointer;white-space:nowrap;transition:.18s ease}
.rj-access-copy-row button:hover{border-color:#b9c9be;background:#f3f7f4}
.rj-access-message{width:100%;min-height:168px;padding:12px 13px;border:1px solid #d8dfd9;border-radius:8px;outline:0;color:var(--rj-ink);font:inherit;font-size:.79rem;line-height:1.62;resize:vertical;white-space:pre-wrap}
.rj-access-message:focus{border-color:#6e917b;box-shadow:0 0 0 3px rgba(74,117,91,.09)}
.rj-customer-access-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:0 22px 22px}
.rj-customer-access-actions form{margin:0}
.rj-customer-access-actions .rj-primary-btn,.rj-customer-access-actions .rj-soft-btn{min-height:44px}
.rj-access-sent-state{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #cfe1d3;border-radius:8px;background:#f2f8f3;color:#39704b;font-size:.74rem;font-weight:800;white-space:nowrap}
.rj-customer-access-note{margin:0 22px 22px}
.rj-customer-access-card+.rj-mini-stats{margin-top:0;margin-bottom:20px}
@media(max-width:780px){.rj-customer-access-card{margin-bottom:18px}.rj-customer-access-grid{grid-template-columns:1fr;padding:17px;gap:14px}.rj-customer-access-grid .rj-form-span{grid-column:1}.rj-customer-access-actions{align-items:stretch;flex-direction:column;padding:0 17px 17px}.rj-customer-access-actions>a,.rj-customer-access-actions>button,.rj-customer-access-actions>form,.rj-customer-access-actions>form>button,.rj-customer-access-actions>.rj-access-sent-state{width:100%}.rj-customer-access-note{margin:0 17px 17px}}
@media(max-width:520px){.rj-customer-access-head{gap:12px;padding:17px}.rj-customer-access-head h2{font-size:1.2rem}.rj-customer-access-head p{font-size:.74rem}.rj-customer-access-grid{padding:15px}.rj-access-copy-row{grid-template-columns:minmax(0,1fr) 74px}.rj-access-copy-row button{padding:0 10px}.rj-access-message{min-height:184px;font-size:.77rem}.rj-customer-access-actions{padding:0 15px 15px}.rj-customer-access-note{margin:0 15px 15px}}
