/* Workspace 2026-11-24. Scoped to the reverse/generation app, not the canvas. */
.hw-workspace .hw-resume{padding:8px 14px;border:1px solid #7899a5;border-radius:8px;background:#30434a;color:#d8ecf2;font-size:12px}
.hw-home .site-reverse-menu{top:calc(100% + 10px);bottom:auto;max-height:360px}.hw-workspace .site-reverse-picker>button{background:transparent!important;border-color:transparent!important;color:#d1dbe0!important}.hw-workspace .site-reverse-picker>button:hover{background:#ffffff0d!important}
.hw-workspace{--hw-bg:#111314;--hw-panel:#202223;--hw-pop:#262829;--hw-line:#ffffff12;--hw-text:#f1f3f4;--hw-muted:#91989d;--hw-cyan:#6fd1e7;--hw-hover:#ffffff09;background:var(--hw-bg);color:var(--hw-text)}
.hw-workspace .hy-main{background:var(--hw-bg)}
.hw-workspace :is(button,a,input,textarea){-webkit-tap-highlight-color:transparent}.hw-workspace button{cursor:pointer}.hw-workspace button:disabled{cursor:default;opacity:.4}.hw-workspace :is(button,a):focus-visible{outline:2px solid var(--hw-cyan)!important;outline-offset:3px}
.hw-workspace .hy-sidebar{background:#191b1c}.hw-workspace .hy-brand{letter-spacing:-1px;font-size:24px}.hw-workspace .hy-sidebar nav .active{background:#ffffff09}.hw-workspace .hy-sidebar nav .active svg{color:var(--hw-cyan)}
.hw-home{grid-template-columns:220px minmax(0,1fr)}.hw-home .hy-main{display:flex;flex-direction:column;height:100dvh;overflow:auto;position:relative;isolation:isolate;padding:0 32px 28px;gap:0}.hw-home .hy-main:before{content:'';position:absolute;z-index:-1;inset:0 8% auto;height:310px;pointer-events:none;background:radial-gradient(ellipse at 50% 5%,#12526b22,transparent 67%),radial-gradient(circle,#879ba512 1px,transparent 1.5px);background-size:auto,23px 23px;mask-image:linear-gradient(#000,transparent)}
.hw-home .hy-topbar{background:transparent;position:absolute;top:14px;left:12px;width:auto;padding:0;height:34px;min-height:34px;z-index:5}.hw-home .hy-topbar>div,.hw-home .hy-topbar>button:last-child{display:none}.hw-home .hy-conversation-wrap{display:none}.hw-home .hy-welcome{display:none}
.hw-home-head{flex:none;position:relative}.hw-home .hw-home-head{padding:0 0 31px}.hw-top-actions{height:66px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.hw-top-actions :is(a,button){display:inline-flex;align-items:center;gap:7px;border:1px solid var(--hw-line);background:#171a1b;color:#ced4d7;text-decoration:none;padding:8px 12px;border-radius:9px;font-size:12px}.hw-top-actions svg{color:#a8c7ce}.hw-top-actions :is(a,button):hover{background:var(--hw-panel)}
.hw-greeting{text-align:center;padding:28px 0 25px}.hw-eyebrow{font-size:10px;letter-spacing:2.8px;color:#75959e;font-weight:550}.hw-greeting h1{font-size:clamp(25px,2.4vw,35px);font-weight:600;line-height:1.4;letter-spacing:-.8px;margin:11px 0}.hw-greeting p{font-size:13px;color:var(--hw-muted);margin:0}.hw-tabs{display:flex;background:#ffffff0d;border:1px solid var(--hw-line);border-radius:24px;padding:3px;width:300px;margin:0 auto;gap:3px}.hw-tabs :is(button,a){flex:1;border:0;border-radius:21px;text-align:center;text-decoration:none;font-size:13px;line-height:32px;background:none;color:var(--hw-text);padding:0}.hw-tabs [aria-current=page]{background:linear-gradient(105deg,#e3e7e2,#dce9ed 48%,#b9dce2);color:#18313b;font-weight:550;box-shadow:inset 0 0 0 1px #fff3}.hw-tabs a:hover{background:#ffffff09}
.hw-workspace:not(.hw-home) .hw-home-head{position:absolute;top:14px;right:65px;z-index:5}.hw-workspace:not(.hw-home) .hw-tabs{width:135px}.hw-workspace:not(.hw-home) .hw-tabs :is(a,button){font-size:11px;line-height:26px}.hw-workspace:not(.hw-home) .hw-top-actions{display:none}
.hw-workspace .hy-composer,.hw-generation-composer{border:1px solid var(--hw-line)!important;box-shadow:none!important;background:linear-gradient(135deg,#1a1c1d,#222425)!important;color:var(--hw-text);border-radius:23px!important}
.hw-home .hy-composer{position:relative;flex:none;width:100%;max-width:1120px;margin:0 auto;padding:23px 21px 14px}.hw-home .hy-composer>textarea{min-height:98px!important;height:98px;padding:0 10px 12px 77px!important;font-size:14px;line-height:1.8;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;color:var(--hw-text)!important}.hw-home .hy-composer textarea::placeholder{color:#858c90}.hw-home .hy-composer>textarea:focus-visible{outline:0!important}
.hw-upload-tile{flex:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:53px;height:68px;background:#ffffff09!important;border:1px solid #ffffff09!important;border-radius:5px!important;color:#a4adb1!important;transform:rotate(-7deg);transition:transform .16s,background .16s;padding:0!important}.hw-upload-tile small{font-size:9px}.hw-upload-tile:hover{transform:rotate(0);background:#ffffff12!important;color:var(--hw-cyan)!important}.hw-reverse-upload{position:absolute;left:24px;top:22px}
.hw-workspace .hy-composer-tools{flex-wrap:wrap;gap:5px}.hw-workspace .hy-composer-tools>button{background:transparent!important;border:0!important;color:#c1c9cd!important;padding:7px 8px!important;font-size:12px!important;border-radius:7px!important}.hw-workspace .hy-composer-tools>button:hover{background:var(--hw-hover)!important;color:#e5f6fa!important}.hw-workspace .hy-composer-tools .hy-upload-button{display:none}.hw-workspace:not(.hw-home) .hy-composer-tools .hy-upload-button{display:inline-flex}.hw-workspace .hy-composer-end{margin-left:auto}.hw-workspace .hy-submit{width:34px;height:34px;background:#bdd9e1!important;color:#20343b!important}.hw-workspace .hy-submit:disabled{background:#6b7378!important;color:#b4babd!important;opacity:.45}.hw-workspace .hy-model-picker-trigger{border:0!important;background:none!important;color:var(--hw-text)!important}
.hw-workspace .hy-luna-compact{padding-left:77px;margin-top:-8px}.hw-workspace:not(.hw-home) .hy-luna-compact{padding-left:0;margin-top:0}.hw-home .hy-bottom-note{max-width:100%;font-size:10px;opacity:.65;text-align:center;margin:24px auto 0;order:9}.hw-generating-mode .hy-composer,.hw-generating-mode .hy-bottom-note,.hw-generating-mode .hy-conversation-wrap{display:none}.hw-generation[hidden]{display:none!important}
.hw-popover{position:relative;display:inline-flex;min-width:0}.hw-control{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;padding:7px 8px;color:#dce1e3;border-radius:7px;font-size:12px;min-height:33px;white-space:nowrap;max-width:100%}.hw-control>span{overflow:hidden;text-overflow:ellipsis;max-width:190px}.hw-control:hover,.hw-control[aria-expanded=true]{background:#ffffff0d}.hw-mode-picker>.hw-control{color:var(--hw-cyan)}.hw-popover-body{position:absolute;z-index:60;top:calc(100% + 10px);left:0;min-width:260px;max-width:min(440px,calc(100vw - 40px));padding:12px;background:var(--hw-pop);border:1px solid #ffffff12;box-shadow:0 18px 50px #0005;border-radius:16px;max-height:min(460px,62dvh);overflow:auto;color:var(--hw-text);text-align:left;white-space:normal}.hw-popover-body>small{display:block;color:var(--hw-muted);font-size:11px;margin:2px 6px 10px}.hw-workspace:not(.hw-home) .hw-popover-body{top:auto;bottom:calc(100% + 10px)}
.hw-option{display:flex;align-items:center;gap:10px;width:100%;padding:11px 9px;margin:0;border:0;background:none;color:var(--hw-text);border-radius:9px;text-align:left}.hw-option:hover,.hw-option[aria-pressed=true]{background:#ffffff0c}.hw-option>span:not(.hw-model-symbol){flex:1;min-width:0}.hw-option strong{display:block;font-weight:500;font-size:13px}.hw-option small{display:block;color:var(--hw-muted);font-size:11px;line-height:1.5;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:270px}.hw-option>svg:last-child{flex:none}.hw-search{display:flex;align-items:center;gap:7px;padding:3px 4px 11px;margin-bottom:12px;border-bottom:1px solid var(--hw-line);color:var(--hw-muted)}.hw-search input{width:100%;min-width:0;background:none;border:0;outline:none;color:var(--hw-text);font-size:12px;padding:4px}.hw-skill-picker .hw-popover-body{width:330px}.hw-options{max-height:280px;overflow:auto}.hw-library-link{display:flex;align-items:center;gap:9px;border:0;border-top:1px solid var(--hw-line);width:100%;margin-top:9px;padding:12px 8px 2px;background:none;color:#cde7ed;font-size:12px}.hw-model-picker .hw-popover-body{width:340px}.hw-model-symbol{display:grid;place-items:center;flex:none;width:35px;height:35px;background:#ffffff05;border:1px solid var(--hw-line);border-radius:9px;color:#bed4da}
.hw-discover{width:100%;max-width:1120px;margin:0 auto;flex:none}.hw-shortcuts{display:flex;gap:8px;align-items:center;margin:18px 0 44px;flex-wrap:wrap}.hw-shortcuts>span{font-size:11px;color:var(--hw-muted);margin-right:3px}.hw-shortcuts button{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid var(--hw-line);background:#1a1c1d;border-radius:25px;color:#c9d0d4;font-size:11px}.hw-shortcuts button:hover{border-color:#7798a250;color:#edf8fa;background:#242a2d}.hw-shortcuts button svg{color:#95b4bf}.hw-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:10px}.hw-section-heading h2{font-size:15px;font-weight:550;letter-spacing:.2px;margin:0}.hw-section-heading>span,.hw-section-heading>button{font-size:11px;color:var(--hw-muted)}.hw-section-heading>button{background:none;border:0}.hw-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hw-tool-card{position:relative;display:flex;align-items:center;gap:14px;padding:10px;border:1px solid var(--hw-line);border-radius:15px;background:linear-gradient(125deg,#1d2427,#191b1c 85%);color:var(--hw-text);text-align:left;min-width:0;overflow:hidden;transition:background .18s,border-color .18s,transform .18s}.hw-tool-card:hover{border-color:#7196a750;transform:translateY(-2px);background:#22282b}.hw-card-copy{min-width:0}.hw-card-copy strong{font-size:13px;font-weight:550;display:block;white-space:nowrap}.hw-card-copy small{font-size:11px;line-height:1.6;display:block;color:#8c999f;margin-top:7px}.hw-card-number{position:absolute;right:11px;top:9px;font-size:9px;letter-spacing:1px;color:#71818b55}.hw-card-art{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;flex:none;width:84px;height:78px;border-radius:9px;background:radial-gradient(at 30% 20%,#639da769,transparent 90%),#1c3c47;color:#d4e8eb}.hw-card-art i{position:absolute;inset:15px;border:1px solid #b9d4dc38;border-radius:5px;transform:rotate(-19deg);z-index:-1}.hw-card-art i+i{transform:rotate(18deg);inset:21px;border-color:#d7edf157}.hw-art-image .hw-card-art{background:radial-gradient(at 35% 15%,#aa8eae88,transparent 85%),#3e3b50}.hw-art-image .hw-card-art i{border-radius:50%;inset:10px}.hw-art-video .hw-card-art{background:radial-gradient(at 20% 0%,#5ba6a78a,transparent 90%),#1e4845}.hw-art-video .hw-card-art i{transform:rotate(-8deg);inset:19px 12px}.hw-art-canvas .hw-card-art{background:radial-gradient(at 10% 10%,#678dad8a,transparent 90%),#293b4d}.hw-art-assets .hw-card-art{background:radial-gradient(at 20% 15%,#aaa38e88,transparent 85%),#44443c}.hw-art-outfit .hw-card-art{background:radial-gradient(at 20% 15%,#ae909c88,transparent 85%),#493d47}
.hw-generation{width:100%;max-width:1120px;flex:none;margin:0 auto}.hw-generation-composer{padding:23px 21px 14px}.hw-prompt-row{display:flex;align-items:flex-start;gap:23px;min-height:98px}.hw-prompt-row textarea{flex:1;min-width:0;width:100%;resize:vertical;min-height:84px;max-height:240px;padding:0;outline:0;border:0;background:none;color:var(--hw-text);font-size:14px;line-height:1.8}.hw-prompt-row textarea:focus-visible{outline:0!important}.hw-prompt-row textarea::placeholder{color:#858c90}.hw-generation-tools{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.hw-generation-end{display:flex;align-items:center;gap:11px;margin-left:auto}.hw-price{font-size:11px;color:#c1cdd3;white-space:nowrap}.hw-generate{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:0;background:#bdd9e1;color:#20343b}.hw-count{font-size:11px;color:#a4aeb4;padding:8px}.hw-audio{display:flex;gap:5px;font-size:11px;color:#b7c3c8;align-items:center}.hw-audio input{accent-color:#b3cdd5}.hw-generation-note{font-size:10px;color:#7e8a90;text-align:right;margin-top:9px}.hw-generation-refs{display:flex;gap:12px;margin:4px 0 15px;overflow:auto;padding:7px 2px}.hw-generation-refs>div{position:relative;flex:none;width:65px}.hw-generation-refs img{width:65px;height:65px;object-fit:cover;border-radius:9px;border:1px solid #ffffff25}.hw-generation-refs small{display:block;font-size:10px;color:#b7c4ca;text-align:center}.hw-generation-refs button{position:absolute;right:-4px;top:-5px;border-radius:50%;width:21px;height:21px;background:#38424a;border:1px solid #8596a3;color:white}
.hw-segments{display:flex;gap:3px;background:#ffffff07;border-radius:11px;padding:4px;margin-bottom:17px}.hw-segments button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;flex:1;background:none;border:0;border-radius:8px;min-width:50px;padding:10px 8px;color:#d1d7db;font-size:12px}.hw-segments button[aria-pressed=true]{background:#ffffff14;color:#fff}.hw-ratio-icon{height:13px;max-width:25px;border:1.5px solid currentColor;border-radius:2px;display:block}.hw-dimensions{font-size:12px;color:#c0ccd1;padding:10px;border:1px solid var(--hw-line);border-radius:8px;margin:0}.hw-duration{display:flex;align-items:center;gap:15px;padding:12px 0 18px;min-width:245px}.hw-duration input{width:190px;accent-color:#bbdbe2}.hw-duration strong{font-weight:500;font-size:14px}.hw-error{width:min(1120px,100%);margin:12px auto;padding:10px 14px;font-size:12px;border:1px solid #b9837155;border-radius:10px;background:#47312c55;color:#eac2b5}.hw-current-job{margin-top:24px;padding:16px;border:1px solid var(--hw-line);background:#1b1e20;border-radius:15px}.hw-current-job>div{display:flex;justify-content:space-between;gap:20px;align-items:center}.hw-current-job strong{font-size:13px;color:var(--hw-cyan)}.hw-current-job span,.hw-current-job p{font-size:12px;color:#9ca9b0}.hw-current-job :is(video,img){display:block;max-width:100%;max-height:420px;border-radius:10px;margin:15px auto}.hw-current-job a{font-size:12px;color:var(--hw-cyan)}.hw-recent{margin-top:35px}.hw-empty{font-size:12px;color:#79858b;border:1px dashed var(--hw-line);border-radius:13px;padding:24px;text-align:center}.hw-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hw-results article{min-width:0;background:#191d1f;border:1px solid var(--hw-line);border-radius:12px;overflow:hidden}.hw-results a{display:block;color:#b0c7d1;text-decoration:none}.hw-results img{width:100%;height:150px;object-fit:cover}.hw-video-cover{height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:11px;background:linear-gradient(125deg,#283940,#202429);color:#a9c0ca}.hw-results p{font-size:11px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hw-results small{display:block;font-size:10px;color:#87959f;padding:0 10px 10px}.hw-generating-mode .hw-discover{margin-top:15px}.hw-generation-composer.is-file-drag{border-color:#9bcbd7!important;box-shadow:inset 0 0 0 1px #9bcbd7!important}
@media(min-width:1000px){.hw-home:has(.hy-reference-drawer){grid-template-columns:190px minmax(0,1fr)}.hw-home:has(.hy-reference-drawer) .hy-main{padding-left:20px;padding-right:20px}.hw-home:has(.hy-reference-drawer) .hw-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1250px){.hw-home{grid-template-columns:190px minmax(0,1fr)}.hw-home .hy-main{padding-left:24px;padding-right:24px}.hw-card-art{width:66px;height:70px}.hw-tool-card{gap:10px}.hw-card-copy small{font-size:10px}.hw-workspace .hy-composer-tools{gap:2px}}
@media(max-width:1050px){.hw-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-home .hw-greeting{padding-top:20px}.hw-home .hw-shortcuts{margin-bottom:30px}.hw-generation-end{margin-top:3px}.hw-home .hy-composer-end{width:auto;margin-left:auto}.hw-home .hy-composer-tools{row-gap:8px}}
@media(max-width:800px){.hw-home{grid-template-columns:minmax(0,1fr)}.hw-home .hy-main{padding:0 18px 25px}.hw-home .hy-sidebar:not(.open){display:none}.hw-home .hw-top-actions{height:60px}.hw-greeting{padding:25px 0}.hw-greeting h1{font-size:26px}.hw-home .hy-topbar .hy-mobile-menu{display:inline-flex}.hw-popover-body{max-width:calc(100vw - 70px)}.hw-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hw-home .hy-main{padding-left:14px;padding-right:14px}.hw-top-actions{gap:6px}.hw-top-actions :is(a,button){font-size:10px;padding:7px 9px}.hw-eyebrow{font-size:9px;letter-spacing:2px}.hw-greeting h1{font-size:23px}.hw-greeting p{font-size:12px}.hw-tabs{width:240px}.hw-home .hw-home-head{padding-bottom:23px}.hw-home .hy-composer,.hw-generation-composer{padding:18px 14px 12px;border-radius:18px!important}.hw-home .hy-composer>textarea{padding-left:65px!important;min-height:108px!important}.hw-reverse-upload{left:18px;top:20px;width:43px;height:59px}.hw-prompt-row{gap:16px}.hw-prompt-row .hw-upload-tile{width:43px;height:59px}.hw-control{font-size:11px;padding:6px;gap:5px}.hw-control>span{max-width:150px}.hw-workspace .hy-composer-tools>button{font-size:11px!important;padding:6px!important}.hw-workspace .hy-composer-end{width:100%;justify-content:flex-end;margin-top:7px}.hw-home .hy-composer-end{border-top:1px solid var(--hw-line);padding-top:7px}.hw-popover-body{position:fixed;top:auto!important;bottom:14px!important;left:14px!important;right:14px!important;min-width:0;width:auto!important;max-width:none;max-height:55dvh;z-index:90;box-shadow:0 0 0 100vmax #0006,0 -10px 35px #0004}.hw-home .hy-luna-compact{padding-left:62px;font-size:10px}.hw-shortcuts{gap:6px;margin-bottom:26px}.hw-shortcuts>span{display:none}.hw-shortcuts button{font-size:10px;padding:7px 10px}.hw-tool-grid{gap:9px}.hw-tool-card{display:block;padding:9px}.hw-card-art{width:100%;height:76px;margin-bottom:12px}.hw-card-copy{display:block;padding:0 2px 5px}.hw-card-copy strong{font-size:12px}.hw-card-copy small{font-size:10px;margin-top:5px}.hw-card-number{top:100px}.hw-section-heading h2{font-size:14px}.hw-section-heading>span{font-size:10px}.hw-generation-tools{gap:2px}.hw-generation-end{width:100%;justify-content:flex-end;border-top:1px solid var(--hw-line);padding-top:8px;margin-top:5px}.hw-generation-note{font-size:9px}.hw-count{padding:6px}.hw-workspace:not(.hw-home) .hw-home-head{right:46px;top:17px}.hw-workspace:not(.hw-home) .hw-tabs{width:104px}.hw-workspace:not(.hw-home) .hy-topbar>div span{display:none}}
html[data-chat-theme=light] .hw-workspace{--hw-bg:#f7f9f9;--hw-panel:#fff;--hw-pop:#fff;--hw-text:#1d3038;--hw-muted:#6a7880;--hw-line:#102b3818;--hw-cyan:#246b83;--hw-hover:#16384709}
html[data-chat-theme=light] .hw-workspace .hy-sidebar{background:#eef2f3}html[data-chat-theme=light] .hw-workspace :is(.hy-composer,.hw-generation-composer){background:linear-gradient(120deg,#fff,#edf3f5)!important}html[data-chat-theme=light] .hw-workspace :is(.hw-control,.hw-option,.hw-top-actions a,.hw-top-actions button){color:#28434f}html[data-chat-theme=light] .hw-workspace :is(.hw-top-actions a,.hw-top-actions button,.hw-shortcuts button,.hw-tool-card,.hw-current-job,.hw-results article){background:#fff;color:#2c424e}html[data-chat-theme=light] .hw-workspace :is(.hw-option:hover,.hw-option[aria-pressed=true],.hw-segments button[aria-pressed=true]){background:#dfe9ed;color:#253f4b}html[data-chat-theme=light] .hw-workspace .hw-segments{background:#edf1f3}html[data-chat-theme=light] .hw-workspace .hw-segments button{color:#365260}html[data-chat-theme=light] .hw-workspace .hw-price{color:#426474}html[data-chat-theme=light] .hw-upload-tile{background:#2a667510!important;color:#426879!important}
@media(prefers-reduced-motion:reduce){.hw-workspace *{transition:none!important;scroll-behavior:auto!important}}

/* Reference cards: stable image identity, reorder, replace and mention. */
.hw-generation-refs{gap:12px;align-items:flex-start;padding-top:10px;overflow:visible}.hw-generation-refs>.hw-ref-card{width:82px;flex:none}.hw-ref-image{position:relative;width:82px;height:82px;cursor:grab;border:1px solid var(--hw-line);border-radius:11px}.hw-ref-image:active{cursor:grabbing}.hw-generation-refs .hw-ref-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.hw-ref-card.is-mentioned .hw-ref-image{border-color:var(--hw-cyan)}
.hw-generation-refs .hw-ref-image button{position:absolute;display:flex;align-items:center;justify-content:center;line-height:1;border:1px solid #b4dae155;background:#24363ee8;color:#e6f8fc;cursor:pointer;padding:0}.hw-generation-refs .hw-ref-remove{top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;font-size:17px}.hw-generation-refs .hw-ref-mention{top:auto;bottom:4px;right:4px;width:26px;height:26px;border-radius:8px;font-size:19px;font-weight:600;background:#c2dfe7;color:#1d3b46}.hw-generation-refs .hw-ref-replace{top:auto;bottom:4px;left:4px;right:auto;width:39px;height:23px;border-radius:6px;font-size:11px}.hw-generation-refs .hw-ref-caption{display:flex;justify-content:space-between;align-items:center;margin-top:5px}.hw-generation-refs .hw-ref-caption button{position:static;width:24px;height:24px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--hw-cyan);font-size:21px}.hw-generation-refs .hw-ref-caption button:disabled{opacity:.2}.hw-generation-refs .hw-ref-caption small{margin:0}.hw-reference-hint{display:block;font-size:10px;color:var(--hw-muted);margin:5px 0 12px}.hw-generation-refs button:focus-visible{outline:2px solid var(--hw-cyan);outline-offset:2px}

.hw-generation-refs>.hw-ref-card{width:100px}.hw-ref-image{width:100px;height:88px}.hw-generation-refs .hw-ref-name{box-sizing:border-box;width:100%;margin-top:7px;padding:4px 5px;font-size:11px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--hw-text);text-align:center}.hw-ref-name:hover,.hw-ref-name:focus{border-color:var(--hw-cyan)!important;background:var(--hw-panel)!important;outline:none}.hw-autolink{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:8px 0 14px;font-size:11px;color:var(--hw-cyan)}.hw-autolink label{display:flex;align-items:center;gap:5px;white-space:nowrap}.hw-autolink span{color:var(--hw-muted);overflow-wrap:anywhere}.hw-autolink input{accent-color:var(--hw-cyan)}

/* Reverse composer: attachments stay above the input, never over the upload control. */
.hw-workspace .hw-reverse-prompt{display:flex;align-items:flex-start;gap:20px;min-width:0;width:100%}
.hw-workspace .hw-reverse-prompt>textarea{flex:1;min-width:0;width:100%;margin:0;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--hw-text)!important}
.hw-home .hw-reverse-prompt>textarea{min-height:88px!important;height:88px;max-height:280px;padding:2px 0 12px!important;font-size:14px;line-height:1.8;outline:0!important}
.hw-workspace .hw-reverse-prompt>.hw-reverse-upload{position:static;flex:none;transform:none;margin:2px 0 0;align-self:flex-start}
.hw-home .hy-composer>:is(.hy-file-chip,.hy-document-list,.hy-quote-preview,.hy-upload-status){position:relative;max-width:100%;margin:0 0 16px;box-sizing:border-box}
.hw-home .hy-composer>.hy-file-chip{width:fit-content;max-width:min(460px,100%);display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px}
.hw-home .hy-composer .hy-file-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hw-home .hy-composer .hy-file-chip>:is(svg,button){flex-shrink:0}
.hw-home .hy-composer .hy-file-chip button{position:static;margin-left:auto}
.hw-home .hy-composer .hy-document-list{display:flex;flex-wrap:wrap;gap:8px}
.hw-home .hy-composer .hy-document-list .hy-file-chip{min-width:0;max-width:100%;margin:0}
.hw-home .hy-composer .hy-luna-compact{padding-left:0;margin:0 0 12px}
.hw-home .hy-composer-tools{padding-top:8px}
@media(max-width:640px){.hw-workspace .hw-reverse-prompt{gap:13px}.hw-home .hw-reverse-prompt>textarea{min-height:76px!important;height:76px;font-size:13px}.hw-home .hw-reverse-prompt>.hw-reverse-upload{width:42px;height:55px}.hw-home .hy-composer>.hy-file-chip{width:100%;margin-bottom:12px}}

.hw-workspace .hw-video-attachment{display:flex;align-items:center;width:fit-content;max-width:min(460px,100%);min-width:0;margin:0 0 16px;border:1px solid var(--hw-line);border-radius:12px;background:#ffffff04;padding:5px}
.hw-video-trigger{display:flex;align-items:center;gap:10px;min-width:0;padding:0;background:none;border:0;color:var(--hw-text);text-align:left}.hw-video-thumbnail{width:45px;height:52px;object-fit:cover;flex:none;background:#151719;border-radius:7px}.hw-video-file-info{min-width:0;display:flex;flex-direction:column;gap:5px}.hw-video-file-info strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hw-video-file-info small{font-size:10px;color:var(--hw-muted)}.hw-video-remove{flex:none;margin:0 2px 0 8px;padding:6px;background:none;border:0;color:var(--hw-muted);border-radius:6px}.hw-video-remove:hover{background:#ffffff0d;color:var(--hw-text)}
.hw-video-hover-preview{position:fixed;z-index:1000;display:flex;flex-direction:column;overflow:hidden;background:#151719;border:1px solid #819ba844;border-radius:15px;box-shadow:0 14px 42px #0007;color:#eef2f4;padding:0;box-sizing:border-box}.hw-video-hover-preview header{display:flex;align-items:center;gap:8px;padding:9px 10px;flex:none}.hw-video-hover-preview header span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.hw-video-hover-preview header button{display:flex;padding:3px;background:none;border:0;color:#d3dce0;flex:none}.hw-video-hover-preview>video{display:block;width:100%;height:calc(100% - 37px);min-height:0;object-fit:contain;background:#08090a;border-radius:0}.hw-preview-error{padding:18px;color:#b5bfc5;font-size:13px;line-height:1.7}
@media(max-width:640px){.hw-workspace .hw-video-attachment{max-width:100%;width:100%}.hw-video-trigger{flex:1}.hw-video-file-info strong{font-size:11px}}

/* Compact media rail: thumbnail and add button beside the prompt. */
.hw-workspace :is(.hw-reverse-prompt,.hw-prompt-row){display:flex;align-items:flex-start;gap:18px;min-width:0}
.hw-inline-media{display:flex;align-items:flex-start;gap:8px;flex:0 1 auto;min-width:0;max-width:46%;position:relative;padding:4px 1px 3px}
.hw-inline-strip{display:flex;align-items:flex-start;gap:9px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:6px 5px 3px 3px;margin:-6px -3px 0;scrollbar-width:thin;scrollbar-color:#788c9644 transparent}
.hw-inline-strip:empty{display:none}
.hw-inline-media>.hw-upload-tile{position:static!important;transform:none;flex:none}
.hw-has-media .hw-inline-media>.hw-upload-tile{width:29px!important;height:29px!important;border-radius:50%!important;background:#3e4549!important;color:#dfe8ed!important;border:1px solid #ffffff15!important;align-self:flex-start;margin-top:46px!important;padding:0!important}
.hw-has-media .hw-inline-media>.hw-upload-tile small{display:none}.hw-has-media .hw-inline-media>.hw-upload-tile svg{width:17px;height:17px}
.hw-home .hw-has-media>textarea{min-height:95px!important;height:95px;padding-top:3px!important}
.hw-inline-media .hy-ref-attachments{flex:none;display:block;min-width:0;width:auto;margin:0!important;padding:0!important;border:0!important;background:none!important}
.hw-inline-media .hy-ref-strip{display:flex;gap:9px;overflow:visible;padding:0!important;margin:0!important}
.hw-inline-media .hy-ref-thumb{width:60px!important;flex:0 0 60px!important;padding:0!important;border:0!important;background:none!important;overflow:visible;margin:0!important}
.hw-inline-media .hy-ref-drag{width:60px!important;height:76px!important;padding:0!important;border-radius:7px!important;overflow:hidden;border:1px solid #b4d0dd55!important}
.hw-inline-media .hy-ref-drag img{width:100%!important;height:100%!important;object-fit:cover!important}.hw-inline-media .hy-ref-number{font-size:8px!important;bottom:3px!important;left:2px!important;right:2px!important;padding:2px!important;text-align:center}
.hw-inline-media .hy-ref-remove{top:-5px!important;right:-5px!important;width:18px!important;height:18px!important;font-size:13px!important;z-index:2}
.hw-inline-media .hy-ref-thumb-actions{height:18px;display:flex!important;align-items:center;justify-content:space-between;opacity:0;transition:opacity .12s;margin:2px 0 0!important;padding:0!important;gap:0!important}
.hw-inline-media .hy-ref-thumb:hover .hy-ref-thumb-actions,.hw-inline-media .hy-ref-thumb:focus-within .hy-ref-thumb-actions{opacity:1}.hw-inline-media .hy-ref-thumb-actions button{font-size:9px!important;padding:1px 3px!important;min-height:16px!important;height:16px!important}
.hw-inline-media .hy-ref-strip-footer{display:none!important}
.hw-inline-media .hw-video-attachment{position:relative;flex:none;width:60px!important;height:76px!important;margin:0!important;padding:0!important;border:1px solid #b4d0dd55!important;border-radius:7px;background:#151719}
.hw-inline-media .hw-video-trigger{display:block;width:100%;height:100%;position:relative}.hw-inline-media .hw-video-thumbnail{display:block;width:100%;height:100%;border-radius:6px;object-fit:cover}
.hw-inline-media .hw-video-file-info{position:absolute;bottom:2px;left:2px;right:2px;pointer-events:none;text-align:center;background:#111a;border-radius:3px;padding:1px 0}.hw-inline-media .hw-video-file-info strong{display:none}.hw-inline-media .hw-video-file-info small{font-size:8px;color:#fff}.hw-inline-media .hw-video-file-info small .hw-video-meta-detail{display:none}
.hw-inline-media .hw-video-remove{position:absolute;right:-5px;top:-5px;width:18px;height:18px;padding:2px;margin:0;border:1px solid #9bb1bf88;background:#35424b;color:#fff;border-radius:50%;z-index:2}
.hw-inline-media .hw-generation-refs{display:flex;gap:10px;flex-wrap:nowrap;padding:0!important;margin:0!important;overflow:visible}.hw-inline-media .hw-generation-refs>.hw-ref-card{width:68px;flex:0 0 68px}.hw-inline-media .hw-ref-image{width:68px;height:76px}.hw-inline-media .hw-ref-replace{width:32px;height:18px;left:3px;bottom:3px;font-size:9px}.hw-inline-media .hw-ref-mention{width:21px;height:21px;right:3px;bottom:3px;font-size:16px}.hw-inline-media .hw-ref-remove{width:18px;height:18px;font-size:13px;top:-4px;right:-4px}.hw-inline-media .hw-generation-refs .hw-ref-name{font-size:10px;margin-top:3px;padding:2px}.hw-inline-media .hw-ref-caption{height:16px;margin-top:0!important}.hw-inline-media .hw-ref-caption button{height:16px!important;width:17px!important;font-size:16px!important}.hw-inline-media .hw-ref-caption small{font-size:9px}
.hw-generation .hw-reference-hint{display:none}.hw-prompt-row>.hw-inline-media+textarea{flex:1;min-width:0;padding-left:0!important}
@media(max-width:640px){.hw-inline-media{max-width:45%}.hw-workspace :is(.hw-reverse-prompt,.hw-prompt-row){gap:12px}.hw-inline-media .hy-ref-thumb-actions{opacity:1}.hw-has-media .hw-inline-media>.hw-upload-tile{width:26px!important;height:26px!important}.hw-inline-strip{gap:7px}.hw-home .hw-has-media>textarea{min-height:90px!important;height:90px}}

.hw-workspace .hw-video-replace{position:absolute;top:calc(100% + 3px);left:50%;transform:translateX(-50%);padding:1px 7px;height:17px;line-height:15px;border:0;border-radius:4px;background:transparent;color:var(--hw-muted);font-size:10px;white-space:nowrap}.hw-workspace .hw-video-replace:hover,.hw-workspace .hw-video-replace:focus-visible{color:var(--hw-cyan);background:#ffffff0b}.hw-inline-media .hw-video-attachment{margin-bottom:20px!important}.hw-inline-media .hw-video-attachment:focus-within .hw-video-replace{color:var(--hw-cyan)}

/* API-backed image dimensions. */
.hw-image-size-picker .hw-popover-body{width:490px;max-width:calc(100vw - 32px);padding:18px;background:#282a2b}
.hw-image-size-picker .hw-ratios{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.hw-image-size-picker .hw-ratios button{min-width:0;padding:12px 4px;gap:11px;height:64px}
.hw-image-size-picker .hw-ratios button[aria-pressed=true],.hw-image-size-picker .hw-resolutions button[aria-pressed=true]{background:linear-gradient(125deg,#435156,#45434f);color:#e3f5fb;box-shadow:inset 0 0 0 1px #a7c7ce26}
.hw-image-size-picker .hw-resolutions button{min-height:38px;padding:9px}
.hw-size-fields{display:flex;align-items:center;gap:11px;color:#96a0a5;font-size:11px}
.hw-size-fields label{display:flex;flex:1;align-items:center;gap:12px;min-width:0;padding:12px;background:#ffffff08;border:1px solid #ffffff09;border-radius:9px}
.hw-size-fields input{min-width:0;width:100%;padding:0!important;background:transparent!important;border:0!important;outline:0!important;text-align:right;color:#e1e7e9!important;font-size:13px;font-variant-numeric:tabular-nums;box-shadow:none!important}
.hw-other-job{margin:12px 0 0;text-align:right}.hw-other-job button{border:0;background:transparent;color:var(--hw-cyan);font-size:12px;padding:5px 0;cursor:pointer}.hw-other-job button:hover{text-decoration:underline}
@media(max-width:600px){.hw-image-size-picker .hw-popover-body{position:fixed;left:12px;right:12px;top:auto;bottom:16px;width:auto;max-width:none;max-height:70dvh;overflow:auto}.hw-image-size-picker .hw-ratios button{font-size:11px;padding:10px 2px}}
/* Compact reference stack and inline, identity-preserving citation chips. */
.hw-generation .hw-media-stack{width:66px;max-width:66px;flex:0 0 66px;height:86px;padding:0;z-index:5}
.hw-media-stack .hw-stack-trigger{position:relative;width:58px;height:76px;padding:0;border:0;background:transparent;cursor:pointer}
.hw-media-stack .hw-stack-trigger>img{position:absolute;left:4px;top:7px;width:46px;height:60px;object-fit:cover;border:2px solid #d2d4d2;border-radius:3px;box-shadow:0 2px 5px #0004;transform:rotate(calc(-10deg + var(--stack-index)*7deg));z-index:calc(4 - var(--stack-index))}
.hw-stack-count{position:absolute;top:0;right:0;z-index:5;font-size:9px;color:var(--hw-muted)}
.hw-generation .hw-media-stack>.hw-upload-tile{position:absolute!important;right:0;bottom:2px;margin:0!important;width:29px!important;height:29px!important;z-index:6;border-radius:50%!important;transform:none!important}
.hw-generation .hw-media-stack>.hw-upload-tile small{display:none}
.hw-generation .hw-media-stack:not(:has(.hw-stack-trigger))>.hw-upload-tile{top:5px;left:4px;width:48px!important;height:62px!important;border-radius:5px!important}
.hw-media-stack>.hw-inline-strip{display:none;position:absolute;left:0;top:90px;width:max-content;max-width:min(460px,calc(100vw - 55px));padding:16px!important;margin:0;overflow:auto;border:1px solid var(--hw-line);border-radius:15px;background:var(--hw-pop);box-shadow:0 14px 36px #0005;z-index:30}
.hw-media-stack.is-open>.hw-inline-strip{display:block}
.hw-media-stack .hw-generation-refs{display:grid!important;grid-template-columns:repeat(4,82px);gap:12px!important}
.hw-media-stack .hw-generation-refs>.hw-ref-card{width:82px}.hw-media-stack .hw-ref-image{width:82px;height:88px}
.hw-media-stack .hw-media-heading{grid-column:1/-1;display:flex;width:auto;align-items:center;gap:12px;margin-bottom:4px;color:var(--hw-text);font-size:12px;white-space:nowrap}.hw-media-heading small{font-size:10px;color:var(--hw-muted)}.hw-media-stack .hw-media-heading>button{position:static;flex:none;margin-left:auto;background:none;border:0;color:var(--hw-muted);font-size:20px;cursor:pointer}
.hw-reference-editor{flex:1;min-width:0;min-height:86px;max-height:280px;overflow:auto;outline:none;border:0;padding:2px 0 10px;color:var(--hw-text);font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;box-sizing:border-box}
.hw-reference-editor:empty:before{content:attr(data-placeholder);color:var(--hw-muted);pointer-events:none}
.hw-reference-editor[aria-disabled=true]{opacity:.65}
.hw-reference-token{display:inline-flex;align-items:center;gap:4px;max-width:155px;height:23px;margin:0 3px;padding:0 5px 0 1px;border:1px solid transparent;border-radius:5px;background:#c4dce509;color:#bac8cc;vertical-align:middle;white-space:nowrap;cursor:pointer;user-select:all;font-size:13px;line-height:23px}
.hw-reference-token>img{width:17px;height:19px;object-fit:cover;border-radius:3px;flex:none}.hw-reference-token>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hw-reference-token:hover,.hw-reference-token:focus-visible{background:#c4dce51a;border-color:#a5cbd83b;outline:none;color:var(--hw-text)}
.hw-autolink-toggle{font-size:15px!important;color:var(--hw-muted)!important}.hw-autolink-toggle[aria-pressed=true]{color:var(--hw-cyan)!important}.hw-autolink-toggle>span{font-size:10px}
@media(max-width:560px){.hw-generation .hw-media-stack{width:53px;max-width:53px;flex-basis:53px}.hw-media-stack .hw-stack-trigger{width:50px}.hw-media-stack .hw-generation-refs{grid-template-columns:repeat(3,72px)}.hw-media-stack .hw-generation-refs>.hw-ref-card{width:72px}.hw-media-stack .hw-ref-image{width:72px}.hw-reference-editor{font-size:13px;min-height:96px}.hw-reference-token{max-width:115px;font-size:12px}.hw-autolink-toggle>span{display:none}}

/* Opaque cards → horizontal fan → delayed large preview. */
.hw-generation .hw-media-stack:has(.hw-reference-fan){width:72px;max-width:none;flex:0 0 72px;transition:width .18s ease,flex-basis .18s ease}
.hw-generation .hw-media-stack.is-fanned{width:var(--fan-width);flex-basis:var(--fan-width)}
.hw-reference-fan{position:relative;width:72px;height:86px;isolation:isolate}
.hw-reference-fan.is-expanded{width:var(--fan-width)}
.hw-fan-card{position:absolute;left:calc(3px + var(--fan-index)*4px);top:8px;width:49px;height:66px;transform:rotate(var(--fan-angle));transform-origin:center center;z-index:calc(5 - var(--fan-index));transition:left .18s ease,transform .18s ease;opacity:1!important;filter:none!important}
.hw-fan-image{display:block;position:relative;width:100%;height:100%;padding:0;border:2px solid #bfc1c0;border-radius:2px;background:#343434!important;box-shadow:0 2px 5px #0004;cursor:pointer;overflow:hidden;opacity:1!important;transform:none!important}
.hw-fan-image>img{display:block;width:100%;height:100%;object-fit:cover;background:#343434!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important}
.hw-reference-fan.is-expanded .hw-fan-card{left:calc(3px + var(--fan-index)*55px);transform:rotate(calc(var(--fan-angle)*.6))}
.hw-fan-card:hover,.hw-fan-card:focus-within{z-index:7}
.hw-fan-remove{position:absolute;top:-7px;right:-7px;width:18px;height:18px;padding:0;border:1px solid #777c7d;border-radius:50%;background:#303537;color:#d6dbdd;font-size:14px;line-height:16px;opacity:0;pointer-events:none;cursor:pointer}
.hw-reference-fan.is-expanded .hw-fan-card:hover .hw-fan-remove,.hw-reference-fan.is-expanded .hw-fan-card:focus-within .hw-fan-remove{opacity:1;pointer-events:auto}
.hw-fan-add{position:absolute;left:42px;top:57px;z-index:9;display:flex;align-items:center;justify-content:center;width:29px;height:29px;padding:0;border:1px solid #ffffff15;border-radius:50%;background:#3e4243;color:#dfe5e6;cursor:pointer;transition:left .18s ease,top .18s ease,width .18s ease,height .18s ease,transform .18s ease}
.hw-reference-fan.is-expanded .hw-fan-add{left:calc(var(--fan-count)*55px + 3px);top:9px;width:44px;height:64px;border-radius:3px;transform:rotate(5deg);background:#303233}
.hw-fan-image:focus-visible,.hw-fan-add:focus-visible,.hw-fan-remove:focus-visible{outline:2px solid var(--hw-cyan);outline-offset:3px}
.hw-image-hover-preview{position:fixed;z-index:1000;display:flex;flex-direction:column;box-sizing:border-box;padding:9px 10px 10px;background:#303030;border:1px solid #ffffff08;border-radius:16px;box-shadow:0 12px 30px #0005;color:#f0f2f2;overflow:hidden;opacity:1}
.hw-image-hover-preview>header{display:flex;align-items:center;justify-content:space-between;min-height:20px;font-size:11px;flex:none}.hw-image-hover-preview>header button{border:0;background:none;color:#afb5b6;font-size:17px;padding:0 3px;cursor:pointer}.hw-image-hover-preview>img{display:block;min-height:0;flex:1;width:100%;object-fit:contain;border:0;border-radius:5px;background:#303030;opacity:1}
@media(max-width:560px){.hw-generation .hw-media-stack:has(.hw-reference-fan){width:65px;flex-basis:65px}.hw-generation .hw-media-stack.is-fanned{width:65px;flex-basis:65px}.hw-reference-fan.is-expanded{background:#252727;border-radius:10px;box-shadow:0 4px 14px #0003}.hw-reference-fan.is-expanded .hw-fan-remove{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.hw-reference-fan *,.hw-generation .hw-media-stack{transition:none!important}}

/* Paste-first reference matching and compact help. */
.hw-reference-pending{display:inline;padding:2px 5px;border-radius:5px;background:#b6a27720;color:#e1cba3;border-bottom:1px dashed #b5a176;font-size:.9em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hw-reference-guide{margin:4px 0 12px;color:#9caeb3;font-size:11px;line-height:1.6}
.hw-reference-guide-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.hw-reference-guide-line>small{font-size:11px}
.hw-reference-help{position:relative}.hw-reference-help summary{cursor:pointer;color:#b9dce5;list-style:none}.hw-reference-help summary::before{content:'ⓘ ';}.hw-reference-help[open]{flex:1 0 100%}.hw-reference-help[open]>div{margin:8px 0 0;padding:12px 14px;border:1px solid #ffffff15;border-radius:12px;background:#262a2b;max-width:620px;color:#c5ced1}.hw-reference-help p{margin:6px 0}.hw-reference-help strong{color:#e3ecee}
.hw-reference-issues{display:grid;gap:6px;margin-top:7px}.hw-reference-issue{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 9px;border:1px solid #b6a27735;border-radius:9px;background:#b6a27709;color:#d3c4a8}.hw-reference-issue>span{overflow-wrap:anywhere}.hw-reference-issue strong{font-weight:500}.hw-reference-choices{display:flex;gap:6px;flex-wrap:wrap}.hw-reference-choices button{display:flex;align-items:center;gap:5px;border:1px solid #b9dce530;border-radius:7px;background:#b9dce50d;color:#d8e5e9;padding:3px 7px;font:inherit;cursor:pointer}.hw-reference-choices img{width:20px;height:23px;object-fit:cover;background:#343434;border-radius:3px}.hw-reference-suggestion{display:block;margin-top:5px}
@media(max-width:560px){.hw-reference-guide{margin-top:8px}.hw-reference-help[open]>div{padding:10px}.hw-reference-choices button{min-height:34px}}

.hw-ref-auto-name{display:block;text-align:center;overflow:hidden;white-space:nowrap;font-size:11px;color:#c7dfe5}
.hw-reference-token>span{max-width:3em;white-space:nowrap}

/* Reference actions live directly on the unfolded cards. */
.hw-reference-fan.is-expanded{height:108px}
.hw-reference-fan.is-expanded .hw-fan-card{left:calc(3px + var(--fan-index)*68px);width:60px;height:78px}
.hw-reference-fan.is-expanded .hw-fan-add{left:calc(var(--fan-count)*68px + 3px);height:76px}
.hw-fan-actions,.hw-fan-caption{display:none}
.hw-reference-fan.is-expanded .hw-fan-actions{display:flex;position:absolute;left:3px;right:3px;bottom:3px;justify-content:space-between;gap:2px;z-index:8}
.hw-fan-actions button{padding:2px 3px;border:1px solid #b9dce560;border-radius:5px;background:#263e45;color:#e3f4f7;font-size:10px;line-height:16px;cursor:pointer;box-shadow:0 1px 3px #0005}.hw-fan-actions button:last-child{font-size:14px;min-width:20px}
.hw-reference-fan.is-expanded .hw-fan-caption{display:flex;position:absolute;top:81px;left:0;width:100%;align-items:center;justify-content:space-between;color:#b9dce5;transform:rotate(calc(var(--fan-angle)*-.6))}
.hw-fan-caption small{font-size:10px}.hw-fan-caption button{border:0;background:none;color:#b9dce5;font-size:14px;padding:0 3px;cursor:pointer}.hw-fan-caption button:disabled{opacity:.25;cursor:default}
.hw-reference-fan.is-expanded .hw-fan-remove{opacity:1;pointer-events:auto}
@media(pointer:coarse){.hw-fan-actions button{min-height:26px}.hw-fan-caption button{min-width:20px;min-height:23px}.hw-reference-fan.is-expanded{height:115px}}
