/*
 * designer-lukisan_filamen.css — "Lukisan Filamen" designer (partials/designers/lukisan_filamen.php,
 * assets/js/designer-lukisan_filamen.js). The tabs, dropzone and glossy stage come from designer-gantungan_nama.css.
 */
.designer-lukisan_filamen.rl-tabbed .rl-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.lf-view { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
    background: rgba(255, 255, 255, .88); box-shadow: 0 4px 14px -6px rgba(40, 20, 80, .35); }
.lf-view button { appearance: none; border: 0; background: transparent; font: inherit; font-size: .78rem; font-weight: 650; color: var(--ink-2);
    padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.lf-view button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.lf-view button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }

.lf-samples .lf-sample > span { display: grid; justify-items: center; gap: 4px; padding: 6px; }
.lf-sample canvas { width: 72px; height: 54px; border-radius: 8px; display: block; }
.lf-sample .icon { width: 30px; height: 30px; margin: 12px 0; }
.lf-ratios .ochip-shape > span { min-width: 58px; }

.lf-crop { display: block; width: 100%; max-width: 320px; height: auto; margin: 10px auto 4px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--bg-alt); cursor: grab; touch-action: none; }
.lf-crop:active { cursor: grabbing; }

.lf-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lf-preset { appearance: none; display: grid; justify-items: center; gap: 3px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); font: inherit; cursor: pointer; }
.lf-preset:hover, .lf-preset:focus-visible { border-color: var(--accent); }
.lf-preset small { font-size: .72rem; color: var(--ink-2); }
.lf-preset-dots { display: inline-flex; gap: 2px; min-height: 14px; align-items: center; }
.lf-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); vertical-align: -2px; }

.lf-crow { margin-top: 8px; }
.lf-cnum { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-2); font-size: .75rem; }

.lf-swaps, .lf-swaptable { margin-top: 10px; overflow-x: auto; }
.lf-swap-tbl { width: 100%; border-collapse: collapse; font-size: .82rem; }
.lf-swap-tbl th, .lf-swap-tbl td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lf-swap-tbl th { font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.lf-swap-tbl td:first-child { white-space: nowrap; }
.lf-steps { margin: 8px 0 4px; padding-left: 20px; font-size: .84rem; }
.lf-steps li { margin: 2px 0; }

.lf-swapbox { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.lf-swapbox h4 { margin: 0 0 6px; }
.lf-swap-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 8px; }
.lf-swap-tools .tmf-field { display: grid; gap: 2px; font-size: .8rem; }
.lf-swap-note:empty { display: none; }

@media (max-width: 480px) {
    .lf-swap-tbl { font-size: .76rem; }
    .lf-swap-tbl th, .lf-swap-tbl td { padding: 4px; }
}
