[data-obr-studio-palette="signature"] {
  --studio-header: #fff;
  --studio-header-tint: #e5f0e5;
  --obr-header-color: #173c31;
  --studio-menu: #f1f4f0;
  --studio-menu-tint: #ddebe2;
  --obr-menu-color: #173c31;
  --obr-menu-item-background: #fff;
  --obr-menu-item-hover: #edf3e9;
  --obr-menu-item-active: #deeee4;
  --obr-menu-border: #b7c8bd;
  --obr-header-border: #c9d7cd;
}
[data-obr-studio-palette="emeraude"] {
  --studio-header: #1c493c;
  --studio-header-tint: #285d4f;
  --obr-header-color: #f5fff9;
  --studio-menu: #eaf5ee;
  --studio-menu-tint: #d3eee2;
  --obr-menu-color: #174536;
  --obr-menu-item-background: #f9fffb;
  --obr-menu-item-hover: #dff3e8;
  --obr-menu-item-active: #ccecdf;
  --obr-menu-border: #a4cbbb;
  --obr-header-border: #578b77;
}
[data-obr-studio-palette="ardoise"] {
  --studio-header: #253d4d;
  --studio-header-tint: #3a5667;
  --obr-header-color: #f5faff;
  --studio-menu: #e9f0f5;
  --studio-menu-tint: #d4e4ee;
  --obr-menu-color: #233949;
  --obr-menu-item-background: #fafcff;
  --obr-menu-item-hover: #dfebf3;
  --obr-menu-item-active: #cddfeb;
  --obr-menu-border: #aebfcb;
  --obr-header-border: #677e8e;
}
[data-obr-studio-palette="nuit"] {
  --studio-header: #1e352d;
  --studio-header-tint: #29483d;
  --obr-header-color: #f3f8f5;
  --studio-menu: #11251e;
  --studio-menu-tint: #234037;
  --obr-menu-color: #f3f8f5;
  --obr-menu-item-background: #1e352d;
  --obr-menu-item-hover: #294339;
  --obr-menu-item-active: #305446;
  --obr-menu-border: #557269;
  --obr-header-border: #557269;
}
[data-obr-studio-palette] {
  --obr-header-background: var(--studio-header);
  --obr-menu-background: var(--studio-menu);
  --obr-header-shadow: none;
  --obr-menu-font-size: 12px;
}
[data-obr-studio-effect="degrade"] {
  --obr-header-background: linear-gradient(120deg, var(--studio-header), var(--studio-header-tint));
  --obr-menu-background: linear-gradient(150deg, var(--studio-menu), var(--studio-menu-tint));
}
[data-obr-studio-effect="halo"] {
  --obr-header-background: radial-gradient(ellipse at 18% 0%, var(--studio-header-tint), var(--studio-header) 77%);
  --obr-menu-background: radial-gradient(ellipse at 22% 10%, var(--studio-menu-tint), var(--studio-menu) 76%);
  --obr-header-shadow: 0 3px 14px #65ac9538;
}
.obr-shell[data-obr-studio-palette="nuit"] .obr-menu .obr-nav-symbol { color: #b0e2cd; }

.lp-login-layer[data-obr-studio-palette], .obr-shell[data-obr-studio-palette] {
  --studio-base: #f4ede3;
  --studio-wash: #e4eee2;
  --studio-warm: #fae4d3;
  --studio-cool: #e3e1f0;
  --studio-action: #285643;
  --studio-action-hover: #1d4434;
}
.lp-login-layer[data-obr-studio-palette="emeraude"], .obr-shell[data-obr-studio-palette="emeraude"] {
  --studio-base: #e8f4ec;
  --studio-wash: #d7f0e2;
  --studio-warm: #ecf1da;
  --studio-cool: #dcefeb;
  --studio-action: #1c684f;
  --studio-action-hover: #174e3d;
}
.lp-login-layer[data-obr-studio-palette="ardoise"], .obr-shell[data-obr-studio-palette="ardoise"] {
  --studio-base: #edf2f7;
  --studio-wash: #e3edf8;
  --studio-warm: #e8ecf8;
  --studio-cool: #dfeaf9;
  --studio-action: #2e5678;
  --studio-action-hover: #244666;
}
.lp-login-layer[data-obr-studio-palette="nuit"], .obr-shell[data-obr-studio-palette="nuit"] {
  --studio-base: #16272a;
  --studio-wash: #34554b;
  --studio-warm: #3a3935;
  --studio-cool: #303544;
  --studio-action: #38665a;
  --studio-action-hover: #31574e;
}
.lp-login-layer[data-obr-studio-palette="rose"], .obr-shell[data-obr-studio-palette="rose"] {
  --studio-base: #f8edf1;
  --studio-wash: #f6e1ea;
  --studio-warm: #ffe8d9;
  --studio-cool: #ebdcf1;
  --studio-action: #813b62;
  --studio-action-hover: #642947;
  --studio-header: #fff9fb;
  --studio-header-tint: #f5e1ea;
  --studio-menu: #f9eff5;
  --studio-menu-tint: #f7e6ea;
  --obr-header-color: #58273e;
  --obr-menu-color: #58273e;
  --obr-menu-item-background: #fff8fb;
  --obr-menu-item-active: #f0dae8;
}
.lp-login-layer[data-obr-studio-palette="violet"], .obr-shell[data-obr-studio-palette="violet"] {
  --studio-base: #f1ebf9;
  --studio-wash: #ede3f5;
  --studio-warm: #f4dfed;
  --studio-cool: #e3e6fb;
  --studio-action: #644283;
  --studio-action-hover: #4f306d;
  --studio-header: #fffaff;
  --studio-header-tint: #eee1f8;
  --studio-menu: #f6effb;
  --studio-menu-tint: #ece3f9;
  --obr-header-color: #4b315e;
  --obr-menu-color: #4b315e;
  --obr-menu-item-background: #fdfaff;
  --obr-menu-item-active: #ece0f5;
}
.lp-login-layer[data-obr-studio-palette="glacier"], .obr-shell[data-obr-studio-palette="glacier"] {
  --studio-base: #e9f4f8;
  --studio-wash: #ddeef7;
  --studio-warm: #edebfa;
  --studio-cool: #d0eff3;
  --studio-action: #2b6682;
  --studio-action-hover: #22506a;
  --studio-header: #fafdff;
  --studio-header-tint: #d9edf9;
  --studio-menu: #eff8ff;
  --studio-menu-tint: #e0eff8;
  --obr-header-color: #244652;
  --obr-menu-color: #244652;
  --obr-menu-item-background: #fafdff;
  --obr-menu-item-active: #daeef8;
}

body.obr-shell[data-obr-studio-effect] { background: var(--studio-base); }
body.obr-shell[data-obr-studio-effect] .workspace { background: transparent; }
body.obr-shell[data-obr-studio-effect="degrade"] {
  background:
    radial-gradient(ellipse at 86% 12%, var(--studio-warm), transparent 49%),
    radial-gradient(ellipse at 76% 93%, var(--studio-cool), transparent 54%),
    linear-gradient(150deg, var(--studio-wash), var(--studio-base) 58%);
  background-attachment: fixed;
}
body.obr-shell[data-obr-studio-effect="halo"] {
  background: radial-gradient(ellipse at 9% 0%, var(--studio-wash), transparent 49%),
              radial-gradient(ellipse at 88% 81%, var(--studio-cool), transparent 68%),
              var(--studio-base);
  background-attachment: fixed;
}

body.obr-shell {
  --motion-primary: var(--page-motion-color-1);
  --motion-secondary: var(--page-motion-color-2);
  --motion-size: var(--page-motion-size);
  --motion-intensity: var(--page-motion-intensity);
  --motion-speed: var(--page-motion-speed);
  --motion-opacity-cap: .54;
}
.obr-menu {
  --motion-primary: var(--menu-motion-color-1);
  --motion-secondary: var(--menu-motion-color-2);
  --motion-size: var(--menu-motion-size);
  --motion-intensity: var(--menu-motion-intensity);
  --motion-speed: var(--menu-motion-speed);
  --motion-opacity-cap: .42;
}
body.obr-shell:is([data-page-motion="gradient"], [data-page-motion="bicolor"], [data-page-motion="veil"]),
.obr-menu { isolation: isolate; }

:is(
  .lp-login-layer[data-login-motion]:not([data-login-motion="off"]),
  body.obr-shell:is([data-page-motion="bicolor"], [data-page-motion="veil"]),
  body.obr-shell[data-page-motion="gradient"] .obr-page-gradient,
  body.obr-shell:is([data-menu-motion="bicolor"], [data-menu-motion="veil"]) .obr-menu
)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: calc(var(--motion-intensity) * var(--motion-opacity-cap));
  background-repeat: no-repeat;
  animation-duration: var(--motion-speed);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
body.obr-shell:is([data-page-motion="bicolor"], [data-page-motion="veil"])::before { position: fixed; }

.obr-page-gradient { display: none; }
body.obr-shell[data-page-motion="gradient"] .obr-page-gradient {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.lp-login-layer[data-login-motion="gradient"]::before,
body.obr-shell[data-page-motion="gradient"] .obr-page-gradient::before {
  inset: -12%;
  z-index: auto;
  background-image:
    radial-gradient(ellipse at 75% 22%, var(--motion-primary), transparent var(--motion-size)),
    radial-gradient(ellipse at 68% 78%, var(--motion-secondary), transparent var(--motion-size));
  animation-name: studio-gradient-drift;
  animation-direction: normal;
}

.lp-login-layer[data-login-motion="bicolor"]::before,
body.obr-shell[data-page-motion="bicolor"]::before,
body.obr-shell[data-menu-motion="bicolor"] .obr-menu::before {
  background-image:
    radial-gradient(ellipse at 42% 42%, var(--motion-primary), transparent var(--motion-size)),
    radial-gradient(ellipse at 58% 58%, var(--motion-secondary), transparent var(--motion-size));
  background-size: 112% 124%, 128% 120%;
  background-position: -65% -65%, 150% 142%;
  animation-name: studio-halo-drift;
}
.lp-login-layer[data-login-motion="veil"]::before,
body.obr-shell[data-page-motion="veil"]::before,
body.obr-shell[data-menu-motion="veil"] .obr-menu::before {
  background-image: linear-gradient(116deg,
    transparent calc(40% - var(--motion-size) / 3),
    var(--motion-primary) 43%, var(--motion-secondary) 59%,
    transparent calc(62% + var(--motion-size) / 3));
  background-size: 235% 205%;
  background-position: 8% 12%;
  animation-name: studio-veil-flow;
}
@keyframes studio-gradient-drift {
  0%, 100% { transform: translate(7%, -5%); }
  50% { transform: translate(-9%, 6%); }
}
@keyframes studio-halo-drift {
  0% { background-position: -65% -65%, 150% 142%; }
  55% { background-position: 172% 58%, -25% 145%; }
  100% { background-position: 150% 155%, -65% -65%; }
}
@keyframes studio-veil-flow {
  0% { background-position: 8% 12%; }
  100% { background-position: 92% 78%; }
}

.obr-account-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(126deg, var(--studio-action-hover), var(--studio-action));
}
.obr-account-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: color-mix(in srgb, var(--studio-action) 24%, #edf9f3);
  -webkit-mask: url("/assets/atelier/hibou.svg") 92% 52% / min(46%, 10rem) auto no-repeat;
  mask: url("/assets/atelier/hibou.svg") 92% 52% / min(46%, 10rem) auto no-repeat;
  opacity: calc(var(--profile-owl-intensity, 0) * .4);
}
[data-obr-profile-finish="glass"] .obr-account-card {
  background: radial-gradient(ellipse at 18% 0%, #fff2, transparent 64%),
              color-mix(in srgb, var(--studio-action-hover) 93%, transparent);
  border-color: #e4f7ed65;
  box-shadow: inset 0 1px 0 #ffffff35, 0 .45rem 1rem #12272232;
  backdrop-filter: blur(.75rem) saturate(115%);
}
[data-obr-profile-finish="reflection"] .obr-account-card {
  background: linear-gradient(122deg, #ffffff24, #ffffff0f 31%, transparent 32%),
              linear-gradient(138deg, var(--studio-action-hover), var(--studio-action) 68%, var(--studio-action-hover));
  border-color: #f0fff470;
  box-shadow: inset 0 1px 0 #ffffff45, inset 0 -1px 0 #09181244;
}
[data-obr-button-finish="glass"] {
  --studio-button-layer: linear-gradient(152deg, #ffffff30, transparent 68%);
  --studio-button-filter: blur(.55rem) saturate(116%);
  --studio-button-shadow: inset 0 1px 0 #ffffff42, 0 1px 4px #172a2118;
}
[data-obr-button-finish="reflection"] {
  --studio-button-layer: linear-gradient(115deg, #ffffff36, transparent 47%, #12231e0a 85%);
  --studio-button-filter: none;
  --studio-button-shadow: inset 0 1px 0 #ffffff50, inset 0 -1px 0 #10291d17;
}
:is([data-obr-button-finish="glass"], [data-obr-button-finish="reflection"])
  :is(.button:not(.text, .ghost), .obr-account-card .button, .obr-studio-opener):not(:disabled, [aria-disabled="true"]) {
  background-image: var(--studio-button-layer);
  box-shadow: var(--studio-button-shadow);
  backdrop-filter: var(--studio-button-filter);
}
.obr-studio-form {
  display: grid;
  gap: .75rem;
  width: min(100%, 46rem);
}
.obr-studio-form .field, .obr-studio-form .field-grid { margin: 0; }
.obr-studio-group {
  display: grid;
  min-width: 0;
  gap: .62rem;
  margin: 0;
  padding: .67rem .78rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: color-mix(in srgb, var(--bg) 67%, var(--paper));
}
.obr-studio-group legend { padding-inline: .33rem; }
.obr-motion-controls { display: grid; min-width: 0; gap: .54rem; }
.obr-studio-form :is([type="range"], [type="color"]) { accent-color: var(--accent); min-height: 2rem; padding: 0; }
.obr-studio-form output { color: var(--accent); font-variant-numeric: tabular-nums; }
@container obr-workspace (max-width: 32rem) {
  .obr-studio-form .cols-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .obr-page-gradient::before, .obr-menu::before { animation-name: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  [data-obr-profile-finish="glass"] .obr-account-card { background: var(--studio-action-hover); backdrop-filter: none; }
  [data-obr-button-finish="glass"] { --studio-button-filter: none; }
}
@media (forced-colors: active) {
  .obr-page-gradient, .obr-account-card::after { display: none; }
}

.lp-login-layer{isolation:isolate;overflow:hidden;pointer-events:none;--motion-opacity-cap:1;background-color:var(--login-base,#dceee5)}
body.lp-login>.lp-login-layer{position:fixed;inset:0;z-index:-1}
.lp-login-preview{position:relative;display:grid;place-items:center;min-height:108px;border-radius:12px;border:1px solid #738fa266}
.lp-login-preview span{position:relative;z-index:1;color:#19384b;background:white;border-radius:9px;padding:14px 24px;font:bold 13px system-ui;box-shadow:0 4px 15px #16293324}
@media(prefers-reduced-motion:reduce){.lp-login-layer::before{animation:none!important}}

body.obr-shell[data-console-style="luxe"][data-obr-studio-palette],
body.lp-login[data-login-theme="luxe"],.lp-login-layer[data-login-theme="luxe"][data-obr-studio-palette]{
 color-scheme:light;--base:#f3e9db;--bg:#f3e9db;--paper:#fffaf3;--ink:#392a24;--muted:#6d5649;--line:#d7bea0;--accent:#704528;--on-accent:white;--accent-dark:#392a24;--accent-wash:#eddbbf;--panel-tint:#f3e9db;--rail:#f3e9db;--nav:#eddbbf;--action:#704528;--action-hover:#392a24;
 --studio-base:#f3e9db;--studio-wash:#eddbbf;--studio-warm:#dcb780;--studio-cool:#d8afa2;--studio-action:#704528;--studio-action-hover:#392a24;
 --studio-header:#fffaf3;--studio-header-tint:#eddbbf;--studio-menu:#fffaf3;--studio-menu-tint:#f3e9db;--obr-header-color:#392a24;--obr-menu-color:#392a24;--obr-menu-item-background:#fffaf3;--obr-menu-item-hover:#f3e9db;--obr-menu-item-active:#eddbbf;--obr-menu-border:#d7bea0;--obr-header-border:#d7bea0;
 --login-accent:#704528;--login-paper:#fffaf3;--login-ink:#392a24;--login-trim:#d7bea0;
}

body.obr-shell[data-console-style="pastel"][data-obr-studio-palette],
body.lp-login[data-login-theme="pastel"],.lp-login-layer[data-login-theme="pastel"][data-obr-studio-palette]{
 color-scheme:light;--base:#f7effc;--bg:#f7effc;--paper:#fffaff;--ink:#382947;--muted:#685475;--line:#d7bbde;--accent:#68417e;--on-accent:white;--accent-dark:#382947;--accent-wash:#ebdcf7;--panel-tint:#f7effc;--rail:#f7effc;--nav:#ebdcf7;--action:#68417e;--action-hover:#382947;
 --studio-base:#f7effc;--studio-wash:#ebdcf7;--studio-warm:#f7b8d8;--studio-cool:#bca6ed;--studio-action:#68417e;--studio-action-hover:#382947;
 --studio-header:#fffaff;--studio-header-tint:#ebdcf7;--studio-menu:#fffaff;--studio-menu-tint:#f7effc;--obr-header-color:#382947;--obr-menu-color:#382947;--obr-menu-item-background:#fffaff;--obr-menu-item-hover:#f7effc;--obr-menu-item-active:#ebdcf7;--obr-menu-border:#d7bbde;--obr-header-border:#d7bbde;
 --login-accent:#68417e;--login-paper:#fffaff;--login-ink:#382947;--login-trim:#d7bbde;
}

body.lp-login{grid-template-columns:minmax(0,1fr)}
body.lp-login .gate-card{width:min(100%,var(--login-width,464px));max-width:none;padding:min(var(--login-pad,38px),7vw);background:var(--login-paper,white);border-color:var(--login-trim,white);overflow-wrap:anywhere}
body.lp-login .gate-card :is(h1,.field){color:var(--login-ink,#19384b)}
body.lp-login .gate-card :is(a,.gate-brand){color:var(--login-accent,#155e53)}
body.lp-login .gate-card form button{background:var(--login-accent,#155e53);color:white}
body.lp-login .gate-card input:not([type=hidden]){min-width:0;background:white}
body.lp-login .gate-card input:focus{border-color:var(--login-accent,#155e53);outline-color:var(--login-trim,#88dfca)}
body.lp-login[data-login-theme=luxe] .gate-card h1,body.obr-shell[data-console-style=luxe] .workspace h1{font-family:Georgia,serif}
.lp-login-preview{min-height:128px}
.lp-login-preview span{box-sizing:border-box;text-align:center;width:min(85%,calc(var(--login-width,464px) * .32));padding:calc(8px + var(--login-pad,38px) * .32) 6px;background:var(--login-paper,white);color:var(--login-ink,#19384b);border:1px solid var(--login-trim,white)}
.lp-login-preview span::after{content:"";display:block;margin:8px auto 0;height:6px;width:60%;border-radius:6px;background:var(--login-accent,#155e53)}
body.obr-shell[data-console-style=aurore][data-obr-studio-palette]{
 --studio-header:#1b363b;--studio-header-tint:#234c50;--studio-menu:#183236;--studio-menu-tint:#234246;--obr-header-color:#ecf8f6;--obr-menu-color:#ecf8f6;--obr-menu-item-background:#244449;--obr-menu-item-hover:#2b5056;--obr-menu-item-active:#335e62;--obr-menu-border:#60878a;--obr-header-border:#60878a;
 --studio-base:#10272e;--studio-wash:#193b40;--studio-warm:#235052;--studio-cool:#253d54;--studio-action:#24645a;--studio-action-hover:#184c45;
}
body.obr-shell .lp-bottom a{color:var(--obr-menu-color);font-weight:700}
body.obr-shell .lp-bottom select{max-width:100%;background:var(--obr-menu-item-background);color:var(--obr-menu-color)}
body.obr-shell .lp-bottom label{flex-wrap:wrap}
body.obr-shell:is([data-console-style=luxe],[data-console-style=pastel],[data-console-style=aurore]) .obr-menu .obr-nav-symbol{color:var(--obr-menu-color)}
