/* Generated from design-system/dushi/refinement.css. Run node scripts/build-ui-theme.js. */
/* A+B: preserve the original photography and physical workspace. */
.dushi-refined { --ui-ink:#35382f; --ui-secondary:#706758; --ui-line:#e1dbcf; --ui-paper:#faf9f6; --ui-wash:#eeeae1; color:var(--ui-ink); }
.dushi-refined .header { background:var(--ui-paper); border:0; }
.dushi-refined .header-title { font-size:15px; font-weight:500; letter-spacing:1px; }
.dushi-refined .back { width:44px; min-width:44px; height:44px; min-height:44px; padding:10px; display:flex; align-items:center; justify-content:center; }
.dushi-refined .bottom-nav button { min-height:44px; color:#706b60; font-size:11px; }
.dushi-refined .bottom-nav .active { color:#393d31; font-weight:500; }
.dushi-refined .home-design-entry .home-entry-note,.dushi-refined .home-inspiration-entry .home-entry-note { color:#635d51; }
.dushi-refined .home-entry-note { font-size:12px; }
.dushi-refined .workspace { position:relative; }
.dushi-refined .studio-summary { min-height:38px; height:38px; padding:0 12px; color:var(--ui-secondary); font-size:12px; }
.dushi-refined .studio-total { color:#584c3b; font-size:14px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.dushi-refined .studio-total small,.dushi-refined .studio-total>text { color:var(--ui-secondary); font-size:10px; margin-left:5px; }
.dushi-refined .studio-summary button { min-height:38px; font-size:11px; color:var(--ui-secondary); }
.dushi-refined .studio-summary .size-summary { padding:0 6px; }
.dushi-refined .size-summary-hint { font-size:10px; color:var(--ui-secondary); }
.dushi-refined .tray-side-button { min-height:44px; height:44px; color:#5f584c; }
.dushi-refined .tray-side-value { color:#70614c; font-size:10px; }
.dushi-refined .tray-native-tool { height:44px; line-height:44px; color:#5f584c; }
.dushi-refined .tray-native-value { color:#70614c; font-size:10px; }
.dushi-refined .workspace .stage-view-tools { height:48px; min-height:48px; padding:2px 10px; gap:4px; }
.dushi-refined .workspace .stage-view-tools .history-text { height:44px; min-height:44px; width:36px; max-width:36px; padding:0; border:0; background:transparent; color:var(--ui-secondary); font-size:11px; }
.dushi-refined .workspace .stage-view-actions { gap:4px; }
.dushi-refined .workspace .stage-view-tools .tray-preview,.dushi-refined .workspace .stage-view-tools .tray-detail { min-height:44px; height:44px; padding:0 6px; border:0; background:transparent; font-size:11px; color:var(--ui-ink); }
.dushi-refined .workspace .stage-view-tools .tray-finish { width:82px; min-width:82px; max-width:82px; height:44px; min-height:44px; border-radius:12px; font-size:13px; letter-spacing:0; }
.dushi-refined .current-spec-row { min-height:24px; height:auto; font-size:11px; color:var(--ui-secondary); padding:3px 12px; }
.dushi-refined .workspace .material-panel { padding:0; background:var(--ui-paper); border-top:1px solid var(--ui-line); min-height:0; }
.drawer-heading { display:flex; flex-shrink:0; min-height:44px; height:44px; align-items:center; justify-content:space-between; padding:0 12px; gap:8px; }
.draft-status { font-size:10px; color:var(--ui-secondary); line-height:1.4; }
.drawer-toggle { display:flex; align-items:center; gap:8px; height:44px; min-height:44px; padding:0 2px 0 8px; margin:0; color:var(--ui-ink); font-size:12px; white-space:nowrap; font-weight:500; }
.drawer-toggle svg { width:16px; height:16px; }
.dushi-refined .workspace .studio-search-row { display:none; height:40px; flex-shrink:0; margin:0 12px 4px; }
.dushi-refined .material-search { height:36px; background:#f1eee7; border:0; border-radius:10px; padding:0 10px; }
.dushi-refined .material-search input { height:36px; font-size:13px; color:var(--ui-ink); }
.dushi-refined .workspace .sound-chip { height:40px; min-height:40px; color:var(--ui-secondary); font-size:11px; }
.dushi-refined .sound-chip small,.dushi-refined .sound-chip text { color:var(--ui-secondary); }
.dushi-refined .material-panel .category-tabs { padding:0 10px; gap:0; justify-content:space-between; height:44px; flex-shrink:0; }
.dushi-refined .material-panel .category-tabs button { min-height:44px; height:44px; font-size:13px; color:var(--ui-secondary); letter-spacing:0; padding:0 7px; }
.dushi-refined .material-panel .category-tabs button.active { color:var(--ui-ink); font-weight:500; }
.dushi-refined .drawer-rule { display:none; }
.dushi-refined .catalog-drawer { padding-top:6px; }
.dushi-refined .material-sidebar { width:68px; flex-basis:68px; background:#f5f2eb; }
.dushi-refined .workspace .material-sidebar button { min-height:44px; height:44px; font-size:11px; color:var(--ui-secondary); padding:0 8px 0 10px; }
.dushi-refined .material-sidebar button.active { color:var(--ui-ink); background:#eae4d8; }
.dushi-refined .material-panel .material-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 6px; padding-bottom:12px; }
.dushi-refined .material-scroll { padding:0 8px; }
.dushi-refined .material-card { border-radius:10px; border:0; background:#f2efe8; box-shadow:none; }
.dushi-refined .material-select { min-height:88px; padding:8px 2px 4px; }
.dushi-refined .material-panel .material-name,.dushi-refined .material-select .name { color:var(--ui-ink); font-size:11px; line-height:1.5; }
.dushi-refined .material-panel .material-price,.dushi-refined .material-select>small { color:#6e6250; font-size:10px; margin-top:3px; line-height:1.4; }
.dushi-refined .material-spec { height:32px; min-height:32px; font-size:11px; color:#655944; background:#eae4d8; }
.dushi-refined .material-spec small,.dushi-refined .material-spec text { color:#655944; font-size:9px; }
.dushi-refined .material-spec.fixed { background:transparent; }
.dushi-refined .material-stepper { height:44px; border:0; color:var(--ui-ink); }
.dushi-refined .material-stepper button { min-height:44px; height:44px; min-width:0; font-size:19px; line-height:44px; }
.dushi-refined .material-stepper span,.dushi-refined .material-stepper text { font-size:12px; }
.expanded-spec { display:none; }
.dushi-refined .materials-expanded .material-panel { position:absolute; inset:0; z-index:15; border:0; min-height:0; padding-bottom:env(safe-area-inset-bottom); }
.dushi-refined .materials-expanded .drawer-heading { background:#eee9df; border-bottom:1px solid var(--ui-line); }
.dushi-refined .materials-expanded .studio-search-row { display:flex; margin-top:8px; }
.dushi-refined .materials-expanded .material-card { height:100px; }
.dushi-refined .materials-expanded .material-select { min-height:100px; height:100px; padding:4px 2px; }
.dushi-refined .materials-expanded .material-select .material-photo { transform:scale(.72); transform-origin:top center; margin-bottom:-9px; }
.dushi-refined .materials-expanded .material-thumb-box { transform:scale(.72); transform-origin:top center; margin-bottom:-9px; }
.dushi-refined .materials-expanded .expanded-spec { display:block; font-size:10px; color:var(--ui-secondary); line-height:1.5; margin-top:2px; }
.dushi-refined .materials-expanded .material-card>.material-spec,.dushi-refined .materials-expanded .material-stepper { display:none; }
.drawer-selection { display:flex; flex-shrink:0; align-items:center; height:56px; min-height:56px; gap:4px; padding:6px 10px; background:#eee9df; border-top:1px solid var(--ui-line); }
.drawer-selection-copy { flex:1; min-width:0; font-size:12px; color:var(--ui-ink); overflow:hidden; }
.drawer-selection-copy strong,.drawer-selection-copy>view { display:block; font-size:12px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.drawer-selection-copy small,.drawer-selection-copy>text { display:block; color:var(--ui-secondary); font-size:10px; margin-top:3px; }
.drawer-selection button { width:44px; min-width:44px; height:44px; min-height:44px; padding:0; margin:0; border-radius:10px; background:#faf9f6; color:var(--ui-ink); font-size:14px; line-height:44px; }
.dushi-refined .materials-expanded .inlay-guide { font-size:11px; color:var(--ui-secondary); padding:4px 12px; line-height:1.5; }
.dushi-refined .pill { min-height:44px; font-size:13px; padding:11px 18px; letter-spacing:0; border-radius:12px; }
.dushi-refined .pill.light { color:var(--ui-ink); border-color:#bfb5a5; }
.dushi-refined .paper-card { margin:12px 16px; padding:20px; background:#fdfcf9; border:0; border-radius:14px; }
.dushi-refined .card-title { font-size:15px; font-weight:500; letter-spacing:0; margin-bottom:16px; }
.dushi-refined .card-title small,.dushi-refined .card-title .muted { font-size:11px; font-weight:400; color:var(--ui-secondary); }
.dushi-refined .line-name { font-size:13px; font-weight:500; }
.dushi-refined .line-small,.dushi-refined .line-item small { color:var(--ui-secondary); font-size:12px; line-height:1.65; }
.dushi-refined .line-item { min-width:0; }
.dushi-refined .material-lines { gap:16px 12px; }
.dushi-refined .summary-row { font-size:13px; margin:16px 0; }
.dushi-refined .summary-row.total { font-size:16px; border-color:var(--ui-line); }
.dushi-refined .fine-print { font-size:12px; color:var(--ui-secondary); line-height:1.8; padding:12px 20px 24px; }
.dushi-refined .help-text,.dushi-refined .notice { color:var(--ui-secondary); font-size:12px; line-height:1.8; }
.dushi-refined .help-link { color:#6b573c; min-height:44px; padding:8px 4px; font-size:12px; }
.dushi-refined .outline-actions { flex-wrap:wrap; gap:8px; }
.dushi-refined .outline-actions button { min-height:52px; font-size:12px; border-color:var(--ui-line); border-radius:10px; }
.dushi-refined .double-actions { gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:var(--ui-paper); }
.dushi-refined .profile-head { margin:0 24px; padding:28px 0; }
.dushi-refined .profile-head h2,.dushi-refined .profile-title { font:400 23px 'Songti SC','STSong',serif; letter-spacing:1px; }
.dushi-refined .profile-head p,.dushi-refined .profile-sub,.dushi-refined .profile-head small { color:var(--ui-secondary); font-size:11px; }
.dushi-refined .menu { padding:0 24px; }
.dushi-refined .menu-item,.dushi-refined .menu>button { min-height:76px; padding:16px 0; gap:14px; color:var(--ui-ink); font-size:15px; border-color:var(--ui-line); }
.dushi-refined .menu-sub { color:var(--ui-secondary); font-size:12px; margin-top:6px; }
.dushi-refined .small-btn { min-height:44px; padding:10px 14px; font-size:12px; border-radius:10px; }
.dushi-refined .page-lead { padding:24px; }
.dushi-refined .page-lead h1,.dushi-refined .lead-title { font:400 25px 'Songti SC','STSong',serif; letter-spacing:1px; line-height:1.5; }
.dushi-refined .page-lead p,.dushi-refined .lead-sub { color:var(--ui-secondary); font-size:13px; line-height:1.8; }
.dushi-refined .gallery-tabs { padding:0; margin:0 24px 12px; border-bottom:1px solid var(--ui-line); }
.dushi-refined .gallery-tabs button { min-height:44px; font-size:13px; color:var(--ui-secondary); border-radius:0; }
.dushi-refined .gallery-tabs .active { color:var(--ui-ink); border-color:var(--ui-ink); }
.dushi-refined .design-list-info { padding:18px; font-size:15px; gap:12px; }
.dushi-refined .design-list-info h3 { font-size:16px; }
.dushi-refined .design-list-info p { color:var(--ui-secondary); font-size:12px; line-height:1.7; }
.dushi-refined .sheet { padding:24px; background:var(--ui-paper); }
.dushi-refined .sheet-mask { z-index:40; }
.dushi-refined .sheet-head { font-size:18px; }
.dushi-refined .sheet-head button { width:44px; height:44px; min-height:44px; padding:10px; }
.dushi-refined .text-input { min-height:44px; font-size:14px; color:var(--ui-ink); }
.dushi-refined .form-label { color:var(--ui-secondary); font-size:12px; }
.dushi-refined .empty { font-size:13px; line-height:1.8; color:var(--ui-secondary); }
.dushi-refined .catalog-note { font-size:12px; color:var(--ui-secondary); }
.dushi-refined .workspace .studio-total { font-size:14px; color:#584c3b; }
.dushi-refined .workspace .studio-total small,.dushi-refined .workspace .studio-total>text { font-size:10px; color:var(--ui-secondary); }
.dushi-refined .workspace .studio-summary .size-summary { font-size:11px; min-height:38px; color:var(--ui-ink); }
.dushi-refined .workspace .studio-summary .size-summary-hint { font-size:10px; color:var(--ui-secondary); }
.dushi-refined .workspace .studio-summary .service-inline { font-size:11px; min-height:38px; }
@media (max-height:700px) {
 .dushi-refined .header { height:44px; }
 .dushi-refined .current-spec-row { display:none; }
 .dushi-refined .workspace .studio-summary { height:36px; min-height:36px; }
 .dushi-refined .workspace .stage-view-tools { height:44px; min-height:44px; padding-top:0; padding-bottom:0; }
 .dushi-refined .drawer-heading { padding-left:8px; padding-right:8px; }
 .dushi-refined .draft-status { font-size:9px; }
}
/* WEB ONLY START */
.dushi-refined input::placeholder { color:#706758; opacity:1; }
.dushi-refined input,.dushi-refined textarea { caret-color:#6b573c; }
.dushi-refined ::selection { background:#ded2bf; color:#35382f; }
.dushi-refined button:focus-visible,.dushi-refined input:focus-visible,.dushi-refined textarea:focus-visible { outline:2px solid #76603f; outline-offset:2px; }
.dushi-refined button { transition:background-color 140ms ease-out; }
.dushi-refined button:active:not(:disabled) { background-color:#e9e2d5; }
.dushi-refined .tray-finish:active:not(:disabled),.dushi-refined .pill:not(.light):active:not(:disabled) { background-color:#454c3c; }
.dushi-refined .menu>button { display:flex; align-items:center; }
.dushi-refined .menu>button>div { flex:1; text-align:left; }
.dushi-refined .studio-total small { display:inline; }
.dushi-refined .material-scroll { scrollbar-width:thin; scrollbar-color:#b4a893 #f5f2eb; }
.dushi-refined .materials-expanded .material-select { display:block; }
.dushi-refined .materials-expanded .material-thumb-box { margin-left:auto; margin-right:auto; }
@media (max-width:350px) { .dushi-refined .workspace .stage-view-tools{padding-left:4px;padding-right:4px;gap:0}.dushi-refined .workspace .stage-view-tools .history-text{width:32px;max-width:32px}.dushi-refined .workspace .stage-view-tools .tray-preview,.dushi-refined .workspace .stage-view-tools .tray-detail{padding:0 3px}.dushi-refined .workspace .stage-view-tools .tray-finish{width:74px;min-width:74px;max-width:74px} }
@media (prefers-reduced-motion:reduce) { .dushi-refined button{transition:none} }
/* WEB ONLY END */
