.shared-import-dialog{width:min(480px,calc(100vw - 28px));max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid #e2e6e8;border-radius:20px;padding:24px;background:#fff;color:#30383c;overscroll-behavior:contain}.shared-import-dialog::backdrop{background:#20282c66}.shared-import-dialog h2{font-size:19px;margin:0}.shared-import-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.shared-import-dialog p{font-size:13px;line-height:1.85;overflow-wrap:anywhere}.shared-import-dialog>.primary{width:100%;margin-top:8px;min-height:46px}.shared-import-files{border:1px solid #e5e9eb;border-radius:14px;overflow:hidden;margin:18px 0}.shared-import-file{display:flex;gap:12px;align-items:center;padding:14px;border-bottom:1px solid #edf0f1;cursor:pointer}.shared-import-file:last-child{border:0}.shared-import-file input{flex:none;width:18px;height:18px;accent-color:#465b55}.shared-import-file>span{min-width:0;flex:1}.shared-import-file strong,.shared-import-file small{display:block;overflow-wrap:anywhere}.shared-import-file strong{font-size:14px;font-weight:500}.shared-import-file small{font-size:12px;color:#8b979e;margin-top:5px}.shared-import-file small.error{color:#a04e41}.shared-import-destinations{border:0;padding:0;margin:20px 0}.shared-import-destinations legend{font-size:13px;margin-bottom:8px}.shared-import-destinations label{display:flex;align-items:center;gap:10px;min-height:40px;font-size:13px}.shared-import-destinations input{width:17px;height:17px;accent-color:#465b55}.shared-import-dialog button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.shared-import-dialog{margin:auto 0 0;width:100%;max-width:100%;border:0;border-radius:23px 23px 0 0;padding:22px 20px calc(23px + env(safe-area-inset-bottom))}}
.shared-import-sheet{display:flex;flex-direction:column;width:min(680px,calc(100vw - 32px));height:min(760px,86dvh);max-height:90dvh;padding:0;border:0;border-radius:24px;background:var(--bg,#f4f4f5);color:var(--ink,#20242b);overflow:hidden}.shared-import-sheet:not([open]){display:none}.shared-import-head{display:grid;grid-template-columns:44px minmax(0,1fr) 76px;gap:14px;align-items:center;padding:22px 24px;flex:none}.shared-import-head h2{text-align:center;font-size:20px;line-height:1.35;font-weight:600;min-width:0;margin:0}.shared-import-head button{margin:0;border:0;cursor:pointer;min-height:44px}.shared-import-close{padding:0;width:44px;height:44px;border-radius:50%;font:32px/1 system-ui;background:var(--panel,#fff);color:var(--ink,#20242b)}.shared-import-confirm{padding:0 15px;border-radius:12px;background:var(--ink,#20242b);color:var(--panel,#fff);font-size:15px;font-weight:500}.shared-import-body{padding:0 24px 18px;overflow:auto;overscroll-behavior:contain;min-height:0}.shared-import-sheet .shared-import-files{display:flex;gap:12px;border:0;border-radius:0;overflow:auto;margin:0 0 18px;padding:2px 0 5px;scrollbar-width:thin;align-items:stretch}.shared-import-sheet .shared-import-file{position:relative;display:flex;align-items:center;gap:14px;flex:0 0 76%;max-width:calc(100% - 92px);min-width:0;padding:20px 25px 20px 16px;border:0;border-radius:16px;background:var(--panel,#fff);cursor:default;min-height:100px;box-sizing:border-box}.shared-import-mark{position:relative;display:grid;place-items:center;flex:none;width:50px;height:60px;border:1px solid var(--line,#e4e5e7);border-radius:12px;color:var(--ink,#20242b)}.shared-import-mark svg{width:28px;height:28px}.shared-import-mark small{position:absolute;bottom:4px;left:0;right:0;text-align:center;font:7px/1 system-ui;margin:0!important;color:inherit!important}.shared-import-file-info{min-width:0;flex:1}.shared-import-sheet .shared-import-file strong{font-size:15px;line-height:1.5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shared-import-sheet .shared-import-file small{font-size:12px;line-height:1.5;color:var(--muted,#91979d);margin-top:6px}.shared-import-remove{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:32px;height:32px;padding:0;margin:0;border:0;border-radius:50%;font:21px/1 system-ui;background:transparent;color:var(--muted,#979da2);cursor:pointer}.shared-import-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:0 0 80px;min-height:100px;padding:10px;margin:0;border:0;border-radius:16px;background:var(--panel,#fff);color:var(--muted,#91979d);cursor:pointer}.shared-import-add>span{font:32px/1 system-ui}.shared-import-add small{font-size:12px;white-space:nowrap}.shared-import-target{display:flex;align-items:center;gap:10px;width:100%;min-height:66px;padding:16px 20px;border:0;border-radius:16px;background:var(--panel,#fff);color:var(--ink,#20242b);text-align:left;cursor:pointer}.shared-import-target strong{flex:1;font-size:16px;font-weight:500}.shared-import-target>span{min-width:0;max-width:50%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted,#91979d);font-size:14px}.shared-import-target>b{font:28px/1 system-ui;color:var(--muted,#91979d)}.shared-import-sheet .shared-import-status,.shared-import-sheet .muted{color:var(--muted,#91979d);font-size:12px;line-height:1.75}.shared-import-footer{flex:none;margin-top:auto;padding:24px 28px max(28px,env(safe-area-inset-bottom));text-align:center;color:var(--muted,#91979d)}.shared-import-sheet .shared-import-footer p{font-size:12px;line-height:1.75;margin:0 0 4px}.shared-import-targets{display:flex;flex-direction:column;gap:10px}.shared-import-targets h3{font-size:12px;font-weight:500;color:var(--muted,#91979d);margin:14px 2px 0}.shared-import-target-option{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:17px 18px;border:1px solid transparent;border-radius:15px;background:var(--panel,#fff);color:var(--ink,#20242b);cursor:pointer}.shared-import-target-option[aria-pressed=true]{border-color:var(--accent,#638c80)}.shared-import-target-option strong,.shared-import-target-option small{display:block}.shared-import-target-option strong{font-size:15px;font-weight:500}.shared-import-target-option small{font-size:12px;line-height:1.6;color:var(--muted,#91979d);margin-top:5px}.shared-import-sheet button:focus-visible{outline:2px solid var(--accent,#638c80);outline-offset:2px}.shared-import-sheet .error{color:#b55448;font-size:12px;line-height:1.65}.shared-import-target:disabled{opacity:1;cursor:default}.shared-import-choosing .shared-import-footer{display:none}@media(max-width:600px){.shared-import-sheet{margin:auto 0 0;width:100%;max-width:100%;height:80dvh;max-height:90dvh;border-radius:24px 24px 0 0;padding:0}.shared-import-head{grid-template-columns:40px minmax(0,1fr) 64px;padding:18px 18px 20px;gap:10px}.shared-import-head h2{font-size:18px}.shared-import-close{width:40px;height:40px}.shared-import-confirm{font-size:14px;padding:0 10px}.shared-import-body{padding:0 16px 16px}.shared-import-sheet .shared-import-file{gap:10px;padding-left:12px;min-height:95px;max-width:calc(100% - 88px)}.shared-import-mark{width:42px;height:54px;border-radius:11px}.shared-import-sheet .shared-import-file strong{font-size:13px}.shared-import-sheet .shared-import-file small{font-size:11px}.shared-import-add{flex-basis:76px;min-height:95px}.shared-import-target{padding:15px 16px;min-height:60px}.shared-import-target strong{font-size:14px}.shared-import-target>span{font-size:12px}.shared-import-footer{padding:18px 24px max(24px,env(safe-area-inset-bottom))}.shared-import-sheet .shared-import-footer p{font-size:11px}}@media(prefers-reduced-motion:reduce){.shared-import-sheet{scroll-behavior:auto}}

.shared-import-sheet .shared-import-files{overflow:visible}.shared-import-cards{display:flex;flex:1;min-width:0;gap:12px;overflow:auto;scrollbar-width:thin;padding-bottom:3px}.shared-import-sheet .shared-import-cards .shared-import-file{flex:0 0 100%;max-width:none}.shared-import-sheet .shared-import-file>.shared-import-mark{flex:0 0 50px;min-width:50px}.shared-import-sheet .shared-import-add{flex:0 0 80px}@media(max-width:600px){.shared-import-sheet .shared-import-file>.shared-import-mark{flex-basis:42px;min-width:42px}.shared-import-sheet .shared-import-add{flex-basis:76px}}
