.renovation-page {
    background: #f6f7f3;
    color: #293e35;
}
.ren-shell {
    max-width: 1560px;
    margin: 0 auto;
    padding: 32px 26px 42px;
}
.ren-shell *,
.ren-shell *:before {
    box-sizing: border-box;
}
.ren-shell button,
.ren-shell input,
.ren-shell select,
.ren-shell summary {
    font: inherit;
}
.ren-shell button {
    cursor: pointer;
}
.ren-shell button:disabled {
    opacity: 0.4;
    cursor: default;
}
.ren-shell button:focus-visible,
.ren-shell a:focus-visible,
.ren-shell input:focus-visible,
.ren-shell select:focus-visible,
.ren-shell summary:focus-visible {
    outline: 3px solid #a98528;
    outline-offset: 3px;
}
.ren-shell [hidden] {
    display: none !important;
}
.ren-shell .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ren-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}
.ren-eyebrow {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2px;
    color: #858b70;
    margin-bottom: 9px;
}
.ren-heading h1 {
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -1.4px;
    margin: 0 0 8px;
    color: #253d31;
}
.ren-heading p {
    font-size: 13px;
    color: #748173;
    margin: 0;
}
.ren-consult {
    border: 1px solid #d5ddce;
    border-radius: 24px;
    padding: 12px 18px;
    font-size: 12px;
    color: #526849;
    white-space: nowrap;
    background: #fff;
}
.ren-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0e5d9;
    background: #fff;
    padding: 15px 19px;
    border-radius: 13px;
}
.ren-project-name > span {
    display: block;
    font-size: 10px;
    color: #7b8575;
    margin-bottom: 3px;
}
.ren-project-name > input {
    border: 0;
    padding: 0 !important;
    color: #354d3c;
    background: transparent !important;
    font-size: 14px;
    font-weight: 650;
    width: 220px;
    max-width: 100%;
    min-height: 25px !important;
}
.ren-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ren-shell button,
.ren-export > summary {
    border: 1px solid #dde3d6;
    background: #fff;
    color: #40533f;
    border-radius: 7px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.15s;
}
.ren-shell button:hover {
    background: #f5f6ef;
}
.ren-shell button.ren-primary {
    background: #f0c745;
    border-color: #e7bd3a;
    color: #4c3a10;
    padding-inline: 17px;
}
.ren-export {
    position: relative;
}
.ren-export > summary {
    cursor: pointer;
    list-style: none;
}
.ren-export > div {
    position: absolute;
    right: 0;
    top: 43px;
    width: 200px;
    padding: 7px;
    background: #fff;
    border: 1px solid #dbe1d4;
    border-radius: 10px;
    z-index: 5;
    box-shadow: 0 10px 25px #263f3115;
}
.ren-export button {
    display: block;
    text-align: left;
    width: 100%;
    border: 0;
}
.ren-status {
    font-size: 11px;
    color: #65775c;
    min-height: 20px;
    margin: 12px 3px 16px;
}
.ren-status.is-error {
    color: #a6412a;
}
.ren-workspace {
    display: grid;
    grid-template-columns: 260px minmax(350px, 1fr) 265px;
    gap: 17px;
    align-items: start;
}
.ren-panel {
    border: 1px solid #dfe4d8;
    border-radius: 12px;
    background: #fff;
    padding: 19px;
    min-width: 0;
}
.ren-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.ren-panel-title h2 {
    font-size: 15px;
    letter-spacing: -0.3px;
    margin: 0;
}
.ren-panel-title > span {
    font-size: 10px;
    color: #829075;
}
.ren-library-tabs {
    display: flex;
    gap: 4px;
    padding: 3px;
    background: #f3f5ee;
    border-radius: 7px;
    margin-bottom: 16px;
}
.ren-library-tabs > button {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px 4px;
    min-height: 34px;
    font-size: 10px;
}
.ren-library-tabs > button[aria-pressed='true'] {
    background: #fff;
    box-shadow: 0 1px 5px #203e2114;
    color: #655119;
}
.ren-search input,
.ren-panel select,
.ren-panel input[type='number'] {
    display: block;
    width: 100%;
    border: 1px solid #dce2d5;
    background: #fff;
    border-radius: 6px;
    padding: 9px 10px;
    min-height: 36px;
    font-size: 11px;
    color: #405440;
}
.ren-search {
    display: block;
    margin-bottom: 9px;
}
.ren-library > select {
    margin-bottom: 17px;
}
.ren-asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-height: 690px;
    overflow: auto;
    padding: 2px;
}
.ren-shell button.ren-asset {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    padding: 0;
    border: 1px solid #e2e6dc;
    border-radius: 9px;
    overflow: hidden;
    min-height: 145px;
    background: #fff;
}
.ren-asset-icon {
    height: 65px;
    background: linear-gradient(140deg, #f0f1e9, #e3e7db);
    font-size: 43px;
    text-align: center;
    line-height: 65px;
    color: #899a7a;
    text-shadow: 3px 4px 0 #cad3c1;
}
.ren-asset:nth-child(3n + 2) .ren-asset-icon {
    background: linear-gradient(140deg, #f8f0df, #ebe2d2);
    color: #ae9171;
    text-shadow: 3px 4px 0 #d5c6b4;
}
.ren-asset-name {
    font-size: 10px;
    line-height: 1.45;
    margin: 9px 8px 4px;
    min-height: 28px;
}
.ren-asset small {
    display: block;
    font-size: 8px;
    color: #839075;
    margin: 0 8px 7px;
    font-weight: 400;
}
.ren-asset small.ren-asset-dimensions {
    font-size: 8px;
    color: #8f9587;
    margin-top: auto;
}
.ren-more {
    margin-top: 12px;
    width: 100%;
}
.ren-library-note,
.ren-small {
    font-size: 10px;
    color: #85907a;
    line-height: 1.7;
}
.ren-library-note {
    margin: 17px 0 0;
}
.ren-canvas {
    min-width: 0;
}
.ren-viewbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #dfe4d8;
    border-radius: 12px 12px 0 0;
    padding: 11px 13px;
    gap: 8px;
}
.ren-viewbar > div {
    display: flex;
    gap: 3px;
}
.ren-viewbar button {
    border: 0;
    background: transparent;
    font-size: 10px;
    padding: 8px 10px;
}
.ren-viewbar button[aria-pressed='true'] {
    background: #f2eddb;
    color: #80611c;
}
.ren-viewbar > #ren-camera {
    font-size: 9px;
    color: #879078;
}
.ren-stage {
    height: 500px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 70%, #f7f4ec 0%, #edf0e5 100%);
    border-left: 1px solid #dfe4d8;
    border-right: 1px solid #dfe4d8;
}
.ren-stage model-viewer {
    width: 100%;
    height: 100%;
    --progress-bar-height: 0;
}
.ren-stage-caption {
    position: absolute;
    bottom: 14px;
    left: 10px;
    right: 10px;
    text-align: center;
    pointer-events: none;
    font-size: 9px;
    color: #8a9480;
}
.ren-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #edf0e5db;
    color: #728066;
    font-size: 12px;
    pointer-events: none;
}
.ren-plan-stage {
    background: #f8f9f4;
    padding: 22px 28px 30px;
}
.ren-plan-stage svg {
    width: 100%;
    height: 100%;
    touch-action: none;
    user-select: none;
}
.ren-plan-stage [data-item] {
    cursor: grab;
    outline: none;
}
.ren-plan-stage [data-item]:focus-visible rect {
    stroke: #5b4515;
    stroke-width: 0.06;
}
.ren-ar-button {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0c745 !important;
    white-space: nowrap;
}
.ren-canvas-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    background: #fff;
    padding: 14px 17px;
    border: 1px solid #dfe4d8;
    border-radius: 0 0 12px 12px;
    color: #7c8972;
}
.ren-presets {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.ren-presets > span {
    flex: 0 0 100%;
    color: #8a957d;
    font-size: 10px;
    margin-bottom: 3px;
}
.ren-presets button {
    font-size: 10px;
    border-radius: 20px;
    background: #fff;
    padding: 8px 12px;
}
.ren-ar-help {
    font-size: 10px;
    line-height: 1.8;
    color: #89927e;
    margin: 17px 3px;
}
.ren-room-fields,
.ren-object-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.ren-room-fields label,
.ren-object-fields label {
    font-size: 10px;
    color: #7c8973;
}
.ren-room-fields input,
.ren-object-fields input {
    margin-top: 6px;
    padding: 7px !important;
}
.ren-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    color: #859076;
    margin-top: 12px;
    line-height: 1.5;
}
.ren-check input {
    width: 13px;
    height: 13px;
    accent-color: #c7a13c;
}
.ren-divider {
    height: 1px;
    background: #e9ece3;
    margin: 22px 0;
}
.ren-inspector h3 {
    font-size: 12px;
    margin: 0 0 13px;
}
.ren-field {
    display: block;
    font-size: 10px;
    color: #7c8973;
    margin-bottom: 12px;
}
.ren-field select {
    margin-top: 6px;
}
.ren-swatches {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.ren-swatches > button {
    min-height: 25px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid #fff;
    outline: 1px solid #e3e6dc;
}
.ren-swatches > button[aria-pressed='true'] {
    outline: 2px solid #a78b3c;
    outline-offset: 2px;
}
.ren-color {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #7c8973;
}
.ren-color input {
    width: 37px;
    height: 27px;
    padding: 2px;
    border: 1px solid #dde3d6;
    background: white;
}
.ren-finish-options {
    display: flex;
    gap: 6px;
    margin: 12px 0 17px;
}
.ren-finish-options > button {
    flex: 1;
    font-size: 10px;
}
.ren-finish-options > button[aria-pressed='true'] {
    background: #fff6d7;
    border-color: #ddc576;
    color: #7d6121;
}
.ren-object-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}
.ren-item-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.ren-item-actions button {
    font-size: 9px;
    padding: 7px 9px;
    min-height: 30px;
}
.ren-shell .ren-danger {
    color: #a64c34;
}
.ren-inspector #ren-source-link {
    font-size: 10px;
    color: #7f8c6d;
}
.ren-inspector #ren-selected-name {
    font-size: 12px;
}
.ren-inspector #ren-selected-source {
    margin: 8px 0 0;
}
#ren-object-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 230px;
    overflow: auto;
}
#ren-object-list > button {
    text-align: left;
    font-size: 10px;
    border: 0;
    min-height: 30px;
    padding: 7px 10px;
    background: #f8f9f4;
}
#ren-object-list > button.is-selected {
    background: #f8edc8;
    color: #7e6022;
}
.ren-saved,
.ren-credits {
    border: 1px solid #dfe4d8;
    background: #fff;
    border-radius: 9px;
    padding: 13px 16px;
    margin-top: 20px;
    font-size: 11px;
    color: #6c7d60;
}
.ren-saved summary,
.ren-credits summary {
    cursor: pointer;
    line-height: 1.5;
}
.ren-saved p,
.ren-credits p {
    font-size: 10px;
    line-height: 1.9;
    margin: 12px 0 0;
}
.ren-saved-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ebeee5;
    padding: 10px 0;
}
.ren-saved-row > button {
    border: 0;
    text-align: left;
}
.ren-saved-row > small {
    font-size: 9px;
}
.ren-credits {
    margin-top: 27px;
}
.ren-credits a {
    color: #76602b;
    text-decoration: underline;
}
.renovation-page .site-footer {
    margin-top: 0;
}
@media (min-width: 1550px) {
    .ren-stage {
        height: 570px;
    }
}
@media (max-width: 1190px) {
    .ren-workspace {
        grid-template-columns: 220px minmax(300px, 1fr);
        gap: 14px;
    }
    .ren-inspector {
        grid-column: 1/-1;
        display: block;
    }
    .ren-stage {
        height: 480px;
    }
    .ren-inspector .ren-room-fields {
        max-width: 360px;
    }
    .ren-inspector .ren-object-fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .ren-asset-grid {
        max-height: 650px;
    }
    .ren-heading h1 {
        font-size: 32px;
    }
}
@media (max-width: 780px) {
    .ren-shell {
        padding: 22px 14px 30px;
    }
    .ren-heading {
        align-items: start;
    }
    .ren-heading h1 {
        font-size: 28px;
        letter-spacing: -0.9px;
    }
    .ren-heading p {
        font-size: 11px;
        line-height: 1.7;
    }
    .ren-consult {
        font-size: 10px;
        padding: 10px 12px;
    }
    .ren-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }
    .ren-actions {
        gap: 6px;
    }
    .ren-actions button,
    .ren-export > summary {
        font-size: 10px;
        padding: 8px 9px;
    }
    .ren-workspace {
        display: flex;
        flex-direction: column;
    }
    .ren-canvas {
        order: 0;
        width: 100%;
    }
    .ren-inspector {
        order: 1;
        width: 100%;
    }
    .ren-library {
        order: 2;
        width: 100%;
    }
    .ren-stage {
        height: 430px;
    }
    .ren-library .ren-asset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 430px;
    }
    .ren-inspector .ren-object-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ren-heading {
        gap: 10px;
    }
    .ren-heading .ren-consult {
        max-width: 132px;
        white-space: normal;
    }
    .ren-shell input,
    .ren-shell select {
        font-size: 16px !important;
    }
    .ren-project-name > input {
        width: 100%;
        font-size: 16px !important;
    }
    .ren-viewbar {
        padding: 9px;
    }
    .ren-viewbar button {
        font-size: 10px;
        padding: 7px;
    }
    .ren-export > div {
        right: auto;
        left: 0;
        max-width: calc(100vw - 40px);
    }
    .ren-status {
        line-height: 1.7;
    }
    .ren-room-fields {
        max-width: none !important;
    }
}
@media (max-width: 420px) {
    .ren-stage {
        height: 350px;
    }
    .ren-canvas-footer {
        font-size: 9px;
        padding: 12px;
    }
    .ren-shell .ren-asset-name {
        font-size: 10px;
    }
    .ren-library .ren-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ren-viewbar > #ren-camera {
        font-size: 0;
    }
    .ren-viewbar > #ren-camera:first-letter {
        font-size: 15px;
    }
    .ren-actions {
        flex-wrap: wrap;
    }
    .ren-presets button {
        font-size: 9px;
    }
    .ren-inspector .ren-object-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
