/* PDFkind screen: WordPress admin look, with PDFkind's red for the main state and choices. */
.pk { --pk-red: #d62839; --pk-red-deep: #a8172b; --pk-tint: #fdedef; --pk-green: #0f7b4c; max-width: 1180px; }
.pk-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; }
.pk-head img { border-radius: 10px; }
.pk-head h1 { padding: 0; font-size: 23px; font-weight: 600; }
.pk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }
.pk-main, .pk-side { display: grid; gap: 20px; min-width: 0; }
.pk-card { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; padding: 22px 24px; }
.pk-card h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; }
.pk-card p { font-size: 14px; }

.pk-status { border-top: 4px solid #c3c4c7; }
.pk-status.is-on { border-top-color: var(--pk-green); }
.pk-status.is-off { border-top-color: var(--pk-red); }
.pk-status.is-off h2 { font-size: 21px; }
.pk-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 2px 10px; border-radius: 99px; background: #e7f5ee; color: var(--pk-green); font-weight: 600; font-size: 13px; }
.pk-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pk-pages { margin: 4px 0 6px; }
.pk-pages li { margin: 0 0 4px; font-size: 14px; }
.pk-pages span { color: #646970; font-size: 12px; margin-inline-start: 6px; }

.pk-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f0f1; }
.pk-label { margin: 0 0 10px; font-size: 14px; }
.pk-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-size input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-size > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid #c3c4c7; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.pk-size input:checked + span { border-color: var(--pk-red); background: var(--pk-tint); color: var(--pk-red-deep); }
.pk-size input:focus-visible + span { outline: 2px solid var(--pk-red); outline-offset: 2px; }
.pk-other { width: 76px; min-height: 28px; }
.pk-hint { color: #50575e; margin: 10px 0 0; }
.pk-actions { margin: 16px 0 0; }
.pk .button-primary { background: var(--pk-red); border-color: var(--pk-red); }
.pk .button-primary:hover, .pk .button-primary:focus { background: var(--pk-red-deep); border-color: var(--pk-red-deep); }
.pk-off { margin-top: 10px; }
.pk-off .button-link { color: #b32d2e; }

.pk-more summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.pk-more .form-table th { width: 140px; }

.pk-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 12px; border: 2px dashed #f4bfc6; border-radius: 10px; background: #fffafb; text-align: center; cursor: pointer; }
.pk-drop:hover, .pk-drop:focus-within { border-color: var(--pk-red); }
.pk-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pk-drop .dashicons { color: var(--pk-red); font-size: 26px; width: 26px; height: 26px; }
.pk-try-limit { color: #646970; font-size: 12px; }
.pk-try-result { margin-top: 12px; font-size: 14px; }
.pk-try-result:empty { display: none; }
.pk-try-result .pk-sizes-line { font-size: 18px; font-weight: 600; }
.pk-try-result .pk-sizes-line s { color: #8c8f94; font-weight: 400; }
.pk-try-result .pk-good { color: var(--pk-green); }
.pk-try-result .pk-bad { color: #b32d2e; }
.pk-steps { margin: 8px 0 14px 18px; }
.pk-steps li { font-size: 14px; }
.pk-privacy { color: #646970; font-size: 13px; }

.pk-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.pk .form-table .pk-colors .pk-color { margin: 0 !important; }
.pk-color { display: inline-flex !important; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border: 1.5px solid #dcdcde; border-radius: 99px; cursor: pointer; background: #fff; }
.pk-color input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-color:has(input[type=radio]:checked) { border-color: #1d2327; box-shadow: inset 0 0 0 1px #1d2327; }
.pk-color:has(input[type=radio]:focus-visible) { outline: 2px solid var(--pk-red); outline-offset: 2px; }
.pk-swatch { display: inline-block; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pk-swatch-default { background: conic-gradient(#d62839 0 25%, #b45309 0 50%, #1f6feb 0 75%, #0f7b4c 0); }
.pk-color-input { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.pk-color-name { font-size: 13px; }
