.reference-attachments{width:100%;min-width:0;max-width:100%;color:var(--ui-text);flex-shrink:0}.reference-attachments *{box-sizing:border-box}.reference-attachments button{font:inherit;touch-action:manipulation}.reference-attachments button:focus-visible{outline:2px solid var(--ui-focus,var(--ui-accent));outline-offset:2px}.reference-attachments button:disabled{cursor:not-allowed}.reference-attachments-empty{border:1px solid var(--ui-line);background:var(--ui-panel);width:100%;min-height:61px;color:var(--ui-muted);text-align:left;border-radius:10px;align-items:center;gap:11px;padding:11px 13px;display:flex}.reference-attachments-empty>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.reference-attachments-empty strong{color:var(--ui-text);font-size:13px;font-weight:500}.reference-attachments-empty small{color:var(--ui-muted);font-size:11px}.reference-attachments-empty>svg{flex-shrink:0}.reference-attachments-empty:hover:not(:disabled){background:var(--ui-hover);border-color:var(--ui-line-strong)}.reference-attachments-row{align-items:flex-start;gap:9px;width:100%;min-width:0;max-width:100%;display:flex}.reference-attachments-scroll{overscroll-behavior-inline:contain;scrollbar-width:thin;scroll-snap-type:x proximity;flex:0 auto;align-items:flex-start;gap:8px;min-width:0;max-width:100%;margin:-3px 0 0 -3px;padding:3px 3px 5px;list-style:none;display:flex;overflow:auto hidden}.reference-attachment{scroll-snap-align:start;flex:0 0 126px;width:126px;min-width:126px;margin:0;padding:0}.reference-attachment-image{width:126px;height:126px;position:relative}.reference-attachment-preview{border:1px solid var(--ui-line-strong);background:var(--ui-control);width:126px;height:126px;min-height:126px;color:var(--ui-muted);border-radius:9px;padding:0;display:block;position:relative;overflow:hidden}.reference-attachment-preview img{object-fit:cover;width:100%;height:100%;display:block}.reference-attachment-preview:hover:not(:disabled){border-color:var(--ui-accent)}.reference-attachment-remove{z-index:1;width:32px;height:32px;min-height:32px;color:var(--ui-text);isolation:isolate;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;top:0;right:0}.reference-attachment-remove:before{content:"";z-index:-1;border:1px solid var(--ui-line-strong);background:var(--ui-panel);box-shadow:var(--ui-shadow-soft);border-radius:50%;position:absolute;inset:4px}.reference-attachment-remove:hover:not(:disabled){color:var(--ui-danger);background:0 0}.reference-attachment-remove:hover:not(:disabled):before{background:var(--ui-danger-soft);border-color:var(--ui-danger-line)}.reference-attachment-mention{width:100%;min-height:29px;color:var(--ui-text);background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:4px;padding:5px 2px 2px;line-height:1.4;display:flex;font-size:11px!important}.reference-attachment-mention>span{color:var(--ui-muted);font-size:10px}.reference-attachment-mention:hover:not(:disabled){background:var(--ui-selected);color:var(--ui-accent)}.reference-attachment[draggable=true] .reference-attachment-preview{cursor:grab}.reference-attachment.is-dragging{opacity:.45}.reference-attachment.is-drag-over .reference-attachment-preview{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-accent)}.reference-attachment-grip{border:1px solid var(--ui-line-strong);width:23px;height:23px;color:var(--ui-text);background:var(--ui-panel);pointer-events:none;border-radius:5px;place-items:center;display:grid;position:absolute;top:5px;left:5px}.reference-attachment-order{gap:4px;width:100%;margin-top:3px;display:flex}.reference-attachment-order>button{border:1px solid var(--ui-line);background:var(--ui-control);min-width:0;min-height:30px;color:var(--ui-muted);border-radius:5px;flex:1;justify-content:center;align-items:center;gap:3px;padding:4px 2px;font-size:10px;display:flex}.reference-attachment-order>button:hover:not(:disabled){background:var(--ui-selected);color:var(--ui-accent);border-color:var(--ui-accent)}.reference-attachment-order>button:disabled{opacity:.35}.reference-attachments-order-hint{color:var(--ui-muted);margin:3px 0 0;font-size:10px;line-height:1.7}.reference-attachments-add{border:1px dashed var(--ui-line-strong);background:var(--ui-panel);width:126px;height:126px;min-height:126px;color:var(--ui-muted);border-radius:9px;flex-direction:column;flex:0 0 126px;justify-content:center;align-items:center;gap:7px;padding:8px;display:flex}.reference-attachments-add>span{white-space:nowrap;font-size:11px}.reference-attachments-add:hover:not(:disabled){background:var(--ui-selected);border-color:var(--ui-accent);color:var(--ui-accent)}.reference-attachment-unavailable{flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:100%;padding:8px 4px;display:flex}.reference-attachment-unavailable>span{font-size:10px;line-height:1.5}.reference-attachment.needs-reselect .reference-attachment-preview{border-color:var(--ui-warning);background:var(--ui-warning-soft)}.reference-attachment-reselect{background:var(--ui-warning-soft);color:var(--ui-warning);border-top:1px solid var(--ui-warning-line);justify-content:center;align-items:center;gap:4px;padding:4px 2px;font-size:10px;line-height:1.4;display:flex;position:absolute;bottom:0;left:0;right:0}.reference-attachments-meta{justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-top:4px;display:flex}.reference-attachments-meta>small{color:var(--ui-muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.reference-attachments-meta>button{min-height:29px;color:var(--ui-muted);white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;padding:4px 0 4px 7px;font-size:11px;display:flex}.reference-attachments-meta>button:hover:not(:disabled){background:var(--ui-hover);color:var(--ui-text)}.reference-attachments-warning{border:1px solid var(--ui-warning-line);background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:7px;align-items:flex-start;gap:5px;margin:6px 0 0;padding:7px 8px;font-size:10px;line-height:1.7;display:flex}.reference-attachments-warning>svg{flex-shrink:0;margin-top:2px}@media (width<=700px){.reference-attachments-row,.reference-attachments-scroll{gap:8px}.reference-attachment-remove{width:44px;height:44px;min-height:44px}.reference-attachment-remove:before{inset:10px}.reference-attachment-mention{min-height:40px;padding:7px 3px 4px}.reference-attachments-meta{margin-top:1px}.reference-attachments-meta>button{min-height:40px;padding:7px}.reference-attachments-meta>small,.reference-attachments-warning{font-size:10px}.reference-attachments-empty{min-height:62px}}@media (prefers-reduced-motion:reduce){.reference-attachments *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=700px){.reference-attachment-order>button{min-height:44px;font-size:11px}}.canvas-app.product-create .composer-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding-top:14px;padding-bottom:16px;display:grid}.canvas-app.product-create .composer-footer>.hz-generation-trigger{grid-area:1/1;justify-self:start;width:auto;max-width:100%;min-height:44px}.canvas-app.product-create .composer-footer>.composer-generate{white-space:nowrap;grid-area:1/2;width:auto;min-width:122px;height:44px;min-height:44px;padding:0 15px}.canvas-app.product-create .composer-footer>#canvas-generation-panel{grid-column:1/-1;display:none}.canvas-app.product-create .composer-footer>.hz-generation-trigger[aria-expanded=true]+#canvas-generation-panel{display:block}.canvas-app.product-create .composer-footer>.composer-billing{grid-column:1/-1;margin:0;font-size:10px;line-height:1.7}.canvas-app.product-create .is-empty-workspace .composer-body{gap:15px}@media (width<=700px){.canvas-app.product-create .composer-footer>.composer-generate{min-width:106px;padding:0 12px}.canvas-app.product-create .composer-footer{gap:9px}.canvas-app.product-create .composer-footer>.hz-generation-trigger{gap:5px;padding:0 8px;font-size:11px}}.pe-root{max-width:1660px;color:var(--ui-text);font-family:var(--ui-font);margin:0 auto;padding:22px 30px 30px}.pe-root button,.pe-root input,.pe-root textarea,.pe-root select{font:inherit}.pe-root button{border:1px solid var(--ui-line);background:var(--ui-control);min-height:38px;color:var(--ui-text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.pe-root button:hover:not(:disabled){background:var(--ui-hover)}.pe-root button:disabled{opacity:.45;cursor:not-allowed}.pe-root button:focus-visible,.pe-root a:focus-visible,.pe-root input:focus-visible,.pe-root textarea:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}.pe-root button.pe-primary{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-on-accent);font-weight:650}.pe-root a{color:var(--ui-accent)}.pe-empty{text-align:center;max-width:900px;margin:10vh auto}.pe-empty>svg{color:var(--ui-accent)}.pe-empty h1{margin:22px 0 12px;font-size:28px}.pe-empty p{color:var(--ui-muted);font-size:16px;line-height:1.7}.pe-empty>.pe-primary{margin:14px 0 40px;padding:12px 28px}.pe-heading{align-items:center;gap:22px;margin-bottom:22px;display:flex}.pe-heading>a{white-space:nowrap;font-size:13px;text-decoration:none}.pe-heading>div{flex:1;min-width:0}.pe-heading h1{text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:17px;line-height:1.4;overflow:hidden}.pe-heading span{color:var(--ui-muted);font-size:12px}.pe-toolbar{background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:16px;align-items:center;gap:5px;width:max-content;max-width:100%;margin:0 auto 12px;padding:6px;display:flex;box-shadow:0 6px 20px #0002}.pe-toolbar button{white-space:nowrap;background:0 0;border:0;font-size:14px}.pe-toolbar button[aria-pressed=true]{background:var(--ui-selected);color:var(--ui-accent)}.pe-toolbar i{border-left:1px solid var(--ui-line);height:24px;margin:0 4px}.pe-tool-hint{min-height:32px;color:var(--ui-muted);justify-content:center;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.pe-tool-hint label{align-items:center;gap:7px;margin-left:12px;display:flex}.pe-tool-hint input{width:90px;accent-color:var(--ui-accent)}.pe-tool-hint span{width:20px}.pe-tool-hint button{background:0 0;border:0;width:28px;min-height:28px;padding:3px}.pe-tool-hint b{text-align:center;font-variant-numeric:tabular-nums;width:36px;font-size:11px;font-weight:400}.pe-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:20px;min-height:320px;display:grid}.pe-canvas-wrap{border:1px solid var(--ui-line);background:#0b0d10;border-radius:14px;justify-content:flex-start;align-items:flex-start;min-height:320px;max-height:calc(100dvh - 310px);padding:22px;display:flex;overflow:auto}.pe-stage{touch-action:none;isolation:isolate;background:repeating-conic-gradient(#e3e4e8 0% 25%,#fff 0% 50%) 50%/18px 18px;flex:none;margin:auto;line-height:0;position:relative}.pe-stage>img{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.pe-tool-comment,.pe-tool-draw,.pe-tool-erase{cursor:crosshair}.pe-marks{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.pe-stage .pe-pin{z-index:2;color:#fff;background:#0c1218;border:2px solid #fff;border-radius:50%;width:28px;height:28px;min-height:28px;padding:0;font-size:13px;font-weight:650;line-height:1;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0004}.pe-stage .pe-pin.is-active{background:var(--ui-accent);color:var(--ui-on-accent);border-color:#fff}.pe-pin-form{z-index:3;color:#17212b;background:#fff;border:1px solid #d5dbe1;border-radius:26px;align-items:center;gap:3px;width:280px;max-width:calc(100vw - 65px);padding:5px 6px 5px 12px;line-height:1.4;display:flex;position:absolute;transform:translate(19px,-50%);box-shadow:0 6px 25px #0003}.pe-pin-form input{color:#17212b;background:#fff;border:0;outline:none;flex:1;width:0;min-width:0;padding:6px 0;font-size:14px}.pe-pin-form button{color:#34404a;background:#fff;border:0;border-radius:50%;width:30px;min-height:30px;padding:4px}.pe-pin-form button[type=submit]{color:#268d57}.pe-pin-form button:hover:not(:disabled){background:#edf2f5}.pe-comments{border:1px solid var(--ui-line);background:var(--ui-panel);border-radius:14px;max-height:calc(100dvh - 310px);padding:15px;font-size:13px;overflow:auto}.pe-comments>div{justify-content:space-between;align-items:center;display:flex}.pe-comments h2{margin:0;font-size:14px}.pe-comments h2 span{color:var(--ui-muted);margin-left:4px;font-weight:400}.pe-comments>div>button{min-height:30px;color:var(--ui-muted);background:0 0;border:0;padding:4px}.pe-comments>p{color:var(--ui-muted);line-height:1.8}.pe-comments>section{border:1px solid var(--ui-line);border-radius:10px;margin:12px 0;padding:10px}.pe-comments>section.is-active{border-color:var(--ui-accent)}.pe-comments .pe-comment-title{text-align:left;background:0 0;border:0;justify-content:flex-start;width:100%;min-height:30px;padding:0;font-size:13px}.pe-comment-title b{background:var(--ui-selected);width:23px;height:23px;color:var(--ui-accent);border-radius:50%;flex:none;place-items:center;display:grid}.pe-comment-title span{overflow-wrap:anywhere;line-height:1.5}.pe-comments section>label{color:var(--ui-muted);align-items:center;gap:6px;margin-top:10px;font-size:11px;display:flex}.pe-comments section input{width:0;accent-color:var(--ui-accent);flex:1}.pe-comments details{border-top:1px solid var(--ui-line);color:var(--ui-muted);margin-top:22px;padding-top:15px}.pe-comments summary{cursor:pointer;margin-bottom:10px}.pe-comments details button{background:0 0;border:0;justify-content:flex-start;width:100%;margin:8px 0;font-size:12px;display:flex}.pe-comments p>button{min-height:26px;padding:2px 7px;font-size:11px}.pe-comments .pe-global-note{color:var(--ui-accent)}.pe-composer{background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:16px;flex-direction:column;gap:20px;min-width:0;max-width:1470px;margin:18px auto 0;padding:20px;transition:box-shadow .2s,border-color .2s;display:flex}.pe-composer:focus-within{border-color:#7099ab;box-shadow:0 0 0 2px #abdded08,0 12px 32px #0003}.pe-composer textarea{box-sizing:border-box;resize:vertical;width:100%;color:var(--ui-text);background:0 0;border:0;outline:none;min-height:100px;max-height:240px;padding:8px 0;font-size:15px}.pe-composer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.pe-composer-actions button{white-space:nowrap}.pe-progress{max-width:980px;color:var(--ui-muted);flex-wrap:wrap;align-items:center;gap:12px;margin:14px auto 0;font-size:13px;display:flex}.pe-progress progress{width:150px;height:7px;accent-color:var(--ui-accent)}.pe-progress button{min-height:30px;font-size:12px}.pe-account-note{text-align:center;color:var(--ui-muted);font-size:13px}.pe-account-note a{margin-left:8px}.pe-error{color:#f3acb1;background:#bd434311;border:1px solid #a64b5144;border-radius:10px;max-width:980px;margin:14px auto;padding:12px 16px;font-size:14px;line-height:1.6}.pe-modal-backdrop{z-index:250;background:#0009;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.pe-size-dialog{background:var(--ui-raised);border:1px solid var(--ui-line-strong);width:420px;max-width:100%;box-shadow:var(--ui-shadow);border-radius:18px;padding:22px}.pe-size-dialog header{justify-content:space-between;align-items:center;display:flex}.pe-size-dialog h2{margin:0;font-size:20px}.pe-size-dialog header button{background:0 0;border:0}.pe-size-dialog p{color:var(--ui-muted);font-size:13px;line-height:1.6}.pe-size-dialog label{justify-content:space-between;align-items:center;gap:15px;margin:18px 0;font-size:14px;display:flex}.pe-size-dialog input[type=number],.pe-size-dialog select{border:1px solid var(--ui-line);background:var(--ui-control);width:200px;min-width:0;color:var(--ui-text);border-radius:8px;padding:10px;font-size:14px}.pe-size-dialog .pe-check{justify-content:flex-start;gap:8px}.pe-size-dialog footer{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.pe-recent{text-align:left;max-width:1100px;margin:35px auto}.pe-recent h2{font-size:20px}.pe-recent>div{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;display:grid}.pe-recent a{border:1px solid var(--ui-line);background:var(--ui-panel);min-width:0;color:var(--ui-text);border-radius:12px;flex-direction:column;gap:9px;padding:10px;text-decoration:none;display:flex}.pe-recent img{object-fit:contain;background:#080c10;border-radius:7px;width:100%;height:150px}.pe-recent b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.pe-recent span{color:var(--ui-muted);font-size:11px}@media (width<=1000px){.pe-root{padding:20px 18px}.pe-workspace{grid-template-columns:minmax(0,1fr) 210px;gap:12px}.pe-heading>a{font-size:12px}.pe-toolbar{gap:0}.pe-toolbar button{padding:8px;font-size:13px}.pe-pin-form{width:230px}}@media (width<=700px){.pe-root{padding:14px 12px 28px}.pe-heading{gap:10px;margin-bottom:14px}.pe-heading>a{font-size:0}.pe-heading>a:before{content:"←";font-size:23px}.pe-heading h1{font-size:14px}.pe-heading>button{padding:6px 8px;font-size:12px}.pe-toolbar{border-radius:12px;flex-wrap:wrap;justify-content:center;width:100%;margin-bottom:7px}.pe-toolbar button{min-height:40px;padding:6px;font-size:12px}.pe-toolbar button svg{width:15px}.pe-toolbar i{display:none}.pe-workspace{flex-direction:column;gap:12px;display:flex}.pe-tool-hint{flex-wrap:wrap;gap:4px;font-size:11px}.pe-tool-hint span{display:none}.pe-canvas-wrap{min-height:280px;max-height:58dvh;padding:14px}.pe-comments{max-height:220px;padding:12px}.pe-comments>section{margin:8px 0}.pe-comments details{margin-top:12px;padding-top:10px}.pe-composer{border-radius:13px;gap:16px;padding:12px}.pe-composer textarea{min-height:96px;padding:5px 0;font-size:14px}.pe-composer-actions{gap:8px}.pe-composer-actions button{white-space:normal;max-width:100%;min-height:44px;padding:10px;font-size:12px}.pe-pin-form{width:210px;transform:translate(-30%,-125%)}.pe-recent>div{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-account-note{font-size:12px;line-height:1.7}.pe-size-dialog{padding:18px}.pe-size-dialog input[type=number],.pe-size-dialog select{width:170px}}.pe-ratio-dialog{background:var(--ui-raised);border:1px solid var(--ui-line-strong);width:340px;max-width:100%;box-shadow:var(--ui-shadow);border-radius:20px;padding:20px}.pe-ratio-dialog header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.pe-ratio-dialog h2{color:var(--ui-muted);margin:0;font-size:16px;font-weight:500;line-height:1.5}.pe-ratio-dialog header button{background:0 0;border:0;min-height:32px;padding:5px}.pe-ratio-list{flex-direction:column;gap:4px;display:flex}.pe-ratio-list>button{background:0 0;border:0;border-radius:10px;justify-content:flex-start;gap:18px;min-height:52px;padding:12px 14px;font-size:18px}.pe-ratio-list>button[aria-pressed=true]{background:var(--ui-selected);color:var(--ui-accent)}.pe-ratio-icon{border:1.5px solid;border-radius:3px;flex:none;margin:0 3px;display:inline-block}.pe-ratio-list small{color:var(--ui-muted);margin-left:6px;font-size:15px}.pe-ratio-list>button>svg{margin-left:auto}.pe-ratio-dialog p{color:var(--ui-muted);margin:15px 0 0;font-size:12px;line-height:1.65}.pe-ratio-dialog .pe-keep-ratio{width:100%;margin-top:14px;font-size:13px}.pe-ratio-backdrop{background:0 0}.pe-ratio-dialog{max-height:calc(100dvh - 40px);position:fixed;overflow:auto}.composer-model-options{color:var(--ui-muted);background:0 0;border:0;align-items:center;gap:6px;margin:0 auto 10px;padding:4px;font-size:11px;display:flex}.pe-composer .pe-quality-select{color:var(--ui-muted);width:65px;min-width:65px;min-height:38px;background:0 0!important;border:0!important;border-radius:8px!important;padding:8px 7px!important;font-size:12px!important}.pe-pin-form{animation:.17s ease-out pe-comment-in}.pe-comments>section{animation:.2s ease-out pe-row-in}@keyframes pe-comment-in{0%{opacity:0;filter:blur(1px)}to{opacity:1;filter:blur()}}@keyframes pe-row-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0}}@media (width<=700px){.pe-composer .pe-quality-select{min-height:44px}}@media (prefers-reduced-motion:reduce){.pe-composer,.pe-pin-form,.pe-comments>section{transition:none!important;animation:none!important}}.pe-download-ready{border:1px solid var(--ui-line);background:var(--ui-panel);overflow-wrap:anywhere;border-radius:12px;margin:0 0 16px;padding:12px 16px;font-size:13px;line-height:1.7}.pe-download-ready a{margin-left:6px;font-weight:600}.pe-download-ready small{color:var(--ui-muted);font-size:12px;display:block}.pe-cloud>p{color:var(--ui-muted);margin:8px 0 14px;font-size:12px}.pe-cloud article{border:1px solid var(--ui-line);background:var(--ui-panel);border-radius:12px;min-width:0;padding:10px}.pe-cloud article>button{width:100%;color:var(--ui-text);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:8px;padding:0;display:flex}.pe-cloud article>div{justify-content:space-between;align-items:center;gap:8px;margin-top:9px;display:flex}.pe-cloud article>div button,.pe-cloud article>div a{border:1px solid var(--ui-line);color:var(--ui-text);cursor:pointer;background:0 0;border-radius:7px;padding:5px 8px;font-size:12px;transition:background .15s}.pe-cloud article>div button:hover,.pe-cloud article>div a:hover{background:var(--ui-panel-hover)}.pe-quality-warning{color:#e2be86;background:#b67b1810;border:1px solid #b67b183b;border-radius:8px;margin:12px 0;padding:10px 12px;font-size:12px;line-height:1.7}.pe-cloud article>div{flex-wrap:wrap}.pe-strict-option{color:var(--ui-muted);align-items:center;gap:7px;margin:10px 0;font-size:12px;line-height:1.6;display:flex}.pe-strict-option input{accent-color:var(--ui-accent)}.pe-reference-creation{min-width:0}.pe-reference-creation header{justify-content:space-between;align-items:center;gap:12px;display:flex}.pe-reference-creation h2{margin:0 0 5px;font-size:14px;font-weight:600}.pe-reference-creation p{color:var(--ui-muted);margin:0;font-size:12px;line-height:1.6}.pe-reference-creation header>button{flex:none;font-size:13px}.pe-reference-creation .reference-attachments-scroll{margin-top:14px}.pe-reference-creation>small{color:var(--ui-muted);margin-top:10px;font-size:12px;display:block}.pe-reference-preview{background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:16px;max-width:min(900px,100%);padding:16px}.pe-reference-preview header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.pe-reference-preview h2{overflow-wrap:anywhere;margin:0;font-size:15px}.pe-reference-preview img{object-fit:contain;max-width:100%;max-height:75dvh;margin:auto;display:block}.pe-heading>a{padding:8px 0}@media (width<=700px){.pe-reference-creation header{flex-wrap:wrap;align-items:flex-start}.pe-reference-creation header>button{min-height:40px}.pe-heading{flex-wrap:wrap}.pe-heading>a{flex-basis:100%;font-size:12px}.pe-heading>a:before{content:"← ";font-size:14px}.pe-reference-preview img{max-height:65dvh}}.pe-crop{color:var(--text,#18221f);background:#fff;border:1px solid #d6d9d6;border-radius:14px;width:min(620px,94vw);max-height:94vh;padding:22px;overflow:auto}.pe-crop::backdrop{background:#17231ab8}.pe-crop h2{margin:0}.pe-crop p{font-size:14px}.pe-crop-view{touch-action:none;cursor:crosshair;width:fit-content;max-width:100%;margin:12px auto;position:relative;overflow:hidden}.pe-crop-view img{-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:42vh;display:block}.pe-crop-view span{pointer-events:none;border:1px solid #fff;outline:1px solid #154c33;position:absolute;box-shadow:0 0 0 4000px #101b1859}.pe-crop-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.pe-crop-fields input{box-sizing:border-box;width:100%;padding:7px}.pe-crop-fields label{font-size:13px}.pe-crop footer{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.pe-crop footer button{padding:8px 14px}
