/* Finder reference: pale floating sidebar, compact rows and pill toolbar. */
.app-berkas { --fb-side-w:196px; border-radius:22px; background:#fff; }
.app-berkas .titlebar { height:52px; padding-left:18px; border-radius:22px 22px 0 0; }
.app-berkas .win-body { border-radius:22px; }
.app-berkas .traffic { gap:9px; }
.app-berkas .light { width:13px; height:13px; }
.fb-tools { left:calc(var(--fb-side-w) + 14px); right:9px; gap:13px; }
.fb-pill { height:36px; border-radius:22px; padding:0 3px; box-shadow:0 8px 24px #00000008; background:#ffffffeb; }
.fb-btn { width:31px; height:29px; color:#626267; }
.fb-btn svg { width:17px; height:17px; }
.fb-div { height:15px; background:#00000010; }
.fb-name { font-size:14px; margin-left:0; min-width:75px; }
.fb-search { flex:0 1 240px; min-width:105px; padding:0 12px; }
.fb-side { left:7px; top:7px; bottom:7px; width:var(--fb-side-w); padding:47px 10px 14px; border-radius:19px; background:linear-gradient(180deg,#fff2ffed,#f7f7f9 44%,#fafafa); box-shadow:0 0 0 .5px #ffffffd0,10px 0 32px #00000004; }
.fb-side-head { padding:17px 6px 4px; font-size:10px; font-weight:600; }
.fb-side-item { height:32px; gap:9px; padding:0 9px; font-size:12px; border-radius:9px; }
.fb-side-item.is-active { background:#e9e9edb0; color:#0085ff; }
.fb-side-item svg { width:19px; height:19px; }
.fb-tag-dot { width:12px; height:12px; border-radius:50%; border:1.4px solid currentColor; flex:none; margin:0 4px; }
.fb-main { margin-left:calc(var(--fb-side-w) + 8px); }
.fb-icons .fb-group { margin:0; padding:9px 18px 8px; font-size:13px; font-weight:600; color:#8b8b8b; border-bottom:1px solid #e9e9e9; }
.fb-grid { grid-template-columns:repeat(auto-fill,112px); justify-content:start; padding:15px 10px 21px; gap:11px 2px; min-height:133px; }
.fb-cell { padding:0 5px; }
.fb-ico { width:64px; height:65px; }
.fb-label { font-size:11px; line-height:1.35; margin-top:7px; padding:2px 4px; }
.fb-list { padding:0 10px 12px; }
.fb-head,.fb-row { grid-template-columns:minmax(100px,1fr) 178px 96px 126px; column-gap:8px; padding:0 15px; }
.fb-head { margin:0 -10px 5px; padding:0 25px; height:27px; font-size:10px; }
.fb-row { height:21px; border-radius:7px; font-size:12px; }
.fb-row.is-alt { background:#f3f3f4; }
.fb-group-list { padding:33px 26px 8px; font-size:10px; }
.fb-cellname { gap:6px; }
.fb-cellname .fb-sm { width:15px; height:15px; }
.fb-row > span:nth-child(3) { text-align:right; }
.fb-pathbar { height:27px; font-size:10px; gap:0; padding:0 10px; border-top:1px solid #eee; }
.fb-crumb { gap:4px; padding:2px; }
.fb-status { height:25px; line-height:25px; font-size:10px; background:#ffffffeb; border-top:1px solid #f1f1f1; }
.fb-columns { display:flex; height:100%; min-height:0; }
.fb-column-list { flex:0 0 240px; border-right:1px solid #e5e5e5; overflow:auto; padding:0 9px 15px; }
.fb-column-list .fb-group { padding:18px 17px 9px; font-size:10px; }
.fb-column-item { display:flex; align-items:center; gap:7px; padding:2px 7px; height:23px; border-radius:6px; font-size:12px; }
.fb-mini-icon { display:flex; align-items:center; flex:none; width:17px; height:19px; }
.fb-mini-icon svg { width:100%; height:100%; }
.fb-column-name { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.fb-column-arrow { color:#999; }
.fb-column-item.is-sel { color:white; background:#0866e7; }
.fb-preview { flex:1; min-width:0; padding:25px 35px; display:flex; flex-direction:column; overflow:auto; }
.fb-preview-art { flex:1; min-height:150px; display:grid; place-items:center; padding:12px 30px 28px; }
.fb-preview-art svg { width:100%; max-width:310px; height:100%; max-height:330px; filter:drop-shadow(0 4px 5px #0003); }
.fb-preview-info { width:100%; max-width:550px; margin:auto; font-size:11px; }
.fb-preview-info h3 { font-size:14px; margin:8px 0 4px; }
.fb-preview-info h4 { font-size:12px; margin:16px 0 6px; }
.fb-preview-info p { color:#888; margin:0 0 5px; }
.fb-info-row { display:flex; justify-content:space-between; gap:10px; border-bottom:1px solid #e8e8e8; padding:5px 0; }
.fb-info-row span:first-child { color:#888; }
.fb-preview-empty { margin:auto; color:#999; font-size:12px; text-align:center; }
.fb-gallery { display:flex; flex-direction:column; height:100%; }
.fb-gallery .fb-preview { flex-direction:row; gap:24px; padding:15px 20px; }
.fb-gallery .fb-preview-art { padding:20px; }
.fb-gallery .fb-preview-info { flex:0 0 180px; align-self:stretch; border-left:1px solid #eee; padding-left:15px; margin:0; }
.fb-filmstrip { flex:none; display:flex; gap:8px; padding:9px; overflow:auto; height:82px; }
.fb-film-item { flex:0 0 55px; display:grid; place-items:center; padding:4px; border-radius:7px; }
.fb-film-item .fb-mini-icon { width:43px; height:49px; }
.fb-film-item .fb-column-name { display:none; }
.fb-film-item.is-sel { background:#c9c9cd; }
.fb-menu { position:absolute; z-index:20; width:238px; padding:5px; border:1px solid #c5c1bc; border-radius:13px; background:#fff7eedf; backdrop-filter:blur(30px); box-shadow:0 5px 18px #0003; }
.fb-menu[hidden] { display:none; }
.fb-menu-item { display:block; width:100%; border:0; background:none; border-radius:5px; text-align:left; padding:7px 12px; font:12px var(--font-ui); color:#333; }
.fb-menu-item:hover,.fb-menu-item:focus-visible { background:#087afa; color:#fff; outline:none; }
@container(max-width:560px) { .fb-head,.fb-row { grid-template-columns:minmax(80px,1fr) 130px 70px; } }
/* Item context menu: frosted surface and spacing from the supplied reference. */
.fb-context { position:absolute; z-index:50; padding:6px; border:1px solid #ffffffbd; border-radius:14px; background:linear-gradient(140deg,#f7f8fbe8,#fff2e1d9 68%,#dce3ffdc); backdrop-filter:blur(32px) saturate(160%); -webkit-backdrop-filter:blur(32px) saturate(160%); box-shadow:0 0 0 .5px #0002,0 10px 35px #0003; overflow:auto; color:#292929; }
.fb-context[hidden] { display:none; }
.fb-context-row { display:flex; align-items:center; gap:9px; width:100%; min-height:27px; padding:4px 10px; border:0; border-radius:6px; background:transparent; color:inherit; font:13px/1.3 var(--font-ui); text-align:left; cursor:default; }
.fb-context-icon { width:18px; height:18px; display:grid; place-items:center; flex:none; }
.fb-context-icon svg { width:16px; height:16px; }
.fb-context-label { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fb-context-arrow { font:22px/16px var(--font-ui); margin-left:auto; }
.fb-context-row:not(:disabled):hover,.fb-context-row:focus-visible { background:linear-gradient(#c4dfff,#bddaff); outline:none; color:#202a39; }
.fb-context-row:disabled { opacity:.42; }
.fb-context-separator { height:1px; margin:5px 9px; background:#0000001a; }
.fb-context-colors { display:flex; gap:10px; padding:7px 28px; }
.fb-color { width:15px; height:15px; border-radius:50%; border:1px solid #0003; padding:0; cursor:pointer; }
.fb-color[aria-pressed=true] { outline:2px solid #555; outline-offset:2px; }
.fb-color:focus-visible { outline:2px solid #087afa; outline-offset:2px; }
.fb-rename { width:100%; min-width:80px; max-width:240px; border:2px solid #1684fa; border-radius:4px; padding:2px 4px; font:12px var(--font-ui); color:#222; background:#fff; outline:none; }
.fb-row:has(.fb-rename) { height:auto; min-height:26px; }

.fb-context[data-kind="folder"] { background:linear-gradient(150deg,#f8f9fbed,#fff3e4e6 53%,#ffe4b6e6); }
.fb-tabs { display:flex; flex:none; height:30px; border-block:1px solid #ddd; background:#eeeef0; overflow:auto; }
.fb-tabs[hidden] { display:none; }
.fb-tab { display:flex; align-items:center; flex:1; min-width:120px; border-right:1px solid #d4d4d8; }
.fb-tab.is-active { background:#fff; }
.fb-tab button { border:0; background:none; color:#5b5b60; font:12px var(--font-ui); cursor:default; }
.fb-tab-open { flex:1; padding:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fb-tab-close { margin-left:7px; border-radius:4px; }
.fb-tab-close:hover { background:#ddd; }

.fb-context[data-kind="background"],.fb-context[data-kind="columns"],.fb-context-submenu { background:linear-gradient(150deg,#fafafaf2,#faf8f4ed); }
.fb-context-submenu { z-index:51; }
.fb-ico { width:var(--fb-icon-size,64px); height:var(--fb-icon-size,65px); }
.fb-list { overflow-x:auto; }
.fb-head,.fb-row { min-width:max-content; }
.fb-head span { display:block !important; }
.fb-row > span { display:block !important; }
.fb-row > .fb-cellname { display:flex !important; }

/* Adapt to the Finder window itself, including a resized window on a wide desktop. */
.app-berkas { container-type:inline-size; container-name:finder-window; }
.fb-tools { min-width:0; flex-wrap:nowrap; gap:8px; }
.fb-tools > * { min-width:0; }
.fb-tools .fb-name { flex:1 1 80px; min-width:0; }
.fb-tools .fb-search { display:flex; flex:0 1 170px; min-width:90px; }
.fb-tools .fb-search input { width:100%; }
.fb-main { min-width:0; }
.fb-list { overflow:visible; }
.fb-head,.fb-row { min-width:0; }
.fb-cellname { min-width:0; }
@container finder-window (max-width:1000px) {
  .fb-tools { gap:5px; }
  .fb-actions [data-act="share"],.fb-actions [data-act="tag"] { display:none; }
  .fb-tools .fb-search { flex-basis:120px; }
}
@container finder-window (max-width:800px) {
  .fb-tools .fb-search { flex-basis:90px; }
  .fb-tools .fb-name { flex-basis:40px; }
}
@container finder-window (max-width:700px) {
  .fb-tools .fb-name { display:none; }
  .fb-tools > .fb-pill:has([data-act="sort"]) { display:none; }
  .fb-tools .fb-btn { width:28px; }
  .fb-tools .fb-search { flex:0 0 34px; min-width:34px; margin-left:auto; padding:0 9px; cursor:text; }
  .fb-tools .fb-search input { width:0; opacity:0; }
  .fb-tools .fb-search:focus-within { position:absolute; right:0; width:calc(100% - 72px); min-width:0; background:#fff; z-index:4; gap:8px; }
  .fb-tools .fb-search:focus-within input { width:100%; opacity:1; }
  .fb-preview { padding:12px; }
  .fb-gallery .fb-preview-info { display:none; }
  .fb-column-list { flex-basis:160px; }
}

/* Tampilan kolom: kolom kedua (isi folder terpilih) */
.fb-column-sub { background:transparent; }
.fb-column-sub .fb-preview-empty { padding:24px 12px; }
.fb-column-item.fb-sub { cursor:default; }

.fb-empty { margin:70px 0 0; text-align:center; color:#9a9aa2; font-size:13px; }
