/* Spring R1 · Sakura morning material contract. One owner for all spring tokens.
   Public jx/season aliases are retained for existing components. Paper is warm,
   green is functional, blush is reserved for scenery. No geometry or JS here. */
:root[data-theme="spring"]{
 color-scheme:light;
 /* Shell, readable paper, and inset surfaces. */
 --jx-spring-shell:#fffef8;
 --jx-spring-paper:#fffef9;
 --jx-spring-paper-muted:#fafbf5;
 --jx-spring-paper-border:#dce8d6;
 --jx-spring-panel-surface:#f5f9f2;
 --jx-spring-panel-end:#fafcf8;
 --jx-spring-panel-seam:rgba(101,145,104,.13);
 --jx-spring-canvas:#f2f7ed;
 --jx-spring-focus:#4c8051;
 --jx-spring-focus-halo:rgba(76,128,81,.17);
 --jx-spring-touch-shadow:inset 0 2px 4px rgba(36,74,42,.20);
 --jx-spring-hover-shadow:0 5px 14px rgba(50,99,66,.14),inset 0 1px #fff8;
 --jx-spring-bloom-petal:#d998aa;
 --jx-spring-scroll:#a5c09f;
 --jx-spring-scroll-hover:#82a782;
 --jx-spring-control-border:#c9dcc5;
 --jx-spring-control-ink:#315940;
 --jx-spring-control-hover-border:#a9c9a5;
 --jx-spring-control-hover-ink:#28513a;
 --jx-spring-control:linear-gradient(145deg,#fffef9 0%,#f4f8f0 67%,#eaf4e6 100%);
 --jx-spring-control-hover:linear-gradient(145deg,#fffef9 0%,#edf6e9 58%,#dfefdc 100%);
 --jx-spring-primary:linear-gradient(145deg,#46794e 0%,#326342 100%);
 --jx-spring-primary-hover:linear-gradient(145deg,#3e7049 0%,#2c583b 100%);
 --jx-spring-primary-border:#3e7049;
 --jx-spring-primary-hover-border:#2c583b;
 --jx-spring-selection:linear-gradient(110deg,#f5f8f0,#e4f2da);
 --jx-spring-header-gradient:linear-gradient(112deg,#edf5e8 0%,#f6faf3 28%,#fffdfa 56%,#fff1f3 84%,#f8eaf0 100%);
 --jx-spring-workbench-header:linear-gradient(112deg,#fffef8 0%,#fcfdfa 50%,#f1f8ed 100%);
 --jx-spring-float-header:linear-gradient(110deg,#fffef9 0%,#fbfdf9 30%,#f4f9f1 68%,#eaf5e7 100%);
 --jx-spring-danger-border:#e9c8cd;
 --jx-blue:#457d45;--jx-blue-deep:#2e6134;--jx-ink:#334835;--jx-ink-strong:#243b29;--jx-muted:#546b56;
 --jx-muted-light:#647864;
 --jx-border:var(--jx-spring-paper-border);--jx-border-strong:#bfd3b8;
 --jx-bg:var(--jx-spring-shell);--jx-surface:var(--jx-spring-paper);--jx-surface-soft:#f1f7ec;
 --jx-blue-tint:#e4f2da;
 --jx-shadow:0 3px 12px #365c3909,0 12px 30px #365c3909;
 --jx-shadow-hover:0 9px 26px #365c391a;
 --jx-shadow-float:0 22px 60px #344e3830,0 4px 14px #344e380b;
 --jx-radius:17px;--jx-radius-control:10px;
 --theme-table-header-bg:#ebf3e6;--theme-table-header-color:#3c6543;
 --theme-table-cell-bg:var(--jx-spring-paper);--theme-table-panel-bg:var(--jx-spring-paper-muted);--theme-table-text-color:var(--jx-ink);--theme-table-grid-color:#c9d9c4;
 --season-hero:var(--jx-asset-season-spring-hero, url("/web/season_spring_hero.webp"));--season-detail:var(--jx-asset-season-spring-detail, url("/web/season_spring_detail.webp"));
 /* R2 scenic contract: paint order = readable paper / foreground / warm light / artwork.
    CSS images resolve only on matching visible components; no new JS or animation loops. */
 --jx-spring-scene:var(--jx-asset-spring-scene-wide, url("/web/spring_scene_wide.webp"));
 --jx-spring-lake:var(--jx-asset-spring-lake-wide, url("/web/spring_lake_wide.webp"));
 --jx-spring-petals:var(--jx-asset-spring-scene-petals, url("/web/spring_scene_petals.svg"));
 --jx-spring-light:radial-gradient(ellipse at 79% 0%,rgba(255,247,212,.025),transparent 50%);
 --jx-spring-scene-veil:linear-gradient(90deg,rgba(255,254,248,.96) 0%,rgba(255,254,248,.91) 16%,rgba(255,254,248,.73) 26%,rgba(255,254,248,.16) 40%,transparent 54%);
 --jx-spring-scene-stack:var(--jx-spring-scene-veil),var(--jx-spring-petals),var(--jx-spring-light),var(--jx-spring-scene);
 --jx-spring-scene-size:100% 100%,100% 100%,100% 100%,cover;
 --jx-spring-scene-position:center,center,center,center 48%;
 --jx-spring-lake-stack:var(--jx-spring-petals),var(--jx-spring-light),var(--jx-spring-lake);
 --jx-spring-lake-position:center,center,67% 74%;
 --jx-spring-lake-size:100% 100%,100% 100%,cover;
 --season-card:var(--jx-spring-paper);--season-card-soft:#f2f8ed;--season-border:var(--jx-border);--season-top:#82ae78;--season-accent:var(--jx-blue);
 --season-fade:#f8fbf5;--season-text:#294b32;--season-side:var(--jx-spring-shell);--season-title:"SPRING  /  SEASON 01";
 --spring-ink:var(--season-text);--spring-moss:#3e704d;--spring-petal:#d998aa;--spring-edge:#ccddca;--spring-shadow:var(--jx-shadow);
 --jx-fullpage-grad:var(--jx-spring-header-gradient);--jx-head-bg:var(--jx-spring-workbench-header);--jx-float-title-bg:var(--jx-spring-float-header);
 --jx-fullpage-accent:var(--jx-blue);--jx-fullpage-border:#d7e5d2;--jx-fullpage-ink:#2d5338;
 --theme-scroll-thumb:var(--jx-spring-scroll);--theme-scroll-thumb-hover:var(--jx-spring-scroll-hover);
 --jx-scroll-thumb:var(--jx-spring-scroll);--jx-scroll-hover:var(--jx-spring-scroll-hover);
 --jx-scrollbar-thumb:var(--jx-spring-scroll);--jx-scrollbar-thumb-hover:var(--jx-spring-scroll-hover);
 --jx-tool-sidebar-paper:var(--jx-spring-shell);--jx-page-canvas:var(--jx-spring-shell);
}
/* Match the specificity of the existing semantic theme contract, not its components. */
html[data-theme="spring"]:not([data-theme="classic"]){
 --jx-ui-surface:var(--jx-spring-paper);--jx-ui-page:var(--jx-spring-shell);
 --jx-ui-accent:var(--jx-blue);--jx-ui-soft:var(--jx-surface-soft);--jx-ui-border:var(--jx-border-strong);
 --jx-ui-text:var(--jx-ink);--jx-ui-muted:var(--jx-muted);--jx-ui-on-accent:#fff;
 --jx-ring:0 0 0 3px #4c805140;
 --jx-ui-danger:#a44551;--jx-ui-danger-soft:#fbecee;
 --jx-ui-warning:#89591f;--jx-ui-warning-soft:#fff3df;
 --jx-ui-success:#36784c;--jx-ui-success-soft:#e9f5e7;
}
/* Seasons v1.7.0: spring/winter new, autumn incremental refinement only.
   Data, grids, figures, and formula-editor surfaces are deliberately unillustrated. */

/* Winter scenery tokens only. The actual winter palette and layout tokens
   live exclusively in winter.css, not in two conflicting declarations. */
:root[data-theme="winter"]{
 color-scheme:light;
 --season-hero:var(--jx-asset-season-winter-hero, url("/web/season_winter_hero.webp"));--season-detail:var(--jx-asset-season-winter-detail, url("/web/season_winter_detail.webp"));
 --season-card:#fcfdff;--season-card-soft:#f0f5fe;--season-border:#d7e4f4;--season-top:#96b6dd;--season-accent:#4774ac;
 --season-fade:#f4f8fe;--season-text:#2a4265;--season-side:#f1f6fd;--season-title:"WINTER  /  SEASON 04";
}
html:is([data-theme="spring"],[data-theme="winter"]) :is(.ws-header,.topbar,.sheet-top){background:linear-gradient(105deg,#fffefa,var(--season-card-soft));border-bottom:1px solid var(--season-border)}
html:is([data-theme="spring"],[data-theme="winter"]) :is(.ws-logo,.brand-mark,.mg-mark){background:var(--season-accent);color:#fff;border:1px solid var(--season-top);box-shadow:0 4px 12px #294b3322;border-radius:11px}
html:is([data-theme="spring"],[data-theme="winter"]) :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary,.jx-dialog-confirm,.jx-time-confirm,.mg-primary){background:var(--season-accent);color:#fff;border-color:var(--season-accent);box-shadow:none}
html:is([data-theme="spring"],[data-theme="winter"]) :is(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--season-accent);outline-offset:2px}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-sidebar{background:linear-gradient(180deg,#fffefa,var(--season-side));border-right:1px solid var(--season-border)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-sidebar-top{background:var(--season-card-soft);border-color:var(--season-border)}
html[data-theme="winter"] .ws-sidebar-bottom::before{content:"";display:block;height:82px;margin:0 3px 12px;border-radius:13px;border:1px solid var(--season-border);background-image:linear-gradient(0deg,#182e3d37,transparent 75%),var(--season-detail);background-size:cover;background-position:center 65%;box-shadow:0 6px 16px #22371110}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-tree-item.selected{background:var(--jx-blue-tint);border-color:var(--season-top);color:var(--season-text);box-shadow:inset 3px 0 0 var(--season-accent)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-tree-item:hover:not(.selected){background:var(--season-card-soft)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row{position:relative;isolation:isolate;border:1px solid var(--season-border);overflow:hidden;box-shadow:0 15px 38px #394e4620;background-color:var(--season-fade);background-image:linear-gradient(90deg,var(--season-fade) 0%,color-mix(in srgb,var(--season-fade) 98%,transparent) 26%,color-mix(in srgb,var(--season-fade) 86%,transparent) 47%,transparent 88%),var(--season-hero);background-size:cover;background-position:center 53%}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row>div:first-child{position:relative;z-index:1;max-width:62%}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row h1{color:var(--season-text);}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row p{color:var(--jx-muted);max-width:440px}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row::after{content:"SPRING / SEASON 01";position:absolute;right:19px;bottom:15px;color:#fff;text-shadow:0 2px 9px #1b4057cc;font:700 11px/1.5 ui-monospace,monospace;letter-spacing:1.3px}
html[data-theme="winter"] .ws-title-row::after{content:"WINTER / SEASON 04"}
html:is([data-theme="spring"],[data-theme="winter"]) :is(.ws-stat,.ws-panel,.ws-module-card,.ws-folder-card,.mg-panel){background:var(--season-card);border-color:var(--season-border);box-shadow:0 4px 16px #394e460b}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-stat{background:linear-gradient(140deg,var(--season-card) 54%,var(--season-card-soft));border-top:2px solid var(--season-top)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-stat strong{color:var(--season-text)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-panel-head{border-top:2px solid var(--season-top)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-module-card{background:linear-gradient(150deg,var(--season-card) 45%,var(--season-card-soft));border-top:2px solid var(--season-top)}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-module-symbol{background:var(--jx-blue-tint);color:var(--jx-blue);border:1px solid var(--season-border);border-radius:15px}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-form-sheet-header{min-height:80px;border-top:2px solid var(--season-top);border-bottom:1px solid var(--season-border);background-image:linear-gradient(90deg,var(--season-card) 0%,var(--season-card) 42%,#ffffffce 75%,#ffffff15),var(--season-detail);background-size:cover,auto 235px;background-position:center,right 52%;background-repeat:no-repeat}
html:is([data-theme="spring"],[data-theme="winter"]) .ws-form-sheet-body{background:var(--season-card-soft)}
html:is([data-theme="spring"],[data-theme="winter"]) .jx-designer-page .jx-canvas-toolbar{border-top:2px solid var(--season-top);background-image:linear-gradient(90deg,var(--season-card) 0%,#ffffffec 55%,#ffffff9c),var(--season-detail);background-size:cover,auto 230px;background-position:center,right center;background-repeat:no-repeat}
html:is([data-theme="spring"],[data-theme="winter"]) .jx-designer-page :is(.palette,.properties,.canvas-wrap){background:var(--season-card-soft)}
html:is([data-theme="spring"],[data-theme="winter"]) .worker-card::before{content:"";display:block;height:95px;margin:-2px -2px 18px;border-radius:12px 12px 7px 7px;background-image:linear-gradient(90deg,#ffffff4a,#ffffff00),var(--season-detail);background-size:cover;background-position:center}
html:is([data-theme="spring"],[data-theme="winter"]) .mg-heading{min-height:132px;padding:25px;border-radius:16px;border:1px solid var(--season-border);background-image:linear-gradient(90deg,var(--season-card) 0%,#ffffffed 55%,#ffffff22),var(--season-detail);background-size:cover;background-position:center}
html:is([data-theme="spring"],[data-theme="winter"]) :is(.sheet-grid,.ws-record-panel,.ws-table-wrap,.jx-logic-workspace,.jx-formula-workbench){background:var(--jx-surface);color:var(--jx-ink)}
/* Autumn refinement: preserve the original imagery, overall composition and warm-brown identity. */
html[data-theme="autumn"] .ws-title-row{background-position:center 55%;box-shadow:0 14px 32px #68432b17,inset 0 1px 0 #ffffffaf}
html[data-theme="autumn"] :is(.ws-stat,.ws-panel,.ws-folder-card,.ws-module-card){box-shadow:0 5px 19px #68432b0c}
html[data-theme="autumn"] .ws-module-card:hover{box-shadow:0 12px 28px #73452d1c;transform:translateY(-1px)}
html[data-theme="autumn"] .ws-form-sheet-header{background-position:center,right 51%}
@media(max-width:760px){html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row{background-position:center 54%}html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row>div:first-child{max-width:94%}html:is([data-theme="spring"],[data-theme="winter"]) .ws-title-row::after{font-size:9px;right:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){html:is([data-theme="spring"],[data-theme="winter"],[data-theme="autumn"]) *{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Override the legacy generic theme-contract backdrop at higher specificity. */
html[data-theme="spring"]:not([data-theme="classic"]) .ws-title-row{background-image:var(--jx-spring-scene-stack);background-size:var(--jx-spring-scene-size);background-position:var(--jx-spring-scene-position);background-repeat:no-repeat}
@media(max-width:800px){
 :root[data-theme="spring"]{
  --jx-spring-scene:var(--jx-asset-spring-scene-compact, url("/web/spring_scene_compact.webp"));
  --jx-spring-lake:var(--jx-asset-spring-lake-compact, url("/web/spring_lake_compact.webp"));
  --jx-spring-scene-veil:linear-gradient(90deg,rgba(255,254,248,.96) 0%,rgba(255,254,248,.88) 24%,rgba(255,254,248,.68) 43%,rgba(255,254,248,.12) 65%,transparent 78%);
  --jx-spring-scene-size:100% 100%,100% 100%,100% 100%,cover;
  --jx-spring-scene-position:center,center,center,center 49%;
  --jx-spring-lake-position:center,center,74% 70%;
 }
}
@media print{
 html[data-theme="spring"]:not([data-theme="classic"]) .ws-title-row{background-image:none!important;background-color:#fff!important}
}



html[data-theme="winter"]:not([data-theme="classic"]) .ws-title-row{background-image:linear-gradient(90deg,#f4f8fe 0%,#f4f8fefa 28%,#f4f8fedc 48%,#f4f8fe1a 89%),var(--jx-asset-season-winter-hero, url("/web/season_winter_hero.webp"));background-size:cover;background-position:center 53%}

/* 春 · 樱野晨光：装饰只出现在导航与标题，不覆盖数据和交互。 */

html[data-theme="spring"]:not([data-theme="classic"]) :is(.ws-sidebar,.hr-side,.bp-sidebar){background:var(--jx-spring-shell);border-color:#dbe8d6}
html[data-theme="spring"] :is(.hr-topbar,.bp-top){background:var(--jx-head-bg,linear-gradient(112deg,var(--jx-spring-paper),#f1f8ed));border-color:#dce8d8}
html[data-theme="spring"] :is(.ws-logo,.brand-mark,.hr-brand-mark,.bp-logo){background:linear-gradient(145deg,#6b9b69,#386e4a);color:#fff;border:1px solid #91b58c;box-shadow:0 5px 13px #32633b30,inset 0 1px #ffffff70;border-radius:13px}
html[data-theme="spring"] :is(.ws-title-row,.jx-designer-page .jx-canvas-toolbar,.ws-form-sheet-header){position:relative;isolation:isolate;overflow:hidden}
html[data-theme="spring"] .ws-title-row:before,html[data-theme="spring"] .jx-designer-page .jx-canvas-toolbar:before,html[data-theme="spring"] .ws-form-sheet-header:before{content:"";position:absolute;z-index:0;inset:0 0 0 55%;pointer-events:none;background-image:var(--jx-asset-spring-blossom, url("/web/spring_blossom.svg")),var(--jx-asset-spring-blossom, url("/web/spring_blossom.svg")),var(--jx-asset-spring-blossom, url("/web/spring_blossom.svg"));background-repeat:no-repeat;background-size:15px 15px,10px 10px,7px 7px;background-position:72% 18%,88% 53%,39% 72%;opacity:.52}
html[data-theme="spring"] .jx-canvas-toolbar>*,html[data-theme="spring"] .ws-form-sheet-header>*{position:relative;z-index:1}
html[data-theme="spring"] :is(.ws-primary,.form-submit,.jx-dialog-confirm,.jx-time-confirm,.mg-primary,.hr-primary,.bp-primary,.sheet-top button.primary){background:var(--jx-spring-primary);color:#fff;border:1px solid var(--jx-spring-primary-border);box-shadow:0 3px 8px #3e704d29,inset 0 1px #ffffff53;border-radius:11px}
html[data-theme="spring"] :is(.ws-primary,.form-submit,.jx-dialog-confirm,.jx-time-confirm,.mg-primary,.hr-primary,.bp-primary,.sheet-top button.primary):hover:not(:disabled){background:var(--jx-spring-primary-hover);box-shadow:0 6px 14px #3e704d33,inset 0 1px #ffffff70}
html[data-theme="spring"] :is(.jx-designer-page .jx-canvas-actions .jx-config-button,.ws-secondary,.hr-outline,.bp-button:not(.bp-primary),.ws-icon-btn,.jx-designer-page .btn.small){color:#315b3e;background:linear-gradient(155deg,var(--jx-spring-paper),#edf6e9);border:1px solid #c8ddc5;box-shadow:0 2px 7px #42684710,inset 0 1px #fff;border-radius:11px;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
html[data-theme="spring"] :is(.jx-designer-page .jx-canvas-actions .jx-config-button,.ws-secondary,.hr-outline,.bp-button:not(.bp-primary),.ws-icon-btn,.jx-designer-page .btn.small):hover:not(:disabled){color:#234d31;border-color:#8eb58b;background:linear-gradient(150deg,var(--jx-spring-paper),#e6f2e2);box-shadow:0 5px 12px #42684720,inset 0 1px #fff;transform:translateY(-1px)}
html[data-theme="spring"] :is(button:disabled,input:disabled){opacity:.55;transform:none;box-shadow:none;cursor:not-allowed}
html[data-theme="spring"] :is(.ws-tree-icon,.ws-folder-graphic,.ws-module-symbol,.jx-config-icon){color:#58875d}html[data-theme="spring"] :is(.ws-module-symbol,.ws-user-circle){background:linear-gradient(145deg,#f8fbf4,#e9f4e4);border:1px solid #d5e5d0;color:#548158}
html[data-theme="spring"] .ws-tree-item.selected{background:linear-gradient(100deg,#f6faef,#e6f2df);border-color:#c3dcbf;color:#2d5837;box-shadow:inset 3px 0 #6b9b6c}
html[data-theme="spring"] :is(.ws-panel,.ws-stat,.ws-modal,.hr-panel,.hr-metric,.bp-panel,.bp-metric,.jx-dialog){border-color:#d9e7d4;box-shadow:var(--spring-shadow)}
html[data-theme="spring"] :is(.ws-panel-head,.hr-panel-head,.bp-panel-head){border-top-color:#91b98a}
html[data-theme="spring"] :is(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--jx-spring-focus);outline-offset:2px}
@media(prefers-reduced-motion:reduce){html[data-theme="spring"] .ws-title-row:before,html[data-theme="spring"] .jx-designer-page .jx-canvas-toolbar:before,html[data-theme="spring"] .ws-form-sheet-header:before{animation:none}html[data-theme="spring"] :is(button,.ws-folder-card){transition:none!important}}
@media print{html[data-theme="spring"] .ws-title-row:before,html[data-theme="spring"] .jx-designer-page .jx-canvas-toolbar:before,html[data-theme="spring"] .ws-form-sheet-header:before{display:none}}

html[data-theme="spring"] .jx-designer-page .jx-canvas-actions .jx-config-icon{color:#6a9366;background:#e9f4e5;border:1px solid #d1e3c9;border-radius:6px;padding:2px;width:20px;height:20px;flex-basis:20px}
html[data-theme="spring"] .ws-tree-item.selected .ws-tree-icon{color:#3f7850}
html[data-theme="spring"] .ws-tree-item.selected .ws-tree-icon svg,html[data-theme="spring"] .ws-module-symbol svg{filter:drop-shadow(0 1px 1px #fff)}

/* Spring canvas hero uses a continuous theme material. Its artwork is drawn
   separately with a true alpha mask, not an opaque gradient laid over a hard
   edged background image. See the final spring canvas rule below. */
html[data-theme="spring"] .jx-designer-page .jx-canvas-toolbar{
 background-color:#f7faf4;
 background-image:var(--jx-spring-header-gradient);
 background-size:100% 100%;
 background-position:center;
 background-repeat:no-repeat;
}

/* Spring header hierarchy · classic-blue is the structural reference.
   Preserve WHERE chrome has a gradient and WHERE it is quiet.  The spring
   palette changes the material, never the hierarchy of adjacent regions. */

/* Workbench top chrome has the SAME quiet hierarchy as classic blue. */
html[data-theme="spring"] :is(.topbar:not(.jx-fullpage-header),.sheet-top:not(.jx-fullpage-header),.ws-tools-panel-head,.ws-floating-header,.ws-modal-header,.jx-studio-top:not(.jx-fullpage-header)){
 background-image:var(--jx-spring-workbench-header)!important;
 background-color:var(--jx-spring-paper)!important;
 border-top:0!important;
 box-shadow:none!important;
}
/* Classic-blue workbench navigation is deliberately a plain surface, NOT a
   gradient. Spring mirrors that choice; only its tint and shadow are seasonal. */
html[data-theme="spring"] .ws-header{
 background-image:none!important;
 background-color:var(--jx-spring-shell)!important;
 border-top:0!important;
 border-bottom-color:#e4eae0!important;
 box-shadow:0 4px 18px rgba(52,92,58,.045)!important;
}
/* The classic-blue sidebar brand block is plain. Do not add a spring-only
   pink rectangle here; keep the division gentle and intentional. */
html[data-theme="spring"] .ws-sidebar-top{
 background:var(--jx-spring-shell)!important;
 border-top:0!important;
 border-bottom-color:#e5ebe2!important;
 box-shadow:none!important;
}
/* Full-page headers DO use the full theme gradient, as in classic blue.
   Keep this separate from the workbench header above. */
html[data-theme="spring"] :is(.topbar,.sheet-top,.jx-studio-top).jx-fullpage-header{
 background:var(--jx-spring-header-gradient)!important;
 border-top:0!important;
 box-shadow:none!important;
}
/* Spring premium 2.8.1 · top chrome is visually continuous, not striped.
   No accent bars atop panels, cards, dialogs or designer toolbars. */

html[data-theme="spring"] :is(.topbar,.sheet-top,.ws-tools-panel-head,.ws-floating-header,.ws-modal-header,.jx-studio-top,.jx-canvas-toolbar,.ws-form-sheet-header){
 border-top:0!important;
 border-bottom-color:transparent!important;
 box-shadow:0 7px 22px #4367420a!important;
 background-color:var(--jx-spring-paper);
}
html[data-theme="spring"] :is(.ws-panel-head,.jx-canvas-toolbar,.ws-form-sheet-header,.ws-stat,.ws-module-card,.ws-folder-card,.mg-panel-head,.jx-settings-group,.jx-fullpage-header){
 border-top:0!important;
}
/* A quiet navigation bar must not be promoted into a full-page hero.
   Shared token above controls its understated spring surface. */
/* Match normal UI buttons to the seasonal palette. The single-button contract
   still owns icon, height, layout and accessibility. */
html[data-theme="spring"] .jx-fullpage-header button.jx-header-save,
html[data-theme="spring"] :is(.ws-primary,.btn.primary,.form-submit,.jx-dialog-confirm,.sheet-top button.primary,.mg-primary,.ws-tools-panel .ws-primary){
 background:var(--jx-spring-primary)!important;
 border-color:var(--jx-spring-primary-border)!important;color:#fff!important;
 box-shadow:0 3px 10px #497f5825!important;
}
html[data-theme="spring"] .jx-fullpage-header button.jx-header-save:hover:not(:disabled),
html[data-theme="spring"] :is(.ws-primary,.btn.primary,.form-submit,.jx-dialog-confirm,.sheet-top button.primary,.mg-primary):hover:not(:disabled){
 background:var(--jx-spring-primary-hover)!important;border-color:var(--jx-spring-primary-hover-border)!important;
 box-shadow:0 5px 13px #497f5830!important;
}
html[data-theme="spring"] :is(.jx-fullpage-header .jx-header-back,.ws-secondary,.ws-icon-btn,.ws-tools-close,.ws-floating-close,.ws-modal-header .ws-icon-btn,.jx-schema-close,.jx-logic-close,.jx-studio-close){
 color:#426d4b!important;border-color:#d6e3d0!important;
 background-color:var(--jx-spring-paper)!important;background-image:none!important;
}
html[data-theme="spring"] :is(.jx-fullpage-header .jx-header-back,.ws-secondary,.ws-icon-btn,.ws-tools-close,.ws-floating-close,.ws-modal-header .ws-icon-btn,.jx-schema-close,.jx-logic-close,.jx-studio-close):hover:not(:disabled){
 color:#315a3b!important;background:#edf6e8!important;
 border-color:#b7d0b0!important;box-shadow:0 2px 9px #497f581c!important;
}
html[data-theme="spring"] .jx-fullpage-header :is(a.jx-header-back,button.jx-header-back,button.jx-header-save):focus-visible,
html[data-theme="spring"] :is(button,a,input,textarea,select,[tabindex]):focus-visible{
 outline-color:var(--jx-spring-focus)!important;
}
/* 春季滚动条：保留原有滚动能力，弱化轨道和边界，让细绿滑块融入表单。 */
html[data-theme="spring"] :where(*, *::before, *::after){
 scrollbar-color:var(--jx-spring-scroll) transparent;
}
html[data-theme="spring"] ::-webkit-scrollbar{width:8px;height:8px;}
html[data-theme="spring"] ::-webkit-scrollbar-track{background:transparent!important;}
html[data-theme="spring"] ::-webkit-scrollbar-thumb{
 background:var(--jx-spring-scroll)!important;border:2px solid transparent!important;
 background-clip:padding-box!important;border-radius:999px!important;
}
html[data-theme="spring"] ::-webkit-scrollbar-thumb:hover{background:var(--jx-spring-scroll-hover)!important;}
/* 关联弹层的滑块与页面滑块同色，窄空间也留白，不出现大块色条。 */
html[data-theme="spring"] .jx-related-choices{scrollbar-color:var(--jx-spring-scroll) transparent!important;}
html[data-theme="spring"] .jx-related-choices::-webkit-scrollbar-thumb{
 background:var(--jx-spring-scroll)!important;border:2px solid transparent!important;background-clip:padding-box!important;
}
html[data-theme="spring"] .jx-related-choices::-webkit-scrollbar-thumb:hover{background:var(--jx-spring-scroll-hover)!important;}
/* Static decoration and existing hover feedback; R3 owns ambient motion. */
@media(prefers-reduced-motion:no-preference){
 html[data-theme="spring"] .ws-module-card{transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;}
 html[data-theme="spring"] .ws-module-card:hover{box-shadow:0 8px 25px #456b401e;}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="spring"] .ws-title-row::before{animation:none!important;}
 html[data-theme="spring"] .ws-module-card:hover{transform:none!important;}
}
@media print{
 html[data-theme="spring"] .ws-title-row::before{display:none!important;}
}
/* Spring consistency contract · 2.8.3 returned patch.
   The current theme owns the colors/material; existing components own geometry.
   These scopes intentionally NEVER match classic, autumn, summer or winter. */

/* No accidental accent strips or shadow lines at the edge of form-canvas / panel headers. */
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar{
 border:0!important;border-bottom:0!important;border-top:0!important;
 box-shadow:none!important;
 background-color:#f7faf4;
}
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::after,
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::before{
  border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
html[data-theme="spring"] .jx-designer-page .panel:has(>.jx-canvas-toolbar){
  border-color:#e4eae0!important;
}
/* Adjacent toolbar and canvas are one continuous surface. The toolbar's
   bottommost pixel matches the first pixel below it; no seam or border stripe. */
html[data-theme="spring"] .jx-designer-page .panel:has(>.jx-canvas-toolbar) > .jx-canvas-toolbar::before{
 border:0!important;box-shadow:none!important;
}

/* Consistent chrome in headers, modal footers, panels and side sheets. */
html[data-theme="spring"] :is(.ws-modal-footer,.ws-form-sheet-footer,.jx-schema-foot,.jx-logic-foot,.ws-floating-footer){
  border-color:#e3ebdf!important;background:var(--jx-spring-paper);
}
/* Do not collapse/resize native controls, change button semantics, or recolor dangerous actions. */
html[data-theme="spring"] :is(
  .ws-header-right button:not(.jx-appearance-popup button),.ws-header-right .jx-appearance>summary,
  .ws-tools-panel button,.ws-record-toolbar button,.ws-record-top button,
  .ws-modal button,.ws-floating-settings button,.ws-form-overlay button,
  .ws-search-panel button,.ws-import-dialog button,
  .jx-designer-page .jx-canvas-actions .jx-config-button,
  .jx-designer-page .jx-canvas-actions .jx-critical-button,
  .jx-designer-page .nav .btn,.jx-designer-page .node-tools button,
  .jx-schema-dialog button,.jx-logic-dialog button,
  .jx-fullpage-header .btn,.jx-fullpage-header .jx-header-back,
  .hr-topbar button,.hr-dialog button,.bp-top button,.bp-modal button,
  .sheet-top button:not(.jx-appearance-popup button),.sheet-toolbar button,.ws-sort-dialog button,
  .jx-dialog button,.jx-time-wheel button,.jx-time-dialog button
 ):not(.primary):not(.ws-primary):not(.jx-dialog-confirm):not(.jx-time-confirm):not(.jx-header-save):not([class*="danger"]):not([class*="delete"]):not([aria-pressed="true"]):not(.active){
   background:var(--jx-spring-control)!important;
   border-color:var(--jx-spring-control-border)!important;
   color:var(--jx-spring-control-ink)!important;
   box-shadow:0 2px 8px rgba(52,94,58,.06),inset 0 1px rgba(255,255,255,.8)!important;
   border-radius:var(--jx-radius-control,10px);
 }
html[data-theme="spring"] :is(
  .ws-header-right button:not(.jx-appearance-popup button),.ws-header-right .jx-appearance>summary,
  .ws-tools-panel button,.ws-record-toolbar button,.ws-record-top button,
  .ws-modal button,.ws-floating-settings button,.ws-form-overlay button,
  .jx-designer-page .jx-canvas-actions .jx-config-button,
  .jx-designer-page .jx-canvas-actions .jx-critical-button,
  .jx-designer-page .nav .btn,.jx-schema-dialog button,.jx-logic-dialog button,
  .jx-fullpage-header .btn,.jx-fullpage-header .jx-header-back,
  .hr-topbar button,.bp-top button,.sheet-top button:not(.jx-appearance-popup button),.ws-sort-dialog button
 ):not(.primary):not(.ws-primary):not([class*="danger"]):not([class*="delete"]):not(.active):hover:not(:disabled){
   background:var(--jx-spring-control-hover)!important;border-color:var(--jx-spring-control-hover-border)!important;
   color:var(--jx-spring-control-hover-ink)!important;box-shadow:0 4px 12px rgba(52,94,58,.12),inset 0 1px #fff!important;
 }
html[data-theme="spring"] :is(
  .ws-header-right .ws-primary,.ws-header-right .btn.primary,
  .ws-modal .ws-primary,.ws-form-overlay .ws-primary,.ws-form-overlay .btn.primary,
  .jx-designer-page .btn.primary,.jx-schema-dialog .btn.primary,
  .ws-floating-settings .ws-primary,.ws-tools-panel .ws-primary,
  .jx-fullpage-header .jx-header-save,.jx-fullpage-header .btn.primary,
  .hr-topbar .hr-primary,.bp-top .bp-primary,.sheet-top .primary,
  .jx-dialog-confirm,.jx-time-confirm
 ){
   background:var(--jx-spring-primary)!important;border-color:var(--jx-spring-primary-border)!important;
   color:white!important;box-shadow:0 3px 10px rgba(52,94,58,.17),inset 0 1px #ffffff58!important;
 }
html[data-theme="spring"] :is(.ws-primary,.btn.primary,.jx-dialog-confirm,.jx-time-confirm,.jx-header-save):hover:not(:disabled){
  background:var(--jx-spring-primary-hover)!important;border-color:var(--jx-spring-primary-hover-border)!important;
}
/* Spring action/selection states: warm ivory + moss only; the pink belongs to scenery and headers. */
html[data-theme="spring"] :is(.ws-sort-option.selected,.ws-record-toolbar .active,.ws-record-top .active,.ws-modal [aria-pressed="true"],.jx-designer-page .layout-tab.active){
 background:var(--jx-spring-selection)!important;
 border-color:#a8c6a3!important;color:#315b40!important;
}
/* Keep disabled/danger/field-edit controls semantically distinct. */
html[data-theme="spring"] :is(button:disabled,[aria-disabled="true"]){opacity:.57;box-shadow:none!important;transform:none!important;}
html[data-theme="spring"] :is(.btn.danger,.ws-danger,.jx-dialog-danger,[data-danger="true"]){
 color:var(--jx-ui-danger,#a94350)!important;
}
/* Shared precision cursor retained. Spring no longer owns a flower cursor;
   keep existing text, drag and resize feedback. */
@media (hover:hover) and (pointer:fine){
  html[data-theme="spring"] body{cursor:url('/web/unified_cursor.png') 2 1,auto!important;}
  html[data-theme="spring"] :is(button,a,summary,select,label,[role="button"],[role="tab"],.ws-tree-item,.ws-module-card,.ws-bottom-link){
    cursor:url('/web/unified_cursor.png') 2 1,pointer!important;
  }
  html[data-theme="spring"] :is(input,textarea,[contenteditable="true"],.sheet-input,[role="textbox"]){cursor:text!important;}
  html[data-theme="spring"] :is(.ws-draggable,.designer-node,.jx-drag-grip,.ws-form-sheet-header,
    .ws-modal-header,.ws-floating-header,.ws-tools-panel-head,.hr-modal-head,.bp-modal-head,
    .hr-schedule-fill-handle,.sheet-fill-handle,[draggable="true"],[style*="cursor: grab"],[style*="cursor:grab"]){
    cursor:url('/web/unified_cursor.png') 2 1,grab!important;
  }
  html[data-theme="spring"] :is(.ws-draggable,.designer-node,.jx-drag-grip,.ws-form-sheet-header,
    .ws-modal-header,.ws-floating-header,.ws-tools-panel-head,.hr-modal-head,.bp-modal-head,
    [draggable="true"],[style*="cursor: grab"],[style*="cursor:grab"]):active,
  html[data-theme="spring"] :is(.is-dragging,.ws-drag-source,.jx-pointer-dragging,.jx-pointer-dragging *){
    cursor:url('/web/unified_cursor.png') 2 1,grabbing!important;
  }
  /* Resizers need directional feedback. Match the green spring palette, but retain resize axes. */
  html[data-theme="spring"] :is(.jx-resize-n,.jx-resize-s,[style*="cursor: ns-resize"]){cursor:ns-resize!important;}
  html[data-theme="spring"] :is(.jx-resize-e,.jx-resize-w,.ws-sidebar-resizer,.ws-col-grip,[role="separator"],[style*="cursor: ew-resize"],[style*="cursor: col-resize"]){cursor:ew-resize!important;}
  html[data-theme="spring"] :is(.jx-resize-ne,.jx-resize-sw,[style*="cursor: nesw-resize"]){cursor:nesw-resize!important;}
  html[data-theme="spring"] :is(.jx-resize-nw,.jx-resize-se,[style*="cursor: nwse-resize"]){cursor:nwse-resize!important;}
  html[data-theme="spring"] :is(.ws-sidebar-dragging,.ws-sidebar-dragging *,body.ws-resizing-columns,body.ws-resizing-columns *){cursor:ew-resize!important;}
}

/* Legacy quick-access header used a painted horizontal ::after. No more. */
html[data-theme="spring"] .ws-tools-panel-head::after{content:none!important;display:none!important;}
html[data-theme="spring"] .ws-sidebar-tools{border-top:0!important;box-shadow:none!important;}
html[data-theme="spring"] :is(.ws-tools-panel-head small,.ws-tools-panel-head strong){color:var(--jx-ink)!important;}
html[data-theme="spring"] .ws-tools-panel-head small{color:var(--jx-muted)!important;}
/* The scroll tracks on secondary panels inherit the spring thumb too. */
html[data-theme="spring"] :is(.sheet-grid,.jx-print-overlay,.ws-tools-panel,.ws-tree,.ws-content,.jx-designer-page,.jx-appearance-popup){scrollbar-color:var(--jx-spring-scroll) transparent!important;}

/* Spring surface-continuity contract (2.8.5).
   Search, sort, schema settings and new/edit record windows share ONE light
   ivory-to-moss header. Do not inherit the hero/photo header used elsewhere.
   Body and footer are successive tones of one surface, not independent slabs.
   Geometry, button styling, resizing, and classic-blue remain untouched. */
html[data-theme="spring"] :is(
  .ws-modal-layer .ws-modal > .ws-modal-header,
  .ws-floating-header,
  .ws-tools-panel-head,
  .jx-schema-overlay .jx-schema-dialog > .jx-schema-head,
  .ws-form-overlay .ws-form-sheet > .ws-form-sheet-header
){
  background:var(--jx-spring-float-header)!important;
  background-image:var(--jx-spring-float-header)!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  border-top:0!important;
  border-bottom:1px solid var(--jx-spring-panel-seam)!important;
  box-shadow:0 5px 14px rgba(61,100,69,.035)!important;
}
/* New record previously inherited a two-layer landscape from the generic
   seasonal sheet header, overriding the common float surface. Enforce the
   same header material without changing the title, icon or action buttons. */
html[data-theme="spring"] .ws-form-overlay.jx-new-form-open .ws-form-sheet > .ws-form-sheet-header,
html[data-theme="spring"] .ws-record-edit-overlay .ws-form-sheet > .ws-form-sheet-header{
  background:var(--jx-spring-float-header)!important;
  background-image:var(--jx-spring-float-header)!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  border-top:0!important;
  border-bottom:1px solid var(--jx-spring-panel-seam)!important;
}
html[data-theme="spring"] .jx-schema-overlay .jx-schema-head .jx-designer-float-icon{
 background:linear-gradient(145deg,#e8f4e7,#f8f4f1)!important;
 border-color:#d3e3d0!important;
 color:#407b50!important;
}
/* The scroll gutter and the surrounding panel must have the same substrate;
   otherwise resizing or vertical scrolling reveals a hard white/green strip. */
html[data-theme="spring"] :is(
 .ws-modal-layer .ws-modal,.ws-form-overlay .ws-form-sheet,
 .jx-schema-overlay .jx-schema-dialog,.ws-floating-settings
){
 background-color:var(--jx-spring-panel-end)!important;
 border-color:rgba(101,145,104,.16)!important;
}
/* Continuous material across the content/scroll and action edges.
   Match the last content tone to the first footer tone; do not introduce
   extra saturated borders or opaque white blocks between them. */
html[data-theme="spring"] :is(
  .ws-modal-body,.ws-floating-body,.ws-form-sheet-body,
  .jx-schema-overlay .jx-schema-dialog > .jx-schema-body
){
  background-color:var(--jx-spring-panel-surface)!important;
  background-image:linear-gradient(180deg,var(--jx-spring-panel-surface) 0%,var(--jx-spring-panel-end) 100%)!important;
  background-repeat:no-repeat!important;
  border-color:var(--jx-spring-panel-seam)!important;
}
html[data-theme="spring"] :is(
  .ws-modal-footer,.ws-floating-footer,.ws-form-sheet-footer,
  .jx-schema-overlay .jx-schema-dialog > .jx-schema-foot
){
  background:linear-gradient(180deg,var(--jx-spring-panel-end) 0%,var(--jx-spring-paper) 100%)!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:0 -5px 16px rgba(70,105,76,.025)!important;
}
/* Existing new-record scroll fade was white and made a hard band on spring.
   Its overlay must be transparent-to-the-same-tone as the spring footer. */
html[data-theme="spring"] .ws-form-overlay.jx-new-form-open .ws-form-sheet-footer::before{
  background:linear-gradient(to bottom,transparent,var(--jx-spring-panel-end))!important;
}
/* Record actions are a single calm toolbar, not a stark white strip sitting
   on top of the spring workspace. Keep all button types untouched. */
html[data-theme="spring"] .ws-record-toolbar{
  background:linear-gradient(110deg,var(--jx-spring-paper) 0%,var(--jx-spring-panel-end) 48%,#f2f8ef 100%)!important;
  border-color:var(--jx-spring-panel-seam)!important;
  box-shadow:0 4px 16px rgba(65,104,72,.035)!important;
}
/* Right-edge scrollbar gutters are part of the same body surface.
   Keep theme scroll thumb appearance, avoid separate painted strips. */
html[data-theme="spring"] :is(.ws-modal-body,.ws-floating-body,.ws-form-sheet-body,.jx-schema-body){
  scrollbar-color:var(--jx-spring-scroll) transparent;
}
/* Spring canvas banner: carry the approved spring landscape into the
   designer canvas header, not into the settings panels or button surfaces.
   A real left-to-right ALPHA mask fades the picture into the existing spring
   material while keeping the scenery crisp at the far right.  Text and the
   five configuration buttons remain on a higher, interactive layer. */
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar{
 background-image:var(--jx-spring-header-gradient)!important;
 background-size:100% 100%!important;
 background-position:center!important;
 background-repeat:no-repeat!important;
 isolation:isolate;
 overflow:hidden;
}
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{
 content:"";
 position:absolute;
 inset:0 0 0 auto;
 width:min(920px,78%);
 height:100%;
 pointer-events:none;
 z-index:0;
 background-image:var(--jx-spring-lake-stack);
 background-position:var(--jx-spring-lake-position);
 background-size:var(--jx-spring-lake-size);
 background-repeat:no-repeat;
 opacity:1;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.10) 12%,rgba(0,0,0,.72) 30%,#000 48%);
 mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.10) 12%,rgba(0,0,0,.72) 30%,#000 48%);
 border:0!important;
 box-shadow:none!important;
}
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::before{z-index:1;}
html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar > *{position:relative;z-index:2;}
@media print{
 html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{display:none!important;}
}
/* Toolbar and canvas share the same base material; fade it vertically below
   the hero, instead of inserting a conspicuous white or green join stripe. */
html[data-theme="spring"] .jx-designer-page .jx-canvas-toolbar + .canvas-wrap{
 background-image:linear-gradient(180deg,rgba(247,250,244,0) 0%,var(--jx-spring-canvas) 165px),var(--jx-spring-header-gradient)!important;
 background-color:var(--jx-spring-canvas)!important;
 background-size:100% 100%,100% 220px!important;
 background-repeat:no-repeat!important;
 border-top:0!important;
 box-shadow:none!important;
}
@media(max-width:650px){
 html[data-theme="spring"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{
  width:100%;height:100%;right:0;opacity:1;
  background-position:var(--jx-spring-lake-position);
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.12) 30%,rgba(0,0,0,.65) 55%,#000 78%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.12) 30%,rgba(0,0,0,.65) 55%,#000 78%);
 }
}


/* Spring designer settings: warm-white substrate, green as an accent rather
   than an enormous tinted backing plate. Only these five designer panels. */
html[data-theme="spring"] .jx-schema-overlay .jx-schema-dialog{
 /* Match the existing form/Excel sheet's warm paper, not stark #fff.
    Keep the same controls and geometry in all five settings dialogs. */
 --jx-spring-settings-white:var(--jx-spring-paper);
 --jx-spring-settings-card:var(--jx-spring-paper);
 --jx-spring-settings-input:var(--jx-spring-paper);
 --jx-spring-settings-line:var(--jx-spring-paper-border);
 --jx-ui-surface:var(--jx-spring-settings-white);
 background:var(--jx-spring-settings-white)!important;
}
html[data-theme="spring"] .jx-schema-overlay .jx-schema-dialog > .jx-schema-body{
 background:var(--jx-spring-settings-white)!important;
 background-image:none!important;
 border-color:transparent!important;
 scrollbar-gutter:auto!important;
}
html[data-theme="spring"] .jx-schema-dialog .jx-schema-body > .properties{
 background:transparent!important;
 background-image:none!important;
 border:0!important;
 box-shadow:none!important;
}
html[data-theme="spring"] .jx-schema-overlay .jx-schema-dialog > .jx-schema-foot{
 background:var(--jx-spring-settings-white)!important;
 border-top:1px solid var(--jx-spring-settings-line)!important;
 box-shadow:none!important;
}
html[data-theme="spring"] .jx-schema-dialog :is(
 .jx-validation-section,.jx-validation-body,.jx-validation-rule,
 .jx-constraint-card,.jx-constraint-content,.jx-rule-card,.jx-automation-fields,
 .jx-access-detail,.jx-access-hero,.jx-access-matrix,.jx-access-field-row,
 .jx-access-matrix-scroll,.jx-access-matrix-rows,.jx-access-member-list
){
 background:var(--jx-spring-settings-card)!important;
 background-image:none!important;
 box-shadow:none!important;
}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-access-root,.jx-access-layout,.jx-validation-rules,.jx-constraint-list){background:transparent!important}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-validation-section,.jx-constraint-card,.jx-rule-card,.jx-access-matrix){border-color:var(--jx-spring-settings-line)!important}
html[data-theme="spring"] .jx-schema-dialog .jx-access-side{
 background:#fbfcf9!important;
 border-right-color:var(--jx-spring-settings-line)!important;
}
html[data-theme="spring"] .jx-schema-dialog .jx-access-matrix-head{
 background:#f7faf5!important;
 color:#4c6851!important;
 box-shadow:none!important;
 border-bottom:1px solid var(--jx-spring-settings-line)!important;
}
html[data-theme="spring"] .jx-schema-dialog .jx-access-field-row{
 border-top-color:#edf0e9!important;
}
html[data-theme="spring"] .jx-schema-dialog .jx-access-field-row:first-child{border-top:0!important}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-access-field-row,.jx-access-matrix-rows,.jx-access-matrix-scroll,.jx-access-member-list){background-color:var(--jx-spring-settings-card)!important;}
html[data-theme="spring"] .jx-schema-dialog :is(
 .jx-format-search,.jx-constraint-input input,.jx-constraint-input select,
 .jx-validation-field input,.jx-validation-field select,.jx-validation-search,
 .jx-access-input input,.jx-access-search,.jx-rule-field input,.jx-rule-field select
){background:var(--jx-spring-settings-input)!important;border-color:#d9e5d5!important}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-constraint-kind,.jx-validation-count,.jx-automation-state,.jx-format-total,.jx-automation-total){background:#f4f7f1!important}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-constraint-summary:hover,.jx-validation-summary:hover,.jx-automation-summary:hover){background:#fcfdfb!important}
html[data-theme="spring"] .jx-schema-dialog .jx-automation-rule[open] > .jx-automation-fields{background:var(--jx-spring-settings-card)!important}
html[data-theme="spring"] .jx-schema-dialog .jx-validation-section > .jx-validation-body{border-top-color:var(--jx-spring-settings-line)!important}
html[data-theme="spring"] .jx-schema-dialog :is(.jx-validation-required-item,.jx-validation-rule-body){background:var(--jx-spring-settings-card)!important}
html[data-theme="spring"] .jx-schema-dialog .jx-schema-body::-webkit-scrollbar-track{background:transparent!important}
@media(max-width:680px){html[data-theme="spring"] .jx-schema-dialog .jx-access-side{border-right:0!important;border-bottom-color:var(--jx-spring-settings-line)!important}}

/* Format tabs are text filters, not a row of five equally green CTA buttons. */
html[data-theme="spring"] .jx-schema-dialog.jx-schema-kind-format .jx-format-chip:not(.is-active){
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#69806d!important;
}
html[data-theme="spring"] .jx-schema-dialog.jx-schema-kind-format .jx-format-chip.is-active{
 background:#f0f6ed!important;border-color:#d7e5d3!important;box-shadow:none!important;color:#366345!important;
}
html[data-theme="spring"] .jx-schema-dialog.jx-schema-kind-format .jx-format-chip:hover:not(.is-active){background:#f7faf4!important;}


/* V2.8.7 · Spring paper and controls audit.
   The form preview sets the reference ivory (#FFFEF9).  A quiet warm-white
   material for editing surfaces; green is for controls, states and structure.
   The existing spring header/art retains its green-pink identity unchanged. */

/* The designer used default stark-white panels and a separate white form-paper.
   Keep its outer canvas pale and distinct; don't paint the entire editor green. */
html[data-theme="spring"] .jx-designer-page .main-grid > .panel,
html[data-theme="spring"] .jx-designer-page .main-grid > .panel > .palette,
html[data-theme="spring"] .jx-designer-page .canvas-wrap .form-paper,
html[data-theme="spring"] .jx-designer-page .right-panel .properties{
 background-color:var(--jx-spring-paper)!important;
 border-color:var(--jx-spring-paper-border);
}
html[data-theme="spring"] .jx-designer-page .main-grid .panel-head:not(.jx-canvas-toolbar),
html[data-theme="spring"] .jx-designer-page .jx-title-editor{
 background:var(--jx-spring-paper)!important;
 border-color:var(--jx-spring-paper-border)!important;
}
html[data-theme="spring"] .jx-designer-page :is(
 .jx-palette-search,.palette-button,.palette-section .palette-button,
 .prop-row input:not([type=checkbox]):not([type=radio]),.prop-row select,.prop-row textarea,.fake-check::before,
 .node-tools button,.jx-default-editor,.layout-outer
 ){
 background-color:var(--jx-spring-paper)!important;
 border-color:var(--jx-spring-paper-border);
}
html[data-theme="spring"] .jx-designer-page :is(.palette-button,.jx-palette-search):hover{
 background-color:var(--jx-spring-paper-muted)!important;
}
/* The shared non-designer surfaces and export file choices use the same paper;
   do not restyle warning/danger/disabled/primary actions into secondary cards. */
html[data-theme="spring"] :is(
 .ws-export-choices,.ws-export-choice,.ws-modal-body .ws-export-choice,
 .ws-form-preview-content.form-paper,.ws-record-overview,.ws-panel,
 .ws-floating-body .ws-field,.ws-search-chooser-item,
 .jx-relation-card,.jx-related-choice,.jx-select-popup,
 .jx-appearance-popup,.jx-grid-style-panel
 ){
 background-color:var(--jx-spring-paper)!important;
}
html[data-theme="spring"] .ws-export-choice{
 background-image:var(--jx-spring-control)!important;
 border-color:var(--jx-spring-control-border)!important;
 color:var(--jx-spring-control-ink)!important;
 box-shadow:0 2px 8px rgba(52,94,58,.06)!important;
}
html[data-theme="spring"] .ws-export-choice:hover:not(:disabled){
 background-image:var(--jx-spring-control-hover)!important;
 border-color:var(--jx-spring-control-hover-border)!important;
}
/* A secondary button is NEVER pink. This also catches the export/selection
   buttons rendered by JS without one of the earlier, specific class names. */
html[data-theme="spring"] :is(
 .ws-export-choice,.ws-sort-option,.ws-record-toolbar button.ws-secondary,
 .ws-search-chooser-item[role="button"],.jx-designer-page .palette-button
 ):not(.primary):not([class*="danger"]):not([aria-pressed="true"]){
 background-image:var(--jx-spring-control)!important;
}
html[data-theme="spring"] :is(.ws-export-choice,.ws-sort-option):hover:not(:disabled){
 background-image:var(--jx-spring-control-hover)!important;
}
/* Preserve checked/active styling (no blush) after the common button rule. */
html[data-theme="spring"] :is(.ws-sort-option.selected,.ws-record-toolbar .active,.ws-record-top .active,.ws-modal [aria-pressed="true"],.jx-designer-page .layout-tab.active){
 background-image:var(--jx-spring-selection)!important;
}

/* Canvas status is kept in the DOM for publish logic, hidden in the UI. */
.jx-designer-page .jx-canvas-version{display:none!important;}

/* V2.8.9 · Spring semantic actions. A theme may change the material,
   but DESTRUCTIVE must never look like the ordinary moss-green action.
   These selectors follow the generic spring secondary/primary overrides. */

html[data-theme="spring"] :is(
 .ws-secondary.ws-danger-outline,.ws-danger-outline,
 .ws-directory-action.is-danger,.ws-action-dropdown-menu .ws-dropdown-danger,
 .ws-trash-clear,.ws-trash-day-remove,.btn.danger,.jx-p-btn.jx-danger,
 .jx-danger,.jx-delete-button,[data-danger="true"]
){
 color:var(--jx-ui-danger)!important;
 background:linear-gradient(145deg,var(--jx-spring-paper),#fff4f3)!important;
 border-color:var(--jx-spring-danger-border)!important;
 box-shadow:0 1px 3px #88464b12,inset 0 1px #ffffff!important;
}
html[data-theme="spring"] :is(
 .ws-secondary.ws-danger-outline,.ws-danger-outline,
 .ws-directory-action.is-danger,.ws-action-dropdown-menu .ws-dropdown-danger,
 .ws-trash-clear,.ws-trash-day-remove,.btn.danger,.jx-p-btn.jx-danger,
 .jx-danger,.jx-delete-button,[data-danger="true"]
):hover:not(:disabled){
 color:#8b3340!important;background:#fbe9e9!important;border-color:#d9a7ae!important;
 box-shadow:0 3px 10px #963d4c16!important;
}
html[data-theme="spring"] :is(.ws-danger-btn,.jx-dialog-danger .jx-dialog-confirm){
 color:#fff!important;background:linear-gradient(145deg,#b65c65,#9c3d4c)!important;
 border-color:#a44953!important;box-shadow:0 3px 10px #88434c24,inset 0 1px #ffffff33!important;
}
html[data-theme="spring"] :is(.ws-danger-btn,.jx-dialog-danger .jx-dialog-confirm):hover:not(:disabled){
 background:linear-gradient(145deg,#bc6570,#8f3443)!important;border-color:#963843!important;
}
html[data-theme="spring"] :is(.ws-deletion-alert,.jx-dialog-danger .jx-dialog-icon){
 color:var(--jx-ui-danger)!important;background:var(--jx-ui-danger-soft)!important;
 border-color:var(--jx-spring-danger-border)!important;
}
html[data-theme="spring"] :is(.jx-alert,.jx-time-status.invalid){color:var(--jx-ui-danger)!important;}
html[data-theme="spring"] .toast.bad{background:var(--jx-ui-danger)!important;color:#fff!important;}
html[data-theme="spring"] :is(.status-pill,.feedback.ok){
 color:var(--jx-ui-success)!important;background:var(--jx-ui-success-soft)!important;
}
html[data-theme="spring"] :is(.status-pill.changed,.jx-warning){
 color:var(--jx-ui-warning)!important;background:var(--jx-ui-warning-soft)!important;
}
html[data-theme="spring"] :is(.ws-danger-btn,.ws-danger-outline,.ws-trash-clear,.ws-trash-day-remove):focus-visible{
 outline:2px solid #ba6670!important;outline-offset:2px;
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="spring"] :is(.ws-danger-btn,.ws-danger-outline,.ws-trash-clear,.ws-trash-day-remove){
  transition:none!important;transform:none!important;
 }
}

/* Keep low-frequency Clear Trash visually quiet until hover (V2.7.11 contract). */
html[data-theme="spring"] .ws-trash-overview button.ws-trash-clear{
 color:#69816d!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
html[data-theme="spring"] .ws-trash-overview button.ws-trash-clear:hover:not(:disabled){
 color:#983b48!important;background:#fbefef!important;border-color:transparent!important;box-shadow:none!important;
}


/* Spring R3: one bounded, composited scenery layer. Only transform and opacity
   animate; no changes to form geometry or global motion. The R2 still image is
   always available when the layer is absent. */
html[data-theme="spring"] [data-jx-spring-ambient-host],
html[data-theme="spring"] body.ws-body .ws-content > .ws-title-row.jx-module-heading[data-jx-spring-ambient-host]{position:relative;isolation:isolate!important;}
html[data-theme="spring"] [data-jx-spring-ambient-host] > .jx-spring-ambient{
 position:absolute!important;inset:0 0 0 43%;z-index:-1!important;
 display:block;overflow:hidden;border-radius:inherit;pointer-events:none!important;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 32%);
 mask-image:linear-gradient(90deg,transparent,#000 32%);
}
html[data-theme="spring"] [data-jx-spring-ambient-host="lake"] > .jx-spring-ambient{z-index:1!important;inset-inline-start:48%;}
html[data-theme="spring"] .jx-spring-ambient *{pointer-events:none!important;}
html[data-theme="spring"] .jx-spring-ambient-light{
 position:absolute;inset:-20% -8%;background:radial-gradient(ellipse at 72% 5%,#fff0bd16,transparent 56%);
 animation:jx-spring-ambient-sun 19s ease-in-out infinite alternate;opacity:.32;
}
html[data-theme="spring"] .jx-spring-ambient-track{
 position:absolute;top:-12px;bottom:0;left:var(--petal-x);width:var(--petal-size);
 animation:jx-spring-ambient-fall var(--petal-time) linear var(--petal-delay) infinite;
}
html[data-theme="spring"] .jx-spring-ambient-petal{
 display:block;width:100%;height:calc(var(--petal-size)*1.25);
 background:linear-gradient(145deg,#fff4f6,#edb2c1 60%,#c98ba6);
 border-radius:76% 24% 70% 30% / 75% 38% 62% 25%;
 animation:jx-spring-ambient-flutter var(--petal-flutter) ease-in-out var(--petal-delay) infinite alternate;
}
html[data-theme="spring"] .jx-spring-ambient-water{
 position:absolute;left:20%;right:4%;top:73%;height:16%;
 background:linear-gradient(90deg,transparent,#fffdf3aa 38%,transparent 63%) center 25%/70% 1px no-repeat,
 linear-gradient(90deg,transparent,#f3fff9aa 50%,transparent) right 78%/65% 1px no-repeat;
 animation:jx-spring-ambient-ripple 8s ease-in-out infinite alternate;
}
html[data-theme="spring"] .jx-spring-ambient-bird{
 position:absolute;top:12%;right:-16px;width:13px;height:5px;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 7'%3E%3Cpath d='M1 2Q5 0 9 5Q13 0 17 2' fill='none' stroke='%2354655b' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
 animation:jx-spring-ambient-bird 46s linear var(--bird-delay,0s) infinite;
}
@keyframes jx-spring-ambient-sun{0%{transform:translate3d(0,0,0);opacity:.22}100%{transform:translate3d(-4%,3%,0);opacity:.53}}
@keyframes jx-spring-ambient-fall{0%{transform:translate3d(0,-5%,0);opacity:0}12%{opacity:.64}55%{transform:translate3d(-7px,55%,0);opacity:.68}90%{opacity:.4}100%{transform:translate3d(var(--petal-drift),112%,0);opacity:0}}
@keyframes jx-spring-ambient-flutter{0%{transform:translateX(-3px) rotate(-32deg) scaleX(.55)}100%{transform:translateX(7px) rotate(110deg) scaleX(1)}}
@keyframes jx-spring-ambient-ripple{0%{transform:translate3d(-3%,0,0) scaleX(.86);opacity:.09}100%{transform:translate3d(4%,1px,0) scaleX(1.08);opacity:.47}}
@keyframes jx-spring-ambient-bird{0%,68%{transform:translate3d(0,0,0);opacity:0}70%{opacity:.42}85%{transform:translate3d(-75px,6px,0);opacity:.45}98%,100%{transform:translate3d(-150px,-3px,0);opacity:0}}
@media(max-width:760px){html[data-theme="spring"] [data-jx-spring-ambient-host] > .jx-spring-ambient{inset-inline-start:57%;}}
@media(prefers-reduced-motion:reduce),print{html[data-theme="spring"] .jx-spring-ambient{display:none!important;animation:none!important;}html[data-theme="spring"] .jx-spring-ambient *{animation:none!important;}}
html:not([data-theme="spring"]) .jx-spring-ambient{display:none!important;}

/* Spring R4 empty state: retain the established document icon and geometry.
   A quiet stationary blossom in its corner is purely decorative. */
html[data-theme="spring"] .ws-empty-state .ws-empty-symbol{
 background-image:var(--jx-asset-spring-blossom, url('/web/spring_blossom.svg')),linear-gradient(145deg,var(--jx-spring-paper),#e9f4e5);
 background-size:9px 9px,100% 100%;background-position:right 4px top 4px,center;background-repeat:no-repeat;
 color:var(--jx-spring-control-ink);border-color:var(--jx-spring-paper-border);
}
@media print{html[data-theme="spring"] .ws-empty-state .ws-empty-symbol{background-image:none!important;}}

/* Spring R7: the shared full-bleed artwork contract above also applies to
   mobile home/hubs. Only ambient placement differs; no short-width image layer. */
@media screen and (max-width:800px){
 html[data-theme="spring"] body.ws-body .ws-content:is(.ws-mobile-home,.ws-mobile-hub) > .ws-title-row.jx-module-heading > .jx-spring-ambient{inset-inline-start:54%;}
}
html[data-theme="spring"][data-jx-spring-mode="static"] .jx-spring-ambient{display:none!important;}
html[data-theme="spring"][data-jx-spring-mode="static"] .jx-spring-ambient *{animation:none!important;}

/* Spring R7: botanical art occupies only measured spare directory space.
   The overlay is a sibling of the scroller, never part of its scroll height. */
html[data-theme="spring"] .ws-sidebar > .jx-spring-sidebar-scene{
 position:absolute;inset-inline:0;overflow:hidden;pointer-events:none!important;
 z-index:0;contain:layout paint;isolation:isolate;display:block;
}
html[data-theme="spring"] .jx-spring-sidebar-branch{
 position:absolute;inset:0;display:block;pointer-events:none!important;
 background:var(--jx-asset-spring-sidebar-branch, url('/web/spring_sidebar_branch.webp')) right bottom / auto 100% no-repeat;
 transform-origin:100% 100%;
}
html[data-theme="spring"] .jx-spring-sidebar-scene[data-motion="on"] .jx-spring-sidebar-branch{
 animation:jx-spring-sidebar-breeze 9s ease-in-out infinite alternate;
}
html[data-theme="spring"][data-jx-spring-mode="light"] .jx-spring-sidebar-scene[data-motion="on"] .jx-spring-sidebar-branch{animation-duration:14s;}
@keyframes jx-spring-sidebar-breeze{from{transform:rotate(-1.8deg)}to{transform:rotate(1.4deg)}}
html:not([data-theme="spring"]) .jx-spring-sidebar-scene,.jx-spring-sidebar-scene[hidden]{display:none!important;}
@media(max-width:800px){html[data-theme="spring"] .ws-sidebar:not(.open) > .jx-spring-sidebar-scene{display:none!important;}}
@media(prefers-reduced-motion:reduce){html[data-theme="spring"] .jx-spring-sidebar-branch{animation:none!important;}}
@media print{.jx-spring-sidebar-scene{display:none!important;}}
