:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--blue:#155eef;--blue-dark:#124bc4;--muted:#68758a;--border:#e5eaf2;--surface:#fff;--shadow:0 8px 28px rgba(21,39,72,.055)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7fb}.site-header{height:72px;background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1160px;height:100%;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--blue);color:#fff;font-size:27px;font-weight:700}.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-copy strong{font-size:15px;letter-spacing:-.2px}.brand-copy small{font-size:12px;color:var(--muted);margin-top:3px}.header-badge{display:flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid var(--border);border-radius:30px;color:#536176;font-size:12px;font-weight:600}.status-dot{width:7px;height:7px;border-radius:50%;background:#16a36a}.container{max-width:1160px;margin:0 auto;padding:38px 24px 58px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{margin:0 0 8px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:1.4px}.intro h1{margin:0;font-size:clamp(24px,3vw,31px);letter-spacing:-1px;line-height:1.2}.intro-text{margin:9px 0 0;color:var(--muted);font-size:14px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:23px 24px;margin-bottom:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{font-size:17px;letter-spacing:-.3px;margin:0}.section-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-weight:800}.upload-icon{background:#eaf1ff;color:var(--blue);font-size:20px}.files-icon{background:#e9f8f1;color:#128353}.limit-label{font-size:12px;color:var(--muted)}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.search-control>span{font-size:12px;font-weight:650;color:#48566c}.field input,.field select,.search-control input,.entries-control select{height:42px;width:100%;border:1px solid #dce3ed;border-radius:8px;background:#fff;padding:0 12px;color:#202b3d;font:inherit;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.search-control input:focus,.entries-control select:focus{border-color:#7da6ff;box-shadow:0 0 0 3px rgba(21,94,239,.1)}.drop-zone{min-height:116px;margin-top:16px;border:1.5px dashed #cbd6e6;border-radius:10px;background:#fafcff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:border-color .15s,background .15s}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--blue);background:#f3f7ff}.drop-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:22px}.drop-zone strong{font-size:13px}.drop-hint{font-size:11px;color:var(--muted)}.upload-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:16px}.password-field{width:min(340px,100%)}.button{height:41px;border:0;border-radius:8px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}.button:active{transform:translateY(1px)}.button:disabled{opacity:.6;cursor:wait}.button-primary{background:var(--blue);color:#fff;min-width:132px}.button-primary:hover{background:var(--blue-dark);box-shadow:0 4px 12px rgba(21,94,239,.2)}.button-secondary{background:#fff;border:1px solid var(--border);color:#46546a}.button-secondary:hover{background:#f8faff}.button-secondary span{font-size:18px}.progress-track{height:5px;background:#eaf0fa;border-radius:10px;overflow:hidden;margin-top:15px}.progress-track span{display:block;width:35%;height:100%;border-radius:10px;background:var(--blue);animation:progress 1.1s ease-in-out infinite alternate}@keyframes progress{from{transform:translateX(-10%)}to{transform:translateX(190%)}}.form-message,.table-message{min-height:0;margin:8px 0 0;font-size:12px}.form-message:empty,.table-message:empty{display:none}.success{color:#128353}.error{color:#c03935}.files-panel{padding-bottom:16px}.files-heading{margin-bottom:16px}.count-pill{min-width:24px;height:22px;padding:0 7px;display:grid;place-items:center;border-radius:20px;background:#edf3ff;color:var(--blue);font-size:11px;font-weight:700}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.entries-control{display:flex;align-items:center;gap:7px;color:#657187;font-size:12px}.entries-control select{width:66px;height:34px;padding:0 8px}.search-control{display:flex;align-items:center;gap:9px;color:#657187;font-size:12px}.search-control input{width:230px;height:35px}.table-wrap{width:100%;overflow:auto;border:1px solid var(--border);border-radius:9px}.files-table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px;font-size:12px}.files-table thead th{position:sticky;top:0;z-index:1;background:#f8faff;border-bottom:1px solid var(--border);padding:0 14px;height:43px;text-align:left;color:#59667b;font-weight:700;white-space:nowrap}.files-table tbody td{height:55px;padding:9px 14px;border-bottom:1px solid #edf0f5;color:#455268;white-space:nowrap}.files-table tbody tr:last-child td{border-bottom:0}.files-table tbody tr:hover{background:#fbfcff}.sort-button{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer}.sort-button span{margin-left:4px;color:#9aa5b5}.file-title-cell{cursor:pointer;max-width:260px;overflow:hidden;text-overflow:ellipsis;font-weight:650;color:#202b3d!important}.category-chip{display:inline-block;padding:5px 8px;border-radius:20px;background:#f0f4fa;color:#58667a;font-size:11px}.action-heading{text-align:center!important}.action-cell{text-align:center}.table-action{border:0;background:transparent;padding:6px 8px;border-radius:6px;color:var(--blue);font:inherit;font-size:12px;font-weight:650;cursor:pointer}.table-action:hover{background:#edf3ff}.table-action.delete{color:#c34a4a}.table-action.delete:hover{background:#fff0f0}.table-state{text-align:center!important;color:var(--muted)!important;height:100px!important}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;color:var(--muted);font-size:11px}.pagination{display:flex;gap:5px}.page-button{min-width:29px;height:29px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;color:#56647a;font:inherit;cursor:pointer}.page-button.active{border-color:var(--blue);background:var(--blue);color:#fff}.page-button:disabled{opacity:.4;cursor:default}.site-footer{text-align:center;padding:22px 16px 28px;color:#8994a5;font-size:11px}.site-footer a{color:#53647f;text-decoration:none;font-weight:700}.site-footer a:hover{text-decoration:underline}.hidden-frame{position:absolute;width:0;height:0;border:0;visibility:hidden}.noscript{margin:20px;text-align:center;color:#a33}
@media(max-width:700px){.header-inner{padding:0 16px}.container{padding:27px 14px 42px}.intro{align-items:flex-start}.intro h1{font-size:24px}.intro-text{font-size:12px;max-width:290px;line-height:1.5}.intro>.button{padding:0 11px;font-size:12px}.panel{padding:18px 15px;border-radius:12px}.section-heading{align-items:flex-start}.limit-label{max-width:130px;text-align:right;line-height:1.4;font-size:10px}.upload-grid{grid-template-columns:1fr;gap:12px}.drop-zone{min-height:108px}.upload-actions{align-items:stretch;flex-direction:column}.password-field{width:100%}.button-primary{width:100%}.table-tools{align-items:flex-start;flex-direction:column}.search-control{width:100%;justify-content:space-between}.search-control input{width:min(65%,260px)}.table-footer{align-items:flex-start;flex-direction:column}.files-table{min-width:680px}.header-badge{font-size:0;padding:8px}.header-badge .status-dot{width:8px;height:8px}.brand-copy strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ------------------------------------------------------------------
   Quick Share additions
   ------------------------------------------------------------------ */
[hidden]{display:none!important}
.intro-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.quick-share-panel .section-icon{background:#eaf1ff;color:var(--blue);font-size:18px}
.quick-share-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.quick-share-fields .field input,.quick-share-fields .field select{height:42px}
.editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:7px;border:1px solid #dce3ed;border-bottom:0;border-radius:10px 10px 0 0;background:#f8faff}
.editor-toolbar button{min-width:34px;height:32px;padding:0 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#43516a;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.editor-toolbar button:hover{background:#eaf1ff;border-color:#d8e3f8;color:var(--blue)}
.editor-toolbar button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.editor-toolbar button b,.editor-toolbar button i,.editor-toolbar button u{font-size:13px}
.toolbar-separator{width:1px;height:20px;margin:0 3px;background:#dce3ed}
.quick-share-editor{min-height:220px;max-height:55vh;overflow:auto;border:1px solid #dce3ed;border-radius:0 0 10px 10px;padding:16px;background:#fff;font-size:14px;line-height:1.65;color:#202b3d;outline:none;overflow-wrap:anywhere}
.quick-share-editor:focus{border-color:#7da6ff;box-shadow:0 0 0 3px rgba(21,94,239,.1)}
.quick-share-editor:empty::before{content:attr(data-placeholder);color:#9aa5b5;pointer-events:none}
.quick-share-editor p,.quick-share-editor div,.quick-share-editor h1,.quick-share-editor h2,.quick-share-editor h3,.quick-share-editor h4,.quick-share-editor h5,.quick-share-editor h6{margin:0 0 .85em;line-height:1.45}
.quick-share-editor h1{font-size:1.5em}
.quick-share-editor h2{font-size:1.3em}
.quick-share-editor h3{font-size:1.15em}
.quick-share-editor ul,.quick-share-editor ol{margin:.45em 0 .9em;padding-left:1.7em}
.quick-share-editor blockquote{margin:.75em 0;padding-left:12px;border-left:3px solid #cbd6e6;color:#55637a}
.quick-share-editor a{color:var(--blue)}
.quick-share-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:14px}
.quick-share-preview{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.quick-share-preview .section-heading{margin-bottom:12px}
.preview-content{font-size:14px;line-height:1.65;color:#202b3d;overflow-wrap:anywhere}
.preview-content p,.preview-content div,.preview-content h1,.preview-content h2,.preview-content h3,.preview-content h4,.preview-content h5,.preview-content h6{margin:0 0 .85em;line-height:1.45}
.preview-content h1{font-size:1.5em}
.preview-content h2{font-size:1.3em}
.preview-content h3{font-size:1.15em}
.preview-content ul,.preview-content ol{margin:.45em 0 .9em;padding-left:1.7em}
.preview-content blockquote{margin:.75em 0;padding-left:12px;border-left:3px solid #cbd6e6;color:#55637a}
.preview-content a{color:var(--blue)}
.preview-content:empty::before{content:"Nothing to display.";color:var(--muted)}
.type-badge{display:inline-block;padding:4px 8px;border-radius:20px;font-size:10.5px;font-weight:750;letter-spacing:.2px}
.type-file{background:#eef3ff;color:#1d4ed8}
.type-text{background:#eefaf4;color:#0b7a4b}
.type-link{background:#fff4e6;color:#a85a00}
.title-link{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:none;padding:0;color:#202b3d;font:inherit;font-weight:650;text-align:left;cursor:pointer}
.title-link:hover{color:var(--blue);text-decoration:underline}
.action-group{display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap}
.files-table{min-width:840px}
.modal-open{overflow:hidden}
.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;background:rgba(16,28,48,.5)}
.modal{width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:14px;padding:22px 24px;box-shadow:0 24px 70px rgba(10,22,45,.35)}
.modal .section-heading{margin-bottom:10px}
.view-meta{margin:0 0 12px;color:var(--muted);font-size:12px}
.view-content{max-height:55vh;overflow:auto;border:1px solid var(--border);border-radius:9px;padding:16px;background:#fbfcff}
.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;flex-wrap:wrap}
.toast{position:fixed;left:50%;bottom:22px;z-index:100;transform:translate(-50%,14px);max-width:min(92vw,460px);padding:11px 16px;border-radius:9px;background:#172033;color:#fff;font-size:12.5px;font-weight:600;box-shadow:0 10px 30px rgba(10,22,45,.28);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.error{background:#a12f2f}
@media(max-width:700px){
  .intro-actions{width:100%;flex-wrap:wrap}
  .intro-actions .button{flex:1}
  .quick-share-fields{grid-template-columns:1fr;gap:12px}
  .quick-share-editor{min-height:200px}
  .quick-share-actions{flex-direction:column}
  .quick-share-actions .button{width:100%}
  .modal{padding:18px 15px}
  .modal-actions{flex-direction:column}
  .modal-actions .button{width:100%}
  .title-link{max-width:190px}
  .files-table{min-width:780px}
}
