/* JIA XIN / WINTER 04 · V2.8.13 · 雪岸微光
   Classic sets rhythm and component capabilities; winter owns material only.
   No new giant layout, no hard-cut scenic rectangles, no icy blue data backgrounds.
   The landscape never competes with input, table values or action buttons. */
:root[data-theme="winter"]{
 --jx-radius:16px;--jx-radius-control:10px;
 --jx-blue:#476f9d;--jx-blue-deep:#31567f;--jx-ink:#34465d;--jx-ink-strong:#26384b;
 --jx-muted:#697b8d;--jx-border:#dce6ee;--jx-border-strong:#bbcedd;
 --jx-bg:#f6f9fb;--jx-surface:#fdfdfa;--jx-surface-soft:#f1f6f8;--jx-blue-tint:#e8f2f8;
 --jx-shadow:0 7px 24px rgba(55,79,104,.075);--jx-shadow-float:0 22px 64px rgba(43,69,96,.19);
 --jx-ui-surface:#fdfdfa;--jx-ui-soft:#f1f6f8;--jx-ui-text:#34465d;
 --jx-ui-muted:#697b8d;--jx-ui-border:#d2dfe9;--jx-ui-accent:#476f9d;
 --jx-ui-tint:#e8f2f8;--jx-ui-on-accent:#fff;
 --jx-ring:0 0 0 3px rgba(87,137,181,.14);
 --theme-table-header-bg:#edf4f7;--theme-table-header-color:#425e79;
 --theme-table-cell-bg:#fdfdfa;--theme-table-panel-bg:#f6f9fa;
 --theme-table-text-color:#34465d;--theme-table-grid-color:#d9e3e8;
 --theme-scroll-thumb:#b8ccd9;--theme-scroll-thumb-hover:#8faec3;
 --winter-paper:#fdfdfa;--winter-snow:#f5f8fa;--winter-line:#dce6ea;
 --winter-soft:#eaf2f6;--winter-accent:#47759e;--winter-light:#f7fafb;
 --winter-head:linear-gradient(108deg,#fdfdfa 0%,#f7fafb 50%,#e8f1f7 100%);
 --winter-fullpage:linear-gradient(108deg,#fdfdfa 0%,#f4f8fa 50%,#e3eef6 100%);
 --winter-control:linear-gradient(135deg,#fffefa 0%,#f8faf9 72%,#eef5f8 100%);
 --jx-head-bg:var(--winter-head);--jx-float-title-bg:var(--winter-head);
 --jx-float-title-border:#d9e5e9;--jx-fullpage-grad:var(--winter-fullpage);
 --jx-fullpage-border:#d9e5e9;--jx-fullpage-accent:#476f9d;--jx-fullpage-ink:#34465d;
}
html[data-theme="winter"] :is(.ws-header,.ws-sidebar-top){background:var(--winter-paper)!important;background-image:none!important;border-top:0!important;border-color:var(--winter-line)!important;box-shadow:0 3px 17px #3856720b!important}
html[data-theme="winter"] :is(.topbar:not(.jx-fullpage-header),.sheet-top:not(.jx-fullpage-header),.ws-modal-header,.ws-floating-header,.ws-tools-panel-head,.jx-logic-head,.jx-schema-head,.hr-modal-head,.bp-modal-head){background:var(--winter-head)!important;background-image:var(--winter-head)!important;border-top:0!important;border-bottom:1px solid var(--winter-line)!important;box-shadow:none!important}
html[data-theme="winter"] :is(.jx-fullpage-header,.jx-designer-page>.topbar,.jx-studio-top.jx-fullpage-header){background:var(--winter-fullpage)!important;background-image:var(--winter-fullpage)!important;border-bottom:1px solid #dce7ef!important;box-shadow:0 3px 12px #5a7a9610!important}
html[data-theme="winter"] :is(.ws-logo,.brand-mark,.mg-mark){background:linear-gradient(145deg,#648cb4,#376895)!important;border-color:#7299bd!important;color:#fff!important;box-shadow:0 4px 11px #395f851b!important}
html[data-theme="winter"] :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary,.jx-dialog-confirm,.jx-time-confirm,.mg-primary){background:linear-gradient(145deg,#577fa8,#376897)!important;color:#fff!important;border-color:#52799f!important;box-shadow:0 3px 9px #4c71911d!important}
html[data-theme="winter"] :is(.ws-primary,.btn.primary,.form-submit,.sheet-top button.primary,.jx-dialog-confirm,.jx-time-confirm):hover:not(:disabled){background:linear-gradient(145deg,#577fa8,#376897)!important;border-color:#3e6994!important;box-shadow:0 6px 13px #4c719127!important}
html[data-theme="winter"] :is(.ws-secondary,.btn:not(.primary),.ws-icon-btn,.ws-action-btn,.jx-config-button,.ws-form-small,.ws-form-icon,.sheet-top .soft,.jx-export-format-option,.jx-sort-option){background:var(--winter-control)!important;background-image:var(--winter-control)!important;border-color:#cfdee8!important;color:#3d5874!important;box-shadow:0 2px 9px #5478920b!important}
html[data-theme="winter"] :is(.ws-secondary,.btn:not(.primary),.ws-icon-btn,.ws-action-btn,.jx-config-button,.ws-form-small,.ws-form-icon,.sheet-top .soft,.jx-export-format-option,.jx-sort-option):hover:not(:disabled){background:var(--winter-control)!important;background-image:var(--winter-control)!important;border-color:#a9c4d8!important;box-shadow:0 5px 14px #436b8819!important}
html[data-theme="winter"] :is(.ws-primary,.ws-secondary,.btn,.jx-config-button,.ws-icon-btn):disabled{opacity:.55;box-shadow:none!important}
html[data-theme="winter"] :is(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid #6591b1!important;outline-offset:2px}
html[data-theme="winter"] :is(.ws-tree-search,.ws-tools-search) input:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
html[data-theme="winter"] :is(.ws-tree-search,.ws-tools-search):focus-within{border-color:#9cbdd2!important;box-shadow:0 0 0 3px #7098b71e!important;background:var(--winter-paper)!important}
html[data-theme="winter"] :is(.ws-sidebar,.hr-side,.bp-sidebar){background:linear-gradient(180deg,#fdfdfa,#f5f8fa)!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.ws-module-card,.ws-folder-card,.ws-panel,.ws-stat,.mg-panel,.worker-card){background:var(--winter-paper)!important;border-color:var(--winter-line)!important;box-shadow:0 5px 19px #506d8610!important}
html[data-theme="winter"] :is(.ws-module-card,.ws-folder-card):hover{background:linear-gradient(145deg,#fdfdfa,#f1f7f9)!important;border-color:#bad1df!important}
html[data-theme="winter"] .ws-stat{border-top:0!important}
html[data-theme="winter"] :is(.ws-panel-head,.sheet-top,.jx-canvas-toolbar){border-top:0!important}
html[data-theme="winter"] .ws-module-symbol{background:#e9f3f7!important;color:#3f7099!important;border-color:#cee1eb!important}
/* Hero: same desktop height as classic/spring/summer, snowy landscape naturally feathered at left. */
html[data-theme="winter"] .ws-title-row{
 min-height:130px!important;padding:22px 24px!important;border-radius:16px!important;
 border:1px solid #d4e1e8!important;background-color:#f9fbfa!important;
 background-image:linear-gradient(0deg,#f9fbfa4d,transparent 44%),linear-gradient(90deg,#f9fbfa 0%,#f9fbfafc 27%,#f9fbfae0 47%,#f9fbfa80 65%,#f9fbfa04 94%),var(--jx-asset-season-winter-hero, url('/web/season_winter_hero.webp'))!important;
 background-repeat:no-repeat!important;background-size:cover!important;background-position:center 55%!important;
 box-shadow:0 8px 25px #516a8114!important;overflow:hidden!important;
}
html[data-theme="winter"] .ws-title-row>div:first-child{position:relative;z-index:2;max-width:60%}
html[data-theme="winter"] .ws-title-row h1{color:#314a65!important}
html[data-theme="winter"] .ws-title-row::after{content:"WINTER / SEASON 04"!important;right:16px;bottom:12px;color:#fff;text-shadow:0 1px 6px #24496a}
/* V2.8.14: Winter follows the spring/summer hierarchy: snow-paper in the
   foreground, a separate image layer feathered on every exposed edge.  Never
   crop a hard rectangular panorama behind the five designer actions. */
html[data-theme="winter"] .ws-form-sheet-header{
 background:var(--winter-head)!important;background-image:var(--winter-head)!important;
 border-top:0!important;border-bottom-color:var(--winter-line)!important;
}
html[data-theme="winter"] .jx-designer-page .panel-head.jx-canvas-toolbar{
 position:relative!important;isolation:isolate;overflow:hidden;
 background-color:#f9fbfa!important;
 background-image:linear-gradient(107deg,#fdfdfa 0%,#f7faf9 55%,#eaf2f6 100%)!important;
 border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
html[data-theme="winter"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{
 content:"";position:absolute;z-index:0;inset:0 0 0 auto;
 width:min(960px,84%);height:100%;pointer-events:none;
 background:var(--jx-asset-season-winter-detail, url('/web/season_winter_detail.webp')) center 49%/cover no-repeat;
 opacity:.88;
 -webkit-mask-image:radial-gradient(ellipse 90% 75% at 104% 43%,#000 24%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.28) 75%,transparent 100%);
 mask-image:radial-gradient(ellipse 90% 75% at 104% 43%,#000 24%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.28) 75%,transparent 100%);
}
html[data-theme="winter"] .jx-designer-page .panel-head.jx-canvas-toolbar > *{position:relative;z-index:2}
html[data-theme="winter"] .jx-designer-page .jx-canvas-toolbar + .canvas-wrap{
 background-color:#f3f7f8!important;
 background-image:linear-gradient(180deg,#f1f6f8 0%,#f3f7f8 150px)!important;
 border-top:0!important;box-shadow:none!important;
}
html[data-theme="winter"] .jx-designer-page .panel:has(>.jx-canvas-toolbar){border-color:#dee8eb!important}
/* Quiet, opaque snow-paper controls: same geometry/visual hierarchy as Spring.
   Avoid abrupt gradients disappearing on hover. */
html[data-theme="winter"] .jx-designer-page .jx-canvas-actions :is(.jx-config-button,.jx-critical-button){
 background:linear-gradient(145deg,#fffefa 0%,#f7faf8 76%,#eef4f6 100%)!important;
 background-image:linear-gradient(145deg,#fffefa 0%,#f7faf8 76%,#eef4f6 100%)!important;
 border-color:#cedee5!important;color:#3c5871!important;
 box-shadow:0 2px 7px rgba(54,78,97,.09)!important;
}
html[data-theme="winter"] .jx-designer-page .jx-canvas-actions :is(.jx-config-button,.jx-critical-button):hover:not(:disabled){
 background:linear-gradient(145deg,#fffefa 0%,#f7faf8 76%,#eef4f6 100%)!important;
 background-image:linear-gradient(145deg,#fffefa 0%,#f7faf8 76%,#eef4f6 100%)!important;
 border-color:#a9c4d8!important;box-shadow:0 4px 11px rgba(54,78,97,.13)!important;
}
@media(max-width:680px){
 html[data-theme="winter"] .jx-designer-page .panel-head.jx-canvas-toolbar::after{
  width:100%;opacity:.56;background-position:68% center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.22) 54%,rgba(0,0,0,.62) 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.22) 54%,rgba(0,0,0,.62) 100%);
 }
}
html[data-theme="winter"] :is(.ws-form-sheet-body,.jx-designer-page .canvas-wrap,.jx-designer-page .properties,.jx-designer-page .palette){background:#f3f7f8!important}
html[data-theme="winter"] :is(.ws-form-preview-content,.jx-designer-page .form-paper,.jx-create-flow-card,.jx-logic-workspace,.jx-formula-workbench){background:#fffefa!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.sheet-grid,.ws-record-panel,.ws-table-wrap,.sheet-table,.ws-custom-grid,.sheet-table td,.ws-custom-grid td){background:#fdfdfa}
html[data-theme="winter"] :is(.sheet-bar,.sheet-footer,.ws-record-toolbar,.ws-form-sheet-footer){background:#f9fbfa!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.sheet-table th,.ws-custom-grid th,.sheet-grid th){background:#edf4f7!important;color:#415b75!important;border-color:#d8e5eb!important}
html[data-theme="winter"] :is(.sheet-table td,.ws-custom-grid td){border-color:#dce5e9!important}
html[data-theme="winter"] :is(.sheet-table tr:hover td,.ws-custom-grid tr:hover td){background:#eff6f8!important}
html[data-theme="winter"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#cddde5;color:var(--jx-ink)}
html[data-theme="winter"] :is(.ws-modal,.ws-form-sheet,.ws-floating-settings,.jx-schema-dialog,.jx-logic-dialog,.ws-tools-panel,.jx-time-panel,.jx-select-popup){background:#fdfdfa!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.ws-modal-body,.ws-floating-body,.ws-form-sheet-body,.jx-schema-body,.jx-logic-body,.jx-schema-dialog>.properties){background:#fdfdfa!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.ws-modal-footer,.ws-floating-footer,.ws-form-sheet-footer,.jx-schema-foot,.jx-logic-foot){background:#fdfdfa!important;border-top:1px solid var(--winter-line)!important;box-shadow:none!important}
html[data-theme="winter"] :is(.ws-form-sheet-header,.jx-new-form-header,.jx-record-edit-header,.jx-schema-head,.ws-modal-layer.jx-action-modal .ws-modal-header,.ws-sort-dialog .ws-modal-header,.ws-search-panel .jx-search-head){background:var(--winter-head)!important;background-image:var(--winter-head)!important;border-top:0!important;border-bottom:1px solid var(--winter-line)!important}
/* Five settings panes: warm snow paper, not blue slabs behind white cards. */
html[data-theme="winter"] .jx-schema-overlay .jx-schema-dialog[class*="jx-schema-kind-"]{--jx-ui-surface:#fdfdfa;--jx-ui-soft:#f3f7f8;background:#fdfdfa!important}
html[data-theme="winter"] .jx-schema-overlay .jx-schema-dialog[class*="jx-schema-kind-"]>.jx-schema-body{background:#fdfdfa!important;background-image:none!important;scrollbar-gutter:auto!important}
html[data-theme="winter"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-access-root,.jx-access-layout,.jx-validation-rules,.jx-constraint-list,.jx-automation-fields,.jx-access-detail,.jx-validation-body,.jx-constraint-content){background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-theme="winter"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-validation-section,.jx-validation-rule,.jx-constraint-card,.jx-rule-card,.jx-access-matrix,.jx-access-matrix-scroll,.jx-access-member-list,.jx-access-field-row,.jx-validation-rule-body){background:#fdfdfa!important;background-image:none!important;box-shadow:none!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-access-side,.jx-access-matrix-head){background:#f3f7f8!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] .jx-schema-dialog[class*="jx-schema-kind-"] :is(.jx-access-matrix-scroll,.jx-access-matrix-rows){scrollbar-gutter:auto!important}
html[data-theme="winter"] :is(.jx-format-chip.is-active,.jx-access-group-card.is-active){background:#e6f1f7!important;color:#335f83!important;border-color:#a8c5d8!important}
html[data-theme="winter"] :is(.jx-format-chip:not(.is-active),.jx-rule-card,.jx-validation-required-item){background:var(--winter-paper)!important}
html[data-theme="winter"] :is(.mg-heading,.worker-card::before){background-color:#f7fafb!important}
html[data-theme="winter"] .mg-heading{background-image:linear-gradient(90deg,#f7fafb 0%,#f7fafbf5 46%,#f7fafb3b 100%),var(--jx-asset-season-winter-detail, url('/web/season_winter_detail.webp'))!important;background-size:cover!important;background-position:center!important}
html[data-theme="winter"] :is(.jx-appearance-popup,.jx-appearance>summary){background:var(--winter-paper)!important;border-color:var(--winter-line)!important}
html[data-theme="winter"] :is(.ai-launcher,.jx-ai-float,.ws-ai-launcher,#jx-ai-float,.jx-ai-launcher){background:linear-gradient(145deg,#8aafc9 0%,#557eac 56%,#335c8b 100%)!important;border-color:#bad3e5!important;color:#fff!important;box-shadow:0 9px 24px #416d9440!important}
/* One muted silver-blue scrollbar throughout, without artificial reserved gutters. */
html[data-theme="winter"]{scrollbar-color:#b9ccd8 transparent!important}
html[data-theme="winter"] ::-webkit-scrollbar{width:8px;height:8px}
html[data-theme="winter"] ::-webkit-scrollbar-track{background:transparent!important}
html[data-theme="winter"] ::-webkit-scrollbar-thumb{background:#b9ccd8!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:padding-box!important}
html[data-theme="winter"] ::-webkit-scrollbar-thumb:hover{background:#8faabd!important}
@media(hover:hover) and (pointer:fine){
 html[data-theme="winter"] :is(body,.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="winter"] :is(button,a,summary,select,label,[role="button"],[role="tab"],.ws-tree-item,.ws-module-card){cursor:url('/web/unified_cursor.png') 2 1,pointer!important}
 html[data-theme="winter"] :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="winter"] :is(input,textarea,[contenteditable="true"],.sheet-input,[role="textbox"]){cursor:text!important}
 html[data-theme="winter"] :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,[draggable="true"]){cursor:url('/web/unified_cursor.png') 2 1,grab!important}
 html[data-theme="winter"] :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="winter"] :is(.jx-resize-n,.jx-resize-s,[style*="cursor: ns-resize"]){cursor:ns-resize!important}
 html[data-theme="winter"] :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="winter"] :is(.jx-resize-ne,.jx-resize-sw,[style*="cursor: nesw-resize"]){cursor:nesw-resize!important}
 html[data-theme="winter"] :is(.jx-resize-nw,.jx-resize-se,[style*="cursor: nwse-resize"]){cursor:nwse-resize!important}
 html[data-theme="winter"] :is(.ws-sidebar-dragging,.ws-sidebar-dragging *,body.ws-resizing-columns,body.ws-resizing-columns *){cursor:ew-resize!important}
}
@media(max-width:760px){
 html[data-theme="winter"] .ws-title-row{background-position:70% 52%!important}
 html[data-theme="winter"] .ws-title-row>div:first-child{max-width:92%}
 html[data-theme="winter"] .ws-title-row::after{display:none}
 html[data-theme="winter"] .ws-form-sheet-header{background-size:cover,cover,auto 155px!important}
}
@media(prefers-reduced-motion:reduce){html[data-theme="winter"] *{transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media print{html[data-theme="winter"] :is(.ws-title-row,.mg-heading,.ws-form-sheet-header,.jx-canvas-toolbar){background-image:none!important;background-color:#fff!important}html[data-theme="winter"] *{cursor:auto!important}}
