/* 组件样式入口：当前规则由 base.css 引入的既有样式承载；新增通用组件规则写入本文件。 */

.admin-password-page { max-width: 1100px; overflow-wrap: anywhere; }
.admin-password-banner { display: flex; align-items: center; gap: 20px; padding: 24px; margin-bottom: 24px; border: 1px solid #d8e6fc; border-radius: 18px; background: linear-gradient(120deg, #edf5ff, #f7faff); }
.admin-password-mark { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: #dfeaff; color: #2563eb; }
.admin-password-mark svg { width: 30px; height: 30px; }
.admin-password-banner h2 { margin: 0 0 8px; font-size: 17px; color: #1e3a69; }
.admin-password-banner p { margin: 0; font-size: 13px; line-height: 1.8; color: #557093; }
.admin-password-tag { flex-shrink: 0; margin-left: auto; padding: 7px 12px; border-radius: 30px; background: #fff; color: #2563eb; font-size: 12px; }
.admin-password-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-password-grid .card { min-width: 0; margin: 0; padding: 30px; border-radius: 18px; border-color: #e1e8f2; box-shadow: 0 8px 28px rgb(29 54 91 / 4%); }
.admin-password-form header { margin-bottom: 28px; }
.admin-password-form h2, .admin-password-guide h2 { font-size: 21px; margin: 8px 0 12px; }
.admin-password-form header > p:last-child { font-size: 13px; color: #64748b; line-height: 1.8; }
.admin-password-field { margin-bottom: 24px; }
.admin-password-field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; color: #334155; }
.admin-password-input { position: relative; }
.admin-password-input input { width: 100%; min-width: 0; height: 50px; padding: 12px 54px 12px 14px; border: 1px solid #dbe3ef; border-radius: 10px; background: #fbfcfe; }
.admin-password-input input:focus { outline: 3px solid #dbeafe; border-color: #3b82f6; background: #fff; }
.admin-password-input input[aria-invalid="true"] { border-color: #dc2626; }
.admin-password-input button { position: absolute; right: 4px; top: 3px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer; }
.admin-password-input button:hover { background: #edf4ff; color: #2563eb; }
.admin-password-input button:focus-visible, .admin-password-actions button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.admin-password-input svg { width: 21px; height: 21px; }
.admin-password-field small { display: block; margin-top: 8px; color: #7b889b; font-size: 12px; line-height: 1.7; }
.admin-password-field .admin-password-error { color: #b91c1c; }
.admin-password-field [hidden] { display: none; }
.admin-password-form .form-feedback { overflow-wrap: anywhere; }
.admin-password-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; }
.admin-password-actions .button { min-height: 48px; max-width: 100%; white-space: normal; border-radius: 10px; }
.admin-password-actions span { font-size: 12px; color: #7b889b; }
.admin-password-guide ol { padding-left: 22px; margin: 28px 0 24px; }
.admin-password-guide li { padding-left: 4px; margin-bottom: 24px; color: #2563eb; }
.admin-password-guide b { color: #334155; font-size: 14px; }
.admin-password-guide li p { color: #64748b; font-size: 13px; line-height: 1.85; margin: 8px 0 0; }
.admin-password-note { padding: 16px; border: 1px solid #e4ecf8; border-radius: 12px; background: #f6f9ff; color: #557093; font-size: 12px; line-height: 1.8; }
@media (max-width: 800px) { .admin-password-grid { grid-template-columns: minmax(0, 1fr); } .admin-password-banner { flex-wrap: wrap; gap: 14px; } .admin-password-banner > div:nth-child(2) { flex: 1; min-width: 180px; } .admin-password-tag { margin-left: 0; } }
@media (max-width: 430px) { .admin-password-grid .card, .admin-password-banner { padding: 20px; } .admin-password-banner > div:nth-child(2) { min-width: 0; flex-basis: calc(100% - 70px); } .admin-password-actions .button { width: 100%; } }

.workspace-select-page { min-height: 100vh; padding: 64px 24px 40px; background: radial-gradient(ellipse at 50% 0, #eaf2ff, transparent 55%), #f7f9fc; color: #1e293b; }
.workspace-select-container { width: min(960px, 100%); margin: 0 auto; }
.workspace-select-heading { margin-bottom: 36px; text-align: center; }
.workspace-select-heading h1 { margin: 10px 0 14px; font-size: clamp(27px, 4vw, 38px); line-height: 1.3; letter-spacing: -.8px; }
.workspace-select-heading > p:last-child { margin: 0; color: #64748b; font-size: 14px; line-height: 1.8; }
.workspace-select-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.workspace-select-grid .workspace-select-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 28px; border-radius: 20px; border-color: #e1e8f2; box-shadow: 0 8px 30px rgb(29 54 91 / 4%); transition: border-color .18s, box-shadow .18s, transform .18s; }
.workspace-select-card:hover, .workspace-select-card:focus-within { border-color: #adc8f0; box-shadow: 0 12px 32px rgb(29 54 91 / 9%); transform: translateY(-3px); }
.workspace-select-grid .workspace-select-card.is-current { border-color: #8db6fa; background: linear-gradient(150deg, #f3f8ff, #fff 65%); box-shadow: 0 0 0 1px rgb(37 99 235 / 8%), 0 8px 30px rgb(29 54 91 / 4%); }
.workspace-select-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.workspace-select-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #edf4ff; color: #2874ed; }
.workspace-select-icon svg { width: 29px; height: 29px; }
.workspace-select-card.is-team .workspace-select-icon { background: #f0edff; color: #7c62c5; }
.workspace-select-card .badge { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
.workspace-select-card .badge.ok { color: #2563eb; background: #e4efff; }
.workspace-select-type { margin: 0 0 9px; color: #7b889b; font-size: 12px; font-weight: 600; }
.workspace-select-grid .workspace-select-card h2 { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -.3px; overflow-wrap: anywhere; }
.workspace-select-description { margin: 12px 0 24px; color: #7b889b; font-size: 13px; line-height: 1.8; }
.workspace-select-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 16px 0; border-top: 1px solid #edf1f6; color: #7b889b; font-size: 12px; }
.workspace-select-meta strong { padding: 5px 9px; border-radius: 6px; background: #f4f6fa; color: #526174; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.workspace-select-page .button { min-height: 46px; border-radius: 11px; font-size: 14px; }
.workspace-select-enter { width: 100%; margin-top: 8px; }
.workspace-select-page .button svg, .workspace-select-back svg { width: 18px; height: 18px; flex-shrink: 0; }
.workspace-select-page :is(button, a):focus-visible { outline: 3px solid #93c5fd; outline-offset: 4px; }
.workspace-select-page .button:disabled { opacity: .65; cursor: wait; transform: none; }
.workspace-select-enter[aria-busy="true"]::before, .workspace-select-loading::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: workspace-refresh-spin .8s linear infinite; }
.workspace-select-note { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 32px; padding: 0 4px; color: #7b889b; }
.workspace-select-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.workspace-select-note p { margin: 0; font-size: 12px; line-height: 1.8; }
.workspace-select-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; border: 1px dashed #d4deec; border-radius: 16px; background: rgb(255 255 255 / 65%); }
.workspace-select-footer h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.workspace-select-footer p { margin: 0; color: #7b889b; font-size: 13px; line-height: 1.6; }
.workspace-select-create { flex-shrink: 0; }
.workspace-select-page .button.ghost { border-color: #d4deec; color: #476182; }
.workspace-select-page .button.ghost:hover { border-color: #adc8f0; background: #f2f7ff; color: #2563eb; }
.workspace-select-back { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-height: 44px; margin: 24px auto 0; color: #64748b; font-size: 13px; }
.workspace-select-back:hover { color: #2563eb; }
.workspace-select-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; }
.workspace-select-empty h2 { margin: 0 0 12px; font-size: 20px; color: #334155; }
.workspace-select-empty p { margin: 0 0 20px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.workspace-select-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 220px; }
@media (max-width: 640px) { .workspace-select-page { padding: 36px 16px 24px; } .workspace-select-heading { margin-bottom: 26px; } .workspace-select-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .workspace-select-grid .workspace-select-card { padding: 24px; } .workspace-select-card-top { margin-bottom: 20px; } .workspace-select-footer { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px; } .workspace-select-note { margin-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .workspace-select-grid .workspace-select-card, .workspace-select-page .button { transition: none; transform: none; } .workspace-select-enter[aria-busy="true"]::before, .workspace-select-loading::before { animation: none; } }

.workspace-refresh-dialog { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px 32px 32px; overflow-y: auto; border: 1px solid #e8edf4; border-radius: 24px; background: #fff; color: #1e293b; text-align: center; box-shadow: 0 24px 80px rgba(15, 23, 42, .2); }
.workspace-refresh-dialog::backdrop { background: rgba(15, 23, 42, .38); backdrop-filter: blur(5px); }
.workspace-refresh-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border: 1px solid #dbeafe; border-radius: 20px; background: linear-gradient(145deg, #eff6ff, #e0ecff); color: #2563eb; }
.workspace-refresh-icon svg { width: 32px; height: 32px; }
.workspace-refresh-dialog h2 { margin: 0; font-size: 22px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; }
.workspace-refresh-dialog p { margin: 12px 0 28px; color: #64748b; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.workspace-refresh-dialog .workspace-refresh-button { display: flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #2563eb; border-radius: 12px; background: #2563eb; color: #fff; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; box-shadow: 0 4px 12px rgba(37, 99, 235, .18); transition: background .15s, box-shadow .15s; }
.workspace-refresh-dialog .workspace-refresh-button:hover { background: #1d4ed8; box-shadow: 0 6px 16px rgba(37, 99, 235, .24); }
.workspace-refresh-dialog .workspace-refresh-button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 4px; }
.workspace-refresh-dialog .workspace-refresh-button[aria-disabled="true"] { cursor: wait; background: #2563eb; box-shadow: none; }
.workspace-refresh-button[aria-busy="true"]::before { content: ''; flex-shrink: 0; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: workspace-refresh-spin .8s linear infinite; }
@keyframes workspace-refresh-spin { to { transform: rotate(360deg); } }
@media (max-width: 430px) { .workspace-refresh-dialog { padding: 28px 22px 24px; border-radius: 20px; } .workspace-refresh-dialog h2 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .workspace-refresh-button[aria-busy="true"]::before { animation: none; } .workspace-refresh-dialog .workspace-refresh-button { transition: none; } }

.invitation-form .invitation-destination { min-width: 0; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #f8fafc; }
.invitation-folder-create { margin-top: 12px; }
.invitation-folder-create summary { cursor: pointer; color: #2563eb; font-size: 13px; font-weight: 600; padding: 8px 0; }
.invitation-folder-create > div { display: grid; gap: 10px; padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.invitation-folder-create label { display: grid; gap: 8px; font-size: 13px; }
.invitation-folder-create input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dbe3ee; border-radius: 8px; }
.invitation-folder-create input:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.invitation-folder-create button { justify-self: start; }
.invitation-folder-create small { color: #64748b; line-height: 1.6; }
.invitation-destination legend { padding: 0 8px; color: #334155; font-weight: 600; }
.invitation-destination-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.invitation-destination-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; background: #fff3d6; border-radius: 12px; }
.invitation-destination-icon svg { width: 28px; height: 28px; }
.invitation-destination-heading strong { font-size: 14px; color: #1e293b; }
.invitation-destination-heading p { margin: 5px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.invitation-form .invitation-destination-picker { display: grid; gap: 8px; font-size: 13px; color: #475569; }
.invitation-destination-picker select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #dbe3ee; border-radius: 10px; background: #fff; color: #1e293b; font: inherit; text-overflow: ellipsis; }
.invitation-destination-picker select:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.invitation-form .invitation-destination-permission { position: relative; display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px; border: 1px solid #e8edf4; border-radius: 12px; background: #fff; cursor: pointer; }
.invitation-destination-permission-copy { flex: 1; min-width: 0; display: grid; gap: 5px; }
.invitation-destination-permission-copy strong { color: #334155; font-size: 13px; font-weight: 600; }
.invitation-form .invitation-destination-permission-copy small { margin: 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.invitation-destination-permission input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.invitation-destination-switch { flex-shrink: 0; position: relative; width: 38px; height: 22px; border-radius: 20px; background: #cbd5e1; transition: background .15s; }
.invitation-destination-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0002; transition: transform .15s; }
.invitation-destination-permission input:checked + .invitation-destination-switch { background: #2563eb; }
.invitation-destination-permission input:checked + .invitation-destination-switch::after { transform: translateX(16px); }
.invitation-destination-permission input:focus-visible + .invitation-destination-switch { outline: 2px solid #2563eb; outline-offset: 3px; }
.invitation-destination-note { margin: 12px 0 0; color: #64748b; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 480px) { .invitation-form .invitation-destination { padding: 14px; } }

#upload-target-dialog { background: rgba(15, 23, 42, .38); backdrop-filter: blur(4px); }
#upload-target-dialog .upload-conflict-panel { width: min(520px, 100%); border-radius: 22px; border: 1px solid rgba(255,255,255,.65); }
#upload-target-dialog header { padding: 24px; border-bottom-color: #eef2f6; }
.upload-target-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.upload-target-icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; background: #fff7e5; }
.upload-target-icon svg { width: 32px; height: 32px; }
#upload-target-dialog h2 { font-size: 19px; color: #1e293b; }
#upload-target-dialog header p { font-size: 13px; line-height: 1.5; margin-top: 5px; }
#upload-target-dialog .dialog-close { flex-shrink: 0; border-radius: 10px; }
#upload-target-dialog .upload-conflict-body { padding: 24px; }
#upload-target-dialog label { font-size: 13px; font-weight: 600; color: #334155; gap: 10px; }
#upload-target-dialog select, #upload-target-dialog input { padding: 12px 14px; min-height: 46px; border: 1px solid #dce3ed; border-radius: 10px; background-color: #fff; color: #1e293b; font: inherit; font-weight: 400; text-overflow: ellipsis; }
#upload-target-dialog select:focus, #upload-target-dialog input:focus { outline: 2px solid #2563eb; outline-offset: 2px; }
#upload-target-dialog form { margin: 22px 0 18px; padding: 18px; border: 1px solid #e8edf4; border-radius: 14px; background: #f8fafc; }
#upload-target-dialog form label { margin: 0; }
#upload-target-dialog form small { color: #64748b; font-size: 12px; line-height: 1.7; }
#upload-target-dialog form > button { justify-self: start; margin-top: 4px; background: #fff; }
#upload-target-dialog .notice { margin: 0; padding: 12px 14px; border: 0; border-radius: 10px; background: #eff6ff; color: #47658b; font-size: 12px; line-height: 1.8; }
#upload-target-dialog footer { padding: 18px 24px; background: #f8fafc; border-top-color: #eef2f6; }
#upload-target-dialog .button { border-radius: 10px; min-height: 40px; }
@media (max-width: 480px) { #upload-target-dialog header, #upload-target-dialog .upload-conflict-body, #upload-target-dialog footer { padding: 18px; } #upload-target-dialog footer .button { flex: 1; } .upload-target-heading { gap: 10px; } }

.upload-target-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; margin: 16px 0; border: 1px solid #dce3ed; border-radius: 12px; background: #f8fafc; }
.upload-target-summary b { flex: 1; overflow-wrap: anywhere; }
.upload-target-summary small { flex-basis: 100%; color: #64748b; }
.upload-conflict-dialog { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.upload-conflict-panel { width: min(640px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 24px 80px rgba(15, 23, 42, .2); overflow: hidden; }
.upload-conflict-panel > header, .upload-conflict-panel > footer, .upload-conflict-toolbar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; flex-shrink: 0; }
.upload-conflict-panel > header { justify-content: space-between; border-bottom: 1px solid #e2e8f0; }
.upload-conflict-panel h2 { margin: 0; font-size: 20px; }
.upload-conflict-panel header p { margin: 8px 0 0; color: #64748b; }
.upload-conflict-panel > footer { justify-content: flex-end; border-top: 1px solid #e2e8f0; }
.upload-conflict-body { padding: 20px; overflow-y: auto; min-height: 0; }
.upload-conflict-body label, .upload-conflict-body form { display: grid; gap: 8px; margin-bottom: 16px; }
.upload-conflict-row, #invitation-conflict-dialog fieldset { min-width: 0; padding: 16px; margin: 0 0 16px; border: 1px solid #dce3ed; border-radius: 10px; }
.upload-conflict-row legend, #invitation-conflict-dialog legend { overflow-wrap: anywhere; max-width: 100%; }
.upload-conflict-row small { display: block; margin-bottom: 12px; color: #64748b; }
.upload-conflict-body input, .upload-conflict-body select { width: 100%; min-width: 0; box-sizing: border-box; }
#invitation-conflict-dialog .upload-share-dialog-panel { max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
#invitation-conflict-dialog .upload-share-dialog-body { overflow-y: auto; min-height: 0; }
@media (max-width: 600px) { .upload-conflict-panel > footer, .upload-conflict-toolbar { flex-wrap: wrap; } .upload-target-summary > b { flex-basis: 100%; } }


.folder-create-dialog .share-dialog-panel { width: min(460px, calc(100vw - 32px)); border-radius: 20px; padding: 0; overflow: hidden; box-shadow: 0 24px 80px rgba(15, 23, 42, .18); }
.folder-create-dialog .share-dialog-panel > header { padding: 22px 26px; margin: 0; border-bottom: 1px solid #eef1f5; }
.folder-create-dialog h2 { font-size: 19px; margin: 0; }
.folder-create-body { padding: 24px 26px; }
.folder-create-intro { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.folder-create-icon { display: grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px; background: #fff7e5; }
.folder-create-icon svg { width: 40px; height: 40px; }
.folder-create-intro strong { color: #263445; font-size: 15px; }
.folder-create-intro p { margin: 6px 0 0; color: #7b8798; font-size: 13px; line-height: 1.6; }
.folder-create-label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; color: #374151; }
.folder-create-body input { display: block; box-sizing: border-box; width: 100%; border: 1px solid #dce3ed; border-radius: 10px; padding: 12px 14px; font-size: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.folder-create-body input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.folder-create-hint { margin: 10px 0 0; color: #8590a0; font-size: 12px; line-height: 1.7; }
.folder-create-dialog form > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px; margin: 0; background: #f8fafc; border-top: 1px solid #eef1f5; }
.folder-create-dialog footer .button { border-radius: 10px; min-height: 40px; }

.drive-page { background: #fff; border: 1px solid #e7ebf1; border-radius: 18px; padding: 28px 32px; min-height: 72vh; color: #263445; }
.drive-toolbar { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid #eef1f5; }
.drive-heading { margin: 26px 0 18px; }
.drive-heading h1 { margin: 0 0 10px; font-size: 24px; }
.drive-heading p { margin: 0; color: #87909e; font-size: 13px; line-height: 1.7; }
.drive-page .public-share-breadcrumb { flex-wrap: wrap; margin: 0 0 18px; }
.drive-page .public-share-breadcrumb a { padding: 6px 10px; border-radius: 7px; transition: background .15s; overflow-wrap: anywhere; }
.drive-page > .card { box-shadow: none; border: 0; border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; background: #f8fafc; }
.drive-page [data-form="directory-search"] { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.drive-page [data-form="directory-search"] label { margin: 0; font-size: 12px; }
.drive-page [data-form="directory-search"] label:first-of-type { flex: 1; min-width: 180px; }
.drive-page [data-form="directory-search"] label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.drive-list .card-head { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 16px; border-bottom: 1px solid #eef1f5; padding: 0 0 16px; font-size: 13px; }
.drive-list .file-list-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.drive-select-all { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.drive-page input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; flex: 0 0 16px; accent-color: #3878ef; cursor: pointer; }
.drive-page [data-directory-count] { color: #87909e; }
.drive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: 22px 16px; padding: 24px 0 30px; align-items: start; }
.drive-item { position: relative; min-width: 0; border: 1px solid transparent; border-radius: 12px; background: #fff; transition: background .15s, border-color .15s; cursor: grab; }
.drive-item:hover { background: #f7f9fc; }
.drive-item.selected { background: #eff5ff; border-color: #bdd5ff; }
.drive-select { position: absolute; top: 12px; left: 12px; z-index: 1; }
.drive-item-content { display: flex; flex-direction: column; align-items: center; padding: 36px 12px 18px; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.drive-item-content b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.5; max-width: 100%; }
.drive-item-content .drive-date { color: #929aa6; font-size: 11px; text-align: center; line-height: 1.5; }
.drive-item-content .drive-meta { color: #a4acb7; font-size: 10px; text-align: center; }
.drive-folder-icon { display: block; position: relative; width: 94px; height: 64px; margin: 10px 0 14px; border-radius: 4px 8px 8px 8px; background: #ffc943; box-shadow: inset 0 -3px 0 rgb(203 148 14 / 12%); flex: 0 0 auto; }
.drive-folder-icon::before { content: ""; position: absolute; top: -10px; left: 0; width: 42px; height: 16px; border-radius: 7px 10px 0 0; background: #efb52b; }
.drive-folder-icon::after { content: ""; position: absolute; inset: 5px 0 0; border-radius: 4px 7px 7px 7px; background: linear-gradient(135deg, #ffda69, #ffc438); }
.drive-file-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 88px; margin: 0 0 10px; border: 1px solid #d8e4f6; border-radius: 8px; background: #eef5ff; color: #6593d1; flex: 0 0 auto; }
.drive-file-icon svg { width: 48px; height: 48px; }
.drive-file-icon small { font-size: 10px; letter-spacing: 1px; }
.drive-file-icon.image { background: #edf8f4; border-color: #cfeadd; color: #53a985; }
.drive-file-icon.pdf { background: #fff0ef; border-color: #f2d6d3; color: #db8078; }
.drive-file-icon.archive { background: #fff7e7; border-color: #f0dfbc; color: #c59b48; }
.drive-file-icon.sheet { background: #ecf8ef; border-color: #d2e9d8; color: #66a77a; }
.drive-item-menu { position: absolute; right: 8px; top: 6px; z-index: 2; }
.drive-item-menu summary { list-style: none; cursor: pointer; color: #8994a3; font-size: 22px; padding: 0 7px; border-radius: 5px; }
.drive-item-menu summary::-webkit-details-marker { display: none; }
.drive-item-menu[open] { z-index: 3; }
.drive-item-menu[open] summary { background: #e9eff8; }
.drive-item-menu > div { position: absolute; top: 30px; right: 0; display: flex; flex-direction: column; min-width: 145px; padding: 8px; border: 1px solid #e5eaf1; border-radius: 9px; background: #fff; box-shadow: 0 8px 28px rgb(24 47 80 / 14%); }
.drive-item-menu .text-button { text-align: left; padding: 9px 10px; white-space: nowrap; border-radius: 5px; }
.drive-item-menu .text-button:hover { background: #f1f5fb; }
.drive-page :is(a, input, summary, button):focus-visible { outline: 2px solid #3878ef; outline-offset: 3px; }
.drive-item.drive-drop-active, .drive-page .public-share-breadcrumb .drive-drop-active { background: #e8f3ff; outline: 2px dashed #3878ef; outline-offset: 2px; }
.drive-item.drive-dragging { opacity: .45; cursor: grabbing; }
.drive-page[aria-busy="true"] .drive-grid { opacity: .6; cursor: progress; }
.drive-page[aria-busy="true"] [data-directory-count] { color: #3878ef; }
.drive-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 16px; color: #87909e; text-align: center; }
.drive-empty b { color: #536172; font-weight: 500; }
.drive-list .admin-file-pagination { border-top: 1px solid #eef1f5; padding-top: 16px; }
.directory-target-tree ul { padding-left: 22px; list-style: none; }
.directory-target-tree label { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.directory-target-tree input[type="radio"] { width: 16px; height: 16px; min-height: 0; flex: 0 0 16px; }
@media (max-width: 760px) {
  .drive-page { padding: 20px 16px; border-radius: 12px; }
  .drive-toolbar { gap: 8px; padding-bottom: 18px; }
  .drive-toolbar .button { padding: 9px 12px; }
  .drive-heading { margin-top: 20px; }
  .drive-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px 8px; }
  .drive-list .file-list-actions { margin-left: 0; width: 100%; }
  .drive-page > .card { padding: 12px; }
  .drive-page [data-form="directory-search"] label:has(input[type="checkbox"]) { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .drive-item, .drive-page .public-share-breadcrumb a { transition: none; } }

/* 文件空间视觉层：仅作用于我的文件页。 */
.drive-files { --primary: #2874ed; padding: 28px; border-color: #e4eaf3; border-radius: 20px; box-shadow: 0 8px 32px rgb(29 54 91 / 4%); }
.drive-files .drive-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #edf1f6; }
.drive-files .drive-heading { margin: 0; }
.drive-files .drive-kicker { display: block; margin-bottom: 8px; color: #2874ed; font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.drive-files .drive-heading h1 { margin-bottom: 8px; color: #1d304c; font-size: 27px; letter-spacing: -.6px; }
.drive-files .drive-heading p { color: #7b889b; }
.drive-files .drive-toolbar { flex-shrink: 0; gap: 10px; padding: 0; border: 0; }
.drive-files .drive-navigation-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.drive-files .drive-navigation-row .public-share-breadcrumb { flex: 1 1 160px; min-width: 0; margin: 0; }
.drive-files .button { min-height: 40px; padding: 9px 16px; border-radius: 10px; border-color: #2874ed; background: #2874ed; color: #fff; font-size: 13px; }
.drive-files .button:hover { background: #1e61d2; box-shadow: 0 4px 12px rgb(40 116 237 / 14%); transform: none; }
.drive-files .button.ghost { border-color: #dce5f1; background: #fff; color: #425570; }
.drive-files .button.ghost:hover { border-color: #b8cff0; background: #f7faff; color: #2874ed; }
.drive-files .drive-tip { margin: 16px 0 8px; color: #8390a3; font-size: 12px; line-height: 1.7; }
.drive-files .public-share-breadcrumb { gap: 4px; margin: 0 0 16px; font-size: 13px; }
.drive-files .public-share-breadcrumb a { min-width: 0; max-width: 100%; padding: 7px 8px; color: #708097; }
.drive-files .public-share-breadcrumb a:hover { color: #2874ed; background: #f0f6ff; }
.drive-files .public-share-breadcrumb a:last-child { color: #263c59; font-weight: 650; }
.drive-files .public-share-breadcrumb > span { color: #c6cfdb; }
.drive-files > .drive-search { padding: 12px; margin-bottom: 20px; border: 1px solid #eef2f7; border-radius: 12px; background: #f8fafc; }
.drive-files [data-form="directory-search"] { align-items: center; gap: 12px; }
.drive-files [data-form="directory-search"] .drive-search-field { display: flex; align-items: center; gap: 10px; min-width: 160px; margin: 0; padding: 0 12px; border: 1px solid #dee6f1; border-radius: 9px; background: #fff; }
.drive-files .drive-search-field svg { width: 18px; height: 18px; flex: 0 0 auto; color: #91a0b5; }
.drive-files .drive-search-field input { width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: #263c59; font-size: 13px; }
.drive-files .drive-search-field input::placeholder { color: #98a4b5; }
.drive-files .drive-search-field:focus-within { border-color: #2874ed; box-shadow: 0 0 0 3px rgb(40 116 237 / 9%); }
.drive-files .drive-favorite-filter { color: #65768e; white-space: nowrap; }
.drive-files .drive-list .card-head { gap: 12px; margin: 0; padding: 12px 0; border-color: #edf1f6; }
.drive-files .drive-select-all { color: #5e6f85; font-size: 12px; }
.drive-files [data-directory-count] { padding: 5px 9px; border-radius: 6px; background: #f4f6f9; color: #8591a3; font-size: 12px; }
.drive-files:has(.drive-item.selected) [data-directory-count] { background: #edf4ff; color: #2874ed; }
.drive-files .file-list-actions { gap: 4px; }
.drive-files .text-button { padding: 8px 10px; border-radius: 7px; color: #4671ac; font-size: 12px; font-weight: 550; }
.drive-files .text-button:hover:not(:disabled) { background: #edf4ff; }
.drive-files .text-button.danger { color: #d1545d; }
.drive-files button:disabled { color: #a8b2c0; opacity: .6; cursor: not-allowed; box-shadow: none; transform: none; }
.drive-files .drive-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 16px; padding: 22px 0; }
.drive-files .drive-item { height: 236px; border-color: #edf1f6; border-radius: 14px; transition: background .18s, border-color .18s, box-shadow .18s; }
.drive-files .drive-item:hover { border-color: #ccdbee; background: #fcfdff; box-shadow: 0 6px 18px rgb(29 54 91 / 7%); }
.drive-files .drive-item.selected { border-color: #a8c8fb; background: #f0f6ff; box-shadow: inset 0 0 0 1px rgb(40 116 237 / 5%); }
.drive-files .drive-item-content { height: 100%; padding: 40px 12px 16px; gap: 7px; }
.drive-files .drive-item-content b { display: block; width: 100%; min-height: 22px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #354961; font-size: 13px; font-weight: 600; }
.drive-files .drive-date { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8a98aa; font-size: 11px; }
.drive-files .drive-meta { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9ca8b8; font-size: 10px; }
.drive-files .drive-folder-icon { width: 92px; height: 66px; margin: 14px 0 18px; border-radius: 5px 9px 9px 9px; box-shadow: 0 5px 10px rgb(216 158 29 / 13%); }
.drive-files .drive-folder-icon::before { width: 40px; background: #efb739; }
.drive-files .drive-folder-icon::after { inset: 4px 0 0; background: linear-gradient(145deg, #ffdf78, #ffc43d); }
.drive-files .drive-file-icon { width: 72px; height: 88px; margin: 0 0 10px; border-radius: 10px; box-shadow: 0 4px 10px rgb(29 54 91 / 4%); }
.drive-files .drive-file-icon.video { border-color: #e0d8f8; background: #f4efff; color: #9b7bd5; }
.drive-files .drive-file-icon.audio { border-color: #f1d9e9; background: #fff1f8; color: #c884ab; }
.drive-files .drive-select { top: 13px; left: 13px; }
.drive-files .drive-item-menu { top: 8px; right: 8px; }
.drive-files .drive-item-menu summary { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; color: #94a1b3; line-height: 1; }
.drive-files .drive-item-menu summary:hover { background: #edf3fc; color: #2874ed; }
.drive-files .drive-item-menu > div { top: 34px; border-radius: 11px; box-shadow: 0 10px 30px rgb(29 54 91 / 14%); }
.drive-files .drive-item-menu .text-button { padding: 10px; }
.drive-files .drive-item-menu .danger { margin-top: 4px; border-top: 1px solid #eef2f7; border-radius: 0 0 6px 6px; }
.drive-files .drive-item.drive-drop-active, .drive-files .public-share-breadcrumb .drive-drop-active { border-color: #2874ed; background: #e4f0ff; outline: 2px dashed #2874ed; outline-offset: 3px; box-shadow: 0 0 0 6px rgb(40 116 237 / 7%); }
.drive-files .drive-empty { min-height: 360px; padding: 42px 16px; gap: 12px; }
.drive-files .drive-empty-art { display: grid; place-items: center; width: 148px; height: 126px; margin-bottom: 4px; border-radius: 44px; background: radial-gradient(ellipse at center, #eef4ff, #fbfdff 72%); }
.drive-files .drive-empty-art .drive-folder-icon { margin: 10px 0 0; transform: rotate(-6deg); }
.drive-files .drive-empty b { color: #425570; font-size: 17px; font-weight: 650; }
.drive-files .drive-empty > small { max-width: 360px; color: #8a98aa; font-size: 13px; line-height: 1.7; }
.drive-files .drive-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.drive-files .admin-file-pagination { margin-top: 0; padding-top: 18px; color: #8a98aa; font-size: 12px; }
.drive-files .admin-file-pagination a { color: #577193; font-size: 12px; }
@media (max-width: 1000px) {
  .drive-files .drive-header { flex-wrap: wrap; gap: 18px; }
  .drive-files .drive-list .file-list-actions { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 760px) {
  .drive-files { padding: 20px 16px; border-radius: 15px; }
  .drive-files .drive-toolbar { width: 100%; }
  .drive-files .drive-toolbar .button { flex: 1; }
  .drive-files .drive-heading h1 { font-size: 24px; }
  .drive-files .drive-tip { font-size: 11px; }
  .drive-files [data-form="directory-search"] { gap: 8px; }
  .drive-files [data-form="directory-search"] .drive-search-field { flex-basis: 100%; }
  .drive-files [data-form="directory-search"] .drive-favorite-filter { width: auto; margin-right: auto; }
  .drive-files .drive-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
  .drive-files .drive-item { height: 236px; }
  .drive-files .drive-item-content { padding-inline: 10px; }
  .drive-files .file-list-actions { gap: 2px; }
  .drive-files .file-list-actions .text-button { padding: 8px; font-size: 11px; }
}
.drive-files .drive-details table { min-width: 960px; }
.drive-files .drive-details .drive-item { height: auto; border-radius: 0; }
.drive-files .drive-details .drive-item:hover { box-shadow: none; }
.drive-files .drive-details td { vertical-align: middle; }
.drive-files .drive-details-name { min-width: 220px; max-width: 360px; overflow-wrap: anywhere; white-space: normal; }
.drive-files .drive-details-actions { min-width: 230px; white-space: normal; }
.drive-files .drive-details-actions .text-button { padding: 6px 8px; }
@media (max-width: 360px) { .drive-files .drive-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .drive-files .drive-item, .drive-files .button { transition: none; } }

/* 管理后台控件与容器：严格限定在后台主区域，避免影响公开页和用户控制台。 */
.main-admin {
  --admin-control-border: #d7e0ec;
  --admin-control-border-hover: #aebfd3;
  --admin-control-focus: #246bfd;
  --admin-control-ring: rgb(36 107 253 / 13%);
  --admin-control-bg: #fff;
  --admin-control-disabled: #f1f4f8;
  --admin-panel-border: #e1e8f2;
  --admin-panel-shadow: 0 8px 26px rgb(23 43 77 / 5%);
}
.main-admin :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--admin-control-border);
  border-radius: 10px;
  outline: 0;
  background-color: var(--admin-control-bg);
  color: #172b4d;
  box-shadow: 0 1px 2px rgb(15 23 42 / 3%);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.main-admin select {
  padding-right: 34px;
}
.main-admin textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}
.main-admin :is(input, select, textarea)::placeholder {
  color: #98a4b5;
}
.main-admin :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):hover:not(:disabled):not([readonly]) {
  border-color: var(--admin-control-border-hover);
}
.main-admin :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):focus-visible {
  border-color: var(--admin-control-focus);
  box-shadow: 0 0 0 4px var(--admin-control-ring);
}
.main-admin :is(input, select, textarea):disabled,
.main-admin :is(input, textarea)[readonly] {
  border-color: #e2e7ee;
  background: var(--admin-control-disabled);
  color: #7b8798;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.main-admin :is(input, select, textarea)[aria-invalid="true"],
.main-admin :is(input, select, textarea).invalid,
.main-admin .form-feedback:not([hidden]) ~ :is(input, select, textarea) {
  border-color: #e5484d;
}
.main-admin :is(input, select, textarea)[aria-invalid="true"]:focus-visible,
.main-admin :is(input, select, textarea).invalid:focus-visible {
  box-shadow: 0 0 0 4px rgb(229 72 77 / 12%);
}
.main-admin :is(input[type="checkbox"], input[type="radio"]) {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--admin-control-focus);
  cursor: pointer;
}
.main-admin :is(input[type="checkbox"], input[type="radio"]):focus-visible {
  outline: 3px solid var(--admin-control-ring);
  outline-offset: 2px;
}
.main-admin :is(input[type="checkbox"], input[type="radio"]):disabled {
  cursor: not-allowed;
  opacity: .48;
}
.main-admin label:has(> input[type="checkbox"]),
.main-admin label:has(> input[type="radio"]) {
  display: flex;
  align-items: center;
  gap: 9px;
}
.main-admin :is(.card, fieldset, .storage-config-container) {
  border-color: var(--admin-panel-border);
  box-shadow: var(--admin-panel-shadow);
}
.main-admin .card {
  border-radius: 16px;
}
.main-admin fieldset {
  min-width: 0;
  border: 1px solid var(--admin-panel-border);
  border-radius: 12px;
  background: #fbfcfe;
}
.main-admin fieldset legend {
  color: #344054;
}
.main-admin :is(.admin-file-filters, .admin-user-filters, .admin-share-filters) {
  background: linear-gradient(180deg, #fff, #fbfcfe);
}
.admin-user-dialog-panel,
.admin-file-preview-panel,
.main-admin .share-dialog-panel,
.admin-user-drawer-panel {
  border: 1px solid rgb(255 255 255 / 72%);
  box-shadow: 0 28px 80px rgb(15 23 42 / 32%);
}
:is(.admin-user-dialog-panel, .admin-file-preview-panel, .admin-user-drawer-panel) > :is(header, footer),
.main-admin .share-dialog-panel > :is(header, footer) {
  background: #fff;
}
.main-admin .form-feedback:not([hidden]) {
  border: 1px solid #f3c4c7;
  border-radius: 10px;
  background: #fff5f5;
  color: #b42318;
}
@media (prefers-reduced-motion: reduce) {
  .main-admin :is(input, select, textarea) { transition: none; }
}

.site-footer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:36px;padding:22px;color:var(--muted,#667085);font-size:12px}.site-footer a{display:inline-flex;align-items:center;gap:5px;color:inherit}.site-footer img{width:16px;height:16px;object-fit:contain}.brand{display:inline-flex;align-items:center;gap:9px}.brand>span{display:grid}.brand small{display:block}.site-brand-logo{width:38px;height:38px;flex:0 0 auto;border-radius:10px;object-fit:contain}
.user-share-stats { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px; }
.user-share-stats article { display:grid;gap:8px;padding:20px;border:1px solid var(--line,#e4eaf2);border-radius:14px;background:#fff; }
.user-share-stats span { color:var(--muted,#667085);font-size:13px; }.user-share-stats b { font-size:27px; }
.user-share-filters form { display:grid;grid-template-columns:2fr repeat(4,minmax(120px,1fr)) auto;align-items:end;gap:12px; }.user-share-filters label{margin:0}.user-share-filters form>div{display:flex;gap:8px;}
.user-share-list { padding:0;overflow:hidden; }.user-share-batch{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line,#e4eaf2);}.user-share-batch label{display:flex;align-items:center;gap:7px;margin:0;}
.user-share-list table small{display:block;max-width:300px;overflow:hidden;color:var(--muted,#667085);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.user-share-actions{min-width:275px}.user-share-actions>*{margin-right:8px}
.user-share-file-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 8px;margin-top:7px;max-width:340px}.user-share-file-summary small{grid-column:2;margin:0!important}.user-share-file-title{overflow:hidden;color:#344054;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.user-share-file-kind{grid-row:1/3;display:inline-flex;align-items:center;align-self:stretch;padding:3px 7px;border-radius:7px;background:#edf4ff;color:#245fc7;font-size:10px;font-weight:800}.user-share-file-kind.multiple{background:#f1ebff;color:#6941c6}.user-share-detail-button{border-color:#b9ccf5;color:#245fc7}
.user-share-status{display:inline-flex;padding:4px 9px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:700}.user-share-status.active{background:#e9f7f1;color:#11734f}.user-share-status.expired{background:#fff5d9;color:#946200}
.user-share-mobile{display:none}.user-share-detail article{padding:13px;border:1px solid var(--line,#e4eaf2);border-radius:10px}.user-share-detail article small{display:block;margin-top:4px;color:var(--muted,#667085)}.user-share-detail dl,.user-share-card dl{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 0}.user-share-detail dl div,.user-share-card dl div{display:grid;gap:3px}.user-share-detail dt,.user-share-card dt{color:var(--muted,#667085);font-size:11px}.user-share-detail dd,.user-share-card dd{margin:0;font-size:12px}
@media(max-width:1000px){.user-share-filters form{grid-template-columns:repeat(2,1fr)}.user-share-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.user-share-desktop{display:none}.user-share-mobile{display:grid;gap:12px;padding:14px}.user-share-card{padding:14px;border:1px solid var(--line,#e4eaf2);border-radius:12px}.user-share-card header,.user-share-card header label,.user-share-card footer{display:flex;align-items:center;gap:10px}.user-share-card header{justify-content:space-between}.user-share-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#667085)}.user-share-card dl{grid-template-columns:repeat(2,1fr)}.user-share-card footer{flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line,#e4eaf2)}.user-share-batch{align-items:flex-start;flex-wrap:wrap}.user-share-filters form,.user-share-stats{grid-template-columns:1fr}.user-share-detail dl{grid-template-columns:repeat(2,1fr)}}
.site-head { position:relative;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;width:min(1160px,calc(100% - 48px));margin:0 auto;padding:18px 0;border-bottom:1px solid rgba(211,220,234,.75); }
.public-brand { display:inline-flex;align-items:center;gap:11px;width:max-content;color:#172b4d;line-height:1; }.public-brand>span:last-child { display:grid;gap:4px;font-size:18px;letter-spacing:-.45px; }.public-brand small { color:#8492a7;font-size:9px;font-weight:800;letter-spacing:.18em;text-transform:uppercase; }.brand-mark { display:grid!important;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#367cf7,#174fc5);color:#fff!important;font-size:17px!important;font-weight:900;letter-spacing:-.05em!important;box-shadow:0 9px 22px rgba(36,107,253,.24); }
.site-head nav { display:flex;align-items:center;gap:6px;padding:5px;border:1px solid rgba(218,226,238,.85);border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 5px 18px rgba(29,54,91,.05);backdrop-filter:blur(12px); }.site-head nav a { position:relative;padding:8px 17px;border-radius:999px;color:#69778d;font-size:13px;font-weight:700;transition:color .2s,background .2s,box-shadow .2s; }.site-head nav a:hover { color:#246bfd;background:#f1f6ff; }.site-head nav a.active { color:#1b5fe0;background:#fff;box-shadow:0 3px 11px rgba(31,63,110,.11); }.site-head nav a.active::after { position:absolute;right:calc(50% - 2px);bottom:3px;width:4px;height:4px;border-radius:50%;background:#246bfd;content:""; }
.head-actions { display:flex;align-items:center;justify-content:flex-end;gap:9px; }.head-actions .text-link { padding:9px 11px;color:#516075;font-size:13px;font-weight:700; }.console-button { gap:14px;border-color:#246bfd;border-radius:12px;padding:10px 14px 10px 17px;background:linear-gradient(135deg,#2b73ef,#1756ce);box-shadow:0 9px 20px rgba(36,107,253,.19);font-size:13px; }.console-button i { display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:rgba(255,255,255,.16);font-style:normal;transition:transform .2s; }.console-button:hover i { transform:translateX(2px); }
@media(max-width:720px){.site-head{grid-template-columns:1fr auto;width:calc(100% - 32px);gap:14px}.site-head nav{grid-column:1/-1;grid-row:2;justify-content:center}.site-head nav a{flex:1;text-align:center}.public-brand .brand-mark{width:34px;height:34px}.head-actions .button{padding:9px 12px}.console-button i{display:none}}
@media(max-width:420px){.public-brand small{display:none}.site-head{width:calc(100% - 24px)}.site-head nav a{padding:8px 12px}.head-actions .text-link{display:none}}
.dashboard-upload-page { background: radial-gradient(circle at 10% 5%, rgba(36,107,253,.1), transparent 28%), linear-gradient(180deg,#f7faff 0,#f4f7fb 100%); }
.upload-share-dialog{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:16px;background:rgb(15 23 42 / 68%)}.upload-share-dialog-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(520px,100%);max-height:min(620px,calc(100vh - 32px));overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgb(15 23 42 / 35%)}.upload-share-dialog-panel>header,.upload-share-dialog-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line,#e4eaf2)}.upload-share-dialog-panel>footer{border-top:1px solid var(--line,#e4eaf2);border-bottom:0}.upload-share-dialog-panel h2{margin:0;font-size:18px}.upload-share-dialog-panel h2 small{margin-left:6px;color:#98a2b3;font-size:11px;font-weight:400}.dialog-close{border:0;background:none;color:#667085;font-size:25px;line-height:1;cursor:pointer}.upload-share-dialog-body{display:grid;align-content:start;gap:15px;padding:18px;overflow:auto}.upload-share-dialog-body label,.upload-share-dialog-body fieldset{display:grid;gap:7px}.upload-share-dialog-body fieldset{margin:0;padding:0;border:0}.upload-share-dialog-body legend{font-size:13px;font-weight:700}.upload-share-dialog-body input[type=text],.upload-share-dialog-body input[type=password],.upload-share-dialog-body input[type=number]{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d0d5dd;border-radius:8px}.upload-segmented{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.upload-segmented button{min-height:34px;border:1px solid #d0d5dd;background:#fff;color:#475467;border-radius:7px;font-size:11px;cursor:pointer}.upload-segmented button.active{border-color:#16895e;background:#e9f7f1;color:#11734f;font-weight:700}.upload-expire-segmented{grid-template-columns:repeat(5,1fr)}.upload-custom-expire-option,.upload-custom-download-option,.upload-custom-password-option,.upload-custom-invitation-option{display:flex;align-items:center;justify-content:center;gap:3px;padding:3px!important}.upload-custom-expire-option input,.upload-custom-download-option input,.upload-custom-password-option input,.upload-custom-invitation-option input{display:none;width:34px!important;min-width:0;padding:2px!important;border:0!important;border-bottom:1px solid currentColor!important;border-radius:0!important;background:transparent;text-align:center;color:inherit;font:inherit;outline:0}.upload-custom-password-option input{width:78px!important}.upload-custom-invitation-option input{width:72px!important}.upload-custom-expire-option.active span,.upload-custom-download-option.active span,.upload-custom-password-option.active span,.upload-custom-invitation-option.active span{display:none}.upload-custom-expire-option.active input,.upload-custom-download-option.active input,.upload-custom-password-option.active input,.upload-custom-invitation-option.active input{display:block}.upload-download-segmented{grid-template-columns:repeat(auto-fit,minmax(62px,1fr))}.upload-check{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important}.upload-switch{display:flex!important;align-items:center;justify-content:space-between}.upload-switch input{accent-color:#16895e}.upload-share-dialog-panel footer>button{flex:1}@media(max-width:430px){.upload-share-dialog-panel{max-height:calc(100vh - 20px)}.upload-segmented{grid-template-columns:repeat(2,1fr)}}
.directory-folder-share-dialog .upload-segmented button:disabled { cursor:not-allowed;opacity:.5; }.directory-folder-share-dialog [data-segment="directory-mode"] { grid-template-columns:repeat(3,minmax(0,1fr)); }@media(max-width:430px){.directory-folder-share-dialog [data-segment="directory-mode"]{grid-template-columns:1fr}.directory-folder-share-dialog .upload-custom-password-option input{width:100%!important}}
.directory-folder-share-summary { display:grid;gap:7px;min-width:0; }.directory-folder-share-summary>b { overflow-wrap:anywhere; }.directory-folder-share-summary .notice,.directory-folder-share-policy { margin:0; }.directory-folder-share-dialog .upload-share-dialog-body small,.directory-folder-share-policy { color:var(--muted,#667085);font-size:12px;font-weight:400;line-height:1.6; }
.dashboard-upload-page .section-title h1 { color:#13233d; font-size:clamp(32px,4vw,48px); letter-spacing:-.045em; }
.upload-workspace { overflow:hidden; padding:0; border:1px solid rgba(207,218,234,.9); border-radius:22px; background:rgba(255,255,255,.94); box-shadow:0 22px 60px rgba(30,64,115,.09); }
.upload-policy-summary { display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.65fr);align-items:center;gap:28px;margin:0;padding:24px 28px;border-bottom:1px solid #e7edf5;background:linear-gradient(135deg,#fbfdff,#f4f8ff); }
.upload-policy-summary>div:first-child { display:grid;gap:7px; }.upload-policy-summary>div:first-child>b { color:#172b4d;font-size:20px; }.upload-policy-summary small { color:#718096; }
.upload-availability { display:inline-flex;align-items:center;gap:7px;width:max-content;color:#11734f;font-size:12px;font-weight:800; }.upload-availability i { width:8px;height:8px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 4px rgba(34,160,107,.12); }.upload-availability.unavailable { color:#b42318; }.upload-availability.unavailable i { background:#d92d20;box-shadow:0 0 0 4px rgba(217,45,32,.12); }
.upload-policy-metrics { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px; }.upload-policy-metrics article { display:grid;gap:5px;padding:13px 15px;border:1px solid #e2e9f3;border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(31,50,78,.035); }.upload-policy-metrics span { color:#74829a;font-size:11px;font-weight:700; }.upload-policy-metrics b { overflow:hidden;color:#213653;font-size:16px;text-overflow:ellipsis;white-space:nowrap; }.upload-policy-metrics b small { font-size:11px;font-weight:600; }
.upload-config-card { display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:22px 28px 8px; }.upload-config-card>div:first-child { display:grid;align-content:start;gap:5px;padding-top:4px; }.upload-config-card>div:first-child>b { color:#263b59; }.upload-config-card>div:first-child>span { color:#8190a5;font-size:12px;line-height:1.55; }
.upload-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px; }.upload-options label { display:flex;gap:7px;flex-direction:column;margin:0;color:#42526a;font-size:13px;font-weight:700; }.upload-options select,.upload-options input { border-color:#dce5f0;background:#fbfcfe; }.upload-options small,.table-subline { display:block;margin-top:2px;color:var(--muted,#667085);font-size:11px;font-weight:400; }.upload-custom-value { margin-top:-1px; }.upload-share-password { grid-column:1/-1;display:grid;gap:9px;padding:15px;border:1px solid #e2e9f3;border-radius:13px;background:#f9fbfe; }.upload-share-password .upload-password-toggle { align-items:center;flex-direction:row;gap:9px; }.upload-share-password .upload-password-toggle input { width:auto; }.upload-share-password .password-input { align-items:stretch; }.upload-share-password .password-input .text-button { flex:0 0 auto;border:1px solid #dce5f0;border-radius:9px;background:#fff;white-space:nowrap; }.upload-share-password .notice { margin:0; }
.upload-workspace .dropzone { position:relative;display:grid;place-items:center;gap:9px;margin:10px 28px 0;padding:44px 24px;border:1.5px dashed #a9c4ec;border-radius:18px;background:linear-gradient(145deg,#f7faff,#f1f6ff);text-align:center;transition:border-color .2s,background .2s,transform .2s; }.upload-workspace .dropzone:hover,.upload-workspace .dropzone.dragover { border-color:#246bfd;background:#edf4ff;transform:translateY(-1px); }.upload-workspace .dropzone>strong { color:#1c3150;font-size:19px; }.upload-workspace .dropzone>span:not(.upload-cloud-icon),.upload-workspace .dropzone>small { color:#77869b;font-size:13px; }.upload-workspace .dropzone>.button { margin-top:5px;padding:10px 20px; }
.upload-cloud-icon { position:relative;display:grid;place-items:center;width:64px;height:54px;margin-bottom:3px;border-radius:16px;background:#246bfd;box-shadow:0 12px 25px rgba(36,107,253,.24); }.upload-cloud-icon::before { color:#fff;font-size:28px;font-weight:300;content:"↑"; }.upload-cloud-icon i { position:absolute;inset:auto -7px -6px auto;width:20px;height:20px;border:4px solid #f3f7ff;border-radius:50%;background:#46c795; }
.dropzone.disabled { cursor:not-allowed;opacity:.58;transform:none; }
#upload-list { margin:0 28px; }.upload-queue-toolbar,.upload-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px; }.upload-queue-toolbar b { color:#263b59; }.upload-queue-toolbar span,.upload-empty,.upload-status,.upload-actions>span { color:var(--muted,#667085);font-size:13px; }
.upload-directory-breadcrumb { margin:0 0 12px; }.upload-directory-list { margin-top:0; }
.upload-overall-progress,.upload-item .progress { height:8px;overflow:hidden;border-radius:99px;background:#e8edf3; }.upload-overall-progress { margin:10px 0 14px; }.upload-overall-progress i,.upload-item .progress i { display:block;height:100%;border-radius:inherit;background:var(--primary,#16895e);transition:width .2s; }.upload-queue { display:grid;gap:10px; }
.upload-item { display:flex;align-items:center;gap:14px;min-width:0;padding:15px;border:1px solid var(--line,#e4eaf2);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(31,50,78,.035); }.upload-item.uploading { border-color:#b9d0f4;background:#fbfdff; }.upload-item.failed { border-color:#f3c4c7;background:#fff8f8; }.upload-item.success { border-color:#b7e1cf;background:#fbfffd; }.upload-file-icon { display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border-radius:12px;background:#eaf2ff;color:#246bfd;font-weight:800; }.upload-item.success .upload-file-icon { background:#e9f7f1;color:#11734f; }.upload-item.failed .upload-file-icon { background:#fff0f0;color:#b42318; }
.upload-file-meta { display:grid;min-width:0;flex:1;gap:4px; }.upload-file-meta b { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.upload-file-meta small { color:var(--muted,#667085); }.upload-category-badge { display:inline-flex;margin-left:5px;padding:2px 7px;border-radius:999px;background:#eef2f6;color:#526071;font-size:10px;font-weight:800;line-height:1.4;vertical-align:middle; }.upload-category-badge.large { background:#fff4dc;color:#a56400; }.upload-category-badge.permanent { background:#f1edff;color:#6941c6; }.upload-item-actions { display:flex;gap:8px;flex:0 0 auto; }.upload-actions { margin:24px 28px 0;padding:18px 0 24px;border-top:1px solid #e8edf4; }.upload-actions .button { min-width:140px; }
.upload-guide { border:1px solid #e2e9f3;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(30,64,115,.055); }.upload-section-kicker { display:block;margin-bottom:5px;color:#246bfd;font-size:11px;font-weight:800;letter-spacing:.1em; }.upload-guide-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px; }.upload-guide-grid article { display:flex;gap:13px;padding:16px;border-radius:14px;background:#f7f9fc; }.upload-guide-grid article>span { color:#246bfd;font-size:12px;font-weight:900; }.upload-guide-grid article div { display:grid;gap:5px; }.upload-guide-grid b { color:#2b3f5c;font-size:14px; }.upload-guide-grid small { color:#77869b;line-height:1.55; }
@media (max-width:820px){.upload-policy-summary{grid-template-columns:1fr}.upload-policy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-config-card{grid-template-columns:1fr;gap:12px}.upload-guide-grid{grid-template-columns:1fr}}
@media (max-width:640px){.upload-policy-summary{padding:20px}.upload-policy-metrics{grid-template-columns:1fr}.upload-config-card{padding:20px 20px 6px}.upload-workspace .dropzone{margin:8px 20px 0;padding:34px 18px}#upload-list{margin:0 20px}.upload-item{align-items:flex-start;flex-wrap:wrap}.upload-file-meta{min-width:calc(100% - 59px)}.upload-item-actions{width:100%;justify-content:flex-end}.upload-queue-toolbar{align-items:flex-start;flex-direction:column}.upload-actions{align-items:stretch;flex-direction:column;margin:22px 20px 0}.upload-actions .button{width:100%}.upload-guide .card-head{align-items:flex-start;flex-direction:column}.upload-guide .card-head a{align-self:flex-start}}
.upload-share-result { display:grid;gap:14px;margin-top:20px;padding:20px;border:1px solid #b7e1cf;border-radius:16px;background:linear-gradient(145deg,#f5fcf9,#fff);box-shadow:0 12px 30px rgba(17,115,79,.08); }
.upload-share-result.error { border-color:#f3c4c7;background:#fff8f8;box-shadow:none; }
.upload-share-result header,.upload-share-result header>div { display:flex;align-items:center;justify-content:space-between;gap:14px; }
.upload-share-result header>div>div { display:grid;gap:3px; }.upload-share-result header small { color:var(--muted,#667085); }
.upload-share-result-icon { display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:12px;background:#16895e;color:#fff;font-size:20px;font-weight:800; }
.upload-share-success-dialog .upload-share-dialog-panel{width:min(760px,100%);max-height:min(680px,calc(100vh - 32px))}.upload-share-success-dialog .upload-share-dialog-panel>header>div{display:grid;gap:4px}.upload-share-success-dialog .upload-share-dialog-panel>header small{color:#667085}.upload-share-result-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:center;padding:24px;overflow:auto}.upload-share-information{display:grid;gap:14px}.upload-result-row{display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e4eaf2;border-radius:11px;background:#f8fafc}.upload-result-row>span{color:#667085;font-size:12px;font-weight:700}.upload-result-row output{min-width:0;overflow:hidden;color:#172b4d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.upload-copy-all{width:100%}.upload-qr-column{display:grid;justify-items:center;gap:10px;padding:18px;border:1px solid #e4eaf2;border-radius:16px;background:#fff}.upload-share-qr{display:grid;place-items:center;width:220px;height:220px;overflow:hidden}.upload-share-qr canvas{display:block;width:220px;height:220px}.upload-qr-column>small{color:#667085}.upload-qr-column>div:last-child{display:flex;gap:8px}.upload-share-success-dialog footer>*{flex:1}@media(max-width:680px){.upload-share-result-body{grid-template-columns:1fr}.upload-result-row{grid-template-columns:1fr auto}.upload-result-row>span{grid-column:1/-1}.upload-qr-column{order:-1}.upload-share-success-dialog .upload-share-dialog-panel{max-height:calc(100vh - 20px)}}
.upload-share-field { display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line,#e4eaf2);border-radius:11px;background:#fff; }
.upload-share-field>span { color:var(--muted,#667085);font-size:12px;font-weight:700; }.upload-share-field output { min-width:0;overflow-wrap:anywhere;font:600 13px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.upload-share-field output:focus-visible,.upload-share-result a:focus-visible,.upload-share-result button:focus-visible { outline:3px solid color-mix(in srgb,var(--primary,#16895e) 28%,transparent);outline-offset:2px; }
.upload-share-error { padding:11px 13px;border-radius:10px;background:#fff0f0;color:#b42318;font-size:13px; }
@media (max-width: 700px) { .upload-options { grid-template-columns: 1fr; }.upload-share-result header{align-items:flex-start;flex-direction:column}.upload-share-result header>a{width:100%}.upload-share-field{grid-template-columns:1fr}.upload-share-field .button{width:100%} }
.standalone-page { width: min(1080px, 100%); margin: 0 auto; padding: 26px 20px 56px; display: grid; gap: 18px; }
.storage-layout { display: grid; gap: 20px; }
.storage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; gap: 18px; }
.storage-config-container { min-width: 0; max-width: 100%; max-height: min(760px, calc(100vh - 150px)); overflow: hidden; border: 1px solid var(--line, #e4eaf2); border-radius: var(--radius, 14px); background: var(--surface, #fff); box-shadow: 0 7px 24px rgba(31, 50, 78, .05); }
.storage-config-container:focus-within { border-color: color-mix(in srgb, var(--primary, #16895e) 36%, var(--line, #e4eaf2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #16895e) 9%, transparent); }
.storage-config-new { border-style: dashed; }
.storage-pool { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; max-height: inherit; }
.storage-pool header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; padding: 18px 20px 14px; border-bottom: 1px solid var(--line, #e4eaf2); background: #fff; }
.storage-pool header > div { min-width: 0; }
.storage-pool header h2 { margin: 0 0 4px; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.storage-pool header p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.storage-config-body { display: grid; align-content: start; min-width: 0; min-height: 0; gap: 14px; overflow: auto; overscroll-behavior: contain; padding: 16px 20px 20px; }
.storage-config-body > * { min-width: 0; }
.storage-pool .form-grid, .storage-defaults { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.storage-pool .wide { grid-column: 1 / -1; }
.storage-addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.storage-pool .storage-address { min-width: 0; margin: 0; padding: 10px; gap: 6px; border: 1px solid var(--line, #e4eaf2); border-radius: 10px; background: var(--surface-2, #f8fafc); }
.storage-address-heading { display: flex; align-items: center; gap: 7px; min-width: 0; }
.storage-address-badge { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; font-size: 10px; line-height: 1.4; font-weight: 800; }
.storage-address.internal .storage-address-badge { background: #eef2f6; color: #526071; }
.storage-address.external { border-color: color-mix(in srgb, var(--primary, #16895e) 18%, var(--line, #e4eaf2)); background: color-mix(in srgb, var(--primary, #16895e) 4%, #fff); }
.storage-address.external .storage-address-badge { background: #e9f7f1; color: #11734f; }
.storage-address input { min-width: 0; padding: 8px 10px; font-size: 12px; }
.storage-address small { overflow: hidden; color: var(--muted, #667085); font-size: 11px; font-weight: 400; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.storage-actions, .storage-card-actions { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.storage-card-actions { flex-wrap: wrap; padding-top: 2px; border-top: 1px solid var(--line, #e4eaf2); }
.storage-pool-summary { display: flex; flex-wrap: wrap; gap: 7px 16px; color: var(--muted, #667085); font-size: 12px; }
.storage-pool-fields[hidden] { display: none; }
.storage-pool.editing { outline: 2px solid color-mix(in srgb, var(--primary, #16895e) 28%, transparent); }
.button.danger { border-color: #fecaca; color: #b42318; background: #fff7f7; }
.button.danger:hover { border-color: #fca5a5; background: #fff0f0; }
.storage-form-feedback { grid-column: 1 / -1; padding: 10px 12px; border: 1px solid #fecaca; border-radius: 9px; background: #fff1f2; color: #b42318; font-size: 13px; }
.storage-form-feedback[hidden] { display: none; }
.storage-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; background: #e9f7f1; color: #11734f; }
.storage-status.disabled { background: #f2f3f5; color: #747b85; }
.storage-help { border-left: 3px solid var(--primary, #16895e); padding-left: 12px; color: var(--muted, #667085); font-size: 13px; }
.job-list-card { padding: 0; overflow: hidden; }
.job-table th, .job-table td { vertical-align: middle; }
.job-table td:first-child { min-width: 190px; }
.job-id { display: block; max-width: 240px; margin-top: 4px; overflow: hidden; color: var(--muted, #667085); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.job-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.job-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.job-status.running { background: #e8f2ff; color: #1769aa; }
.job-status.pending { background: #fff5d9; color: #946200; }
.job-status.stopped, .job-status.unknown { background: #f2f3f5; color: #667085; }
.job-status.success { background: #e9f7f1; color: #11734f; }
.job-status.failed { background: #fff0f0; color: #b42318; }
.job-result { min-width: 180px; max-width: 360px; white-space: normal; }
.job-result.failed { color: #b42318; }
.job-note { margin-top: 12px; font-size: 12px; }
.admin-file-filters { padding-bottom: 18px; }
.admin-file-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 2px 16px; }
.admin-file-filter-grid label { margin-bottom: 14px; }
.admin-file-filter-grid .admin-file-keyword { grid-column: span 2; }
.admin-file-filter-actions { display: flex; gap: 10px; }
.admin-file-summary .stat { min-height: 104px; }
.admin-file-list-card { padding: 0; overflow: hidden; }
.admin-file-table th, .admin-file-table td { vertical-align: middle; }
.admin-file-table small { display: block; max-width: 260px; overflow: hidden; color: var(--muted, #667085); font-size: 11px; text-overflow: ellipsis; }
.admin-file-name { min-width: 240px; max-width: 360px; }
.admin-file-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-file-actions { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.admin-file-actions button:disabled { cursor: not-allowed; opacity: .38; }
.admin-file-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 12px; font-weight: 700; }
.admin-file-status.upload-ready, .admin-file-status.lifecycle-approved { background: #e9f7f1; color: #11734f; }
.admin-file-status.upload-uploading, .admin-file-status.lifecycle-scanning { background: #e8f2ff; color: #1769aa; }
.admin-file-status.upload-shared { background: #eeeaff; color: #5b43a6; }
.admin-file-status.upload-expired, .admin-file-status.upload-deleted, .admin-file-status.lifecycle-rejected { background: #fff0f0; color: #b42318; }
.admin-file-status.lifecycle-quarantined { background: #fff5d9; color: #946200; }
.admin-file-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--muted, #667085); font-size: 13px; }
.admin-file-pagination > div { display: flex; align-items: center; gap: 6px; }
.admin-file-pagination a, .admin-file-pagination .disabled, .admin-file-pagination .ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line, #e4eaf2); border-radius: 9px; background: #fff; }
.admin-file-pagination a:hover, .admin-file-pagination a.active { border-color: var(--primary, #246bfd); background: #edf4ff; color: var(--primary, #246bfd); }
.admin-file-pagination .disabled { opacity: .5; }
.admin-file-pagination .ellipsis { min-width: 22px; padding: 0; border: 0; background: transparent; }
.admin-file-page-meta { color: var(--muted, #667085); text-align: right; }
.admin-file-preview { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgb(15 23 42 / 72%); }
.admin-file-preview-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1080px, 100%); height: min(780px, 92vh); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgb(15 23 42 / 35%); }
.admin-file-preview-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line, #e4eaf2); }
.admin-file-preview-panel h2 { margin: 0; overflow-wrap: anywhere; font-size: 18px; }
.admin-file-preview-panel p { margin: 5px 0 0; color: var(--muted, #667085); font-size: 12px; }
.admin-file-preview-content { display: grid; place-items: center; min-height: 0; overflow: auto; background: #f3f6fa; }
.admin-file-preview-content img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.admin-file-preview-content iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.admin-file-preview-content pre { align-self: stretch; justify-self: stretch; margin: 0; padding: 24px; overflow: auto; color: #172033; background: #fff; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.file-list-actions { display: flex; align-items: center; gap: 10px; }
.share-select-cell { width: 72px; text-align: center; }
.share-select-cell input, .share-file-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary, #246bfd); cursor: pointer; }
.share-select-cell input:disabled { cursor: not-allowed; opacity: .4; }
.file-list-card button:disabled { cursor: not-allowed; opacity: .45; }
.share-dialog { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgb(15 23 42 / 72%); }
.share-dialog-panel { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; width: min(680px, 100%); max-height: min(720px, 92vh); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgb(15 23 42 / 35%); }
.share-dialog-panel > header, .share-dialog-panel > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.share-dialog-panel > header { align-items: flex-start; border-bottom: 1px solid var(--line, #e4eaf2); }
.share-dialog-panel > footer { border-top: 1px solid var(--line, #e4eaf2); }
.share-dialog-panel > footer > div { display: flex; gap: 10px; }
.share-dialog-panel h2 { margin: 0; font-size: 20px; }
.share-dialog-panel header p { margin: 5px 0 0; color: var(--muted, #667085); font-size: 13px; }
.share-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line, #e4eaf2); color: var(--muted, #667085); font-size: 13px; }
.share-dialog-list { display: grid; align-content: start; gap: 8px; min-height: 120px; padding: 14px 22px; overflow: auto; }
.share-file-option { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; border: 1px solid var(--line, #e4eaf2); border-radius: 10px; cursor: pointer; }
.share-file-option:hover { border-color: var(--primary, #246bfd); background: #f8fbff; }
.share-file-option span { display: grid; min-width: 0; gap: 4px; }
.share-file-option b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-file-option small { color: var(--muted, #667085); }
.share-empty-hint { color: #b42318; font-size: 13px; }
.share-empty-hint[hidden] { visibility: hidden; display: inline; }
.share-dialog-panel button:disabled { cursor: not-allowed; opacity: .45; }
.share-results { grid-template-rows: auto minmax(0, 1fr) auto; }
.share-result-item { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line, #e4eaf2); border-radius: 10px; }
.share-result-item a { overflow-wrap: anywhere; color: var(--primary, #246bfd); font-size: 13px; }
.share-result-error { color: #b42318; font-size: 13px; }
.share-result-item small { color: var(--muted, #667085); overflow-wrap: anywhere; }
.fixed-share-success-dialog .share-results { width: min(560px, 100%); max-height: calc(100dvh - 32px); min-width: 0; }
.fixed-share-success-dialog .share-results > header { padding: 22px; background: linear-gradient(135deg, #f3fbf7, #fff); }
.share-result-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.share-result-heading > div { min-width: 0; }
.share-result-heading h2 { color: #173d30; font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
.share-result-heading p { margin: 5px 0 0; color: var(--muted, #667085); font-size: 12px; line-height: 1.6; }
.share-result-success-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #c7e9d9; border-radius: 14px; background: #e9f7f1; color: #16895e; }
.share-result-success-icon svg { width: 26px; height: 26px; }
.fixed-share-success-dialog .dialog-close { flex: 0 0 auto; padding: 4px; }
.share-result-body { display: grid; align-content: start; gap: 16px; min-width: 0; min-height: 0; padding: 22px; overflow: auto; }
.share-result-files { min-width: 0; }
.share-result-files > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.share-result-files > div > span { padding: 3px 9px; border-radius: 999px; background: #eef6f2; color: #11734f; font-size: 12px; white-space: nowrap; }
.share-result-files ul { display: grid; gap: 6px; max-height: 112px; margin: 10px 0 0; padding: 0; overflow: auto; list-style: none; }
.share-result-files li { padding: 8px 11px; border-radius: 8px; background: #f8fafc; color: #475467; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.fixed-share-success-dialog .share-result-item { min-width: 0; gap: 10px; padding: 16px; border-color: #c7e9d9; border-radius: 12px; background: #f4fbf7; }
.fixed-share-success-dialog .share-result-item b, .share-result-password b { font-size: 13px; color: #344054; }
.fixed-share-success-dialog .share-result-item a { display: block; min-width: 0; padding: 11px 12px; border: 1px solid #dcece3; border-radius: 8px; background: #fff; color: #11734f; font: 500 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.fixed-share-success-dialog .share-result-item small { font-size: 12px; line-height: 1.6; }
.share-result-password { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid #e4eaf2; border-radius: 12px; background: #f8fafc; }
.share-result-password > div { display: grid; gap: 5px; }
.share-result-password small { color: var(--muted, #667085); font-size: 12px; line-height: 1.6; }
.share-result-password output { min-width: 0; padding: 8px 12px; border: 1px dashed #c6dbd0; border-radius: 8px; background: #fff; color: #11734f; text-align: center; font: 700 16px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.fixed-share-success-dialog .share-results > footer { padding: 16px 22px; gap: 10px; background: #fcfdfd; }
.fixed-share-success-dialog .share-results > footer > button { min-width: 0; border-radius: 10px; }
.fixed-share-success-dialog .share-results > footer > [data-action="copy-share-result"] { flex: 2; }
@media (max-width:430px) {
  .fixed-share-success-dialog { padding: 12px; }
  .fixed-share-success-dialog .share-results { max-height: calc(100dvh - 24px); }
  .fixed-share-success-dialog .share-results > header { padding: 18px 16px; gap: 8px; }
  .share-result-heading { gap: 10px; }
  .share-result-heading h2 { font-size: 17px; }
  .share-result-success-icon { width: 36px; height: 36px; border-radius: 11px; }
  .share-result-body { padding: 16px; gap: 14px; }
  .share-result-password { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fixed-share-success-dialog .share-results > footer { padding: 14px 16px; flex-direction: column; }
  .fixed-share-success-dialog .share-results > footer > button { width: 100%; }
}
.share-entry-page, .share-view-page { --share-navy: #10264a; --share-blue: #246bfd; --share-sky: #eaf2ff; min-height: 100vh; background: #f6f8fc; }
.share-entry-page { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: radial-gradient(circle at 13% 24%, rgba(36, 107, 253, .12), transparent 31%), linear-gradient(120deg, #f8faff 0%, #f3f7fd 52%, #edf4ff 100%); }
.share-entry-page::before { position: fixed; z-index: 0; inset: 80px auto auto 0; width: 42vw; height: 65vh; border-radius: 0 50% 50% 0; background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(219, 233, 255, .12)); transform: skewY(-8deg); pointer-events: none; content: ""; }
.share-entry-page .site-head { z-index: 2; }
.share-entry-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .72fr); align-items: center; gap: clamp(50px, 8vw, 120px); width: min(1120px, calc(100% - 40px)); margin: auto; padding: 58px 0 84px; }
.share-entry-copy { max-width: 620px; }
.share-entry-copy h1 { margin: 0; color: var(--share-navy); font-size: clamp(50px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -.065em; }
.share-entry-copy h1 span { color: var(--share-blue); }
.share-entry-copy > p:not(.eyebrow) { max-width: 570px; margin: 26px 0 0; color: #5a6b83; font-size: 17px; line-height: 1.85; }
.share-trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(61, 91, 133, .14); list-style: none; }
.share-trust-list li { display: flex; align-items: flex-start; gap: 11px; }
.share-trust-list li > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: #fff; color: var(--share-blue); box-shadow: 0 5px 14px rgba(30, 73, 140, .08); font-size: 10px; font-weight: 850; }
.share-trust-list div { display: grid; gap: 3px; }
.share-trust-list b { color: #283c5a; font-size: 13px; }
.share-trust-list small { color: #77869a; font-size: 11px; line-height: 1.5; }
.share-entry-panel { position: relative; padding: 44px; border: 1px solid rgba(255, 255, 255, .86); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: 0 30px 80px rgba(30, 65, 120, .16); backdrop-filter: blur(18px); }
.share-panel-mark { position: absolute; top: -18px; right: 32px; display: flex; gap: 5px; padding: 12px 14px; border-radius: 14px; background: var(--share-navy); box-shadow: 0 12px 25px rgba(16, 38, 74, .24); transform: rotate(3deg); }
.share-panel-mark span { width: 5px; height: 23px; border-radius: 9px; background: #fff; }
.share-panel-mark span:nth-child(2) { height: 15px; opacity: .75; }
.share-panel-mark span:nth-child(3) { height: 9px; opacity: .5; }
.share-entry-panel h2 { margin: 0; color: var(--share-navy); font-size: 32px; letter-spacing: -.04em; }
.share-entry-panel > p:not(.eyebrow) { margin: 8px 0 28px; color: #6b7b91; font-size: 14px; }
.share-entry-panel strong { padding: 2px 7px; border-radius: 6px; background: var(--share-sky); color: var(--share-blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.share-entry-form { display: grid; gap: 9px; }
.share-entry-form > label { display: flex; align-items: center; gap: 8px; color: #263b59; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.share-entry-form > label::before { width: 4px; height: 16px; border-radius: 5px; background: var(--share-blue); content: ""; }
.share-code-field { display: flex; align-items: center; min-height: 60px; overflow: hidden; border: 1px solid #c8d6e9; border-radius: 16px; background: linear-gradient(135deg, #fafdff, #f3f7fd); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 22px rgba(39, 77, 132, .06); transition: border-color .2s, box-shadow .2s, transform .2s; }
.share-code-field:hover { border-color: #9eb6d6; }
.share-code-field:focus-within { border-color: var(--share-blue); box-shadow: 0 0 0 4px rgba(36, 107, 253, .12), 0 10px 24px rgba(36, 107, 253, .1); transform: translateY(-1px); }
.share-code-field > span { align-self: stretch; display: grid; place-items: center; min-width: 58px; padding: 0 14px; border-right: 1px solid #dce6f2; background: rgba(232, 241, 255, .72); color: var(--share-blue); font: 800 14px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.share-code-field input { min-width: 0; flex: 1; height: 58px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: #1a2d48; font-size: 16px; font-weight: 700; letter-spacing: .08em; box-shadow: none; }
.share-code-field input::placeholder { color: #a2afbf; font-weight: 500; letter-spacing: 0; }
.share-code-field input:focus { border: 0; box-shadow: none; }
.share-entry-form > small { display: flex; align-items: center; gap: 6px; margin: 1px 0 12px 4px; color: #8290a3; font-size: 11px; }
.share-entry-form > small::before { content: "ⓘ"; color: #7d9bc5; font-size: 13px; }
.share-entry-form .button { width: 100%; justify-content: space-between; padding-inline: 19px; }
.share-security-note { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ecf0f6; }
.share-security-note > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e9f8f2; color: #0c8b62; font-weight: 900; }
.share-security-note p { display: grid; gap: 1px; margin: 0; }
.share-security-note b { color: #42556d; font-size: 12px; }
.share-security-note small { color: #8995a5; font-size: 11px; }
.share-entry-footer, .share-view-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 40px)); margin: auto; padding: 24px 0; border-top: 1px solid rgba(61, 91, 133, .12); color: #8694a7; font-size: 11px; letter-spacing: .08em; }
.share-entry-footer p, .share-view-footer p { margin: 0; }
html:has(.share-view-page), body:has(.share-view-page) { overflow-x: clip; }
.share-view-page { display: grid; width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; overflow-wrap: anywhere; background: radial-gradient(circle at 50% -5%, #dbe9ff 0, transparent 38%), #f5f7fb; }
.share-view-page > *, .share-view-page .share-content-header > div { min-width: 0; }
.share-view-page .site-footer a { min-width: 0; max-width: 100%; }
.share-view-page .public-share-list { grid-template-columns: minmax(0, 1fr); }
.share-view-page .public-share-item, .share-view-page .public-share-folder b { min-width: 0; }
.share-view-page .public-share-choice { flex: 1; }
.share-view-head { display: flex; align-items: center; justify-content: space-between; width: min(1000px, calc(100% - 40px)); height: 82px; margin: auto; }
.share-view-head > a:last-child { padding: 8px 12px; border-radius: 9px; color: #607189; font-size: 13px; font-weight: 700; }
.share-view-head > a:last-child:hover { background: #fff; color: var(--share-blue); }
.share-view-main { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: min(1000px, calc(100% - 40px)); margin: auto; padding: 28px 0 70px; }
.share-view-footer { width: min(1000px, calc(100% - 40px)); }
.share-content-card, .share-state-card { width: 100%; border: 1px solid rgba(218, 227, 240, .9); border-radius: 25px; background: rgba(255, 255, 255, .94); box-shadow: 0 25px 65px rgba(24, 54, 100, .12); }
.share-content-card { padding: 34px; }
.share-content-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.share-content-header h1, .share-state-card h1 { margin: 0; color: var(--share-navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -.045em; }
.share-content-header > div > p:last-child { margin: 9px 0 0; color: #748297; }
.share-verified { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #eaf8f3; color: #087a56; font-size: 12px; font-weight: 750; white-space: nowrap; }
.share-verified i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #0b9367; color: #fff; font-size: 10px; font-style: normal; }
.share-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 0; overflow: hidden; border: 1px solid #e7edf5; border-radius: 14px; background: #f8fafc; }
.share-summary div { display: grid; gap: 4px; padding: 16px 18px; border-right: 1px solid #e7edf5; }
.share-summary div:last-child { border: 0; }
.share-summary small { color: #8290a3; font-size: 11px; }
.share-summary b { overflow-wrap: anywhere; color: #354a64; font-size: 14px; }
.public-share-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 11px 13px; border: 1px solid #dce6f5; border-radius: 12px; background: #f3f7fe; }
.public-share-toolbar > div { display: flex; align-items: center; gap: 12px; }
.public-share-toolbar span { color: var(--muted, #667085); font-size: 12px; }
.public-share-feedback { flex-basis: 100%; margin: 0; padding: 10px 12px; }
.public-share-feedback[hidden] { display: none; }
.public-share-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; color: #8290a3; }
.public-share-breadcrumb button { padding: 0; border: 0; background: none; color: #315f9d; cursor: pointer; font: inherit; }
.public-share-folder { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 1px solid #e5ebf3; border-radius: 13px; background: #f8faff; color: #263c57; text-align: left; cursor: pointer; }
.public-share-folder span { color: #d59a20; font-size: 20px; }
.public-share-folder { min-height: 70px; }
.public-share-folder-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; align-self: stretch; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.public-share-folder-open > svg { width: 42px; height: 42px; flex: 0 0 auto; }
.public-share-list { display: grid; align-content: start; gap: 9px; max-height: min(480px, 52vh); margin: 18px 0; padding-right: 5px; overflow: auto; scrollbar-color: #cad6e7 transparent; scrollbar-width: thin; }
.public-share-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid #e5ebf3; border-radius: 13px; background: #fff; text-align: left; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.public-share-item:hover { border-color: #c8d8ef; box-shadow: 0 6px 16px rgba(30, 65, 120, .06); }
.public-share-item.selected { border-color: #b8cff8; background: #f7faff; }
.public-share-choice, .public-share-file-single { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; cursor: pointer; }
.public-share-file-single { flex: 1; cursor: default; }
.public-share-choice input, .public-share-folder > input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--share-blue); }
.public-share-folder > input:disabled { accent-color: #98a2b3; opacity: .55; cursor: not-allowed; }
.share-file-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: #eaf2ff; color: #246bfd; font-size: 13px; font-weight: 850; }
.share-file-icon[data-type="图片"] { background: #e8f7f3; color: #078063; }
.share-file-icon[data-type="视频"], .share-file-icon[data-type="音频"] { background: #f1edff; color: #6b4ec4; }
.share-file-icon[data-type="压缩包"] { background: #fff4dc; color: #a56400; }
.public-share-file-meta { display: grid; min-width: 0; gap: 3px; }
.public-share-list b { overflow: hidden; color: #263c57; text-overflow: ellipsis; white-space: nowrap; }
.public-share-list small { color: #8491a3; font-size: 12px; overflow-wrap: anywhere; }
.public-share-toolbar button:disabled, .public-share-list button:disabled, .public-share-choice input:disabled { cursor: not-allowed; opacity: .45; }
.share-content-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid #edf1f6; }
.share-content-foot p { margin: 0; color: #8491a3; font-size: 11px; }
.share-content-foot p span { color: #0c9066; font-weight: 850; }
.share-limit-notice { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 15px; border: 1px solid #f3c4c7; border-radius: 12px; background: #fff5f5; color: #9d2930; }
.share-limit-notice > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #da4149; color: #fff; font-weight: 900; }
.share-limit-notice p { display: grid; gap: 1px; margin: 0; }
.share-limit-notice small { font-weight: 400; }
.share-empty-state { display: grid; place-items: center; min-height: 180px; color: #52647a; text-align: center; }
.share-empty-state span { color: #8591a2; font-size: 13px; }
.share-state-card { max-width: 520px; padding: 48px; text-align: center; }
.share-state-description { max-width: 390px; margin: 14px auto 22px; color: #6d7e94; }
.share-state-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 19px; background: #eaf2ff; color: var(--share-blue); font-size: 26px; font-weight: 850; }
.share-state-icon.error { background: #fff0f1; color: #c8323b; }
.share-state-icon.lock { position: relative; }
.share-state-icon.lock::before { position: absolute; top: 14px; width: 20px; height: 18px; border: 3px solid currentColor; border-bottom: 0; border-radius: 12px 12px 0 0; content: ""; }
.share-state-icon.lock i { position: absolute; top: 28px; width: 28px; height: 23px; border-radius: 6px; background: currentColor; }
.share-inline-error { margin: 0 0 22px; padding: 10px 12px; border-radius: 10px; background: #fff3f3; color: #a12a31; font-size: 13px; }
.share-inline-error[hidden] { display: none; }
.share-password-form { display: grid; gap: 9px; text-align: left; }
.share-password-form label { color: #3c5068; font-size: 13px; font-weight: 750; }
.share-password-field { display: flex; align-items: center; min-height: 56px; overflow: hidden; border: 1px solid #cbd7e7; border-radius: 14px; background: #f9fbfe; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.share-password-field:focus-within { border-color: var(--share-blue); background: #fff; box-shadow: 0 0 0 4px rgba(36, 107, 253, .1); }
.share-password-field > span { display: grid; place-items: center; width: 48px; align-self: stretch; border-right: 1px solid #dce4ef; color: #6e84a1; font-size: 22px; font-weight: 800; }
.share-password-field input { min-width: 0; flex: 1; height: 54px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--share-navy); letter-spacing: .08em; }
.share-password-field input::placeholder { color: #96a2b2; letter-spacing: 0; }
.share-password-form .share-inline-error { margin: 2px 0 0; }
.share-password-form .button { justify-content: space-between; margin-top: 8px; box-shadow: 0 10px 24px rgba(36, 107, 253, .2); }
.share-password-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.share-password-hint { margin: 17px 0 0; color: #8a96a6; font-size: 11px; }
.share-loader { display: flex; justify-content: center; gap: 7px; margin: 3px 0 28px; }
.share-loader span { width: 11px; height: 11px; border-radius: 50%; background: var(--share-blue); animation: share-pulse 1s ease-in-out infinite; }
.share-loader span:nth-child(2) { animation-delay: .14s; }
.share-loader span:nth-child(3) { animation-delay: .28s; }
.share-loading-lines { display: grid; gap: 9px; margin-top: 30px; }
.share-loading-lines i { display: block; height: 9px; border-radius: 99px; background: #edf2f8; }
.share-loading-lines i:nth-child(2) { width: 76%; }
.share-loading-lines i:nth-child(3) { width: 56%; }
@keyframes share-pulse { 0%, 100% { opacity: .32; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }
.auth-card label { grid-template-columns: minmax(0, 1fr); }
.auth-card label > input { width: 100%; min-width: 0; }
.register-card { width: min(520px, 100%); }
.register-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 14px 0; padding: 4px; border-radius: 10px; background: #f2f4f7; }
.register-tabs button { padding: 9px; border: 0; border-radius: 8px; color: var(--muted, #667085); background: transparent; cursor: pointer; }
.register-tabs button.active { color: var(--primary, #246bfd); background: #fff; box-shadow: 0 1px 4px rgb(15 23 42 / 10%); }
.register-channel[hidden], [data-sms-tencent][hidden] { display: none; }
.verification-row, .password-input { display: flex; align-items: stretch; gap: 8px; }
.verification-row input, .password-input input { min-width: 0; flex: 1; }
.password-input button { min-width: 58px; border: 1px solid var(--line, #e4eaf2); border-radius: 8px; background: #fff; cursor: pointer; }
.password-strength { position: relative; height: 28px; margin-top: -5px; overflow: hidden; border-radius: 7px; background: #eef1f5; }
.password-strength i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #e5484d, #f5a524, #16895e); transition: width .2s; }
.password-strength span { position: relative; z-index: 1; display: block; padding: 5px 9px; font-size: 12px; }
.password-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 16px; margin: 0 0 15px; padding-left: 20px; color: var(--muted, #667085); font-size: 12px; }
.password-rules .passed { color: #11734f; }
.admin-share-filter-grid { display: grid; grid-template-columns: repeat(3,minmax(150px,1fr)); gap: 12px; align-items: end; }
.admin-share-filter-grid label { display: grid; gap: 6px; }
.admin-share-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.admin-share-summary article { padding: 18px; border: 1px solid var(--line,#e4eaf2); border-radius: 12px; background: #fff; }
.admin-share-summary span,.admin-share-table small { display: block; color: var(--muted,#667085); }
.admin-share-summary b { display: block; margin-top: 8px; font-size: 24px; }
.admin-share-batch { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.admin-share-batch span { color: var(--muted,#667085); font-size: 12px; }
.admin-share-table { width: 100%; border-collapse: collapse; }
.admin-share-table th,.admin-share-table td { padding: 12px 9px; border-bottom: 1px solid var(--line,#e4eaf2); text-align: left; vertical-align: top; }
.admin-share-table em { display: inline-block; margin: 5px 4px 0 0; padding: 2px 7px; border-left: 3px solid var(--tag); border-radius: 4px; background: #f5f7fa; font-size: 11px; font-style: normal; }
.risk-high { color: #b42318!important; }.risk-medium { color: #b54708!important; }.risk-low { color: #027a48!important; }
.admin-share-chart { display: grid; gap: 9px; }.admin-share-chart>div { display: grid; grid-template-columns: 100px 1fr 50px; align-items: center; gap: 10px; }.admin-share-chart i { display: block; min-width: 2px; height: 9px; border-radius: 9px; background: var(--primary,#246bfd); }
.settings-form { display: grid; gap: 16px; margin-bottom: 18px; }
.account-settings { width: min(680px, 100%); margin: 0 auto; padding: 12px 0 48px; }
.account-settings-profile { display: grid; justify-items: center; padding: 20px 20px 30px; text-align: center; }
.account-settings-avatar { display: grid; place-items: center; width: 82px; height: 82px; overflow: hidden; border: 1px solid #e1e8f2; border-radius: 50%; background: #fff; color: var(--primary, #246bfd); box-shadow: 0 10px 30px rgb(29 54 91 / 10%); font-size: 30px; font-weight: 800; }
.account-settings-avatar img { width: 100%; height: 100%; padding: 12px; box-sizing: border-box; object-fit: contain; }
.account-settings-profile h1 { margin: 14px 0 5px; color: #172b4d; font-size: 24px; }
.account-settings-profile p { margin: 0; color: var(--muted, #667085); font-size: 13px; }
.account-settings-group { margin-bottom: 18px; overflow: hidden; border: 1px solid #e6ebf2; border-radius: 16px; background: #fbfcfe; box-shadow: 0 7px 24px rgb(31 50 78 / 4%); }
.account-settings-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; width: 100%; padding: 18px 20px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.account-settings-row + .account-settings-row { border-top: 1px solid #e6ebf2; }
.account-settings-row:hover { background: #f5f8fd; }
.account-settings-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #eaf2ff; color: #246bfd; font-size: 18px; font-weight: 800; }
.account-settings-copy { display: grid; min-width: 0; gap: 4px; }
.account-settings-copy b { color: #243b5a; font-size: 15px; }
.account-settings-copy small { overflow: hidden; color: #8491a5; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-settings-link { color: #246bfd; font-size: 13px; font-weight: 700; }
.account-settings-modal[hidden] { display: none; }
.account-settings-modal { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(15 23 42 / 58%); }
.account-settings-modal-panel { width: min(440px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgb(15 23 42 / 32%); }
.account-settings-modal-panel > header, .account-settings-modal-panel footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.account-settings-modal-panel > header { border-bottom: 1px solid #e6ebf2; }
.account-settings-modal-panel h2 { margin: 0; font-size: 18px; }
.account-settings-modal-panel .settings-form { gap: 0; margin: 0; }
.account-settings-modal-body { display: grid; gap: 18px; padding: 24px; background: #fbfcfe; }
.account-settings-modal-body label { display: grid; gap: 8px; margin: 0; color: #344054; font-size: 13px; font-weight: 700; }
.account-settings-modal-body input { width: 100%; min-height: 48px; box-sizing: border-box; padding: 0 15px; border: 1px solid #d7deea; border-radius: 12px; outline: 0; background: #fff; color: #172b4d; box-shadow: 0 1px 2px rgb(15 23 42 / 3%); font: inherit; font-weight: 500; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.account-settings-modal-body input::placeholder { color: #a7b0bf; }
.account-settings-modal-body input:hover { border-color: #b9c6d8; }
.account-settings-modal-body input:focus { border-color: #246bfd; box-shadow: 0 0 0 4px rgb(36 107 253 / 12%); }
.account-settings-modal-body input[readonly] { border-color: #e5eaf1; background: #f2f5f9; color: #7b8798; cursor: not-allowed; }
.account-settings-modal-body .verification-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; }
.account-settings-modal-body .verification-row .button { min-width: 112px; min-height: 48px; border-radius: 12px; }
.account-settings-modal-body .form-feedback:not([hidden]) { padding: 11px 13px; border-radius: 10px; background: #fff1f0; color: #b42318; font-size: 13px; font-weight: 500; }
.account-settings-modal-panel footer { justify-content: flex-end; border-top: 1px solid #e6ebf2; background: #fff; }
.account-settings-modal-panel footer .button { min-width: 92px; min-height: 42px; border-radius: 10px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.settings-grid fieldset { display: grid; align-content: start; gap: 10px; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line, #e4eaf2); border-radius: 10px; }
.settings-grid legend { padding: 0 6px; font-weight: 700; }
.settings-grid fieldset label { margin: 0; }
@media (max-width: 1100px) { .admin-file-filter-grid, .admin-share-filter-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); } .share-entry-main { grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 42px; } .share-trust-list { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 800px) { .share-entry-page { overflow: visible; } .share-entry-main { grid-template-columns: 1fr; padding: 48px 0 60px; } .share-entry-copy { text-align: center; justify-self: center; } .share-entry-copy > p:not(.eyebrow) { margin-inline: auto; } .share-trust-list { grid-template-columns: repeat(3, 1fr); text-align: left; } .share-entry-panel { width: min(520px, 100%); justify-self: center; } }
@media (max-width: 640px) { .account-settings { padding-top: 0; } .account-settings-profile { padding: 10px 16px 24px; } .account-settings-avatar { width: 72px; height: 72px; } .account-settings-row { padding: 16px; } .account-settings-copy small { white-space: normal; } .account-settings-modal { align-items: end; padding: 10px; } .account-settings-modal-panel { max-height: calc(100vh - 20px); border-radius: 16px; } .account-settings-modal-panel footer .button { flex: 1; } .settings-grid, .password-rules { grid-template-columns: 1fr; } .verification-row { align-items: stretch; flex-direction: column; } .verification-row .button { width: 100%; } .storage-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .storage-config-container { max-height: min(680px, calc(100vh - 96px)); border-radius: 12px; } .storage-pool header { padding: 15px 16px 12px; } .storage-config-body { padding: 14px 16px 16px; } .storage-addresses { grid-template-columns: 1fr; } .share-dialog-panel > footer { align-items: stretch; flex-direction: column; } .share-dialog-panel > footer > div { justify-content: flex-end; } .share-entry-main { width: calc(100% - 28px); padding-top: 34px; } .share-entry-copy h1 { font-size: clamp(42px, 13vw, 60px); } .share-entry-copy > p:not(.eyebrow) { font-size: 15px; } .share-trust-list { grid-template-columns: 1fr; width: min(360px, 100%); margin: 34px auto 0; } .share-entry-panel { padding: 34px 22px 26px; border-radius: 22px; } .share-entry-footer, .share-view-footer { width: calc(100% - 28px); } .share-view-head, .share-view-main { width: calc(100% - 28px); } .share-view-head { height: 68px; } .share-view-head > a:last-child { font-size: 12px; } .share-view-main { align-items: start; padding: 18px 0 45px; } .share-content-card { padding: 24px 18px; border-radius: 20px; } .share-content-header { flex-direction: column; } .share-summary { grid-template-columns: 1fr; } .share-summary div { grid-template-columns: 1fr auto; align-items: center; border-right: 0; border-bottom: 1px solid #e7edf5; } .share-summary div:last-child { border-bottom: 0; } .public-share-toolbar { align-items: stretch; flex-direction: column; } .public-share-toolbar > div { justify-content: space-between; } .public-share-toolbar .button { width: 100%; } .public-share-item { align-items: stretch; flex-direction: column; } .public-share-choice, .public-share-file-single { width: 100%; } .public-share-file-meta b { white-space: normal; overflow-wrap: anywhere; } .public-share-list .button { width: 100%; } .share-content-foot { align-items: flex-start; flex-direction: column; } .share-state-card { padding: 38px 22px; border-radius: 20px; } .storage-grid { grid-template-columns: 1fr; } .storage-actions { align-items: stretch; flex-direction: column; } .storage-actions .button { width: 100%; } .job-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-file-filter-grid, .admin-share-filter-grid, .admin-share-summary { grid-template-columns: 1fr; } .admin-file-filter-grid .admin-file-keyword { grid-column: auto; } .admin-file-filter-actions { align-items: stretch; flex-direction: column; } .admin-file-pagination { align-items: stretch; flex-direction: column; } .admin-file-pagination > div { flex-wrap: wrap; } }
@media (max-width: 768px) {
  .share-view-page .share-view-head, .share-view-page .share-view-main { width: calc(100% - 28px); }
  .share-view-page .share-view-head { height: auto; min-height: 68px; gap: 12px; padding-block: 12px; flex-wrap: wrap; }
  .share-view-page .share-view-head .brand { flex: 1 1 180px; min-width: 0; }
  .share-view-page .brand > span { min-width: 0; }
  .share-view-page .share-view-head > a:last-child { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .share-view-page .share-view-main { padding: 18px 0 45px; }
  .share-view-page .share-content-card { min-width: 0; padding: 24px 18px; border-radius: 20px; }
  .share-view-page .share-state-card { min-width: 0; padding: 38px 22px; border-radius: 20px; }
  .share-view-page .share-content-header { flex-wrap: wrap; }
  .share-view-page .share-content-header > div { min-width: 0; flex: 1 1 auto; }
  .share-view-page .share-summary { grid-template-columns: minmax(0, 1fr); }
  .share-view-page .share-summary > div { min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; border-right: 0; border-bottom: 1px solid #e7edf5; }
  .share-view-page .share-summary > div:last-child { border-bottom: 0; }
  .share-view-page .share-summary b { text-align: right; }
  .share-view-page .public-share-toolbar { flex-direction: column; align-items: stretch; }
  .share-view-page .public-share-toolbar > div { min-width: 0; flex-wrap: wrap; }
  .share-view-page .public-share-toolbar > p { min-width: 0; margin: 0; }
  .share-view-page .public-share-toolbar > .button { min-width: 0; max-width: 100%; flex: none; width: 100%; }
  .share-view-page .public-share-list { min-width: 0; gap: 4px; margin-block: 12px; padding-right: 2px; }
  .share-view-page .public-share-item { flex-direction: row; align-items: center; gap: 8px; min-height: 56px; padding: 5px 8px; border-radius: 10px; }
  .share-view-page .public-share-choice, .share-view-page .public-share-file-single { width: auto; gap: 7px; min-height: 44px; }
  .share-view-page .share-file-icon, .share-view-page .public-share-folder-open > svg { width: 30px; height: 30px; }
  .share-view-page .share-file-icon { border-radius: 8px; font-size: 12px; }
  .share-view-page .public-share-file-meta { flex: 1; gap: 2px; }
  .share-view-page .public-share-list b { min-width: 0; white-space: nowrap; overflow-wrap: normal; font-size: 13px; line-height: 18px; }
  .share-view-page .public-share-list small { font-size: 11px; line-height: 14px; }
  .share-view-page .public-share-item > .button { flex: 0 0 auto; width: auto; min-width: 52px; min-height: 44px; padding: 6px 9px; border-radius: 8px; font-size: 12px; line-height: 18px; white-space: nowrap; }
  .share-view-page .public-share-folder { min-height: 56px; padding: 5px 8px; gap: 7px; border-radius: 10px; }
  .share-view-page .public-share-folder-open { min-height: 44px; gap: 7px; }
  .share-view-page .public-share-breadcrumb button { min-width: 0; max-width: 100%; min-height: 44px; text-align: left; overflow-wrap: anywhere; }
  .share-view-page .public-share-folder { min-width: 0; }
  .share-view-page .button, .share-view-page .text-button { min-height: 44px; max-width: 100%; white-space: normal; }
  .share-view-page .share-password-form, .share-view-page .share-password-field { min-width: 0; }
  .share-view-page .share-password-field > span { flex: 0 0 48px; }
  .share-view-page .share-password-field input { width: 0; font-size: 16px; }
}
@media (max-width: 480px) {
  .share-view-page .share-content-card { padding: 22px 14px; }
  .share-view-page .share-content-header { flex-direction: column; gap: 14px; }
  .share-view-page .share-content-header > div { flex-basis: auto; }
  .share-view-page .share-content-header h1, .share-view-page .share-state-card h1 { font-size: 28px; line-height: 1.25; }
  .share-view-page .share-summary { margin-top: 22px; }
  .share-view-page .share-summary > div { padding: 14px; }
  .share-view-page .share-content-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.plan-list-card { padding: 0; overflow: hidden; }
.plan-table td { vertical-align: middle; }
.plan-table td:first-child { min-width: 180px; }
.plan-table td b, .plan-table td small { display: block; }
.plan-table td small { margin-top: 3px; color: var(--muted, #667085); font-size: 11px; }
.plan-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.plan-status.active { background: #e9f7f1; color: #11734f; }
.plan-status.disabled { background: #f2f3f5; color: #667085; }
.plan-form { display: grid; gap: 18px; }
.plan-form-section { margin: 0; }
.plan-form-section > h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line, #e4eaf2); }
.plan-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.plan-form-grid .wide { grid-column: 1 / -1; }
.plan-form-grid > span:empty { display: block; }
.plan-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin-top: 8px; }
.card .plan-check { display: flex; align-items: center; flex-direction: row; gap: 9px; margin: 0; padding: 10px 12px; border: 1px solid var(--line, #e4eaf2); border-radius: 10px; background: var(--surface-2, #f8fafc); }
.plan-check input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--primary, #246bfd); }
.plan-form > .form-feedback { margin: 0; }
.plan-form-actions { position: sticky; z-index: 3; bottom: 12px; display: flex; justify-content: flex-end; gap: 10px; padding: 14px; border: 1px solid var(--line, #e4eaf2); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 8px 28px rgba(15,23,42,.1); backdrop-filter: blur(10px); }
@media (max-width: 800px) { .plan-form-grid { grid-template-columns: 1fr; } .plan-form-grid .wide { grid-column: auto; } .plan-form-grid > span:empty { display: none; } .plan-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plan-check-grid { grid-template-columns: 1fr; } .plan-form-actions { align-items: stretch; flex-direction: column-reverse; } .plan-form-actions .button { width: 100%; } }
.payment-settings { display: grid; gap: 18px; }
.payment-settings > .card { margin: 0; }
.payment-settings .credential-status { margin: 0; padding: 10px 12px; border-radius: 9px; background: #f4f7fb; color: var(--muted, #667085); font-size: 12px; }
.payment-common .notice { margin: 0; }
.order-source-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.orders-card { padding: 0; overflow: hidden; }
.orders-table th, .orders-table td { vertical-align: middle; }
.orders-table td:first-child { min-width: 190px; }
.orders-table td small { display: block; max-width: 230px; margin-top: 4px; overflow: hidden; color: var(--muted, #667085); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.order-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 12px; font-weight: 700; white-space: nowrap; }
.order-status.paid { background: #e9f7f1; color: #11734f; }
.order-status.pending, .order-status.paying { background: #fff5d9; color: #946200; }
.order-status.failed, .order-status.expired { background: #fff0f0; color: #b42318; }
.order-actions { display: flex; align-items: center; gap: 7px; min-width: 290px; }
.order-detail-row td { padding: 0; background: #f8fafc; }
.order-detail { padding: 16px 20px; }
.order-detail dl, .current-plan-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.order-detail dl div, .current-plan-card dl div { display: grid; gap: 4px; }
.order-detail dt, .current-plan-card dt { color: var(--muted, #667085); font-size: 11px; }
.order-detail dd, .current-plan-card dd { margin: 0; overflow-wrap: anywhere; }
.current-plan-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); align-items: center; gap: 26px; }
.current-plan-card h2 { margin: 3px 0 8px; }
.current-plan-card p { margin-bottom: 0; color: var(--muted, #667085); }
.purchase-plans { display: grid; gap: 14px; margin-top: 22px; }
.purchase-plans > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.purchase-plans > header h2, .purchase-plans > header p { margin: 0; }
.purchase-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: start; gap: 16px; }
.purchase-plan-card { position: relative; display: grid; gap: 16px; margin: 0; overflow: hidden; }
.purchase-plan-card.recommended { border-color: color-mix(in srgb, var(--primary, #246bfd) 42%, var(--line, #e4eaf2)); box-shadow: 0 12px 30px rgb(36 107 253 / 10%); }
.purchase-plan-card header h2, .purchase-plan-card header p { margin: 0; }
.purchase-plan-card header p { margin-top: 7px; color: var(--muted, #667085); }
.recommended-badge { position: absolute; top: 0; right: 18px; padding: 6px 11px; border-radius: 0 0 9px 9px; background: var(--primary, #246bfd); color: #fff; font-size: 11px; font-weight: 800; }
.plan-capacity { font-size: 25px; font-weight: 800; }
.purchase-plan-card form, .billing-options, .payment-options { display: grid; gap: 10px; }
.billing-options, .payment-options { min-width: 0; margin: 0; padding: 13px; border: 1px solid var(--line, #e4eaf2); border-radius: 11px; }
.billing-options legend, .payment-options legend { padding: 0 6px; font-size: 12px; font-weight: 700; }
.billing-options label, .payment-options label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 9px; border-radius: 8px; background: var(--surface-2, #f8fafc); cursor: pointer; }
.billing-options input, .payment-options input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--primary, #246bfd); }
.billing-options span, .payment-options span { display: flex; justify-content: space-between; width: 100%; gap: 8px; }
.payment-options label.disabled { cursor: not-allowed; opacity: .55; }
.payment-dialog { grid-template-rows: auto minmax(0, 1fr) auto; }
.payment-unavailable { padding: 22px; overflow: auto; }
.payment-unavailable .notice { margin: 0 0 12px; }
@media (max-width: 800px) { .current-plan-card { grid-template-columns: 1fr; } .order-detail dl, .current-plan-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .purchase-plans > header { align-items: flex-start; flex-direction: column; } }
@media (max-width: 520px) { .order-detail dl, .current-plan-card dl { grid-template-columns: 1fr; } .order-actions { align-items: stretch; flex-direction: column; min-width: 150px; } .order-actions .button, .order-actions .text-button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .share-loader span { animation: none; opacity: .75; } }
.admin-user-filter-grid { display:grid; grid-template-columns:2fr repeat(3,minmax(140px,1fr)); gap:2px 16px; }
.admin-user-filter-grid label { margin-bottom:14px; }
.admin-user-filter-actions { display:flex; gap:10px; }
.admin-user-table th,.admin-user-table td { vertical-align:middle; }
.admin-user-table small { display:block; margin-top:4px; color:var(--muted,#667085); font-size:11px; }
.admin-user-identity { min-width:220px; }
.admin-user-status { display:inline-flex; padding:4px 9px; border-radius:999px; background:#f2f4f7; color:#475467; font-size:12px; font-weight:700; white-space:nowrap; }
.admin-user-status.active { background:#e9f7f1; color:#11734f; }.admin-user-status.banned,.admin-user-status.disabled,.admin-user-status.locked { background:#fff0f0; color:#b42318; }.admin-user-status.pending { background:#fff5d9; color:#946200; }
.admin-user-list-card { padding:0; overflow:hidden; }
.admin-user-drawer,.admin-user-dialog { position:fixed; z-index:1100; inset:0; display:grid; background:rgb(15 23 42 / 60%); }
.admin-user-drawer { justify-items:end; }
.admin-user-drawer-panel { width:min(620px,100%); height:100%; overflow:auto; background:#fff; box-shadow:-18px 0 45px rgb(15 23 42 / 20%); }
.admin-user-drawer-panel>header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:22px; border-bottom:1px solid var(--line,#e4eaf2); }
.admin-user-drawer-panel header h2 { margin:0; }.admin-user-drawer-panel header p { margin:6px 0 0; color:var(--muted,#667085); font-size:13px; }
.admin-user-drawer-content { display:grid; gap:18px; padding:22px; }.admin-user-drawer-content section { padding-bottom:18px; border-bottom:1px solid var(--line,#e4eaf2); }.admin-user-drawer-content h3 { margin:0 0 12px; font-size:15px; }
.admin-user-detail-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; margin:0; }.admin-user-detail-list div { display:grid; gap:3px; }.admin-user-detail-list dt { color:var(--muted,#667085); font-size:11px; }.admin-user-detail-list dd { margin:0; overflow-wrap:anywhere; font-size:13px; }
.admin-user-unavailable { padding:12px; border-radius:9px; background:#f8fafc; color:var(--muted,#667085); font-size:13px; }.admin-user-activity { display:grid; gap:8px; }.admin-user-activity article { display:grid; gap:3px; padding:11px 12px; border:1px solid var(--line,#e4eaf2); border-radius:9px; }.admin-user-activity span,.admin-user-activity small { color:var(--muted,#667085); font-size:11px; }.admin-user-danger-zone { border-bottom:0!important; }.admin-user-actions { display:flex; flex-wrap:wrap; gap:8px; }
.admin-user-dialog { place-items:center; padding:20px; }.admin-user-dialog-panel { display:grid; width:min(520px,100%); max-height:min(760px,92vh); overflow:auto; border-radius:16px; background:#fff; box-shadow:0 28px 80px rgb(15 23 42 / 35%); }.admin-user-dialog-panel>header,.admin-user-dialog-panel>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; }.admin-user-dialog-panel>header { border-bottom:1px solid var(--line,#e4eaf2); }.admin-user-dialog-panel>header h2 { margin:0; font-size:19px; }.admin-user-dialog-panel>div { display:grid; gap:14px; padding:20px 22px; }.admin-user-dialog-panel label { display:grid; gap:6px; margin:0; }.admin-user-dialog-panel textarea { resize:vertical; }.admin-user-dialog-panel footer { justify-content:flex-end; border-top:1px solid var(--line,#e4eaf2); }.admin-user-checkbox { display:flex!important; align-items:center; gap:8px; }.admin-user-checkbox input { width:17px; height:17px; margin:0; }.admin-user-plan-expiry-mode { display:grid; gap:6px; }.admin-user-plan-expiry-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.admin-user-plan-expiry-options label { position:relative; display:block; }.admin-user-plan-expiry-options input { position:absolute; opacity:0; pointer-events:none; }.admin-user-plan-expiry-options span { display:flex; min-height:42px; align-items:center; justify-content:center; padding:9px 12px; border:1px solid var(--line,#d0d5dd); border-radius:9px; background:#fff; color:#344054; font-weight:700; cursor:pointer; }.admin-user-plan-expiry-options input:checked+span { border-color:var(--primary,#2563eb); background:#eff6ff; color:var(--primary,#2563eb); box-shadow:0 0 0 1px var(--primary,#2563eb); }.admin-user-dialog-panel [data-plan-expiry-field] { gap:8px; padding:14px; border:1px solid #dbe5f2; border-radius:12px; background:linear-gradient(145deg,#f8fbff,#f3f7fd); color:#27364b; font-weight:700; }.admin-user-dialog-panel [data-plan-expiry-field] input[type="datetime-local"] { width:100%; min-height:48px; box-sizing:border-box; padding:0 14px; border:1px solid #cbd8e8; border-radius:10px; outline:0; background:#fff; color:#172b4d; box-shadow:0 1px 2px rgb(15 23 42 / 4%); font:600 14px/1.4 inherit; color-scheme:light; transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }.admin-user-dialog-panel [data-plan-expiry-field] input[type="datetime-local"]:hover { border-color:#94acd0; }.admin-user-dialog-panel [data-plan-expiry-field] input[type="datetime-local"]:focus { border-color:var(--primary,#2563eb); box-shadow:0 0 0 3px rgb(37 99 235 / 13%); }.admin-user-dialog-panel [data-plan-expiry-field] input[type="datetime-local"]::-webkit-calendar-picker-indicator { width:20px; height:20px; padding:6px; border-radius:7px; background-color:#edf4ff; cursor:pointer; opacity:.8; }.admin-user-dialog-panel [data-plan-expiry-field] input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover { background-color:#dbeafe; opacity:1; }.admin-user-dialog-panel [data-plan-expiry-field] small { color:#667085; font-size:12px; font-weight:400; line-height:1.5; }.admin-user-dialog-panel [hidden] { display:none!important; }
@media(max-width:900px){.admin-user-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-keyword{grid-column:1/-1}}
@media(max-width:640px){.admin-user-filter-grid,.admin-user-detail-list{grid-template-columns:1fr}.admin-user-table{min-width:900px}.admin-user-filter-actions{flex-wrap:wrap}.admin-user-filter-actions .button{flex:1}.admin-user-drawer-content,.admin-user-drawer-panel>header{padding:18px}.admin-user-dialog{padding:12px}.admin-user-dialog-panel>header,.admin-user-dialog-panel>footer,.admin-user-dialog-panel>div{padding-inline:16px}}
.enterprise-page { display: grid; gap: 22px; min-width: 0; color: #1e293b; }
.enterprise-page .section-title { margin-bottom: 0; }
.enterprise-panel { min-width: 0; padding: 26px; border: 1px solid #e1e8f2; border-radius: 20px; background: #fff; box-shadow: 0 6px 22px rgb(30 64 175 / 4%); }
.enterprise-page h2 { margin: 0 0 10px; font-size: 20px; }
.enterprise-page h3 { margin: 0; font-size: 17px; }
.enterprise-page p, .enterprise-page h2, .enterprise-page h3, .enterprise-page code { overflow-wrap: anywhere; }
.enterprise-muted, .enterprise-page small { color: #64748b; line-height: 1.65; }
.enterprise-page .eyebrow { color: #2563eb; }
.enterprise-section-head, .enterprise-member-head, .enterprise-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.enterprise-section-head > div, .enterprise-member-head > div, .enterprise-identity > div { min-width: 0; }
.enterprise-section-head h2 { margin-bottom: 0; }
.enterprise-section-head .enterprise-muted { margin: 10px 0 0; }
.enterprise-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 8px; background: #eff6ff; color: #2563eb; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.enterprise-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.enterprise-status-active { background: #ecfdf5; color: #047857; }
.enterprise-status-disabled { background: #fff7ed; color: #9a3412; }
.enterprise-identity { display: flex; align-items: flex-start; gap: 18px; background: linear-gradient(125deg, #f0f6ff, #fff); }
.enterprise-identity > .enterprise-badge { margin-left: auto; }
.enterprise-identity p { margin: 5px 0; color: #64748b; font-size: 13px; }
.enterprise-identity h2 { margin: 7px 0 12px; }
.enterprise-mark { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px; color: #2563eb; background: #dbeafe; }
.enterprise-mark svg { width: 28px; height: 28px; }
.enterprise-settings-form { display: grid; gap: 24px; }
.enterprise-form-section { min-width: 0; padding-bottom: 24px; border-bottom: 1px solid #e8edf5; }
.enterprise-page label { display: grid; gap: 8px; margin: 16px 0 0; color: #334155; font-size: 13px; font-weight: 600; }
.enterprise-page input:not([type="checkbox"]) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid #cfd9e6; border-radius: 10px; background: #fff; color: #1e293b; font: inherit; }
.enterprise-page input:disabled { background: #f3f6fa; color: #64748b; cursor: not-allowed; }
.enterprise-page :is(input, button, a):focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.enterprise-page .button { min-height: 42px; border-radius: 10px; white-space: normal; text-align: center; }
.enterprise-page .enterprise-resource-option { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid #dbe7fb; border-radius: 12px; background: #f8fbff; }
.enterprise-resource-option input { width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #2563eb; }
.enterprise-resource-option span { display: grid; gap: 5px; min-width: 0; }
.enterprise-resource-option small { font-weight: 400; }
.enterprise-note { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: #f5f8fd; color: #64748b; font-size: 13px; line-height: 1.8; }
.enterprise-save-bar p { margin: 0; font-size: 13px; }
.enterprise-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.enterprise-stats article { display: grid; gap: 10px; padding: 22px; }
.enterprise-stats span { color: #64748b; font-size: 13px; }
.enterprise-stats strong { color: #2563eb; font-size: clamp(25px, 3vw, 34px); overflow-wrap: anywhere; }
.enterprise-stats small { font-size: 12px; }
.enterprise-member-list { display: grid; gap: 16px; }
.enterprise-member { min-width: 0; padding: 20px; border: 1px solid #e4eaf2; border-radius: 14px; background: linear-gradient(180deg, #fbfdff, #fff); }
.enterprise-member-head { align-items: flex-start; }
.enterprise-member-head p { margin: 7px 0 0; color: #7b889b; font-size: 12px; }
.enterprise-limit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 14px; margin-bottom: 16px; }
.enterprise-limit-fields label { min-width: 0; }
.enterprise-member-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid #edf1f7; }
.enterprise-page .enterprise-danger { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }
.enterprise-operation-note { margin: 20px 0 0; color: #7b889b; font-size: 12px; line-height: 1.8; }
.enterprise-invitation-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid #edf1f7; }
.enterprise-invitation-row > div { min-width: 0; }
.enterprise-invitation-row strong { margin-left: 10px; font-size: 13px; }
.enterprise-invitation-row p { margin: 9px 0 0; color: #64748b; font-size: 12px; line-height: 1.8; }
.enterprise-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.enterprise-pagination span { margin-right: auto; color: #64748b; font-size: 12px; }
.enterprise-empty { padding: 25px 16px; border: 1px dashed #dbe4f0; border-radius: 12px; color: #64748b; text-align: center; }
@media (max-width: 1000px) { .enterprise-limit-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .enterprise-limit-fields .button { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 640px) {
  .enterprise-page { gap: 16px; }
  .enterprise-panel { padding: 20px; border-radius: 16px; }
  .enterprise-stats, .enterprise-limit-fields { grid-template-columns: minmax(0, 1fr); }
  .enterprise-section-head, .enterprise-member-head, .enterprise-save-bar, .enterprise-page .section-title, .enterprise-invitation-row { flex-direction: column; align-items: stretch; }
  .enterprise-identity { flex-wrap: wrap; }
  .enterprise-identity > div:not(.enterprise-mark) { flex: 1; }
  .enterprise-identity > .enterprise-badge { margin-left: 0; }
  .enterprise-member { padding: 16px; }
  .enterprise-limit-fields .button { justify-self: stretch; }
  .enterprise-member-actions .button { flex: 1 1 140px; }
  .enterprise-pagination span { flex-basis: 100%; }
}
.admin-audit-filters{padding-bottom:18px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.admin-audit-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:2px 16px}.admin-audit-filter-grid label{margin-bottom:14px}.admin-audit-keyword{grid-column:span 2}.admin-audit-filter-actions{display:flex;gap:10px}
.admin-audit-list-card{padding:0;overflow:hidden}.admin-audit-table{min-width:1040px}.admin-audit-table th,.admin-audit-table td{vertical-align:middle}.admin-audit-table small{display:block;max-width:260px;margin-top:4px;overflow:hidden;color:var(--muted,#667085);font-size:11px;text-overflow:ellipsis}.admin-audit-actor{min-width:220px}.admin-audit-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.admin-audit-proxy{display:inline-flex;padding:4px 9px;border-radius:999px;background:#edf4ff;color:#175cd3;font-size:12px;font-weight:700;white-space:nowrap}
.admin-audit-user-agent{margin:0;overflow-wrap:anywhere;color:#344054;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.admin-audit-metadata{display:grid;gap:8px;margin:0}.admin-audit-metadata>div{display:grid;grid-template-columns:minmax(100px,.35fr) minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid #eef1f5}.admin-audit-metadata dt{color:var(--muted,#667085);font-size:12px}.admin-audit-metadata dd{margin:0;overflow-wrap:anywhere;font-size:13px}.admin-audit-metadata .admin-audit-metadata{padding-left:10px;border-left:2px solid #e4eaf2}.admin-audit-json{max-height:420px;margin:0;padding:14px;overflow:auto;border-radius:10px;background:#111827;color:#e5e7eb;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1000px){.admin-audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-audit-keyword{grid-column:1/-1}}
@media(max-width:640px){.admin-audit-filter-grid{grid-template-columns:1fr}.admin-audit-filter-actions{flex-wrap:wrap}.admin-audit-filter-actions .button{flex:1}.admin-audit-metadata>div{grid-template-columns:1fr;gap:4px}.admin-audit-drawer .admin-user-drawer-panel{width:100%}}
.invitation-result-panel{width:min(720px,100%);overflow:hidden;border:1px solid #dce8e2;box-shadow:0 28px 80px rgba(22,72,53,.18)}.invitation-result-header{background:linear-gradient(135deg,#f3fbf7,#fff)}.invitation-result-heading{display:flex;align-items:center;gap:14px}.invitation-result-heading>div{display:grid;gap:4px}.invitation-result-heading h2{margin:0;color:#163d2f}.invitation-result-heading small{color:#64756e}.invitation-result-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border-radius:14px;background:linear-gradient(145deg,#17a36b,#128354);color:#fff;font-size:24px;font-weight:900;box-shadow:0 10px 24px rgba(18,131,84,.22)}.invitation-result-body{display:grid;gap:20px;background:linear-gradient(180deg,#fff,#fbfdfc)}.invitation-result-links{display:grid;gap:12px}.invitation-result-panel .upload-result-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e2e9e6;border-radius:13px;background:#fff}.invitation-result-panel .upload-result-row>span{color:#66756f;font-size:12px;font-weight:800}.invitation-result-panel .upload-result-row output{min-width:0;padding:9px 11px;overflow-wrap:anywhere;border-radius:8px;background:#f4f7f6;color:#243b33;font:600 12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.invitation-result-panel .upload-result-row .button{padding:9px 13px;white-space:nowrap}.invitation-result-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.invitation-result-meta>div{display:grid;gap:7px;padding:15px;border:1px solid #e2e9e6;border-radius:13px;background:#f8fbfa}.invitation-result-meta span{color:#74817c;font-size:12px}.invitation-result-meta strong{color:#203a30;font-size:14px}.invitation-result-panel>footer{justify-content:flex-end}.invitation-result-panel>footer .button{min-width:100px}.invitation-form{width:min(620px,100%);max-height:min(720px,calc(100vh - 32px))}.invitation-form>header>div{display:grid;gap:4px}.invitation-form>header small,.invitation-form .upload-share-dialog-body fieldset>small{color:var(--muted,#667085);font-size:11px;line-height:1.45}.invitation-form .upload-share-dialog-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.invitation-form .upload-share-dialog-body>label,.invitation-form .upload-share-dialog-body>fieldset:first-of-type,.invitation-form .form-feedback{grid-column:1/-1}.invitation-name-field{display:grid;gap:9px;padding:14px 15px 15px;border:1px solid #dbe7e2;border-radius:14px;background:linear-gradient(135deg,#f8fcfa,#f3f8f6);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.invitation-field-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.invitation-field-label strong{color:#24463a;font-size:13px}.invitation-field-label small{color:#74817c;font-size:11px;font-weight:400}.invitation-name-input{display:flex;align-items:center;min-height:48px;overflow:hidden;border:1px solid #c8dbd2;border-radius:11px;background:#fff;box-shadow:0 2px 5px rgba(30,75,57,.04);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.invitation-name-input:focus-within{border-color:#29936b;box-shadow:0 0 0 3px rgba(41,147,107,.13),0 5px 14px rgba(30,75,57,.08);transform:translateY(-1px)}.invitation-name-icon{display:grid;place-items:center;width:42px;flex:0 0 auto;color:#168258;font-size:18px}.invitation-name-input input{min-width:0;flex:1;height:46px;padding:0 8px 0 0;border:0!important;outline:0!important;background:transparent;box-shadow:none!important;color:#203a30;font-weight:600}.invitation-name-input input::placeholder{color:#a0b0aa;font-weight:400}.invitation-name-count{padding:0 12px;color:#9aa9a3;font-size:11px;white-space:nowrap}.invitation-limit-segmented{grid-template-columns:repeat(2,minmax(0,1fr))}.invitation-password-segmented{grid-template-columns:repeat(3,minmax(0,1fr))}.invitation-entry{display:grid;justify-items:end;gap:5px;max-width:320px}.invitation-entry small{color:#b42318;font-size:11px;line-height:1.4;text-align:right}.button[aria-disabled="true"]{cursor:not-allowed;opacity:.58}.invitation-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.invitation-form label{display:grid;gap:6px}.invitation-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.invitation-summary span{display:grid;gap:5px;padding:14px;border-radius:10px;background:#f8fafc}.invitation-file-picker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.invitation-upload-card>.button{margin-top:16px}.invitation-password-card{max-width:480px;margin:40px auto}.invitation-password-card label{display:grid;gap:8px;margin:18px 0}@media(max-width:700px){.invitation-result-panel .upload-result-row{grid-template-columns:1fr}.invitation-result-panel .upload-result-row .button{width:100%}.invitation-result-meta{grid-template-columns:1fr}.invitation-form .upload-share-dialog-body,.invitation-form .form-grid,.invitation-summary{grid-template-columns:1fr}.invitation-form .upload-share-dialog-body>*{grid-column:1}.invitation-entry{justify-items:stretch;max-width:none}.invitation-entry small{text-align:left}}@media(max-width:430px){.upload-share-dialog{padding:10px}.invitation-form{max-height:calc(100vh - 20px)}.invitation-form>header,.invitation-form>footer{padding:14px}.invitation-form .upload-share-dialog-body{gap:14px;padding:14px}.invitation-form .upload-expire-segmented{grid-template-columns:repeat(2,minmax(0,1fr))}.invitation-form .invitation-password-segmented{grid-template-columns:1fr}.invitation-form .invitation-limit-segmented{grid-template-columns:repeat(2,minmax(0,1fr))}}
.invitation-cli-help{margin:0;padding:4px 2px;color:#64756e;font-size:12px;line-height:1.7}.invitation-cli-help a{color:#167251;font-weight:700;text-decoration:underline;text-underline-offset:3px}.invitation-cli-help code{padding:2px 5px;border-radius:5px;background:#edf5f1;color:#264436;overflow-wrap:anywhere}
.landing-cli{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr);gap:32px;max-width:1120px;margin:16px auto 56px;padding:32px;border:1px solid #dbe7e2;border-radius:22px;background:#fff;box-shadow:0 16px 45px rgba(27,68,54,.07)}.landing-cli-intro h2{margin:8px 0 12px;font-size:clamp(22px,3vw,30px)}.landing-cli-intro>p:not(.eyebrow){margin:0 0 20px;color:#62756d;line-height:1.7}.landing-cli-steps{display:grid;gap:12px;min-width:0}.landing-cli-steps>div{display:grid;gap:8px;min-width:0;padding:14px 16px;border-radius:12px;background:#f3f8f6}.landing-cli-steps span{font-size:12px;font-weight:800;color:#217653}.landing-cli-steps code{display:block;overflow-x:auto;color:#253e33;font:600 12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre}.landing-cli-steps small{color:#61746d;line-height:1.5}@media(max-width:760px){.landing-cli{grid-template-columns:1fr;margin:16px 20px 40px;padding:22px;gap:24px}}

