/* Colour-linked paint advice: one decision at a time, with a persistent action bar. */
.lfc-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(1040px,calc(100vw - 32px));max-width:min(1040px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;border:1px solid #ded3c3;border-radius:7px 32px 7px 7px;background:#f5f1e9;color:#40372e;box-shadow:0 18px 80px #201b1740}
.lfc-dialog[open]{display:flex;flex-direction:column}
.lfc-dialog:not([open]),.lfc-dialog [hidden]{display:none!important}
.lfc-dialog *{box-sizing:border-box}
.lfc-dialog::backdrop{background:#29221bb3;backdrop-filter:blur(3px)}
html.lfc-modal-open{overflow:hidden}
.lfc-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:16px 26px 12px;background:#f5f1e9}
.lfc-eyebrow{font-size:10px!important;font-weight:650;letter-spacing:.13em;text-transform:uppercase;color:#806c54;margin:0 0 3px!important;line-height:1.5}
.lfc-dialog-toolbar h2{font:400 29px/1.12 Georgia,serif;letter-spacing:-.025em;margin:0;color:#40372e}
.lfc-close{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid #c8bba9;border-radius:3px;background:#fbf9f5;color:#40372e;font:inherit;font-size:12px;line-height:1.2;cursor:pointer}
.lfc-close span{font-size:23px;line-height:1}
.lfc-colour-choice{display:flex;align-items:center;gap:12px;margin:0 26px;padding:10px 14px;background:#fffefa;border:1px solid #e4dacb;border-radius:4px;flex-shrink:0;min-width:0}
.lfc-selected-swatch{flex:0 0 40px;width:40px;height:40px;border:1px solid #ded3c3;border-radius:50%;overflow:hidden;background:#e4dacb}
.lfc-selected-swatch img{width:100%;height:100%;object-fit:cover;display:block}
.lfc-colour-choice>div:nth-child(2){min-width:0}
.lfc-colour-choice strong{display:block;font-size:15px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.lfc-colour-choice [data-lfc-colour-number]{display:block;font-size:11px;line-height:1.4;color:#736655;margin-top:2px}
.lfc-colour-change{margin-left:auto;font-size:12px;line-height:1.5;color:#65513d;text-underline-offset:3px;white-space:nowrap;padding:10px 0}
.lfc-progress{display:flex;gap:16px;padding:12px 26px 0;margin:0;flex-shrink:0;border-bottom:1px solid #ded3c3}
.lfc-progress button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:44px;padding:8px 2px 12px;border:0;border-bottom:3px solid transparent;background:none;color:#736655;font:inherit;font-size:13px;line-height:1.3;cursor:pointer}
.lfc-progress button>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;height:22px;border:1px solid #c8bba9;border-radius:50%;font-size:11px;font-weight:650}
.lfc-progress button[aria-current="step"]{color:#40372e;border-bottom-color:#806c54;font-weight:650}
.lfc-progress button[aria-current="step"]>span{background:#65513d;border-color:#65513d;color:#fffaf2}
.lfc-progress button:disabled{opacity:.45;cursor:not-allowed}
.lfc-dialog-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:18px;padding:18px 26px 22px}
.lfc-step{min-width:0}
.lfc-step-title{font:400 30px/1.15 Georgia,serif;letter-spacing:-.025em;margin:0 0 9px;color:#40372e}
.lfc-step-title:focus{outline:none}
.lfc-step-intro{font-size:14px;line-height:1.65;color:#736655;margin:0 0 20px;max-width:780px}
.lfc-availability{font-size:11px;line-height:1.5;color:#736655;margin:0 0 14px;padding:8px 10px;border-left:2px solid #b6a68f;background:#eee6da}
.lfc-dialog[data-lfc-availability="ready"] .lfc-availability{border-left-color:#a5ac91;background:none;padding:0 0 0 9px}
.lfc-retry{min-height:44px;font:inherit;font-size:13px;cursor:pointer;padding:10px 15px;margin:0 0 16px;color:#40372e;background:#fffefa;border:1px solid #806c54;border-radius:3px}
.lfc-applications,.lfc-finishes{min-width:0;border:0;padding:0;margin:0}
.lfc-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lfc-use-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lfc-use-buttons button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:65px;min-width:0;text-align:left;padding:12px 15px;border:1px solid #c8bba9;border-radius:4px;background:#fffefa;color:#40372e;font:inherit;line-height:1.4;cursor:pointer}
.lfc-use-buttons button span{font-size:13px;font-weight:650}
.lfc-use-buttons button small{font-size:11px;opacity:.8}
.lfc-use-buttons button:hover{background:#eee6da}
.lfc-use-buttons button[aria-pressed="true"]{background:#65513d;color:#fffaf2;border-color:#65513d}
.lfc-use-buttons button:disabled{opacity:.4;cursor:not-allowed}
.lfc-advice{font-size:12px;line-height:1.65;color:#736655;margin:14px 0 0;padding-left:12px;border-left:2px solid #ded3c3}
.lfc-finish-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lfc-finish-cards button{display:flex;flex-direction:column;align-items:flex-start;position:relative;min-width:0;min-height:125px;padding:16px 18px;text-align:left;border:1px solid #c8bba9;border-radius:5px;background:#fffefa;color:#40372e;font:inherit;line-height:1.4;cursor:pointer}
.lfc-finish-heading>strong{font:400 25px/1.15 Georgia,serif;margin:0 0 6px;letter-spacing:-.02em}
.lfc-finish-mark{font-size:10px;color:#806c54;margin-bottom:9px;font-weight:650}
.lfc-finish-fact{font-size:12px;color:#736655;margin-top:3px}
.lfc-finish-cards button:hover{background:#f7f2e8}
.lfc-finish-cards button[aria-pressed="true"]{border:2px solid #806c54;padding:15px 17px;background:#eee6da}
.lfc-finish-cards>p{font-size:14px;color:#736655}
.lfc-price-details,.lfc-notes,.lfc-calculation-details{font-size:12px;line-height:1.6;color:#736655}
.lfc-price-details{margin-top:20px;border-top:1px solid #ded3c3}
.lfc-price-details>summary,.lfc-notes>summary,.lfc-calculation-details>summary{cursor:pointer;min-height:42px;padding:11px 0;color:#65513d}
.lfc-price-details>summary>span{font-size:10px;margin-left:10px;color:#736655}
.lfc-price-details>div{max-width:520px;padding:8px 0 12px}
.lfc-dialog label:not(.lfc-reserve):not(.lfc-no-area){display:block;font-size:13px;font-weight:650;line-height:1.5;margin:0 0 8px}
.lfc-dialog select,.lfc-dialog input[type="text"]{display:block;width:100%;height:50px;min-height:50px;box-sizing:border-box;margin:0;border:1px solid #c8bba9;border-radius:3px;background:#fffefa;color:#40372e;font-family:inherit;font-size:16px;font-weight:400;line-height:24px;padding:12px 14px}
.lfc-dialog input:disabled,.lfc-dialog select:disabled{opacity:.55;cursor:not-allowed}
.lfc-unit{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:12px}
.lfc-unit strong{font:400 25px/1.2 Georgia,serif}
.lfc-unit small{font-size:11px;color:#736655}
.lfc-combination,.lfc-tin-coverage,.lfc-size-help{font-size:12px;line-height:1.6;margin:8px 0;color:#736655}
.lfc-price-link{font-size:12px;color:#65513d;text-underline-offset:4px}
.lfc-quantity-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:26px;align-items:start}
.lfc-quantity-grid>div{min-width:0}
.lfc-coats{padding:12px 14px;background:#e8dfd0;border-left:3px solid #8c785c;font-size:13px;line-height:1.6;margin:0 0 20px;color:#655847}
.lfc-coats strong{display:block;color:#40372e}
.lfc-coats.is-special{background:#f1dfc9;border-color:#9d7348}
.lfc-quantity-grid small{display:block;font-size:11px;line-height:1.65;color:#736655;margin:8px 0 0}
.lfc-reserve,.lfc-no-area{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin:15px 0;cursor:pointer}
.lfc-reserve input,.lfc-no-area input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#65513d}
.lfc-no-area{padding-top:14px;border-top:1px solid #ded3c3;margin-bottom:5px}
.lfc-no-area-help{font-size:11px;color:#736655;line-height:1.6;margin:0 0 0 27px}
.lfc-result{padding:20px 22px;background:#fffefa;border:1px solid #ded3c3;border-radius:5px;min-height:110px}
.lfc-result p{font-size:13px;line-height:1.6;color:#655847;margin:0 0 6px}
.lfc-result p:last-child{margin:0}
.lfc-result .lfc-result-choice{font-size:11px;color:#736655;margin-bottom:12px}
.lfc-result .lfc-litres{font:400 28px/1.2 Georgia,serif;color:#40372e;margin-bottom:8px;letter-spacing:-.02em}
.lfc-result .lfc-plan-label{font-size:13px;font-weight:650;color:#40372e;margin:16px 0 8px;padding-top:14px;border-top:1px solid #ded3c3}
.lfc-result .lfc-total{font-size:18px;font-weight:650;color:#40372e;margin-top:13px;padding-top:12px;border-top:1px solid #ded3c3}
.lfc-calculation{font-size:11px;line-height:1.7;margin:0 0 10px;color:#736655}
.lfc-notes{margin-top:20px;border-top:1px solid #ded3c3}
.lfc-note{font-size:11px;line-height:1.7;margin:0;color:#736655;max-width:900px}
.lfc-dialog-actions{flex-shrink:0;padding:14px 26px 16px;border-top:1px solid #c8bba9;background:#eee6da}
.lfc-action-row{display:flex;align-items:center;gap:14px;min-width:0}
.lfc-back{flex-shrink:0;min-height:46px;padding:10px 0;border:0;background:none;color:#65513d;font:inherit;font-size:13px;cursor:pointer}
.lfc-flow-hint{flex:1;font-size:12px;line-height:1.5;color:#655847;margin:0;min-width:0}
.lfc-next,.lfc-quote{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:50px;padding:13px 20px;min-width:0;border:1px solid #65513d;border-radius:3px;background:#65513d;color:#fffaf2!important;font:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer}
.lfc-next{margin-left:auto}
.lfc-next:disabled{opacity:.45;cursor:not-allowed}
.lfc-next:hover:not(:disabled),.lfc-quote:hover{background:#40372e;border-color:#40372e}
.lfc-mobile-recap,.lfc-mobile-price{display:none}
.lfc-dialog[data-lfc-stage="3"] .lfc-mobile-recap{display:grid;gap:2px;min-width:0;margin:0 0 12px;font-size:11px;line-height:1.4;color:#736655}
.lfc-mobile-recap>strong,.lfc-mobile-recap>[data-lfc-mobile-finish]{display:none}
.lfc-mobile-recap .lfc-recap-label{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.07em}
.lfc-mobile-recap .lfc-recap-plan{font-size:14px;font-weight:650;color:#40372e}
.lfc-mobile-recap>span:empty{display:none}
.lfc-dialog[data-lfc-stage="3"] .lfc-mobile-price{display:grid;gap:3px;margin-left:auto;min-width:0}
.lfc-mobile-price strong{font:400 28px/1.1 Georgia,serif;font-variant-numeric:tabular-nums}
.lfc-mobile-price small{font-size:10px;line-height:1.3;color:#736655}
.lfc-mobile-price:not(:has(strong:not(:empty))){display:none!important}
.lfc-quote-help{font-size:10px;color:#736655;margin:8px 0 0;text-align:right;line-height:1.5}
.lfc-dialog button:focus-visible,.lfc-dialog a:focus-visible,.lfc-dialog input:focus-visible,.lfc-dialog select:focus-visible,.lfc-dialog summary:focus-visible{outline:2px solid #806c54;outline-offset:3px}
@media(max-width:760px),(max-width:960px) and (max-height:500px){
 .lfc-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(var(--lfc-visible-height,100dvh) - 16px);max-height:calc(var(--lfc-visible-height,100dvh) - 16px);top:var(--lfc-visible-top,0px);bottom:auto;margin:8px auto;border-radius:6px 24px 6px 6px}
 .lfc-dialog-toolbar{padding:12px 16px 10px;gap:12px}.lfc-dialog-toolbar h2{font-size:24px}.lfc-dialog-toolbar .lfc-eyebrow{font-size:9px!important}
 .lfc-close{padding:8px 10px;font-size:11px}
 .lfc-colour-choice{margin-inline:16px;padding:7px 10px;gap:10px}.lfc-selected-swatch{flex-basis:34px;width:34px;height:34px}.lfc-colour-choice strong{font-size:14px}.lfc-colour-change{font-size:11px;min-height:40px;padding-block:10px}
 .lfc-progress{gap:5px;padding:7px 14px 0}.lfc-progress button{font-size:11px;gap:5px;padding-bottom:9px;min-height:42px}.lfc-progress button>span{flex-basis:20px;height:20px;font-size:10px}
 .lfc-dialog-body{padding:14px 16px 18px;overflow-x:hidden;overflow-wrap:anywhere}.lfc-step-title{font-size:26px}.lfc-step-intro{font-size:13px;margin-bottom:16px}
 .lfc-availability{font-size:10px;line-height:1.5;margin-bottom:13px}
 .lfc-use-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lfc-use-buttons button{padding:10px 11px;min-height:62px}.lfc-use-buttons button span{font-size:12px}
 .lfc-finish-cards{grid-template-columns:1fr;gap:9px}.lfc-finish-cards button{min-height:105px;padding:14px 16px}.lfc-finish-cards button[aria-pressed="true"]{padding:13px 15px}.lfc-finish-heading>strong{font-size:23px}.lfc-finish-fact{font-size:11px}
 .lfc-quantity-grid{grid-template-columns:minmax(0,1fr);gap:20px}.lfc-result{padding:17px 18px}.lfc-result .lfc-litres{font-size:26px}
 .lfc-dialog-actions{padding:10px 16px max(12px,env(safe-area-inset-bottom))}.lfc-action-row{gap:10px}.lfc-back{font-size:12px}.lfc-flow-hint{font-size:10px}
 .lfc-next,.lfc-quote{padding:12px 14px;gap:10px;font-size:12px;line-height:1.35}.lfc-next{max-width:230px}
 .lfc-dialog[data-lfc-stage="3"] .lfc-mobile-recap{margin-bottom:9px}.lfc-mobile-recap .lfc-recap-plan{font-size:13px}.lfc-mobile-price strong{font-size:25px}.lfc-mobile-price small{font-size:9px}
 .lfc-dialog[data-lfc-stage="3"] .lfc-quote{flex:1;max-width:220px;min-height:50px}.lfc-dialog[data-lfc-stage="3"] .lfc-quote-help{display:none}
 .lfc-dialog[data-lfc-stage="3"] .lfc-back{font-size:11px}
}
@media(min-width:600px) and (max-width:960px) and (max-height:500px){
 .lfc-dialog-toolbar{padding-block:8px}.lfc-colour-choice{padding-block:3px}.lfc-progress{padding-top:4px}.lfc-dialog[data-lfc-stage="3"] .lfc-dialog-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;align-items:center}.lfc-dialog[data-lfc-stage="3"] .lfc-mobile-recap{margin:0}.lfc-finish-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lfc-use-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.lfc-dialog *{scroll-behavior:auto;transition:none}}
/* Preserve the native colour-card controls on the library page. */
.lc-colours .lc-colour-card.has-colour-choice{position:relative;padding-bottom:40px;border-radius:4px;outline:1px solid transparent;outline-offset:8px}
.lc-colours .lc-colour-card.has-colour-choice:hover{outline-color:#c8bba9}
.lc-colours .lc-colour-card.is-selected{outline:2px solid #806c54}
.lc-colours .lc-colour-card .lfc-colour-button{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:0 0 8px;width:100%;border:0;background:transparent;color:#65513d;border-radius:4px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;text-align:left}
.lc-colours .lc-colour-card .lfc-colour-button:focus-visible{outline:3px solid #806c54;outline-offset:8px}

/* Keep the comparison compact; fuller product facts are optional. */
.lfc-finish-cards button{min-height:118px;padding-block:14px}
.lfc-finish-cards button[aria-pressed="true"]{padding-block:13px}
.lfc-finish-fact{font-size:11.5px;line-height:1.5}
.lfc-finish-info{font-size:12px;line-height:1.65;color:#736655;margin-top:12px}
.lfc-finish-info>summary{cursor:pointer;min-height:40px;padding-block:10px;color:#65513d}
.lfc-finish-info ul{margin:0 0 12px;padding-left:20px}
.lfc-finish-info li+li{margin-top:5px}
@media(min-width:761px) and (min-height:501px){
 .lfc-dialog[data-lfc-stage="3"] .lfc-dialog-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:22px;align-items:center}
 .lfc-dialog[data-lfc-stage="3"] .lfc-mobile-recap{margin:0}
 .lfc-dialog[data-lfc-stage="3"] .lfc-action-row{gap:18px}
 .lfc-dialog[data-lfc-stage="3"] .lfc-quote-help{grid-column:1/-1}
}

/* Every finish uses the same three comparison rows; long surface names wrap. */
.lfc-compare-help{font-size:12px;line-height:1.6;color:#736655;margin:0 0 16px}
.lfc-finish-properties{display:flex;flex-direction:column;align-self:stretch;width:100%;margin-top:2px}
.lfc-finish-property{display:grid;grid-template-columns:99px minmax(0,1fr);gap:10px;align-items:start;padding:7px 0;border-top:1px solid #ded5c7;font-size:12px;line-height:1.5}
.lfc-finish-label{font-weight:600;color:#65513d}
.lfc-finish-value{min-width:0;color:#40372e;overflow-wrap:break-word}
.lfc-finish-cards button{justify-content:flex-start}
.lfc-finish-property:last-child{padding-bottom:0}
@media(max-width:760px),(max-width:960px) and (max-height:500px){
 .lfc-finish-property{grid-template-columns:92px minmax(0,1fr);gap:8px;font-size:12px;padding-block:7px}
 .lfc-compare-help{font-size:12px;margin-bottom:12px}
}

/* Room guidance stays visible before choosing a finish. */
.lfc-room-advice{display:flex;flex-direction:column;align-self:stretch;gap:3px;padding:10px 12px;margin:1px 0 10px;border-left:3px solid #9a8568;border-radius:0 3px 3px 0;background:#f0eade;color:#4e4233;text-align:left;line-height:1.5}
.lfc-room-eyebrow{font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#78654e}
.lfc-room-label{font-size:13px;font-weight:650}
.lfc-room-detail{font-size:12px}
.lfc-finish-cards button[aria-pressed="true"] .lfc-room-advice{background:#e2d8c8}
@media(max-width:760px),(max-width:960px) and (max-height:500px){
 .lfc-room-advice{padding:9px 10px;margin-bottom:8px}
}

/* Room choice changes the reading order, while the selected paint stays unchanged. */
.lfc-room-picker{min-width:0;padding:0;margin:0 0 18px;border:0}
.lfc-room-picker legend{float:none;width:100%;padding:0;margin:0 0 9px;font-size:13px;font-weight:650;line-height:1.5;color:#40372e}
.lfc-room-picker legend>span{margin-left:8px;font-size:10px;font-weight:400;color:#736655}
.lfc-room-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.lfc-room-buttons button{min-width:0;min-height:44px;padding:9px 12px;border:1px solid #c8bba9;border-radius:4px;background:#fffefa;color:#40372e;font:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer}
.lfc-room-buttons button:last-child{grid-column:span 2}
.lfc-room-buttons button:hover{background:#eee6da}
.lfc-room-buttons button[aria-pressed="true"]{background:#65513d;border-color:#65513d;color:#fffaf2}
.lfc-room-buttons button:focus-visible{outline:2px solid #65513d;outline-offset:3px}
.lfc-room-status{font-size:12px;line-height:1.55;color:#736655;margin:10px 0 0}
.lfc-recommended-badge{font-size:10px;line-height:1.5;font-weight:650;background:#e3e8db;color:#46563b;border-radius:3px;padding:3px 8px;margin:0 0 8px}
@media(max-width:760px),(max-width:960px) and (max-height:500px){
 .lfc-room-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .lfc-room-buttons button{font-size:12px;min-height:44px}
 .lfc-room-status{font-size:11.5px}
}
@media(min-width:601px) and (max-width:960px) and (max-height:500px){
 .lfc-room-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Advice sits beside the name, leaving every card on the same starting line. */
.lfc-finish-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;align-self:stretch;width:100%;min-height:29px;margin-bottom:6px}
.lfc-finish-heading>strong{min-width:0;margin:0;overflow-wrap:break-word}
.lfc-finish-heading .lfc-recommended-badge{flex:0 0 auto;max-width:95px;margin:3px 0 0;text-align:center}
.lfc-finish-cards button .lfc-room-advice{flex:1 0 auto}
.lfc-finish-property:last-child{min-height:44px}
@media(max-width:760px),(max-width:960px) and (max-height:500px){
 .lfc-finish-heading{gap:9px;min-height:27px}
 .lfc-finish-heading .lfc-recommended-badge{font-size:9px;padding:3px 7px;max-width:80px;margin-top:2px}
}
