.attachment-picker{border:1px solid var(--border,#dce3e8);border-radius:10px;gap:10px;min-width:0;margin:12px 0;padding:12px;display:grid}.attachment-picker legend{padding-inline:6px;font-weight:700}.attachment-picker .attachment-picker-hint{margin:0;font-size:.85rem}.attachment-picker-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.attachment-picker-toolbar input{flex:1;min-width:140px}.attachment-picker-toolbar select{max-width:160px}.attachment-picker-toolbar input,.attachment-picker-toolbar select,.drive-import-search input{border:1px solid var(--border,#dce3e8);background:var(--background,#fff);min-height:40px;color:inherit;font:inherit;border-radius:8px;padding:8px 11px}.attachment-picker-list{min-width:0;max-height:208px;overflow:auto}.attachment-picker-row,.drive-import-file{cursor:pointer;align-items:center;gap:10px;min-height:46px;padding:9px 10px;display:flex}.attachment-picker-row+.attachment-picker-row{border-block-start:1px solid var(--border,#e5e9ec)}.attachment-picker-row>span,.drive-import-file>span{overflow-wrap:anywhere;flex:1;min-width:0}.attachment-picker-row>small,.drive-import-file>small{color:var(--muted-foreground,#637780);flex:none;font-size:.75rem}.attachment-picker-row [data-slot=checkbox]{border-radius:4px;flex:0 0 16px;width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;padding:0}.local-attachment-picker{gap:12px;min-height:0;padding:16px 20px;display:grid;overflow:auto}.local-attachment-picker>p{margin:0;font-size:.85rem}.local-attachment-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.local-attachment-actions:last-child{background:var(--background,#fff);border-block-start:1px solid var(--border,#dce3e8);padding:12px 0 16px;position:sticky;bottom:-16px}.local-attachment-picker button:not([role=checkbox]){background:color-mix(in srgb,#c5a967 10%,var(--background,#fff));min-height:40px;color:inherit;font:inherit;cursor:pointer;border:1px solid #ad9357;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;line-height:1.35;display:inline-flex}.local-attachment-picker button:not([role=checkbox]):hover:not(:disabled){background:color-mix(in srgb,#c5a967 20%,var(--background,#fff))}.local-attachment-picker button:focus-visible{outline-offset:2px;outline:2px solid #a58a4c}.local-attachment-picker button:disabled{opacity:.48;cursor:not-allowed}.local-attachment-files{gap:8px;max-height:30dvh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.local-attachment-files>li{border:1px solid var(--border,#dce3e8);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.local-attachment-files bdi{overflow-wrap:anywhere;min-width:0;font-size:.85rem}.local-attachment-files small{color:var(--muted-foreground,#637780);flex:none}.local-attachment-picker [role=alert]{overflow-wrap:anywhere}@media (max-width:640px){.local-attachment-picker{padding:12px 14px}.local-attachment-actions>button{flex:100%}.local-attachment-actions:last-child{padding-bottom:12px;bottom:-12px}}.attachment-picker-selection{justify-content:space-between;align-items:center;gap:8px;font-size:.875rem;display:flex}.attachment-picker-saved summary,.drive-import-selection summary,.drive-import-options summary{cursor:pointer;font-size:.85rem;font-weight:600}.attachment-picker-saved ul{margin:8px 0 0;padding-inline-start:18px}.attachment-picker-hold{background:var(--background,#fbf8ee);border:1px solid #c8ab68;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.attachment-picker-hold p{flex:220px;margin:0}.drive-attachment-dialog{flex-direction:column;max-height:88dvh;overflow:hidden;gap:0!important;padding:0!important;display:flex!important}.drive-attachment-heading{border-block-end:1px solid var(--border,#dce3e8);flex:none;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.drive-attachment-heading h2{margin:0 0 5px;font-size:1.125rem}.drive-attachment-heading p{color:var(--muted-foreground,#637780);margin:0;font-size:.8rem}.drive-attachment-heading>button{flex:none}.drive-import-picker{gap:12px;min-width:0;display:grid}.drive-attachment-dialog .drive-import-picker{min-height:0;padding:16px 20px 0;overflow-y:auto}.drive-import-context{border:1px solid var(--border,#dce3e8);background:var(--background,#fbfaf6);border-radius:9px;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:11px 12px;display:flex}.drive-import-context>div{overflow-wrap:anywhere;flex:160px;gap:3px;min-width:0;font-size:.85rem;display:grid}.drive-import-context small{color:var(--muted-foreground,#637780);font-size:.72rem}.drive-import-capacity{white-space:nowrap;color:var(--foreground,#17384b);font-size:.8rem;font-weight:600}.drive-import-location{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.drive-import-location>button{flex:none}.drive-import-path{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;font-size:.85rem;display:flex}.drive-import-path>button:after{content:"/";opacity:.4;margin-inline-start:7px}.drive-import-search input{width:100%}.drive-import-list{border:1px solid var(--border,#dce3e8);background:var(--background,#fff);border-radius:10px;min-height:132px;max-height:min(38dvh,330px);overflow:auto}.drive-import-row+.drive-import-row{border-block-start:1px solid var(--border,#e5e9ec)}.drive-import-row:hover{background:#c5a96714}.drive-import-row>small{padding:0 12px 9px;font-size:.78rem;display:block}.drive-import-folder{background:color-mix(in srgb,#c5a967 10%,var(--background,#fff));text-align:start;width:100%;min-height:48px;font:inherit;color:inherit;cursor:pointer;border:1px solid #b79c60;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.drive-import-folder>svg{color:#aa8b43;flex:none}.drive-import-folder>span:not(.drive-import-folder-arrow){overflow-wrap:anywhere;flex:1;min-width:0}.drive-import-folder-arrow:after{content:"›";font-size:1.4rem;line-height:1;display:block}[dir=rtl] .drive-import-folder-arrow{transform:rotate(180deg)}:is(.drive-import-folder:focus-visible,.drive-import-file:focus-within){outline-offset:-3px;outline:2px solid #a58a4c}.drive-import-folder:disabled{opacity:.5;cursor:default}.drive-import-empty{text-align:center;color:var(--muted-foreground,#637780);margin:0;padding:24px 12px}.drive-import-selection{border:1px solid var(--border,#dce3e8);border-radius:8px;padding:10px 12px}.drive-import-selection ul{gap:8px;max-height:170px;margin:10px 0;padding:0;list-style:none;display:grid;overflow:auto}.drive-import-selection li{justify-content:space-between;align-items:start;gap:10px;font-size:.8rem;display:flex}.drive-import-selection li bdi{overflow-wrap:anywhere;min-width:0}.drive-import-selection li>small{flex:none}.drive-import-selection>small{margin-top:6px;display:block}.drive-import-options{background:0 0!important;border:0!important;margin:0!important;padding:0!important}.drive-import-options[open]{gap:8px;display:grid}.drive-import-loading{color:var(--muted-foreground,#637780);align-items:center;gap:8px;margin:0;font-size:.85rem;display:flex}.drive-import-footer{z-index:1;border-block-start:1px solid var(--border,#dce3e8);background:var(--background,#fff);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:2px;padding:12px 0;display:flex;position:sticky;bottom:0}.drive-import-footer>strong{font-size:.85rem}.drive-import-footer>button{white-space:normal;min-height:42px}.drive-import-picker [role=alert]{overflow-wrap:anywhere}.drive-import-picker :is(button:not([role=checkbox]),a.text-button),.drive-attachment-heading>button{border:1px solid color-mix(in srgb,#a58a4c 70%,var(--border,#dce3e8));background:color-mix(in srgb,#c5a967 10%,var(--background,#fff));min-height:38px;color:inherit;font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;line-height:1.35;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}.drive-import-picker .drive-import-folder{text-align:start;justify-content:flex-start;min-height:46px;display:flex}.drive-import-picker :is(.drive-import-options>summary,.drive-import-selection>summary){border:1px solid color-mix(in srgb,#a58a4c 70%,var(--border,#dce3e8));background:color-mix(in srgb,#c5a967 10%,var(--background,#fff));border-radius:8px;width:fit-content;max-width:100%;padding:8px 11px;line-height:1.35;list-style-position:inside}.drive-import-picker :is(.drive-import-options>summary,.drive-import-selection>summary):hover{background:color-mix(in srgb,#c5a967 20%,var(--background,#fff))}.drive-import-picker :is(.drive-import-options>summary,.drive-import-selection>summary):focus-visible{outline-offset:2px;outline:2px solid #a58a4c}.drive-import-row:has(.drive-import-folder){padding:5px}.drive-import-picker :is(button:not([role=checkbox]),a.text-button):hover:not(:disabled),.drive-attachment-heading>button:hover:not(:disabled){background:color-mix(in srgb,#c5a967 20%,var(--background,#fff));border-color:#9a7b38}.drive-import-picker :is(button:not([role=checkbox]),a.text-button):focus-visible{outline-offset:2px;outline:2px solid #a58a4c}.drive-attachment-heading>button:focus-visible{outline-offset:2px;outline:2px solid #a58a4c}.drive-import-picker button:not([role=checkbox]):disabled,.drive-attachment-heading>button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.drive-import-picker .drive-import-footer .btn.primary{color:#fff;background:#17384b;border-color:#c5a967;min-height:44px;padding:10px 16px;font-weight:700}.drive-import-picker .drive-import-footer .btn.primary:hover:not(:disabled){background:#254e62;border-color:#a58a4c}@media (max-width:640px){.drive-attachment-dialog{max-height:92dvh}.drive-attachment-heading{flex-wrap:wrap;gap:10px;padding:14px}.drive-attachment-heading>div{flex:180px}.drive-attachment-heading>button{min-height:36px;font-size:.75rem}.drive-attachment-dialog .drive-import-picker{padding:12px 14px 0}.drive-import-context{gap:10px}.drive-import-context>div{flex-basis:100%}.drive-import-list{max-height:34dvh}.drive-import-footer>button{flex:220px}.attachment-picker-toolbar>button{justify-content:center;width:100%}.attachment-picker-toolbar select{max-width:none}.attachment-picker-hold>button{width:100%}}
