.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 Georgia,serif;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 #354c39;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 #354c39}.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 Georgia,serif;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 Georgia,serif;margin:7px 0}.cr-total small{font-size:11px;color:var(--muted)}.cr-total span>small{display:block}.cr-group{display:flex;flex-wrap:wrap;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:#354c39;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}

/* Rencana side by side: bidang di kiri, ringkasan (total, produk, beli, ekspor) menempel di kanan. */
.cr-plan-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:28px;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:4px;background:#fffdf7;border:1px solid #d7ddcf;border-radius:14px;padding:16px}
.cr-plan-side .cr-total{margin:0 0 6px;padding:16px 18px}
.cr-plan-side .cr-total strong{font-size:30px;margin:4px 0}
.cr-plan-side .cr-group{border-bottom:1px dashed #d5dbcd;padding:12px 0}
.cr-plan-side .cr-group:last-child{border-bottom:0}
.cr-plan-side .cr-exports{margin-top:8px}
.cr-plan-side .cr-exports button{flex:1}
@media (max-width:860px){.cr-plan-body{grid-template-columns:1fr;gap:18px}.cr-plan-side{position:static}}
