/* THESPACE 5.8: accessible collapsible project panels and architect portrait */
.ts58-order-group{margin:22px 0 12px}.ts58-order-heading{padding:5px 4px 12px}.ts58-order-heading small{font-size:10px;letter-spacing:.2em;color:#9a8060;font-weight:700}.ts58-order-heading h2{font-size:27px!important;margin:7px 0!important}.ts58-order-heading p{font-size:13px;color:#777;margin:0 0 8px}
.ts58-accordion{display:block;border:1px solid #e9e4dd;border-radius:16px;background:#fff;margin:12px 0;overflow:hidden;box-shadow:0 8px 22px #2920180b}
.ts58-accordion>summary{display:flex;align-items:center;gap:16px;padding:16px 22px;cursor:pointer;list-style:none;min-height:74px;color:#222}
.ts58-accordion>summary::-webkit-details-marker{display:none}.ts58-accordion>summary:focus-visible{outline:2px solid #9b8060;outline-offset:-3px}.ts58-accordion>summary>span:nth-child(2){flex:1;min-width:0}.ts58-accordion>summary strong{display:block;font-size:19px;line-height:1.35}.ts58-accordion>summary small{display:block;font-size:12px;color:#777;margin-top:3px}.ts58-icon{width:49px;height:49px;border-radius:12px;background:#f3eee7;display:flex;align-items:center;justify-content:center;color:#796247;font-weight:700;flex:none}.ts58-chevron{width:28px;height:28px;border-radius:9px;background:#f4f0eb;position:relative;flex:none}.ts58-chevron:after{content:'';position:absolute;width:8px;height:8px;border-right:2px solid #392f26;border-bottom:2px solid #392f26;transform:rotate(45deg);top:8px;left:9px}.ts58-accordion[open] .ts58-chevron:after{transform:rotate(225deg);top:12px}.ts58-accordion-body{padding:0 22px 22px;border-top:1px solid #f0ece7}.ts58-panel .ts40-dashboard{margin:0!important;padding:18px 0 0!important;border:0!important;box-shadow:none!important}.ts58-panel .ts40-dashboard-head{display:none}.ts58-panel .ts40-module{min-height:95px;padding:15px;display:grid;grid-template-columns:54px 1fr 20px;grid-template-rows:auto auto;gap:0 12px;align-items:center}.ts58-panel .ts40-module-icon{grid-row:1/3;margin:0}.ts58-panel .ts40-module strong{grid-column:2;grid-row:1}.ts58-panel .ts40-module small{grid-column:2;grid-row:2;margin:0}.ts58-panel .ts40-module-footer{grid-column:3;grid-row:1/3;font-size:0;padding:0}.ts58-panel .ts40-module-footer>span{font-size:24px}.ts58-order-group .ts57-order-types{margin:18px 0 0}.ts58-order-group .ts57-order-docs{margin:18px 0 0}
#ts52-architekt .ts58-photo-frame{display:block;flex:0 0 112px;width:112px;height:128px;border-radius:13px;overflow:hidden;background:#f1eee9}#ts52-architekt .ts58-portrait{width:100%;height:100%;object-fit:cover;display:block}#ts52-architekt .ts52-avatar{flex:none}
@media(max-width:700px){.ts58-accordion>summary{padding:13px 15px;gap:11px}.ts58-accordion-body{padding:0 15px 17px}.ts58-accordion>summary strong{font-size:16px}.ts58-panel .ts40-module-grid{grid-template-columns:1fr}#ts52-architekt .ts58-photo-frame{flex-basis:84px;width:84px;height:102px}}

/* 5.8.1: jednolity sterownik zwijania we wszystkich kartach projektu */
.ts461-unified .ts46-head{grid-template-columns:40px minmax(0,1fr) 32px!important;min-height:74px!important;height:auto!important;padding:12px 0!important;gap:16px!important}
.ts461-unified .ts46-toggle{position:relative!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#f4f0eb!important;box-shadow:none!important;justify-self:end!important;line-height:1!important}
.ts461-unified .ts46-toggle:hover{background:#eae2d7!important;box-shadow:none!important}
.ts461-unified .ts46-toggle-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ts461-unified .ts46-toggle .ts46-chevron{display:none!important}
.ts461-unified .ts46-toggle:after{content:'';display:block;position:absolute;width:8px;height:8px;border-right:2px solid #392f26;border-bottom:2px solid #392f26;transform:rotate(225deg);top:11px;left:9px;transition:transform .18s ease,top .18s ease}
.ts461-unified.ts46-collapsed .ts46-toggle:after{transform:rotate(45deg);top:7px}
.ts461-unified .ts46-emblem{background:#f3eee7!important;color:#796247!important}
.ts461-unified .ts46-headings h2{font-size:19px!important;line-height:1.35!important}
.ts461-unified .ts46-headings p{font-size:12px!important}
@media(max-width:640px){
 .ts461-unified .ts46-head{grid-template-columns:34px minmax(0,1fr) 28px!important;min-height:68px!important;height:auto!important;gap:10px!important}
 .ts461-unified .ts46-toggle{width:28px!important;min-width:28px!important;min-height:28px!important;height:28px!important;padding:0!important}
 .ts461-unified .ts46-headings h2{font-size:16px!important}
}

/* 5.16.1 — wspólna typografia nagłówków wszystkich rozwijanych modułów. */
.ts58-accordion>summary strong,.ts461-unified .ts46-headings h2{font-size:16px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important;margin:0!important}
.ts58-accordion>summary small,.ts461-unified .ts46-headings p{font-size:11px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important}
.ts58-accordion>summary .ts514-count{font-size:11px!important;font-weight:600!important}
@media(max-width:700px){.ts58-accordion>summary strong,.ts461-unified .ts46-headings h2{font-size:16px!important}}
