.pal{color-scheme:dark;--bg:#0b1011;--panel:#141a1b;--raised:#1d2526;--line:#2b3435;--text:#e9efec;--muted:#a0aea8;--green:#86e5b9;--green-ink:#10251b;--selected:#20382d;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none}.pal *{box-sizing:border-box}.pal body{margin:0;background:var(--bg);color:var(--text);font-size:13px}.pal button,.pal input,.pal select,.pal textarea{font:inherit}.pal button{cursor:pointer}.pal button,.pal input,.pal select,.pal textarea{color:inherit}.pal button{background:none;border:0}.pal button:disabled{opacity:.45;cursor:not-allowed}.pal button,.pal input,.pal select,.pal textarea{outline-offset:4px}.pal button:focus-visible,.pal input:focus-visible,.pal select:focus-visible,.pal textarea:focus-visible{outline:2px solid var(--green)}.pal ::-moz-selection{background:var(--green);color:var(--green-ink)}.pal ::selection{background:var(--green);color:var(--green-ink)}.pal input,.pal textarea{caret-color:var(--green)}.pal ::-webkit-scrollbar{width:6px;height:5px}.pal ::-webkit-scrollbar-thumb{background:#46534e;border-radius:5px}.pal ::-webkit-scrollbar-track{background:transparent}.pal [hidden]{display:none!important}.pal svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.pal span[data-icon]{display:inline-flex;align-items:center;justify-content:center}.pal h1,.pal h2,.pal p{margin:0}.pal .app-header{height:76px;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#101516}.pal .app-header,.pal .brand{display:flex;align-items:center}.pal .brand{gap:12px}.pal .brand strong{font-size:15px}.pal .brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;margin-top:4px}.pal .brand-mark{width:40px;height:40px;border:1px solid #38543e;border-radius:12px;color:#b0ee87}.pal .brand-mark svg{width:24px;height:24px}.pal .prototype-label{color:var(--muted);font-size:12px}.pal .button{border:1px solid #3a4542;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:37px;padding:0 14px;white-space:nowrap;background:#1d2623;font-weight:500}.pal .button:hover{background:#293731}.pal .button.primary{color:var(--green-ink);background:var(--green);border-color:var(--green);font-weight:650}.pal .button.primary:hover{background:#a0edc9}.pal .text-button{padding:8px;color:var(--muted);white-space:nowrap;border-radius:6px}.pal .text-button:hover{color:var(--text);background:#ffffff08}.pal .icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;color:var(--muted);flex-shrink:0}.pal .icon-button:hover{background:#2c3632;color:var(--text)}.pal .canvas{min-height:calc(100vh - 76px);padding:26px 34px 42px;background-image:radial-gradient(#46534e38 1px,transparent 0);background-size:22px 22px}.pal .canvas-title{color:var(--muted);font-size:13px}.pal .canvas-title span{padding:0 12px;color:#5c6963}.pal .canvas-node{width:min(520px,90vw);margin:40px auto}.pal .node-title{display:flex;align-items:center;gap:8px;margin:0 0 10px}.pal .node-placeholder{height:235px;border:1px solid #49534d;border-radius:14px;background:#1d2220;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:var(--muted)}.pal .node-placeholder svg{width:32px;height:32px}.pal .composer{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel);margin-top:16px;position:relative}.pal .composer label{display:block;font-size:12px;color:var(--muted);margin:15px 0 8px}.pal .composer textarea{resize:vertical;width:100%;background:transparent;border:0;line-height:1.8;min-height:90px}.pal .composer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px;gap:10px}.pal .canvas-note,.pal .composer-bottom>span{color:var(--muted);font-size:12px}.pal .canvas-note{text-align:center}.pal .connected-assets{display:flex;gap:8px;flex-wrap:wrap}.pal .connected-chip{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;background:var(--selected);border-radius:7px;color:#c4f1da;font-size:11px}.pal .connected-chip img{width:30px;height:34px;-o-object-fit:contain;object-fit:contain;background:#111714;border-radius:4px}.pal .mentions{position:absolute;left:20px;bottom:64px;max-height:240px;overflow:auto;padding:6px;background:#27322c;border:1px solid #43534a;border-radius:10px;min-width:230px;z-index:3}.pal .mentions button{display:flex;gap:10px;align-items:center;padding:7px;width:100%;border-radius:5px;text-align:left}.pal .mentions button:hover{background:#3c4a42}.pal .mentions img{width:30px;height:35px;-o-object-fit:contain;object-fit:contain}.pal dialog{padding:0;color:var(--text);border:1px solid #3a4942;background:var(--panel);max-width:none;max-height:none}.pal dialog::backdrop{background:#030807b8}.pal #library{width:min(1440px,calc(100vw - 100px));height:min(880px,calc(100dvh - 94px));border-radius:18px;overflow:hidden}.pal #library.expanded{width:calc(100vw - 24px);height:calc(100dvh - 24px)}.pal .library-shell{height:100%;display:grid;grid-template-columns:214px minmax(0,1fr);grid-template-rows:83px minmax(0,1fr)}.pal .library-header{grid-column:1/-1;border-bottom:1px solid var(--line);padding:0 25px;display:flex;justify-content:space-between;align-items:center;gap:16px}.pal .library-heading{display:flex;gap:13px;align-items:center}.pal .library-mark{color:var(--green);width:40px;height:40px;background:#1c3027;border-radius:11px}.pal .library-mark svg{width:22px;height:22px}.pal .library-heading h1{font-size:19px;font-weight:650;letter-spacing:.3px}.pal .library-heading p{color:var(--muted);font-size:12px;margin-top:6px}.pal .header-actions{display:flex;align-items:center;gap:8px}.pal .header-divider{height:18px;width:1px;background:var(--line);margin:0 4px}.pal .sidebar{padding:23px 14px 16px;background:#101718;border-right:1px solid var(--line);overflow:auto;display:flex;flex-direction:column;gap:3px}.pal .section-label{display:block;color:var(--muted);font-size:11px;padding:0 12px;margin-bottom:9px;letter-spacing:.5px}.pal .project-select{display:flex;align-items:center;gap:9px;margin:0 4px 20px;padding:9px 9px 9px 11px;background:#1c2723;border:1px solid #36483e;border-radius:8px;color:#daf0e5}.pal .project-select svg{color:var(--green)}.pal .project-select select{width:100%;min-width:0;background:transparent;border:0;font-weight:600;cursor:pointer}.pal .project-select option,.pal select option{background:var(--panel);color:var(--text)}.pal nav{display:grid;gap:4px}.pal .nav-item{width:100%;height:37px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#afbbb5;border-radius:7px;text-align:left}.pal .nav-item:hover{background:#202b26;color:var(--text)}.pal .nav-item.active{color:#a1efc6;background:#21382c}.pal .nav-item svg{width:17px;height:17px}.pal .nav-item .nav-count{margin-left:auto;font-size:11px;color:#94a79c;font-variant-numeric:tabular-nums}.pal .nav-item.active .nav-count{color:#a1efc6}.pal .sidebar-divider{height:1px;background:var(--line);margin:17px 12px}.pal .sidebar-foot{margin-top:auto;padding:28px 8px 0;display:flex;gap:7px;align-items:flex-start;color:var(--muted);font-size:10px;line-height:1.6}.pal .sidebar-foot svg{width:14px;height:14px;margin-top:1px}.pal .content{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0}.pal .content-tools{padding:23px 25px 0}.pal .search-row{display:flex;gap:12px}.pal .search-box{height:42px;display:flex;align-items:center;gap:10px;border:1px solid #38453e;background:#101617;border-radius:8px;padding:0 13px;min-width:0}.pal .search-box:focus-within{border-color:var(--green)}.pal .search-box>span{color:#9daea3}.pal .search-box input{flex:1;min-width:0;background:transparent;border:0;height:100%;outline:none}.pal .search-box input::-moz-placeholder{color:#94a59b}.pal .search-box input::placeholder{color:#94a59b}.pal .search-box kbd{font-family:inherit;color:#9aa99f;border:1px solid #38453e;padding:0 6px;border-radius:4px;font-size:11px}.pal .upload-button{height:42px;background:#243c30;color:#a4efc8;border-color:#3a5a46}.pal .filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding-bottom:18px;border-bottom:1px solid var(--line)}.pal .filter-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pal .filter-chip{padding:6px 11px;border-radius:6px;font-size:12px;color:var(--muted);white-space:nowrap}.pal .filter-chip:hover{background:#26332b}.pal .filter-chip.active{background:#2b3c31;color:#b6f1cc}.pal .view-tools{display:flex;align-items:center;gap:12px}.pal .view-tools select{background:transparent;border:0;color:var(--muted);font-size:12px;cursor:pointer;max-width:110px}.pal .view-switch{display:flex;background:#0e1414;padding:3px;border-radius:7px}.pal .view-switch .icon-button{width:27px;height:26px}.pal .view-switch .active{background:#2a3730;color:#e7f1ea}.pal .view-switch svg{width:15px;height:15px}.pal .results-line{padding:19px 25px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.pal .results-line strong{font-weight:600;font-size:13px}.pal .results-line #result-count{margin-left:10px;color:var(--muted);font-size:12px}.pal .selection-tip{color:var(--muted);font-size:11px}.pal .asset-scroll{padding:0 25px 10px;overflow:auto;flex:1;min-height:0;scrollbar-gutter:stable}.pal .asset-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 16px;align-content:start}.pal .asset-card{position:relative;min-width:0;border-radius:10px}.pal .asset-select{display:block;width:100%;padding:0;text-align:left;border-radius:10px}.pal .asset-image{height:174px;background:#0a0f10;border:1px solid #2b3731;border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.pal .asset-image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;display:block}.pal .asset-card:hover .asset-image{border-color:#668472}.pal .asset-card.selected .asset-image{border:2px solid var(--green)}.pal .checkmark{position:absolute;top:10px;left:10px;width:21px;height:21px;border:1px solid #d5e9dc99;border-radius:6px;background:#132219bd;display:grid;place-items:center;color:#0c2517}.pal .checkmark svg{width:14px;height:14px;opacity:0;stroke-width:2.5}.pal .selected .checkmark{background:var(--green);border-color:var(--green)}.pal .selected .checkmark svg{opacity:1}.pal .asset-image .connected-badge{position:absolute;bottom:9px;left:9px;padding:3px 7px;border-radius:4px;font-size:10px;background:#10241feb;color:#a7edc9}.pal .card-tools{display:flex;gap:4px;position:absolute;right:8px;top:8px}.pal .card-tools button{width:26px;height:26px;color:#f0f5ef;background:#0c171bd9;border:1px solid #53625778;border-radius:6px;display:grid;place-items:center}.pal .card-tools button:hover{background:#355140}.pal .card-tools svg{width:14px;height:14px}.pal .card-tools .favorite-on{color:#b4e98f}.pal .card-tools .favorite-on svg{fill:#b4e98f}.pal .asset-name{font-size:12px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:10px;line-height:1.4;padding:0 1px}.pal .asset-caption{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:var(--muted);padding:5px 1px 0;line-height:1.5}.pal .asset-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pal .asset-caption .dot{margin:0 5px;color:#768d7e}.pal .asset-grid.list-mode{grid-template-columns:1fr;gap:6px}.pal .list-mode .asset-card{padding:8px;background:#19221e}.pal .list-mode .asset-select{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:18px}.pal .list-mode .asset-image{height:69px;grid-row:1/3}.pal .list-mode .asset-name{align-self:end;margin:0;padding-right:72px;font-size:13px}.pal .list-mode .asset-caption{justify-content:flex-start;gap:16px;align-self:start;padding:0}.pal .list-mode .checkmark{top:5px;left:5px;width:17px;height:17px}.pal .list-mode .connected-badge{display:none}.pal .list-mode .card-tools{top:16px;right:16px}.pal .image-error{color:#c5b7aa;font-size:11px;padding:12px;text-align:center}.pal .empty-state{display:flex;align-items:center;flex-direction:column;padding:50px 10px;gap:14px;text-align:center}.pal .empty-state>span{color:#9cad9f}.pal .empty-state>span svg{width:32px;height:32px}.pal .empty-state h2{font-size:17px}.pal .empty-state p{color:var(--muted);font-size:12px}.pal .end-note{font-size:11px;color:var(--muted);text-align:center;padding:23px 0 10px}.pal .selection-footer{border-top:1px solid var(--line);padding:17px 25px;display:flex;align-items:center;gap:18px;min-height:90px;background:#141d19}.pal .selection-summary{flex-shrink:0}.pal .selection-summary strong{font-size:13px;display:block}.pal .selection-summary>span{font-size:10px;color:var(--muted);display:block;margin-top:6px}.pal .selected-tray{display:flex;align-items:center;gap:8px;min-width:0;flex:1;overflow-x:auto;padding:3px 3px 7px}.pal .tray-item{position:relative;flex-shrink:0;width:40px;height:47px;background:#0b1410;border:1px solid #537763;border-radius:6px}.pal .tray-item img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;border-radius:5px}.pal .tray-item button{position:absolute;right:-4px;top:-4px;background:#3a4e42;color:#eef4ef;border:1px solid #7b9987;border-radius:50%;width:15px;height:15px;padding:0;display:grid;place-items:center}.pal .tray-item button svg{width:9px;height:9px}.pal .tray-empty{font-size:11px;color:var(--muted)}.pal .footer-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.pal .footer-actions .primary{height:40px}.pal .drop-overlay{position:absolute;inset:10px;z-index:9;background:#163227f5;border:2px dashed var(--green);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--green)}.pal .drop-overlay>span:first-child svg{width:38px;height:38px}.pal .drop-overlay>span:last-child{color:#bdd6c9;font-size:12px}.pal #viewer{width:calc(100vw - 32px);height:calc(100dvh - 32px);border-radius:14px;background:#0b1110;overflow:hidden}.pal #viewer::backdrop{background:#020504eb}.pal .viewer-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line)}.pal .viewer-header h2{font-size:16px}.pal .viewer-header p{font-size:11px;color:var(--muted);margin-top:6px}.pal .viewer-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;height:calc(100% - 74px)}.pal .viewer-image-wrap{padding:24px;min-height:0;display:flex;align-items:center;justify-content:center}.pal .viewer-image-wrap img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.pal .viewer-details{border-left:1px solid var(--line);padding:26px 22px;background:#151d19;overflow:auto}.pal .viewer-details .section-label{padding:0;margin-bottom:24px}.pal .viewer-details label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.pal .viewer-details input{background:#0d1611;border:1px solid #425549;border-radius:6px;width:100%;padding:10px;margin-bottom:9px}.pal .viewer-details .button{width:100%;margin-top:10px}.pal .viewer-details dl{font-size:12px;line-height:1.8;margin:24px 0}.pal .viewer-details dt{color:var(--muted);margin-top:12px}.pal .viewer-details dd{margin:1px 0}.pal .detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.pal .detail-tags span{background:#2b3a30;color:#c1d6c7;padding:4px 8px;border-radius:5px;font-size:11px}.pal .detail-note{font-size:11px;color:var(--muted);line-height:1.9;margin-top:22px}.pal .toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:9999;background:#c0eed5;color:#133621;padding:12px 20px;border-radius:9px;font-size:12px;max-width:calc(100vw - 32px);text-align:center;pointer-events:none}@media(min-width:1700px){.pal .asset-image{height:190px}}@media(max-width:1300px){.pal #library{width:calc(100vw - 48px);height:calc(100dvh - 48px)}.pal .library-shell{grid-template-columns:190px minmax(0,1fr)}.pal .asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 13px}.pal .asset-image{height:165px}.pal .content-tools{padding:20px 20px 0}.pal .results-line{padding:17px 20px 14px}.pal .asset-scroll{padding-left:20px;padding-right:20px}.pal .selection-footer{padding:15px 20px;gap:13px}.pal .filter-row{gap:5px}.pal .view-tools{gap:6px}.pal .filter-chip{padding:6px 9px}}@media(max-width:980px){.pal .asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pal .selection-tip{display:none}.pal .filter-row{flex-wrap:wrap;gap:10px}.pal .asset-image{height:155px}.pal .library-shell{grid-template-columns:170px minmax(0,1fr)}.pal .sidebar{padding-left:8px;padding-right:8px}.pal .prototype-label{display:none}.pal .footer-actions{gap:5px}.pal .selection-summary>span{display:none}.pal .selection-footer{flex-wrap:wrap;gap:8px}.pal .selected-tray{min-width:60px}.pal .footer-actions .button{font-size:12px;padding:0 10px}}@media(max-width:680px){.pal .app-header{height:65px;padding:0 16px}.pal .app-header>.button{font-size:11px;padding:0 9px}.pal .brand strong{font-size:12px}.pal .brand small{font-size:9px;letter-spacing:1px}.pal .brand-mark{width:32px;height:32px}.pal .canvas{padding:22px 15px}.pal .canvas-node{margin-top:30px}.pal .canvas-title{font-size:11px}.pal #library{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:12px}.pal .library-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:70px auto minmax(0,1fr)}.pal .library-header{padding:0 14px;gap:6px}.pal .library-heading{gap:8px}.pal .library-mark{display:none}.pal .library-heading h1{font-size:17px}.pal .library-heading p{font-size:10px;margin-top:5px}.pal .header-actions{gap:1px}.pal .header-actions .text-button{font-size:11px;padding:6px}.pal #expand,.pal .header-divider{display:none}.pal .sidebar{grid-row:2;padding:10px 12px 8px;display:block;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.pal #quick-nav,.pal .sidebar-divider,.pal .sidebar-foot,.pal .sidebar>.section-label{display:none}.pal .project-select{margin:0 0 8px;width:100%;padding:7px 10px}.pal .sidebar nav{display:flex;overflow:auto;gap:5px}.pal .sidebar .nav-item{width:auto;white-space:nowrap;height:30px;padding:0 9px;font-size:11px;gap:5px;flex-shrink:0}.pal .sidebar .nav-item svg{width:14px;height:14px}.pal .sidebar .nav-count{display:none}.pal #source-nav{margin-top:6px}.pal #source-nav .nav-item{color:#bccfc1;background:#1e2922}.pal .content{grid-row:3}.pal .content-tools{padding:12px 12px 0}.pal .search-row{gap:8px}.pal .search-box{height:37px;padding:0 10px}.pal .search-box input{font-size:12px}.pal .search-box kbd{display:none}.pal .upload-button{height:37px;padding:0 9px;font-size:11px}.pal .upload-button svg{width:14px;height:14px}.pal .filter-row{margin-top:9px;padding-bottom:10px;gap:6px}.pal .filter-chips{gap:2px}.pal .filter-chip{font-size:11px;padding:5px 7px}.pal .view-tools{margin-left:auto}.pal .view-tools select{font-size:11px;max-width:88px}.pal .results-line{padding:12px;font-size:12px}.pal .results-line strong{font-size:12px}.pal .results-line #result-count{font-size:11px;margin-left:7px}.pal .asset-scroll{padding:0 12px 8px}.pal .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.pal .asset-image{height:155px}.pal .asset-name{font-size:11px;margin-top:8px}.pal .asset-caption{font-size:9px}.pal .selection-footer{padding:10px 12px;gap:10px;min-height:76px}.pal .selected-tray{gap:5px;max-width:110px}.pal .selection-summary strong{font-size:11px}.pal .tray-item{width:28px;height:35px}.pal .footer-actions{margin-left:auto}.pal .footer-actions .primary{height:35px;font-size:11px;padding:0 8px}.pal .footer-actions .primary svg{display:none}.pal .footer-actions .text-button{font-size:11px;padding:5px}.pal .viewer-body{display:flex;flex-direction:column;overflow:auto}.pal .viewer-image-wrap{min-height:280px;height:60%;flex-shrink:0;padding:12px}.pal .viewer-details{border-left:0;border-top:1px solid var(--line);padding:18px;overflow:visible}.pal .viewer-header{padding:0 15px;height:65px}.pal .viewer-header h2{font-size:13px}.pal .viewer-details dl{display:grid;grid-template-columns:90px 1fr;gap:8px;margin:18px 0}.pal .viewer-details dt{margin:0}.pal .viewer-details .section-label{margin-bottom:15px}.pal .toast{bottom:14px;font-size:11px}.pal .canvas-note{font-size:10px}}@media(prefers-reduced-motion:no-preference){.pal .asset-image,.pal .button,.pal .nav-item{transition:background-color .16s ease-out,border-color .16s ease-out}.pal .library-shell{animation:arrive .18s ease-out}@keyframes arrive{0%{opacity:.88;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}.pal .preview-badge{display:inline-block;margin-left:9px;padding:3px 6px;border:1px solid #465a4c;border-radius:4px;font-size:10px;color:#afc5b6;font-weight:400;vertical-align:middle;letter-spacing:0}@media(max-width:680px){.pal .preview-badge{font-size:9px;margin-left:6px;padding:2px 4px}}.pal .hover-preview{position:fixed;inset:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);box-shadow:none;overflow:hidden;pointer-events:auto;max-width:none;max-height:none}.pal .hover-preview:popover-open{display:flex;flex-direction:column;align-items:center}.pal .hover-preview::backdrop{background:transparent;pointer-events:none}.pal .hover-preview>img{display:block;-o-object-fit:contain;object-fit:contain;flex-shrink:0;border-radius:0;background:transparent}.pal .hover-caption{height:40px;width:100%;padding-top:8px;min-width:0;flex-shrink:0}.pal .hover-caption strong{display:block;font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:16px}.pal .hover-caption span{display:block;font-size:10px;color:#b7c8bc;line-height:16px}.pal .card-tools .delete-asset{color:#f3b9b3}.pal .card-tools .delete-asset:hover{background:#73332f;color:#fff}.pal .button.primary.danger{background:#803e39;color:#fff1ef;border-color:#a45c53}.pal .button.primary.danger:hover{background:#994d47}.pal .deletion-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 25px;background:#283c30;color:#d2ead9;font-size:12px;border-top:1px solid #425b49}.pal .deletion-notice button{color:#aff0c6;text-decoration:underline;text-underline-offset:3px;padding:4px 6px;white-space:nowrap}.pal #select-results{font-size:11px;margin-left:10px;padding:4px 6px;color:#a9dcc0}@media(max-width:680px){.pal .deletion-notice{padding:8px 12px;font-size:11px}.pal #select-results{margin-left:4px;font-size:10px}.pal .card-tools{gap:3px}.pal .card-tools button{width:24px;height:24px}}.pal .result-count{margin-left:10px;color:var(--muted);font-size:12px}.pal .library-error{margin:8px 20px;color:#ffbeb5;font-size:12px}.pal .library-status{margin:8px 20px;color:#b6e8cc;font-size:12px}.pal .pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:24px;font-size:12px;color:var(--muted)}.pal .text-asset{padding:20px;max-height:100%;overflow:hidden;font-size:12px;line-height:1.8}.pal .text-asset p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.pal .viewer-image-wrap video{max-width:100%;max-height:100%}.pal .viewer-image-wrap pre{white-space:pre-wrap;overflow:auto;max-height:100%;font:inherit}.pal .viewer-details dd{overflow-wrap:anywhere}.pal .folder-section-title{display:flex;align-items:center;justify-content:space-between;color:var(--muted);padding:14px 8px 8px;font-size:12px}.pal .folder-tree{display:block}.pal .folder-row{display:flex;align-items:center;border-radius:7px;min-height:38px}.pal .folder-row.active{background:var(--selected)}.pal .folder-row:hover{background:#ffffff08}.pal .folder-name{display:flex;gap:8px;align-items:center;flex:1;min-width:0;text-align:left;padding:7px 0}.pal .folder-name>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pal .folder-toggle{width:19px;flex-shrink:0;padding:0}.pal .folder-toggle svg{width:13px}.pal .folder-toggle:disabled{visibility:hidden}.pal .folder-row>.icon-button{width:25px}.pal .folder-row>.icon-button svg{width:15px}.pal .folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-bottom:20px}.pal .folder-card{display:flex;align-items:center;border:1px solid var(--line);background:#ffffff04;border-radius:9px;padding:10px;min-width:0}.pal .folder-card>button:first-child{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;padding:7px}.pal .folder-card>button:first-child>span:last-child{min-width:0}.pal .folder-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.pal .folder-card small{display:block;color:var(--muted);margin-top:6px;font-size:11px}.pal .folder-card>button:first-child svg{width:28px;height:28px;color:var(--green)}.pal .folder-breadcrumb{display:flex;align-items:center;flex-wrap:wrap}.pal .folder-breadcrumb .text-button{padding:3px}.pal .view-tools label{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px}.pal .folder-context-menu{position:fixed;z-index:20;width:264px;max-height:calc(100dvh - 16px);overflow:auto;background:#242827;color:var(--text);border:1px solid #49504b;border-radius:10px;box-shadow:0 12px 35px #0008;padding:7px}.pal .folder-context-menu>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;text-align:left;border-radius:5px;font-size:12px;min-height:32px}.pal .folder-context-menu button:hover{background:#ffffff12}.pal .folder-context-menu small,.pal .menu-title{color:var(--muted)}.pal .menu-title{display:block;padding:6px 10px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pal .menu-colors,.pal .menu-icons{display:flex;gap:7px;padding:8px 9px;border-top:1px solid var(--line)}.pal .menu-colors button{border-radius:50%;width:23px;height:23px;border:2px solid transparent}.pal .menu-colors button:focus-visible{outline:2px solid white}.pal .menu-icons button{padding:5px;border-radius:5px}.pal .folder-context-menu .danger{color:#ffb4a9}.pal .folder-dialog{width:min(450px,calc(100vw - 32px));border-radius:12px;padding:24px}.pal .folder-dialog form{display:flex;flex-direction:column;gap:18px}.pal .folder-dialog h2{font-size:18px}.pal .folder-dialog p{font-size:13px;color:var(--muted);line-height:1.8}.pal .folder-dialog label{display:flex;flex-direction:column;gap:9px;font-size:13px}.pal .folder-dialog input,.pal .folder-dialog select{width:100%;height:40px;background:#101716;border:1px solid var(--line);border-radius:6px;padding:8px}.pal .folder-dialog .footer-actions{display:flex;justify-content:flex-end;gap:10px}.pal .folder-dialog .library-error{margin:0;color:#ffb4a9}.pal .search-box{min-width:180px}.pal .asset-scroll:focus{outline-offset:-3px}@media(max-width:680px){.pal .sidebar .folder-tree{display:block;max-height:180px;overflow:auto}.pal .sidebar .folder-section-title{padding-top:6px}.pal .folder-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.pal .search-row .button{font-size:11px;height:32px;padding:0 8px}.pal .view-tools label{font-size:10px}.pal .selection-tip{display:none}}.pal{--bg:#101010;--panel:#141414;--raised:#1d1d1d;--line:#303030;--text:#eee;--muted:#aaa;--green:#d4dfbf;--green-ink:#1b2116;--selected:#2a2d26}.pal .sidebar{background:#121212}.pal .library-mark{background:#242820}.pal dialog{border-color:#353535}.pal .button{background:#1a1a1a;border-color:#383838}.pal .button:hover{background:#292929}.pal .button.primary:hover{background:#eef2e7}.pal .project-select,.pal .search-box{background:#101010;border-color:#363636}.pal .folder-context-menu{background:#242424;border-color:#3b3b3b}.pal .folder-dialog input,.pal .folder-dialog select{background:#101010}.pal .folder-card>button:first-child>span:first-child svg{color:inherit}.pal .folder-card>button:first-child>span:first-child{color:var(--green)}.pal .folder-section-title,.pal .folder-tree,.pal .sidebar-divider{flex-shrink:0}.pal .search-row .upload-button:has(input:disabled){opacity:.45;cursor:not-allowed}.pal .library-status{color:#c6d4b8}@layer outline-controls{.pal #library .folder-breadcrumb button,.pal #library .folder-card,.pal #library .folder-card button,.pal #library .sidebar .project-select,.pal #library .sidebar button,.pal #library .sidebar select{border:0!important;box-shadow:none!important}.pal #library .sidebar .nav-item.active{background-color:#ffffff10!important;color:var(--text)!important}.pal #library .sidebar .nav-item:hover{background-color:#ffffff08!important}.pal #library .sidebar .nav-item.active:hover{background-color:#ffffff14!important}}.pal #library .folder-card,.pal #library .sidebar .project-select,.pal #library .sidebar select{background:transparent}.pal #library .folder-breadcrumb button:not(:focus-visible),.pal #library .folder-card button:not(:focus-visible),.pal #library .sidebar button:not(:focus-visible){outline:none}.pal #library .folder-row{min-height:40px;border-radius:6px}.pal #library .folder-row.active,.pal #library .sidebar .nav-item.active{background:#ffffff10;color:var(--text)}.pal #library .folder-card:hover,.pal #library .folder-row:hover,.pal #library .sidebar .nav-item:hover{background:#ffffff08}.pal #library .folder-row.active:hover{background:#ffffff14}.pal #library .folder-name,.pal #library .folder-toggle{background:transparent}.pal #library .folder-card>.icon-button,.pal #library .folder-row>.icon-button{opacity:0}.pal #library .folder-card:focus-within>.icon-button,.pal #library .folder-card:hover>.icon-button,.pal #library .folder-row:focus-within>.icon-button,.pal #library .folder-row:hover>.icon-button{opacity:1}@layer outline-controls{.pal #library .folder-breadcrumb button:focus-visible,.pal #library .folder-card button:focus-visible,.pal #library .sidebar button:focus-visible{outline:2px solid var(--green)!important;outline-offset:-2px!important}}@media (hover:none){.pal #library .folder-card>.icon-button,.pal #library .folder-row>.icon-button{opacity:1}}@layer outline-controls{.pal #library .folder-context-menu button{border:0!important;background-color:transparent!important;box-shadow:none!important;color:var(--text)!important}.pal #library .folder-context-menu button:is(:hover,:focus-visible,[aria-expanded=true]):not(:disabled){background-color:#ffffff12!important}.pal #library .folder-context-menu button:focus-visible{outline:2px solid var(--green)!important;outline-offset:-2px!important}.pal #library .folder-context-menu button:disabled{color:var(--muted)!important;opacity:.45}.pal #library .folder-context-menu .menu-colors button{background-color:var(--folder-swatch)!important}.pal #library .folder-context-menu .menu-colors button[aria-checked=true]{outline:2px solid var(--text)!important;outline-offset:2px!important}.pal #library .folder-tint{color:var(--folder-color)!important}}.pal .folder-context-menu>button{min-height:36px;padding:8px 12px;font-size:13px}.pal .folder-context-menu>button>svg{width:15px;height:15px;color:var(--muted)}.pal .folder-submenu{width:232px}.pal .menu-separator{height:1px;background:var(--line);margin:6px 10px}.pal .folder-context-menu .menu-colors{border:0;padding:10px 7px;gap:7px}.pal .menu-icon-label{display:flex;align-items:center;gap:10px}.pal .public-upload-hidden{display:none}.pal .public-upload-guide{color:var(--muted);font-size:12px;margin:12px 0 0}.pal .public-upload-dialog{width:min(650px,calc(100vw - 32px));max-height:85dvh;overflow:auto}.pal .public-upload-dialog>p{margin:12px 0}.pal .public-upload-pages,.pal .public-upload-tabs{display:flex;align-items:center;gap:12px;margin:16px 0}.pal .public-upload-pages button,.pal .public-upload-tabs button{padding:7px 10px;border-radius:5px}.pal .public-upload-list{max-height:265px;overflow:auto;margin-top:12px}.pal .public-upload-list .public-upload-item{display:flex;flex-direction:row;align-items:center;gap:12px;padding:9px 0}.pal .public-upload-item input{width:18px;height:18px;flex-shrink:0}.pal .public-upload-item img{width:44px;height:44px;-o-object-fit:cover;object-fit:cover;border-radius:5px}.pal .public-upload-item span{overflow-wrap:anywhere}.pal .public-upload-file{padding:18px;background:#ffffff04;margin:14px 0}.pal .public-upload-file span{overflow-wrap:anywhere}.pal .public-upload-file input{height:auto}.pal .public-upload-dialog .footer-actions{position:sticky;bottom:-24px;padding:14px 0;background:var(--panel)}@layer outline-controls{.pal .public-upload-tabs button{border:0!important}.pal .public-upload-tabs button[aria-selected=true]{background-color:#ffffff12!important}}.pal{--library-purple:#8266ff}.pal #library{width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:none}.pal .display-shell{grid-template-columns:200px minmax(0,1fr) 250px}.pal .display-shell .library-header{grid-column:1/-1}.pal .display-shell .content{min-width:0;grid-column:2}.pal .display-shell.hide-library-inspector{grid-template-columns:200px minmax(0,1fr)}.pal .display-shell.hide-library-sidebar{grid-template-columns:minmax(0,1fr) 250px}.pal .display-shell.hide-library-sidebar.hide-library-inspector{grid-template-columns:minmax(0,1fr)}.pal .hide-library-sidebar>.sidebar{display:none}.pal .hide-library-sidebar>.content{grid-column:1}.pal .hide-library-filters .filter-row,.pal .hide-library-filters .library-facets,.pal .hide-library-navigation .results-line{display:none}.pal .content-tools{padding:14px 18px 0}.pal .search-row{flex-wrap:wrap;gap:6px}.pal .search-box{min-width:160px;flex:1}.pal .search-row .button{font-size:12px;padding:6px 9px;height:35px}.pal .results-line{padding:12px 18px}.pal .asset-scroll{padding:0 18px 18px}.pal .selection-footer{padding:10px 18px;min-height:65px;flex-wrap:wrap}.pal .footer-actions{gap:6px;flex-wrap:wrap}.pal .footer-actions .button{font-size:12px;height:34px}.pal .selected-tray{display:none}.pal .library-facets{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:8px 0;color:#aaa;font-size:12px}.pal .library-facets label{display:flex;align-items:center;gap:3px}.pal .library-facets select{max-width:90px;background:transparent;padding:4px;border:0;font-size:12px}.pal .library-facets input{width:80px;background:#1c1c1c;border:1px solid #333;padding:4px;border-radius:4px;color:inherit}.pal .library-facets option{background:#252525}.pal .display-settings-root{position:relative}.pal .display-settings-panel{position:absolute;right:0;top:42px;z-index:50;width:300px;max-height:calc(100dvh - 140px);overflow:auto;background:#272727;border:1px solid #444;border-radius:9px;padding:16px;box-shadow:0 15px 45px #0009}.pal .display-settings-panel header{display:flex;justify-content:space-between;align-items:center}.pal .display-settings-panel h3{font-size:12px;color:#aaa;font-weight:400;margin:18px 0 9px}.pal .display-settings-panel label{display:flex;justify-content:space-between;font-size:13px;padding:7px 0}.pal .display-settings-panel input[type=range]{width:100%;accent-color:var(--library-purple)}.pal .display-settings-panel input[type=checkbox]{accent-color:var(--library-purple)}.pal .display-settings-panel select{background:#1c1c1c;padding:7px;width:50%;font-size:12px;color:inherit}.pal .layout-buttons{display:flex;gap:3px;background:#1c1c1c;padding:4px;border-radius:5px}.pal .layout-buttons button{flex:1;padding:6px 1px;font-size:12px}.pal .asset-grid.layout-adaptive{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 4px}.pal .asset-grid.layout-grid{gap:8px 5px}.pal .asset-grid.layout-grid,.pal .asset-grid.layout-waterfall{display:grid;grid-template-columns:repeat(auto-fill,var(--thumb-size))}.pal .asset-grid.layout-waterfall{grid-auto-rows:8px;gap:0 6px;align-items:start}.pal .asset-grid.layout-list{display:flex;flex-direction:column;gap:0}.pal .compact-card{width:var(--card-width);border:0;background:transparent;position:relative;padding:3px;min-width:0;overflow:visible}.pal .compact-card .asset-select{width:100%;display:block;text-align:center}.pal .compact-card .asset-image{height:var(--image-height);width:100%;border:0;border-radius:5px;background:transparent;overflow:hidden}.pal .compact-card .asset-image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.pal .compact-card.selected .asset-image{outline:3px solid var(--library-purple);outline-offset:1px}.pal .compact-card .asset-name{display:block;margin:8px 0 0;padding:0 1px;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.pal .compact-card .asset-caption{margin-top:3px;padding:0}.pal .compact-card .asset-caption,.pal .compact-card small{display:block;font-size:11px;color:#999;text-align:center}.pal .layout-list .compact-card{width:100%;padding:5px}.pal .layout-list .asset-select{display:grid;grid-template-columns:60px minmax(0,1fr);-moz-column-gap:14px;column-gap:14px;text-align:left}.pal .layout-list .asset-image{grid-row:1/4;width:60px}.pal .layout-list .asset-caption,.pal .layout-list .asset-name,.pal .layout-list small{text-align:left}.pal .thumbnail-zoom{position:absolute;right:3px;top:3px;width:26px;height:26px;overflow:hidden;border-radius:0 5px 0 0;padding:0;z-index:2}.pal .thumbnail-zoom:before{content:"";position:absolute;inset:0;background:#0005;clip-path:polygon(0 0,100% 0,100% 100%)}.pal .thumbnail-zoom>svg{position:absolute;width:10px;height:10px;right:2px;top:2px;stroke-width:1.8}.pal .thumbnail-zoom>svg.zoom-plus{width:5px;height:5px;right:5px;top:4px}.pal .asset-inspector{grid-column:3;grid-row:2;min-height:0;overflow:auto;background:#232323;border-left:1px solid #333}.pal .hide-library-sidebar .asset-inspector{grid-column:2}.pal .inspector-tabs{display:flex;gap:18px;padding:18px;border-bottom:1px solid #333}.pal .inspector-tabs button{padding:0 0 5px;color:#aaa}.pal .inspector-content{padding:18px}.pal .inspector-content h3{font-size:14px;font-weight:500;overflow-wrap:anywhere;margin:0 0 18px}.pal .inspector-content dl{display:grid;grid-template-columns:65px minmax(0,1fr);gap:13px;font-size:12px;margin-bottom:25px}.pal .inspector-content dt{color:#999}.pal .inspector-content dd{text-align:right;overflow-wrap:anywhere;margin:0}.pal .inspector-content label{display:block;font-size:12px;color:#aaa;margin-top:15px}.pal .inspector-content input,.pal .inspector-content select,.pal .inspector-content textarea{width:100%;background:#191919;border:1px solid #3b3b3b;border-radius:5px;padding:8px;color:inherit;margin:7px 0;font-size:12px}.pal .inspector-content textarea{min-height:240px;resize:vertical}.pal .inspector-hint{color:#888;font-size:11px;line-height:1.8;margin-top:22px}.pal .subfolder-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#aaa;padding:8px 0}.pal .subfolder-heading label{display:flex;align-items:center;gap:6px}.pal .subfolder-heading input{accent-color:var(--library-purple)}.pal .folder-grid.folder-covers{display:grid;grid-template-columns:repeat(auto-fill,145px);gap:16px 14px;padding:12px 2px 25px}.pal .folder-covers .folder-card{display:block;position:relative;background:transparent;border:0;min-width:0}.pal .folder-covers .folder-card>button:first-child{display:block;width:100%;padding:3px;text-align:center}.pal .folder-covers .folder-card strong{display:block;font-size:13px;font-weight:400;margin-top:9px}.pal .folder-covers .folder-card small{display:block;font-size:12px;color:#999;margin-top:2px}.pal .folder-covers .icon-button{position:absolute;right:0;bottom:18px;opacity:0}.pal .folder-covers .folder-card:focus-within .icon-button,.pal .folder-covers .folder-card:hover .icon-button{opacity:1}.pal .folder-cover{position:relative;display:block;width:100%;height:118px;isolation:isolate}.pal .folder-cover>svg{position:absolute;inset:0;width:100%;height:100%;fill:#292929;stroke:#555;stroke-width:1;z-index:-1}.pal .folder-collage{position:absolute;left:7px;right:7px;top:19px;bottom:6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 28px;gap:3px;overflow:hidden}.pal .folder-collage img{width:100%;height:100%;min-height:0;-o-object-fit:cover;object-fit:cover;border-radius:2px}.pal .folder-collage img:first-child{grid-column:1/-1}.pal .folder-collage>span{background:#333;border-radius:2px}.pal .folder-pocket{position:absolute;inset:34px 0 0;border:1px solid #626262;border-radius:5px;background:linear-gradient(180deg,#ffffff0b,#00000020)}.pal .empty-folder{position:absolute;inset:30px 0 0;display:grid;place-items:center;color:#777;font-size:12px}.pal .batch-rename-dialog{width:760px;max-width:calc(100vw - 32px);padding:26px;background:#272727;border:1px solid #444;border-radius:10px;color:#eee}.pal .batch-rename-dialog::backdrop{background:#0009}.pal .batch-rename-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.pal .batch-rename-dialog h2{font-size:19px;font-weight:500}.pal .batch-rename-columns{display:grid;grid-template-columns:1fr 1.5fr;gap:24px}.pal .rename-preview{max-height:330px;overflow:auto}.pal .rename-preview>div{font-size:12px;padding:8px 0;border-bottom:1px solid #333;overflow-wrap:anywhere}.pal .rename-preview span{display:block;color:#999}.pal .rename-preview strong{display:block;font-weight:400;color:var(--library-purple);margin-top:4px}.pal .batch-rename-dialog label{display:block;font-size:12px;color:#aaa;margin-bottom:10px}.pal .batch-rename-dialog input{width:100%;background:#1d1d1d;border:1px solid #444;border-radius:5px;color:#eee;padding:9px;margin-top:6px}.pal .rename-tokens{display:flex;gap:6px;margin-bottom:18px}.pal .rename-tokens button{flex:1;padding:8px}.pal .batch-rename-dialog p{font-size:12px;color:#aaa}.pal .batch-rename-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.pal .batch-rename-dialog footer button{padding:9px 25px}.pal .batch-rename-dialog .rename-confirm{background:var(--library-purple);color:white;min-width:150px}.pal .hover-preview{background:#171717;box-shadow:0 12px 45px #0009;padding:14px;border:1px solid #444;border-radius:9px;pointer-events:none}.pal #viewer{max-width:1000px;width:90vw;height:85dvh}.pal .viewer-image-wrap{padding:14px}@layer outline-controls{.pal .compact-card>.asset-select,.pal .display-settings-panel header button,.pal .folder-covers .folder-card>button,.pal .inspector-tabs button,.pal .layout-buttons button,.pal .library-facets button,.pal .subfolder-heading button,.pal .thumbnail-zoom{border:0!important;box-shadow:none!important;background:transparent!important}.pal .compact-card.selected .asset-name{background:var(--library-purple)!important;color:white!important}.pal .thumbnail-zoom,.pal .thumbnail-zoom svg{color:white!important}.pal .layout-buttons button[aria-pressed=true]{background:#484848!important}.pal .inspector-tabs button[aria-selected=true]{border-bottom:2px solid var(--library-purple)!important;color:white!important}.pal .batch-rename-dialog .rename-confirm{background:var(--library-purple)!important;color:white!important;border:0!important}}@media(max-width:1050px){.pal .display-shell{grid-template-columns:170px minmax(0,1fr) 210px}.pal .display-shell.hide-library-inspector{grid-template-columns:170px minmax(0,1fr)}.pal .display-shell.hide-library-sidebar{grid-template-columns:minmax(0,1fr) 210px}.pal .search-box{flex-basis:100%}.pal .header-actions .button{font-size:11px}}@media(max-width:680px){.pal .display-shell,.pal .display-shell.hide-library-inspector,.pal .display-shell.hide-library-sidebar{display:flex;flex-direction:column}.pal .display-shell>.content{flex:1;min-height:0}.pal .display-shell>.sidebar{max-height:150px;overflow:auto}.pal .asset-inspector{max-height:230px;border-top:1px solid #333}.pal .batch-rename-columns{grid-template-columns:1fr}.pal .rename-preview{max-height:140px}.pal .batch-rename-dialog{max-height:90dvh;overflow:auto}}.pal .folder-covers .folder-card{padding:0}.pal .folder-covers .folder-card>button:first-child .folder-cover>svg{width:100%;height:100%}@layer outline-controls{.pal .thumbnail-zoom:before{background:#0005!important}.pal .folder-covers .folder-pocket{background:linear-gradient(180deg,#ffffff0b,#00000020)!important}.pal .compact-card .asset-caption{color:#999!important}}.pal .facet-browser{display:flex;justify-content:flex-end;align-items:center;gap:5px;flex-wrap:wrap;position:relative;z-index:15;padding:10px 0;color:#ccc}.pal .facet-anchor{position:relative}.pal .facet-browser .facet-trigger{display:flex;align-items:center;gap:6px;padding:7px 8px;border-radius:4px;font-size:13px;position:relative}.pal .facet-trigger.active,.pal .facet-trigger:hover{background:#414141!important}.pal .facet-trigger>span{color:#aaa}.pal .facet-active-dot{position:absolute;right:4px;top:3px;width:5px;height:5px;border-radius:50%;background:#8970ff}.pal .facet-wheel{width:18px;height:18px;border-radius:50%;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.pal .facet-panel{position:absolute;right:0;top:100%;width:270px;max-width:calc(100vw - 32px);background:#333;border:1px solid #444;border-radius:5px;padding:10px;box-shadow:0 8px 24px #0005;max-height:min(540px,65dvh);overflow:auto;color:#ddd;z-index:25}.pal .facet-panel .facet-option{display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:8px 10px;margin:0;border-radius:4px;font-size:14px;background:transparent;color:#ddd}.pal .facet-panel .facet-option:hover{background:#404040!important}.pal .facet-panel input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:17px;height:17px;accent-color:#8468ff;margin:0;flex:none}.pal .facet-option small{margin-left:auto;color:#aaa;font-size:13px}.pal .facet-panel .facet-option span{flex:1}.pal .facet-browser .facet-clear{color:#999;font-size:12px;padding:7px 10px}.pal .facet-panel-tag{width:500px;padding:0}.pal .facet-tag-columns{display:grid;grid-template-columns:180px 1fr;min-height:280px}.pal .facet-tag-columns>div{padding:10px}.pal .facet-tag-columns>div:first-child{border-right:1px solid #414141;display:flex;flex-direction:column}.pal .facet-tag-columns button{display:flex;justify-content:space-between;padding:12px;color:#ddd;border-radius:4px}.pal .facet-tag-columns button.active{background:#484848!important}.pal .facet-tag-columns label:not(.facet-option){margin-top:auto;padding-top:15px;display:flex;align-items:center;gap:4px}.pal .facet-tag-columns select{background:#444;color:#ddd;border:1px solid #666;padding:5px;width:auto}.pal .facet-panel-days{width:340px}.pal .facet-dates{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px}.pal .facet-dates input{min-width:0;width:calc(50% - 15px);background:#222;color:#bbb;border:0;padding:7px;color-scheme:dark}.pal .facet-dates small{color:#ffb3b3}.pal .facet-panel-color{width:280px;padding:18px}.pal .facet-color-editor{display:flex;gap:12px;height:210px}.pal .facet-sv{position:relative;flex:1;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);touch-action:none;cursor:crosshair}.pal .facet-sv>i{position:absolute;width:14px;height:14px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 2px #000}.pal .facet-panel .facet-hue{writing-mode:vertical-lr;direction:ltr;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;margin:0;background:linear-gradient(0deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);padding:0;border:0;cursor:pointer}.pal .facet-hue::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:7px;background:transparent;border:2px solid white;border-radius:2px}.pal .facet-swatches{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:16px 0}.pal .facet-panel .facet-swatches button{width:23px;height:23px;padding:0;border-radius:3px;background:#555!important;color:#bbb}.pal .facet-panel .facet-swatches button[style]{background:var(--swatch)!important}.pal .facet-panel .facet-hex{display:flex;gap:8px;align-items:center;background:#202020;padding:6px;border-radius:4px;margin-bottom:14px}.pal .facet-hex i{width:23px;height:23px;border-radius:4px;flex:none}.pal .facet-hex input{width:100%;min-width:0;background:transparent;border:0;color:#ddd;padding:0}.pal .facet-panel .facet-precision{display:flex;align-items:center;gap:12px}.pal .facet-precision input{flex:1;min-width:0;width:80px;accent-color:#ccc}.pal .facet-panel-color>small{display:block;margin-top:12px;color:#aaa;line-height:1.5}@media(max-width:700px){.pal .facet-panel{position:fixed;right:16px;top:30dvh;max-height:60dvh}.pal .facet-tag-columns{grid-template-columns:125px 1fr}.pal .facet-browser{justify-content:flex-start}}@layer outline-controls{.pal #library .facet-browser button{border:0!important;box-shadow:none!important}.pal #library .facet-browser .facet-trigger:is(.active,:hover),.pal #library .facet-panel .facet-option:hover,.pal #library .facet-tag-columns button.active{background-color:#444!important}.pal #library .facet-panel .facet-swatches button[style]{background-color:var(--swatch)!important}.pal #library .facet-panel input[type=checkbox]{accent-color:var(--library-purple)}}.pal .folder-card[data-drop-active],.pal .folder-row[data-drop-active]{outline:2px solid var(--green);outline-offset:-2px;background:var(--surface-hover,#303030)}.pal .folder-card[data-drop-active] .folder-cover{transform:translateY(-3px)}.pal .asset-scroll{-moz-user-select:none;user-select:none;-webkit-user-select:none}.pal .asset-scroll [contenteditable=true],.pal .asset-scroll input,.pal .asset-scroll textarea{-moz-user-select:text;user-select:text;-webkit-user-select:text}.pal .document-cover{width:100%;height:100%;padding:12px;text-align:left;background:linear-gradient(145deg,#35333e,#222128);overflow:hidden;display:flex;flex-direction:column;gap:8px}.pal .document-cover small{font-size:10px;opacity:.65}.pal .document-cover strong{font-size:21px;line-height:1.2}.pal .document-cover h3{font-size:12px;margin:0;line-height:1.5}.pal .document-cover p{font-size:10px;line-height:1.8;white-space:pre-wrap;margin:0;overflow:hidden;-webkit-mask-image:linear-gradient(#000 50%,transparent);mask-image:linear-gradient(#000 50%,transparent)}.pal .document-reading{width:100%;height:100%;overflow:auto;background:#25242b;color:#eee;padding:32px;text-align:left;box-sizing:border-box}.pal .document-reading strong{display:block;font-size:28px;margin:20px 0}.pal .document-reading p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:16px}.pal .document-reading h3{font-size:20px}.pal .media-cover{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#202331;color:#c6c3d3;font-size:12px}.pal .media-cover img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.pal .media-cover-badge{position:absolute;left:5px;bottom:5px;padding:2px 6px;border-radius:4px;background:#000c;color:#fff;font-size:11px;pointer-events:none}.pal .media-cover-retry{font-size:12px;padding:3px 8px;color:#c5baff;border:1px solid #74658f;border-radius:4px;margin:2px 0}.pal #library .folder-row.project-home.active{background:#282332;color:#d9cbff}.pal #library .folder-row.project-home.active:hover{background:#332b40}.pal #library .folder-breadcrumb>button:first-child{text-decoration:underline;text-underline-offset:3px}.pal .pack-inspector-wrapper{min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--panel)}.pal .pack-inspector-wrapper>.asset-inspector{flex:1;min-height:0}.pal .pack-entry{padding:14px;border-bottom:1px solid var(--line)}.pal .pack-inspector fieldset{border:0;padding:0;min-width:0;display:grid;gap:12px}.pal .pack-inspector p{font-size:12px;line-height:1.7;margin-bottom:12px;color:var(--muted)}.pal .pack-inspector audio{width:100%}.pal .pack-candidates{display:grid;gap:8px}.pal .pack-candidates label{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.pal .pack-candidates img{width:48px;height:56px;-o-object-fit:cover;object-fit:cover;border-radius:4px}.pal .pack-order{padding:0;list-style:none;display:grid;gap:8px}.pal .pack-order li{display:flex;gap:4px;align-items:center}.pal .pack-order li>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.pal .pack-order .button{padding:0 7px}.pal .pack-cover{position:absolute;inset:14px 8px 8px;width:calc(100% - 16px);height:calc(100% - 22px);-o-object-fit:cover;object-fit:cover;border-radius:5px}@media(max-width:680px){.pal .pack-inspector{position:absolute;top:90px;bottom:88px;left:12px;right:12px;z-index:5;max-height:none;background:var(--panel);overflow:auto;border:1px solid var(--line);border-radius:10px}.pal .pack-inspector-wrapper{max-height:230px}.pal .pack-inspector .inspector-content{overflow:visible}}.pal .pack-footer .footer-actions{margin-left:auto}.pal #library .pack-footer .button.primary{background:#ad98ed!important;border-color:#ad98ed!important;color:#191422!important}.pal .pack-inspector .pack-candidates label{display:grid;grid-template-columns:16px 48px minmax(0,1fr);align-items:center;gap:8px;padding:0}.pal .pack-inspector .pack-candidates input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#ad98ed}@media(max-width:680px){.pal .pack-inspector{z-index:40;background:#18181b}.pal .pack-footer{position:relative;z-index:41}.pal .pack-footer>span{font-size:11px}}.pal .asset-pack-badge{position:absolute;right:5px;top:5px;z-index:3;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#282332;color:#d9cbff;border:1px solid #64547f;pointer-events:none}.pal .asset-pack-badge svg{width:16px;height:16px}.pal .asset-pack-folder-icon{position:relative;display:inline-flex;width:22px;height:22px;align-items:center;color:#d9cbff}.pal .asset-pack-folder-icon .asset-pack-folder-overlay{position:absolute;bottom:-1px;right:-2px;width:12px;height:12px;padding:1px;background:#282332;border-radius:3px}.pal .pack-configuring>.pack-inspector{grid-row:2;grid-column:3;display:flex;flex-direction:column;min-height:0;max-height:none}.pal .pack-configuring.hide-library-sidebar>.pack-inspector{grid-column:2}.pal .pack-configuring>.pack-inspector .inspector-content{flex:1;min-height:0;overflow:auto;padding:16px}@media(max-width:680px){.pal .pack-configuring>.pack-inspector{position:static;flex:0 0 230px;max-height:230px;border-radius:0;z-index:auto}.pal .pack-configuring>.content{min-height:200px}.pal .pack-configuring{overflow:auto}}#library .library-project-parent{display:flex;align-items:center}#library .library-project-parent .nav-item{flex:1;min-width:0}#library .project-chevron{transition:transform .16s}#library .project-chevron.expanded{transform:rotate(90deg)}#library .library-project-pages{margin:8px 8px 16px 18px;padding-left:12px;border-left:1px solid #303036;max-height:350px;overflow:auto}#library .library-project-pages input{width:100%;min-width:0;margin-bottom:8px;padding:7px 8px;font-size:12px}#library .library-project-pages .section-label{display:block;margin:12px 4px 5px}#library .library-project-pages .nav-item{gap:7px;font-size:12px;padding:9px 5px}#library .library-project-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}#library .library-team-badge{display:inline-flex;align-items:center;gap:3px;margin-left:5px;padding:1px 4px;border:1px solid #64547f;border-radius:4px;color:#d9cbff;font-size:10px;white-space:nowrap}#library .library-team-badge svg{width:12px;height:12px}#library .library-project-parent .nav-item{white-space:nowrap;font-size:13px;padding-left:8px;padding-right:4px}#library .library-project-pages input{background:#111113;color:#eeeef2;border:1px solid #303036;border-radius:5px}#library .library-project-pages input:focus-visible{outline:2px solid #ad98ed;outline-offset:2px}@media(min-width:1051px){.pal #library .display-shell{grid-template-columns:264px minmax(0,1fr) 240px}.pal #library .display-shell.hide-library-inspector{grid-template-columns:264px minmax(0,1fr)}.pal #library .display-shell.hide-library-sidebar{grid-template-columns:minmax(0,1fr) 240px}.pal #library .display-shell.hide-library-sidebar.hide-library-inspector{grid-template-columns:minmax(0,1fr)}}@media(max-width:680px){.pal #library .display-shell{overflow:auto}.pal #library .display-shell>.sidebar{flex-shrink:0;max-height:280px}.pal #library .sidebar nav[aria-label="公共资产区"]{display:block;overflow:visible}.pal #library .library-project-pages{max-height:175px;margin-bottom:10px}.pal #library .library-project-pages .nav-item{width:100%}.pal #library .display-shell>.content{flex:none;min-height:550px}.pal #library .asset-inspector{flex-shrink:0}.pal #library .selection-footer{position:sticky;bottom:0;z-index:2}}.pal .asset-tag-controls{margin-top:16px;border-top:1px solid #363636;padding-top:12px}.pal .asset-tag-controls p{font-size:12px;line-height:1.65;color:#bbb}.pal .asset-tag-controls .tag-mode{display:flex;flex-direction:column;gap:8px;margin:12px 0}.pal .asset-tag-controls .tag-mode label{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;color:#ccc}.pal .asset-tag-controls input[type=radio]{width:14px;height:14px;min-width:14px;margin:0;padding:0;accent-color:#9e86d9}.pal .asset-tag-controls small{font-size:11px;line-height:1.6;color:#969696}