/* Tengyun artwork workspace. Scoped so other persona modules remain unchanged. */
#umbrellaDesignerModal { padding: 20px; background: rgba(3,7,20,.78); backdrop-filter: blur(12px); }
#umbrellaDesignerModal .umbrella-designer-card { width: min(1120px,100%); max-height: 94dvh; padding: 30px; border-radius: 28px; background: radial-gradient(ellipse at 0 0,rgba(83,69,156,.16),transparent 50%),#0d1223; border: 1px solid #2c344e; box-shadow: 0 32px 100px #0008; scrollbar-width: thin; scrollbar-color: #414c69 transparent; overflow-x: hidden; }
#umbrellaDesignerModal * { box-sizing: border-box; }
#umbrellaDesignerModal .hidden { display: none !important; }
#umbrellaDesignerModal button { cursor: pointer; transition: background .18s,border-color .18s,box-shadow .18s; }
#umbrellaDesignerModal button:focus-visible, #umbrellaDesignerModal input:focus-visible, #umbrellaDesignerModal summary:focus-visible { outline: 2px solid #6cdbec; outline-offset: 3px; }
#umbrellaDesignerModal button:disabled { cursor: not-allowed; opacity: .4; }
#umbrellaDesignerModal .umbrella-designer-head { margin-bottom: 24px; }
#umbrellaDesignerModal .umbrella-designer-head > span { color: #9daed0; letter-spacing: .22em; font-size: 10px; }
#umbrellaDesignerModal .umbrella-designer-head h2 { font-size: clamp(24px,3vw,34px); font-weight: 750; letter-spacing: -.03em; margin: 12px 0 8px; }
#umbrellaDesignerModal .umbrella-designer-head p { font-size: 13px; color: #919db6; }
#umbrellaDesignerModal .umbrella-intent-switch { background: #141c30; border-color: #293550; border-radius: 18px; }
#umbrellaDesignerModal .umbrella-intent-options button { min-height: 58px; border-radius: 12px; }
#umbrellaDesignerModal .umbrella-intent-options button.is-selected { background: #213652; border-color: #6ba6c6; box-shadow: inset 0 0 0 1px #80cdd214; }
#umbrellaDesignerModal .umbrella-workflow-steps { background: transparent; border: 0; padding: 8px 0; margin: 18px 0; max-width: 430px; }
#umbrellaDesignerModal .umbrella-product-library { margin-bottom: 26px; }
#umbrellaDesignerModal .umbrella-product-library h3 { font-size: 19px; }
#umbrellaDesignerModal .umbrella-product-card { border-radius: 14px; padding: 9px; background: #161f33; }
#umbrellaDesignerModal .umbrella-product-card.is-selected { background: #20324b; border-color: #7cbcc9; box-shadow: inset 0 0 0 1px #7cbcc930; }
#umbrellaDesignerModal .umbrella-product-card img { border-radius: 9px; background: #f7f8fa; }
#umbrellaDesignerModal .umbrella-selected-product { background: #141c2e; border-color: #29344a; border-radius: 14px; }
#umbrellaDesignerModal .umbrella-customization-workspace { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: start; gap: 24px; padding-top: 24px; border-top: 1px solid #2a3349; }
#umbrellaDesignerModal .umbrella-board-column { min-width: 0; position: sticky; top: 0; }
#umbrellaDesignerModal .umbrella-proof-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 16px; }
#umbrellaDesignerModal .umbrella-proof-heading small { font-size: 10px; letter-spacing: .16em; color: #90a9c5; }
#umbrellaDesignerModal .umbrella-proof-heading h3 { font-size: 21px; letter-spacing: -.02em; margin: 6px 0 0; }
.umbrella-live-badge { flex: 0 0 auto; color: #9dddc9; font-size: 10px; padding: 6px 9px; border: 1px solid #385849; border-radius: 20px; background: #1c342a; }
.umbrella-live-badge::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8ee0bd; margin-right: 5px; }
.umbrella-board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #eef2f6; color: #5f6f84; padding: 10px 12px; border-radius: 18px 18px 0 0; font-size: 11px; }
.umbrella-board-toolbar > div { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.umbrella-board-toolbar button { min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid #dae1e9; border-radius: 7px; background: #fff; color: #33465c; font-size: 13px; }
.umbrella-board-toolbar output { font-size: 11px; width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
#umbrellaDesignerModal .umbrella-designer-preview { border: 0; border-radius: 0 0 18px 18px; }
#umbrellaDesignerModal .umbrella-top-board { transform-origin: 50% 50%; transform: scale(var(--board-zoom,1)); }
.umbrella-mobile-expand { display: none; }
#umbrellaExportModal { z-index: 10000; background: #040816dd; padding: 14px; }
.umbrella-export-sheet { position: relative; background: #151f33; border: 1px solid #465773; border-radius: 20px; padding: 22px; width: min(520px,100%); max-height: 92dvh; overflow: auto; color: #eaf0f8; }
.umbrella-export-sheet h3 { margin: 0 30px 8px 0; font-size: 20px; }
.umbrella-export-sheet p { color: #a5b5cc; font-size: 12px; }
.umbrella-export-sheet img { width: 100%; display: block; border-radius: 12px; margin: 16px 0; }
.umbrella-export-sheet small { display: block; font-size: 10px; color: #8d9fba; margin-top: 12px; line-height: 1.6; }
.umbrella-export-sheet a.btn { color: #fff; text-decoration: none; font-size: 13px; border-radius: 10px; background: linear-gradient(100deg,#6474eb,#347eaf); }
.umbrella-board-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 11px; line-height: 1.6; color: #a4b1c6; }
.umbrella-board-caption b { color: #bddbe3; white-space: nowrap; }
.umbrella-board-actions { display: flex; gap: 8px; margin-top: 12px; }
.umbrella-board-actions button { min-height: 40px; border: 1px solid #35415b; border-radius: 10px; padding: 9px 14px; background: #1a253b; color: #e7ecf5; font-size: 12px; }
.umbrella-board-actions button:first-child { flex: 1; background: #e6edf4; border-color: #e6edf4; color: #233248; font-weight: 750; }
.umbrella-board-disclaimer { color: #7e8ba5; line-height: 1.65; font-size: 10px; margin: 12px 2px 0; }
#umbrellaDesignerModal .umbrella-designer-form { min-width: 0; margin: 0; padding: 16px; gap: 20px; border: 1px solid #2b354c; border-radius: 18px; background: #121a2c; }
.umbrella-editor-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 4px; background: #0b1120; border: 1px solid #273149; border-radius: 12px; }
.umbrella-editor-tabs button { min-width: 0; min-height: 42px; padding: 8px 4px; border: 0; border-radius: 8px; color: #9aa8c1; background: transparent; font-size: 12px; font-weight: 750; }
.umbrella-editor-tabs button.is-selected { color: #fff; background: #2b3b56; box-shadow: 0 2px 6px #0003; }
#umbrellaDesignerModal .umbrella-designer-form fieldset { min-width: 0; }
#umbrellaDesignerModal .umbrella-designer-form legend { font-size: 14px; margin-bottom: 14px; color: #e4ebf5; }
#umbrellaDesignerModal legend small { display: block; font-weight: 400; font-size: 11px; color: #8c9ab4; margin-top: 5px; }
#umbrellaDesignerModal .umbrella-option-grid button { min-height: 44px; font-size: 12px; background: #1d263a; border-color: #303b53; border-radius: 10px; padding: 10px 7px; }
#umbrellaDesignerModal .umbrella-option-grid button.is-selected { background: #293c57; border-color: #7baec5; color: #fff; box-shadow: inset 0 0 0 1px #7baec530; }
#umbrellaDesignerModal .umbrella-color-options { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
#umbrellaDesignerModal .umbrella-color-options button { display: flex; flex-direction: column; gap: 8px; min-height: 80px; align-items: center; justify-content: center; font-size: 11px; }
#umbrellaDesignerModal .umbrella-color-options i { width: 28px; height: 28px; border: 1px solid #ffffff35; border-radius: 50%; box-shadow: inset 0 3px 5px #ffffff25,0 3px 8px #0004; }
#umbrellaDesignerModal [data-umbrella-group="decoration"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
#umbrellaDesignerModal .umbrella-upload-grid { grid-template-columns: 1fr; }
#umbrellaDesignerModal .umbrella-upload-card { min-height: 112px; align-items: center; text-align: center; justify-content: center; background: #17243a; border-color: #678ba8; }
.umbrella-upload-card:focus-within { outline: 2px solid #6cdbec; outline-offset: 2px; }
#umbrellaDesignerModal .umbrella-print-layout { background: none; padding: 0 !important; border: 0 !important; }
#umbrellaDesignerModal .umbrella-adjust-grid { grid-template-columns: 1fr; gap: 8px; }
#umbrellaDesignerModal .umbrella-adjust-row { grid-template-columns: minmax(60px,1fr) 40px minmax(62px,auto) 40px; width: 100%; min-width: 0; gap: 6px; padding: 8px; border: 1px solid #303b53; background: #1b2539; border-radius: 10px; }
#umbrellaDesignerModal .umbrella-adjust-row button { width: 40px; height: 40px; border-radius: 8px; background: #2b3952; border-color: #455673; font-size: 22px; }
#umbrellaDesignerModal .umbrella-adjust-row output { font-size: 12px; color: #a8dfea; white-space: nowrap; }
#umbrellaDesignerModal .umbrella-adjust-row > span { padding: 0; font-size: 12px; }
.umbrella-text-button { float: right; padding: 0 0 0 16px; border: 0; background: none; font-size: 11px; color: #8bcada; }
.umbrella-rotation-slider { display: flex; align-items: center; gap: 12px; margin: 14px 2px 10px; font-size: 11px; color: #9faec5; }
.umbrella-rotation-slider input { min-width: 0; width: 100%; height: 28px; accent-color: #8ec7d2; }
.umbrella-rotation-slider span { white-space: nowrap; }
.umbrella-angle-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.umbrella-angle-presets button { padding: 8px 4px; min-height: 36px; font-size: 11px; border: 1px solid #35415b; background: #1d283c; border-radius: 8px; color: #bfcbe0; }
.umbrella-editor-empty { border: 1px dashed #415373; padding: 22px 16px; line-height: 1.8; font-size: 13px; color: #a2b0c9; border-radius: 12px; }
#umbrellaDesignerModal .umbrella-print-audit { grid-template-columns: 1fr; gap: 0; border: 1px solid #2b3b50; border-radius: 12px; overflow: hidden; }
#umbrellaDesignerModal .umbrella-print-audit > span { display: grid; grid-template-columns: 65px minmax(0,1fr); align-items: start; min-height: 0; gap: 8px; padding: 10px 12px; background: #142435; border: 0; border-bottom: 1px solid #29394b; border-radius: 0; }
#umbrellaDesignerModal .umbrella-print-audit > span:last-child { border-bottom: 0; }
#umbrellaDesignerModal .umbrella-print-audit small { margin: 0; line-height: 1.6; font-size: 11px; }
#umbrellaDesignerModal .umbrella-print-audit b { font-size: 11px; font-weight: 500; color: #c3d4e2; overflow-wrap: anywhere; }
.umbrella-notes { color: #acb8cd; font-size: 12px; }
.umbrella-notes summary { cursor: pointer; padding: 3px 0; }
.umbrella-notes summary span { font-size: 10px; color: #6f809c; margin-left: 6px; }
.umbrella-notes textarea { margin-top: 12px; }
.umbrella-confirm-bar { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid #2e3950; }
.umbrella-confirm-bar b,.umbrella-confirm-bar small { display: block; }
.umbrella-confirm-bar b { color: #e3e9f3; font-size: 13px; font-weight: 600; }
.umbrella-confirm-bar small { color: #91a0b9; font-size: 11px; margin-top: 5px; }
.umbrella-save-inline { background: none; border: 1px solid #374761; color: #a6c7d6; font-size: 12px; padding: 10px; min-height: 40px; border-radius: 10px; }
#umbrellaDesignerModal .umbrella-confirm-bar .btn { display: flex; justify-content: space-between; border-radius: 12px; padding: 14px 18px; min-height: 48px; font-size: 14px; font-weight: 750; background: linear-gradient(100deg,#6474eb,#347eaf); box-shadow: 0 5px 20px #374e8430; }
.umbrella-ai-assistant { border: 1px solid #35405a; border-radius: 12px; padding: 12px; background: #141e32; }
.umbrella-ai-assistant summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-size: 12px; color: #becce1; list-style: none; }
.umbrella-ai-assistant summary::-webkit-details-marker { display: none; }
.umbrella-ai-assistant small { font-size: 9px; padding: 3px 5px; border-radius: 4px; background: #29334b; color: #94a2bb; margin-left: 4px; }
.umbrella-ai-assistant p { font-size: 11px; line-height: 1.8; color: #93a3bc; }
.umbrella-ai-assistant b { color: #c3d3e8; }
#umbrellaDesignerModal .umbrella-ai-assistant .btn { min-height: 42px; border-radius: 9px; background: #283952; border: 1px solid #4c6585; font-size: 12px; box-shadow: none; }
.umbrella-ai-feedback[data-state="error"] { color: #f1b4a7; border-left: 2px solid #d48479; padding-left: 10px; }
.umbrella-ai-feedback[data-state="success"] { color: #9fd5bb; }
#umbrellaDesignerModal .umbrella-design-result { grid-column: 2; margin-top: 0; }
#umbrellaDesignerModal .umbrella-design-result > img { max-height: 560px; object-fit: contain; }
@media (max-width: 760px) {
  #umbrellaDesignerModal { padding: 8px; }
  #umbrellaDesignerModal .umbrella-designer-card { width: 100%; padding: 20px 14px; max-height: 96dvh; border-radius: 22px; }
  #umbrellaDesignerModal .umbrella-customization-workspace { grid-template-columns: 1fr; gap: 20px; }
  #umbrellaDesignerModal .umbrella-design-result { grid-column: 1; }
  #umbrellaDesignerModal .umbrella-board-column { position: relative; }
  #umbrellaDesignerModal .is-editing .umbrella-board-column { position: sticky; top: -20px; z-index: 6; background: #0d1223; padding: 6px 0 10px; box-shadow: 0 10px 18px #0d1223; }
  #umbrellaDesignerModal .is-editing .umbrella-board-column .umbrella-proof-heading,
  #umbrellaDesignerModal .is-editing .umbrella-board-disclaimer,
  #umbrellaDesignerModal .is-editing .umbrella-board-actions { display: none; }
  #umbrellaDesignerModal .is-editing .umbrella-designer-preview { height: min(55vw,220px); aspect-ratio: auto; background: #f7faff; }
  #umbrellaDesignerModal .is-editing .umbrella-top-board { inset: 0 auto auto 50%; width: auto; height: 100%; aspect-ratio: 1; transform: translateX(-50%) scale(var(--board-zoom,1)); }
  #umbrellaDesignerModal .is-editing .umbrella-board-caption { margin-top: 7px; font-size: 10px; }
  #umbrellaDesignerModal .umbrella-mobile-expand { display: block; }
  #umbrellaDesignerModal .is-editing .umbrella-designer-form button { scroll-margin-top: 330px; }
  #umbrellaDesignerModal .umbrella-designer-form { padding: 14px; gap: 16px; }
  #umbrellaDesignerModal .umbrella-intent-switch { grid-template-columns: 1fr; }
  #umbrellaDesignerModal .umbrella-intent-switch > div:first-child { display: none; }
  #umbrellaDesignerModal .umbrella-product-library h3 { font-size: 17px; }
  #umbrellaDesignerModal .umbrella-designer-head { margin-bottom: 16px; }
  #umbrellaDesignerModal .umbrella-proof-heading h3 { font-size: 19px; }
}
@media (max-width: 360px) {
  #umbrellaDesignerModal { padding: 4px; }
  #umbrellaDesignerModal .umbrella-designer-card { padding: 18px 10px; }
  #umbrellaDesignerModal .umbrella-designer-form { padding: 10px; }
  #umbrellaDesignerModal .umbrella-adjust-row { grid-template-columns: minmax(52px,1fr) 36px 58px 36px; gap: 4px; padding: 6px; }
  #umbrellaDesignerModal .umbrella-adjust-row button { width: 36px; }
  .umbrella-board-toolbar { padding: 8px; font-size: 10px; }
}
