*{box-sizing:border-box}html,body,#root{margin:0;min-width:1120px;height:100%;font-family:Microsoft YaHei UI,PingFang SC,Arial,sans-serif;color:#10233f;background:#f5f7f9;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.app-shell{display:flex;height:100vh;min-height:720px;overflow:hidden}.sidebar{width:146px;flex:0 0 146px;background:#fff;border-right:1px solid #dfe5ec;display:flex;flex-direction:column;padding:24px 16px 12px}.sidebar-top h1{font-size:27px;margin:0 0 18px;font-weight:800}.primary{border:0;background:#1688f8;color:#fff;font-weight:700;border-radius:12px}.new-task{height:53px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;font-size:17px}.task-list{display:flex;flex-direction:column;gap:4px;padding-top:14px;overflow:auto;scrollbar-width:none}.task-list::-webkit-scrollbar,.reference-grid::-webkit-scrollbar,.thumbnail-strip::-webkit-scrollbar{display:none}.task-row{height:42px;min-height:42px;border:0;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 9px;font-size:16px}.task-row.current{background:#e7f2ff}.task-row.multi-selected{box-shadow:inset 0 0 0 1px #c9e2ff}.task-row i,.status-line i{width:9px;height:9px;border-radius:50%;flex:none}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:12px}.settings-link{height:38px;border:0;background:transparent;display:flex;gap:8px;align-items:center;font-size:16px;padding:0 10px}.user-chip{padding:0 10px;display:flex;justify-content:space-between;gap:8px;align-items:center}.user-chip small{color:#7b8899;font-size:11px}.clear-tasks{align-self:center;width:94px;height:31px;border:1px solid #d7dee8;border-radius:8px;background:#fff;color:#718096;font-size:13px}.workspace{min-width:0;flex:1;display:flex;flex-direction:column;padding:24px 22px 14px;gap:16px;overflow:hidden}.workspace-grid{min-height:0;flex:1;display:grid;grid-template-columns:minmax(430px,1fr) 216px minmax(480px,1.22fr)}.panel{background:#fff;border:1px solid #dce3eb;padding:25px 24px;min-width:0;overflow:hidden}.panel:first-child{border-radius:18px 0 0 18px}.panel:last-child{border-radius:0 18px 18px 0}.panel h2{font-size:23px;margin:0 0 18px;font-weight:800}.panel h3{font-size:17px;margin:0;font-weight:800}.generation-panel{padding-left:13px;padding-right:13px;border-left:0}.output-panel{border-left:0;padding:25px 24px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:17px}.mode-tabs button{height:44px;border:1px solid #d6dde6;background:#f0f2f4;font-size:17px}.mode-tabs button:first-child{border-radius:9px 0 0 9px}.mode-tabs button:last-child{border-radius:0 9px 9px 0}.mode-tabs button.active{background:#f4f8fe;color:#087ffc;border:1.5px solid #087ffc;font-weight:700}.reference-section{margin-bottom:0}.reference-section>h3{margin-bottom:12px}.reference-grid{height:247px;border:1px dashed #cbd5e1;border-radius:10px;padding:12px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,1fr);grid-auto-columns:calc((100% - 30px)/4);gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.reference-tile,.reference-add{position:relative;border:1px solid #d2dae4;border-radius:9px;background:#fff;overflow:hidden;padding:0;min-width:0}.reference-tile strong{position:absolute;left:0;right:0;top:6px;z-index:1;text-align:center;font-size:15px}.reference-tile img{width:100%;height:100%;object-fit:contain;padding:28px 8px 5px}.reference-add{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;color:#758397;font-size:12px;border-style:dashed}.reference-grid.dragging{border-color:#1688f8;background:#f0f7ff}.reference-help{font-size:13px;color:#718096;height:26px;display:flex;align-items:center}.prompt-header{display:flex;align-items:center;justify-content:space-between;margin-top:-4px;margin-bottom:10px}.prompt-header span{color:#65758a;font-size:14px}.prompt-input,.negative-input{width:100%;border:1px solid #d3dbe5;border-radius:9px;resize:none;outline:none;padding:13px 15px;font-size:16px;line-height:1.5}.prompt-input{height:176px}.negative-input{height:72px;margin:9px 0}.prompt-input:focus,.negative-input:focus,input:focus{border-color:#1688f8;box-shadow:0 0 0 2px #1688f81a}.toggle-row{height:48px;display:flex;align-items:center;gap:10px;font-size:15px}.toggle{width:38px;height:23px;border:0;background:#cfd5dd;border-radius:99px;padding:3px}.toggle span{display:block;width:17px;height:17px;border-radius:50%;background:#fff;transition:.15s}.toggle.on{background:#1688f8}.toggle.on span{transform:translate(15px)}.advanced-toggle{height:42px;width:100%;border:0;border-top:1px solid #e1e6ed;background:transparent;display:flex;align-items:center;justify-content:space-between;font-weight:700;padding:0}.advanced-toggle svg{transition:.15s}.advanced-toggle .rotated{transform:rotate(180deg)}.advanced-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.advanced-row label{font-size:12px;color:#607086}.advanced-row input{display:block;width:100%;height:34px;margin-top:4px;border:1px solid #d5dce5;border-radius:7px;padding:0 8px}.select-field{display:block;margin-bottom:18px}.select-field>span,.count-field>span{display:block;font-size:16px;font-weight:800;margin-bottom:11px}.select-shell{height:46px;border:1px solid #cfd8e3;border-radius:9px;display:flex;align-items:center;position:relative;background:#fff}.select-shell select{width:100%;height:100%;border:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 39px 0 12px;outline:none;font-size:16px}.select-shell svg{position:absolute;right:13px;pointer-events:none;color:#111}.compact-select select{font-size:14px}.select-field select:focus-visible{box-shadow:inset 0 0 0 1.5px #1688f8;border-radius:9px}.count-field{margin-top:2px}.count-field>div{display:grid;grid-template-columns:38px 1fr 38px;gap:7px}.count-field button,.count-field strong{height:45px;border:1px solid #d0d9e3;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center}.count-field strong{font-size:17px;font-weight:500}.output-title{display:flex;align-items:center;justify-content:space-between}.secondary-button,.output-title a{height:42px;border:1px solid #d4dce6;border-radius:9px;background:#fff;color:#24364e;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 15px}.preview-box{height:min(52vh,480px);min-height:300px;border:1px solid #d4dce4;border-radius:10px;background:#f1f3f5;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview-box img{width:100%;height:100%;object-fit:contain}.empty-preview{display:flex;flex-direction:column;align-items:center;gap:12px;color:#8b98a8}.output-name{height:31px;font-size:16px;font-weight:700;display:flex;align-items:end}.thumbnail-strip{display:flex;gap:10px;height:96px;overflow-x:auto;padding:8px 0}.thumbnail-strip button{width:90px;flex:0 0 90px;border:1px solid #d2d9e2;border-radius:9px;padding:0;background:#f1f3f5;overflow:hidden}.thumbnail-strip button.selected{border:2px solid #1688f8}.thumbnail-strip img{width:100%;height:100%;object-fit:contain}.storage-hint{margin-top:12px;display:flex;flex-direction:column;gap:8px}.storage-hint span{color:#65758a}.bottom-bar{height:85px;flex:0 0 85px;border:1px solid #dce3eb;background:#fff;border-radius:16px;display:flex;align-items:center;gap:14px;padding:0 17px 0 23px}.status-line{display:flex;align-items:center;gap:13px;font-size:16px}.global-error{color:#c63737;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42%;margin-left:auto}.generate-button{height:55px;width:280px;margin-left:auto;font-size:18px}.cancel-button{height:43px;border:1px solid #f1b5b5;color:#c53030;background:#fff;border-radius:9px;display:flex;gap:7px;align-items:center;padding:0 15px}.context-menu{position:fixed;z-index:100;background:#fff;color:#17263c;border:1px solid #cfd6df;border-radius:8px;padding:5px;min-width:126px;box-shadow:0 12px 30px #0f1f332e}.context-menu button{width:100%;height:34px;border:0;border-radius:5px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px;text-align:left}.context-menu button:hover{background:#eef5ff}.context-menu button.danger{color:#c53030}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#0a182b59;display:flex;align-items:center;justify-content:center;padding:30px}.modal{width:min(500px,100%);max-height:86vh;background:#fff;border-radius:16px;box-shadow:0 25px 80px #0a1b324d;display:flex;flex-direction:column;overflow:hidden}.modal-wide{width:min(760px,100%)}.modal>header{height:64px;flex:none;border-bottom:1px solid #e1e6ed;padding:0 22px;display:flex;align-items:center;justify-content:space-between}.modal h2{margin:0;font-size:21px}.icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:8px;display:grid;place-items:center}.modal-body{padding:20px;overflow:auto}.settings-tabs{display:flex;gap:6px;border-bottom:1px solid #e0e6ed;margin:-4px 0 17px}.settings-tabs button{height:42px;border:0;border-bottom:2px solid transparent;background:#fff;display:flex;align-items:center;gap:6px}.settings-tabs button.active{border-color:#1688f8;color:#087ffc}.settings-message{padding:9px 12px;border-radius:7px;background:#eaf6ef;color:#23834c;margin-bottom:12px}.token-list{display:grid;gap:12px}.token-card{border:1px solid #dfe5ec;border-radius:10px;padding:15px}.token-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.token-card span{font-size:12px}.configured{color:#198754}.unconfigured{color:#a06b00}.token-input{margin-top:11px}.token-input input{height:40px;flex:1;border:1px solid #d3dbe5;border-radius:8px;padding:0 11px}.token-input button{height:40px;padding:0 17px}.user-admin form{border:1px solid #dfe5ec;border-radius:10px;padding:15px}.user-admin h3{display:flex;align-items:center;gap:7px;margin:0 0 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}.form-grid input{height:39px;border:1px solid #d3dbe5;border-radius:7px;padding:0 10px}.user-admin form>button{height:39px;padding:0 17px}.user-table{margin-top:14px}.user-table>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #e6eaf0}.user-table span:first-child{display:flex;flex-direction:column}.user-table small{color:#76859a}.user-table button{border:1px solid #d3dae3;background:#fff;border-radius:7px;padding:5px 10px}.account-state{font-size:12px;color:#a06b00}.account-state.active{color:#198754}.account-panel{text-align:center;padding:24px}.account-avatar{width:62px;height:62px;border-radius:50%;background:#1688f8;color:#fff;display:grid;place-items:center;font-size:25px;margin:auto}.account-panel h3{margin-bottom:4px}.account-panel p{color:#69788b}.account-panel button{margin:auto}.secondary-button.danger{color:#c53030}.log-viewer{height:460px;background:#0e1826;color:#d6e2f0;border-radius:9px;padding:12px;font-family:Consolas,monospace;overflow:auto}.log-viewer>div{display:grid;grid-template-columns:170px 1fr;gap:12px;padding:5px}.log-viewer time{color:#7e90a8}.log-viewer .error{color:#ff9a9a}.empty-log{color:#8798aa}.login-page,.loading-page{height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#edf6ff,#f8fafc);gap:10px}.login-card{width:380px;padding:36px;border:1px solid #dce4ee;background:#fff;border-radius:18px;box-shadow:0 24px 70px #1a4b7e1f;text-align:center}.brand-mark{width:56px;height:56px;border-radius:15px;background:#1688f8;color:#fff;display:grid;place-items:center;margin:0 auto 15px}.login-card h1{font-size:25px;margin:0 0 7px}.login-card>p{color:#718096;margin:0 0 24px}.login-card label{text-align:left;font-weight:700;display:block;margin:12px 0}.login-card input{width:100%;height:45px;border:1px solid #d2dae4;border-radius:9px;margin-top:7px;padding:0 12px}.login-button{width:100%;height:47px;margin-top:9px;display:flex;align-items:center;justify-content:center;gap:7px}.form-error{font-size:13px;color:#c53030;text-align:left}.secure-note{font-size:12px;color:#8a97a7;margin-top:18px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1280px){.sidebar{width:130px;flex-basis:130px;padding-left:12px;padding-right:12px}.workspace{padding-left:14px;padding-right:14px}.workspace-grid{grid-template-columns:minmax(390px,1fr) 190px minmax(400px,1fr)}.panel{padding-left:16px;padding-right:16px}.generation-panel{padding-left:10px;padding-right:10px}.generate-button{width:230px}}@media(max-height:820px){.workspace{padding-top:14px;gap:10px}.panel{padding-top:17px;padding-bottom:15px}.panel h2{margin-bottom:12px}.reference-grid{height:180px}.prompt-input{height:130px}.preview-box{min-height:250px;height:43vh}.select-field{margin-bottom:11px}.select-field>span,.count-field>span{margin-bottom:7px}.select-shell,.count-field button,.count-field strong{height:40px}.bottom-bar{height:68px;flex-basis:68px}.generate-button{height:48px}}.workspace-grid{grid-template-columns:minmax(350px,var(--input-width,440px)) 6px 188px 6px minmax(360px,1fr)}.generation-panel{padding-left:10px;padding-right:10px;border-left:1px solid #dce3eb}.output-panel{border-left:1px solid #dce3eb}.resize-handle{position:relative;cursor:col-resize;touch-action:none;background:#f5f7f9}.resize-handle:after{content:"";position:absolute;left:2px;top:44%;width:2px;height:54px;border-radius:2px;background:#c7d1dd;transition:.15s}.resize-handle:hover:after{background:#1688f8;height:76px;top:42%}.reference-grid{grid-auto-flow:initial}.text-mode .prompt-input{height:352px}.output-title{gap:12px}.output-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.output-actions .secondary-button{height:42px;border:1px solid #d4dce6;border-radius:9px;background:#fff;color:#24364e;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px}.user-chip{padding:0 8px;gap:5px;min-width:0;font-size:12px;white-space:nowrap}.user-chip>span{overflow:hidden;text-overflow:ellipsis}.user-chip small{font-size:10px;flex:none;white-space:nowrap}.password-field{height:39px;display:flex}.password-field input{min-width:0;flex:1;border-radius:7px 0 0 7px}.password-field button{flex:none;border:1px solid #d3dbe5;border-left:0;background:#f7f9fb;border-radius:0 7px 7px 0;padding:0 9px;display:flex;align-items:center;gap:4px;font-size:12px}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.gallery-filters,.gallery-user-filters{display:flex;align-items:center;gap:8px;min-width:0}.day-filters{display:flex;gap:5px}.day-filters button,.gallery-user-filters>button{height:34px;min-width:52px;border:1px solid #d5dde7;border-radius:7px;background:#fff}.day-filters button.active,.gallery-user-filters>button.active{border-color:#1688f8;background:#eaf4ff;color:#087ffc;font-weight:700}.gallery-user-filters>button{padding:0 10px;display:flex;align-items:center;gap:5px;white-space:nowrap}.gallery-user-select{position:relative;width:190px;height:34px}.gallery-user-select select{width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d5dde7;border-radius:7px;background:#fff;padding:0 30px 0 10px;color:#24364e}.gallery-user-select svg{position:absolute;right:10px;top:11px;pointer-events:none}.gallery-actions{display:flex;gap:8px;flex:none}.gallery-actions button{height:36px;border:1px solid #d5dde7;border-radius:8px;background:#fff;padding:0 12px;display:flex;align-items:center;gap:6px}.gallery-actions button.primary{border:0;background:#1688f8}.retention-note{font-size:12px;color:#758397;margin-bottom:13px}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:58vh;overflow:auto;padding:2px}.gallery-card{position:relative;min-width:0;border:1px solid #d8e0e9;border-radius:10px;background:#fff;padding:7px;text-align:left}.gallery-card.selected{border:2px solid #1688f8;padding:6px;background:#f5faff}.gallery-card img{width:100%;height:135px;display:block;object-fit:contain;background:#f1f3f5;border-radius:7px}.gallery-card strong,.gallery-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-card strong{font-size:13px;margin-top:7px}.gallery-card small{font-size:11px;color:#758397;margin-top:3px}.gallery-check{position:absolute;right:12px;top:12px;width:20px;height:20px;border:1px solid #bfc9d5;border-radius:6px;background:#fff;color:#fff;z-index:1;text-align:center;line-height:19px;font-size:13px}.gallery-card.selected .gallery-check{background:#1688f8;border-color:#1688f8}.gallery-empty{height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#8290a2}@media(max-width:1280px){.workspace-grid{grid-template-columns:minmax(350px,var(--input-width,400px)) 6px 188px 6px minmax(360px,1fr)}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-height:820px){.text-mode .prompt-input{height:260px}}.task-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.task-row i,.favorite-card i{transition:transform .18s ease,width .18s ease,height .18s ease}.task-row i.seen,.favorite-card i.seen{transform:scale(.5)}.preview-box img{background-position:center;background-repeat:no-repeat;background-size:contain}.preview-box{position:relative}.preview-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:center;pointer-events:none;background:#f1f3f51f}.preview-loading>div{height:44px;padding:0 16px;border:1px solid rgba(208,218,229,.9);border-radius:99px;background:#ffffffeb;box-shadow:0 8px 28px #142a4629;display:flex;align-items:center;gap:9px;color:#40536b;font-size:14px;font-weight:700;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.preview-box{height:min(67.6vh,624px);min-height:390px}@media(max-height:820px){.preview-box{height:56vh;min-height:325px}}.thumbnail-strip{cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none}.thumbnail-strip:active{cursor:grabbing}.thumbnail-strip button{position:relative}.thumbnail-strip button img{height:calc(100% - 13px);pointer-events:none}.output-unseen-dot{position:absolute;left:50%;bottom:3px;width:6px;height:6px;border-radius:50%;background:#22c55e;transform:translate(-50%);box-shadow:0 0 0 2px #fff;pointer-events:none}.sidebar{position:relative}.sidebar-resize-handle{position:absolute;z-index:30;right:-4px;top:0;width:8px;height:100%;cursor:col-resize;touch-action:none}.sidebar-resize-handle:after{content:"";position:absolute;right:3px;top:18%;width:2px;height:64%;border-radius:2px;background:transparent;transition:background .15s}.sidebar-resize-handle:hover:after{background:#a9cfff}.sidebar-tools{display:flex;align-items:center;justify-content:center;gap:10px;position:relative}.sidebar-icon-button{width:42px;height:38px;border:1px solid transparent;border-radius:10px;background:transparent;color:#52637a;display:grid;place-items:center;padding:0}.sidebar-icon-button:hover{border-color:#d6e6f7;background:#edf5ff;color:#1688f8}.favorites-dock{position:relative}.favorite-trigger{margin:0}.favorites-popover{position:absolute;z-index:120;left:50%;bottom:34px;width:210px;padding:13px 12px 16px;border:1px solid #d8e1eb;border-radius:13px;background:#fffffffa;box-shadow:0 18px 48px #142a4638;opacity:0;visibility:hidden;transform:translate(-50%,8px) scale(.96);transform-origin:center bottom;transition:opacity .18s ease,transform .18s ease,visibility .18s}.favorites-dock:hover .favorites-popover{opacity:1;visibility:visible;transform:translate(-50%) scale(1)}.favorites-heading{height:25px;margin:0 3px 5px;display:flex;align-items:center;justify-content:space-between}.favorites-title{display:block;margin:0;font-size:14px}.favorites-heading>button{height:25px;border:0;border-radius:6px;background:transparent;color:#5f7188;padding:0 6px;font-size:11px}.favorites-heading>button:hover,.favorites-heading>button.active{background:#eaf4ff;color:#087ffc}.favorites-empty{display:block;padding:17px 4px 9px;text-align:center;color:#8491a2;font-size:12px}.favorite-stack{display:flex;flex-direction:column;max-height:calc(100vh - 210px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:7px 8px 8px;scrollbar-width:none}.favorite-stack::-webkit-scrollbar{display:none}.favorite-card{position:relative;z-index:calc(30 - var(--favorite-index));height:43px;min-height:43px;margin-top:-7px;border:0;border-radius:10px;background:var(--favorite-color);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;box-shadow:0 3px 9px #192a4024;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.favorite-card:first-child{margin-top:0}.favorite-card:hover{z-index:50;transform:scale(1.04);box-shadow:0 9px 24px #192a4047;filter:saturate(1.08)}.favorite-card-open{width:100%;height:100%;min-width:0;border:0;border-radius:inherit;background:transparent;color:inherit;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;text-align:left}.favorite-card.sorting .favorite-card-open{padding-right:60px}.favorite-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.favorite-card i{width:9px;height:9px;border-radius:50%;flex:none;box-shadow:0 0 0 2px #ffffff8c}.favorite-order-controls{position:absolute;right:5px;top:9px;z-index:3;display:flex;gap:2px}.favorite-order-controls button{width:23px;height:25px;border:1px solid rgba(255,255,255,.55);border-radius:6px;background:#fff3;color:#fff;display:grid;place-items:center;padding:0}.favorite-order-controls button:hover:not(:disabled){background:#fff;color:#1688f8}.favorite-order-controls button:disabled{opacity:.32}.favorite-up{transform:rotate(180deg)}.favorite-rename-form p{margin:0 0 16px;color:#68788c;font-size:13px;line-height:1.6}.favorite-rename-form label{display:block;font-weight:700}.favorite-rename-form input{display:block;width:100%;height:43px;margin-top:7px;border:1px solid #d3dbe5;border-radius:9px;padding:0 12px}.favorite-rename-form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.favorite-rename-form>div button{height:40px;padding:0 17px}.favorite-rename-form>div .primary{border-radius:9px}.sidebar .user-chip{padding:0 2px;gap:3px;font-size:11px}.sidebar .user-chip small{font-size:9px}.reference-actions{height:32px;margin-top:-7px;display:flex;align-items:center;justify-content:space-between;color:#758397;font-size:12px}.reference-actions button{height:27px;border:1px solid #cfd8e3;border-radius:7px;background:#fff;display:flex;align-items:center;gap:4px;padding:0 9px;color:#24364e}.reference-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none;grid-auto-columns:auto;grid-auto-rows:calc((100% - 10px)/2);overflow-x:hidden;overflow-y:auto}.input-panel{overflow-y:auto;scrollbar-width:none}.input-panel::-webkit-scrollbar{display:none}.reference-tile{cursor:grab}.reference-tile:active{cursor:grabbing}.reference-tile.is-dragging{opacity:.42}.reference-tile.drop-target{border-color:#1688f8;box-shadow:0 0 0 2px #1688f829}.modal-viewport{width:80vw;height:80vh;max-height:80vh}.modal-viewport .modal-body{display:flex;flex:1;min-height:0;flex-direction:column}.modal-viewport .gallery-grid{flex:1;max-height:none;align-content:start}.modal-viewport .gallery-empty{flex:1}.modal-viewport .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(180px,240px));justify-content:start}.gallery-card{align-self:start}.gallery-card img{height:auto;aspect-ratio:1/1;object-fit:contain}.account-panel{text-align:left;padding:8px 24px 18px}.account-summary{display:flex;align-items:center;justify-content:center;gap:14px;margin:4px 0 20px}.account-summary .account-avatar,.account-summary h3,.account-summary p{margin:0}.account-summary p{margin-top:4px}.password-change{max-width:440px;margin:0 auto 18px;border:1px solid #dfe5ec;border-radius:10px;padding:16px}.password-change h3{display:flex;align-items:center;gap:7px;margin:0 0 13px}.password-change label{display:block;font-size:13px;font-weight:700;margin-top:10px}.password-change input{display:block;width:100%;height:40px;margin-top:5px;border:1px solid #d3dbe5;border-radius:8px;padding:0 11px}.password-change .primary{width:100%;height:41px;margin-top:15px}.account-panel .account-logout{margin:0 auto}
