.bsd-portal {
	--bsd-ink: #17211c;
	--bsd-muted: #66716b;
	--bsd-line: #dfe5e1;
	--bsd-soft: #f4f7f5;
	--bsd-paper: #ffffff;
	--bsd-accent: #176b48;
	--bsd-accent-dark: #0f5135;
	--bsd-accent-soft: #e8f4ed;
	--bsd-warm: #f7efe1;
	--bsd-danger: #9b2c2c;
	--bsd-shadow: 0 18px 48px rgba(23, 33, 28, 0.09);
	color: var(--bsd-ink);
	font-size: 16px;
	line-height: 1.55;
	margin: 32px auto 64px;
	max-width: 980px;
	width: min(100%, 980px);
}

.bsd-portal *,
.bsd-portal *::before,
.bsd-portal *::after {
	box-sizing: border-box;
}

.bsd-portal h1,
.bsd-portal h2,
.bsd-portal p {
	margin-top: 0;
}

.bsd-portal h1 {
	color: var(--bsd-ink);
	font-size: clamp(2rem, 5vw, 3.75rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin-bottom: 18px;
}

.bsd-portal h2 {
	color: var(--bsd-ink);
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bsd-message__body,
.bsd-ticket-header h1,
.bsd-ticket-card h2,
.bsd-thread-event {
	overflow-wrap: anywhere;
}

.bsd-eyebrow {
	color: var(--bsd-accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.bsd-hero {
	background:
		radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.82) 0 8%, transparent 8.5%),
		linear-gradient(135deg, #e8f4ed 0%, #f2f5e9 58%, #f7efe1 100%);
	border: 1px solid rgba(23, 107, 72, 0.14);
	border-radius: 28px;
	margin-bottom: 24px;
	overflow: hidden;
	padding: clamp(30px, 7vw, 68px);
	position: relative;
}

.bsd-hero::after {
	background: var(--bsd-accent);
	border-radius: 999px;
	bottom: -54px;
	content: '';
	height: 108px;
	opacity: 0.08;
	position: absolute;
	right: 8%;
	transform: rotate(-18deg);
	width: 230px;
}

.bsd-hero > * {
	max-width: 690px;
	position: relative;
	z-index: 1;
}

.bsd-hero > p:last-child {
	color: #49564f;
	font-size: clamp(1rem, 2.3vw, 1.2rem);
	margin-bottom: 0;
}

.bsd-wizard,
.bsd-thread,
.bsd-reply,
.bsd-access-form,
.bsd-message-panel,
.bsd-empty-state {
	background: var(--bsd-paper);
	border: 1px solid var(--bsd-line);
	border-radius: 24px;
	box-shadow: var(--bsd-shadow);
}

.bsd-recover {
	background: var(--bsd-soft);
	border: 1px solid var(--bsd-line);
	border-radius: 14px;
	margin-top: 20px;
	padding: 14px 16px;
}

.bsd-recover > summary {
	cursor: pointer;
	font-weight: 750;
}

.bsd-recover .bsd-access-form {
	box-shadow: none;
	margin-top: 14px;
}

.bsd-wizard {
	padding: clamp(22px, 5vw, 48px);
}

.bsd-honeypot {
	left: -10000px;
	position: absolute;
	top: auto;
}

.bsd-progress {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-bottom: 38px;
}

.bsd-progress__track {
	background: #e9eeeb;
	border-radius: 999px;
	flex: 1;
	height: 7px;
	overflow: hidden;
}

.bsd-progress__track span {
	background: var(--bsd-accent);
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 220ms ease;
	width: 25%;
}

.bsd-progress p {
	color: var(--bsd-muted);
	font-size: 0.82rem;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
}

.bsd-step + .bsd-step {
	border-top: 1px solid var(--bsd-line);
	margin-top: 42px;
	padding-top: 42px;
}

.bsd-wizard[data-bsd-enhanced] .bsd-step {
	display: none;
}

.bsd-wizard[data-bsd-enhanced] .bsd-step.is-active {
	display: block;
}

.bsd-step__heading {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	margin-bottom: 30px;
}

.bsd-step__heading > span {
	align-items: center;
	background: var(--bsd-accent-soft);
	border-radius: 50%;
	color: var(--bsd-accent-dark);
	display: inline-flex;
	flex: 0 0 38px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
}

.bsd-step__heading h2 {
	margin-bottom: 6px;
}

.bsd-step__heading p {
	color: var(--bsd-muted);
	margin: 0;
}

.bsd-route-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bsd-route-card {
	cursor: pointer;
	display: block;
	margin: 0;
	min-width: 0;
	position: relative;
}

.bsd-route-card > input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.bsd-route-card__body {
	background: var(--bsd-paper);
	border: 1px solid var(--bsd-line);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	min-height: 215px;
	padding: 22px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bsd-route-card:hover .bsd-route-card__body {
	border-color: #9db9aa;
	transform: translateY(-2px);
}

.bsd-route-card > input:focus-visible + .bsd-route-card__body {
	box-shadow: 0 0 0 4px rgba(23, 107, 72, 0.2);
	outline: 2px solid var(--bsd-accent);
	outline-offset: 2px;
}

.bsd-route-card > input:checked + .bsd-route-card__body {
	background: var(--bsd-accent-soft);
	border-color: var(--bsd-accent);
	box-shadow: 0 10px 30px rgba(23, 107, 72, 0.12);
}

.bsd-route-card__number {
	color: var(--bsd-accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: auto;
}

.bsd-route-card strong {
	color: var(--bsd-ink);
	font-size: 1.12rem;
	line-height: 1.25;
	margin: 28px 0 8px;
}

.bsd-route-card small {
	color: var(--bsd-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.bsd-route-card__check {
	align-items: center;
	background: var(--bsd-accent);
	border-radius: 50%;
	color: #fff;
	display: none;
	font-size: 0.72rem;
	height: 24px;
	justify-content: center;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 24px;
}

.bsd-route-card > input:checked + .bsd-route-card__body .bsd-route-card__check {
	display: flex;
}

.bsd-route-panel {
	border-top: 1px solid var(--bsd-line);
	margin-top: 28px;
	padding-top: 28px;
}

.bsd-wizard[data-bsd-enhanced] .bsd-route-panel[hidden] {
	display: none;
}

.bsd-form-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsd-field {
	margin: 0;
	min-width: 0;
}

.bsd-field--wide,
.bsd-consent {
	grid-column: 1 / -1;
}

.bsd-field > label,
.bsd-field > legend,
.bsd-reply > label,
.bsd-choice-row legend {
	color: var(--bsd-ink);
	display: block;
	font-size: 0.91rem;
	font-weight: 750;
	margin-bottom: 8px;
}

.bsd-optional {
	color: var(--bsd-muted);
	font-size: 0.76rem;
	font-weight: 500;
}

.bsd-portal input[type='text'],
.bsd-portal input[type='email'],
.bsd-portal input[type='tel'],
.bsd-portal input[type='number'],
.bsd-portal textarea,
.bsd-portal select {
	appearance: none;
	background: #fff;
	border: 1px solid #cbd4cf;
	border-radius: 11px;
	box-shadow: none;
	color: var(--bsd-ink);
	font: inherit;
	line-height: 1.35;
	margin: 0;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.bsd-portal textarea {
	min-height: 130px;
	resize: vertical;
}

.bsd-portal input:focus,
.bsd-portal textarea:focus,
.bsd-portal select:focus {
	border-color: var(--bsd-accent);
	box-shadow: 0 0 0 4px rgba(23, 107, 72, 0.13);
	outline: none;
}

.bsd-portal input:user-invalid,
.bsd-portal textarea:user-invalid {
	border-color: var(--bsd-danger);
}

.bsd-help {
	color: var(--bsd-muted);
	font-size: 0.78rem;
	margin: 7px 0 0;
}

.bsd-callout {
	background: var(--bsd-soft);
	border-left: 3px solid var(--bsd-accent);
	border-radius: 4px 12px 12px 4px;
	color: #4e5a53;
	font-size: 0.88rem;
	margin-bottom: 22px;
	padding: 13px 15px;
}

.bsd-choice-row {
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.bsd-choice-row legend {
	width: 100%;
}

.bsd-choice-row label {
	align-items: center;
	background: var(--bsd-soft);
	border: 1px solid var(--bsd-line);
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.86rem;
	gap: 7px;
	min-height: 42px;
	padding: 8px 13px;
}

.bsd-choice-row input,
.bsd-consent input {
	accent-color: var(--bsd-accent);
	flex: 0 0 auto;
}

.bsd-consent {
	align-items: flex-start;
	background: var(--bsd-soft);
	border-radius: 13px;
	cursor: pointer;
	display: flex;
	font-size: 0.86rem;
	gap: 11px;
	padding: 15px;
}

.bsd-consent input {
	height: 19px;
	margin-top: 2px;
	width: 19px;
}

.bsd-consent a,
.bsd-portal a:not(.bsd-button):not(.bsd-ticket-card) {
	color: var(--bsd-accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bsd-step__actions {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-top: 34px;
}

.bsd-wizard:not([data-bsd-enhanced]) [data-bsd-next],
.bsd-wizard:not([data-bsd-enhanced]) [data-bsd-back] {
	display: none;
}

.bsd-step__actions--end {
	justify-content: flex-end;
}

.bsd-button,
.bsd-portal .bsd-button {
	align-items: center;
	background: var(--bsd-accent);
	border: 1px solid var(--bsd-accent);
	border-radius: 999px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.91rem;
	font-weight: 750;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 12px 21px;
	text-decoration: none;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.bsd-button:hover,
.bsd-button:focus-visible {
	background: var(--bsd-accent-dark);
	border-color: var(--bsd-accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.bsd-button:focus-visible {
	box-shadow: 0 0 0 4px rgba(23, 107, 72, 0.22);
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.bsd-button--quiet,
.bsd-portal .bsd-button--quiet {
	background: transparent;
	border-color: #bfcac4;
	color: var(--bsd-ink);
}

.bsd-button--quiet:hover,
.bsd-button--quiet:focus-visible {
	background: var(--bsd-soft);
	border-color: #93a198;
	color: var(--bsd-ink);
}

.bsd-button[disabled] {
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

.bsd-submit-note {
	color: var(--bsd-muted);
	font-size: 0.8rem;
	margin: 15px 0 0;
	text-align: right;
}

.bsd-file-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 9px;
}

.bsd-file-chip {
	background: var(--bsd-soft);
	border-radius: 8px;
	color: var(--bsd-ink);
	display: inline-block;
	font-size: 0.76rem;
	max-width: 100%;
	overflow: hidden;
	padding: 6px 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bsd-existing {
	align-items: center;
	background: var(--bsd-ink);
	border-radius: 20px;
	color: #eaf0ec;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-top: 24px;
	padding: 24px 28px;
}

.bsd-existing h2 {
	color: #fff;
	font-size: 1.15rem;
	margin-bottom: 3px;
}

.bsd-existing p {
	color: #bfc9c3;
	font-size: 0.88rem;
	margin: 0;
}

.bsd-existing .bsd-button--quiet {
	border-color: #77827c;
	color: #fff;
	flex: 0 0 auto;
}

.bsd-notice {
	border: 1px solid;
	border-radius: 13px;
	font-size: 0.92rem;
	font-weight: 650;
	margin-bottom: 20px;
	padding: 14px 16px;
}

.bsd-notice--success {
	background: var(--bsd-accent-soft);
	border-color: #9bcbb0;
	color: #164d34;
}

.bsd-notice--error {
	background: #fff3f3;
	border-color: #e6b3b3;
	color: #7d2222;
}

.bsd-page-header {
	align-items: flex-end;
	border-bottom: 1px solid var(--bsd-line);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin-bottom: 26px;
	padding-bottom: 26px;
}

.bsd-page-header h1 {
	font-size: clamp(2rem, 5vw, 3.1rem);
	margin-bottom: 8px;
}

.bsd-page-header p:last-child {
	color: var(--bsd-muted);
	margin-bottom: 0;
}

.bsd-ticket-list {
	display: grid;
	gap: 13px;
}

.bsd-ticket-card {
	background: #fff;
	border: 1px solid var(--bsd-line);
	border-radius: 18px;
	box-shadow: 0 5px 20px rgba(23, 33, 28, 0.04);
	color: var(--bsd-ink);
	display: block;
	padding: 21px 58px 21px 22px;
	position: relative;
	text-decoration: none;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bsd-ticket-card:hover,
.bsd-ticket-card:focus-visible {
	border-color: #9fb9ab;
	box-shadow: 0 12px 32px rgba(23, 33, 28, 0.08);
	color: var(--bsd-ink);
	transform: translateY(-2px);
}

.bsd-ticket-card:focus-visible {
	outline: 3px solid rgba(23, 107, 72, 0.25);
	outline-offset: 2px;
}

.bsd-ticket-card__top {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.bsd-ticket-id {
	color: var(--bsd-muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.07em;
}

.bsd-ticket-card h2 {
	font-size: 1.15rem;
	margin-bottom: 12px;
}

.bsd-ticket-card__meta {
	color: var(--bsd-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	gap: 8px 20px;
}

.bsd-ticket-card__arrow {
	font-size: 1.5rem;
	position: absolute;
	right: 23px;
	top: 50%;
	transform: translateY(-50%);
}

.bsd-status {
	background: #eef1ef;
	border: 1px solid #d7ddda;
	border-radius: 999px;
	color: #45514b;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	padding: 6px 10px;
	white-space: nowrap;
}

.bsd-status--new,
.bsd-status--triage {
	background: #edf3ff;
	border-color: #bed0ee;
	color: #284e7e;
}

.bsd-status--in_progress,
.bsd-status--part_ordered {
	background: #e8f4ed;
	border-color: #add2bd;
	color: #15583a;
}

.bsd-status--waiting_customer,
.bsd-status--waiting_supplier,
.bsd-status--quote_sent,
.bsd-status--waiting_payment {
	background: #fff5df;
	border-color: #e6cb8e;
	color: #75520a;
}

.bsd-status--ready {
	background: #e8f7f6;
	border-color: #9fd4d0;
	color: #155e59;
}

.bsd-status--cancelled {
	background: #fff0f0;
	border-color: #e5b3b3;
	color: #842b2b;
}

.bsd-empty-state,
.bsd-message-panel {
	padding: clamp(30px, 7vw, 60px);
	text-align: center;
}

.bsd-empty-state > span {
	color: var(--bsd-accent);
	display: block;
	font-size: 2.8rem;
	margin-bottom: 12px;
}

.bsd-empty-state > p,
.bsd-message-panel > p {
	color: var(--bsd-muted);
	margin-left: auto;
	margin-right: auto;
	max-width: 520px;
}

.bsd-access-form {
	box-shadow: none;
	margin: 28px auto 0;
	max-width: 660px;
	padding: 22px;
	text-align: left;
}

.bsd-access-form .bsd-button {
	margin-top: 20px;
}

.bsd-back-link {
	display: inline-block;
	font-size: 0.86rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.bsd-ticket-header {
	align-items: flex-start;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.bsd-ticket-header h1 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	margin: 8px 0 7px;
}

.bsd-ticket-header p {
	color: var(--bsd-muted);
	font-size: 0.86rem;
	margin: 0;
}

.bsd-next-step {
	align-items: flex-start;
	background: var(--bsd-warm);
	border: 1px solid #ead9bb;
	border-radius: 17px;
	display: flex;
	gap: 14px;
	margin-bottom: 24px;
	padding: 17px 19px;
}

.bsd-next-step > span {
	align-items: center;
	background: #fff;
	border-radius: 50%;
	display: flex;
	flex: 0 0 30px;
	height: 30px;
	justify-content: center;
}

.bsd-next-step strong {
	display: block;
	font-size: 0.76rem;
	letter-spacing: 0.07em;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.bsd-next-step p {
	margin: 0;
}

.bsd-thread {
	box-shadow: none;
	padding: clamp(20px, 4vw, 34px);
}

.bsd-thread > h2 {
	font-size: 1rem;
	letter-spacing: 0;
	margin-bottom: 25px;
}

.bsd-thread__items {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.bsd-message {
	border: 1px solid var(--bsd-line);
	border-radius: 16px 16px 16px 5px;
	max-width: min(82%, 660px);
	padding: 15px 17px;
}

.bsd-message--staff {
	background: var(--bsd-soft);
	margin-right: auto;
}

.bsd-message--customer {
	background: var(--bsd-accent-soft);
	border-color: #c8dfd1;
	border-radius: 16px 16px 5px 16px;
	margin-left: auto;
}

.bsd-message__meta {
	align-items: center;
	display: flex;
	font-size: 0.73rem;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 7px;
}

.bsd-message__meta time {
	color: var(--bsd-muted);
}

.bsd-message__body,
.bsd-message__body p:last-child {
	margin-bottom: 0;
}

.bsd-message__body p {
	font-size: 0.91rem;
}

.bsd-attachments {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
}

.bsd-attachments a {
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(23, 33, 28, 0.12);
	border-radius: 8px;
	font-size: 0.75rem;
	max-width: 100%;
	overflow: hidden;
	padding: 6px 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bsd-thread-event {
	align-items: center;
	color: var(--bsd-muted);
	display: flex;
	font-size: 0.76rem;
	gap: 10px;
	justify-content: center;
	text-align: center;
}

.bsd-thread-event::before,
.bsd-thread-event::after {
	background: var(--bsd-line);
	content: '';
	flex: 1;
	height: 1px;
}

.bsd-thread-event time {
	white-space: nowrap;
}

.bsd-muted {
	color: var(--bsd-muted);
}

.bsd-reply {
	bottom: 12px;
	box-shadow: 0 -12px 38px rgba(23, 33, 28, 0.08);
	margin-top: 18px;
	padding: 18px;
	position: sticky;
	z-index: 5;
}

.bsd-reply textarea {
	border: 0;
	min-height: 95px;
	padding: 8px 2px;
}

.bsd-reply textarea:focus {
	box-shadow: none;
	outline: 2px solid var(--bsd-accent);
	outline-offset: 3px;
}

.bsd-reply__footer {
	align-items: center;
	border-top: 1px solid var(--bsd-line);
	display: grid;
	gap: 12px;
	grid-template-columns: auto 1fr auto;
	padding-top: 13px;
}

.bsd-attach-button {
	align-items: center;
	color: var(--bsd-accent-dark);
	cursor: pointer;
	display: flex;
	font-size: 0.83rem;
	font-weight: 750;
	gap: 5px;
	min-height: 42px;
}

.bsd-reply input[type='file']:focus-visible + .bsd-attach-button {
	border-radius: 6px;
	box-shadow: 0 0 0 4px rgba(23, 107, 72, 0.2);
	outline: 2px solid var(--bsd-accent);
	outline-offset: 2px;
}

.bsd-reply__footer .bsd-file-list {
	margin: 0;
}

.bsd-closed-panel {
	align-items: center;
	background: var(--bsd-soft);
	border: 1px solid var(--bsd-line);
	border-radius: 14px;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-top: 18px;
	padding: 17px;
}

.bsd-woo-support {
	margin-top: 20px;
}

@media (max-width: 720px) {
	.bsd-portal {
		font-size: 15px;
		margin: 18px auto 42px;
	}

	.bsd-hero,
	.bsd-wizard,
	.bsd-thread,
	.bsd-reply,
	.bsd-empty-state,
	.bsd-message-panel {
		border-radius: 18px;
	}

	.bsd-route-grid,
	.bsd-form-grid {
		grid-template-columns: 1fr;
	}

	.bsd-route-card__body {
		min-height: 148px;
	}

	.bsd-route-card strong {
		margin-top: 22px;
	}

	.bsd-field--wide,
	.bsd-consent {
		grid-column: auto;
	}

	.bsd-page-header,
	.bsd-ticket-header,
	.bsd-existing {
		align-items: stretch;
		flex-direction: column;
	}

	.bsd-page-header .bsd-button,
	.bsd-existing .bsd-button {
		width: 100%;
	}

	.bsd-ticket-header .bsd-status {
		align-self: flex-start;
	}

	.bsd-message {
		max-width: 92%;
	}

	.bsd-reply {
		bottom: 6px;
	}

	.bsd-reply__footer {
		grid-template-columns: 1fr auto;
	}

	.bsd-reply__footer .bsd-file-list {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (max-width: 440px) {
	.bsd-portal h1 {
		font-size: 2.15rem;
	}

	.bsd-hero,
	.bsd-wizard {
		padding: 22px 18px;
	}

	.bsd-progress {
		gap: 10px;
	}

	.bsd-step__heading {
		gap: 11px;
	}

	.bsd-step__heading > span {
		flex-basis: 32px;
		height: 32px;
	}

	.bsd-step__actions {
		gap: 10px;
	}

	.bsd-step__actions .bsd-button {
		flex: 1;
		padding-left: 14px;
		padding-right: 14px;
	}

	.bsd-choice-row label {
		width: 100%;
	}

	.bsd-ticket-card__top {
		align-items: flex-start;
		flex-direction: column;
	}

	.bsd-ticket-card {
		padding-right: 45px;
	}

	.bsd-thread-event time {
		display: none;
	}

	.bsd-message {
		max-width: 96%;
	}

	.bsd-reply__footer {
		grid-template-columns: 1fr;
	}

	.bsd-reply__footer .bsd-button,
	.bsd-reply__footer .bsd-file-list {
		grid-column: 1;
	}

	.bsd-reply__footer .bsd-button {
		width: 100%;
	}

	.bsd-closed-panel {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsd-portal *,
	.bsd-portal *::before,
	.bsd-portal *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
