/** PCS & KEYS reusable Community form primitives. */
.pk-create-post{display:grid;gap:0;max-width:760px;padding:var(--pk-space-16)}
.pk-create-post>.pk-create-post__field,.pk-create-post>.pk-create-post__body-field{margin-top:var(--pk-space-16)}
.pk-create-post__field,.pk-create-post__body-field{display:flex;flex-direction:column;gap:var(--pk-space-8);min-width:0}
.pk-create-post .pk-heading{margin:0;color:var(--pk-color-text);font-family:var(--pk-font-family-ui);font-size:16px;font-weight:var(--pk-font-weight-button);line-height:1.3}
.pk-create-post .pk-label{margin:0;color:var(--pk-color-text);font-family:var(--pk-font-family-ui);font-size:12px;font-weight:var(--pk-font-weight-control);line-height:16px}
.pk-create-post .pk-control,.pk-select__trigger{height:var(--pk-button-height);min-height:var(--pk-button-height);background:var(--pk-color-canvas);border:var(--pk-border-standard);border-radius:var(--pk-radius-input);color:var(--pk-color-text);font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control);line-height:var(--pk-line-height-control)}
.pk-create-post .pk-control{padding:0 var(--pk-space-10);outline:0}
.pk-create-post .pk-control:focus,.pk-select__trigger:focus-visible,.pk-select__options:focus-visible{border-color:var(--pk-color-border);outline:0;box-shadow:none}
.pk-create-post__control-wrap,.pk-create-post__body-wrap{position:relative;min-width:0}
.pk-create-post__control-wrap .pk-control{width:100%}
.pk-select{position:relative;min-width:0}
.pk-select__trigger{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 var(--pk-space-10);cursor:pointer;text-align:left;font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control);line-height:var(--pk-line-height-control);outline:0;box-shadow:none}
.pk-select__trigger [data-pk-select-label]{display:block;flex:1;min-width:0;margin-right:var(--pk-space-8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pk-select__summary-name{color:var(--pk-color-action)}
.pk-select__summary-separator{color:var(--pk-color-text)}
.pk-select__trigger[aria-expanded="true"]{border-color:var(--pk-color-border);border-radius:var(--pk-radius-input) var(--pk-radius-input) 0 0}
.pk-select[data-pk-selected="true"] [data-pk-select-label]{color:var(--pk-color-action)}
.pk-create-post .pk-select__chevron{display:block;flex:0 0 10px;width:10px;height:10px;object-fit:contain;transform:rotate(45deg);transition:transform .25s cubic-bezier(.4,0,.2,1)}
.pk-create-post .pk-select__trigger[aria-expanded="true"] .pk-select__chevron{transform:rotate(225deg)}
.pk-select__options{position:absolute;z-index:2;top:100%;right:0;left:0;max-height:none;margin:0;padding:var(--pk-space-4) 0;overflow:visible;border:var(--pk-border-standard);border-top:0;border-radius:0 0 var(--pk-radius-input) var(--pk-radius-input);background:var(--pk-color-canvas);list-style:none;box-shadow:none}
.pk-select__options[hidden]{display:none}
.pk-select__options li{display:flex;align-items:center;justify-content:space-between;height:28px;min-height:28px;padding:0 var(--pk-space-10);color:var(--pk-color-text);font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control);line-height:var(--pk-line-height-control);cursor:pointer;outline:0}
.pk-select__options::before{content:none}
.pk-select__options li,.pk-select__options li[data-pk-select-active="true"]{position:relative;z-index:1;transition:background-color 220ms ease,color 220ms ease}
.pk-select__options li{background:transparent}
.pk-application-host .pk-community__composer.pk-create-post .pk-select__options li:hover,.pk-application-host .pk-community__composer.pk-create-post .pk-select__options li[data-pk-select-active="true"]{background-color:#6BC8CC;color:#121212}
.pk-select[data-pk-select-multiple] .pk-select__options li,.pk-select[data-pk-select-multiple] .pk-select__options li[aria-selected="true"]{color:var(--pk-color-text)}
.pk-create-post .pk-select[data-pk-select-multiple] .pk-select__options li[data-pk-select-active="true"]{background-color:#6BC8CC;color:#121212}
.pk-select__checkbox{position:relative;box-sizing:border-box;flex:0 0 14px;width:14px;height:14px;border:1px solid rgba(175,178,177,.3);border-radius:3px;background:var(--pk-color-canvas);box-shadow:none}
.pk-select__checkbox-fill{position:absolute;inset:0;display:none;align-items:center;justify-content:center;border-radius:2px;background:var(--pk-color-action)}
.pk-select__options li[aria-selected="true"] .pk-select__checkbox-fill{display:flex}
.pk-select__checkbox svg{display:block;width:100%;height:100%;overflow:visible;transform:translateY(-.15px)}
.pk-select__checkbox path{fill:none;stroke:var(--pk-color-canvas);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.pk-body-composer{position:relative;display:flex;flex-direction:column;overflow:hidden;border:var(--pk-border-standard);border-radius:var(--pk-radius-input);background:var(--pk-color-canvas);box-shadow:none}
.pk-body-composer:focus-within{border-color:var(--pk-color-border);outline:0;box-shadow:none}
.pk-body-composer textarea.pk-control{display:block;width:100%;height:auto;min-height:72px;padding:var(--pk-space-10);border:0;border-radius:3px 3px 0 0;resize:none;overflow:hidden}
.pk-body-composer textarea.pk-control::placeholder{font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control);line-height:var(--pk-line-height-control)}
.pk-body-composer__publish{box-sizing:border-box;display:block;width:100%;height:34px;min-height:34px;margin:0;border-radius:0 0 3px 3px;background:var(--pk-color-border);color:var(--pk-color-canvas);font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-button);line-height:var(--pk-line-height-control);transition:background-color var(--pk-motion-duration) ease}
.pk-body-composer__publish:not(:disabled):hover{background:var(--pk-color-action-hover)}
.pk-body-composer__publish:not(:disabled){background:var(--pk-color-action)}
.pk-body-composer__publish:disabled{background:var(--pk-color-border);color:var(--pk-color-canvas);cursor:default}
.pk-create-post .pk-body-composer__publish:disabled:hover{background:var(--pk-color-border);color:var(--pk-color-canvas)}
.pk-create-post__error{position:absolute;z-index:1;margin:0;background:var(--pk-color-canvas);color:var(--pk-color-error);font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control);line-height:var(--pk-line-height-control);pointer-events:none}
.pk-create-post__error--title{inset:1px;padding:7px var(--pk-space-10);border-radius:3px}
.pk-create-post__error--body{inset:0;padding:var(--pk-space-10);border-radius:3px 3px 0 0}
.pk-create-post__error[hidden]{display:none}

.pk-community__search-entry{display:flex;flex-direction:column;gap:var(--pk-space-4);width:100%;min-width:0}
.pk-community__search-entry .pk-input-action{width:100%;height:var(--pk-button-height);min-height:var(--pk-button-height);align-items:stretch;background:var(--pk-color-canvas);border:var(--pk-border-standard);border-radius:var(--pk-radius-input)}
.pk-community__search-entry .pk-input-action__input{height:100%;min-height:0;border:0;outline:0;font-family:var(--pk-font-family-ui);font-size:var(--pk-font-size-control);font-weight:var(--pk-font-weight-control)}
.pk-community__search-entry .pk-input-action__input::placeholder{color:rgb(175 178 177 / .48);opacity:1}
.pk-community__search-entry .pk-input-action:focus-within{border-color:var(--pk-color-border)}
.pk-community__search-entry .pk-input-action__button{box-sizing:border-box;width:auto;height:calc(var(--pk-button-height) - 2px);min-height:calc(var(--pk-button-height) - 2px);align-self:center;justify-self:end;margin:0;border-radius:0 var(--pk-radius-button) var(--pk-radius-button) 0;background:var(--pk-color-action);color:var(--pk-color-canvas)}
.pk-community__search-entry .pk-input-action__button:not(:disabled):hover{background:var(--pk-color-action-hover)}
.pk-community__search-entry .pk-input-action__button:disabled{background:var(--pk-color-border);color:var(--pk-color-canvas);cursor:default}

/* Preserve connected-control geometry after host-level button isolation. */
.pk-community__search-entry .pk-input-action{
	overflow:hidden;
}
.pk-community__search-entry .pk-input-action>button.pk-input-action__button{
	align-self:stretch;
	height:auto;
	min-height:0;
	border-radius:0;
}
.pk-create-post .pk-select__trigger,
.pk-create-post .pk-select__trigger:hover,
.pk-create-post .pk-select__trigger:focus,
.pk-create-post .pk-select__trigger:focus-visible,
.pk-create-post .pk-select__trigger:active,
.pk-create-post .pk-select__trigger[aria-expanded="true"]{
	border:var(--pk-border-standard);
	border-color:var(--pk-color-border);
	outline:0;
	box-shadow:none;
}
.pk-create-post .pk-select__options,
.pk-create-post .pk-select__options:focus,
.pk-create-post .pk-select__options:focus-visible{
	border:var(--pk-border-standard);
	border-top:0;
	border-color:var(--pk-color-border);
	outline:0;
	box-shadow:none;
}
.pk-application-host .pk-create-post button.pk-body-composer__publish{
	width:100%;
	height:calc(var(--pk-button-height) - 2px);
	min-height:calc(var(--pk-button-height) - 2px);
	margin:0;
	border-radius:0 0 var(--pk-radius-button) var(--pk-radius-button);
}

.pk-community > .pk-container{
	padding-inline:var(--pk-space-20);
}
.pk-application-host .pk-create-post .pk-body-composer textarea.pk-control{
	height:40px;
	min-height:40px;
	padding:var(--pk-space-10) var(--pk-space-12);
	border-radius:3px 3px 0 0;
	line-height:20px;
}
@media (max-width:1199px){
	.pk-community{
		--pk-padding-primary-container:var(--pk-space-16);
	}
	.pk-community > .pk-container{
		padding-inline:var(--pk-space-16);
	}
}
@media (max-width:767px){
	.pk-community{
		--pk-padding-primary-container:var(--pk-space-12);
	}
	.pk-community > .pk-container{
		padding-inline:var(--pk-space-12);
	}
}
