/* FILE-O small converters: use existing ut-card / ut-field / ut-button /
   ut-result / fu-output-bar design. Only specialist drop, preview and
   progress behaviors have scoped styling. Never duplicate main-site UI. */
body.filelo-unified .quick-workspace{min-width:0}
body.filelo-unified .quick-workspace h3{font-size:13px;margin:20px 0 10px;color:#4f4468}
body.filelo-unified .quick-workspace .ut-field>label:first-child{font-weight:750}
body.filelo-unified .quick-drop{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;
  border:1.5px dashed #d5c6eb;border-radius:13px;background:#fcfaff;padding:19px 12px;
  cursor:pointer;text-align:center;min-height:154px;transition:border-color .16s,background .16s}
body.filelo-unified .quick-drop:hover,body.filelo-unified .quick-drop.is-over,
body.filelo-unified .quick-drop:focus-visible{border-color:#8268d9;background:#f6f2ff;outline-offset:3px}
body.filelo-unified .quick-drop-symbol{display:grid;place-items:center;width:43px;height:43px;
  border-radius:11px;background:#efeafd;color:#775cc8;margin:0 0 6px}
body.filelo-unified .quick-drop-symbol svg{width:22px;height:22px}
body.filelo-unified .quick-drop strong{font-size:13px;font-weight:800;color:#413656}
body.filelo-unified .quick-drop>span:not(.quick-drop-symbol){font-size:11px;color:#847a94}
body.filelo-unified .quick-drop small{font-size:10px;color:#978fa5}
body.filelo-unified .quick-selected{display:flex;align-items:center;gap:10px;padding:12px 13px;
  margin:10px 0;background:#f8f6fe;border:1px solid #e6dff1;border-radius:11px;min-width:0}
body.filelo-unified .quick-filetype{display:grid;place-items:center;flex:0 0 40px;height:42px;border-radius:9px;
 background:#ebe5f8;color:#6c51bb;font-weight:850;font-size:10px}
body.filelo-unified .quick-selected-name{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
body.filelo-unified .quick-selected-name strong{font-size:12px;overflow-wrap:anywhere;color:#302947}
body.filelo-unified .quick-selected-name small{font-size:10px;color:#777084}
body.filelo-unified .quick-selected .ut-secondary{flex:0 0 auto;padding:8px 11px;min-height:36px;font-size:11px}
body.filelo-unified .quick-flow{display:flex;align-items:center;gap:10px;margin:10px 0 12px}
body.filelo-unified .quick-format-pill{display:inline-block;border:1px solid #e2d9f0;border-radius:9px;background:#f8f5fe;
 padding:8px 12px;color:#4c3a75;font-weight:800;font-size:12px}
body.filelo-unified .quick-format-output{background:#f1f5ff;border-color:#dbe8f7;color:#436297}
body.filelo-unified .quick-flow-dash{height:1px;width:26px;background:#b9acd0}
body.filelo-unified .quick-help{font-size:11px;line-height:1.6;color:#7e748d;margin:10px 0}
body.filelo-unified .quick-workspace .ut-actions{margin:17px 0 10px}
body.filelo-unified .quick-workspace .ut-actions>.ut-button{min-width:200px}
body.filelo-unified .quick-workspace .ut-status{font-size:12px;line-height:1.5;margin-top:9px;min-height:17px;color:#746887}
body.filelo-unified .quick-workspace .ut-status.is-error{color:#bd445f}
body.filelo-unified .quick-progress{border:1px solid #e9e0f4;border-radius:11px;background:#faf8ff;padding:14px;margin:15px 0}
body.filelo-unified .quick-progress-head{display:flex;justify-content:space-between;align-items:center;
 margin-bottom:9px;font-size:12px;color:#564778}
body.filelo-unified .quick-progress-track{height:7px;background:#e7e0f0;border-radius:30px;overflow:hidden}
body.filelo-unified .quick-progress-track>div{height:100%;width:0;background:#765bd4;border-radius:30px;transition:width .2s}
body.filelo-unified .quick-progress p{font-size:11px;color:#80758e;margin:9px 0 0}
body.filelo-unified .ut-result.quick-result{white-space:normal;padding:15px;background:#faf9ff;
 border:1px solid #e9e2f1;border-radius:12px;min-height:0;margin-top:15px}
body.filelo-unified .quick-result-head{display:flex;align-items:start;flex-direction:column;gap:5px;margin:0 0 11px}
body.filelo-unified .quick-result-head strong{font-size:14px;color:#33284e}
body.filelo-unified .quick-result-head span{font-size:11px;color:#777086;line-height:1.5}
body.filelo-unified .quick-result .fu-output-bar{margin:12px 0 0}
body.filelo-unified .quick-result .fu-output-caption{gap:3px}
body.filelo-unified .quick-result .fu-output-actions .quick-download{display:inline-flex;align-items:center;
 justify-content:center;text-align:center;text-decoration:none;white-space:normal;min-height:46px;
 padding:11px 17px;border-radius:10px;font-size:12.5px;font-weight:800;color:#fff}
body.filelo-unified .quick-result .fu-output-actions .quick-download:not([href]),
body.filelo-unified .quick-result .fu-output-actions .quick-download[aria-disabled=true]{
 opacity:.5;pointer-events:none}
body.filelo-unified .quick-help-card p{font-size:12px;line-height:1.75}
body.filelo-unified .quick-related{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:15px;
 border-top:1px solid #ede7f5}
body.filelo-unified .quick-related strong{flex-basis:100%;font-weight:800;font-size:12px;color:#443857}
body.filelo-unified .quick-related a{border:1px solid #e3d9f0;background:#fff;color:#6650a8;
 padding:7px 10px;border-radius:8px;text-decoration:none;font-size:11px;font-weight:750}
body.filelo-unified .quick-related a:hover{background:#f4effc}
body.filelo-unified .crop-edit .quick-selected{margin-top:0;margin-bottom:16px}
body.filelo-unified .crop-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 13px}
body.filelo-unified .crop-settings .ut-field{margin:0}
body.filelo-unified .crop-settings .ut-field select{min-height:44px;max-width:100%}
body.filelo-unified .crop-settings .ut-field select:disabled{opacity:.6;cursor:not-allowed}
body.filelo-unified .crop-canvas-shell{background:#1e2030;border:1px solid #d4cce2;
 border-radius:12px;overflow:hidden;line-height:0}
body.filelo-unified .crop-canvas-shell canvas{display:block;width:100%;max-width:100%;height:auto;
 touch-action:none;cursor:crosshair}
body.filelo-unified .crop-bottom-row{display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:10px;margin:10px 0 8px}
body.filelo-unified .crop-output-size{font-size:11px;color:#6f6682;margin:0}
body.filelo-unified .crop-bottom-row .ut-secondary{padding:9px 12px;min-height:39px;font-size:11px}
body.filelo-unified .crop-result-preview{display:flex;align-items:center;justify-content:center;
 margin:9px 0;border:1px solid #e4dcec;border-radius:11px;padding:12px;min-height:115px;
 background-color:#fff;background-image:linear-gradient(45deg,#f2f1f5 25%,transparent 25%),
 linear-gradient(-45deg,#f2f1f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f2f1f5 75%),
 linear-gradient(-45deg,transparent 75%,#f2f1f5 75%);background-size:18px 18px;
 background-position:0 0,0 9px,9px -9px,-9px 0}
body.filelo-unified .crop-result-preview img{display:block;max-width:100%;max-height:290px;
 object-fit:contain}
body.filelo-unified .crop-result-preview img[hidden]{display:none}
@media(max-width:760px){
 body.filelo-unified .quick-workspace .ut-actions>.ut-button{width:100%;min-width:0}
 body.filelo-unified .crop-settings{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.filelo-unified .crop-settings .ut-field:last-child{grid-column:1/-1}
 body.filelo-unified .quick-result .fu-output-actions{width:100%}
 body.filelo-unified .quick-result .quick-download{width:100%}
}
@media(max-width:355px){body.filelo-unified .crop-settings{grid-template-columns:1fr}
 body.filelo-unified .crop-settings .ut-field:last-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){body.filelo-unified .quick-progress-track>div{transition:none}}

/* MP3 photo slideshow / sound visualization — native FILE-O fields and buttons. */
body.filelo-unified .mp3-studio{border-top:1px solid #ece6f4;margin-top:20px;padding-top:14px}
body.filelo-unified .mp3-studio [hidden]{display:none!important}
body.filelo-unified .mp3-studio h3{font-size:16px;line-height:1.35;color:#34294f;margin:0 0 8px}
body.filelo-unified .mp3-mode-set{border:0;padding:0;margin:18px 0 14px;min-width:0}
body.filelo-unified .mp3-mode-set legend{font-size:12px;font-weight:800;color:#5b5075;margin:0 0 9px}
body.filelo-unified .mp3-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.filelo-unified .mp3-mode-option{display:flex;flex-direction:column;min-width:0;gap:5px;cursor:pointer;
  padding:12px 11px;border:1px solid #e2dbef;border-radius:11px;background:#fff;transition:background .15s}
body.filelo-unified .mp3-mode-option:hover{background:#faf8ff}
body.filelo-unified .mp3-mode-option.is-selected{background:#f3eeff;border-color:#9e89da;box-shadow:0 0 0 1px #c9b7f8}
body.filelo-unified .mp3-mode-option input{appearance:none;width:16px;height:16px;border-radius:50%;border:2px solid #b1a3cc;margin:0 0 3px}
body.filelo-unified .mp3-mode-option.is-selected input{border:5px solid #7651cf}
body.filelo-unified .mp3-mode-option input:focus-visible{outline:3px solid #bba8f0;outline-offset:3px}
body.filelo-unified .mp3-mode-option strong{font-size:12px;line-height:1.3;color:#3c3156}
body.filelo-unified .mp3-mode-option small{font-size:10px;color:#80758f;line-height:1.4}
body.filelo-unified .mp3-photo-panel{margin:9px 0 17px}
body.filelo-unified .mp3-photo-picker{display:block;cursor:pointer;padding:12px 14px;border:1.5px dashed #d3c5e8;
 border-radius:11px;background:#fcfaff}
body.filelo-unified .mp3-photo-picker:hover{border-color:#9279d9;background:#f6f2ff}
body.filelo-unified .mp3-picker-head{display:flex;align-items:center;justify-content:space-between;gap:9px}
body.filelo-unified .mp3-picker-head strong{font-size:12px;color:#413355;font-weight:800}
body.filelo-unified .mp3-picker-head>span{font-size:11px;font-weight:800;color:#684abc;border:1px solid #d8c9ed;
 padding:7px 10px;border-radius:9px;background:#fff;white-space:nowrap}
body.filelo-unified .mp3-photo-picker small{display:block;margin-top:7px;font-size:10px;color:#8b819a}
body.filelo-unified .mp3-photo-list{display:grid;gap:8px;margin:12px 0 0}
body.filelo-unified .mp3-photo-item{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid #e9e2f3;border-radius:10px;background:#f9f7ff;padding:8px}
body.filelo-unified .mp3-photo-item>img{height:55px;width:76px;flex:0 0 76px;object-fit:cover;border-radius:7px;background:#eae1f2}
body.filelo-unified .mp3-photo-caption{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
body.filelo-unified .mp3-photo-caption strong{font-size:11px;color:#4d4267;overflow-wrap:anywhere}
body.filelo-unified .mp3-photo-caption small{font-size:10px;color:#898099}
body.filelo-unified .mp3-photo-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
body.filelo-unified .mp3-photo-actions>.ut-secondary{font-size:10px;padding:7px 8px;min-height:33px}
body.filelo-unified .mp3-photo-actions>.ut-secondary:disabled{opacity:.35;cursor:default}
body.filelo-unified .mp3-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px;margin:13px 0}
body.filelo-unified .mp3-settings>.ut-field{margin:0}
body.filelo-unified .mp3-settings>.ut-field select,
body.filelo-unified .mp3-settings>.ut-field input{min-height:45px}
body.filelo-unified .mp3-loop-choice{display:flex;align-items:start;gap:10px;cursor:pointer;
 background:#faf7ff;border:1px solid #e9ddf5;border-radius:10px;padding:11px 12px;margin:13px 0}
body.filelo-unified .mp3-loop-choice input{margin-top:3px;accent-color:#7651ce;width:18px;height:18px;flex:0 0 18px}
body.filelo-unified .mp3-loop-choice span{display:flex;flex-direction:column;gap:4px}
body.filelo-unified .mp3-loop-choice strong{font-size:12px;color:#4c3f66}
body.filelo-unified .mp3-loop-choice small{font-size:10px;line-height:1.5;color:#81778e}
body.filelo-unified .mp3-preview-panel{border:1px solid #e6dff0;border-radius:12px;padding:12px;background:#faf8ff;margin:16px 0}
body.filelo-unified .mp3-preview-header{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 8px}
body.filelo-unified .mp3-preview-header strong{font-size:12px;color:#392f59}
body.filelo-unified .mp3-preview-header small{font-size:10px;color:#8b7d9d}
body.filelo-unified #mp3PreviewCanvas{display:block;width:100%;height:auto;aspect-ratio:16 / 9;
 border-radius:9px;background:#242038}
body.filelo-unified #mp3PreviewAudio{display:block;width:100%;height:46px;margin:8px 0}
body.filelo-unified .mp3-preview-panel>.quick-help{margin-bottom:0}
body.filelo-unified .mp3-studio #mp3SettingsError{font-size:11px;line-height:1.4;margin-bottom:0}
body.filelo-unified .crop-shape-choice{display:flex;flex-direction:column;gap:8px;grid-column:1/-1}
body.filelo-unified .crop-shape-choice>span{font-size:12px;color:#57496c;font-weight:800}
body.filelo-unified .crop-shape-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.filelo-unified .crop-shape-button{display:flex;align-items:center;justify-content:center;gap:7px;
 border:1px solid #dfd7ed;border-radius:10px;padding:11px 14px;background:#fff;color:#6c5a82;
 cursor:pointer;font-size:12px;font-weight:800}
body.filelo-unified .crop-shape-button.is-selected{background:#f2ecff;border-color:#987dd7;color:#6843bf;
 box-shadow:0 0 0 1px #d9c8fa}
body.filelo-unified .crop-shape-button>span{font-size:19px;line-height:1}
body.filelo-unified .crop-shape-button:focus-visible{outline:3px solid #ad95e9;outline-offset:2px}
@media(max-width:650px){
 body.filelo-unified .mp3-mode-options{gap:6px}
 body.filelo-unified .mp3-mode-option{padding:10px 8px}
 body.filelo-unified .mp3-mode-option strong{font-size:11px}
 body.filelo-unified .mp3-photo-item{flex-wrap:wrap}
 body.filelo-unified .mp3-photo-item>img{width:63px;height:48px;flex-basis:63px}
 body.filelo-unified .mp3-photo-actions{width:100%;justify-content:flex-end}
 body.filelo-unified .mp3-settings{grid-template-columns:minmax(0,1fr)}
 body.filelo-unified .mp3-picker-head{flex-wrap:wrap}
}


/* Ellipse/circle shape lock: same standard FILE-O utility field styling. */
body.filelo-unified .crop-perfect-choice{
  grid-column:1/-1;display:flex;gap:11px;align-items:flex-start;
  border:1px solid #e5dbf2;background:#faf7ff;border-radius:10px;
  padding:12px 13px;cursor:pointer;min-width:0;
}
body.filelo-unified .crop-perfect-choice[hidden]{display:none!important}
body.filelo-unified .crop-perfect-choice>input{
  width:18px;height:18px;margin:3px 0 0;flex:0 0 18px;accent-color:#7453d0;
}
body.filelo-unified .crop-perfect-choice>span{
  display:flex;flex-direction:column;gap:4px;min-width:0;
}
body.filelo-unified .crop-perfect-choice strong{font-size:12px;color:#51416b}
body.filelo-unified .crop-perfect-choice small{font-size:11px;line-height:1.5;color:#857b97}
