/* Frame's existing paper, hairlines and single-weight Studio type. */
#paneExport.has-export-panel > #exportFrameGroup,#paneExport.has-export-panel > #exportCalGroup{display:none!important}
.mg-dock:has(#paneExport.is-on) .mg-dock-tabs{display:none}
.fx-panel{color:var(--ink,#55544c);font-family:'Fragment Mono',monospace;font-weight:400;font-size:12px;line-height:1.5}
.fx-panel *{box-sizing:border-box;font-weight:400}
.fx-panel h2{font:inherit;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 16px}
.fx-panel label,.fx-label{display:block;text-transform:uppercase;letter-spacing:.04em;margin:13px 0 6px;font-size:13px}
.fx-panel select,.fx-panel input{font:inherit;color:inherit;width:100%;padding:9px 8px;border:1px solid #b9b6ae;background:#faf9f6;border-radius:0;min-height:36px}
.fx-panel select{appearance:none;height:40px;padding-right:26px;background-image:linear-gradient(45deg,transparent 50%,#77746d 50%),linear-gradient(135deg,#77746d 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 10px) 50%;background-size:4px 4px;background-repeat:no-repeat}
.fx-seg{display:flex;gap:0}.fx-seg button{flex:1;min-width:0;padding:8px 2px;border:1px solid #b9b6ae;background:transparent;font:inherit;font-size:13px;color:inherit;cursor:pointer;min-height:40px}
.fx-seg button+button{border-left:0}.fx-seg button[aria-pressed=true]{background:#55544c;color:#fff}
.fx-seg small{display:inline;font-size:11px;opacity:.8}.fx-seg button{white-space:nowrap}
.fx-panel [hidden]{display:none!important}
.fx-panel button:disabled{opacity:.45;cursor:default}.fx-panel button:focus-visible,.fx-panel select:focus-visible,.fx-panel input:focus-visible{outline:2px solid #55544c;outline-offset:3px}
.fx-line{display:flex;gap:10px;align-items:center;margin:8px 0}.fx-link{border:0;border-bottom:1px solid #aaa69d;padding:2px 0;background:none;color:inherit;font:inherit;cursor:pointer;min-height:28px}
.fx-note{font-size:11px;line-height:1.6;color:#77746d;margin:7px 0 0}.fx-summary{border-top:1px solid #c9c6be;padding-top:13px;margin-top:16px;white-space:pre-line;font-size:12px}
.fx-warning{font-size:10px;border-left:2px solid #918270;padding-left:9px;margin:10px 0;line-height:1.7}
.fx-panel details{margin-top:12px}.fx-panel summary{cursor:pointer;font-size:13px;min-height:40px;list-style:none}.fx-panel summary::-webkit-details-marker{display:none}
.fx-more>.mg-solo-head{font-size:13px;padding:15px 0;letter-spacing:.04em}
.fx-more[open] .mg-solo-ico::after{opacity:0;transform:scaleY(0)}
#fxMoreBody{padding-bottom:10px}#fxMoreBody>.fx-label{margin-top:18px}
.fx-panel ul{list-style:none;padding:0;margin:6px 0;font-size:10px}.fx-panel li{margin:5px 0}
.fx-panel .mg-cta{font-family:inherit;font-weight:400;font-size:13px;white-space:normal;line-height:1.6;min-height:42px;margin-top:12px;cursor:pointer}
.fx-result{border-top:1px solid #c9c6be;margin-top:15px;padding-top:12px;font-size:10px;white-space:pre-line;overflow-wrap:anywhere}
.fx-result img{display:block;width:100%;max-height:230px;object-fit:contain;margin:10px 0;background:white}
/* Social's inline progress arrangement, using Frame's own theme. */
.fx-progress{margin:12px 0 0}
.fx-progress p{font:400 13px/1.6 var(--mono);margin:0}
.fx-progress progress{width:100%;height:4px;display:block;margin:8px 0 0;accent-color:var(--cta)}
.fx-progress .fx-link{margin-top:10px}
@media(any-pointer:coarse){.fx-panel select,.fx-seg button,.fx-link{min-height:44px}.fx-panel select{height:44px}}

/* Existing Frame actions stay in their rail. Focused adds a quiet doorway. */
.mg-work-actions-heading,#fxWorkActions{display:none;}
.mg-tablet .mg-work-actions-heading{display:block;flex:none;margin:4px 0 0;padding:16px 0 0;border-top:1px solid var(--line);font:400 14px/1.5 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink);}
.mg-tablet .mg-work-actions-heading:focus-visible{outline:1px solid var(--line);outline-offset:5px;}
.mg-tablet #fxWorkActions{display:block;width:max-content;max-width:100%;min-height:44px;margin-top:10px;padding:8px 0 4px;font:400 14px/1.5 var(--mono);color:var(--ink);text-align:left;}

/* v545: export naming is a primary field; completed-file actions are contained. */
#fxNameRow label{font-size:14px}#fxNameRow input{font-size:15px}
.fx-warning{font-size:13px;line-height:1.6}
.fx-result{white-space:normal;font-size:13px;display:grid;gap:12px;padding-top:16px}
.fx-ready{font:400 14px/1.5 var(--mono);margin:0}
.fx-result-actions{display:flex;gap:6px}
.fx-result-button{width:42px;height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);cursor:pointer}
.fx-result-button:hover{background:rgba(255,255,255,.5)}.fx-result-button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.fx-result-button svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.fx-result .fx-file-details{margin:0;color:var(--ink-soft)}
.fx-result .fx-file-details summary{display:flex;align-items:center;gap:8px;list-style:none;font:400 13px/1.5 var(--mono);min-height:32px;width:max-content;padding:6px 0;cursor:pointer}
.fx-result .fx-file-details p{font-size:13px;overflow-wrap:anywhere;line-height:1.5;margin:8px 0 0}

@media(any-pointer:coarse){.fx-result-button{width:44px;height:44px;padding:12px}}

.fx-result video{display:block;width:100%;max-height:230px;object-fit:contain;background:white}
#fxAnimationLimit{font-size:12px}

.fx-file-details summary::-webkit-details-marker{display:none}
.fx-file-details summary::marker{content:""}
.fx-file-details:not([open]) .mg-tray-chev{transform:rotate(0deg)}
.fx-file-details[open] .mg-tray-chev{transform:rotate(90deg)}
