:root{--font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;--font-size-base: 16px;--background: #f6f7fb;--foreground: #111827;--card: #ffffff;--card-foreground: #111827;--muted: #f4f4f5;--muted-foreground: #52525b;--border: #e4e4e7;--input-border: #d4d4d8;--input-bg: #ffffff;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-foreground: #ffffff;--secondary: #ffffff;--secondary-hover: #f4f4f5;--secondary-foreground: #27272a;--ring: rgba(37, 99, 235, .25);--danger: #dc2626;--radius-sm: 8px;--radius-md: 10px;--radius-lg: 12px;--radius-full: 999px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 10px 28px rgba(0, 0, 0, .12)}*,*:before,*:after{box-sizing:border-box}html{font-size:var(--font-size-base)}body{margin:0;min-width:320px;font-family:var(--font-sans);background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4,p{margin:0}button,input{font:inherit}.app-shell{height:100vh;background:var(--background);color:var(--foreground);display:flex;flex-direction:column;overflow:hidden}.app-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--card) 88%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}.app-header-inner{height:66px;padding:0 26px;display:flex;align-items:center;justify-content:space-between}.app-title{margin:0;font-size:1.02rem;font-weight:700;letter-spacing:.01em}.app-header-actions{display:flex;align-items:center;gap:10px}.bookmark-anchor,.settings-anchor{position:relative}.app-header-upload-trigger{display:inline-flex;align-items:center;gap:6px}.app-header-upload-icon{width:16px;height:16px}.bookmark-trigger,.settings-trigger{border-radius:var(--radius-full)}.bookmark-trigger-icon,.settings-trigger-icon{width:16px;height:16px}.bookmark-menu-shell,.settings-menu-shell{position:absolute;top:calc(100% + 12px);right:0;border:1px solid var(--border);border-radius:calc(var(--radius-lg) + 2px);background:var(--card);box-shadow:var(--shadow-md);overflow:hidden}.settings-menu-shell{width:min(388px,calc(100vw - 24px))}.bookmark-menu-shell{width:min(330px,calc(100vw - 24px))}.bookmark-menu-list{margin:0;padding:8px;list-style:none;display:grid;gap:2px}.bookmark-menu-item{display:flex;align-items:center;gap:10px;width:100%;border-radius:var(--radius-md);padding:9px 10px;color:color-mix(in srgb,var(--foreground) 88%,white 12%);text-decoration:none}.bookmark-menu-item:hover{background:var(--muted)}.bookmark-menu-item:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--ring)}.bookmark-menu-item-icon-wrap{width:18px;height:18px;border-radius:4px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.bookmark-menu-item-icon{width:16px;height:16px}.bookmark-menu-item-icon-fallback{width:14px;height:14px;color:var(--muted-foreground)}.bookmark-menu-item-title{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-form{width:100%;padding:18px;display:grid;gap:22px}.settings-group{display:grid;gap:12px}.settings-group-title{margin:0;font-size:.9rem;letter-spacing:.08em;color:var(--foreground);font-weight:800}.settings-field{display:grid;gap:6px}.settings-field label{font-size:.875rem;color:color-mix(in srgb,var(--foreground) 80%,white 20%);font-weight:500}.settings-field p{margin:0;color:var(--danger);font-size:.75rem}.settings-token-input{position:relative}.settings-token-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted-foreground);display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:var(--radius-sm);cursor:pointer}.settings-token-toggle:hover{color:var(--foreground)}.settings-token-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring)}.settings-token-toggle-icon{width:16px;height:16px}.settings-footer{border-top:1px solid var(--border);padding:12px 18px;display:flex;justify-content:flex-end;gap:10px}.settings-save-icon{width:16px;height:16px}.app-main{flex:1;width:100%;max-width:none;margin:0;padding:12px 4px;min-height:0;overflow:auto}.uploader-card{width:100%;max-height:min(82vh,760px);overflow:auto;padding:24px;display:flex;flex-direction:column;gap:12px}.uploader-header{display:flex;align-items:center;justify-content:space-between}.uploader-header-title-wrap{display:flex;align-items:flex-start;gap:10px}.uploader-title-icon{width:20px;height:20px;margin-top:2px}.uploader-title-icon--active{color:var(--primary)}.uploader-title-icon--inactive{color:var(--muted-foreground)}.uploader-title{margin:0;font-size:clamp(1.2rem,1rem + .7vw,1.6rem);line-height:1.25;letter-spacing:-.01em}.uploader-close{border:0;background:transparent;padding:6px;border-radius:var(--radius-sm);cursor:pointer}.uploader-close:hover{background:var(--muted)}.uploader-close-icon{width:18px;height:18px;color:var(--muted-foreground)}.uploader-dropzone{flex:1;min-height:0;border:1.5px dashed color-mix(in srgb,var(--primary) 28%,var(--border) 72%);background:linear-gradient(180deg,#f9fbff,#f5f8ff);border-radius:var(--radius-lg);padding:24px 18px;display:grid;place-content:center;justify-items:center;text-align:center;gap:8px;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.uploader-dropzone--enabled:hover{border-color:color-mix(in srgb,var(--primary) 52%,var(--border) 48%);background:linear-gradient(180deg,#f4f8ff,#eef4ff);transform:translateY(-1px);box-shadow:0 8px 18px #2563eb1f}.uploader-dropzone--dragging{transform:translateY(-1px);border-color:color-mix(in srgb,var(--primary) 70%,white 30%);background:linear-gradient(180deg,#eff4ff,#eef3ff)}.uploader-dropzone--disabled{cursor:not-allowed;opacity:.6}.uploader-input{display:none}.uploader-dropzone-icon{width:30px;height:30px;color:var(--primary)}.uploader-dropzone-icon--disabled{color:var(--muted-foreground)}.uploader-dropzone-title{margin:0;font-size:.96rem;font-weight:600}.uploader-dropzone-description{margin:0;font-size:.82rem;color:var(--muted-foreground)}.uploader-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.uploader-body{flex:1;min-height:0;display:flex;flex-direction:column}.upload-history-page{height:100%;display:flex;flex-direction:column;gap:14px}.upload-history-header{padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.upload-history-title-wrap{display:flex;align-items:center;gap:10px}.upload-history-icon{width:20px;height:20px;color:#7c3aed}.upload-history-title{margin:0;font-size:1.06rem}.upload-history-upload-icon{width:16px;height:16px}.upload-history-body{min-height:0;flex:1;padding:0 0 20px;display:flex}.upload-history-empty{margin:0;color:var(--muted-foreground);font-size:.9rem;padding:24px 4px 8px}.upload-history-workspace{width:100%;height:100%;display:grid;grid-template-columns:minmax(96px,230px) minmax(0,5fr) minmax(0,3fr);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);overflow:hidden;min-height:0}.upload-history-workspace--empty{display:flex;align-items:center;justify-content:center;grid-template-columns:unset}.upload-history-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px}.upload-history-empty-state-steps{margin:0;padding-left:1.25rem;color:var(--muted-foreground);font-size:.9rem;line-height:1.6;text-align:left}.upload-history-column{min-width:0;display:flex;flex-direction:column;overflow:hidden}.upload-history-column+.upload-history-column{border-left:1px solid var(--border)}.upload-history-column-header{min-height:40px;padding:0 12px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--muted) 68%,var(--card) 32%);display:flex;align-items:center;justify-content:space-between;gap:10px}.upload-history-column-title{margin:0;font-size:.88rem;font-weight:800;letter-spacing:.03em}.upload-history-column-body{min-height:0;display:flex;flex:1;overflow:auto;background:color-mix(in srgb,var(--card) 97%,var(--muted) 3%)}.upload-history-column-body--document,.upload-history-column-body--placeholder{align-items:center;justify-content:center}.upload-history-column-body--document-panel{overflow:hidden}.upload-history-column-body--validation{padding:0}.upload-history-panel-message,.upload-history-document-placeholder{margin:0;color:var(--muted-foreground);text-align:center;font-size:.9rem;line-height:1.5}.upload-history-file-list{width:100%;display:flex;flex-direction:column;align-content:start}.upload-history-file-item{width:100%;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:10px 12px;display:flex;flex-direction:row;align-items:flex-start;gap:10px;text-align:left;cursor:pointer;position:relative}.upload-history-file-item:before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;border-radius:0;background:transparent}.upload-history-file-item--selected{background:color-mix(in srgb,var(--primary) 9%,var(--card) 91%)}.upload-history-file-item--selected:before{background:var(--primary)}.upload-history-file-main{min-width:0;min-height:60px;flex:1;display:flex;flex-direction:row;align-items:center;gap:10px}.upload-history-file-copy{min-width:0;flex:1}.upload-history-file-name{margin:0;font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-history-file-time{margin-top:3px;font-size:.78rem;color:var(--muted-foreground)}.upload-history-file-size{margin:0;font-size:.78rem;color:var(--muted-foreground)}.upload-history-file-meta{display:flex;flex-direction:column;gap:2px}.upload-history-file-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.upload-history-file-icon,.upload-history-filter-icon{width:16px;height:16px;flex-shrink:0}.upload-history-file-icon--image{color:#0f766e}.upload-history-file-icon--document{color:#1d4ed8}.upload-history-status-badge{border-radius:var(--radius-full);padding:4px 10px;font-size:.74rem;font-weight:700;white-space:nowrap}.upload-history-status-badge--pending{color:#92400e;background:#fff3cd;border:1px solid #f3d38a}.upload-history-status-badge--approved{color:#166534;background:#dcfce7;border:1px solid #86efac}.upload-history-status-badge--rejected{color:#991b1b;background:#fee2e2;border:1px solid #fca5a5}.upload-history-status-badge--review-required{color:#a16207;background:#fef3c7;border:1px solid #fcd34d}.upload-history-filter-anchor{position:relative}.upload-history-filter-button{min-width:36px;position:relative}.upload-history-filter-button--active{color:color-mix(in srgb,var(--primary) 78%,var(--foreground) 22%)}.upload-history-filter-indicator{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:999px;background:#7c3aed;border:1px solid var(--card)}.upload-history-filter-menu{position:fixed;z-index:80;min-width:172px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--shadow-md);display:grid;gap:4px}.upload-history-filter-option{width:100%;border:0;border-radius:var(--radius-sm);background:transparent;padding:8px 10px;text-align:left;font-size:.84rem;color:var(--foreground);cursor:pointer}.upload-history-filter-option:hover,.upload-history-filter-option--active{background:var(--muted)}.upload-history-document-panel{width:100%;min-height:100%;border:0;border-radius:0;padding:12px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 6%,var(--card) 94%),color-mix(in srgb,var(--secondary) 30%,var(--card) 70%));overflow:hidden}.upload-history-preview-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px}.upload-history-preview-tool{width:32px;height:32px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);color:var(--foreground);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-sm)}.upload-history-preview-tool:hover:not(:disabled){background:var(--muted)}.upload-history-preview-tool:disabled{cursor:not-allowed;opacity:.45}.upload-history-preview-tool-icon,.upload-history-preview-state-icon{width:16px;height:16px}.upload-history-preview-state{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16;background:transparent;padding:24px}.upload-history-preview-state-icon{color:var(--muted-foreground)}.upload-history-preview-state-icon--spinning{animation:upload-history-spin 1s linear infinite}.upload-history-preview-retry{color:var(--foreground)}.upload-history-preview-canvas,.upload-history-preview-modal-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:color-mix(in srgb,white 68%,var(--card) 32%);padding:16px}.upload-history-preview-image-stage{position:relative;display:inline-block;cursor:grab}.upload-history-preview-image-stage--dragging{cursor:grabbing}.upload-history-preview-image{display:block;max-width:100%;max-height:100%;object-fit:contain;-webkit-user-select:none;user-select:none}.upload-history-bounding-box-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.upload-history-bounding-box-overlay-rect{fill:none;stroke:#dc2626d1;stroke-width:.004}.upload-history-bounding-box-overlay-label-chip{fill:#dc2626d1;stroke:#dc2626d1;stroke-width:.0015}.upload-history-bounding-box-overlay-label{fill:#fffffffa;font-size:.011px;font-weight:600;letter-spacing:0}.upload-history-preview-modal-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:#0f172aa3}.upload-history-preview-modal{width:min(96vw,1320px);height:min(94vh,920px);border-radius:calc(var(--radius-lg) + 2px);background:var(--card);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden}.upload-history-preview-modal-header{min-height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}.upload-history-preview-modal-title-wrap{min-width:0;display:flex;align-items:center;gap:8px}.upload-history-preview-modal-title-icon{width:16px;height:16px;color:var(--muted-foreground);flex-shrink:0}.upload-history-preview-modal-title{margin:0;min-width:0;font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes upload-history-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.upload-history-validation-pane{width:100%;display:flex;flex-direction:column}.upload-history-validation-actions{padding:16px 16px 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.upload-history-action-button{width:100%;min-height:32px;padding:0 12px;color:#fff;border:0;box-shadow:var(--shadow-sm)}.upload-history-action-button.ui-button--default.upload-history-action-button--approve{background:#16a34a}.upload-history-action-button.ui-button--default.upload-history-action-button--approve:hover:not(:disabled){background:#15803d}.upload-history-action-button.ui-button--default.upload-history-action-button--reject{background:#b91c1c}.upload-history-action-button.ui-button--default.upload-history-action-button--reject:hover:not(:disabled){background:#991b1b}.upload-history-action-button.ui-button--default.upload-history-action-button--save{background:#7c3aed}.upload-history-action-button.ui-button--default.upload-history-action-button--save:hover:not(:disabled){background:#6d28d9}.upload-history-action-button.ui-button--default.upload-history-action-button--revert{background:#2563eb}.upload-history-action-button.ui-button--default.upload-history-action-button--revert:hover:not(:disabled){background:#1d4ed8}.upload-history-action-button--active{box-shadow:inset 0 0 0 2px #ffffff61}.validation-toast-content{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:min(100%,300px);overflow:hidden}.validation-toast-label{flex-shrink:0}.validation-toast-filename{font-style:italic;flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-history-action-icon,.upload-history-save-icon{width:14px;height:14px}.upload-history-validation-table-wrap{border-top:1px solid var(--border);overflow:auto}.upload-history-validation-table{width:100%;border-collapse:collapse;table-layout:fixed}.upload-history-validation-table thead{position:sticky;top:0;z-index:1;background:color-mix(in srgb,var(--muted) 68%,var(--card) 32%)}.upload-history-validation-table th,.upload-history-validation-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.upload-history-validation-row--hovered td{background:color-mix(in srgb,#f59e0b 10%,var(--card) 90%)}.upload-history-validation-table th{font-size:.82rem;font-weight:700;color:color-mix(in srgb,var(--foreground) 82%,white 18%)}.upload-history-validation-group-row th{padding:8px 12px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--muted) 78%,var(--card) 22%);font-size:.74rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:color-mix(in srgb,var(--foreground) 72%,white 28%)}.upload-history-field-cell{position:relative;display:inline-flex;align-items:center;gap:8px}.upload-history-field-name{font-size:.84rem;color:color-mix(in srgb,var(--foreground) 92%,white 8%);cursor:default}.upload-history-field-status-icon{width:14px;height:14px;flex-shrink:0}.upload-history-field-status-icon--success{color:#15803d}.upload-history-field-status-icon--failed{color:#b91c1c}.upload-history-field-status-icon--pending{color:#a16207}.upload-history-edited-icon{width:14px;height:14px;color:#ca8a04;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.upload-history-edited-icon-glyph{width:14px;height:14px}.upload-history-reason-hover{position:absolute;left:0;top:calc(100% + 8px);z-index:5;min-width:180px;max-width:240px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--shadow-md);font-size:.76rem;color:var(--muted-foreground);opacity:0;pointer-events:none;transition:opacity .15s ease}.upload-history-field-cell:hover .upload-history-reason-hover{opacity:1}.upload-history-extracted-input,.upload-history-extracted-select{width:100%;border:1px solid var(--input-border);border-radius:var(--radius-sm);background:var(--input-bg);min-height:32px;padding:6px 8px;font-size:.82rem;color:var(--foreground)}.upload-history-extracted-input:focus,.upload-history-extracted-select:focus{outline:none;box-shadow:0 0 0 3px var(--ring);border-color:color-mix(in srgb,var(--ring) 58%,var(--input-border) 42%)}.upload-history-checkbox-wrap{min-height:32px;display:inline-flex;align-items:center}.upload-history-extracted-checkbox{width:16px;height:16px}@media(max-width:960px){.upload-history-workspace{grid-template-columns:1fr;min-height:auto}.upload-history-column{min-height:220px}.upload-history-column+.upload-history-column{border-left:0;border-top:1px solid var(--border)}}.uploader-modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;padding:16px;z-index:60}.uploader-modal-panel{width:min(760px,100%);max-height:min(82vh,760px);display:flex}.uploader-section{border-radius:var(--radius-md);border:1px solid var(--border);padding:12px;display:flex;flex-direction:column;gap:10px;min-height:0;max-height:100%}.uploader-section--pending{background:#f5f9ff;border-color:#dbe8ff}.uploader-section-header{display:flex;align-items:center;gap:8px}.uploader-section-header p{margin:0;font-size:.87rem;font-weight:600}.uploader-file-list{flex:0 1 auto;min-height:0;overflow-y:auto;display:grid;gap:8px;align-content:start}.uploader-file-item{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);padding:10px;display:flex;align-items:center;gap:10px}.uploader-file-icon{width:18px;height:18px;flex-shrink:0}.uploader-file-icon--image{color:#7c3aed}.uploader-file-icon--document{color:#1d4ed8}.uploader-file-meta{min-width:0;flex:1}.uploader-file-name{margin:0;font-size:.86rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uploader-file-size{margin:0;font-size:.76rem;color:var(--muted-foreground)}.uploader-file-remove{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:5px;cursor:pointer;border-radius:var(--radius-sm)}.uploader-file-remove:hover{background:var(--muted)}.uploader-file-remove-icon{width:16px;height:16px;color:var(--muted-foreground)}.uploader-actions{display:flex;flex-wrap:wrap;gap:8px}.uploader-actions .ui-button{flex:1}.uploader-action-icon{width:16px;height:16px}.ui-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);color:var(--card-foreground);box-shadow:var(--shadow-sm)}.ui-button{border:1px solid transparent;border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.ui-button:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring)}.ui-button:disabled{opacity:.5;cursor:not-allowed}.ui-button--size-default{min-height:36px;min-width:84px;padding:0 14px}.ui-button--size-sm{min-height:32px;min-width:76px;padding:0 12px}.ui-button--size-icon{width:36px;height:36px;padding:0}.ui-button--default{background:var(--primary);color:var(--primary-foreground)}.ui-button--default:hover:not(:disabled){background:var(--primary-hover)}.ui-button--secondary{background:var(--secondary);color:var(--secondary-foreground);border-color:var(--input-border)}.ui-button--secondary:hover:not(:disabled){background:var(--secondary-hover)}.ui-button--outline{background:var(--card);color:color-mix(in srgb,var(--foreground) 76%,white 24%);border-color:var(--input-border)}.ui-button--outline:hover:not(:disabled){background:var(--muted)}.ui-button--ghost{background:transparent;color:color-mix(in srgb,var(--foreground) 76%,white 24%)}.ui-button--ghost:hover:not(:disabled){background:var(--muted)}.ui-input{width:100%;max-width:100%;border:1px solid var(--input-border);border-radius:var(--radius-sm);background:var(--input-bg);min-height:38px;padding:0 12px;font-size:.875rem;color:var(--foreground);transition:border-color .15s ease,box-shadow .15s ease}.ui-input::placeholder{color:color-mix(in srgb,var(--muted-foreground) 70%,white 30%)}.ui-input:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}.ui-input[aria-invalid=true]{border-color:color-mix(in srgb,var(--danger) 70%,black 30%);box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 18%,transparent)}.settings-token-input-control{padding-right:2.5rem}@media(max-width:640px){.app-header-inner{padding:0 16px}.app-main{padding:22px 16px}.hero-card{padding:22px}.settings-menu-shell{width:min(388px,calc(100vw - 16px))}.bookmark-menu-shell{width:min(330px,calc(100vw - 16px))}}
