/* Composer layout refinements; colours follow the shared site palette. */
/* Hover highlights the entire extra card, not only its label. */
.composer-page #extras .extra-row{transition:background-color .2s,border-color .2s}
@media(hover:hover){.composer-page #extras .extra-row:hover{background:#e2e7ee;border-color:var(--accent)}.composer-page #extras .extra-row .extra:hover{background:transparent}}
.composer-page #extras .extra-row:focus-within{border-color:var(--accent)}

/* Stack the request buttons while sharing the offer price and divider rows. */
.composer-page .custom-project-actions{grid-template-columns:1fr;gap:10px}

.composer-page .custom-request-middle{align-self:stretch;display:flex;align-items:center;padding:16px 0}
.composer-page .custom-request-footer{font-size:19px;line-height:1.4;min-height:94px}
@media(min-width:1001px){.composer-page .bases .base-card>.card-bottom{min-height:94px}.composer-page .custom-request-footer{grid-row:5}}

.composer-page .custom-request-body{display:flex;flex-direction:column;align-self:stretch}.composer-page .custom-request-middle{flex:1;padding:24px 0 0}

.composer-page .custom-request-footer{display:flex;align-items:flex-start;justify-content:center}
.composer-page .custom-request-footer .base-action-button{width:100%;min-height:43px;box-sizing:border-box}
/* Match the basket action to the other primary buttons. */
.composer-page .summary [data-continue]{font-size:14px;font-weight:700;line-height:1.4;justify-content:center;text-align:center}
/* Keep offer titles close to the page-count highlight. */
@media(min-width:1001px){.composer-page .bases .base-card[data-base]>h3{align-self:end}.composer-page .config-grid .bases{row-gap:12px}}
@media(max-width:1000px){.composer-page .bases .base-card[data-base]>h3{margin-bottom:12px;min-height:0}.composer-page .base-features{margin-top:0}}
/* Compact independent headings; shared card height keeps prices/actions aligned. */
.composer-page .config-grid .bases{align-content:start;align-items:stretch}
.composer-page .bases .base-card{display:grid;grid-row:auto;grid-template-rows:auto auto 1fr auto auto;row-gap:14px;padding:24px;min-height:0;align-content:start}
.composer-page .bases .base-card>.number{margin:0;align-self:start}
.composer-page .bases .base-card>h3,.composer-page .bases .base-card[data-base]>h3{margin:0;min-height:0;align-self:start}
.composer-page .bases .base-card>.base-features{margin:0;align-self:start}
.composer-page .bases .base-card>.base-price{margin:8px 0 0;align-self:end}
.composer-page .bases .base-card>.card-bottom,.composer-page .custom-request-footer{grid-row:auto;margin:0;min-height:0;padding-top:16px;align-self:end}
.composer-page .bases .base-card>.base-price{min-height:46px}
.composer-page .bases .base-card>.card-bottom{min-height:61px}
/* Discreet feature bullets aligned with the first text line. */
.composer-page .feature-check{position:relative;flex:0 0 6px;width:6px;height:6px;margin-top:6px;border:0;border-radius:50%;background:var(--accent);font-size:0;color:transparent}
.composer-page .feature-check::after{content:none}
.composer-page .base-feature{gap:12px}

.composer-page .extra-floating-info{background:var(--white);border-color:var(--line);color:var(--ink);box-shadow:0 4px 16px #0d13211a}
.composer-page .extra-floating-info p{color:var(--muted)}
.composer-page .extra-floating-price{border-color:var(--line)}
/* Keep the custom request card sized to its own content. */
.composer-page .bases .base-card.custom-base{align-self:start;height:auto;grid-template-rows:repeat(5,auto);row-gap:14px}
.composer-page .custom-base .custom-request-body p{margin:0}
.composer-page .bases .custom-base>.base-price{margin:14px 0 0;min-height:0}
.composer-page .bases .custom-base>.card-bottom{min-height:0}
