/* R132 - Kelengkapan papan web-*. Hanya lapisan web; fitur disembunyikan, tidak dihapus. */

/* Fitur di luar papan: menu tindakan dan dialog Baru mengikuti saklar konsol seperti menu samping. */
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=content142])) #file-menu [data-menu-action=content-open142],
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=content142])) #file-menu [data-menu-action=content-folder148],
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=content142])) .search-soon138,
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=content142])) #file-menu [data-menu-action=batch-one146],
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=content142])) #file-menu [data-selection-action=batch-selection146],
body:not(.console-page):not(.tools126):not(:has(.sidebar .show126[data-nav=drafts141])) #file-menu [data-menu-action=editor-open141],
body:not(.console-page):not(.tools126):not(:has(.sidebar a.show126[href="/scan/"])) #dialog-body a[href="/scan/"]{display:none}

/* Periksa unggahan */
@media(min-width:701px){
 body:not(.console-page) #dialog:has(.upload-steps132){width:min(680px,calc(100% - 32px));border-radius:24px}
}
body:not(.console-page) .goal132p{min-height:52px;box-sizing:border-box;margin:0 0 12px;padding:8px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;align-items:center;gap:12px}
body:not(.console-page) .goal132p svg{flex:0 0 auto;width:26px;height:26px;color:var(--brand)}
body:not(.console-page) .goal132p>span{min-width:0;display:flex;flex-direction:column}
body:not(.console-page) .goal132p>span>span{font-size:13px;color:var(--muted)}
body:not(.console-page) .goal132p strong{font-size:14px;font-weight:700;overflow-wrap:anywhere}
body:not(.console-page) #dialog-body .big132p{margin:12px 0;border-left:0;border-radius:12px;background:var(--danger);color:var(--danger-ink);font-size:13px}

/* Pusat transfer */
body:not(.console-page) .sub132p{display:block;margin-top:4px;font-size:14px;color:var(--muted)}
body:not(.console-page) .page-head .sub132p+p{display:none}
body:not(.console-page) .transfer-stats128{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:10px}
body:not(.console-page) .transfer-stats128 div{padding:12px 14px;border-radius:20px}
body:not(.console-page) .transfer-stats128 strong{font-size:16px}

/* Cari: satu daftar */
body:not(.console-page) .search-results138:has(.search-result138){gap:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
body:not(.console-page) .search-result138{min-height:68px;box-sizing:border-box;padding:10px 16px;border:0;border-radius:0;align-items:center;gap:14px}
body:not(.console-page) .search-result138+.search-result138{border-top:1px solid var(--line)}
body:not(.console-page) .search-result138>.file-type{width:34px;height:34px;border-radius:9px;font-size:10px}
body:not(.console-page) .search-result-body138>.name-button{font-size:15px;font-weight:600}
body:not(.console-page) .search-result-body138 p{margin:3px 0 4px;font-size:13px}
body:not(.console-page) .search-result138 mark{padding:0 1px;border-radius:3px;background:#FFE38A;color:inherit}
:root[data-theme=dark] body:not(.console-page) .search-result138 mark{background:#5C4A12}

/* Dibagikan */
body:not(.console-page) .tag132p{padding:3px 10px;border-radius:999px;background:var(--neutral);color:var(--neutral-ink);font-size:13px;font-weight:700;white-space:nowrap}
body:not(.console-page) .tag132p.edit132p{background:var(--soft);color:var(--soft-ink)}

/* Berbintang */
body:not(.console-page):not(.tools126)[data-page=stars] .file-table .secondary{display:none}
body:not(.console-page)[data-page=stars] .file-table tr:has(.star132p) .file-name::before{content:none;display:none}
body:not(.console-page) .star132p{flex:0 0 auto;width:36px;height:36px;padding:0;border:0;border-radius:999px;background:transparent;color:#B57503;display:flex;align-items:center;justify-content:center;cursor:pointer}
body:not(.console-page) .star132p svg{width:18px;height:18px;fill:currentColor}
body:not(.console-page) .star132p:hover{background:var(--surface-2)}
:root[data-theme=dark] body:not(.console-page) .star132p{color:#F2C26B}
body:not(.console-page) .file-table .place132p{color:var(--muted);overflow-wrap:anywhere}
body:not(.console-page) .keys132p{margin-top:14px;padding:12px 16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:13px;color:var(--muted)}
body:not(.console-page) .keys132p b{color:var(--ink);font-weight:700}
body:not(.console-page) .keys132p kbd{padding:2px 7px;border:1px solid var(--line-2);border-radius:6px;color:var(--ink);font-family:inherit;font-size:13px;font-weight:700}

/* Sampah */
body:not(.console-page) .file-table .left132p{color:var(--muted);white-space:nowrap}
body:not(.console-page) .file-table td.soon132p{color:var(--warn-ink);font-weight:600}
body:not(.console-page) .file-table td.late132p{color:var(--danger-ink);font-weight:700}
body:not(.console-page) .keep132p{margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);display:flex;flex-direction:column;gap:10px;font-size:13px}
body:not(.console-page) .content .keep132p h2{margin:0;font-size:15px;font-weight:700}
body:not(.console-page) .keep132p div{display:flex;justify-content:space-between;gap:12px}
body:not(.console-page) .keep132p span{color:var(--muted)}
body:not(.console-page) .keep132p b{font-weight:700}
body:not(.console-page)[data-page=trash] .file-table .actions{flex-wrap:nowrap;align-items:center}
body:not(.console-page) .file-tile .restore132p{margin-top:8px}
@media(min-width:761px){
 body:not(.console-page) .file-table .hint132p{display:none}
}
/* Papan Sampah tidak punya Ukuran dan Status; kolom baru mendorong Pulihkan keluar layar bila keduanya tetap ada. */
body:not(.console-page):not(.tools126)[data-page=trash] .file-table .secondary{display:none}
@media(min-width:1280px){
 body:not(.console-page):not(.tools126)[data-page=trash] #content:has(>.keep132p){display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0 16px;align-items:start}
 body:not(.console-page):not(.tools126)[data-page=trash] #content:has(>.keep132p)>*{grid-column:1/-1}
 body:not(.console-page):not(.tools126)[data-page=trash] #content:has(>.keep132p)>.file-browser{grid-column:1}
 body:not(.console-page):not(.tools126)[data-page=trash] #content:has(>.keep132p)>.keep132p{grid-column:2;margin-top:0}
}

/* Ruang tim */
body:not(.console-page)[data-page=team] .page-head{flex-wrap:wrap}
body:not(.console-page)[data-page=team] .page-head>div:first-child{margin-right:auto}
body:not(.console-page) .use132p{flex:0 1 240px;min-width:min(220px,100%);display:flex;flex-direction:column;gap:6px}
body:not(.console-page) .use132p>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:rgb(180,218,239)}
body:not(.console-page) .bar132p{height:6px;border-radius:3px;background:var(--line);overflow:hidden}
body:not(.console-page) .bar132p i{display:block;height:100%;border-radius:3px;background:var(--accent)}
body:not(.console-page) .use132p .bar132p{height:8px;border-radius:4px;background:rgba(255,255,255,.14)}
body:not(.console-page) .use132p .bar132p i{border-radius:4px;background:var(--brand)}
body:not(.console-page)[data-page=team] .page-head .btn:focus-visible{outline-color:#FFFFFF}

/* Menu profil */
body:not(.console-page) #profile-menu134{width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 72px);box-sizing:border-box;padding:10px;border-radius:20px;background:var(--bg);overflow-y:auto}
body:not(.console-page) .profile-id134{margin:0;padding:18px;border:0;border-radius:20px;background:var(--surface);gap:14px}
body:not(.console-page) .profile-id134:has(+.store132p){padding-bottom:0;border-radius:20px 20px 0 0}
body:not(.console-page) .profile-id134 div{flex:1 1 auto;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}
body:not(.console-page) .profile-id134 strong{max-width:100%;font-size:17px}
body:not(.console-page) .profile-id134 small{flex:1 1 100%;margin:0;font-size:14px}
body:not(.console-page) .profile-id134 .avatar{flex:0 0 auto;width:56px;height:56px;min-width:56px;background:var(--accent);color:var(--on-accent);font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}
body:not(.console-page) .chip132p{padding:2px 10px;border-radius:999px;background:var(--soft);color:var(--soft-ink);font-size:13px;font-weight:700;white-space:nowrap}
body:not(.console-page) .store132p{margin-bottom:6px;padding:14px 18px 18px;border-radius:0 0 20px 20px;background:var(--surface);display:flex;flex-direction:column;gap:6px}
body:not(.console-page) .store132p>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}
body:not(.console-page) .store132p>div:first-child span{color:var(--muted)}
body:not(.console-page) .store132p b{font-weight:600}
body:not(.console-page) #profile-menu134 .pay132p{min-height:44px;margin-top:8px;padding:0 16px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:700;justify-content:center}
body:not(.console-page) #profile-menu134 .pay132p:hover{background:var(--accent)}
body:not(.console-page) #profile-menu134 [role=menuitem]:not(.pay132p){min-height:46px;box-sizing:border-box;padding:0 14px;gap:14px;font-size:15px}
body:not(.console-page) #profile-menu134 [role=menuitem] svg{width:22px;height:22px}

/* Detail file */
body:not(.console-page) .hash132p{display:flex;align-items:center;gap:6px;font-family:ui-monospace,'SFMono-Regular',Menlo,monospace;font-size:13px}
body:not(.console-page) .hash132p .icon{flex:0 0 auto;width:28px;height:28px;min-width:28px;padding:0;border:0;border-radius:999px;background:var(--surface-2);color:var(--muted);display:flex;align-items:center;justify-content:center}
body:not(.console-page) .hash132p svg{width:14px;height:14px}

/* Jumlah ukuran pilihan */
body:not(.console-page) .bytes132p{margin-left:-6px;font-size:13px;white-space:nowrap}

/* Jenis file audio dan kode */
body:not(.console-page) .file-type[data-kind=audio]{background:#FBE3F0;color:#8A1F5A}
body:not(.console-page) .file-type[data-kind=code]{background:#E6E8FA;color:#3438A0}
:root[data-theme=dark] body:not(.console-page) .file-type[data-kind=audio]{background:#3A1A2C;color:#F3A6CF}
:root[data-theme=dark] body:not(.console-page) .file-type[data-kind=code]{background:#1E2245;color:#B7BCF7}

/* Pratinjau kode */
body:not(.console-page) .lines132p{height:32px;box-sizing:border-box;padding:0 10px;border-radius:8px;background:#1A2A38;color:#A9BBCB;font-size:13px;display:flex;align-items:center}
body:not(.console-page) .code132p{margin-left:auto;display:flex;flex-wrap:wrap;gap:6px}
body:not(.console-page) #dialog.preview-dialog .text-preview.wrap132p{white-space:pre-wrap;overflow-wrap:anywhere}

@media(max-width:760px){
 body:not(.console-page) .file-table .place132p,
 body:not(.console-page) .file-table .left132p,
 body:not(.console-page) .file-table .role132p,
 body:not(.console-page) .file-table .restore132p,
 body:not(.console-page) .keys132p{display:none}
}
