.custom-room{max-width:1500px;margin:auto;padding:24px 3vw 60px;color:var(--ink)}.custom-room [hidden]{display:none!important}.cr-toolbar{padding:0 0 22px;align-items:center}.cr-toolbar h1{font:normal 30px var(--pc-display);margin:9px 0}.cr-back{font-size:12px}.cr-setup{border:1px solid #d7ddcf;border-radius:12px;padding:16px 20px;margin-bottom:24px;background:#fffdf7}.cr-setup summary{cursor:pointer;font-weight:600;font-size:14px}.cr-setup summary span{font-weight:400;color:var(--muted);margin-left:15px;font-size:12px}.cr-setup form{padding-top:22px}.cr-names,.cr-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cr-dimensions{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.custom-room label{font-size:12px;display:block;color:var(--muted)}.custom-room input{display:block;max-width:100%;width:100%;border:1px solid #cfd5c7;border-radius:7px;background:#fffef9;padding:12px;color:var(--ink);font-size:16px;margin-top:7px;min-width:0}.cr-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px}.cr-form-bottom small{color:var(--muted);font-size:11px}#cr-error{font-size:12px;color:#a61835;margin:10px 0 0}.cr-workspace{display:grid;grid-template-columns:170px minmax(0,1fr) 290px;gap:20px;align-items:start}.cr-workspace h2{font-size:13px;margin:0 0 14px}.cr-surfaces>div{display:grid;gap:9px}.cr-surfaces button{display:flex;gap:10px;align-items:center;min-height:64px;border:1px solid #cdd5c5;border-radius:8px;background:transparent;text-align:left;padding:10px;color:var(--ink)}.cr-surfaces button[aria-pressed=true]{border:2px solid #a61835;padding:9px}.cr-surfaces strong{font-size:12px}.custom-room small{line-height:1.6}.cr-surfaces small{display:block;font-size:10px;color:var(--muted)}.cr-chip{display:inline-block;width:22px;height:22px;flex-shrink:0;border:1px solid #0002;border-radius:5px}.cr-center{min-width:0;position:sticky;top:14px}.cr-stage{height:440px;min-height:260px;max-height:57dvh;border:1px solid #d1d8c8;border-radius:12px;overflow:hidden;background:#f2f3ed}.cr-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.cr-stage canvas:active{cursor:grabbing}.cr-stage canvas:focus-visible{outline:3px solid #bf9554;outline-offset:-4px}.cr-view-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.cr-view-tools button,.cr-paging button,.cr-exports button{border:1px solid #cdd5c5;background:#fffdf7;color:var(--ink);border-radius:6px;padding:9px 13px;min-height:40px;font-size:12px}.cr-view-tools button:disabled{opacity:.4}.cr-active{font-size:12px;font-weight:600;padding:15px 0 5px}.cr-footnote{display:block;color:var(--muted);font-size:11px;line-height:1.7}.cr-picker{min-width:0}.cr-tabs{display:flex;gap:4px;background:#eeeee6;border-radius:7px;padding:4px;margin-bottom:14px}.cr-tabs button{flex:1;background:transparent;border:0;min-height:40px;border-radius:5px;font-size:12px;color:var(--muted)}.cr-tabs button[aria-selected=true]{background:#fffdf7;color:var(--ink);box-shadow:0 2px 5px #0001}.cr-products{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px}.cr-product{flex:0 0 93px;min-height:128px;display:flex;flex-direction:column;align-items:center;gap:7px;background:transparent;border:1px solid #d5dbcd;border-radius:8px;padding:8px 5px;color:var(--ink)}.cr-product[aria-pressed=true]{border:2px solid #232b2b;padding:7px 4px}.cr-product img{width:62px;height:76px;object-fit:contain}.cr-product span{font-size:10px;line-height:1.5}.cr-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.cr-mode select{font-size:13px;min-height:40px;border:1px solid #d5dbcd;border-radius:6px;background:#fffdf7;color:var(--ink);padding:8px;max-width:150px}.cr-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0}.cr-palette button,.custom-room .tile{padding:0;background:transparent;border:1px solid transparent;border-radius:6px;overflow:hidden;text-align:left;color:var(--ink);min-width:0}.cr-palette button>span,.custom-room .tile .swatch{display:block;height:48px;border:1px solid #0001;border-radius:5px}.cr-palette small,.custom-room .tile span:last-child{display:block;font-size:10px;padding:6px 3px;overflow-wrap:anywhere}.cr-palette button[aria-pressed=true],.custom-room .tile[aria-pressed=true]{border:2px solid #232b2b}.cr-paging{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.cr-selection{display:flex;align-items:center;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid #d5dbcd;font-size:13px;min-height:67px}.cr-selection small{display:block;font-size:11px;color:var(--muted)}.cr-selection .favorite-toggle{margin-left:auto;width:32px;height:32px;padding:0;font-size:24px;background:transparent;color:#a61835;border:0;flex-shrink:0}.custom-room #color-browser-pane{max-height:580px;overflow:auto}.custom-room .color-family h3{font-size:12px;margin:15px 0 9px}.custom-room .color-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.custom-room .color-sort-note{font-size:10px;color:var(--muted)}.cr-plan{margin-top:40px;border-top:1px solid #cdd5c5;padding-top:26px}.cr-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.cr-plan h2{font:normal 26px var(--pc-display);margin:6px 0 16px}.cr-plan-heading input{width:90px}.cr-plan-heading .eyebrow{margin:0}.cr-plan>p{font-size:12px;color:var(--muted)}.cr-plan-rows{margin:24px 0}.cr-plan-row{display:flex;gap:18px;align-items:center;min-height:93px;border-bottom:1px solid #e0e3d8;padding:14px 0;font-size:12px}.cr-plan-row>div:first-child{min-width:110px}.cr-plan-row small{display:block;font-size:11px;color:var(--muted)}.cr-plan-row>img{width:42px;height:60px;object-fit:contain}.cr-plan-paint{flex:1;min-width:0}.cr-plan-paint small .cr-chip{width:13px;height:13px;vertical-align:middle;margin-right:6px}.cr-plan-row>strong{min-width:100px;text-align:right}.cr-total{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#e9eddf;border-radius:10px;padding:22px;margin:30px 0 18px;font-size:12px}.cr-total strong{display:block;font:normal 34px var(--pc-display);margin:7px 0}.cr-total small{font-size:11px;color:var(--muted)}.cr-total span>small{display:block}.cr-group{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #d5dbcd;padding:14px 0;font-size:12px}.cr-group small{display:block;color:var(--muted);font-size:11px}.cr-exports{display:flex;gap:8px;margin-top:25px}#cr-export-result{padding:16px 0;font-size:13px}#cr-export-result a{text-decoration:underline}
@media(max-width:1100px){.cr-workspace{grid-template-columns:140px minmax(0,1fr) 255px;gap:14px}.cr-stage{height:370px}.cr-surfaces button{gap:6px}.cr-surfaces button>.cr-chip{width:14px;height:14px}}
@media(max-width:760px){.custom-room{padding:14px 12px 40px}.cr-toolbar{gap:10px}.cr-toolbar h1{font-size:24px}.cr-toolbar .button{font-size:11px;min-height:42px;padding:10px}.cr-setup{padding:14px;margin-bottom:18px}.cr-setup summary span{display:block;margin:6px 0 0}.cr-names{grid-template-columns:1fr;gap:14px}.cr-dimensions{gap:9px}.cr-form-bottom{align-items:start;flex-direction:column;gap:15px}.cr-form-bottom .button{width:100%;justify-content:center}.cr-workspace,.cr-center{display:contents}.cr-stage{position:sticky;top:env(safe-area-inset-top,0px);z-index:8;height:34dvh;min-height:240px;max-height:330px;border-radius:9px;box-shadow:0 8px 10px -12px #26362999;margin:16px 0 0}.cr-surfaces{margin-bottom:18px}.cr-surfaces>div{display:flex;overflow:auto;gap:6px;padding-bottom:5px}.cr-surfaces button{min-width:125px;min-height:57px;padding:8px}.cr-surfaces button[aria-pressed=true]{padding:7px}.cr-surfaces .cr-footnote{display:none}.cr-surfaces h2{margin-bottom:9px}.cr-picker{padding-top:22px;border-top:1px solid #d5dbcd;margin-top:20px}.cr-view-tools{gap:5px}.cr-view-tools button{font-size:11px;padding:9px 11px}.cr-palette,.custom-room .color-family-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.cr-mode select{font-size:16px}.cr-plan{margin-top:30px}.cr-plan-heading{align-items:start}.cr-plan h2{font-size:22px}.cr-plan-heading input{width:70px}.cr-plan-row{flex-wrap:wrap;gap:10px;font-size:11px}.cr-plan-row>div:first-child{min-width:95px}.cr-plan-row>img{width:30px;height:48px}.cr-plan-row>strong{min-width:70px}.cr-plan-paint{flex-basis:130px}.cr-total{padding:18px;gap:12px}.cr-total>small{max-width:95px}.cr-total strong{font-size:30px}body[data-route=custom] .site-header{position:relative}}
@media(max-width:380px){.cr-palette,.custom-room .color-family-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cr-plan-row>strong{width:100%;text-align:right}.cr-toolbar h1{max-width:190px}.cr-plan-heading .eyebrow{font-size:9px}}
.custom-room h1,.custom-room strong{overflow-wrap:anywhere}.custom-room .cr-toolbar>div{min-width:0}.custom-room .cr-toolbar>.button{flex-shrink:0}.project-custom-placeholder{min-height:190px;display:grid;place-content:center;text-align:center;gap:12px;background:#e9eddf;color:#232b2b;font-size:42px}.project-custom-placeholder small{font-size:13px}
.custom-room .tile .swatch{background:var(--swatch)}
.cr-floor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.custom-room .cr-floor-tools label{display:flex;align-items:center;gap:9px;font-size:12px}.custom-room .cr-floor-tools input[type=color]{width:44px;height:36px;padding:3px;margin:0;cursor:pointer;border-radius:6px}.cr-floor-tools button{min-height:36px;padding:7px 11px;border:1px solid #cdd5c5;border-radius:6px;background:#fffdf7;color:var(--ink);font-size:11px}.cr-floor-tools button:disabled{opacity:.4}.cr-floor-tools small{font-size:10px;color:var(--muted)}
.cr-openings{display:grid;gap:8px;margin:6px 0 10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fffdf8;font-size:12px}
.cr-openings-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.cr-openings-head span{display:flex;gap:6px}
.cr-openings-head button,.cr-opening button{min-height:34px;padding:4px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:12px;cursor:pointer}
.cr-opening{display:flex;align-items:center;gap:8px}
.cr-opening>span{min-width:52px;font-weight:600}
.cr-opening label{display:flex;align-items:center;gap:4px;color:var(--muted)}
.cr-opening input{width:56px;min-height:34px;padding:4px 6px;border:1px solid var(--line);border-radius:7px;text-align:center;font:inherit;color:var(--ink);background:#fff}
.cr-opening button{margin-left:auto}
.cr-opening-error{margin:0;color:#ac183a;font-size:11px}
.cr-opening-error:empty{display:none}

/* pilihcat: hasil cari HEX + kotak warna tanpa label */
.color-hex-results h3{display:flex;align-items:center;gap:8px}.color-hex-results .color-hex-target{display:inline-block;width:18px;height:18px;border-radius:4px;background:var(--swatch);border:1px solid rgba(0,0,0,.18);flex:none}
.color-family-grid .tile>span:not(.swatch){display:none!important}

/* pilihcat: favorit di atas + deret geser */
.color-fav{margin:2px 0 10px}.color-fav h3{font-size:12px;font-weight:600;margin:0 0 6px}
.color-fav-strip{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:2px 2px 8px;scrollbar-width:thin}
.color-fav-strip .tile{flex:0 0 40px;width:40px;padding:0;border:0;background:none;cursor:pointer;border-radius:8px}
.color-fav-strip .tile .swatch{display:block;width:40px;height:40px;border-radius:8px;background:var(--swatch);border:1px solid rgba(0,0,0,.14)}
.color-fav-strip .tile[aria-pressed=true] .swatch{outline:2px solid #232b2b;outline-offset:2px}
.product-rail,.cr-products,.up-products,.color-fav-strip{cursor:grab}.pc-dragging{cursor:grabbing!important;user-select:none}.pc-dragging *{pointer-events:none}

/* pilihcat: bar warna terpilih + favorit */
.pc-current{display:flex;align-items:center;gap:10px;margin:8px 0;padding:8px 10px;border:1px solid rgba(0,0,0,.1);border-radius:10px;background:rgba(255,255,255,.6)}
.pc-current-chip{flex:none;width:34px;height:34px;border-radius:8px;background:var(--swatch);border:1px solid rgba(0,0,0,.14)}
.pc-current>div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.pc-current strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-current small{font-size:11px;opacity:.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-current .favorite-toggle{flex:none;min-width:36px;height:36px;border:1px solid rgba(0,0,0,.14);border-radius:50%;background:#fff;font-size:18px;line-height:1;cursor:pointer;color:#b1203a}

/* pilihcat: tab Pilih Warna di Custom & Foto Sendiri disamakan dengan editor ruangan contoh */
:is(.custom-room,.upload-photo) #color-browser-pane{--pc-bg:light-dark(#faf9f5,#252923);--pc-line:light-dark(#dcded4,#454e40);--pc-text:light-dark(#232b2b,#eef0e8);max-height:650px;overflow-y:auto;scrollbar-width:thin;padding:3px}
:is(.custom-room,.upload-photo) #color-browser-pane .color-search{width:100%;min-height:38px;padding:8px 10px;margin:0 0 8px;border:1px solid var(--pc-line);border-radius:8px;background:var(--pc-bg);color:var(--pc-text);font:12px system-ui,sans-serif;box-sizing:border-box}
:is(.custom-room,.upload-photo) #color-browser-pane .color-sort-note{font-size:10px}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family{padding:10px 0 18px;border-bottom:1px solid var(--pc-line)}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family h3{font-size:12px;font-weight:600;margin:0 0 12px}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 9px}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid .tile{padding:0;border:0;border-radius:0;background:transparent;overflow:visible;cursor:pointer;min-width:0}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid .tile .swatch{display:block;height:29px;padding:0;border-radius:5px;border:2px solid var(--pc-bg);outline:1px solid var(--pc-line);background:var(--swatch);margin-bottom:4px}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid .tile[aria-pressed=true]{border:0}
:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid .tile[aria-pressed=true] .swatch{outline:2px solid var(--pc-text);border:4px solid var(--pc-bg)}
@media(max-width:650px){:is(.custom-room,.upload-photo) #color-browser-pane{max-height:none;overflow:visible}:is(.custom-room,.upload-photo) #color-browser-pane .color-family-grid .tile .swatch{height:34px}}

/* pilihcat: panel warna serupa (bersama editor & Simulasi Ruangan) */
.pc-similar{margin:12px 0 4px}.pc-similar ul{list-style:none;padding:0;margin:6px 0 4px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.pc-similar li{display:flex;flex-direction:column;border:1px solid #dfdfd5;border-radius:8px;background:#fff;overflow:hidden}
.pc-similar li>button,.pc-similar .pc-card-head{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#fff;border:0;padding:8px 10px;cursor:pointer;font:inherit;color:inherit;flex:1}
.pc-similar .pc-card-head{cursor:default}.pc-similar li>button:hover{background:#fbf8f3}
.pc-similar strong{font-size:12px}.pc-similar small{display:block;font-size:11px;color:#73796e}
.pc-similar .pc-chip{flex:none;width:30px;height:30px;border-radius:5px;border:1px solid #0002}
.pc-similar .pc-tag{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#8a5a12;background:#fbefd9;border-radius:99px;padding:1px 7px;margin-bottom:2px}
.pc-similar .pc-tag.mine{color:#fff;background:#232b2b}
.pc-similar li.pc-mine{border-color:#232b2b;box-shadow:inset 0 0 0 1px #232b2b}
.pc-similar .pc-cost{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px 8px;font-size:12px;border-top:1px dashed #e6e6dc}
.pc-similar .pc-cost a{background:#ee4d2d;color:#fff;border-radius:5px;padding:3px 9px;font-size:11px;font-weight:600;text-decoration:none}
.pc-similar .pc-basis{font-size:11px;color:#73796e;margin:4px 0 2px}.pc-similar .pc-note{display:block;font-size:10px;color:#73796e;margin-top:4px}
.pc-similar .applied-label{display:block;font-size:12px;font-weight:600;color:inherit}
.pc-similar .pc-tag{display:table}
.pc-similar li>button>span:last-child,.pc-similar .pc-card-head>span:last-child{font:12px/1.35 system-ui,sans-serif}

/* pilihcat: rencana pengecatan dua kolom — kiri per permukaan, kanan total + saran beli (menempel saat scroll) */
.cr-plan-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:24px;align-items:start;margin-top:14px}
.cr-plan-body .cr-plan-rows{margin:0}
.cr-plan-body .cr-plan-row{min-height:0;padding:10px 0;gap:14px}
.cr-plan-body .cr-plan-row>img{width:34px;height:46px}
.cr-plan-side{position:sticky;top:84px;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #ece8f6;border-radius:20px;padding:16px;box-shadow:0 14px 34px #2b1b5a12}
.cr-plan-side .cr-total{margin:0;padding:14px 16px;border-radius:14px;background:linear-gradient(120deg,#f4efff,#ffeef6)}
.cr-plan-side .cr-total strong{font-size:28px;margin:4px 0}
.cr-plan-side .cr-group{padding:10px 0;border-bottom:1px dashed #e6e2f3}
.cr-plan-side .cr-group:last-child{border-bottom:0}
.cr-plan-side .paint-plan{margin-top:8px}
.cr-plan-side .cr-exports{display:flex;gap:8px;flex-wrap:wrap}
.cr-plan-side .cr-exports button{flex:1}
@media(max-width:760px){.cr-plan-body{grid-template-columns:1fr}.cr-plan-side{position:static}}
.cr-plan-side .cr-exports{margin-top:0}

/* pilihcat (HP): daftar warna dibatasi tinggi + bar ringkas menempel di bawah */
.cr-jump{display:none}
@media(max-width:760px){
  :is(.custom-room,.upload-photo) #color-browser-pane{max-height:52vh;overflow-y:auto;overscroll-behavior:contain;border:1px solid #ece8f6;border-radius:14px;padding:8px}
  .custom-room .cr-palette{max-height:46vh;overflow-y:auto;overscroll-behavior:contain}
  .cr-jump:not([hidden]){position:fixed;left:12px;right:12px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:39;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border:0;border-radius:16px;background:#232b2b;color:#fff;font:600 14px var(--pc-font);box-shadow:0 10px 26px #0004}
  .cr-jump b{font-weight:700;background:linear-gradient(100deg,#ffb3d4,#c4b5fd,#93c5fd);-webkit-background-clip:text;background-clip:text;color:transparent}
  .custom-room{padding-bottom:140px}
}
@media(max-width:760px){.cr-jump.cr-jump-away{display:none!important}}
