
:root{--green:#176457;--deep:#123f38;--gold:#e8d5ae;--ink:#183b35;--muted:#697c77;--paper:#faf9f6;--line:#dce4df;--white:#fff;--danger:#a52f2f;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--green);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b59655;outline-offset:4px}button:focus:not(:focus-visible){outline:none}.shell{min-height:100vh;display:grid;grid-template-columns:minmax(380px,43%) 1fr}.story{background:var(--deep);color:#fff;position:relative;overflow:hidden;padding:46px 54px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:5px;font-weight:500;direction:ltr;width:fit-content}.mark{width:36px;height:40px;overflow:hidden;position:relative;background:#fcfaf5;border-radius:3px;flex-shrink:0}.mark img{position:absolute;width:92px;height:92px;max-width:none;left:-28px;top:-17px}.story-inner{position:relative;z-index:1;margin:auto 0;padding:62px 0 42px}.eyebrow{text-transform:uppercase;letter-spacing:2.6px;font-size:12px;font-weight:700;color:#b9d3c7;margin:0 0 22px}.story h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,4.1vw,66px);line-height:1.12;font-weight:400;letter-spacing:-1.5px;max-width:520px;margin:0 0 25px}.story h1 em{font-style:normal;color:var(--gold)}.story-text{font-size:16px;line-height:1.8;max-width:345px;color:#ceded5}.orbit{width:260px;height:260px;border:1px solid #ffffff22;border-radius:50%;margin:48px auto 38px;position:relative;display:grid;place-items:center}.orbit:before{content:'';position:absolute;width:200px;height:200px;border:1px solid #ffffff30;border-radius:50%}.orbit:after{content:'';position:absolute;width:140px;height:140px;border:1px solid #ffffff3a;border-radius:50%}.orbit span{font-family:Georgia,serif;font-size:96px;color:var(--gold);z-index:1}.orbit b{position:absolute;width:13px;height:13px;border-radius:50%;background:var(--gold);top:28px;right:33px;box-shadow:0 0 0 9px #e8d5ae12}.story-foot{font-size:12px;color:#b6ccc2;line-height:1.8;border-top:1px solid #ffffff24;padding-top:22px;display:flex;justify-content:space-between;gap:15px}.stage{padding:30px 48px 20px;display:flex;flex-direction:column;min-width:0}.topbar{display:flex;justify-content:flex-end;align-items:center;gap:14px;font-size:13px;min-height:38px}.launch{color:var(--muted);display:flex;align-items:center;gap:8px}.launch:before{content:'';width:6px;height:6px;border-radius:50%;background:#b39561}.lang{border:1px solid var(--line);background:transparent;color:var(--ink);padding:9px 14px;border-radius:8px;font-size:14px}.content{width:100%;max-width:470px;margin:auto;padding:37px 0}.step-label{color:var(--green);font-size:12px;letter-spacing:2px;font-weight:700;text-transform:uppercase;margin-bottom:15px}.content h2{font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.2;font-weight:400;letter-spacing:-1px;margin:0 0 12px}.subtitle{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:18px;min-width:0}.form-grid .field{margin:0 0 18px}label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.optional{font-weight:400;color:var(--muted);font-size:12px;margin-inline-start:4px}input:not([type=checkbox]){display:block;width:100%;border:1px solid #ced9d2;background:#fff;border-radius:8px;padding:13px 14px;color:var(--ink);font-size:16px;height:48px;transition:border-color .2s}input::placeholder{color:#9aa8a1;font-size:14px}input:focus{border-color:var(--green)}input[readonly]{background:#f0f3ef}.input-wrap{position:relative}.input-wrap input{padding-inline-end:64px}.reveal{position:absolute;inset-inline-end:8px;top:7px;padding:9px 7px;background:none;border:0;color:var(--green);font-size:12px}.hint{font-size:12px;line-height:1.65;color:var(--muted);margin:7px 0 0}.consent{display:flex;align-items:flex-start;gap:10px;margin:3px 0 22px}.consent input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin-top:2px}.consent label{font-size:13px;font-weight:400;line-height:1.6;margin:0}.primary{border:0;background:var(--green);color:white;border-radius:8px;padding:15px 20px;font-size:15px;font-weight:600;min-height:49px;width:100%;display:flex;justify-content:center;gap:16px;align-items:center}.primary:hover{background:#104d42}.secondary{background:white;border:1px solid var(--line);border-radius:8px;padding:12px 18px;color:var(--green);font-size:14px}.under{font-size:14px;text-align:center;color:var(--muted);margin-top:22px}.link{background:none;border:0;padding:0;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:inherit}.between{display:flex;justify-content:space-between;gap:10px}.notice{background:#f1eee5;border:1px solid #e3dbc7;border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.6;color:#655536;margin:0 0 20px}.footnote{font-size:12px;color:var(--muted);text-align:center;padding:18px 0;line-height:1.8}.alert{padding:13px 15px;border-radius:8px;background:#edf4ef;font-size:14px;line-height:1.6;margin-bottom:20px;color:#174f3b}.alert.error{background:#faece9;color:var(--danger)}.alert:empty{display:none}.success-icon{width:60px;height:60px;border:1px solid #c9dbd1;background:#edf4ef;border-radius:50%;display:grid;place-items:center;font-size:27px;color:var(--green);margin-bottom:24px}.success-copy{line-height:1.8;color:var(--muted);font-size:15px}.success-actions{display:grid;gap:12px;margin-top:26px}.dashboard{max-width:1060px;padding:32px;margin:auto}.dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:28px;border-bottom:1px solid var(--line)}.dash-head .brand{font-size:19px}.dash-intro{margin:42px 0 26px}.dash-intro h1{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:0 0 10px}.dash-intro p{color:var(--muted);line-height:1.6}.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:27px;min-width:0}.card h2{font-size:19px;margin:0 0 17px;font-weight:500}.card p{font-size:14px;line-height:1.75;color:var(--muted)}.ref-card{background:var(--deep);color:white;border:0}.ref-card p{color:#cfddd5}.ref-card .primary{background:var(--gold);color:var(--deep);margin-top:14px}.ref-link{font-size:13px;background:#ffffff0f;border:1px solid #ffffff35;border-radius:8px;padding:14px;overflow-wrap:anywhere;direction:ltr;text-align:left;user-select:all}.stat{font-family:Georgia,serif;font-size:42px;margin:15px 0}.pill{display:inline-block;padding:5px 9px;border-radius:5px;background:#e8f2ec;color:#286b49;font-size:12px}.details{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:14px 0;font-size:14px}.details span{overflow-wrap:anywhere}.details:last-child{border:0}.muted{color:var(--muted)}.full{grid-column:1/-1}.empty{padding:28px;text-align:center;background:var(--paper);border-radius:8px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:start;padding:15px 10px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:500}.loading{text-align:center;margin-top:30vh;letter-spacing:7px}[dir=rtl] .story h1,[dir=rtl] .content h2,[dir=rtl] .dash-intro h1{font-family:Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.5}[dir=rtl] .eyebrow,[dir=rtl] .step-label{letter-spacing:0}[dir=rtl] .story h1{font-size:48px}[dir=rtl] .content h2{font-size:32px} @media(min-width:1500px){.story{padding:55px 80px}.content{max-width:500px}}@media(max-width:1050px){.shell{grid-template-columns:38% 1fr}.story{padding:34px 28px}.stage{padding:25px 30px}.story h1{font-size:44px}.orbit{width:210px;height:210px}.orbit:before{width:155px;height:155px}.orbit:after{width:105px;height:105px}.story-foot{flex-direction:column}.brand{font-size:17px;letter-spacing:3px}}@media(max-width:720px){.shell{display:block}.story{min-height:auto;padding:22px 24px}.story-inner,.story-foot{display:none}.stage{padding:18px 24px}.topbar{justify-content:space-between}.content{padding:26px 0 12px}.content h2{font-size:34px}.dashboard{padding:20px}.dash-head{flex-wrap:wrap}.dashboard-grid{grid-template-columns:1fr}.full{grid-column:auto}.dash-intro h1{font-size:31px}.card{padding:21px}}@media(max-width:380px){.form-grid{grid-template-columns:1fr;gap:0}.stage{padding:16px}.launch{font-size:12px}.dash-head .brand{font-size:16px}.brand{letter-spacing:3px}}@media(prefers-reduced-motion:no-preference){.content{animation:appear .25s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

/* Rimaluna premium membership theme. Auth behavior remains in app.js. */
.shell{background:#f3f2ed;grid-template-columns:minmax(350px,44%) minmax(0,1fr)}
.story{background:radial-gradient(ellipse at 15% 25%,#267e684f,transparent 58%),radial-gradient(ellipse at 100% 85%,#a9935b1c,transparent 50%),linear-gradient(150deg,#113f36,#082d29 75%);padding:42px 9%;position:sticky;top:0;height:100vh;min-height:790px;border-inline-end:1px solid #bda56b40}
.story:before{content:'';position:absolute;width:650px;height:650px;border:1px solid #d7bd8221;border-radius:50%;top:-460px;inset-inline-start:-200px;box-shadow:0 0 0 80px #ffffff02,0 0 0 160px #ffffff02;pointer-events:none}
.story:after{content:'';position:absolute;inset:18px;border:1px solid #e8d5ae12;border-radius:4px;pointer-events:none}
.story>.brand{position:relative;z-index:1;color:var(--gold);letter-spacing:4px;font-size:19px}
.story .mark{box-shadow:0 0 0 1px #e8d5ae55;border-radius:4px}
.story-inner{padding:45px 0 24px;margin:auto 0}
.eyebrow{font-size:12px;color:#cfbc8e;letter-spacing:3px;display:flex;align-items:center;gap:13px;margin-bottom:22px}
.eyebrow:before{content:'';width:27px;height:1px;background:#cfbc8e}
.story h1{font-size:clamp(42px,4.2vw,67px);line-height:1.13;letter-spacing:-1.8px;margin-bottom:22px}
.story h1 em{color:#e8d5ae}
.story-text{color:#c2d3ca;max-width:340px;font-size:16px;line-height:1.8}
.orbit{width:270px;height:270px;margin:35px auto 12px;border-color:#d7bd8233;box-shadow:0 0 70px #bda56b0b}
.orbit:before{width:218px;height:218px;border-color:#d7bd823b;transform:rotate(-20deg)}
.orbit:after{width:315px;height:315px;border:1px dashed #d7bd821d;pointer-events:none}
.orbit .emblem{display:block;position:relative;width:152px;height:160px;overflow:hidden;background:#fcfaf5;border-radius:22px;box-shadow:0 15px 45px #0005,0 0 0 6px #e8d5ae10,0 0 0 7px #e8d5ae35;transform:rotate(-7deg)}
.emblem img{position:absolute;width:330px;height:330px;left:-93px;top:-51px;max-width:none}
.orbit b{width:9px;height:9px;top:31px;right:36px;background:#e8d5ae;box-shadow:0 0 18px #e8d5ae99,0 0 0 6px #e8d5ae10}
.story-foot{position:relative;z-index:1;font-size:12px;border-color:#e8d5ae26;padding-top:20px;color:#9fb9aa;line-height:1.7}
.stage{background:radial-gradient(ellipse at 90% 0,#e8d5ae32,transparent 45%);padding:26px clamp(22px,3.5vw,62px) 10px}
.topbar{margin-bottom:24px}.launch{font-size:12px}.lang{background:#ffffffa6;border-color:#d6dcd4;padding:9px 14px}.lang:hover{background:#fff}
.content{max-width:540px;background:#fffefb;border:1px solid #e2e5db;border-radius:20px;padding:35px 36px 28px;box-shadow:0 22px 70px #153b3310,0 4px 14px #153b3305;position:relative;overflow:hidden;margin:auto}
.content:before{content:'';position:absolute;top:0;left:34px;right:34px;height:3px;background:linear-gradient(90deg,transparent,#c1a369,#e8d5ae,#c1a369,transparent)}
.step-label{font-size:11px;letter-spacing:2px;color:#8b7141;margin:0 0 12px}
.content h2{font-size:36px;letter-spacing:-1px;color:#123f38}
.subtitle{font-size:14px;line-height:1.65;margin-bottom:24px}
.field{margin-bottom:15px}.form-grid{gap:14px}.form-grid .field{margin-bottom:15px}
label{font-size:13px;margin-bottom:7px;color:#29483e}.optional{font-size:12px}
input:not([type=checkbox]){height:46px;border-color:#d8e0d8;border-radius:9px;background:#fbfcf9;box-shadow:inset 0 1px 2px #163c3303;padding:12px 13px}
input:not([type=checkbox]):focus{background:#fff;border-color:#779d8b;box-shadow:0 0 0 3px #17645709}
.reveal{font-size:12px;top:6px;color:#57766a}.hint{font-size:12px;margin-top:6px}
.consent{margin:15px 0}.consent label{font-size:12px;line-height:1.65}
.content .primary{background:linear-gradient(110deg,#dac18b,#edddbb 55%,#dfc894);color:#163d32;border:1px solid #cfb780;border-radius:10px;box-shadow:0 5px 15px #ac8f4f19;min-height:49px;font-size:14px;transition:box-shadow .2s,transform .2s}
.content .primary:hover{background:linear-gradient(110deg,#e2cb9b,#f3e4c5 55%,#e7d2a8);box-shadow:0 7px 20px #ac8f4f2b;transform:translateY(-1px)}
.content .primary:active{transform:translateY(0)}
.content .notice{font-size:12px;border-color:#e6dfce;background:#f7f4ec;border-radius:8px;line-height:1.55;padding:10px 12px;margin-bottom:17px}
.content .local-note{margin:20px 0 0;background:#f3f6f1;border-color:#dfe7db;color:#5d7260;font-size:12px}
.under{margin-top:20px;font-size:13px}.footnote{font-size:12px;padding:22px 0 16px;color:#7d897d}
[dir=rtl] .content h2{font-size:30px}[dir=rtl] .story h1{font-size:clamp(36px,3.6vw,53px)}
@media(min-width:1500px){.story{padding:48px 12%}.content{max-width:550px;padding:40px}.story-inner{padding-top:60px}}
@media(max-width:1050px){.shell{grid-template-columns:38% minmax(0,1fr)}.story{padding:34px 28px}.story h1{font-size:43px}.orbit{width:205px;height:205px;margin-top:38px}.orbit:before{width:175px;height:175px}.orbit:after{width:235px;height:235px}.orbit .emblem{transform:rotate(-7deg) scale(.8)}.stage{padding:24px 22px 10px}.content{padding:30px 26px 24px}.content h2{font-size:31px}.story-foot{flex-direction:column;gap:5px}.launch{font-size:11px}}
@media(max-width:760px){.shell{display:block}.story{position:relative;min-height:0;height:auto;padding:25px 27px;background:radial-gradient(ellipse at 90% 0,#267e6866,transparent 75%),#103e35}.story:after{inset:10px;border-color:#e8d5ae1c}.story>.brand{font-size:18px;letter-spacing:4px}.story-inner,.story-foot{display:none}.stage{padding:20px 18px 8px}.topbar{justify-content:space-between;margin-bottom:20px}.launch{font-size:12px}.content{max-width:540px;padding:28px 24px 23px;border-radius:16px;box-shadow:0 12px 35px #153b330b}.content h2{font-size:32px}.footnote{max-width:400px;margin:auto;line-height:1.8}}
@media(max-width:380px){.stage{padding:16px 12px 6px}.content{padding:25px 19px}.form-grid{grid-template-columns:1fr;gap:0}.launch{font-size:11px}.lang{padding:8px 10px}.content h2{font-size:30px}}
@media(prefers-reduced-motion:no-preference){.story-inner{animation:premium-in .65s ease-out}.content{animation:premium-in .45s ease-out}@keyframes premium-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}

