:root,[data-theme=dark]{--bg: #0f0f12;--surface: #1a1a20;--surface2: #24242c;--text: #b8b6b0;--text-muted: #9b98a0;--accent: #b97dff;--accent-hover: #9388fa;--success: #4ade80;--warning: #fbbf24;--danger: #f87171;--border: #2a2a32;--input-border: #333;--button-hover: #2e2e38;--radius: 10px;--font: "DM Sans", system-ui, sans-serif;--modal-overlay: rgba(0, 0, 0, .6);--swatch-selected-border: #fff}[data-theme=light]{--bg: #f4f3f8;--surface: #fff;--surface2: #e8e6f0;--text: #4d4b52;--text-muted: #5c5a6a;--accent: #6b5bdc;--accent-hover: #5a4bc9;--success: #22c55e;--warning: #eab308;--danger: #ef4444;--border: #d4d2e0;--input-border: #c4c2d0;--button-hover: #d8d6e4;--modal-overlay: rgba(0, 0, 0, .35);--swatch-selected-border: #1a1a22}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5;min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}input,textarea,select,button{font-family:inherit;font-size:1rem}button{cursor:pointer;border:none;border-radius:var(--radius);padding:.5rem 1rem;background:var(--surface2);color:var(--text);transition:background .2s}button:hover{background:var(--button-hover)}button.primary{background:var(--accent);color:#fff}button.primary:hover{background:var(--accent-hover)}button.danger{background:var(--danger);color:#fff}.btn-delete-round{width:.75rem;height:.75rem;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--danger);border:none;cursor:pointer;transition:width .2s ease,height .2s ease,opacity .2s ease;overflow:hidden}.btn-delete-round svg{opacity:0;width:16px;height:16px;transition:opacity .2s ease}.btn-delete-round:hover{width:2rem;height:2rem;opacity:.95}.btn-delete-round:hover svg{opacity:1}.btn-delete-round.danger{background:var(--danger);color:#fff}input,textarea,select{background:var(--surface2);border:1px solid var(--input-border);color:var(--text);border-radius:var(--radius);padding:.5rem .75rem;width:100%}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239b98a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 5 6 8 9 5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2.25rem}[data-theme=dark] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239b98a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 5 6 8 9 5'/%3E%3C/svg%3E")}[data-theme=light] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235c5a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 5 6 8 9 5'/%3E%3C/svg%3E")}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent)}.app{max-width:1000px;margin:0 auto;padding:1.5rem}nav{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}nav a{color:var(--text-muted)}nav a:hover,nav a.active{color:var(--accent)}nav .spacer{flex:1}.nav-btn-ideas-wrap{position:relative;display:inline-flex}.nav-badge-pending{position:absolute;top:-2px;right:-2px;width:.9rem;height:.9rem;border-radius:50%;background:var(--danger);border:3px solid var(--bg);pointer-events:none}.nav-icon{display:inline-flex;align-items:center;justify-content:center;padding:.4rem;border-radius:var(--radius)}.nav-icon:hover,.nav-icon.active{color:var(--accent)}.nav-btn-round{width:2.5rem;height:2.5rem;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;transition:transform .2s,box-shadow .2s}.nav-btn-round:hover{background:var(--accent-hover);color:#fff;transform:scale(1.05)}.nav-btn-round.active{background:var(--accent-hover);color:#fff;box-shadow:0 0 0 2px var(--surface2)}.nav-btn-new-idea img{margin-top:1px}.btn-back-round{width:2.5rem;height:2.5rem;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;transition:transform .2s,box-shadow .2s;text-decoration:none}.btn-back-round:hover{background:var(--accent-hover);color:#fff;transform:scale(1.05)}.btn-refresh-round{width:2.25rem;height:2.25rem;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--surface2);color:var(--text);transition:transform .2s,background .2s}.btn-refresh-round:hover:not(:disabled){background:var(--button-hover);transform:scale(1.05)}.btn-refresh-round:disabled{opacity:.6;cursor:not-allowed}.refresh-icon-spin{animation:refresh-spin .4s ease forwards}@keyframes refresh-spin{to{transform:rotate(180deg)}}.card{background:var(--surface);border-radius:var(--radius);padding:1.25rem;margin-bottom:1rem;border:1px solid var(--border)}.card.card-project-detail{position:relative;padding-right:3.5rem;padding-bottom:3rem}.project-description-wrap{position:static;margin-bottom:.5rem}.project-description-text{max-height:5.5em;overflow:hidden;transition:max-height .25s ease;margin:0;padding-right:2.25rem}.project-description-text.expanded{max-height:none;padding-right:2.25rem}.project-description-actions{position:static;min-height:0;margin-top:.25rem}.project-description-expand-btn,.project-description-collapse-btn{position:absolute;right:.75rem;bottom:.75rem;z-index:2;width:2.75rem;height:2.75rem;padding:0;background:var(--accent);border:none;border-radius:50%;color:#fff;cursor:pointer;line-height:0;box-shadow:0 2px 12px #00000040;transition:transform .3s ease,background .2s,box-shadow .2s}.project-description-expand-btn:hover,.project-description-collapse-btn:hover{background:var(--accent-hover, color-mix(in srgb, var(--accent) 85%, black));box-shadow:0 4px 16px #0000004d}.project-scroll-to-end-btn{position:fixed;bottom:1.5rem;right:1.5rem;z-index:50;width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;padding:0;background:var(--accent);color:#fff;border:none;border-radius:50%;cursor:pointer;box-shadow:0 2px 12px #00000040;transition:transform .3s ease,background .2s,box-shadow .2s}.project-scroll-to-end-btn:hover{background:var(--accent-hover, color-mix(in srgb, var(--accent) 85%, black));box-shadow:0 4px 16px #0000004d}@media(max-width:599px){.project-scroll-to-end-btn{right:1rem;bottom:1rem}}.project-web-btn{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--project-web-btn-bg, var(--surface2));border:1px solid var(--border);color:var(--text);transition:background .2s,transform .2s}.project-web-btn:hover{background:var( --project-web-btn-bg-hover, color-mix(in srgb, var(--project-web-btn-bg, var(--surface2)) 85%, black) );transform:scale(1.05)}.project-web-btn img{width:40px;height:40px;object-fit:contain;margin-left:0;margin-right:0}[data-theme=dark] .project-web-btn img{filter:brightness(0) invert(1)}.card h2,.card h3{margin-top:0}.badge{display:inline-block;padding:.2rem .5rem;border-radius:6px;font-size:.85rem}.badge.actiu{background:#4ade8033;color:var(--success)}.badge.pausat{background:#fbbf2433;color:var(--warning)}.badge.acabat{background:#9ca3af33;color:var(--text-muted)}.status-dot{display:inline-block;width:.75rem;height:.75rem;border-radius:50%;flex-shrink:0}.status-dot.actiu{background:var(--success)}.status-dot.pausat{background:var(--warning)}.status-dot.acabat{background:var(--text-muted)}.bulb-indicator{width:2rem;height:2rem;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--accent);color:#fff}.bulb-indicator svg{display:block}.bulb-indicator.bulb-icon-only{background:none;border-radius:0}.grid{display:grid;gap:1rem}@media(min-width:600px){.grid.cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}.home-page{display:flex;flex-direction:column;width:100%}.home-toolbar{flex-shrink:0;width:100%;margin-bottom:0}.home-projects{flex:1;min-width:0;width:100%;contain:layout}.filters{display:flex;gap:.75rem;margin-bottom:1.5rem;flex-wrap:wrap;align-items:center}.filters input[type=search]{max-width:240px}.filters select{width:auto;min-width:120px}.filters .view-toggle{flex-shrink:0}.view-toggle{display:flex;gap:.25rem;background:var(--surface2);border-radius:var(--radius);padding:.2rem}.view-toggle-btn{width:2.25rem;height:2.25rem;padding:0;border-radius:calc(var(--radius) - 2px);display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--text-muted);border:none;cursor:pointer;transition:background .15s,color .15s}.view-toggle-btn:hover{color:var(--text);background:var(--button-hover)}.view-toggle-btn.active{background:var(--accent);color:#fff}.grid.grid-compact{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.grid-tile{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s;min-height:90px}.grid-tile:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);text-decoration:none}.home-list-view li{min-height:4rem}.grid-tile-header{display:flex;align-items:center;gap:.35rem;margin-bottom:.5rem;min-height:1.5rem}.grid-tile-header .btn-delete-round{margin-left:auto;flex-shrink:0}.grid-tile-footer{margin-top:auto;display:flex;justify-content:flex-end;align-items:center;padding-top:.5rem;padding-right:0rem;padding-bottom:.15rem}.grid-tile-name{font-size:.85rem;font-weight:600;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.btn-delete-round.btn-delete-sm:hover{width:1.5rem;height:1.5rem}.btn-delete-round.btn-delete-sm svg{width:12px;height:12px}.bulb-sm{width:1.5rem;height:1.5rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.25rem;color:var(--text-muted);font-size:.9rem}.notes-list{margin-top:1.5rem}.note-item{background:var(--surface2);border-radius:var(--radius);padding:.75rem 1rem;margin-bottom:.5rem;display:flex;flex-direction:column;align-items:stretch}.note-item.reviewed{opacity:.7}.note-item .note-meta{font-size:.85rem;color:var(--text-muted)}.btn-accent-outline{border:1px solid var(--accent);border-radius:var(--radius);padding:.35rem .6rem;font-size:.9rem;background:transparent;color:var(--accent);cursor:pointer;transition:background .15s,color .15s}.btn-accent-outline:hover{background:#b97dff26}.note-item-pending .note-item-actions{display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin-bottom:.5rem}.note-item-pending .note-item-content{width:100%;min-width:0;position:relative}.note-item-pending .note-item-text{max-height:80px;overflow:hidden;transition:max-height .2s ease}.note-item-pending .note-item-text.expanded{max-height:none}.note-item-pending .note-expand-btn{position:absolute;bottom:0;right:0;padding:.2rem;background:var(--surface2);border:none;border-radius:4px;color:var(--text-muted);cursor:pointer;line-height:0}.note-item-pending .note-expand-btn:hover{background:var(--button-hover);color:var(--accent)}.note-text-clickable{cursor:pointer;border-radius:4px;padding:.25rem 0}.note-text-clickable:hover{background:var(--surface2);padding:.25rem .35rem;margin:0 -.35rem!important}.note-edit-textarea{width:100%;min-height:4rem;padding:.5rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface2);color:var(--text);font:inherit;resize:vertical}.wizard-steps{display:flex;gap:.5rem;margin-bottom:1.5rem}.wizard-steps span{padding:.35rem .75rem;border-radius:var(--radius);background:var(--surface2);font-size:.9rem}.wizard-steps span.active{background:var(--accent);color:#fff}.wizard-steps span.done{background:#4ade8033;color:var(--success)}.empty{color:var(--text-muted);text-align:center;padding:2rem}.link-list{list-style:none;padding:0;margin:0}.link-list li{margin-bottom:.5rem}.link-list a{word-break:break-all}.tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}.tags span{background:var(--surface2);padding:.2rem .5rem;border-radius:6px;font-size:.85rem}.resource-chips{display:flex;flex-wrap:wrap;gap:.35rem}.resource-chips-inline{display:inline-flex;flex-wrap:wrap;gap:.25rem;align-items:center}.resource-chips-rtl{flex-wrap:nowrap}.resource-list-right{margin-left:auto}.resource-chips-sm .resource-chip{font-size:.7rem;padding:.15rem .4rem}.resource-chip{display:inline-block;background:var(--surface2);color:var(--text-muted);padding:.2rem .5rem;border-radius:6px;font-size:.8rem}.resource-picker{display:flex;flex-wrap:wrap;gap:.4rem}.resource-chip-toggle{background:var(--surface2);color:var(--text);border:1px solid var(--border);padding:.35rem .65rem;border-radius:var(--radius);font-size:.9rem;cursor:pointer;transition:background .2s,border-color .2s}.resource-chip-toggle:hover{background:var(--button-hover)}.resource-chip-toggle.selected{background:var(--accent);color:#fff;border-color:var(--accent)}.resource-chip-with-remove{display:inline-flex;align-items:center;gap:.25rem;padding-right:.35rem}.resource-chip .resource-chip-remove{margin-left:.15rem;padding:0 .25rem;font-size:1.05rem;line-height:1;background:transparent;color:inherit;opacity:.9;border-radius:3px;cursor:pointer;flex-shrink:0}.resource-chip .resource-chip-remove:hover{opacity:1;background:var(--danger);color:#fff}.resource-chip-add{background:var(--surface2);color:var(--text-muted);border:1px dashed var(--border);cursor:pointer}.resource-chip-add:hover{background:var(--button-hover);color:var(--accent);border-color:var(--accent)}.resource-add-custom{font-size:.85rem;padding:.25rem .5rem;background:transparent;color:var(--accent);border:1px dashed var(--accent)}.resource-add-custom:hover{background:var(--surface2)}.resources-popover-wrap{position:relative;flex-shrink:0}.resources-popover-btn{font-size:.85rem;padding:.25rem .5rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface2);color:var(--text-muted);cursor:pointer}.resources-popover-btn:hover{background:var(--button-hover);color:var(--accent);border-color:var(--accent)}.resources-popover{position:absolute;top:100%;right:0;margin-top:.35rem;padding:.75rem 2rem .75rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000026;z-index:50;min-width:160px}.resources-popover-close{position:absolute;top:.5rem;right:.5rem;padding:.25rem;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:4px}.resources-popover-close:hover{background:var(--surface2);color:var(--text)}.resources-popover-chips{display:flex;flex-wrap:wrap;gap:.35rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--modal-overlay);display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.modal{background:var(--surface);border-radius:var(--radius);padding:1.5rem;max-width:420px;width:100%;border:1px solid var(--border)}.actions{display:flex;gap:.5rem;margin-top:1rem;flex-wrap:wrap}.color-picker-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.color-palette{display:flex;flex-wrap:wrap;gap:.35rem}.color-swatch{width:2rem;height:2rem;border-radius:50%;padding:0;border:2px solid transparent;cursor:pointer;flex-shrink:0}.color-swatch:hover{transform:scale(1.1)}.color-swatch.selected{border-color:var(--swatch-selected-border);box-shadow:0 0 0 2px var(--surface2)}.color-custom{display:flex;align-items:center;gap:.5rem}.color-custom-label{margin:0;font-size:.9rem;color:var(--text-muted)}.color-input-native{width:2.5rem;height:2.5rem;padding:0;border:none;border-radius:50%;cursor:pointer;background:transparent}.color-input-native::-webkit-color-swatch-wrapper{padding:2px}.color-input-native::-webkit-color-swatch{border-radius:50%;border:2px solid var(--surface2)}.project-color-bar{width:4px;border-radius:2px;flex-shrink:0;align-self:stretch}.theme-toggle{width:2.5rem;height:2.5rem;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;background:var(--surface2);color:var(--text);border:1px solid var(--border);cursor:pointer;transition:transform .2s,background .2s;flex-shrink:0}.theme-toggle:hover{background:var(--button-hover);transform:scale(1.05)}.theme-toggle svg{width:1.25rem;height:1.25rem}.resource-link{overflow:hidden}.resources-inline{justify-content:flex-start;align-items:flex-start;gap:15px}.nav-resources-divider{display:inline-flex;align-items:center;justify-content:center;height:27px;line-height:1;color:var(--accent);font-size:62px;font-weight:100;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;margin-left:-22px;margin-right:-8px;margin-bottom:13px}.resources-compact-wrap{position:relative;flex-shrink:0;align-self:center}.resources-compact-toggle{display:none!important}.resources-compact-popover{position:absolute;top:100%;right:0;margin-top:.35rem;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:.5rem;padding:.35rem .5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000026;z-index:60;box-sizing:border-box}.resources-compact-popover-link{flex-shrink:0}.resource-link img{display:block;object-fit:contain;object-position:center;filter:brightness(0) invert(1);opacity:.9}[data-theme=light] .resource-link img{filter:brightness(0);opacity:.85}.locale-toggle-wrap{position:relative}.locale-popover{position:absolute;top:100%;right:0;margin-top:.35rem;padding:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000026;z-index:60;min-width:120px;display:flex;flex-direction:column;gap:.15rem}.locale-popover-option{padding:.5rem .75rem;text-align:left;border:none;border-radius:calc(var(--radius) - 2px);background:transparent;color:var(--text);font-size:.9rem;cursor:pointer}.locale-popover-option:hover{background:var(--button-hover)}.locale-popover-option.selected{background:var(--accent);color:#fff}.desktop-only{display:inline-flex}.side-drawer{display:none}@media(max-width:600px){.desktop-only{display:none!important}.side-drawer{display:flex}.app{padding-right:5rem}.home-projects{contain:none}.home-projects>.card{width:calc(100vw - 2.5rem);max-width:none;box-sizing:border-box}.home-projects>.grid.cards{width:calc(100vw - 2.5rem);max-width:none;box-sizing:border-box}.home-projects>.grid.grid-compact{width:calc(100vw - 2.5rem);max-width:none;grid-template-columns:repeat(2,1fr);box-sizing:border-box}.home-projects>.grid.grid-compact .grid-tile{aspect-ratio:1}.project-detail-actions,.card.card-project-detail,.project-detail-page .notes-list{width:calc(100vw - 2.5rem);max-width:none;box-sizing:border-box}.new-project-page{position:relative;padding-bottom:4rem;display:flex;flex-direction:column;min-height:calc(100vh - 8rem)}.new-project-page .btn-back-round{position:fixed;bottom:1rem;left:1rem;z-index:10}.new-project-page .new-project-choices-wrapper{flex:1;display:flex;justify-content:center;align-items:center;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}.new-project-page .new-project-choices{display:flex;flex-direction:column;align-items:center;gap:1rem;padding-left:55px;padding-bottom:7rem}.new-project-page .new-project-choices a{width:100%;max-width:280px}}@media(max-width:900px)and (min-width:601px){.resources-inline,.nav-resources-divider{display:none!important}.resources-compact-toggle{display:inline-flex!important}}.side-drawer{position:fixed;top:0;right:0;z-index:95;flex-direction:column;align-items:flex-end}.side-drawer-tab{position:relative;z-index:10;width:56px;height:26px;border:none;border-radius:0 0 10px 10px;background:#b97dff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;margin-right:1rem;box-shadow:0 3px 10px #0000004d;transition:background .2s;flex-shrink:0}.side-drawer-tab:hover{background:#9388fa}.side-drawer-arrow{transition:transform .35s cubic-bezier(.4,0,.2,1)}.side-drawer.open .side-drawer-arrow{transform:rotate(180deg)}.side-drawer-panel{position:absolute;top:0;right:1rem;display:flex;flex-direction:column;gap:.35rem;background:var(--surface);border:1px solid var(--border);border-top:none;border-radius:0 0 var(--radius) var(--radius);padding:.5rem;padding-top:calc(26px + .5rem);box-shadow:0 4px 16px #00000040;overflow:hidden;max-height:0;opacity:0;padding-top:0;padding-bottom:0;pointer-events:none;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .25s ease,padding .3s ease}.side-drawer.open .side-drawer-panel{max-height:300px;opacity:1;padding:.5rem;padding-top:calc(26px + .5rem);pointer-events:auto;overflow:visible}.side-drawer-item{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border-radius:50%;background:var(--surface2);color:var(--text);border:1px solid var(--border);cursor:pointer;transition:background .15s,transform .15s}.side-drawer-item:hover{background:var(--button-hover);transform:scale(1.05)}.side-drawer-item svg{flex-shrink:0}.side-drawer-locale-wrap{position:relative}.side-drawer-locale-wrap .side-drawer-item img{display:block;filter:brightness(0) invert(1);opacity:.9}[data-theme=light] .side-drawer-locale-wrap .side-drawer-item img{filter:brightness(0);opacity:.85}.side-drawer-locale-options{position:absolute;top:100%;right:0;margin-top:.35rem;padding:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000026;z-index:100;min-width:120px;display:flex;flex-direction:column;gap:.15rem}.side-drawer-locale-opt{padding:.5rem .75rem;text-align:left;border:none;border-radius:calc(var(--radius) - 2px);background:transparent;color:var(--text);font-size:.9rem;cursor:pointer}.side-drawer-locale-opt:hover{background:var(--button-hover)}.side-drawer-locale-opt.selected{background:var(--accent);color:#fff}.resources-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9998;padding:1rem}.resources-modal-content{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 24px #0006;padding:1rem;display:flex;flex-direction:column;gap:.7rem;transform:scale(1.5)}.resources-modal-options{display:flex;flex-direction:column;gap:.5rem}.side-drawer-resource-opt,.resources-modal-content .side-drawer-resource-opt{padding:1rem;display:flex;align-items:center;justify-content:center;text-decoration:none;color:var(--text);border-radius:calc(var(--radius) - 2px);transition:background .15s}.side-drawer-resource-opt:hover{background:var(--button-hover)}.side-drawer-resource-opt img{flex-shrink:0;filter:brightness(0) invert(1);opacity:.9}[data-theme=light] .side-drawer-resource-opt img{filter:brightness(0);opacity:.85}.toast{position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%);max-width:min(90vw,420px);padding:.75rem 1rem;border-radius:var(--radius);box-shadow:0 4px 20px #0000004d;display:flex;align-items:center;gap:.75rem;z-index:9999;animation:toastIn .25s ease}@keyframes toastIn{0%{opacity:0;transform:translate(-50%) translateY(1rem)}to{opacity:1;transform:translate(-50%) translateY(0)}}.toast p{margin:0;flex:1;font-size:.95rem}.toast-error{background:var(--danger);color:#fff;border:1px solid rgba(255,255,255,.2)}.toast-info{background:var(--surface);color:var(--text);border:1px solid var(--border)}.toast-close{flex-shrink:0;width:1.75rem;height:1.75rem;padding:0;border:none;border-radius:50%;background:#fff3;color:inherit;font-size:1.25rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.toast-close:hover{background:#ffffff4d}
