/*
 * JIA XIN / SEASONS 03 — AUTUMN
 * 秋 · 枫山暖光
 * Image-forward only in spacious surfaces. Business data remains clean and legible.
 * All selectors scoped to data-theme="autumn"; no business logic or layout semantics changed.
 */
:root[data-theme="autumn"]{
  color-scheme:light;
  --jx-blue:#98502e;
  --jx-blue-deep:#71391f;
  --jx-ink:#423327;
  --jx-ink-strong:#30251d;
  --jx-muted:#796757;
  --jx-muted-light:#a18b77;
  --jx-border:#e7dbcb;
  --jx-border-strong:#ccb59c;
  --jx-bg:#f7f3eb;
  --jx-surface:#fffdf8;
  --jx-surface-soft:#f7efe4;
  --jx-blue-tint:#f5dfca;
  --jx-shadow:0 4px 18px rgba(74,45,24,.035),0 17px 40px rgba(74,45,24,.035);
  --jx-shadow-hover:0 12px 28px rgba(103,66,35,.105);
  --jx-shadow-float:0 26px 72px rgba(76,46,24,.20),0 4px 15px rgba(76,46,24,.055);
  --jx-radius:15px;
  --jx-radius-control:10px;
  --jx-ring:0 0 0 3px rgba(152,80,46,.16);
  --jx-ui-danger:#a6312c;
  --jx-ui-danger-soft:#f9e2dc;
  --jx-ui-success:#316b49;
  --jx-ui-success-soft:#e6f2e8;
  --jx-ui-warning:#8c570f;
  --jx-ui-warning-soft:#faf0d8;
  --theme-table-header-bg:#eee1cf;
  --theme-table-header-color:#654b36;
  --theme-table-cell-bg:#fffdf9;
  --theme-table-panel-bg:#f8f3eb;
  --theme-table-text-color:#44372c;
  --theme-table-grid-color:#c9bba8;
  --theme-panel-radius:15px;
  --theme-control-radius:10px;
}

/* The air is warm, not orange. Use photography as atmosphere, never as a data backdrop. */
html[data-theme="autumn"]:not([data-theme="classic"]) body{
  background-color:#f7f3eb;
  background-image:radial-gradient(ellipse 65% 500px at 90% -8%,rgba(235,193,130,.19),transparent 85%),
                   radial-gradient(ellipse 50% 450px at 5% 95%,rgba(182,133,82,.055),transparent 85%);
  background-attachment:fixed;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-header,.topbar,.sheet-top){
  background:linear-gradient(105deg,#fffdf9 40%,#f9f1e6 100%);
  border-bottom:1px solid #e6d7c4;
  box-shadow:0 2px 14px rgba(87,60,40,.028);
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-header,.topbar,.sheet-top)::selection{background:#eed3b5}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-logo,.brand-mark){
  background:linear-gradient(145deg,#c47e47,#945030 78%);
  color:#fffaf2;
  border:1px solid #ad6a42;
  box-shadow:0 5px 18px rgba(159,92,50,.18),inset 0 1px 0 #ffffff46;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary,.jx-dialog-confirm,.jx-time-confirm){
  background:linear-gradient(135deg,#aa6039 0%,#8f4427 100%);
  color:#fffaf4;
  border:1px solid #904526;
  box-shadow:0 3px 9px rgba(139,71,33,.13);
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary):hover{
  background:linear-gradient(135deg,#b5683c,#793b22);
  box-shadow:0 7px 20px rgba(139,71,33,.18);
  filter:none;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary):active{transform:translateY(1px)}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(button,a,input,textarea,select,[tabindex]):focus-visible{
  outline:2px solid #a75b33;
  outline-offset:2px;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus{
  border-color:#b98055;
  box-shadow:0 0 0 3px rgba(177,120,75,.12);
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-secondary,.btn:not(.primary),.sheet-top .soft,.ws-icon-btn):hover{
  border-color:#d3b392;
  background:#f9ecdc;
  color:#733d27;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-tree,.ws-content,.ws-modal-body,.ws-form-sheet-body,.palette,.properties,.canvas-wrap,.sheet-grid){scrollbar-color:#dac5ac transparent}

/* A warm wood-and-paper navigation frame, with one quiet lakeside photograph. */
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-sidebar{
  background:linear-gradient(180deg,#fffbf4 0%,#fdf8ef 100%);
  border-right:1px solid #e5d6c1;
  box-shadow:3px 0 24px rgba(94,60,33,.035);
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-sidebar-top{
  background:linear-gradient(125deg,rgba(251,239,223,.85),rgba(255,252,247,.38));
  border-color:#e8dccb;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-nav-icon{
  background:#f2e4d2;
  border:1px solid #e6d1b6;
  color:#955b37;
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-tree-search,.ws-key-hint){background:#f7eee2;border-color:#eadcc8}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-tree-search:focus-within{background:#fffdf9;border-color:#b78a62}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-tree-item.selected{
  background:linear-gradient(90deg,#f3dfc7,#f8ead9);
  box-shadow:inset 3px 0 0 #aa623e;
  color:#754126;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-tree-item.selected .ws-tree-label{color:#754126}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-tree-item:hover:not(.selected){background:#f9eddd}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-sidebar-bottom{border-top-color:#e9dcc9}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-sidebar-bottom::before{
  content:"";
  display:block;
  height:78px;
  margin:0 3px 12px;
  border:1px solid #e7d5be;
  border-radius:12px;
  background-image:linear-gradient(0deg,rgba(56,43,32,.14),transparent 65%),var(--jx-asset-autumn-lake, url('/web/autumn_lake.webp?v=2811hd1'));
  background-size:cover;
  background-position:center 59%;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}

/* Golden mountain sunrise: the four-season identity. Text stays on opaque ivory. */
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row{
  position:relative;
  isolation:isolate;
  border:1px solid #e4d0b6;
  background-color:#faefdf;
  background-image:linear-gradient(90deg,#fcf5e9 0%,rgba(252,245,233,.98) 28%,rgba(252,245,233,.83) 48%,rgba(252,245,233,.21) 73%,rgba(69,42,22,.03) 100%),var(--jx-asset-autumn-mountain, url('/web/autumn_mountain.webp?v=2811hero2'));
  background-size:cover;
  background-position:center center;
  box-shadow:0 18px 34px rgba(102,68,40,.07),inset 0 1px 0 rgba(255,255,255,.55);
  overflow:hidden;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row::after{
  content:"AUTUMN  /  SEASON 03";
  position:absolute;
  bottom:15px;
  right:23px;
  color:#fff5e7;
  font:600 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:2.1px;
  text-shadow:0 1px 9px #432b22c4;
  pointer-events:none;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row>div:first-child{position:relative;z-index:1;max-width:65%}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row h1{color:#513624;}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row p{color:#755945;max-width:440px}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row .ws-eyebrow{color:#98502e;letter-spacing:2.4px}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row .ws-primary{position:relative;z-index:1;margin-bottom:14px}

/* The familiar tiles become warm porcelain, not noisy photo cards. */
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-stat,.ws-panel,.ws-folder-card,.ws-module-card){
  background-color:#fffdf9;
  border-color:#eadbca;
  box-shadow:0 5px 20px rgba(80,49,24,.035);
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-stat{
  background:linear-gradient(142deg,#fffdf9 40%,#faf0e3);
  border-top:1px solid #eadbca;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-stat strong{color:#78472d}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-panel-head{border-top:0}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-module-card{
  background:linear-gradient(145deg,#fffdf9 40%,#f9efe2 100%);
  border:1px solid #eadbca;
  border-top:1px solid #eadbca;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-module-card:hover,
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-folder-card:hover{
  background:linear-gradient(145deg,#fffdf9,#f7e9d7);
  border-color:#d9b58e;
  box-shadow:0 14px 26px rgba(105,65,32,.09);
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-module-symbol{
  background:linear-gradient(145deg,#f2dfc4,#f8ead7);
  color:#97512f;
  border:1px solid #e5c7a4;
  box-shadow:inset 0 1px 0 #ffffffba;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-hint{background:#f9f0e4;border-color:#e8d8c3;color:#705948}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-user-circle,.ws-demo-tag){background:#f2e3d0;color:#825233;border:1px solid #e8d2b7}

/* Tea-house courtyard: a restrained visual cap on new-record sheets. */
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-sheet-header{
  min-height:90px;
  background-color:#faf0e3;
  background-image:linear-gradient(90deg,#fff9ee 0%,rgba(255,249,238,.98) 42%,rgba(255,249,238,.91) 71%,rgba(255,249,238,.64) 100%),var(--jx-asset-autumn-courtyard, url('/web/autumn_courtyard.webp?v=2811hd1'));
  background-position:center,right 47%;
  background-size:cover,auto 280px;
  background-repeat:no-repeat;
  border-top:0;
  border-bottom:1px solid #e9ded1;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-sheet-header strong{color:#573a28}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-sheet-body{background:#f9f4ec}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-preview-content{
  background:#fffdfa;
  border:1px solid #eee2d2;
  box-shadow:0 4px 17px rgba(89,55,29,.035);
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-create-flow-card{
  background:#fffdf8;
  border-color:#e8d7c2;
  box-shadow:0 3px 16px rgba(91,59,33,.035);
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-create-flow-caption{color:#7d4d2b}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-sheet-footer{background:#fff9f1;border-color:#ead9c5}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.jx-time-panel,.jx-select-popup,.jx-logic-dialog,.jx-schema-dialog,.jx-dialog,.ws-floating-settings){
  border-color:#dbc6ac;
  box-shadow:var(--jx-shadow-float);
}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.jx-time-value.selected,.jx-select-option[aria-selected=true]){color:#7e4123}

/* Rain at the window: designer toolbar, plus a hint of warmth on report forms. */
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-designer-page .jx-canvas-toolbar{
  background-color:#faf1e5;
  background-image:linear-gradient(90deg,#fff9f0 0%,rgba(255,249,240,.99) 42%,rgba(255,249,240,.91) 75%,rgba(255,249,240,.77)),var(--jx-asset-autumn-window, url('/web/autumn_window.webp?v=2811hd1'));
  background-repeat:no-repeat;
  background-position:center,right 53%;
  background-size:cover,auto 250px;
  border-top:0;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-designer-page :is(.canvas-wrap,.properties,.palette){background-color:#f8f1e7}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-designer-page .form-paper{background:#fffdfa;border-color:#eadbc6}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-designer-page .designer-node.selected{background:#fbebd9;border-color:#bd885c}
html[data-theme="autumn"]:not([data-theme="classic"]) .worker-card::before{
  content:"";display:block;height:100px;margin:-2px -2px 18px;
  border-radius:13px 13px 8px 8px;
  background-image:linear-gradient(90deg,rgba(255,244,227,.3),rgba(255,244,227,0)),var(--jx-asset-autumn-courtyard, url('/web/autumn_courtyard.webp?v=2811hd1'));
  background-size:cover;background-position:center 47%;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .worker-card{border-color:#e4d0b5}

/* Spreadsheet needs the calmest palette and never a wallpaper below data. */
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.sheet-grid,.ws-table-wrap,.ws-record-panel){background:#fffdf9}
html[data-theme="autumn"]:not([data-theme="classic"]) .sheet-top{border-top:0}
html[data-theme="autumn"]:not([data-theme="classic"]) .sheet-notice{background:#f9f0e5;border-color:#ebddcc}
html[data-theme="autumn"]:not([data-theme="classic"]) .sheet-bar{background:#fff9f1;border-color:#e9dcc9}
html[data-theme="autumn"]:not([data-theme="classic"]) .sheet-footer{background:#fff9f1;border-top:1px solid #e8d7c3}
html[data-theme="autumn"]:not([data-theme="classic"]) .ws-record-toolbar{background:#fffaf4}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-custom-grid th,.sheet-table th){color:#614936}
html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-custom-grid tr:hover td,.sheet-table tr:hover td){background-color:#faf0e4}

/* Autumn’s place in the theme switcher, and a true visual preview. */
.jx-appearance-section{
  font-size:10px;letter-spacing:1.4px;font-weight:800;
  color:var(--jx-muted,#8493a5);
  padding:9px 9px 5px;
  margin-top:4px;
}
.jx-appearance-section + button{margin-top:3px}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-appearance>summary{
  background:#fff8ee;border-color:#d8bea2;
  box-shadow:inset 0 1px 0 #fff;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-appearance-popup{
  background:#fffdf8;
  border-color:#e1cdb7;
  box-shadow:var(--jx-shadow-float);
}
.jx-theme-swatch.autumn{
  background-image:linear-gradient(90deg,#f8ebd6 28%,transparent 28%),var(--jx-asset-autumn-window, url('/web/autumn_window.webp?v=2811hd1'));
  background-position:center;
  background-size:cover;
  border-color:#d0aa7f;
}
.jx-theme-swatch.autumn::after{
  background:#a65a34;box-shadow:0 10px 0 #e6c7a5;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-appearance-popup button[aria-checked="true"]{
  background:#f9ead9;border-color:#c69464;
}
html[data-theme="autumn"]:not([data-theme="classic"]) .jx-appearance-popup button:hover{background:#f9efe2}

@media(max-width:1150px){
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row{
    background-image:linear-gradient(90deg,#fcf5e9 0%,rgba(252,245,233,.97) 34%,rgba(252,245,233,.66) 70%,rgba(252,245,233,.24)),var(--jx-asset-autumn-mountain, url('/web/autumn_mountain.webp?v=2811hero2'));
  }
}
@media(max-width:700px){
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row{
    background-image:linear-gradient(90deg,rgba(252,245,233,.98),rgba(252,245,233,.91) 64%,rgba(252,245,233,.68)),var(--jx-asset-autumn-mountain, url('/web/autumn_mountain.webp?v=2811hero2'));
    background-position:center center;
  }
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row>div:first-child{max-width:100%}
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-title-row::after{display:none}
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-form-sheet-header{background-image:linear-gradient(90deg,#fff8ed 0%,rgba(255,248,237,.96) 100%),var(--jx-asset-autumn-courtyard, url('/web/autumn_courtyard.webp?v=2811hd1'))}
  html[data-theme="autumn"]:not([data-theme="classic"]) .ws-sidebar-bottom::before{height:58px}
  html[data-theme="autumn"]:not([data-theme="classic"]) .worker-card::before{height:70px}
  html[data-theme="autumn"]:not([data-theme="classic"]) .jx-designer-page .jx-canvas-toolbar{background-image:none}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="autumn"]:not([data-theme="classic"]) :is(.ws-module-card,.ws-folder-card,.ws-primary){transition:none}
}


/* ═══════════════════════════════════════════════════════════════════════
 * AUTUMN 03 · V2.8.10 PREMIUM / 枫林暖纸
 * Derived from the successful spring/summer acceptance contract:
 * 1) classic sets STRUCTURE; autumn owns warm material, not extra stripes;
 * 2) same paper across designer, settings, forms and modal scroll gutters;
 * 3) landscape always feather-masked, never a visibly cropped rectangle;
 * 4) ordinary action buttons never inherit scenic gradients or danger colors;
 * 5) decorative cursor gives way to input and real resize axes.
 * ═══════════════════════════════════════════════════════════════════════ */
:root[data-theme="autumn"]{
  --jx-blue:#935631;--jx-blue-deep:#734022;
  --jx-ink:#463a2e;--jx-ink-strong:#322920;
  --jx-muted:#786b5a;--jx-muted-light:#968776;
  --jx-border:#e8e0d5;--jx-border-strong:#d8c6b3;
  --jx-bg:#f8f5ef;--jx-surface:#fffcf7;--jx-surface-soft:#f7f2e9;
  --jx-blue-tint:#f3e8d8;
  --jx-ring:0 0 0 3px rgba(160,105,59,.15);
  --jx-ui-surface:#fffcf7;--jx-ui-soft:#f7f2e9;
  --jx-ui-text:#463a2e;--jx-ui-muted:#786b5a;
  --jx-ui-border:#e2d6c7;--jx-ui-accent:#935631;
  --jx-ui-tint:#f3e8d8;--jx-ui-on-accent:#fffcf7;
  --jx-ui-danger:#a74740;--jx-ui-danger-soft:#fae9e5;
  --jx-ui-success:#4c7049;--jx-ui-success-soft:#eaf2e5;
  --jx-ui-warning:#906122;--jx-ui-warning-soft:#fbefd7;
  --jx-ui-toast:#463a2e;
  --theme-scroll-thumb:#cbb9a1;--theme-scroll-thumb-hover:#a88b6b;
  --theme-table-header-bg:#f2ece1;--theme-table-header-color:#61513e;
  --theme-table-cell-bg:#fffcf7;--theme-table-panel-bg:#f9f5ee;
  --theme-table-text-color:#483a2e;--theme-table-grid-color:#e0d7ca;
  --jx-autumn-paper:#fffcf7;--jx-autumn-canvas:#f8f4ed;
  --jx-autumn-line:#e6ded2;--jx-autumn-selected:#f4e9d9;
  --jx-autumn-head:linear-gradient(109deg,#fffcf7 0%,#fbf7f1 54%,#f3e8d9 100%);
  --jx-autumn-fullpage:linear-gradient(112deg,#fffcf7 0%,#faf6ef 42%,#f5e8d7 100%);
  --jx-autumn-float:linear-gradient(106deg,#fffcf7 0%,#faf6ef 64%,#f4e9dc 100%);
  --jx-autumn-control:linear-gradient(140deg,#fffcf7 0%,#fbf8f2 70%,#f7f0e7 100%);
  --jx-autumn-control-hover:linear-gradient(140deg,#fffdf9 0%,#f6ede0 100%);
  --jx-fullpage-grad:var(--jx-autumn-fullpage);
  --jx-head-bg:var(--jx-autumn-head);
  --jx-float-title-bg:var(--jx-autumn-float);
  --jx-float-title-border:#e4dacc;
  --jx-fullpage-border:#e4dacc;
  --jx-fullpage-accent:#935631;--jx-fullpage-ink:#463a2e;
}
/* Shell stays quiet, as in classic. Gradients belong to full pages and floating titles. */
html[data-theme="autumn"] .ws-header,
html[data-theme="autumn"] .ws-sidebar-top{
  background:var(--jx-autumn-paper)!important;background-image:none!important;
  border-top:0!important;border-bottom-color:var(--jx-autumn-line)!important;
  box-shadow:0 3px 16px rgba(80,52,29,.033)!important;
}
html[data-theme="autumn"] :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),.jx-logic-head,.jx-schema-head){
  background:var(--jx-autumn-float)!important;background-image:var(--jx-autumn-float)!important;
  border-top:0!important;border-bottom:1px solid #e4dacc!important;
  box-shadow:none!important;
}
html[data-theme="autumn"] :is(.topbar,.sheet-top,.jx-studio-top).jx-fullpage-header{
  background:var(--jx-autumn-fullpage)!important;background-image:var(--jx-autumn-fullpage)!important;
  border-top:0!important;border-bottom:1px solid #e4dacc!important;
  box-shadow:none!important;
}
html[data-theme="autumn"] :is(.ws-logo,.brand-mark,.mg-mark,.hr-brand-mark,.bp-logo,.jx-fullpage-brand-mark,.ai-brand-mark){
  background:linear-gradient(140deg,#b6794c 0%,#8d4e2c 100%)!important;
  color:#fffcf7!important;border-color:#aa7752!important;
  box-shadow:0 5px 14px rgba(109,67,33,.15),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
/* Neutral secondary buttons, terracotta solid primaries, preserved danger semantics. */
html[data-theme="autumn"] :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-schema-dialog button,
  .jx-logic-dialog button,.jx-designer-page .nav .btn,
  .jx-designer-page .jx-canvas-actions .jx-config-button,
  .jx-designer-page .jx-canvas-actions .jx-critical-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-primary):not(.jx-dialog-confirm):not(.jx-time-confirm):not(.jx-header-save):not(.mg-primary):not(.hr-primary):not(.bp-primary):not([class*="danger"]):not([class*="delete"]):not([aria-pressed="true"]):not(.active):not(.ws-title-row .ws-header-actions > button){
  background:var(--jx-autumn-control)!important;background-image:var(--jx-autumn-control)!important;
  border-color:#ded0be!important;color:#6b4a32!important;
  box-shadow:0 2px 8px rgba(99,68,39,.055),inset 0 1px rgba(255,255,255,.7)!important;
}
html[data-theme="autumn"] :is(
  .ws-header-right button,.ws-tools-panel button,.ws-record-toolbar button,
  .ws-modal button,.ws-form-overlay button,.jx-schema-dialog button,
  .jx-fullpage-header .btn,.hr-topbar button,.bp-top button,.sheet-top button:not(.jx-appearance-popup button),
  .ws-sort-dialog button,.ws-import-dialog button
):not(.primary):not(.ws-primary):not(.jx-primary):not([class*="danger"]):not([class*="delete"]):not(.active):hover:not(:disabled){
  background:var(--jx-autumn-control-hover)!important;
  border-color:#c8a98b!important;color:#613b27!important;
  box-shadow:0 4px 12px rgba(99,68,39,.105)!important;
}
html[data-theme="autumn"] :is(
  .ws-primary,.btn.primary,.form-submit,.sheet-top button.primary,.jx-primary,
  .jx-dialog-confirm,.jx-time-confirm,.mg-primary,.hr-primary,.bp-primary,
  .jx-fullpage-header .jx-header-save,.jx-designer-page .btn.primary
){
  background:#92532f!important;background-image:none!important;
  border-color:#92532f!important;color:#fffcf7!important;
  box-shadow:0 3px 11px rgba(115,61,32,.15)!important;
}
html[data-theme="autumn"] :is(.ws-primary,.btn.primary,.form-submit,.jx-primary,.jx-dialog-confirm,.jx-time-confirm,.mg-primary,.hr-primary,.bp-primary,.jx-header-save):hover:not(:disabled){
  background:#7e452a!important;border-color:#7e452a!important;
  box-shadow:0 6px 16px rgba(115,61,32,.17)!important;
}
html[data-theme="autumn"] :is(.ws-primary,.btn.primary,.form-submit,.jx-primary,.jx-dialog-confirm,.jx-time-confirm,.mg-primary,.hr-primary,.bp-primary,.jx-header-save):disabled{opacity:.55;box-shadow:none!important}
html[data-theme="autumn"] :is(.btn.danger,.ws-danger,.jx-danger,.jx-delete-button,.ws-danger-outline,.ws-danger-btn){
  color:#a74740!important;border-color:#eacbc2!important;
}
html[data-theme="autumn"] :is(.ws-danger-outline,.ws-danger-btn,.btn.danger):hover:not(:disabled){
  background:#fae9e5!important;color:#963c36!important;border-color:#dfb0a5!important;
}
html[data-theme="autumn"] :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#92532f}
html[data-theme="autumn"] :is(button,a,input,textarea,select,[tabindex]):focus-visible{
  outline:2px solid #a76b43!important;outline-offset:2px;
}
/* Composite searches: one ring outside, never an outlined input inside. */
html[data-theme="autumn"] :is(.ws-tree-search,.ws-tools-search,.jx-search-chooser-toolbar,.ws-search-chooser,.ws-search-input-wrap) input[type="search"]:is(:focus,:focus-visible),
html[data-theme="autumn"] :is(.ws-tree-search,.ws-tools-search) input:not([type="checkbox"]):is(:focus,:focus-visible){
  outline:0!important;border:0!important;box-shadow:none!important;
  background:transparent!important;background-image:none!important;
}
html[data-theme="autumn"] :is(.ws-tree-search,.ws-tools-search):focus-within{
  background:var(--jx-autumn-paper)!important;border-color:#c79d73!important;
  box-shadow:0 0 0 3px rgba(151,98,56,.11)!important;
}
html[data-theme="autumn"] :is(.jx-fullpage-header .jx-header-save svg,.jx-fullpage-header .jx-header-back svg,.jx-designer-page .jx-canvas-actions .jx-config-icon){
  border:0!important;background:none!important;background-image:none!important;
  box-shadow:none!important;padding:0!important;
}
/* Autumn scrollbars are taupe, never the default cobalt blue. */
html[data-theme="autumn"]{scrollbar-color:#cbb9a1 transparent!important}
html[data-theme="autumn"] ::-webkit-scrollbar{width:8px;height:8px}
html[data-theme="autumn"] ::-webkit-scrollbar-track{background:transparent!important}
html[data-theme="autumn"] ::-webkit-scrollbar-thumb{
  background:#cbb9a1!important;border:2px solid transparent!important;
  background-clip:padding-box!important;border-radius:999px!important;
}
html[data-theme="autumn"] ::-webkit-scrollbar-thumb:hover{background:#a88b6b!important}
html[data-theme="autumn"] :is(.ws-tree,.ws-content,.jx-schema-body,.ws-form-sheet-body,.ws-modal-body,.sheet-grid,.jx-related-choices,.jx-print-overlay,.ai-float-answer){scrollbar-color:#cbb9a1 transparent!important}
/* No artificial green/brown gutters between dialog sections. */
html[data-theme="autumn"] :is(.ws-modal-layer .ws-modal,.ws-form-overlay .ws-form-sheet,.jx-schema-overlay .jx-schema-dialog,.ws-floating-settings,.jx-logic-dialog){
  background:var(--jx-autumn-paper)!important;border-color:#e2d7c9!important;
}
html[data-theme="autumn"] :is(.ws-modal-body,.ws-floating-body,.ws-form-sheet-body,.jx-schema-overlay .jx-schema-dialog>.jx-schema-body,.jx-logic-body){
  background:var(--jx-autumn-paper)!important;border-color:#e5dcd0!important;
}
html[data-theme="autumn"] :is(.ws-modal-footer,.ws-floating-footer,.ws-form-sheet-footer,.jx-schema-overlay .jx-schema-dialog>.jx-schema-foot,.jx-logic-foot){
  background:var(--jx-autumn-paper)!important;border-top-color:#e6ded2!important;box-shadow:none!important;
}
html[data-theme="autumn"] :is(.ws-form-overlay .ws-form-sheet-header,.jx-new-form-header,.jx-record-edit-header,.ws-modal-layer.jx-action-modal .ws-modal-header,.ws-sort-dialog .ws-modal-header,.ws-search-panel .jx-search-head,.jx-schema-overlay .jx-schema-head){
  background:var(--jx-autumn-float)!important;background-image:var(--jx-autumn-float)!important;
  border-top:0!important;border-bottom:1px solid #e6dbce!important;box-shadow:none!important;
}
html[data-theme="autumn"] :is(.ws-form-sheet-header .ws-form-icon:hover,.jx-schema-close:hover,.ws-floating-close:hover,.ws-tools-close:hover){
  background:#f5eadb!important;color:#7f4b31!important;border-color:#d8bfa6!important;
}
/* Warm paper takes precedence over inherited near-white or taupe full-page fills. */
html[data-theme="autumn"] .jx-designer-page{
  --jx-autumn-side-paper:#fffcf7;--jx-autumn-side-line:#e8ded1;
  --jx-autumn-side-hover:#faf3e9;
}
html[data-theme="autumn"] .jx-designer-page .main-grid > .panel:first-child,
html[data-theme="autumn"] .jx-designer-page .main-grid > .right-panel,
html[data-theme="autumn"] .jx-designer-page .main-grid > .panel:first-child > .palette,
html[data-theme="autumn"] .jx-designer-page .right-panel > .properties,
html[data-theme="autumn"] .jx-designer-page .main-grid :is(.panel:first-child,.right-panel) > .panel-head,
html[data-theme="autumn"] .jx-designer-page .jx-title-editor{
  background:#fffcf7!important;background-image:none!important;
  border-color:var(--jx-autumn-side-line)!important;
}
html[data-theme="autumn"] .jx-designer-page :is(.jx-palette-search,.palette-button,.prop-row input:not([type=checkbox]):not([type=radio]),.prop-row select,.prop-row textarea,.jx-default-editor){
  background:#fffcf7!important;border-color:#e2d5c5!important;
}
html[data-theme="autumn"] .jx-designer-page :is(.jx-palette-search,.palette-button):hover:not(:disabled){background:var(--jx-autumn-side-hover)!important}
html[data-theme="autumn"] :is(.ws-form-preview-content,.jx-designer-page .form-paper,.jx-create-flow-card,.jx-logic-workspace,.jx-formula-workbench,.ws-related-card){
  background:var(--jx-autumn-paper)!important;border-color:#e9dfd2!important;
}
/* The settings five: identical material and scrollbar logic for access/checks/format/automation/review. */
html[data-theme="autumn"] .jx-schema-overlay .jx-schema-dialog[class*="jx-schema-kind-"]{
  --jx-ui-surface:#fffcf7;--jx-ui-soft:#f8f3eb;
  background:#fffcf7!important;border-color:#e2d7c9!important;
}
html[data-theme="autumn"] .jx-schema-overlay .jx-schema-dialog[class*="jx-schema-kind-"] > .jx-schema-body{
  background:#fffcf7!important;background-image:none!important;border-color:transparent!important;
  scrollbar-gutter:auto!important;
}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] .jx-schema-body > .properties,
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-access-root,.jx-access-layout,.jx-validation-rules,.jx-constraint-list){
  background:transparent!important;background-image:none!important;box-shadow:none!important;
}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] .jx-schema-body > .properties{border:0!important}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] :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,
 .jx-validation-required-item,.jx-validation-rule-body
){background:#fffcf7!important;background-image:none!important;box-shadow:none!important}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-validation-section,.jx-constraint-card,.jx-rule-card,.jx-access-matrix){border-color:#e2d7c9!important}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] .jx-access-side,
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] .jx-access-matrix-head{
  background:#faf6ef!important;border-color:#e2d7c9!important;box-shadow:none!important;
}
html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-access-matrix-scroll,.jx-access-matrix-rows){scrollbar-gutter:auto!important}
html[data-theme="autumn"] .jx-schema-dialog.jx-schema-kind-format .jx-format-chip:not(.is-active){background:#fffcf7!important;border-color:#e4dacd!important;color:#74604c!important}
html[data-theme="autumn"] .jx-schema-dialog.jx-schema-kind-format .jx-format-chip.is-active{background:#f2e7d8!important;border-color:#c8a688!important;color:#75462d!important}
@media(max-width:700px){
  html[data-theme="autumn"] .jx-schema-dialog[class*="jx-schema-kind-"] .jx-access-side{border-right:0!important;border-bottom:1px solid #e2d7c9!important}
}
/* Record-form hero: match the compact spring/summer header rhythm.
   Every secondary action stays opaque over landscape photography.
   Scope to the header only; other modules and danger/primary actions retain their contract. */
html[data-theme="autumn"] .ws-title-row .ws-header-actions{
  position:relative;z-index:2;
  align-items:center;justify-content:flex-end;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary{
  min-height:39px;
  background-color:#fffcf7!important;
  background-image:linear-gradient(155deg,#fffcf7 0%,#f9f3e9 100%)!important;
  border:1px solid #d9c3aa!important;
  color:#65442e!important;
  box-shadow:0 2px 9px rgba(95,64,37,.085),inset 0 1px 0 rgba(255,255,255,.7)!important;
  background-clip:padding-box;
  opacity:1;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary:hover:not(:disabled){
  background-color:#f9f1e6!important;
  background-image:linear-gradient(155deg,#fffaf3 0%,#f3e7d6 100%)!important;
  border-color:#c79e79!important;
  box-shadow:0 4px 12px rgba(95,64,37,.12)!important;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary:focus-visible{
  outline:2px solid #a76b43!important;outline-offset:2px;
}

/* Autumn scenery is architectural, never an abruptly chopped rectangular insert. */
html[data-theme="autumn"] .ws-title-row{
  position:relative;isolation:isolate;overflow:hidden;
  background:#f9f3e9!important;background-image:linear-gradient(109deg,#fcf8f1 0%,#faf4e9 68%,#f5e7d5 100%)!important;
  border:1px solid #e4d8c8;box-shadow:0 12px 30px rgba(97,66,38,.065),inset 0 1px rgba(255,255,255,.55);
}
html[data-theme="autumn"] .ws-title-row::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:var(--jx-asset-autumn-mountain, url('/web/autumn_mountain.webp?v=2811hero2')) center 48%/cover no-repeat;
  opacity:1;
  -webkit-mask-image:linear-gradient(90deg,transparent 7%,rgba(0,0,0,.09) 32%,rgba(0,0,0,.74) 61%,#000 89%);
  mask-image:linear-gradient(90deg,transparent 7%,rgba(0,0,0,.09) 32%,rgba(0,0,0,.74) 61%,#000 89%);
}
html[data-theme="autumn"] .ws-title-row > *{position:relative;z-index:1}
html[data-theme="autumn"] .ws-title-row::after{text-shadow:0 1px 7px rgba(53,35,21,.76)}
html[data-theme="autumn"] .ws-form-sheet-header{background:var(--jx-autumn-float)!important;background-image:var(--jx-autumn-float)!important;min-height:80px;border-top:0!important}
html[data-theme="autumn"] .jx-designer-page .panel-head.jx-canvas-toolbar{
  position:relative;isolation:isolate;overflow:hidden;
  background:#f9f4eb!important;background-image:linear-gradient(110deg,#fcf8f1 0%,#f7efe3 100%)!important;
  border:0!important;box-shadow:none!important;
}
html[data-theme="autumn"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{
  content:"";position:absolute;inset:0 0 0 auto;z-index:0;
  width:min(980px,82%);height:100%;pointer-events:none;
  background:var(--jx-asset-autumn-window, url('/web/autumn_window.webp?v=2811hd1')) center 52%/cover no-repeat;
  opacity:.84;
  -webkit-mask-image:radial-gradient(ellipse 91% 111% at 93% 7%,#000 5%,rgba(0,0,0,.76) 37%,transparent 84%);
  mask-image:radial-gradient(ellipse 91% 111% at 93% 7%,#000 5%,rgba(0,0,0,.76) 37%,transparent 84%);
}
html[data-theme="autumn"] .jx-designer-page .panel-head.jx-canvas-toolbar > *{position:relative;z-index:1}
html[data-theme="autumn"] .jx-designer-page .jx-canvas-toolbar + .canvas-wrap{
  background:linear-gradient(180deg,#f9f4eb 0%,#f8f4ed 110px)!important;
  border-top:0!important;box-shadow:none!important;
}
html[data-theme="autumn"] .jx-designer-page .panel:has(>.jx-canvas-toolbar){border-color:#e8ded1!important}
html[data-theme="autumn"] .ws-form-sheet-body{background:#fffcf7!important}
/* Theme-specific table materials: readable, quiet, no brown image on data rows. */
html[data-theme="autumn"] :is(.ws-record-toolbar,.ws-record-top,.sheet-bar){
  background:#fffcf7!important;border-color:#e6ded2!important;
}
/* V2.8.11 same-task rejection repair: the generic .ws-record-top paper
   background was painting a continuous ivory STRIP behind the five hero
   buttons. Spring and Summer leave the flex container transparent. Keep the
   warm paper on real record toolbars; this exception is hero-only. */
html[data-theme="autumn"] .ws-title-row .ws-record-top.ws-header-actions{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
}
html[data-theme="autumn"] :is(.ws-record-panel,.ws-table-wrap,.sheet-grid,.ws-custom-grid,.sheet-table,.sheet-footer,.ws-table-bottom){
  background:#fffcf7!important;border-color:#e5dbce!important;
}
html[data-theme="autumn"] :is(.ws-custom-grid th,.sheet-table th){background:#f1ebdf!important;color:#5e503f!important;border-color:#ddd2c3!important}
html[data-theme="autumn"] :is(.ws-custom-grid td,.sheet-table td){border-color:#e6ddd0!important;color:#45392f}
html[data-theme="autumn"] :is(.ws-custom-grid tbody tr:hover td,.sheet-table tr:hover td){background-color:#faf3e8!important}
html[data-theme="autumn"] :is(.ws-custom-grid td.ws-grid-check,.ws-custom-grid th.ws-grid-check){border-color:#dfd3c3!important}
html[data-theme="autumn"] :is(.ws-custom-grid .status-pill,.sheet-table .status-pill){background:#f1e9db;color:#5d503c}
/* AI assistant: consistent autumn material while preserving branded glyph. */
html[data-theme="autumn"] .ai-launcher{
  background:linear-gradient(145deg,#b47b4d,#8f5634 72%,#775133)!important;
  border-color:#dfc8a7!important;color:#fffcf7!important;
  box-shadow:0 12px 28px rgba(105,66,32,.25),inset 0 1px 1px rgba(255,255,255,.38)!important;
}
html[data-theme="autumn"] .ai-launcher:hover{box-shadow:0 14px 30px rgba(105,66,32,.3),inset 0 1px 1px rgba(255,255,255,.40)!important}
html[data-theme="autumn"] .ai-float{background:#fffcf7!important;border-color:#e4d7c6!important;box-shadow:var(--jx-shadow-float)!important}
html[data-theme="autumn"] .ai-float-header{background:var(--jx-autumn-float)!important;border-color:#e4d7c6!important}
html[data-theme="autumn"] :is(.ai-float-emblem,.ai-orb,.ai-spark){background:#f4e7d4!important;color:#8a5031!important}
html[data-theme="autumn"] :is(.ai-float-compose,.ai-float-answer,.ai-page-bubble){background:#fffcf7!important}
html[data-theme="autumn"] .ai-float-actions .ai-send{background:#92532f!important;color:#fffcf7!important}
@media(max-width:700px){
  html[data-theme="autumn"] .ws-title-row::before{
    opacity:.34;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 62%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 62%,#000 100%);
  }
  html[data-theme="autumn"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{opacity:.25;width:100%;}
}
@media print{
  html[data-theme="autumn"] .ws-title-row::before,
  html[data-theme="autumn"] .jx-canvas-toolbar::after,
  html[data-theme="autumn"] .ws-title-row::after{display:none!important}
  html[data-theme="autumn"] .ws-title-row{background:#fff!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="autumn"] :is(.ws-module-card,.ws-folder-card,.ws-primary,.ai-launcher){transition:none!important;animation:none!important}
}
/* Autumn maple-leaf cursor: small, precise, three states. Not used on touch. */
@media(hover:hover) and (pointer:fine){
  html[data-theme="autumn"] body,
  html[data-theme="autumn"] :is(.ws-main,.ws-content,.ws-panel,.ws-record-panel,.ws-table-wrap){cursor:url('/web/unified_cursor.png') 2 1,auto!important}
  html[data-theme="autumn"] :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="autumn"] :is(#record-grid td,#record-grid th,.sheet-grid td,.sheet-grid th,.ws-data-row,.mg-table td,.hr-table td,.bp-table td,[role="gridcell"]):hover{cursor:url('/web/unified_cursor.png') 2 1,pointer!important}
  html[data-theme="autumn"] :is(input,textarea,[contenteditable="true"],.sheet-input,[role="textbox"]){cursor:text!important}
  html[data-theme="autumn"] :is(.ws-draggable,.designer-node,.jx-drag-grip,.ws-form-sheet-header,.ws-modal-header,.ws-floating-header,.ws-tools-panel-head,.ai-float-header,.ai-launcher,.hr-modal-head,.bp-modal-head,.sheet-fill-handle,[draggable="true"],[style*="cursor: grab"]){cursor:url('/web/unified_cursor.png') 2 1,grab!important}
  html[data-theme="autumn"] :is(.ws-draggable,.designer-node,.jx-drag-grip,.ws-form-sheet-header,.ws-modal-header,.ws-floating-header,.ws-tools-panel-head,.ai-float-header,.ai-launcher,[draggable="true"]):active,
  html[data-theme="autumn"] :is(.is-dragging,.ws-drag-source,.jx-pointer-dragging,.jx-pointer-dragging *,body.jx-summer-dragging,body.jx-summer-dragging *){cursor:url('/web/unified_cursor.png') 2 1,grabbing!important}
  html[data-theme="autumn"] :is(.jx-resize-n,.jx-resize-s,[style*="cursor: ns-resize"]){cursor:ns-resize!important}
  html[data-theme="autumn"] :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="autumn"] :is(.jx-resize-ne,.jx-resize-sw,[style*="cursor: nesw-resize"]){cursor:nesw-resize!important}
  html[data-theme="autumn"] :is(.jx-resize-nw,.jx-resize-se,[style*="cursor: nwse-resize"]){cursor:nwse-resize!important}
  html[data-theme="autumn"] :is(.ws-sidebar-dragging,.ws-sidebar-dragging *,body.ws-resizing-columns,body.ws-resizing-columns *){cursor:ew-resize!important}
  html[data-theme="autumn"] body.jx-summer-dragging #record-grid :is(td,th),
  html[data-theme="autumn"] body.jx-summer-dragging :is(.sheet-grid td,.hr-table td,.mg-table td){cursor:url('/web/unified_cursor.png') 2 1,grabbing!important}
}
/* Pointer capture must defeat the normal #record-grid hover selector; resize
   must defeat both. This is a behavior rule, not a cosmetic CSS flourish. */
@media(hover:hover) and (pointer:fine){
  html[data-theme="autumn"] body.jx-pointer-dragging #record-grid :is(td,th),
  html[data-theme="autumn"] body.jx-summer-dragging #record-grid :is(td,th),
  html[data-theme="autumn"] body.ws-dragging #record-grid :is(td,th){
    cursor:url('/web/unified_cursor.png') 2 1,grabbing!important;
  }
  html[data-theme="autumn"] body.ws-resizing-columns #record-grid :is(td,th),
  html[data-theme="autumn"] #record-grid :is(td,th) .ws-col-grip{
    cursor:ew-resize!important;
  }
}
/* Primary destructive action must not masquerade as an ordinary brown save. */
html[data-theme="autumn"] .btn.primary.danger{
  background:#a74740!important;background-image:none!important;
  color:#fffcf7!important;border-color:#a74740!important;
}
html[data-theme="autumn"] .btn.primary.danger:hover:not(:disabled){
  background:#8d3934!important;border-color:#8d3934!important;
}
/* Independent HR / finance / assets / development surfaces share the same
   autumn hierarchy without importing workbench geometry or shadows. */
html[data-theme="autumn"] :is(.hr-topbar,.bp-top,.mg-header){
  background:#fffcf7!important;background-image:none!important;
  border-bottom-color:#e6ded2!important;box-shadow:none!important;
}
html[data-theme="autumn"] :is(.hr-modal-head,.bp-modal-head){
  background:var(--jx-autumn-float)!important;
  border-bottom:1px solid #e6ded2!important;box-shadow:none!important;
}
html[data-theme="autumn"] :is(.hr-modal,.bp-modal,.mg-panel,.hr-card,.bp-card){
  background:#fffcf7!important;border-color:#e5dacc!important;
}
html[data-theme="autumn"] :is(.hr-modal-form,.bp-modal-body){
  background:#fffcf7!important;scrollbar-color:#cbb9a1 transparent!important;
}
html[data-theme="autumn"] :is(.hr-topbar,.bp-top) :is(.hr-text-btn,.bp-button,.bp-quiet){
  background:var(--jx-autumn-control)!important;color:#6b4a32!important;
  border-color:#ded0be!important;
}
html[data-theme="autumn"] :is(.hr-primary,.bp-primary,.mg-primary){
  background:#92532f!important;background-image:none!important;
  color:#fffcf7!important;border-color:#92532f!important;
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="autumn"] :is(.ws-module-card,.ws-folder-card,.ws-primary,.ai-launcher):hover{
    transform:none!important;
  }
}
/* V2.8.11: quiet, theme-coherent data-grid scrollbars. The outer page
   track is removed by workspace viewport rules; internal scrolling remains. */
html[data-theme="autumn"] #record-grid{
  scrollbar-width:thin;
  scrollbar-color:#ccb091 transparent;
}
html[data-theme="autumn"] #record-grid::-webkit-scrollbar{width:6px;height:6px;}
html[data-theme="autumn"] #record-grid::-webkit-scrollbar-track{background:transparent;}
html[data-theme="autumn"] #record-grid::-webkit-scrollbar-thumb{
  background:#ccb091;border-radius:999px;
}
html[data-theme="autumn"] #record-grid::-webkit-scrollbar-thumb:hover{background:#af845b;}


/* V2.8.11 rejected-result revision / AUTUMN HERO 02
   Use the user-approved clean autumn panorama. Banner imagery stays BEHIND
   HTML actions. Do not bake text/buttons into the image or introduce a top stripe.
   Button geometry and material follow Spring's restrained 37–39 px controls. */
html[data-theme="autumn"] .ws-title-row{
  background:#faf5ed!important;
  background-image:none!important;
  border:1px solid #e6d7c4!important;
  box-shadow:0 12px 30px rgba(97,66,38,.055),inset 0 1px rgba(255,255,255,.65)!important;
}
html[data-theme="autumn"] .ws-title-row::before{
  background-image:var(--jx-asset-autumn-mountain, url('/web/autumn_mountain.webp?v=2811hero2'))!important;
  background-position:center 46%!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  opacity:1!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 2%,rgba(0,0,0,.12) 31%,rgba(0,0,0,.70) 53%,#000 83%)!important;
  mask-image:linear-gradient(90deg,transparent 2%,rgba(0,0,0,.12) 31%,rgba(0,0,0,.70) 53%,#000 83%)!important;
}
html[data-theme="autumn"] .ws-title-row > div:first-child{
  min-width:0;max-width:100%;align-self:center;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions{
  display:flex!important;align-items:center!important;align-self:center!important;
  justify-content:flex-end!important;gap:9px!important;
  flex-wrap:nowrap!important;margin:0!important;min-width:0;max-width:100%;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;box-sizing:border-box!important;
  height:38px!important;min-height:38px!important;
  padding:0 13px!important;margin:0!important;
  white-space:nowrap!important;line-height:1.25!important;
  font-size:12px!important;font-weight:650!important;letter-spacing:.02px;
  border-radius:11px!important;
  background:#fffcf7!important;
  background-image:linear-gradient(155deg,#fffdfa 0%,#f8efe4 100%)!important;
  border:1px solid #d8bea4!important;
  color:#64452f!important;
  box-shadow:0 3px 10px rgba(77,48,29,.095),inset 0 1px 0 rgba(255,255,255,.94)!important;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .18s ease!important;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary:hover:not(:disabled){
  transform:translateY(-1px);
  background-image:linear-gradient(155deg,#fffefa,#f5e9db)!important;
  border-color:#b98b64!important;
  box-shadow:0 5px 13px rgba(77,48,29,.13),inset 0 1px rgba(255,255,255,.9)!important;
}
html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary:active:not(:disabled){
  transform:translateY(0)!important;box-shadow:0 2px 5px rgba(77,48,29,.07)!important;
}
/* Keep all five actions present, but do not compress them onto the title. */
@media(max-width:1120px){
  html[data-theme="autumn"] .ws-title-row .ws-header-actions{justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px!important}
}
@media(max-width:580px){
  html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary{height:39px!important;min-height:39px!important;padding:0 12px!important;font-size:13px!important}
  html[data-theme="autumn"] .ws-title-row::before{
    -webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.23) 72%,rgba(0,0,0,.6))!important;
    mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.23) 72%,rgba(0,0,0,.6))!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary{transition:none!important}
  html[data-theme="autumn"] .ws-title-row .ws-header-actions > button.ws-secondary:hover{transform:none!important}
}
