:root{--bg:#f7f8fa;--surface:#fff;--text:#20242c;--muted:#858b96;--line:#e9ecf1;--hover:#f4f7fc;--accent:#3d70ef;--soft:#ecf2ff;--sidebar:#fff;--shadow:0 18px 70px #13214518;--radius:12px;color-scheme:light}
:root[data-theme=dark]{--bg:#14171d;--surface:#1d2129;--sidebar:#191d24;--text:#e6e9ef;--muted:#9ca4b4;--line:#2c323d;--hover:#262d38;--accent:#83a6ff;--soft:#263752;--shadow:0 18px 70px #0006;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols,[hidden]{display:none!important}button{border:0;background:none}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100dvh}.sidebar{width:242px;flex-shrink:0;background:var(--sidebar);border-right:1px solid var(--line);padding:30px 20px 0;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:15}.brand{font-weight:800;font-size:21px;letter-spacing:-1px;display:flex;align-items:center;position:relative;gap:8px;height:45px;margin:0 8px 31px}.brand-mark{color:var(--accent);display:flex}.brand-mark svg{width:31px;height:31px;stroke-width:2}.personal{font-size:8px;font-weight:600;letter-spacing:2px;position:absolute;left:40px;top:34px;color:var(--muted)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;min-height:43px;padding:10px 18px;font-weight:600;white-space:nowrap}.primary{background:var(--accent);color:#fff}.primary:hover{filter:brightness(.95)}:root[data-theme=dark] .primary{color:#111d36}.secondary{background:var(--surface);border:1px solid var(--line)}.secondary:hover{background:var(--hover)}.upload-button{height:49px;margin:13px 0 27px;box-shadow:0 3px 8px #3d70ef14}.upload-button svg{width:21px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;min-height:47px;border-radius:8px;padding:11px 16px;text-align:left;margin:3px 0;color:#697282;font-weight:500}.nav-item:hover{background:var(--hover)}.nav-item.active{background:var(--soft);color:var(--accent);font-weight:700}.nav-rule{border-top:1px solid var(--line);margin:23px 10px 18px}.side-bottom{margin-top:auto;padding:35px 8px 18px}.drive-label{display:flex;align-items:center;gap:7px;font-size:12px}.drive-label strong{font-weight:600}.drive-label>span:last-child{margin-left:auto;color:var(--muted);font-size:11px}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#39a982;flex-shrink:0}.storage-meter{height:4px;background:var(--line);border-radius:4px;margin-top:16px;overflow:hidden}.storage-meter i{display:block;background:var(--accent);height:100%;min-width:2px;width:0;border-radius:4px}.side-bottom p{color:var(--muted);font-size:11px;margin:8px 0 23px}.side-foot{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.icon-button{width:40px;height:40px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--muted)}.icon-button:hover{background:var(--hover);color:var(--text)}.workspace{margin-left:242px;flex:1;min-width:0}.topbar{height:91px;display:flex;align-items:center;gap:24px;padding:0 42px;background:var(--surface);border-bottom:1px solid var(--line)}.search{max-width:620px;display:flex;align-items:center;gap:13px;border-radius:9px;background:var(--bg);padding:0 15px;flex:1;height:45px;color:var(--muted)}.search input{border:0;background:none;width:100%;color:var(--text);min-width:0;outline:0;font-size:13px}.search:focus-within{outline:1px solid var(--accent)}.search input:focus{outline:0}.search .icon-button{width:28px;height:28px}.private-label{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:7px}.avatar{height:34px;width:34px;border-radius:50%;background:#e9eef8;color:#53637c;font-size:12px;font-weight:700;flex-shrink:0}main{padding:40px 42px 20px;max-width:2200px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:var(--muted);margin:0 0 7px}h1{font-size:28px;letter-spacing:-1.1px;line-height:1.3;margin:0;font-weight:700}.page-heading p:last-child{margin:11px 0 0;color:var(--muted);font-size:13px}.page-heading .secondary{margin-top:10px;font-size:12px}.notice{background:var(--soft);padding:12px 16px;border-radius:8px;color:var(--accent);font-size:12px;margin-bottom:22px}.file-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-height:460px;overflow:hidden}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 22px;border-bottom:1px solid var(--line);min-height:74px}.toolbar-right{display:flex;align-items:center;gap:15px}.toolbar-right>span{font-size:11px;color:var(--muted);white-space:nowrap}.toolbar select{background:none;color:var(--text);border:0;font-size:12px;max-width:110px;height:40px}.view-switch{display:flex;gap:1px;border:1px solid var(--line);border-radius:7px;padding:2px}.view-switch .icon-button{height:31px;width:34px}.view-switch [aria-pressed=true]{background:var(--soft);color:var(--accent)}#breadcrumbs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:0}#breadcrumbs button{font-size:12px;color:var(--muted);padding:8px 5px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#breadcrumbs button:last-child{color:var(--text);font-weight:600}#breadcrumbs svg{width:12px;height:12px;color:var(--muted)}.file-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.file-table th{height:42px;font-size:11px;color:var(--muted);font-weight:400;background:var(--bg);border-bottom:1px solid var(--line)}.file-table th:first-child{padding-left:25px;width:auto}.file-table th:nth-child(2){width:110px}.file-table th:nth-child(3){width:145px}.file-table th:last-child{width:55px}.file-table td{height:72px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.file-table tr:last-child td{border-bottom:0}.file-table tbody tr:hover{background:var(--hover)}.file-table td:first-child{padding-left:22px;padding-right:15px}.file-main{display:flex;align-items:center;gap:14px;text-align:left;max-width:100%;width:100%;padding:8px 0}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:13px;font-weight:500;display:block}.file-sub{display:block;font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-glyph{display:flex;align-items:center;justify-content:center;width:37px;height:40px;border-radius:7px;color:#8694ae;background:#f2f4f8;flex-shrink:0;overflow:hidden}.file-glyph svg{width:24px;height:24px;stroke-width:1.4}.file-glyph.folder{color:#e4af41;background:#fff7df}.file-glyph.photo{color:#64928d;background:#edf6f4}.file-glyph.video{color:#9a88bc;background:#f4effb}.file-glyph img{width:100%;height:100%;object-fit:cover}.filename-wrap{overflow:hidden;min-width:0}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:18px;padding:23px}.file-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;position:relative;min-width:0}.card-open{display:block;text-align:left;width:100%;padding:0}.card-visual{height:126px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden}.card-visual>svg{width:47px;height:47px;color:#a4b0c2;stroke-width:1.2}.file-card.folder .card-visual{background:#fffaf0}.file-card.folder .card-visual>svg{color:#dfb14d}.card-visual>img{width:100%;height:100%;object-fit:cover}.card-info{padding:13px 35px 13px 13px}.card-info .file-name{font-size:12px}.card-info .file-sub{margin-top:3px}.file-card>.icon-button{position:absolute;right:2px;bottom:14px;width:30px;height:36px;background:var(--surface)}.file-card:hover{border-color:var(--accent)}.empty{padding:80px 24px;text-align:center;color:var(--muted)}.empty svg{width:47px;height:47px;stroke-width:1;margin:0 0 14px}.empty h3{font-size:16px;color:var(--text);font-weight:500;margin:0 0 7px}.empty p{font-size:12px;margin:0}.main-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:17px 3px;gap:15px}.main-footer span:last-child{letter-spacing:1px;font-size:8px}.login-page{min-height:100dvh;display:grid;place-items:center;padding:30px 20px}.login-card{width:100%;max-width:400px;padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.login-brand{width:49px;height:49px;border-radius:13px;background:var(--soft);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:29px}.login-brand svg{width:32px;height:32px}.login-card h1{font-size:30px;margin:9px 0}.login-copy{color:var(--muted);font-size:13px;margin:16px 0 28px}.login-card label{display:block;font-size:12px;margin:15px 0 7px}.login-card input,.dialog-input{width:100%;height:45px;border:1px solid var(--line);background:var(--bg);border-radius:7px;padding:10px 13px;color:var(--text)}.login-card .primary{width:100%;justify-content:space-between;margin-top:4px}.login-note{font-size:10px;color:var(--muted);text-align:center;margin:20px 0 0}#loginError,#modalError{font-size:12px;color:#d95050;min-height:0;margin:12px 0}dialog{border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--surface);color:var(--text);width:min(450px,calc(100vw - 30px));box-shadow:var(--shadow);max-height:90dvh;overflow:auto}dialog::backdrop{background:#0b142954;backdrop-filter:blur(2px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}dialog h2{font-size:18px;margin:0}#modalDescription{color:var(--muted);font-size:12px;margin:6px 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.action-menu{display:flex;flex-direction:column;gap:5px}.action-menu button{padding:12px;border:1px solid var(--line);border-radius:7px;text-align:left;font-size:13px}.action-menu button:hover{background:var(--hover)}.action-menu .danger{color:#c74a4a}.destination-path{font-size:12px;overflow-wrap:anywhere;color:var(--muted);padding:10px 0}.destination-folders{max-height:260px;overflow-y:auto;border:1px solid var(--line);border-radius:7px}.destination-folders button{display:flex;align-items:center;gap:10px;padding:12px;width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:13px}.destination-folders button:hover{background:var(--hover)}.preview-dialog{width:min(1000px,calc(100vw - 30px))}.preview-media{display:block;max-width:100%;max-height:60dvh;margin:auto;border-radius:6px;object-fit:contain;background:var(--bg)}.preview-details{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.preview-download{display:inline-flex;margin-top:20px}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--text);color:var(--surface);border-radius:8px;font-size:13px;z-index:40;box-shadow:var(--shadow);max-width:calc(100vw - 32px)}.transfers{position:fixed;right:25px;bottom:25px;width:380px;max-width:calc(100vw - 28px);background:var(--surface);border:1px solid var(--line);border-radius:12px;z-index:30;box-shadow:var(--shadow)}.transfer-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 16px;font-size:13px}#transferRows{max-height:280px;overflow-y:auto}.transfer-row{padding:14px 17px;border-bottom:1px solid var(--line)}.transfer-row strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transfer-row p{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:5px 0}.transfer-row progress{width:100%;height:4px;border:0;accent-color:var(--accent)}.transfer-row button{font-size:10px;color:var(--accent)}.mobile-only{display:none}.drop-active .file-section{outline:2px dashed var(--accent);outline-offset:5px}.shade{position:fixed;inset:0;background:#14203366;z-index:14}.error-banner{padding:35px;color:#bf5151}.raw-note{font-size:11px;color:var(--muted);padding:10px}.loading{padding:70px;text-align:center;color:var(--muted)}
@media(min-width:1600px){.sidebar{width:258px}.workspace{margin-left:258px}.topbar{padding:0 55px}main{padding:46px 55px 20px}.file-table td{height:78px}.file-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:22px}.card-visual{height:155px}}
@media(max-width:1050px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px}.brand{font-size:19px}main{padding:28px 24px}.topbar{padding:0 24px;gap:15px}.toolbar{padding:12px 14px}.toolbar-right{gap:7px}.toolbar-right>span{display:none}.file-table th:nth-child(3){width:108px}.file-table th:nth-child(2){width:82px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:242px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-only{display:inline-flex}.topbar{height:72px;gap:9px;padding:0 14px}.search{height:42px;padding:0 11px;gap:8px}.private-label{display:none}.avatar{width:31px;height:31px;margin-left:4px}.topbar>.icon-button{width:32px}.search input{font-size:12px}main{padding:27px 17px 15px}h1{font-size:25px}.eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading{margin-bottom:24px}.page-heading p:last-child{font-size:11px;margin-top:9px}.page-heading .secondary{padding:8px 10px;font-size:11px;min-height:40px}.page-heading .secondary svg{width:16px}.toolbar{flex-wrap:wrap;gap:5px;padding:10px 12px;min-height:66px}.toolbar-right{margin-left:auto;gap:5px}.toolbar select{font-size:11px;width:80px}.toolbar .icon-button{width:33px;height:36px}.view-switch{gap:0}.view-switch .icon-button{width:28px;height:28px}.toolbar-right>.icon-button{display:none}#breadcrumbs{width:100%;gap:0}#breadcrumbs button{font-size:11px;padding:3px 5px;max-width:210px}.file-table th:first-child{padding-left:15px}.file-table th:nth-child(2){width:68px}.file-table th:nth-child(3),.file-table td:nth-child(3){display:none}.file-table th:last-child{width:40px}.file-table td:first-child{padding-left:14px;padding-right:6px}.file-table td{height:73px;font-size:10px}.file-table .icon-button{width:34px}.file-main{gap:10px}.file-name{font-size:12px}.file-sub{font-size:9px}.file-glyph{height:38px;width:33px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}.card-visual{height:112px}.card-info{padding:11px 26px 11px 10px}.card-info .file-name{font-size:10px}.card-info .file-sub{font-size:9px}.file-card>.icon-button{width:25px;bottom:10px}.main-footer{font-size:9px}.main-footer span:last-child{font-size:7px}.transfers{right:14px;bottom:14px}.file-section{min-height:440px}.notice{font-size:11px;line-height:1.7;padding:11px 12px}.login-card{padding:28px}.dialog-actions button{min-height:44px}.file-main{min-height:48px}.card-open{min-height:44px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
:root[data-theme=dark] .nav-item{color:var(--muted)}:root[data-theme=dark] .nav-item.active{color:var(--accent)}
.selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:65px;padding:10px 20px;border-bottom:1px solid var(--line);background:var(--surface)}.select-all{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:12px;cursor:pointer;white-space:nowrap}.select-all input,.item-select input,.permanent-ack input{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.selection-toolbar>span{font-size:12px;color:var(--muted);white-space:nowrap}.text-button{min-height:40px;padding:8px;font-size:12px;color:var(--accent);border-radius:6px}.text-button:hover{background:var(--hover)}.selection-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.selection-actions .secondary{min-height:38px;padding:7px 12px;font-size:12px}.danger-text{color:#cb5050}.danger-button{background:#bc3c3c!important;color:#fff!important}.file-cell{display:flex;align-items:center;gap:8px;min-width:0}.item-select{display:flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:44px;cursor:pointer}.file-cell .file-main{min-width:0}.file-table tr.selected{background:var(--soft)}.file-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.file-card>.item-select{position:absolute;top:4px;left:4px;z-index:1;border-radius:6px;background:var(--surface);width:35px;min-width:35px;height:35px}.batch-notice{padding:11px 20px;color:var(--accent);background:var(--soft);font-size:12px}.batch-file-names{padding-left:20px;max-height:220px;overflow-y:auto;font-size:12px;overflow-wrap:anywhere}.batch-file-names li{padding:4px 0}.permanent-ack{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;background:var(--bg);border-radius:8px;font-size:12px;cursor:pointer}.permanent-ack input{margin-top:3px}.muted{color:var(--muted)}
@media(max-width:700px){.selection-toolbar{padding:8px 10px;gap:5px 9px}.select-all{min-height:44px;font-size:11px}.text-button{min-height:44px;font-size:11px}.selection-toolbar>span{font-size:11px}.selection-actions{gap:5px;flex-wrap:wrap;width:100%;justify-content:flex-end}.selection-actions .secondary{min-height:44px;padding:7px 10px;font-size:11px}.item-select{width:36px;min-width:36px;height:44px}.file-cell{gap:2px}.file-table td:first-child{padding-left:6px}.file-cell .file-main{gap:6px}.file-cell .file-glyph{width:26px;height:32px}.file-cell .file-glyph svg{width:21px}.file-card>.item-select{width:44px;height:44px;min-width:44px}.permanent-ack{font-size:12px;min-height:52px}.selection-actions:has(button:not([hidden])){margin-top:0}}
@media(max-width:700px){.icon-button,.topbar>.icon-button,.search .icon-button,.toolbar .icon-button,.view-switch .icon-button,.file-table .icon-button,.file-card>.icon-button{width:44px;height:44px;min-width:44px}.avatar{width:44px;height:44px}.page-heading .secondary{min-height:44px}#breadcrumbs button{min-height:44px}.view-switch{padding:0}.file-table th:last-child{width:49px}.card-info{padding-right:44px}.file-card>.icon-button{bottom:7px}.topbar{gap:3px}.search{gap:5px;padding:0 9px}.toolbar-right{gap:3px}.toolbar{padding:7px 10px}}
.sidebar .upload-button{margin-bottom:9px}.folder-upload-button{min-height:46px;flex-shrink:0}.upload-help{color:var(--muted);font-size:10px;line-height:1.7;margin:9px 4px 17px}.transfer-row strong{display:block;overflow-wrap:anywhere}.sidebar{overflow-y:auto}.sidebar .brand{flex-shrink:0}
.pagination{text-align:center;padding:18px 12px 25px;border-top:1px solid var(--line)}.pagination-summary{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 12px}.pagination-buttons{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px}.page-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:12px}.page-button:hover:not(:disabled){background:var(--hover)}.page-button[aria-current=page]{background:var(--accent);color:#fff;border-color:var(--accent)}.page-button:disabled{opacity:.4;cursor:default}.page-gap{font-size:12px;color:var(--muted);padding:0 3px}.destination-folders{max-height:290px;overflow:auto}.destination-path{overflow-wrap:anywhere}.selection-actions{flex-wrap:wrap}.selection-toolbar{gap:8px;scroll-margin-top:12px}.file-card .card-visual{contain:layout paint}.file-glyph img{object-fit:cover}
.video-thumbnail{position:relative;display:flex;width:100%;height:100%;align-items:center;justify-content:center;overflow:hidden;background:var(--bg)}.video-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.video-thumbnail>svg{position:absolute;width:42px;height:42px}.video-thumbnail.ready>svg{width:30px;height:30px;padding:5px;border-radius:50%;background:#182331aa;color:#fff}.file-glyph .video-thumbnail{border-radius:4px}.file-glyph .video-thumbnail>svg{width:22px;height:22px;padding:2px}.video-status{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0 0}.media-warning{color:#ba5b2b}.preview-media:is(video){width:100%;min-height:170px;background:#10151c}

.search-submit{min-height:36px;flex-shrink:0;border-radius:6px;padding:5px 12px;font-size:12px;color:var(--accent);background:var(--soft)}.important-button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:44px;flex-shrink:0;color:var(--muted);border-radius:6px}.important-button svg{width:19px;height:19px}.important-button.active{color:#b88618}.important-button.active svg{fill:#edc769}.important-button:hover{background:var(--hover)}.file-card>.important-button{position:absolute;right:4px;top:4px;background:var(--surface);height:35px;width:35px;min-width:35px;z-index:1}.card-info .file-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.important-button,.file-card>.important-button{width:44px;height:44px;min-width:44px}.search-submit{height:44px;min-height:44px;padding:4px 7px;font-size:11px}.search input{min-width:0}.file-cell .important-button{width:44px;min-width:44px}.file-cell .important-button svg{width:18px}}

.properties-grid{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px 16px;font-size:13px;line-height:1.7;margin:5px 0 22px}.properties-grid dt{color:var(--muted)}.properties-grid dd{margin:0;overflow-wrap:anywhere;color:var(--text)}@media(max-width:700px){.properties-grid{grid-template-columns:83px minmax(0,1fr);gap:10px;font-size:12px}}


/* MYSPACE filename containment v1: preserve names; wrap inside bounded dialogs. */
dialog {
  min-width: 0;
  max-width: calc(100vw - 30px);
  box-sizing: border-box;
  margin-inline: auto;
}
dialog .dialog-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}
dialog h2 {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.5;
}
dialog .dialog-top .icon-button { flex-shrink: 0; }
dialog form, #modalBody, #modalDescription, #modalError, dialog .action-menu {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
dialog .action-menu button, dialog .dialog-actions button {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
dialog .dialog-actions { flex-wrap: wrap; }
.transfers .transfer-heading { gap: 12px; align-items: start; }
.transfers #transferTitle { min-width: 0; overflow-wrap: anywhere; }
.transfers .transfer-row { min-width: 0; }
.transfers .transfer-row strong {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-overflow: clip;
}
.transfers .transfer-row p { flex-wrap: wrap; gap: 4px 12px; }
.transfers .transfer-row p > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  dialog { padding: 18px; }
  dialog .dialog-top { gap: 10px; }
  dialog .dialog-top .icon-button { min-width: 44px; min-height: 44px; }
  .transfers .transfer-row button { min-height: 44px; padding: 8px 12px; font-size: 12px; }
}
/* End MYSPACE filename containment v1. */
