.wpcm-standalone {
	background: #f5f6f8;
	margin: 0;
	min-width: 320px;
}

.wpcm-standalone,
.wpcm-standalone * {
	box-sizing: border-box;
}

.wpcm-standalone .wpcm-portal {
	border: 0;
	border-radius: 0;
	min-height: 100vh;
}

.wpcm-standalone .wpcm-app-shell {
	min-height: 100vh;
}

.wpcm-portal {
	--wpcm-ink: #171333;
	--wpcm-muted: #66627a;
	--wpcm-line: #dedce8;
	--wpcm-violet: #5033f3;
	background: #f3f2f7;
	box-sizing: border-box;
	border: 1px solid #e4e2eb;
	border-radius: 22px;
	color: var(--wpcm-ink);
	font-family: "Avenir Next", "Century Gothic", sans-serif;
	max-width: 100%;
	padding: 28px;
	width: 100%;
}

.wpcm-app-shell {
	--wpcm-blue: #1268d8;
	background: #f5f6f8;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	min-height: 760px;
	max-width: 100%;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.wpcm-app-sidebar {
	background: #fff;
	border-right: 1px solid #e7e8ec;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	grid-column: 1;
	min-width: 0;
	padding: 28px 18px 22px;
}

.wpcm-app-brand {
	align-items: center;
	display: flex;
	gap: 11px;
	margin: 0 8px 30px;
	min-width: 0;
}

.wpcm-app-brand > span {
	align-items: center;
	background: var(--wpcm-blue);
	border-radius: 8px 8px 2px 8px;
	color: #fff;
	display: flex;
	font-size: 19px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	transform: skew(-8deg);
	width: 38px;
}

.wpcm-app-brand strong {
	color: #11131a;
	font-size: 18px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpcm-app-nav {
	display: grid;
	gap: 7px;
}

.wpcm-app-nav a {
	align-items: center;
	border-radius: 9px;
	color: #3e424d;
	display: grid;
	font-weight: 650;
	gap: 10px;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	padding: 11px 12px;
	text-decoration: none;
}

.wpcm-app-nav a:hover {
	background: #f2f5f9;
	color: #11131a;
}

.wpcm-app-nav a.is-active {
	background: var(--wpcm-blue);
	color: #fff;
}

.wpcm-nav-icon {
	border: 2px solid currentColor;
	border-radius: 4px;
	box-sizing: border-box;
	height: 15px;
	width: 15px;
}

.wpcm-app-nav a:nth-child(2) .wpcm-nav-icon,
.wpcm-app-nav a:nth-child(3) .wpcm-nav-icon {
	border-radius: 2px;
	height: 17px;
	width: 13px;
}

.wpcm-app-nav a:nth-child(4) .wpcm-nav-icon {
	border-radius: 50%;
}

.wpcm-app-nav small {
	background: rgba(23, 19, 51, 0.08);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	min-width: 20px;
	padding: 2px 6px;
	text-align: center;
}

.wpcm-app-nav a.is-active small {
	background: rgba(255, 255, 255, 0.22);
}

.wpcm-app-logout {
	color: #d84b4b;
	font-weight: 650;
	margin: auto 12px 0;
	text-decoration: none;
}

.wpcm-app-main {
	display: flex;
	flex-direction: column;
	grid-column: 2;
	min-width: 0;
	width: 100%;
}

.wpcm-app-header {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #e7e8ec;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	min-height: 108px;
	padding: 0 28px;
	width: 100%;
}

.wpcm-app-header > * {
	min-width: 0;
}

.wpcm-app-header > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.wpcm-app-header > div:first-child > span {
	color: var(--wpcm-muted);
	font-size: 13px;
}

.wpcm-app-header h2 {
	color: #15171d;
	font-size: 25px;
	margin: 3px 0 0;
}

.wpcm-app-user {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	max-width: 100%;
	min-width: 0;
}

.wpcm-app-user img {
	border-radius: 50%;
}

.wpcm-app-user span {
	display: grid;
}

.wpcm-app-user small {
	color: var(--wpcm-muted);
}

.wpcm-app-content {
	box-sizing: border-box;
	min-width: 0;
	padding: 28px;
	width: 100%;
}

.wpcm-app-content > * {
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.wpcm-app-card {
	background: #fff;
	border: 1px solid #e8e9ed;
	border-radius: 15px;
	box-shadow: 0 5px 18px rgba(24, 28, 38, 0.035);
	box-sizing: border-box;
	display: block;
	overflow: hidden;
	padding: 20px;
	width: 100%;
}

.wpcm-app-card-heading {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.wpcm-app-card-heading > * {
	min-width: 0;
}

.wpcm-app-card-heading h3 {
	font-size: 18px;
	margin: 0;
}

.wpcm-app-card-heading p {
	color: var(--wpcm-muted);
	font-size: 13px;
	margin: 4px 0 0;
}

.wpcm-app-card-heading > a {
	color: var(--wpcm-blue);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.wpcm-table-count {
	align-items: center;
	background: #eef5fd;
	border-radius: 999px;
	color: var(--wpcm-blue);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	height: 30px;
	justify-content: center;
	min-width: 30px;
}

.wpcm-overview-grid {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 22px;
	width: 100%;
}

.wpcm-app-content .wpcm-overview-grid,
.wpcm-app-content .wpcm-dashboard-panels,
.wpcm-app-content .wpcm-portal-grid,
.wpcm-app-content .wpcm-ticket-grid {
	display: grid !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.wpcm-overview-grid > * {
	background: #fff;
	border: 1px solid #e8e9ed;
	border-radius: 14px;
	box-sizing: border-box;
	box-shadow: 0 5px 18px rgba(24, 28, 38, 0.03);
	color: var(--wpcm-ink);
	display: grid;
	gap: 5px;
	min-width: 0;
	padding: 18px;
	text-decoration: none;
}

.wpcm-app-content .wpcm-overview-grid > *,
.wpcm-app-content .wpcm-dashboard-panels > *,
.wpcm-app-content .wpcm-portal-grid > *,
.wpcm-app-content .wpcm-ticket-grid > * {
	margin: 0 !important;
	max-width: none !important;
	min-width: 0 !important;
	width: auto !important;
}

.wpcm-overview-grid span {
	color: var(--wpcm-muted);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.wpcm-overview-grid strong {
	font-size: 24px;
}

.wpcm-overview-grid small {
	color: var(--wpcm-muted);
}

.wpcm-dashboard-panels {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.wpcm-dashboard-tickets {
	grid-column: 1 / -1;
}

.wpcm-recent-list {
	display: grid;
}

.wpcm-recent-list > a {
	align-items: center;
	border-top: 1px solid #eceef1;
	box-sizing: border-box;
	color: var(--wpcm-ink);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-width: 0;
	padding: 11px 0;
	text-decoration: none;
}

.wpcm-recent-list > a:first-child {
	border-top: 0;
}

.wpcm-recent-list > a > span {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.wpcm-app-main > *,
.wpcm-app-card,
.wpcm-app-card-heading > div,
.wpcm-app-user span {
	max-width: none !important;
}

.wpcm-app-nav a > span:nth-child(2),
.wpcm-app-user span,
.wpcm-overview-grid span,
.wpcm-overview-grid small,
.wpcm-recent-list strong,
.wpcm-recent-list small,
.wpcm-recent-list b,
.wpcm-app-header h2,
.wpcm-app-card-heading h3,
.wpcm-app-card-heading p {
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.wpcm-recent-list small {
	color: var(--wpcm-muted);
}

.wpcm-recent-list b {
	font-size: 13px;
}

.wpcm-recent-list em {
	font-style: normal;
}

.wpcm-table-wrap {
	overflow-x: auto;
}

.wpcm-document-list {
	min-width: 720px;
}

.wpcm-document-list th {
	background: #f6f7f8;
	color: #5d616c;
	font-size: 12px;
	font-weight: 700;
}

.wpcm-document-list td {
	padding-bottom: 16px;
	padding-top: 16px;
}

.wpcm-document-list td:last-child,
.wpcm-document-list th:last-child {
	text-align: right;
}

.wpcm-table-action {
	background: #11151c;
	border-radius: 7px;
	color: #fff !important;
	display: inline-block;
	font-size: 12px;
	padding: 7px 12px;
}

.wpcm-document-view {
	background: #eceef2;
	border-radius: 15px;
	margin-top: 24px;
	overflow-x: auto;
	padding: 24px;
}

.wpcm-empty-state {
	color: var(--wpcm-muted);
	padding: 26px 10px;
	text-align: center;
}

.wpcm-empty-state p {
	margin: 0;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.wpcm-portal-header h2 {
	color: var(--wpcm-ink);
	font-size: 1.75rem;
	margin-bottom: 6px;
}

.wpcm-portal-header p {
	color: var(--wpcm-muted);
	margin-top: 0;
}

.wpcm-portal-section {
	margin-top: 28px;
}

.wpcm-portal-section-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.wpcm-portal-section-heading h3 {
	font-size: 1.35rem;
	margin: 0;
}

.wpcm-portal-section-heading span {
	background: var(--wpcm-violet);
	border-radius: 999px;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	min-width: 28px;
	padding: 4px 9px;
	text-align: center;
}

.wpcm-portal-grid {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
}

.wpcm-portal-panel,
.wpcm-portal-message {
	background: #fff;
	border: 1px solid var(--wpcm-line);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(23, 19, 51, 0.04);
	overflow-x: auto;
	padding: 18px;
}

.wpcm-portal-table {
	border-collapse: collapse;
	width: 100%;
}

.wpcm-portal-table th,
.wpcm-portal-table td {
	border-bottom: 1px solid #eceaf1;
	padding: 12px 10px;
	text-align: left;
}

.wpcm-portal-table th {
	color: var(--wpcm-ink);
	font-size: 0.95rem;
}

.wpcm-portal-table td {
	color: var(--wpcm-muted);
}

.wpcm-portal-table a {
	color: var(--wpcm-violet);
	font-weight: 700;
	text-decoration: none;
}

.wpcm-status {
	background: #e2e8f0;
	border-radius: 999px;
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 3px 8px;
}

.wpcm-status-accepted,
.wpcm-status-paid {
	background: #dcfce7;
	color: #166534;
}

.wpcm-status-rejected,
.wpcm-status-overdue,
.wpcm-status-expired {
	background: #fee2e2;
	color: #991b1b;
}

.wpcm-status-sent {
	background: #dbeafe;
	color: #1e40af;
}

.wpcm-quote-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.wpcm-button {
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 11px 18px;
}

.wpcm-button-accept {
	background: var(--wpcm-violet);
	color: #fff;
}

.wpcm-button-reject {
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #9f1239;
}

.wpcm-portal-decision,
.wpcm-portal-notice {
	border-radius: 12px;
	margin-top: 16px;
	padding: 12px 15px;
}

.wpcm-portal-decision,
.wpcm-portal-notice-accepted {
	background: #ecfdf5;
	color: #166534;
}

.wpcm-portal-notice-rejected,
.wpcm-portal-notice-invalid {
	background: #fff1f2;
	color: #9f1239;
}

.wpcm-portal-notice p {
	margin: 0;
}

.wpcm-ticket-notice-created,
.wpcm-ticket-notice-replied {
	background: #ecfdf5;
	color: #166534;
}

.wpcm-ticket-notice-invalid {
	background: #fff1f2;
	color: #9f1239;
}

.wpcm-conversation-notice-replied {
	background: #ecfdf5;
	color: #166534;
}

.wpcm-conversation-notice-invalid {
	background: #fff1f2;
	color: #9f1239;
}

.wpcm-ticket-create {
	background: #fff;
	border: 1px solid var(--wpcm-line);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(23, 19, 51, 0.04);
	margin-bottom: 18px;
	overflow: hidden;
}

.wpcm-ticket-create summary {
	cursor: pointer;
	font-weight: 750;
	list-style: none;
	padding: 16px 18px;
}

.wpcm-ticket-create summary::-webkit-details-marker {
	display: none;
}

.wpcm-ticket-create summary::after {
	color: var(--wpcm-violet);
	content: "+";
	float: right;
	font-size: 20px;
	line-height: 1;
}

.wpcm-ticket-create[open] summary {
	border-bottom: 1px solid var(--wpcm-line);
}

.wpcm-ticket-create[open] summary::after {
	content: "-";
}

.wpcm-ticket-create form {
	display: grid;
	gap: 15px;
	padding: 18px;
}

.wpcm-ticket-create label,
.wpcm-ticket-reply label {
	display: grid;
	font-weight: 700;
	gap: 6px;
}

.wpcm-ticket-create input,
.wpcm-ticket-create select,
.wpcm-ticket-create textarea,
.wpcm-ticket-reply textarea {
	background: #fff;
	border: 1px solid #cfccd9;
	border-radius: 9px;
	box-sizing: border-box;
	color: var(--wpcm-ink);
	font: inherit;
	padding: 10px 12px;
	width: 100%;
}

.wpcm-ticket-create input:focus,
.wpcm-ticket-create select:focus,
.wpcm-ticket-create textarea:focus,
.wpcm-ticket-reply textarea:focus {
	border-color: var(--wpcm-violet);
	box-shadow: 0 0 0 3px rgba(80, 51, 243, 0.12);
	outline: 0;
}

.wpcm-ticket-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 2fr 1fr;
}

.wpcm-button-primary {
	background: var(--wpcm-violet);
	color: #fff;
	justify-self: start;
}

.wpcm-ticket-grid {
	grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1.35fr);
}

.wpcm-ticket-list {
	display: grid;
	gap: 8px;
}

.wpcm-ticket-list-item {
	border: 1px solid var(--wpcm-line);
	border-radius: 10px;
	color: var(--wpcm-ink);
	display: grid;
	gap: 6px;
	padding: 12px;
	text-decoration: none;
}

.wpcm-ticket-list-item:hover {
	border-color: var(--wpcm-violet);
	box-shadow: 0 3px 12px rgba(80, 51, 243, 0.08);
}

.wpcm-ticket-list-top,
.wpcm-ticket-detail-header,
.wpcm-ticket-meta,
.wpcm-ticket-message header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.wpcm-ticket-list-top > strong {
	color: var(--wpcm-violet);
	font-size: 12px;
}

.wpcm-ticket-subject {
	font-weight: 750;
}

.wpcm-ticket-list-item small,
.wpcm-ticket-meta,
.wpcm-ticket-message header span {
	color: var(--wpcm-muted);
	font-size: 12px;
}

.wpcm-ticket-detail-header {
	align-items: flex-start;
	gap: 14px;
}

.wpcm-ticket-detail-header > div > span {
	color: var(--wpcm-violet);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wpcm-ticket-detail-header h3 {
	font-size: 1.25rem;
	margin: 4px 0 0;
}

.wpcm-ticket-meta {
	border-bottom: 1px solid var(--wpcm-line);
	justify-content: flex-start;
	gap: 18px;
	margin: 10px 0 16px;
	padding-bottom: 13px;
}

.wpcm-ticket-meta a {
	color: var(--wpcm-violet);
	font-weight: 700;
	text-decoration: none;
}

.wpcm-ticket-opening {
	background: #f7f6fb;
	border-left: 3px solid var(--wpcm-violet);
	border-radius: 0 8px 8px 0;
	color: var(--wpcm-muted);
	padding: 14px 16px;
}

.wpcm-ticket-opening > strong {
	color: var(--wpcm-ink);
	display: block;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wpcm-ticket-opening p,
.wpcm-ticket-message p {
	margin: 7px 0 0;
}

.wpcm-ticket-thread {
	display: grid;
	gap: 10px;
	margin: 16px 0;
}

.wpcm-ticket-message {
	background: #f5f5f7;
	border-radius: 10px;
	color: var(--wpcm-muted);
	margin-right: 10%;
	padding: 12px 14px;
}

.wpcm-ticket-message-client {
	background: #f2f0ff;
	margin-left: 10%;
	margin-right: 0;
}

.wpcm-ticket-message header strong {
	color: var(--wpcm-ink);
	font-size: 13px;
}

.wpcm-ticket-reply {
	border-top: 1px solid var(--wpcm-line);
	display: grid;
	gap: 10px;
	padding-top: 16px;
}

.wpcm-document-conversation {
	background: #fff;
	border: 1px solid var(--wpcm-line);
	border-radius: 14px;
	box-sizing: border-box;
	margin: 22px auto 0;
	max-width: 210mm;
	padding: 22px;
	width: 100%;
}

.wpcm-conversation-empty {
	color: var(--wpcm-muted);
	margin: 0 0 16px;
}

.wpcm-status-open {
	background: #fff7d6;
	color: #8a5a00;
}

.wpcm-status-closed {
	background: #edf7ef;
	color: #28743b;
}

.wpcm-document {
	background: #fff;
	box-sizing: border-box;
	color: var(--wpcm-ink);
	font-family: "Avenir Next", "Century Gothic", sans-serif;
	font-size: 11pt;
	margin: 0 auto;
	min-height: 297mm;
	padding: 18mm;
	width: 210mm;
}

.wpcm-document-header {
	align-items: flex-start;
	border-bottom: 1px solid var(--wpcm-line);
	display: flex;
	justify-content: space-between;
	padding-bottom: 12mm;
}

.wpcm-document-brand {
	display: flex;
	gap: 14px;
}

.wpcm-brand-mark {
	align-items: center;
	background: var(--wpcm-violet);
	border-radius: 11px;
	color: #fff;
	display: flex;
	font-size: 22px;
	font-weight: 800;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.wpcm-document-brand strong {
	font-size: 16px;
}

.wpcm-document-brand p,
.wpcm-document-parties p {
	color: var(--wpcm-muted);
	font-size: 9.5pt;
	line-height: 1.5;
	margin: 3px 0 0;
}

.wpcm-document-identity {
	text-align: right;
}

.wpcm-document-identity span,
.wpcm-document-label {
	color: var(--wpcm-muted);
	display: block;
	font-size: 8.5pt;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wpcm-document-identity strong {
	display: block;
	font-size: 24px;
	margin-top: 5px;
}

.wpcm-document-parties {
	display: grid;
	gap: 20mm;
	grid-template-columns: 1fr 1fr;
	padding: 12mm 0;
}

.wpcm-document-parties > div > strong {
	display: block;
	font-size: 15px;
	margin-top: 7px;
}

.wpcm-document-parties dl,
.wpcm-document-totals dl {
	margin: 0;
}

.wpcm-document-parties dl div,
.wpcm-document-totals dl div {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
}

.wpcm-document-parties dt,
.wpcm-document-totals dt {
	color: var(--wpcm-muted);
}

.wpcm-document-parties dd,
.wpcm-document-totals dd {
	font-weight: 700;
	margin: 0;
}

.wpcm-document-content {
	background: #f7f6fb;
	border-left: 3px solid var(--wpcm-violet);
	border-radius: 0 8px 8px 0;
	color: var(--wpcm-muted);
	line-height: 1.65;
	margin-bottom: 10mm;
	padding: 5mm 6mm;
}

.wpcm-document-content p {
	margin: 0 0 8px;
}

.wpcm-document-content p:last-child {
	margin-bottom: 0;
}

.wpcm-document-table {
	border-collapse: collapse;
	font-size: 9.5pt;
	width: 100%;
}

.wpcm-document-table th {
	background: var(--wpcm-ink);
	color: #fff;
	font-size: 8pt;
	letter-spacing: 0.06em;
	padding: 10px 8px;
	text-align: right;
	text-transform: uppercase;
}

.wpcm-document-table th:first-child,
.wpcm-document-table td:first-child {
	text-align: left;
}

.wpcm-document-table td {
	border-bottom: 1px solid var(--wpcm-line);
	color: var(--wpcm-muted);
	padding: 12px 8px;
	text-align: right;
}

.wpcm-document-table td strong {
	color: var(--wpcm-ink);
}

.wpcm-document-totals {
	display: flex;
	justify-content: flex-end;
	padding-top: 8mm;
}

.wpcm-document-totals dl {
	min-width: 72mm;
}

.wpcm-document-totals dl div {
	padding: 7px 0;
}

.wpcm-document-grand-total {
	border-top: 2px solid var(--wpcm-ink);
	font-size: 14px;
	margin-top: 4px;
}

.wpcm-document-grand-total dt,
.wpcm-document-grand-total dd {
	color: var(--wpcm-ink);
	font-weight: 800;
}

.wpcm-document-notes {
	border-top: 1px solid var(--wpcm-line);
	color: var(--wpcm-muted);
	font-size: 9.5pt;
	line-height: 1.6;
	margin-top: 14mm;
	padding-top: 7mm;
}

.wpcm-document-notes h4 {
	color: var(--wpcm-ink);
	font-size: 10pt;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.wpcm-document-notes p {
	margin: 0 0 6px;
}

@media (max-width: 980px) {
	.wpcm-app-shell {
		grid-template-columns: 1fr;
	}

	.wpcm-app-sidebar {
		border-bottom: 1px solid #e7e8ec;
		border-right: 0;
		display: grid;
		gap: 14px;
		grid-template-columns: auto minmax(0, 1fr) auto;
		padding: 15px;
	}

	.wpcm-app-brand {
		margin: 0;
	}

	.wpcm-app-brand strong {
		display: none;
	}

	.wpcm-app-nav {
		display: flex;
		overflow-x: auto;
	}

	.wpcm-app-nav a {
		grid-template-columns: 16px auto auto;
		white-space: nowrap;
	}

	.wpcm-app-logout {
		align-self: center;
		margin: 0;
	}

	.wpcm-overview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.wpcm-portal-grid {
		grid-template-columns: 1fr;
	}

	.wpcm-app-shell {
		border-radius: 14px;
		padding: 0;
	}

	.wpcm-app-header {
		padding: 0 18px;
	}

	.wpcm-app-user span {
		display: none;
	}

	.wpcm-app-content {
		padding: 18px;
	}

	.wpcm-dashboard-panels {
		grid-template-columns: 1fr;
	}

	.wpcm-dashboard-tickets {
		grid-column: auto;
	}

	.wpcm-document {
		font-size: 10pt;
		min-height: 0;
		padding: 24px;
		width: 100%;
	}

	.wpcm-document-header,
	.wpcm-document-parties {
		gap: 20px;
	}

	.wpcm-ticket-form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.wpcm-app-sidebar {
		grid-template-columns: 1fr;
	}

	.wpcm-app-brand,
	.wpcm-app-logout {
		display: none;
	}

	.wpcm-overview-grid {
		grid-template-columns: 1fr;
	}
}

@media print {
	@page {
		size: A4;
		margin: 0;
	}

	body * {
		visibility: hidden !important;
	}

	.wpcm-document,
	.wpcm-document * {
		visibility: visible !important;
	}

	.wpcm-document {
		left: 0;
		margin: 0;
		min-height: 297mm;
		position: absolute;
		top: 0;
		width: 210mm;
	}
}
