
.demo-theme{color:#292c2b;background:#f7f8f7}
.demo-theme .primary{background:#bd470b;color:#fff}
.demo-theme .primary:hover{background:#9e3907}
.demo-theme .login-band{background:linear-gradient(105deg,#fff2e6,#ffcfaa 55%,#e4eddf);opacity:.65;top:340px;height:260px}
.demo-theme .login-shell{max-width:760px;padding-top:70px}
.demo-theme .login-card{max-width:540px}
.demo-theme .login-brand,.demo-theme .login-card h1,.demo-theme .page-heading h1{color:#292c2b}
.demo-theme .login-card input:focus,.demo-theme .profile-card input:focus{outline:3px solid #ffdfc8;border-color:#bd470b}
.demo-theme button:focus-visible,.demo-theme a:focus-visible{outline-color:#bd470b}
.demo-theme #forgot-password{color:#a83e08}
.demo-theme .nav-links a[aria-current=page]{background:#fff0e5;color:#a33a06}
.demo-theme .app-nav{border-color:#e8e7e4}
.demo-theme .avatar-frame{background:#e8eee5;color:#456749}
.demo-theme .note.active{border-color:#e9c6ae}
.demo-theme textarea:focus{box-shadow:inset 3px 0 #e9c6ae}
.demo-welcome{width:100%;padding:52px 48px;background:#fff;border:1px solid #ebe8e4;border-radius:12px;box-shadow:0 18px 55px #3930200d}
.demo-badge{display:inline-block;color:#456749;background:#edf3ea;padding:7px 12px;border-radius:5px;font-size:13px;font-weight:600;letter-spacing:.3px}
.demo-welcome h1{font-size:46px;line-height:1.13;letter-spacing:-1.8px;margin:26px 0 20px;max-width:490px}
.welcome-copy{color:#5e6463;font-size:18px;line-height:1.7;margin:0;max-width:540px}
.welcome-actions{display:flex;gap:12px;margin:30px 0}
.welcome-actions button{min-height:48px;padding:12px 24px;border-radius:7px;font-size:16px}
.welcome-secondary{background:#fff;border:1px solid #d7dcd8;color:#292c2b}
.welcome-secondary:hover{background:#f5f6f4}
.welcome-privacy{border-top:1px solid #eceeea;padding-top:22px;color:#666e69;font-size:14px;line-height:1.65;margin:0}
@media(max-width:520px){.demo-theme .login-shell{padding-top:36px}.demo-welcome{padding:32px 24px}.demo-welcome h1{font-size:36px;letter-spacing:-1px}.welcome-copy{font-size:16px}.welcome-actions{flex-direction:column}.welcome-actions button{width:100%}}

/* A stronger welcome composition, scoped to the demonstration host. */
.demo-theme .login-page:has(.demo-welcome:not([hidden])) .login-band{display:none}
.demo-theme .login-page:has(.demo-welcome:not([hidden])) .login-shell{max-width:1180px;padding-top:52px}
.demo-theme .login-top{max-width:1180px}
.demo-welcome{padding:0;border:0;box-shadow:none;border-radius:0;background:transparent}
.welcome-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:58px;align-items:center}
.welcome-content{padding:24px 0}
.demo-badge{background:#edf3e9;color:#3d6147;font-size:13px;letter-spacing:.3px;border-radius:4px}
.demo-welcome h1{font-size:58px;line-height:1.06;letter-spacing:-2.5px;margin:25px 0 24px;max-width:540px;color:#262b29}
.welcome-copy{font-size:18px;line-height:1.75;color:#5b625e;max-width:500px}
.welcome-actions{margin:30px 0 26px;gap:12px}
.demo-theme .primary{background:#f58700;color:#252921}
.demo-theme .primary:hover{background:#e77b00}
.welcome-actions button{min-height:50px;border-radius:7px;font-weight:650}
.welcome-secondary{border-color:#c9cfca}
.welcome-privacy{font-size:14px;line-height:1.65;max-width:480px;padding-top:22px;color:#68716a}
.welcome-art{position:relative;min-height:510px;background:#f58700;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:54px 32px 34px}
.art-orbit{position:absolute;width:460px;height:460px;border:1px solid #ffffff55;border-radius:50%;top:-110px;right:-150px}
.art-orbit:after{content:'';position:absolute;inset:40px;border:1px solid #ffffff55;border-radius:50%}
.art-sheet{position:relative;width:100%;max-width:330px;transform:rotate(-5deg);background:#fffefa;border-radius:10px;padding:26px;box-shadow:0 20px 40px #66330826}
.art-kicker{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#6b736c;margin-bottom:25px}
.art-profile{display:flex;gap:14px;align-items:center}.art-profile strong{display:block;font-size:17px;font-weight:650;letter-spacing:-.4px}.art-profile span{display:block;font-size:12px;color:#68716a;margin-top:6px}
.art-avatar{width:54px;height:54px;border-radius:50%;background:#e8efdf;color:#456749;display:grid;place-items:center}.art-avatar svg{width:38px;height:38px}
.art-rule{height:1px;background:#e6e9e0;margin:24px 0}.art-note-title{font:24px/1.3 Georgia,serif;color:#303d34;margin-bottom:22px;max-width:240px}
.art-line{height:5px;border-radius:2px;background:#e7e9e1;margin:11px 0;width:100%}.art-line.medium{width:86%}.art-line.short{width:62%}
.art-note-footer{display:flex;align-items:center;gap:8px;margin-top:24px;color:#526d50;font-size:11px}.art-leaf{font-size:24px}
.art-caption{align-self:flex-start;margin:38px 0 0 8px;font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.3px;color:#392b15;position:relative}
.welcome-guide{border-top:1px solid #e4e8e3;margin-top:54px;padding-top:30px;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.guide-label{font-size:11px;letter-spacing:1px;color:#576e55;font-weight:650}.welcome-guide h2{font-size:18px;margin:12px 0 8px;letter-spacing:-.3px}.welcome-guide p{font-size:15px;line-height:1.6;color:#68716a;margin:0;max-width:290px}
.demo-theme .nav-links a[aria-current=page]{background:#fff0da;color:#793900}
@media(max-width:900px){.welcome-layout{gap:30px}.demo-welcome h1{font-size:46px;letter-spacing:-1.8px}.welcome-art{padding:38px 24px;min-height:480px}.art-sheet{padding:22px}.welcome-guide{gap:24px}}
@media(max-width:650px){.demo-theme .login-page:has(.demo-welcome:not([hidden])) .login-shell{padding:26px 24px 36px}.welcome-layout{grid-template-columns:1fr;gap:28px}.welcome-content{padding:0}.demo-welcome h1{font-size:43px;letter-spacing:-1.6px;max-width:420px}.welcome-copy{font-size:16px}.welcome-actions{flex-direction:row}.welcome-actions button{width:auto;flex:1;padding:12px 14px}.welcome-art{min-height:390px;padding:34px 28px 24px}.art-sheet{max-width:285px;padding:22px}.art-kicker{margin-bottom:18px}.art-note-title{font-size:22px}.art-caption{margin-top:26px;font-size:17px}.welcome-guide{grid-template-columns:1fr;gap:24px;margin-top:32px;padding-top:26px}.welcome-guide p{max-width:none}}
/* Slow decorative motion stays behind content and never moves form controls. */
.welcome-art:before{content:'';position:absolute;inset:-35%;background:radial-gradient(ellipse at 25% 30%,#ffbc42 0,transparent 48%),radial-gradient(ellipse at 75% 80%,#eb6500 0,transparent 52%);animation:demo-drift 22s ease-in-out infinite alternate;pointer-events:none;will-change:transform}
@keyframes demo-drift{from{transform:translate(-3%,-2%) rotate(-8deg)}to{transform:translate(4%,3%) rotate(8deg)}}
.demo-theme button,.demo-theme .nav-links a{transition:background-color .18s ease,box-shadow .18s ease}
.demo-theme .welcome-actions .primary:hover{box-shadow:0 4px 16px #e77b0029}
@media(prefers-reduced-motion:reduce){.welcome-art:before{animation:none;will-change:auto}.demo-theme button,.demo-theme .nav-links a{transition:none}}

.demo-theme .login-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.demo-theme .login-brand{font-size:28px;letter-spacing:-.8px}.portal-demo-label{font-size:13px;font-weight:600;letter-spacing:.2px;color:#456749;background:#edf3e9;padding:6px 10px;border-radius:4px}.demo-owner{margin:34px 0 0;font-size:14px;color:#68716a;text-align:center}@media(max-width:520px){.demo-theme .login-brand{font-size:25px}.demo-theme .login-top{gap:10px}}

.demo-theme .welcome-guide{grid-template-columns:repeat(2,1fr)}@media(max-width:650px){.demo-theme .welcome-guide{grid-template-columns:1fr}}

.welcome-purpose{font-size:22px;font-weight:600;line-height:1.4;color:#456749;margin:0 0 16px}.art-note-footer{font-size:11px}@media(max-width:650px){.welcome-purpose{font-size:19px}}
