/* Shared catalogue. Canonical typography; accepted compact phone list. */
body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page){max-width:1280px!important;width:100%;margin:0 auto!important;padding:24px 32px 56px!important;box-sizing:border-box}
body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page) :is(.teenus24-public-page-card,.teenus24-public-page-card-inner){padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;max-width:none!important}
body.tp24-selge .tp24-selge-browse-back{display:inline-flex;align-items:center;min-height:44px;margin:0;color:var(--selge-muted)}
body.tp24-selge :is(.teenus24-public-content-stack,.teenus24-list):has(> .tp24-catalogue-service--card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
body.tp24-selge :is(.teenus24-public-content-stack,.teenus24-list):has(> .tp24-catalogue-service--list){display:block!important;border-top:0}
body.tp24-selge .tp24-catalogue-service{box-sizing:border-box;min-width:0;background:#fff;border:1px solid var(--selge-line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;margin:0;color:var(--selge-ink)}
body.tp24-selge .tp24-catalogue-photo{height:184px;position:relative;display:grid;place-items:center;overflow:hidden;flex:none;background:#f0f3f5;text-decoration:none}
/* A replaced image must not size an implicit grid track from its intrinsic ratio.
 * Pin its element box to the existing well; contain fits the entire original inside it. */
body.tp24-selge .tp24-catalogue-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain!important;object-position:center;display:block}
body.tp24-selge .tp24-catalogue-content{padding:16px 16px 0;min-width:0}
body.tp24-selge .tp24-catalogue-identity{display:block;min-height:0;color:inherit;text-decoration:none}
body.tp24-selge .tp24-catalogue-title{font:700 var(--selge-service-title)/1.4 var(--selge-font)!important;letter-spacing:-.01em;margin:0 0 6px!important;overflow-wrap:anywhere;color:var(--selge-ink)}
body.tp24-selge .tp24-catalogue-provider{font:500 var(--selge-provider)/1.5 var(--selge-font)!important;margin:0!important;overflow-wrap:anywhere;color:var(--selge-ink)}
body.tp24-selge .tp24-catalogue-meta{font:400 var(--selge-metadata)/1.5 var(--selge-font)!important;margin:6px 0 0!important;color:var(--selge-muted)}
body.tp24-selge .tp24-catalogue-status{font:400 var(--selge-status)/1.5 var(--selge-font)!important;margin:10px 0 0!important;color:var(--selge-muted)}
body.tp24-selge .tp24-catalogue-description{font:400 var(--selge-description)/1.5 var(--selge-font)!important;margin:8px 0 0!important;color:var(--selge-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.tp24-selge .tp24-catalogue-foot{margin-top:auto;padding:8px 16px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.tp24-selge .tp24-catalogue-logo{width:56px;height:44px;object-fit:contain;flex:none}
body.tp24-selge .tp24-catalogue-contact{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-height:44px}
body.tp24-selge .tp24-catalogue-select{width:44px!important;height:44px!important;min-width:44px;display:inline-flex!important;align-items:center;justify-content:center;position:relative;margin:0!important;flex:none}
body.tp24-selge .tp24-catalogue-select .teenus24-request-select__input{position:absolute;inset:0;width:44px;height:44px;margin:0;opacity:0;cursor:pointer;z-index:1}
body.tp24-selge .tp24-catalogue-select:focus-within{outline:2px solid #527fa0;outline-offset:3px;border-radius:8px}
body.tp24-selge .tp24-catalogue-service--list{display:grid;grid-template-columns:144px minmax(0,1fr) 180px;gap:20px;align-items:center;padding:12px 16px;border:0;border-bottom:1px solid var(--selge-line);border-radius:0}
body.tp24-selge .tp24-catalogue-service--list:hover{background:#fbfcfd}
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-photo{width:144px;height:80px;border-radius:9px}
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-content{padding:0}
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-identity{min-height:44px}
body.tp24-selge .tp24-catalogue-service--list :is(.tp24-catalogue-meta,.tp24-catalogue-status){margin-top:4px!important}
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-foot{margin:0;padding:0;justify-content:flex-end;flex-wrap:nowrap}
body.tp24-selge .tp24-catalogue-identity:hover .tp24-catalogue-title{text-decoration:underline;text-underline-offset:3px}
body.tp24-selge :is(.tp24-catalogue-identity,.tp24-catalogue-photo):focus-visible{outline:2px solid #527fa0;outline-offset:-3px;border-radius:6px}
body.tp24-selge .teenus24-search-pill:focus-within{outline:2px solid #527fa0;outline-offset:3px}
body.tp24-selge .teenus24-search-pill-input:focus-visible{outline:2px solid #527fa0!important;outline-offset:2px}
/* Exact owner-selected Selge signatuur; original brand letterforms, no provider duplication. */
body.tp24-selge .tp24-selge-signature{background:radial-gradient(ellipse at 20% 10%,#f4f7f9 0%,#e1eaf0 65%,#d7e3eb 100%);color:#7d9aaf}
body.tp24-selge .tp24-selge-signature:after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,transparent 45%,#ffffff44 46%,transparent 78%);pointer-events:none}
body.tp24-selge .tp24-selge-signature__mark{font:800 2.625rem/1 Manrope,Arial,sans-serif;letter-spacing:-.02em;filter:drop-shadow(0 1px 0 #ffffffaa);display:inline-flex;align-items:center}
body.tp24-selge .tp24-selge-signature__mark .teenus24-brand-pill-arrow{width:.55em;height:.1em;margin:0 .2em;transform:translateY(.05em)}
body.tp24-selge .tp24-selge-signature__mark .teenus24-brand-pill-arrow:after{right:-.05em;width:.25em;height:.25em;border-width:.1em;border-radius:.05em}
body.tp24-selge .tp24-catalogue-service--list .tp24-selge-signature__mark{font-size:.875rem}
@media(max-width:1100px){body.tp24-selge :is(.teenus24-public-content-stack,.teenus24-list):has(> .tp24-catalogue-service--card){grid-template-columns:repeat(2,minmax(0,1fr))!important}body.tp24-selge .tp24-catalogue-service--list{gap:16px}}
@media(max-width:700px){body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page){padding-left:20px!important;padding-right:20px!important}body.tp24-selge :is(.teenus24-public-content-stack,.teenus24-list):has(> .tp24-catalogue-service--card){grid-template-columns:1fr!important}body.tp24-selge .tp24-catalogue-service--list{grid-template-columns:80px minmax(0,1fr);align-items:start}body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-foot{grid-column:2;justify-content:flex-start;flex-wrap:wrap}body.tp24-selge .tp24-catalogue-identity{min-height:44px}}
body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page) :is(.teenus24-search-results-shell,.teenus24-search-results-inner){width:100%;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page) .teenus24-search-results-shell:before{display:none}
body.tp24-selge .teenus24-public-pagination__link{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
body.tp24-selge .teenus24-public-results-size{display:block!important}
body.tp24-selge .teenus24-search-results-pill:focus-within{outline:2px solid #527fa0;outline-offset:3px}
body.tp24-selge .teenus24-public-view-context{margin:8px 0 24px!important;padding:0!important}
body.tp24-selge .teenus24-public-view-context__title{margin:0 0 12px!important}

body.tp24-selge .tp24-catalogue-photo .tp24-catalogue-external-photo{position:absolute;inset:0;z-index:1}

/* These variables mirror the canonical Selge role sizes on phone catalogue only. */
body.tp24-selge .tp24-catalogue-service{--selge-service-title:1.125rem;--selge-provider:1rem;--selge-description:1rem;--selge-metadata:.875rem;--selge-status:.875rem;--selge-contact:1rem}
body.tp24-selge .tp24-catalogue-photo-status{position:absolute;z-index:2;left:6px;top:6px;max-width:calc(100% - 12px);box-sizing:border-box;padding:2px 5px;border-radius:4px;background:#fffffff2;color:var(--selge-ink);font:500 .875rem/1.2 var(--selge-font);box-shadow:0 1px 3px #263a4914;pointer-events:none}
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:2px!important}
body.tp24-selge .tp24-catalogue-contact{font:600 1rem/1.5 var(--selge-font)!important;color:var(--selge-muted);text-decoration:none}
body.tp24-selge .tp24-category-picker summary .tp24-category-count{display:none}
body.tp24-selge .teenus24-public-results-size label{display:flex;align-items:center;gap:8px;font-size:.875rem}
body.tp24-selge .teenus24-public-list-count{font:400 .875rem/1.5 var(--selge-font)}
body.tp24-selge .tp24-category-picker summary{min-height:44px;box-sizing:border-box}
/* One compact control row; shared action stylesheet owns desktop button appearance. */
body.tp24-selge .teenus24-public-list-toolbar{display:flex!important;align-items:center!important;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0!important;padding:0 0 16px!important;border-bottom:1px solid var(--selge-line)}
body.tp24-selge .teenus24-public-list-toolbar-back{display:flex!important;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}
body.tp24-selge .teenus24-public-toolbar-actions{display:flex!important;align-items:center;gap:16px}
body.tp24-selge .teenus24-public-view-switch{order:-1}
body.tp24-selge .tp24-category-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
body.tp24-selge .tp24-category-filter{margin:0!important}
body.tp24-selge .tp24-category-picker summary{padding:9px 12px!important;font-size:1rem!important;line-height:1.5!important;min-height:44px;border-radius:8px}
body.tp24-selge .teenus24-public-results-size{margin:0!important}
body.tp24-selge .teenus24-public-results-size label{margin:0!important}
body.tp24-selge .teenus24-public-results-size select{min-width:84px;min-height:44px;height:44px!important;box-sizing:border-box;padding:7px 10px!important;font:600 1rem/1.5 var(--selge-font)!important;border-radius:8px}
body.tp24-selge .teenus24-public-list-count{white-space:nowrap}
@media(max-width:700px){
 body.tp24-selge :is(.teenus24-sirvi-page,.teenus24-search-results-page){padding:16px 12px 32px!important}
 body.tp24-selge .teenus24-public-list-toolbar{gap:10px!important}
 body.tp24-selge .teenus24-public-list-toolbar-back{width:100%;justify-content:space-between;gap:8px}
 body.tp24-selge .tp24-category-filter{min-width:0;flex:1}
 body.tp24-selge .tp24-category-picker summary{width:100%;font-size:1rem}
 body.tp24-selge .tp24-category-label{font-size:.875rem}
 body.tp24-selge .teenus24-public-toolbar-actions{width:100%;justify-content:space-between;gap:8px}
 body.tp24-selge .tp24-catalogue-service--list{grid-template-columns:80px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:0;align-items:center;padding:4px 0;min-height:92px}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-photo{grid-row:1/3;width:80px;height:64px;border-radius:6px}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-photo-status{font-size:.875rem;line-height:1.15;left:3px;top:3px;padding:2px 3px;max-width:74px}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-content{align-self:end}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-identity{min-height:0}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-title{font-size:1.125rem!important;line-height:1.12!important;margin:0!important}
 body.tp24-selge .tp24-catalogue-service--list :is(.tp24-catalogue-provider,.tp24-catalogue-meta){display:none}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-foot{grid-column:2;grid-row:2;align-self:start;justify-content:space-between;flex-wrap:nowrap;gap:0}
 body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-contact{min-height:44px;padding:0!important;gap:6px}
 body.tp24-selge .tp24-catalogue-select{flex-shrink:0}
}

/* Keep the status away from portrait faces in the small list well. */
body.tp24-selge .tp24-catalogue-service--list .tp24-catalogue-photo-status{top:auto;bottom:3px}

@media(max-width:360px){body.tp24-selge .teenus24-public-results-size label{flex-direction:column;gap:0;line-height:1.2}}
