#pi-trigger{border:0;background:none;font:inherit;cursor:pointer;padding:0;color:inherit}#quick-actions{flex-wrap:wrap}
#project-info,#pi-viewer{box-sizing:border-box;color:var(--text,#243746);background:var(--bg,#eef4f8);border:1px solid #ffffffb3;border-radius:26px;padding:0;width:min(760px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 24px 90px #142c4540;font-family:inherit}#project-info::backdrop,#pi-viewer::backdrop{background:#152c4866;backdrop-filter:blur(5px)}
#project-info button,#pi-viewer button{font-family:inherit;cursor:pointer}#project-info button:focus-visible,#pi-viewer button:focus-visible{outline:3px solid #3b8fc4;outline-offset:3px}.pi-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 28px 20px;background:var(--card,#f8fbfe);border-bottom:1px solid #7996ae20}.pi-head p{font-size:12px;color:#647c91;margin:0 0 5px}.pi-head h2{font-size:23px;letter-spacing:-.5px;margin:0}.pi-close{border:0;background:#e6eef5;color:#344e65;border-radius:50%;width:38px;height:38px;font-size:26px;flex-shrink:0}.pi-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 28px;color:#63798f;font-size:13px}.pi-primary{background:#3b8fc4;color:white;border:1px solid #3b8fc4;border-radius:13px;padding:12px 18px;font-weight:650;white-space:nowrap}.pi-primary:hover{background:#307eaf}.pi-secondary{background:#f4f8fb;color:#354e64;border:1px solid #d6e2eb;border-radius:12px;padding:11px 16px}.pi-content{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 28px 28px}.pi-card{min-width:0;background:var(--card,#fbfdff);border:1px solid #ffffffa6;border-radius:20px;padding:18px;box-shadow:0 3px 9px #2549670b}.pi-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.pi-kind{display:flex;gap:7px;align-items:center;color:#6d8497;font-size:11px}.pi-kind svg{width:16px;height:16px;color:#3b8fc4}.pi-edit{display:grid;place-items:center;border:0;background:#eaf2f8;border-radius:10px;width:34px;height:34px;color:#3b8fc4}.pi-edit svg{width:16px;height:16px}.pi-card h3{font-size:15px;margin:0 0 7px;overflow-wrap:anywhere}.pi-note{font-size:15px;line-height:1.65;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}.pi-image{position:relative;display:block;width:100%;border:0;border-radius:12px;background:#e9f0f5;overflow:hidden;padding:0;margin-bottom:12px}.pi-image img{width:100%;height:150px;object-fit:contain;display:block}.pi-image span{position:absolute;bottom:7px;right:7px;background:#ffffffed;padding:5px 8px;font-size:11px;border-radius:7px;color:#35556d}.pi-download{display:flex;gap:8px;align-items:center;color:#3b8fc4;font-size:13px;margin-top:16px;text-decoration:none}.pi-download svg{width:17px;height:17px}.pi-empty{grid-column:1/-1;text-align:center;padding:34px 20px 45px}.pi-empty>svg{width:38px;height:38px;color:#3b8fc4}.pi-empty h3{font-size:18px}.pi-empty p{color:#698095;line-height:1.6;margin-bottom:24px}.pi-form-fields{padding:24px 28px}.pi-form-fields label:not(.pi-file-label){display:grid;gap:8px;font-size:13px;font-weight:600;margin-bottom:18px}.pi-form-fields input:not([type=file]),.pi-form-fields textarea{box-sizing:border-box;width:100%;border:1px solid #cddde8;border-radius:12px;background:var(--card,#fff);padding:13px;font:inherit;font-weight:400;color:inherit}.pi-form-fields textarea{resize:vertical}.pi-file-label{display:flex;gap:10px;align-items:center;padding:16px;border:1px dashed #a8c4d8;border-radius:13px;cursor:pointer;overflow-wrap:anywhere;font-size:14px;color:#3b8fc4}.pi-file-label svg{width:20px;height:20px}.pi-file-label input{width:1px;height:1px;position:absolute;opacity:0}.pi-help{font-size:11px;color:#6c8194}.pi-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:18px 28px;border-top:1px solid #7996ae20}.pi-danger{border:0;background:none;color:#b34b4b;padding:12px;margin-right:auto}#pi-error{color:#b33c3c;font-size:13px}#pi-viewer{width:min(1100px,calc(100vw - 24px));background:#172a3b;color:#fff}#pi-viewer header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:12px}#pi-viewer header button{background:#ffffff18;color:#fff;border:0;border-radius:10px;padding:10px 14px;margin-left:6px}.pi-image-stage{overflow:auto;max-height:76dvh;text-align:center}.pi-image-stage img{max-width:100%;max-height:74dvh;object-fit:contain}.pi-image-stage.zoomed img{max-width:none;max-height:none;width:160%}@media(max-width:600px){#project-info{width:calc(100vw - 16px);max-height:94dvh;border-radius:22px}.pi-head{padding:20px}.pi-intro{padding:16px 20px}.pi-intro span{max-width:185px;font-size:12px}.pi-content{grid-template-columns:1fr;padding:0 16px 20px;gap:12px}.pi-form-fields{padding:20px}.pi-footer{padding:16px;flex-wrap:wrap}.pi-card{padding:16px}.pi-image img{height:140px}}
#project-info{background:#edf3f8}.pi-head{background:#f7fbfe}.pi-card{background:#fff}.pi-form-fields input:not([type=file]),.pi-form-fields textarea{background:#fff}
[data-theme="dark"] #project-info{background:#1b2b3c;color:#edf5fc}[data-theme="dark"] .pi-head,[data-theme="dark"] .pi-card,[data-theme="dark"] .pi-form-fields input:not([type=file]),[data-theme="dark"] .pi-form-fields textarea{background:#24384b;color:#edf5fc}
.pi-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.pi-folder{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;text-decoration:none;font-size:13px;font-weight:600;color:#357fae;background:#f7fbfe;border:1px solid #cadde9;border-radius:13px;padding:12px 14px}.pi-folder svg{width:17px;height:17px}.pi-folder:hover{background:#e6f0f7}.pi-intro{flex-wrap:wrap}.pi-intro>span{flex:1;min-width:180px}.pi-content{align-items:start}@media(max-width:600px){.pi-intro>span{max-width:none}.pi-actions{width:100%}.pi-folder{flex:1}.pi-actions .pi-primary{flex:1}}
html:has(#project-info[open]){overflow:hidden}#project-info .pi-head{position:sticky;top:0;z-index:2}#project-info{scrollbar-width:thin;scrollbar-color:#bacbd8 transparent}
