@layer wertigo.components{.file-dropzone__input{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed}:where(.file-dropzone){width:100%}.file-dropzone--stretch{flex:auto;align-self:stretch;min-height:260px;display:flex}.file-dropzone--stretch .file-dropzone__zone{flex:auto}.file-dropzone__mini,.file-dropzone__zone{border:1.5px dashed var(--ds-line-strong);border-radius:var(--ds-radius-xl);background:var(--ds-surface-soft);width:100%;color:inherit;cursor:pointer;transition:border-color var(--ds-duration-fast) var(--ds-ease),background-color var(--ds-duration-fast) var(--ds-ease),box-shadow var(--ds-duration-fast) var(--ds-ease)}.file-dropzone__zone--floating{z-index:2;background:var(--ds-surface);width:min(420px,100% - 32px);min-height:190px;box-shadow:var(--ds-shadow-lg);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.file-dropzone__mini:hover:not(:disabled),.file-dropzone__zone:hover:not(.file-dropzone__zone--locked){border-color:var(--ds-brand-soft-line);background:var(--ds-brand-soft)}.file-dropzone__mini:focus-visible,.file-dropzone__zone:focus-visible{box-shadow:var(--ds-focus-ring);outline:none}.file-dropzone__mini--active,.file-dropzone__zone--active{border-color:var(--ds-brand);background:var(--ds-brand-soft)}.file-dropzone__mini:disabled,.file-dropzone__zone--locked{cursor:not-allowed;opacity:.64}.file-dropzone__zone{pointer-events:var(--file-dropzone-zone-pointer-events,inherit);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:260px;padding:32px 24px;display:flex}.file-dropzone__badge,.file-dropzone__mini-badge{background:var(--ds-surface);color:var(--ds-brand);box-shadow:var(--ds-shadow-sm);transition:transform var(--ds-duration-base) var(--ds-ease-spring),background-color var(--ds-duration-fast) var(--ds-ease),color var(--ds-duration-fast) var(--ds-ease);flex-shrink:0;place-items:center;display:grid}.file-dropzone__badge{border-radius:var(--ds-radius-xl);width:64px;height:64px}.file-dropzone__badge svg{width:32px;height:32px}.file-dropzone__mini--active .file-dropzone__mini-badge,.file-dropzone__zone--active .file-dropzone__badge{background:var(--ds-brand);color:var(--ds-on-brand);transform:translateY(-4px)scale(1.06)}.file-dropzone__copy,.file-dropzone__mini-copy{flex-direction:column;min-width:0;display:flex}.file-dropzone__copy{gap:6px;max-width:440px}.file-dropzone__title{color:var(--ds-ink);font-size:var(--ds-text-xl);font-weight:var(--ds-weight-bold);text-wrap:balance;line-height:1.25}.file-dropzone__caption{color:var(--ds-muted);font-size:var(--ds-text-md);text-wrap:pretty;line-height:1.45}.file-dropzone__actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.file-dropzone__camera{min-height:var(--ds-control-md);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-lg);background:var(--ds-surface);color:var(--ds-ink);font-size:var(--ds-text-md);font-weight:var(--ds-weight-bold);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:0 16px;display:none}.file-dropzone__camera:focus-within{box-shadow:var(--ds-focus-ring)}.file-dropzone__camera[aria-disabled=true]{cursor:not-allowed;opacity:.64}.file-dropzone__camera-icon{width:18px;height:18px}.file-dropzone__mini{border-radius:var(--ds-radius-lg);min-height:64px;font:inherit;text-align:left;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid;container-type:inline-size}.file-dropzone__mini-badge{border-radius:var(--ds-radius-md);width:40px;height:40px}.file-dropzone__mini-badge svg{width:22px;height:22px}.file-dropzone__mini-copy{gap:2px}.file-dropzone__mini-title{color:var(--ds-ink);font-size:var(--ds-text-md);font-weight:var(--ds-weight-bold);line-height:1.3}.file-dropzone__mini-caption{color:var(--ds-subtle);font-size:var(--ds-text-xs);-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.file-dropzone__mini-action{min-height:var(--ds-control-sm);border-radius:var(--ds-radius-pill);background:var(--ds-ink);color:var(--ds-on-brand);font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);white-space:nowrap;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.file-dropzone__mini-icon{width:18px;height:18px}@media (max-width:768px){.file-dropzone__zone{gap:14px;padding:24px 16px}.file-dropzone__badge{width:56px;height:56px}.file-dropzone__title{font-size:var(--ds-text-lg)}.file-dropzone__actions{width:min(100%,280px);display:grid}.file-dropzone__camera{display:flex}}@container (width<=400px){.file-dropzone__mini-action{width:var(--ds-control-sm);justify-content:center;padding:0}.file-dropzone__mini-action span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}@media (prefers-reduced-motion:reduce){.file-dropzone__mini--active .file-dropzone__mini-badge,.file-dropzone__zone--active .file-dropzone__badge{transform:none}}}
