:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e8e5df; background: #101112; font-synthesis: none;
  --muted: #898986; --orange: #f08764; --border: #2b2b2b; --surface: #191a1b;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea, input, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.shell { max-width: 1032px; margin: auto; padding: 0 40px 60px; }
header { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; color: #efebe5; font-size: 30px; font-weight: 700; letter-spacing: -1.4px; gap: 10px; }
.brand-icon { background: var(--orange); color: #271911; height: 37px; width: 37px; border-radius: 11px; display: grid; place-items: center; transform: rotate(-5deg); }
.brand-icon svg { width: 25px; height: 25px; stroke-width: 1.8; }
.brand-period { color: var(--orange); margin-left: -10px; }
.account-bar { display: flex; align-items: center; gap: 8px; }
#account-name { font-size: 12px; color: var(--muted); max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.connection { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #97ad99; margin-right: 13px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #91b593; display: inline-block; }
.connection.offline { color: #c3a46b; }
.connection.offline .status-dot { background: #c3a46b; }
.intro { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 22px; }
h1 { font-size: 27px; font-weight: 560; line-height: 1.2; letter-spacing: -.8px; margin: 0; }
.retention { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.retention svg { width: 15px; height: 15px; }
.send-panel { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 12px; gap: 12px; }
.dropzone { min-height: 234px; border: 1px dashed #41403c; background: #151617; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: inherit; transition: background .15s, border-color .15s; }
.dropzone:hover { background: #241d19; border-color: var(--orange); }
.upload-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 13px; background: #212120; border: 1px solid #33312e; margin-bottom: 17px; color: #b9b1a4; }
.upload-icon svg { width: 22px; height: 22px; }
.drop-title { font-size: 15px; font-weight: 550; }
.drop-sub { font-size: 12px; color: var(--muted); margin-top: 8px; }
.drop-sub span { color: var(--orange); }
.drop-sub button { padding: 2px; border: 0; background: none; color: var(--orange); }
.drop-sub button:hover { text-decoration: underline; }
.composer { padding: 10px 13px 9px; display: flex; flex-direction: column; min-width: 0; }
.composer-heading { display: flex; justify-content: space-between; align-items: center; }
.composer label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #a5a29c; }
.composer label svg { width: 16px; height: 16px; }
.draft-area { position: relative; flex: 1; display: flex; min-height: 128px; }
.composer textarea { resize: none; border: 0; outline: none; width: 100%; min-height: 128px; padding: 14px 0 12px; color: #e2ddd5; font-size: 14px; line-height: 1.65; background: transparent; tab-size: 4; position: relative; z-index: 1; }
.composer textarea::placeholder { color: #777773; }
.composer.has-suggestion textarea::placeholder { color: transparent; }
.clipboard-suggestion { position: absolute; inset: 14px 0 12px; pointer-events: none; overflow: hidden; color: #767874; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; opacity: .8; }
.suggested-file { display: flex; align-items: center; gap: 10px; white-space: normal; padding: 5px 0; }
.suggested-file img { width: 65px; height: 65px; object-fit: contain; border-radius: 5px; opacity: .7; }
.suggested-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.draft-files { display: flex; gap: 5px; flex-wrap: wrap; padding-bottom: 12px; }
.draft-file { background: #282725; border: 1px solid #38332e; display: flex; align-items: center; border-radius: 6px; padding-left: 8px; font-size: 11px; max-width: 100%; }
.draft-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 5px; }
.composer-bottom > span { font-size: 11px; color: var(--muted); }
.send-button { border: 0; background: var(--orange); color: #231812; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 7px; padding: 10px 14px; font-size: 12px; font-weight: 600; transition: background .15s; }
.send-button:hover:not(:disabled) { background: #ffa180; }
.send-button svg { width: 16px; height: 16px; }
.shared-section { margin-top: 34px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
h2 { font-size: 14px; font-weight: 550; margin: 0; display: flex; align-items: center; gap: 9px; }
#item-count { font-size: 10px; color: #a3a29b; border: 1px solid #383836; min-width: 20px; height: 19px; display: grid; place-items: center; border-radius: 5px; background: #1c1d1d; }
.items { display: flex; flex-direction: column; gap: 10px; }
.item-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; overflow: hidden; min-width: 0; transition: border-color .15s; }
.item-card:hover { border-color: #46433d; }
.item-main { display: flex; gap: 13px; padding: 17px 18px; align-items: center; }
.file-icon { display: grid; place-items: center; background: #252624; border: 1px solid #343630; border-radius: 8px; color: #a4ab99; width: 38px; height: 43px; flex-shrink: 0; }
.file-icon svg { width: 21px; height: 21px; }
.file-info { min-width: 0; flex: 1; }
.file-name { margin: 0; font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.5; }
.file-meta { font-size: 11px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 6px; }
.verified { display: inline-flex; align-items: center; color: #97ab8f; gap: 3px; font-size: 10px; }
.verified svg { width: 11px; height: 11px; }
.item-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff09; padding: 8px 12px 8px 18px; gap: 8px; min-height: 45px; }
.item-card[data-visibility="public"] { background: #251e1a; }
.item-card:is([data-visibility="public"], [data-visibility="link"], [data-visibility="users"]) { border-color: #69402e; }
.item-card:is([data-visibility="public"], [data-visibility="link"], [data-visibility="users"]):hover { border-color: #965639; }
.visibility-toggle { display: inline-flex; padding: 2px; border: 1px solid #45433d; border-radius: 6px; }
.visibility-toggle button { border: 0; border-radius: 3px; padding: 5px 7px; background: transparent; color: var(--muted); font-size: 11px; }
.visibility-toggle button[aria-pressed="true"] { background: #43332a; color: var(--orange); }
.note-content a { color: #f0a082; text-decoration-color: #a6674e; text-underline-offset: 3px; }
.note-content a:hover { color: #ffc5aa; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.expiry { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 11px; white-space: nowrap; }
.expiry svg { height: 12px; width: 12px; }
.item-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.icon-button { background: transparent; border: 0; color: #8e908c; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; text-decoration: none; flex-shrink: 0; }
.icon-button svg { width: 16px; height: 16px; }
.icon-button:hover { background: #2b2c2b; color: #e9e3d8; }
.icon-button.delete:hover { background: #36241f; color: #f2a28a; }
.action-button { border: 1px solid #353633; background: #262724; border-radius: 5px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #cecec2; text-decoration: none; white-space: nowrap; }
.action-button:hover { background: #32332d; border-color: #4d4d40; }
.action-button svg { width: 14px; height: 14px; }
.note-content { margin: 0; padding: 16px 18px 17px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 230px; overflow: auto; tab-size: 4; color: #d3d0c8; }
.note-label { color: #9a9b8d; font-size: 10px; letter-spacing: .8px; font-weight: 500; }
.note-header { padding: 15px 18px 11px; display: flex; align-items: center; justify-content: space-between; }
.note-header > span { display: flex; align-items: center; gap: 7px; }
.note-header svg { width: 14px; height: 14px; }
.image-preview { display: block; max-width: calc(100% - 36px); max-height: 300px; width: auto; height: auto; margin: 18px 18px 0; border-radius: 6px; object-fit: contain; background: repeating-conic-gradient(#252626 0% 25%, #1e1f1f 0% 50%) 50% / 16px 16px; }
.empty { border: 1px dashed #32332e; border-radius: 12px; text-align: center; padding: 34px 20px; color: #898c80; }
.empty-icon { display: grid; place-items: center; background: #21231f; color: #8b927d; border-radius: 13px; width: 43px; height: 43px; margin: 0 auto 15px; transform: rotate(-7deg); }
.empty-icon svg { width: 23px; height: 23px; }
.empty h3 { font-weight: 400; font-size: 13px; margin: 0; }
.loading { padding: 50px; text-align: center; font-size: 12px; color: var(--muted); }
.transfers:empty { display: none; }
.transfers { margin-top: 14px; display: grid; gap: 7px; }
.transfer { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; }
.transfer > .file-icon { width: 30px; height: 34px; }
.transfer-content { flex: 1; min-width: 0; }
.transfer-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; }
.transfer-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #bcbdb3; }
.transfer-status { white-space: nowrap; color: var(--muted); font-size: 10px; }
.transfer progress { width: 100%; height: 3px; display: block; margin-top: 9px; accent-color: var(--orange); border: 0; background: #34332e; border-radius: 4px; overflow: hidden; }
.transfer progress::-webkit-progress-bar { background: #34332e; }
.transfer progress::-webkit-progress-value { background: var(--orange); }
.transfer.failed { border-color: #865341; }
.transfer.failed .transfer-status { color: #e9a088; white-space: normal; }
.transfer.done .transfer-status { color: #a7bb98; }
.drag-overlay { position: fixed; inset: 14px; z-index: 10; background: #211c18ed; border: 2px dashed var(--orange); border-radius: 20px; display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; pointer-events: none; color: var(--orange); backdrop-filter: blur(5px); }
.drag-overlay svg { width: 48px; height: 48px; }
.drag-overlay strong { font-size: 28px; font-weight: 500; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: #36382f; border: 1px solid #4b4e40; color: #ebe9dd; border-radius: 9px; padding: 12px 20px; font-size: 12px; box-shadow: 0 4px 20px #0004; z-index: 30; max-width: calc(100% - 32px); }
.load-error, .form-error { background: #34221e; color: #f0a58c; padding: 12px; border-radius: 7px; font-size: 12px; line-height: 1.5; }
:focus-visible { outline: 2px solid var(--orange) !important; outline-offset: 3px; }
.composer textarea:focus-visible { outline: none !important; }
.composer:focus-within { box-shadow: inset 0 -1px #71604e; border-radius: 5px; }
.clipboard-fallback { position: fixed; left: -10000px; top: 0; }
input, select { min-width: 0; background: #131414; border: 1px solid #3a3b36; color: #e5e2d8; padding: 10px 12px; border-radius: 7px; font-size: 13px; }
input::placeholder { color: #777b72; }
.login-screen { padding: 60px 0; }
.login-form { max-width: 370px; margin: auto; display: flex; flex-direction: column; gap: 16px; }
.login-form h1 { margin-bottom: 14px; }
.login-form label { color: #a8a89b; font-size: 12px; }
.login-form input { padding: 13px; }
.login-key { color: var(--orange); margin-bottom: 5px; }
.login-key svg { width: 32px; height: 32px; }
.login-hint { margin: 0; text-align: center; color: var(--muted); font-size: 11px; }
dialog { background: #1b1c1b; color: #e6e3d9; border: 1px solid #3c3c34; border-radius: 13px; padding: 23px; width: min(620px, calc(100% - 32px)); max-height: 85vh; box-shadow: 0 20px 90px #0008; }
dialog::backdrop { background: #070908b8; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 18px; }
.user-row { display: flex; align-items: center; gap: 7px; padding: 10px 0; border-bottom: 1px solid #303129; }
.user-row input { flex: 1; width: 90px; }
.user-row select { width: 94px; }
.user-create { display: flex; gap: 8px; margin-top: 20px; }
.user-create input { flex: 1; width: 90px; }
#password-form { display: grid; gap: 15px; }
#password-form label { color: var(--muted); font-size: 12px; }
.user-create { flex-wrap: wrap; }
.user-create input { flex: 1 1 160px; }
@media(max-width: 700px) {
  .shell { padding: 0 20px 35px; } header { height: 86px; }
  .brand { font-size: 26px; } .brand-icon { width: 33px; height: 33px; }
  .connection { margin-right: 0; } #connection-label, #account-name { display: none; }
  .intro { margin: 15px 0 20px; } h1 { font-size: 25px; } .retention { font-size: 10px; }
  .send-panel { grid-template-columns: 1fr; padding: 10px; gap: 4px; }
  .dropzone { min-height: 160px; } .upload-icon { width: 39px; height: 39px; margin-bottom: 12px; }
  .composer { padding: 13px 10px 10px; } .composer textarea { min-height: 114px; }
  .shared-section { margin-top: 29px; } .item-toolbar { padding: 7px 8px; flex-wrap: wrap; } .item-actions { margin-left: auto; gap: 3px; }
  .action-button { padding: 8px; gap: 4px; font-size: 10px; } .icon-button { width: 32px; height: 34px; } .expiry { font-size: 10px; }
  .user-row { flex-wrap: wrap; } .user-row input { flex-basis: 45%; }
  .user-create { flex-wrap: wrap; } .user-create .send-button { width: 100%; } dialog { padding: 17px; }
}
@media(prefers-reduced-motion: reduce) { * { transition: none !important; } }
