.paint-demo-notice{padding:10px 20px;background:#fff0e2;border-bottom:1px solid #efccaf;color:#82401d;text-align:center;font:500 12px/1.7 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;word-break:keep-all}.paint-chat-launcher{position:fixed;right:20px;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:35;display:flex;align-items:center;gap:7px;padding:5px 12px 5px 5px;border:1px solid #e9d4bd;border-radius:999px;background:#fffdf7;color:#244b3e;box-shadow:0 4px 18px #203c2529;font:700 12px/1.5 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;cursor:pointer;min-height:56px}.paint-chat-launcher[hidden]{display:none}.paint-chat-launcher img{display:block;width:48px;height:48px;object-fit:contain}.paint-chat-launcher:focus-visible,.paint-chat-dialog button:focus-visible,.paint-chat-dialog textarea:focus-visible{outline:3px solid #ef6316;outline-offset:3px}.paint-chat-dialog{position:fixed;inset:auto 20px calc(160px + env(safe-area-inset-bottom,0px)) auto;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 190px);margin:0;padding:0;border:1px solid #e1e4d8;border-radius:18px;background:#fffdf8;color:#233f33;box-shadow:0 12px 48px #1d322f33;font:14px/1.65 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;overflow:hidden}.paint-chat-dialog[open]{display:flex;flex-direction:column}.paint-chat-dialog::backdrop{background:#172d272b}.paint-chat-header{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;padding:17px 18px;border-bottom:1px solid #e6e6da}.paint-chat-header h2{margin:0;font-size:17px;line-height:1.5}.paint-chat-header p{margin:3px 0 0;font-size:12px;color:#718073}.paint-chat-header button{width:44px;height:44px;flex-shrink:0;padding:0;border:0;border-radius:9px;background:transparent;color:#3b584c;font-size:29px;cursor:pointer}.paint-chat-transcript{flex:1 1 auto;min-height:120px;height:280px;overflow-y:auto;overscroll-behavior:contain;padding:16px 18px;scrollbar-width:thin}.paint-chat-greeting{margin:0;font-size:13px;color:#657466}.paint-chat-message{margin:0 0 15px;overflow-wrap:anywhere}.paint-chat-speaker{display:block;font-size:10px;font-weight:700;color:#77806f;margin-bottom:4px}.paint-chat-bubble{margin:0;padding:10px 12px;border-radius:12px;background:#eef2e7;font-size:13px;line-height:1.8;white-space:pre-wrap}.paint-chat-message.user{margin-left:28px}.paint-chat-message.user .paint-chat-bubble{background:#fff0e3}.paint-chat-message.assistant{margin-right:10px}.paint-chat-status{flex-shrink:0;margin:0 18px 10px;padding:8px 10px;background:#fff0e3;color:#864626;border-radius:8px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.paint-chat-status[hidden]{display:none}.paint-chat-form{flex-shrink:0;margin:0;padding:12px 18px 15px;border-top:1px solid #e6e6da}.paint-chat-form label{display:block;font-size:11px;font-weight:700;margin:0 0 5px}.paint-chat-form textarea{display:block;box-sizing:border-box;width:100%;min-height:68px;max-height:130px;resize:vertical;margin:0;padding:9px 10px;border:1px solid #d7dfd0;border-radius:9px;background:white;color:#233f33;font:13px/1.7 "Malgun Gothic","Apple SD Gothic Neo",sans-serif}.paint-chat-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.paint-chat-actions span{font-size:10px;color:#7e8876}.paint-chat-actions button{min-height:42px;min-width:90px;padding:8px 14px;border:0;border-radius:8px;background:#ed5c11;color:white;font:700 12px/1.5 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;cursor:pointer}.paint-chat-actions button:disabled{opacity:.5;cursor:not-allowed}.paint-chat-loading .paint-chat-bubble{display:flex;align-items:center;gap:9px;font-size:12px;white-space:normal}.paint-chat-dots{display:inline-flex;gap:3px;flex-shrink:0}.paint-chat-dots i{display:block;width:5px;height:5px;background:#ed5c11;border-radius:50%;animation:paint-chat-dot 1.2s ease-in-out infinite}.paint-chat-dots i:nth-child(2){animation-delay:.15s}.paint-chat-dots i:nth-child(3){animation-delay:.3s}@keyframes paint-chat-dot{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@media(max-width:520px){.paint-demo-notice{padding:9px 16px;font-size:11px}.paint-chat-launcher{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));min-height:52px;padding-right:10px;font-size:11px}.paint-chat-launcher img{width:42px;height:42px}.paint-chat-dialog{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:calc(100vw - 24px);max-height:calc(100dvh - 110px - env(safe-area-inset-bottom,0px))}.paint-chat-form textarea{font-size:16px}.paint-chat-transcript{height:260px}}@media(prefers-reduced-motion:reduce){.paint-chat-dots i{animation:none;opacity:.75;transform:none}}

@media(max-height:580px){.paint-chat-dialog{bottom:calc(12px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));overflow-y:auto}.paint-chat-transcript{min-height:0;height:180px}.paint-chat-header{padding:10px 14px}.paint-chat-header p{display:none}.paint-chat-form{padding:10px 14px}.paint-chat-form textarea{min-height:44px;max-height:70px}.paint-chat-status{max-height:60px;overflow-y:auto;flex-shrink:1}}

/* Paired floating controls keep their right edge fixed while expanding left. */
.paint-demo-notice{position:relative;min-height:44px;padding-right:60px;padding-left:60px}.paint-demo-notice[hidden]{display:none!important}.paint-demo-notice>button{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:transparent;color:#82401d;font-size:25px;line-height:1;cursor:pointer}.paint-demo-notice>button:focus-visible{outline:3px solid #ef6316;outline-offset:-4px}
.paint-chat-launcher,.color-fandeck-float{box-sizing:border-box;position:fixed;right:20px;bottom:auto;left:auto;z-index:35;width:56px;height:56px;min-height:56px;max-width:calc(100vw - 24px);padding:0;gap:0;border:1px solid #e9d4bd;border-radius:999px;background:#fffdf7;color:#244b3e;box-shadow:0 4px 18px #203c2529;transform:translateY(-50%);overflow:hidden;text-decoration:none;font:700 12px/1.5 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;transition:width .18s ease,background .18s ease;cursor:pointer}.paint-chat-launcher{top:calc(50% - 34px)}.color-fandeck-float{top:calc(50% + 34px)}.paint-chat-launcher img{position:absolute;right:4px;top:4px;width:46px;height:46px;margin:0}.color-fandeck-float .color-fandeck-icon{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:46px;height:46px;margin:0;background:transparent;border-radius:50%;font-size:0}.color-fandeck-float .color-fandeck-icon svg{display:block;width:36px;height:36px}.paint-chat-launcher>span,.color-fandeck-float .color-fandeck-label{position:absolute;display:block;right:63px;top:50%;transform:translateY(-50%);opacity:0;visibility:hidden;margin:0;white-space:nowrap;pointer-events:none}.color-fandeck-float .color-fandeck-arrow{display:none}.paint-chat-launcher:focus-visible,.color-fandeck-float:focus-visible{outline:3px solid #ef6316;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.paint-chat-launcher:hover,.color-fandeck-float:hover{width:172px;background:#fff0e3;box-shadow:0 4px 18px #203c2529}.paint-chat-launcher:hover>span,.color-fandeck-float:hover .color-fandeck-label{opacity:1;visibility:visible}}
@media(max-width:520px){.paint-demo-notice{padding-left:16px;padding-right:54px}.paint-demo-notice>button{right:5px}.paint-chat-launcher,.color-fandeck-float{right:12px;width:52px;height:52px;min-height:52px;padding:0;font-size:11px}.paint-chat-launcher{top:calc(50% - 32px)}.color-fandeck-float{top:calc(50% + 32px)}.paint-chat-launcher img{width:42px;height:42px}.color-fandeck-float .color-fandeck-icon{width:42px;height:42px}.color-fandeck-float .color-fandeck-icon svg{width:34px;height:34px}.paint-chat-launcher>span,.color-fandeck-float .color-fandeck-label{right:59px}}
@media(prefers-reduced-motion:reduce){.paint-chat-launcher,.color-fandeck-float{transition:none}}
