.chat-attached-ink{--attached-ink:#263035;--attached-muted:#85817b;--attached-red:#a44737;--attached-line:#bdb09b;--attached-paper:#f6f2e9;--attached-panel:url(/design/chat-ink/attached/attached-panel.png?v=b55f64a9deb271fdbe32);--attached-field:url(/design/square-attached/fidelity-r2/detail-narrative-ink.webp?v=2bbcce40071a81626ae0)}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.new-chat-menu,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog,.periodic-confirm-dialog,.conversation-rail),.chat-attached-ink:not(.chat-ink){--primary:#a44737;--primary-soft:#eee0d3;--surface:#faf7f0;--surface-2:#f1ece3;--text:#263035;--muted:#85817b;--line:#d6cdc0;color:var(--attached-ink)}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.new-chat-menu,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog,.periodic-confirm-dialog){border:12px solid transparent;border-image:var(--attached-panel) 58 fill /12px /0 stretch;border-radius:3px;background:transparent;color:var(--attached-ink);box-shadow:0 8px 26px #3a33251a}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.new-chat-menu,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog,.conversation-rail) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,.button,.icon-button){border:1px solid transparent;border-image:url(/design/square-material/control-frame.webp?v=438cac5625844ae18e7d) 28 fill/5px/0 stretch;border-radius:2px;background:transparent;color:var(--attached-ink);box-shadow:none;font-family:inherit}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog,.conversation-rail) :is(input,select,textarea){accent-color:var(--attached-red);min-width:0;max-width:100%;font-size:14px}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog,.conversation-rail) :is(select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color])){min-height:34px;padding:6px 10px}.chat-attached-ink :is(.chat-dialog,.chat-settings,.preset-editor,.new-info-bar,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) textarea{padding:10px 12px;font-size:14px;line-height:1.7}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) .button{min-height:34px;padding:6px 12px;gap:6px;font-size:13px;line-height:1.4}.chat-attached-ink .drawing-source-dialog .drawing-primary,.chat-attached-ink :is(.chat-dialog,.chat-settings,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) .button-primary{border-image:none;border:1px solid #a45644;background:linear-gradient(115deg,#ffffff12,transparent 45%,#6c24141a),var(--attached-red);color:#fff9ef}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) button:disabled{opacity:.46}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) .icon-button{width:32px;height:32px;min-height:32px;padding:5px}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog)>header .icon-button{border:0;border-image:none;background:transparent}.chat-attached-ink :is(.chat-dialog,.chat-settings,.model-menu,.group-prompt-menu,.preset-editor,.new-info-bar,.work-detail-modal,.dlc-dialog,.drawing-source-dialog,.chat-action-dialog) :is(.user-help-inline,.user-help-info){color:var(--attached-muted)}.chat-attached-ink :is(.chat-dialog,.work-detail-modal,.dlc-dialog)>header{padding:6px 10px 12px;min-height:50px;border-bottom:1px solid #cbbba559}.chat-attached-ink :is(.chat-dialog,.chat-settings,.work-detail-modal,.dlc-dialog,.new-info-bar)>header :is(b,h2){margin:0;font-size:18px;line-height:1.4}.chat-attached-ink :is(.chat-dialog,.chat-settings,.work-detail-modal,.dlc-dialog)>header small{font-size:12px}.chat-attached-ink :is(.chat-dialog-scrim,.work-detail-modal-scrim,.dlc-dialog-scrim){background:#29251e69}.chat-attached-ink .chat-dialog{width:min(720px,100%);max-height:calc(100dvh - 48px)}.chat-attached-ink :is(.chat-dialog,.periodic-confirm-dialog)>footer{padding:12px 10px 5px;border-top:1px solid #cbbba54d}.chat-attached-ink :is(.dialog-empty,.form-message,.periodic-confirm-row b){font-size:14px;line-height:1.6}.chat-attached-ink .periodic-confirm-row small{font-size:12px}.chat-attached-ink.conversation-navigation>.feature-navigation-panel{width:min(420px,calc(100vw - 32px))}.chat-attached-ink .conversation-rail{position:relative;padding:14px 18px 20px;background:linear-gradient(#fcf9f3a3,#fcf9f3a3),#f5f1e8 url(/design/square-material/ivory-weave.webp?v=b60c0cd38e89c2a9a692) 50%/700px auto;border-right:0}.chat-attached-ink .conversation-rail:after{content:"";pointer-events:none;position:absolute;inset:0 0 0 auto;width:7px;border-right:7px solid transparent;border-image:url(/design/chat-ink/attached/r1/rail-selected.png?v=ee898b4b93d1c14d25f9) 120 70 115 75/0 7px 0 0;opacity:.65}.chat-attached-ink .conversation-rail-head{min-height:48px;padding:0 0 12px;border-bottom:0}.chat-attached-ink .conversation-rail-head b{font-size:19px}.chat-attached-ink .conversation-search{min-height:43px;margin:8px 0;padding:0 10px;border:1px solid transparent;border-image:url(/design/chat-ink/attached/r1/dlc-card.png?v=4239d60e3e3e11365d6a) 170 65 165 65/24px 8px/16px 0 stretch;background:#fffcf855}.chat-attached-ink .conversation-search input{border:0!important;border-image:none!important;background:transparent;padding:7px!important}.chat-attached-ink .conversation-tabs{margin:7px 0 12px;gap:8px;border-bottom:1px solid #cec4b580}.chat-attached-ink .conversation-tabs button{padding:8px 18px;color:#6c665d;font-size:14px;background:transparent}.chat-attached-ink .conversation-tabs button.active{color:#8d3d31;border-color:#9a4a38;background:transparent}.chat-attached-ink .conversation-rail .folder-filter{display:flex;gap:8px;margin-bottom:12px;padding:0;border:0;border-image:none;background:transparent}.chat-attached-ink .conversation-rail .folder-filter select{flex:1 1;width:0;min-height:41px;border-image:url(/design/chat-ink/attached/r1/dlc-card.png?v=4239d60e3e3e11365d6a) 170 65 165 65/24px 8px/16px 0 stretch;background:#fffcf855}.chat-attached-ink .folder-filter .icon-button{border:0;border-image:none;background:transparent}.chat-attached-ink .folder-filter .icon-button svg{width:21px;height:21px}.chat-attached-ink .conversation-list{margin-inline:-8px}.chat-attached-ink .conversation-item{grid-template-columns:minmax(0,1fr) auto;gap:5px;min-height:82px;border:1px solid transparent;border-image:none;background:transparent;padding:10px 12px;margin:0 0 4px;border-radius:0;box-shadow:none}.chat-attached-ink .conversation-item.active{border-image:url(/design/chat-ink/attached/r1/rail-selected.png?v=ee898b4b93d1c14d25f9) 120 70 115 75/20px 7px/10px 0 stretch;background:#ebd6c93d;box-shadow:none}.chat-attached-ink .conversation-item.multi-select{grid-template-columns:18px minmax(0,1fr)}.chat-attached-ink .conversation-open{height:60px;grid-template-columns:54px minmax(0,1fr);gap:14px;background:transparent;padding:0;position:relative}.chat-attached-ink .conversation-status:empty{display:none}.chat-attached-ink .conversation-status:not(:empty){position:absolute;left:38px;top:-3px;background:#f7f0e4;border-radius:50%}.chat-attached-ink .conversation-cover{width:54px;height:60px;background:#e8e0d0;color:#645a4b;border-radius:4px}.chat-attached-ink .conversation-copy{gap:5px}.chat-attached-ink .conversation-copy b{font-size:15px}.chat-attached-ink .conversation-copy small{font-size:13px;line-height:1.55}.chat-attached-ink .conversation-row-actions{display:flex;position:static;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:102px;gap:3px;padding:0;opacity:1}.chat-attached-ink .conversation-row-actions button{color:#353a35;width:29px;height:30px;background:transparent}.chat-attached-ink .conversation-row-actions button>svg{width:18px;height:18px;stroke-width:1.7}.chat-attached-ink .conversation-batch{gap:5px;margin-bottom:8px}.chat-attached-ink .conversation-batch button{height:30px;width:32px;border-color:#cabba3;background:#f8f4ec}.chat-attached-ink .rail-footer-actions{gap:8px}.chat-attached-ink .rail-new-wrap{border-top:0}.chat-attached-ink .rail-footer-actions{grid-template-columns:minmax(0,1fr) 80px}.chat-attached-ink .rail-footer-actions button{white-space:nowrap}.chat-attached-ink .rail-footer-actions button,.chat-attached-ink .rail-new-wrap>button{min-height:49px;padding:8px 14px;border:1px solid transparent;border-image:url(/design/chat-ink/attached/r1/rail-selected.png?v=ee898b4b93d1c14d25f9) 120 70 115 75/20px 7px/10px 0 stretch;background:#fffaf077;color:var(--attached-ink);font-size:14px}.chat-attached-ink .rail-footer-actions .multi-select-button{flex:0 0 auto;background:transparent;color:var(--attached-ink);border-image:url(/design/square-material/control-frame.webp?v=438cac5625844ae18e7d) 28 fill/5px}.chat-attached-ink .new-chat-menu{padding:4px}.chat-attached-ink .new-chat-menu button{font-size:14px;padding:10px;background:transparent}.chat-attached-ink .new-chat-menu button:hover{background:#e4d4c64f}.chat-attached-ink .model-menu{width:min(530px,calc(100vw - 48px))}.chat-attached-ink .model-menu-title{padding:3px 5px 10px}.chat-attached-ink .model-menu-title b{font-size:17px}.chat-attached-ink .model-menu-filters{gap:7px;padding:8px 5px}.chat-attached-ink .model-menu-results{padding:4px}.chat-attached-ink .model-menu-row{border:0;border-bottom:1px solid #c8b69b42;margin-bottom:2px;padding:2px 4px;background:transparent}.chat-attached-ink .model-menu-row.active{border:1px solid transparent;border-image:var(--attached-field) 64 /7px /0 stretch;background:#e7d3c670}.chat-attached-ink .model-menu-row b{font-size:14px}.chat-attached-ink .model-menu-row :is(small,em){font-size:12px}.chat-attached-ink .model-menu-row button{color:var(--attached-ink)}.chat-attached-ink .model-favorite img{width:32px;height:38px;object-fit:contain;opacity:.8;transform:scaleX(1.35);mix-blend-mode:multiply;max-width:none}.chat-attached-ink .model-favorite img.is-favorite{opacity:1}.chat-attached-ink .model-menu-row .model-dot{display:none}.chat-attached-ink .model-menu-row>button:last-child{grid-template-columns:minmax(0,1fr) 16px;min-width:0}.chat-attached-ink .chat-settings{width:min(440px,calc(100% - 24px));top:52px;right:4px;max-height:calc(100% - 62px);display:flex;flex-direction:column}.chat-attached-ink .chat-settings>header{padding:1px 14px 10px;height:auto;min-height:48px;flex:0 0 auto;border-bottom-color:#c5b2954d}.chat-attached-ink .settings-scroll-shell{position:relative;min-height:0;display:flex;flex-direction:column}.chat-attached-ink .settings-scroll{max-height:calc(100dvh - 170px);padding:14px 16px 12px;scrollbar-width:none}.chat-attached-ink .settings-scroll::-webkit-scrollbar{display:none}.chat-attached-ink .settings-scroll-thumb{position:absolute;top:0;right:3px;width:5px;opacity:0;pointer-events:none;touch-action:none;border-radius:65% 35% 50% 45%/8px 9px 7px 6px;background:linear-gradient(90deg,#84746144,#847461b3 42%,#84746177);transition:opacity .18s ease}.chat-attached-ink .settings-scroll-thumb[data-active=true]{opacity:1;pointer-events:auto}.chat-attached-ink .chat-settings :is(b,input,select,textarea){font-size:13px}.chat-attached-ink .chat-settings :is(small,.user-help-inline){font-size:11px;line-height:1.5}.chat-attached-ink .advanced-settings>div>label,.chat-attached-ink .settings-group>label,.chat-attached-ink .settings-scroll>label{grid-template-columns:minmax(0,1fr) minmax(105px,48%);gap:10px;margin-bottom:10px}.chat-attached-ink .setting-textarea{grid-template-columns:1fr!important;gap:5px!important}.chat-attached-ink .setting-check{grid-template-columns:minmax(0,1fr) auto!important}.chat-attached-ink .setting-segment{border:0;gap:4px;padding:0;margin:0 0 10px}.chat-attached-ink .setting-segment legend{font-size:13px;font-weight:700;margin-bottom:5px}.chat-attached-ink .setting-segment button{min-height:33px;padding:5px 7px;border:1px solid #b6a68b7d;border-radius:2px;background:#fbf8f366;color:var(--attached-ink);font-size:12px}.chat-attached-ink .setting-segment button.active{border-color:#aa5a466b;background:linear-gradient(110deg,#dac0ad5e,#dfc4b7bf,#e7d9c95c);color:#772f23;font-weight:700}.chat-attached-ink .chat-settings .setting-textarea textarea{min-height:68px;padding:7px 9px}.chat-attached-ink .preset-actions{gap:5px}.chat-attached-ink .preset-actions .button{font-size:12px;padding:6px 8px}.chat-attached-ink .preset-readonly{border:1px solid transparent;border-image:var(--attached-field) 64 /7px /0 stretch;background:#f8f5ed59}.chat-attached-ink .preset-readonly pre{font-size:12px}.chat-attached-ink .settings-group{border-top-color:#cdbd9f66;margin-top:10px;padding-top:10px}.chat-attached-ink .advanced-settings>summary{padding:10px 0 3px}.chat-attached-ink .prompt-editor-overlay{position:fixed;inset:0;z-index:185;display:grid;place-items:center;padding:20px;background:#29251e69}.chat-attached-ink .preset-editor{width:min(620px,100%);max-height:calc(100dvh - 40px);padding:8px;overflow:auto;gap:12px}.chat-attached-ink .preset-editor>header{display:flex;align-items:center;justify-content:space-between}.chat-attached-ink .preset-editor textarea{min-height:210px}.chat-attached-ink .preset-editor footer{display:flex;gap:8px;justify-content:flex-end}.chat-attached-ink .summary-list{padding:2px 10px 8px}.chat-attached-ink .summary-list article{gap:9px;padding:14px 0;border-bottom-color:#cdbd9f55}.chat-attached-ink .summary-list article>header b{font-size:14px}.chat-attached-ink .summary-list article>header small{font-size:12px}.chat-attached-ink .summary-list textarea{min-height:132px}.chat-attached-ink .proxy-dialog>textarea{margin:12px 10px 0;min-height:240px}.chat-attached-ink .group-prompt-menu{padding:5px;width:290px;max-width:calc(100vw - 30px)}.chat-attached-ink .group-prompt-menu>b{font-size:15px}.chat-attached-ink .group-prompt-menu>button{font-size:14px;padding:9px;background:transparent;border-bottom:1px solid #cbbda144}.chat-attached-ink .group-prompt-menu>button.active{color:#823c30;background:#dfcbbb66}.chat-attached-ink .ideation-card{border:10px solid transparent;border-image:var(--attached-panel) 58 fill /10px /0 stretch;background:transparent;padding:7px}.chat-attached-ink .ideation-card :is(b,p,textarea){font-size:14px}.chat-attached-ink .ideation-card textarea{min-height:170px;background:#f8f5edb3;border-color:#d3c4ac}.chat-attached-ink .new-info-bar{padding:5px;margin:8px 0}.chat-attached-ink :is(.new-info-bar,.bar-parser-editor,.info-rule-details) :is(label,small,summary,p,b,input,textarea,select){font-size:12px;line-height:1.55}.chat-attached-ink .bar-parser-editor{border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;background:#f7f1e85c;padding:10px}.chat-attached-ink .bar-parser-editor input,.chat-attached-ink .bar-parser-editor select{padding:5px!important}.chat-attached-ink .info-rule-details{background:#e8ddcd38;border:0}.chat-attached-ink .bar-column-row{grid-template-columns:minmax(0,1fr) 74px auto auto 26px}.chat-attached-ink .new-info-bar .bar-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chat-attached-ink .bar-example{background:#e5d7c642;padding:8px}.chat-attached-ink .info-content-preview{background:transparent}.chat-attached-ink .info-content-edit-disclosure{margin-top:8px}.chat-attached-ink .info-content-edit-disclosure>summary{display:flex;align-items:center;gap:5px;width:-moz-fit-content;width:fit-content;cursor:pointer;color:#7f7667;font-size:12px;list-style:none}.chat-attached-ink .info-content-edit-disclosure>summary::-webkit-details-marker{display:none}.chat-attached-ink .info-content-edit-disclosure>summary:after{content:"⌄"}.chat-attached-ink .info-content-edit-disclosure[open]>summary:after{content:"⌃"}.chat-attached-ink .info-content-edit-disclosure[open]>summary{margin-bottom:10px}.chat-attached-ink .info-content-edit-disclosure .info-content-editor :is(textarea,input){font-size:13px}.chat-attached-ink .new-info-bar .info-bar-editor-actions>.button-primary{border-image:none;background:#a44737;color:#fff9ef;border:1px solid #985040}.chat-attached-ink .new-info-bar .info-bar-editor-actions>.button-primary:disabled{opacity:1;background:#e0d6c7;border-color:#c0b198;color:#746a5b}.chat-attached-ink .periodic-confirm-row{border-bottom-color:#cbbda155}.chat-attached-ink .dlc-dialog{width:min(960px,calc(100vw - 48px));height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:6px 14px 10px;grid-template-rows:auto 48px minmax(0,1fr)}.chat-attached-ink .dlc-heading-line{display:flex;align-items:baseline;gap:14px}.chat-attached-ink .dlc-dialog>header{border-bottom:0}.chat-attached-ink .dlc-heading-line b{flex:0 0 auto;white-space:nowrap}.chat-attached-ink .dlc-heading-line>.user-help-inline{font-size:11px;line-height:1.6}.chat-attached-ink .dlc-dialog :is(.dlc-card,.dlc-scheme-row,.dlc-editor,.dlc-scheme){border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;background:#faf7ef80;border-radius:0}.chat-attached-ink .dlc-dialog :is(.dlc-card,.dlc-scheme-row){padding:12px}.chat-attached-ink .dlc-dialog button{font-family:inherit}.chat-attached-ink .dlc-dialog :is(.active,[aria-selected=true]){color:#853c2e;border-color:#b4745c;background-color:#dfc5b654}.chat-attached-ink .dlc-dialog :is(.dlc-primary-tabs,.dlc-secondary-tabs){border-color:#c3b2985c}.chat-attached-ink .dlc-scheme-bar{border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;background:#eee5d759;padding:12px}.chat-attached-ink .dlc-dialog :is(p,small){color:var(--attached-muted)}.chat-attached-ink .dlc-editor{padding:14px}.chat-attached-ink .dlc-dialog :is(.dlc-primary-tabs,.dlc-secondary-tabs){background:transparent}.chat-attached-ink .dlc-dialog :is(.dlc-primary-tabs,.dlc-secondary-tabs) button{font-size:15px;font-weight:600;padding-inline:22px}.chat-attached-ink .dlc-dialog :is(.dlc-primary-tabs,.dlc-secondary-tabs) button.active{background:transparent;border-bottom:3px solid #9a4a38}.chat-attached-ink .dlc-dialog-body{padding:10px 2px}.chat-attached-ink .dlc-dialog :is(.dlc-card-summary b,.dlc-scheme-bar b,.dlc-work-sections h3,.dlc-owned-overview h2){font-size:16px}.chat-attached-ink .dlc-dialog :is(.dlc-card-summary small,.dlc-card-metrics em,.dlc-scheme-bar small,.dlc-list-toolbar span,.dlc-pagination,.dlc-card-detail dt,.dlc-author-stats span,.dlc-prompt header b){font-size:12px}.chat-attached-ink .dlc-dialog :is(.dlc-card-detail p,.dlc-card-detail dd,.dlc-author-stats b,.dlc-hidden-prompt,.dlc-empty){font-size:14px}.chat-attached-ink .dlc-card-actions button{font-size:12px;min-height:34px;padding-inline:8px}.chat-attached-ink .dlc-card-detail{padding:12px 8px;background:transparent;border-top-color:#c8b69b45}.chat-attached-ink .dlc-card-detail>.button{justify-self:start}.chat-attached-ink .dlc-prompt{background:#f1e9db55;color:var(--attached-ink);border-color:#c8b69b60}.chat-attached-ink .dlc-prompt>header{background:transparent}.chat-attached-ink .dlc-prompt pre{font-family:inherit;font-size:14px;line-height:1.7;padding:8px 12px}.chat-attached-ink .dlc-editor :is(label,input,select,textarea){font-size:14px}.chat-attached-ink .dlc-editor small{font-size:12px}.chat-attached-ink .dlc-dialog .dlc-scheme-bar{display:flex;align-items:center;gap:14px;padding:15px 18px;min-height:70px;margin-bottom:12px;border-image:url(/design/chat-ink/attached/r1/dlc-card.png?v=4239d60e3e3e11365d6a) 170 65 165 65/24px 8px/16px 0 stretch}.chat-attached-ink .dlc-scheme-bar>div{display:contents}.chat-attached-ink .dlc-scheme-bar>div>b{flex:0 0 auto;order:0;font-size:14px}.chat-attached-ink .dlc-scheme-bar>button{order:1;flex:0 0 auto}.chat-attached-ink .dlc-scheme-bar>div>.user-help-inline{order:2;margin-left:auto;font-size:11px}.chat-attached-ink .dlc-card-list{gap:12px}.chat-attached-ink .dlc-dialog .dlc-chat-card{padding:10px 14px;border-image:url(/design/chat-ink/attached/r1/dlc-card.png?v=4239d60e3e3e11365d6a) 170 65 165 65/24px 8px/16px 0 stretch;background:#fffaf23d}.chat-attached-ink .dlc-chat-card>header{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;grid-column-gap:12px;column-gap:12px;grid-row-gap:3px;row-gap:3px;min-height:46px;padding:0}.chat-attached-ink .dlc-chat-card .dlc-drag-handle{position:absolute;left:-12px;top:17px;opacity:.3}.chat-attached-ink .dlc-chat-person{grid-column:1;grid-row:1/3;align-self:center;color:#a44737;stroke-width:1.5}.chat-attached-ink .dlc-chat-card .dlc-card-summary{grid-column:2;grid-row:1;min-width:0;padding:0;display:block;text-align:left}.chat-attached-ink .dlc-chat-card .dlc-card-summary b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1.5}.chat-attached-ink .dlc-chat-metadata{grid-column:2;grid-row:2;display:flex;align-items:center;gap:12px;min-width:0;overflow-x:auto;scrollbar-width:none;color:#69706d;font-size:12px;line-height:1.6;white-space:nowrap}.chat-attached-ink .dlc-chat-metadata::-webkit-scrollbar{display:none}.chat-attached-ink .dlc-chat-metadata>span{flex:0 0 auto}.chat-attached-ink .dlc-chat-card .dlc-card-actions{grid-column:3;grid-row:1/3;display:flex;flex-wrap:nowrap;gap:5px;margin:0;align-items:center}.chat-attached-ink .dlc-chat-card .dlc-card-actions button{min-height:32px;min-width:25px;padding:4px;border:0;border-image:none;background:transparent;color:#313832}.chat-attached-ink .dlc-chat-card .dlc-card-actions button>svg{width:18px;height:18px}.chat-attached-ink .dlc-chat-card .dlc-card-actions .text-action{min-width:58px;padding:6px 9px;border:1px solid #cbbbaa80;border-radius:4px;background:#f1e7dd88}.chat-attached-ink .dlc-chat-card .dlc-card-actions .text-action.active{color:#943f2c;background:#e8cbba8c;border-color:#d6ae9577}.chat-attached-ink .dlc-card-actions>[aria-label="追加设定上移"]{order:0}.chat-attached-ink .dlc-card-actions>[aria-label="追加设定下移"]{order:1}.chat-attached-ink .dlc-card-actions>.dlc-content-toggle{order:2}.chat-attached-ink .dlc-card-actions>[aria-label*="收藏追加设定"]{order:3}.chat-attached-ink .dlc-card-actions>.text-action{order:4}.chat-attached-ink .dlc-chat-card .dlc-chat-detail{display:block;padding:7px 0 0 40px;border:0;margin:0}.chat-attached-ink .dlc-chat-detail p{margin:3px 0;font-size:12px;line-height:1.6}.chat-attached-ink .dlc-chat-prompt{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:start;grid-gap:8px;gap:8px}.chat-attached-ink .dlc-chat-prompt pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.8}.chat-attached-ink .dlc-chat-prompt>:not(pre){grid-column:2;grid-row:1}.chat-attached-ink .dlc-chat-prompt button{border:0;background:transparent;color:#898073;padding:4px;cursor:pointer}.chat-attached-ink .dlc-chat-detail .dlc-hidden-prompt{padding:5px 0;background:transparent;border:0;font-size:12px}.chat-attached-ink .dlc-chat-detail footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px;font-size:11px;color:#888174}.chat-attached-ink .dlc-chat-detail footer a{color:#84725e}.chat-attached-ink .share-dialog{width:min(690px,100%)}.chat-attached-ink .share-dialog-body{padding:12px 20px 6px}.chat-attached-ink .share-dialog-body fieldset{border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;border-radius:0;padding:12px 14px;margin-bottom:12px;gap:10px;background:#fbf7ef38}.chat-attached-ink .share-dialog-body legend{color:#55564e;font-size:13px;padding:0 6px}.chat-attached-ink .share-dialog-body label{font-size:14px;line-height:1.5;gap:7px}.chat-attached-ink .share-dialog-body label small{font-size:12px;margin-left:24px}.chat-attached-ink .share-dialog-body input:is([type=checkbox],[type=radio]){flex:0 0 auto;width:15px;height:15px}.chat-attached-ink .share-dialog-body input[type=number]{width:82px}.chat-attached-ink .share-result{border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;background:#e9e4d866;padding:12px}.chat-attached-ink .share-result :is(input,p){font-size:12px}.chat-attached-ink :is(.chat-transfer-dialog,.share-config-dialog)>header{padding-inline:20px}.chat-attached-ink :is(.chat-transfer-dialog,.share-config-dialog)>footer{padding:12px 20px 9px}.chat-attached-ink .chat-transfer-dialog .share-dialog-body>section{padding:14px 16px}.chat-attached-ink .share-dialog-body .share-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;grid-column-gap:22px;column-gap:22px;grid-row-gap:8px;row-gap:8px}.chat-attached-ink .share-dialog-body .export-attachments{grid-template-rows:repeat(3,auto)}.chat-attached-ink .share-dialog-body .share-attachments>label{display:flex;align-items:center;margin:0}.chat-attached-ink .share-dialog-body .share-format-options{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:8px}.chat-attached-ink .share-format-options>.user-help-inline{flex-basis:100%;font-size:12px}.chat-attached-ink .share-access-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:22px;gap:22px;margin:3px 0 16px}.chat-attached-ink .share-access-fields>.share-pin-field{display:grid;grid-template-columns:1fr;grid-template-rows:auto 36px 1fr;align-items:start;grid-gap:5px;gap:5px;min-width:0;margin:0}.chat-attached-ink .share-access-fields>.share-pin-field>input{width:100%;height:36px}.chat-attached-ink .share-access-fields>.share-pin-field>span:first-child{font-size:13px;line-height:1.6}.chat-attached-ink .share-access-fields>.share-pin-field>input{border-image:url(/design/square-material/control-frame.webp?v=438cac5625844ae18e7d) 28 fill/5px/0 stretch}.chat-attached-ink .share-access-fields .user-help-inline{font-size:11px;line-height:1.5;color:#8a847a;margin:0}.chat-attached-ink .work-detail-modal{width:min(1080px,calc(100vw - 48px));max-height:calc(100dvh - 40px)}.chat-attached-ink .work-detail-modal-scroll{padding:12px}.chat-attached-ink .work-detail-head{padding:8px 4px 0;border:0;background:transparent;box-shadow:none;gap:26px;grid-template-columns:minmax(220px,49%) minmax(0,1fr)}.chat-attached-ink .detail-info{padding:10px 4px 0}.chat-attached-ink .detail-cover-column{min-width:0}.chat-attached-ink .detail-cover{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:10px solid transparent;border-image:url(/design/square-attached/fidelity/cover-frame-faithful.webp?v=e629744c7e8a434b4e69) 48/10px/0 stretch;padding:4px;border-radius:0}.chat-attached-ink .detail-info h1{font-family:"Square Reading Serif","Noto Serif SC",Songti SC,SimSun,serif;font-size:30px;font-weight:800;margin:10px 0}.chat-attached-ink .detail-info .tag-row{gap:6px}.chat-attached-ink .detail-info .tag-row :is(button,span){font-size:12px}.chat-attached-ink .detail-info .author-line{margin-top:14px}.chat-attached-ink .detail-info .author-line small{font-size:11px}.chat-attached-ink .detail-info .detail-excerpt{font-size:14px;line-height:1.7;margin:6px 0 12px}.chat-attached-ink .detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:0;gap:0;margin:16px 0 0;padding:15px 0 5px;border-bottom:0;border-top-color:#c6b798}.chat-attached-ink .detail-stats>span{display:grid;grid-template-columns:26px auto;align-items:center;justify-content:center;grid-gap:4px 6px;gap:4px 6px;border:0;border-right:1px solid #c6b79899;padding:0 5px;background:transparent}.chat-attached-ink .detail-stats>span:last-child{border-right:0}.chat-attached-ink .detail-actions{margin-top:14px}.chat-attached-ink .detail-stats img{width:25px;height:25px;object-fit:contain;grid-row:span 2;mix-blend-mode:multiply}.chat-attached-ink .detail-stats img[alt="评分"]{filter:grayscale(1) contrast(3)}.chat-attached-ink .detail-stats b{font-size:17px}.chat-attached-ink .detail-stats small{font-size:11px}.chat-attached-ink .chat-work-report{display:block;margin:6px 0 0 10px;padding:0;color:#9a958b;border:0;background:none;font-size:12px;cursor:pointer}.chat-attached-ink .chat-work-favorite-icon{width:21px;height:21px;object-fit:contain;mix-blend-mode:multiply;transform:scaleX(1.35)}.chat-attached-ink .detail-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px;margin-top:18px}.chat-attached-ink .work-description .prose{padding:16px 12px 4px}.chat-attached-ink .work-html-preview iframe{height:130px;min-height:130px}.chat-attached-ink .feature-list{grid-template-columns:1fr;gap:0;margin-top:8px}.chat-attached-ink .feature-list>span{grid-template-columns:28px 94px minmax(0,1fr);align-items:center;gap:7px;padding:12px 0;border:0;border-top:1px solid #c6b79877;border-radius:0;color:var(--attached-ink)}.chat-attached-ink .feature-list b{font-size:15px}.chat-attached-ink .feature-list small{grid-column:3;font-size:13px}.chat-attached-ink .comment-panel{padding:14px 12px}.chat-attached-ink .comment-panel :is(p,small,button,.comment-item p){font-size:13px;line-height:1.7}.chat-attached-ink :is(.work-description,.detail-side>.panel){border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;background:#faf7ee63;border-radius:0;padding:14px}.chat-attached-ink .detail-tabs{border-bottom:1px solid #c4b59577;gap:12px}.chat-attached-ink .detail-tabs button{padding:6px 10px 10px;font-size:14px;color:#55584f}.chat-attached-ink .detail-tabs button.active{color:#94412f;border-color:#aa563f}.chat-attached-ink .rating-input button{color:#ad5942}.chat-attached-ink .detail-side :is(h3,dt,dd){font-size:13px}.chat-attached-ink .detail-side dl>div{padding:8px 0;border-bottom-color:#cbbda144}.drawing-modal-backdrop.chat-attached-ink{background:#29251e69;z-index:190;padding:24px}.chat-attached-ink .drawing-source-dialog{width:min(1060px,100%);max-height:calc(100dvh - 48px);padding:12px 20px 20px}.chat-attached-ink .drawing-source-dialog>header{padding:0 0 12px;border-bottom:1px solid #c3ad8b55}.chat-attached-ink .drawing-source-dialog h2{font-size:21px;margin:0}.chat-attached-ink .drawing-source-text{border:1px solid transparent;border-image:var(--attached-field) 64 /9px /0 stretch;background:#f3ede159;padding:13px;font-size:14px;line-height:1.8}.chat-attached-ink .drawing-form-grid{gap:14px 18px;margin-block:16px}.chat-attached-ink .drawing-source-dialog button:not(.user-help-info){min-height:33px;padding:6px 12px;border:1px solid transparent;border-image:url(/design/square-material/control-frame.webp?v=438cac5625844ae18e7d) 28 fill/5px/0 stretch;border-radius:3px;background:transparent;color:#35403b}.chat-attached-ink .drawing-source-dialog .user-help-info{padding:0;min-height:0;background:transparent;border:0}.chat-attached-ink .drawing-source-dialog .drawing-primary{border-image:none;background:var(--attached-red);color:#fff9ef}.chat-attached-ink .drawing-source-dialog .drawing-field{margin:3px 0;gap:5px}.chat-attached-ink .drawing-source-dialog .drawing-form-grid{gap:8px 18px}.chat-attached-ink .drawing-form-grid>div:has(>label.drawing-field){display:contents}.chat-attached-ink .drawing-form-grid>div>label.drawing-field:nth-child(2){grid-column:1;grid-row:4}.chat-attached-ink .drawing-form-grid>label:has(>input[type=number]){grid-column:2;grid-row:3}.chat-attached-ink .drawing-form-grid>label:has(>input[placeholder="不设置预算"]){grid-column:2;grid-row:4}.chat-attached-ink .drawing-form-grid>.drawing-check{grid-column:1/-1}.chat-attached-ink .drawing-source-dialog :is(input[type=checkbox],input[type=radio]){accent-color:var(--attached-red)}.chat-attached-ink .drawing-source-dialog>.drawing-card{margin-block:14px 0}.chat-attached-ink .drawing-source-dialog .drawing-row{gap:8px}.chat-attached-ink .drawing-source-dialog .drawing-card{border:1px solid transparent;border-image:var(--attached-field) 64 /9px /0 stretch;background:#faf7ef66;padding:14px}.chat-attached-ink .drawing-source-dialog{--draw-ink:#263035;--draw-muted:#85817b;--draw-line:#c9bca6;--draw-accent:#a44737;--draw-tint:#ece4d64d}.chat-attached-ink .drawing-source-dialog :is(.drawing-image-card,.drawing-image-modal,.drawing-dialog,.drawing-variant,.drawing-picker,.drawing-advanced,.drawing-turn){border:1px solid transparent;border-image:var(--attached-field) 64 /8px /0 stretch;border-radius:3px;background:#f7f2e7}.chat-attached-ink .drawing-source-dialog :is(.drawing-image-preview,.drawing-editor-canvas,.drawing-run-accounting,.drawing-run-summary){background:#e9e1d3}.chat-attached-ink .drawing-source-dialog :is(.drawing-primary,.active,.selected){color:#fff9ef;background:#a44737;border-image:none}.chat-attached-ink .drawing-source-dialog a{color:#854b39}.chat-attached-ink .drawing-source-dialog .drawing-status{color:#705748;background:#e7d8c4}.chat-attached-ink .drawing-source-dialog :is(.drawing-field,.drawing-check){font-size:14px}.chat-attached-ink .drawing-editor{--surface:#f7f3ea;--surface-2:#efe9dc;--primary:#a44737;color:#263035;background:#f7f3ea;border-color:#c4b69a}.chat-action-layer{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;padding:20px}.chat-action-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:#29251e75}.chat-attached-ink .chat-action-dialog{position:relative;width:min(490px,100%);padding:10px;max-height:calc(100dvh - 40px);overflow-y:auto}.chat-action-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.chat-action-dialog h2{font-size:19px;margin:0}.chat-action-message{margin:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.chat-action-dialog input{width:100%}.chat-action-dialog footer{display:flex;gap:9px;justify-content:flex-end;margin-top:20px}@media (max-width:700px){.chat-attached-ink :is(.chat-dialog-layer,.work-detail-modal-layer,.dlc-dialog-layer){padding:7px}.chat-attached-ink :is(.chat-dialog,.work-detail-modal,.dlc-dialog){width:100%;max-height:calc(100dvh - 14px);height:auto;border-width:9px;border-image-width:9px}.chat-attached-ink .chat-settings{position:fixed!important;inset:7px!important;width:auto;height:auto;max-height:calc(100dvh - 14px);grid-template-rows:auto minmax(0,1fr);border-width:9px;border-image-width:9px}.chat-attached-ink .settings-scroll{max-height:none;padding:12px 13px}.chat-attached-ink .model-menu{width:auto;max-height:calc(100dvh - 16px)}.chat-attached-ink .group-prompt-menu{position:fixed;left:8px;right:8px;bottom:160px;width:auto;max-width:none;max-height:calc(100dvh - 220px);overflow-y:auto;z-index:190}.chat-attached-ink .dlc-dialog :is(.dlc-primary-tabs,.dlc-secondary-tabs) button{font-size:13px;padding-inline:12px}.chat-attached-ink .dlc-card>header{flex-wrap:wrap}.chat-attached-ink .dlc-card-summary{flex-basis:calc(100% - 30px)}.chat-attached-ink .dlc-card-actions{margin-left:auto}.chat-attached-ink .conversation-rail{padding:10px 14px}.chat-attached-ink .conversation-item{padding-inline:9px;gap:4px}.chat-attached-ink .conversation-open{grid-template-columns:43px minmax(0,1fr);gap:9px}.chat-attached-ink .conversation-cover{width:43px;height:55px}.chat-attached-ink .conversation-copy b{font-size:14px}.chat-attached-ink .conversation-copy small{font-size:12px}.chat-attached-ink .conversation-row-actions{gap:1px;max-width:80px}.chat-attached-ink .conversation-row-actions button{width:25px}.chat-attached-ink .conversation-rail-head b{font-size:17px}.chat-attached-ink .proxy-dialog>textarea{min-height:230px}.chat-attached-ink .proxy-dialog>footer{display:flex}.chat-attached-ink .share-dialog-body,.chat-attached-ink .share-dialog-body fieldset{padding:10px}.chat-attached-ink .share-dialog-body label{font-size:13px}.chat-attached-ink :is(.chat-transfer-dialog,.share-config-dialog)>header{padding-inline:10px}.chat-attached-ink :is(.chat-transfer-dialog,.share-config-dialog)>footer{padding-inline:10px}.chat-attached-ink .share-access-fields{gap:12px}.chat-attached-ink .share-access-fields>.share-pin-field{grid-template-rows:40px 36px 1fr}.chat-attached-ink .share-dialog-body .share-attachments{column-gap:12px}.chat-attached-ink .dlc-dialog{padding:6px}.chat-attached-ink .dlc-heading-line{flex-wrap:wrap;gap:5px}.chat-attached-ink .dlc-dialog .dlc-scheme-bar{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;padding:12px}.chat-attached-ink .dlc-scheme-bar>div>.user-help-inline{flex-basis:100%;margin:0}.chat-attached-ink .dlc-dialog .dlc-chat-card{padding:10px}.chat-attached-ink .dlc-chat-card>header{grid-template-columns:20px minmax(0,1fr) auto;gap:5px}.chat-attached-ink .dlc-chat-person{width:20px}.chat-attached-ink .dlc-chat-card .dlc-card-summary b{font-size:13px}.chat-attached-ink .dlc-chat-card .dlc-card-actions{grid-row:1;gap:1px}.chat-attached-ink .dlc-chat-card .dlc-card-actions button{min-width:21px;padding:2px}.chat-attached-ink .dlc-chat-card .dlc-card-actions button>svg{width:14px;height:14px}.chat-attached-ink .dlc-chat-card .dlc-card-actions .text-action{min-width:44px;padding:4px;font-size:11px}.chat-attached-ink .dlc-chat-metadata{grid-column:2/-1;font-size:10px;gap:10px}.chat-attached-ink .dlc-chat-card .dlc-chat-detail{padding-left:25px}.chat-attached-ink .work-detail-modal-scroll{padding:6px}.chat-attached-ink .work-detail-head{grid-template-columns:1fr;gap:14px}.chat-attached-ink .detail-cover-column{width:min(380px,100%);margin:0 auto}.chat-attached-ink .detail-info h1{font-size:23px}.chat-attached-ink .detail-stats{gap:5px}.chat-attached-ink .detail-stats>span{grid-template-columns:22px auto;gap:3px;padding-inline:3px}.chat-attached-ink .detail-stats img{width:22px;height:22px}.chat-attached-ink .detail-stats b{font-size:14px}.chat-attached-ink .detail-stats small{font-size:10px}.chat-attached-ink .detail-layout{grid-template-columns:1fr}.chat-attached-ink .detail-tabs{gap:3px}.drawing-modal-backdrop.chat-attached-ink{padding:7px}.chat-attached-ink .drawing-source-dialog{padding:8px;max-height:calc(100dvh - 14px)}.chat-attached-ink .drawing-form-grid{grid-template-columns:1fr}.chat-attached-ink .drawing-form-grid>:is(div,label),.chat-attached-ink .drawing-form-grid>div>label.drawing-field:nth-child(2),.chat-attached-ink .drawing-form-grid>label:has(>input[placeholder="不设置预算"]),.chat-attached-ink .drawing-form-grid>label:has(>input[type=number]){grid-column:auto;grid-row:auto}.chat-action-layer{padding:14px}}