.pmp-wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
}
.pmp-wrap a,
.pmp-wrap a:hover,
.pmp-wrap a:focus {
    text-decoration: none;
}
.pmp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}
.pmp-title h2 {
    margin: 0 0 5px;
    font-size: 30px;
    letter-spacing: -0.03em;
}
.pmp-title p {
    margin: 0;
    color: #6b7280;
}
.pmp-button,
.pmp-login-wrap input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.pmp-button:hover,
.pmp-login-wrap input[type="submit"]:hover {
    filter: brightness(0.96);
    color: #fff;
}
.pmp-secondary {
    background: #fff;
    color: #1f2937;
    border: 1px solid #d1d5db;
}
.pmp-secondary:hover {
    color: #1f2937;
    background: #f9fafb;
}
.pmp-danger {
    background: #dc2626;
}
.pmp-small {
    padding: 7px 10px;
    font-size: 12px;
}
.pmp-login-wrap {
    max-width: 440px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.pmp-login-wrap input[type="text"],
.pmp-login-wrap input[type="password"],
.pmp-modal input[type="text"],
.pmp-modal input[type="file"],
.pmp-move-select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    margin: 8px 0 16px;
    background: #fff;
}
.pmp-actionbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 12px;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}
.pmp-icon-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #a0a0a0;
    background: #fff;
    border-radius: 11px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 800;
    color: #111827;
}
.pmp-icon-button:hover {
	background-color: #f2f2f2;
	color: inherit;
}
.pmp-icon {
    font-size: 20px;
    line-height: 1;
}
.pmp-search-wrap {
    margin-left: auto;
    position: relative;
    min-width: 300px;
    flex: 1;
    max-width: 520px;
}
.pmp-search-icon,
.pmp-search-wrap .pmp-button-icon-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.55;
    width: 16px;
    height: 16px;
    color: #475569;
    pointer-events: none;
}
.pmp-search-wrap .pmp-button-icon-search svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}
.pmp-search-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px 11px 38px;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    background: #fff;
}
.pmp-message {
    margin: 12px 0;
}
.pmp-notice,
.pmp-message p {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f3f4f6;
}
.pmp-success {
    color: #166534;
    background: #ecfdf5 !important;
}
.pmp-error {
    color: #b91c1c;
    background: #fef2f2 !important;
}
.pmp-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 14px;
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #f8fafc;
}
.pmp-crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 800;
    color: #1d4ed8;
    padding: 4px 6px;
    border-radius: 8px;
}
.pmp-crumb:hover {
    background: #dbeafe;
    color: #1d4ed8;
}
.pmp-crumb-sep {
    color: #94a3b8;
    font-size: 18px;
}
.pmp-crumb-icon {
    font-size: 16px;
}
.pmp-explorer {
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.pmp-explorer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
}
.pmp-explorer-head strong {
    display: block;
    color: #111827;
}
.pmp-explorer-head span {
    font-size: 13px;
}
.pmp-sort-note {
    font-size: 13px;
    color: #64748b;
}
.pmp-list {
    width: 100%;
}
.pmp-list-row {
    display: grid;
    grid-template-columns: minmax(260px, 2.2fr) 110px 110px 155px 150px minmax(250px, 1.5fr);
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
}
.pmp-list-row:last-child {
    border-bottom: 0;
}
.pmp-list-header {
    position: sticky;
    top: 69px;
    z-index: 5;
    background: #f8fafc;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    font-weight: 800;
}
.pmp-folder-row,
.pmp-file-row {
    background: #fff;
}
.pmp-folder-row:hover,
.pmp-file-row:hover {
    background: #f8fafc;
}
.pmp-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.pmp-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: #111827;
}
.pmp-item-link:hover strong {
    text-decoration: none;
}
.pmp-item-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef2f7;
    font-size: 22px;
    flex: none;
}
.pmp-folder-icon {
    background: #fff7ed;
}

.pmp-filetype-icon {
    position: relative;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.pmp-filetype-icon::before {
    content: none;
}
.pmp-filetype-icon svg {
    width: 38px;
    height: 38px;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.14));
}
.pmp-official-file-icon .pmp-doc-page {
    fill: #ffffff;
    stroke: #d0d7e2;
    stroke-width: 1.4;
}
.pmp-official-file-icon .pmp-doc-fold {
    fill: #eef2f7;
    stroke: #d0d7e2;
    stroke-width: 1.1;
}
.pmp-icon-text,
.pmp-icon-letter {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.pmp-icon-text {
    font-size: 8px;
}
.pmp-icon-letter {
    font-size: 18px;
}
.pmp-icon-text-light {
    fill: #ffffff;
}
.pmp-icon-text-dark {
    fill: #334155;
}
.pmp-filetype-pdf .pmp-pdf-band {
    fill: #e5252a;
}
.pmp-filetype-pdf .pmp-pdf-mark {
    fill: none;
    stroke: #e5252a;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pmp-filetype-word .pmp-word-panel {
    fill: #185abd;
}
.pmp-filetype-word .pmp-word-line {
    fill: none;
    stroke: #185abd;
    stroke-width: 1.7;
    stroke-linecap: round;
}
.pmp-filetype-jpeg .pmp-image-frame,
.pmp-filetype-image .pmp-image-frame {
    fill: #e6f7ef;
    stroke: #10b981;
    stroke-width: 1.3;
}
.pmp-filetype-jpeg .pmp-image-sun,
.pmp-filetype-image .pmp-image-sun {
    fill: #fbbf24;
}
.pmp-filetype-jpeg .pmp-image-mountain,
.pmp-filetype-image .pmp-image-mountain {
    fill: #10b981;
}
.pmp-filetype-jpeg .pmp-image-band,
.pmp-filetype-image .pmp-image-band {
    fill: #059669;
}
.pmp-filetype-excel .pmp-excel-panel {
    fill: #107c41;
}
.pmp-filetype-excel .pmp-excel-grid {
    fill: none;
    stroke: #107c41;
    stroke-width: 1.4;
    stroke-linecap: round;
}
.pmp-filetype-powerpoint .pmp-ppt-panel {
    fill: #c43e1c;
}
.pmp-filetype-powerpoint .pmp-ppt-chart {
    fill: #f97316;
    opacity: 0.9;
}
.pmp-filetype-powerpoint .pmp-ppt-slice {
    fill: #ffffff;
    opacity: 0.95;
}
.pmp-filetype-zip .pmp-zip-teeth {
    fill: #64748b;
}
.pmp-filetype-zip .pmp-zip-band {
    fill: #fde68a;
    stroke: #f59e0b;
    stroke-width: 1;
}
.pmp-filetype-generic .pmp-generic-lines {
    fill: none;
    stroke: #64748b;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.pmp-filetype-generic .pmp-generic-band {
    fill: #e2e8f0;
}
.pmp-name-cell strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pmp-name-cell small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
}
.pmp-file-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.pmp-inline-form {
    display: inline-flex;
    margin: 0;
    gap: 6px;
    align-items: center;
}
.pmp-move-select {
    width: auto;
    min-width: 130px;
    max-width: 170px;
    margin: 0;
    padding: 7px 9px;
    font-size: 12px;
}
.pmp-empty-state {
    text-align: center;
    padding: 54px 20px;
    color: #64748b;
}
.pmp-empty-state h3 {
    margin: 8px 0 6px;
    color: #111827;
}
.pmp-empty-icon {
    font-size: 44px;
}
.pmp-loading {
    opacity: 0.55;
    pointer-events: none;
}
.pmp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pmp-modal.is-open {
    display: flex;
}
.pmp-modal-panel {
    position: relative;
    width: min(460px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}
.pmp-modal-panel h3 {
    margin-top: 0;
}
.pmp-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: 0;
    color: #1f2937;
    background: #e4e4e4;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 22px;
    cursor: pointer;
	padding: 0px;
}
.pmp-screen-reader {
    position: absolute;
    left: -9999px;
}
@media (max-width: 1050px) {
    .pmp-list-row {
        grid-template-columns: minmax(240px, 2fr) 90px 95px 135px minmax(220px, 1.4fr);
    }
    .pmp-list-row > div:nth-child(5) {
        display: none;
    }
}
@media (max-width: 820px) {
    .pmp-wrap {
        padding: 16px;
    }
    .pmp-header {
        display: block;
    }
    .pmp-actionbar {
        position: static;
        flex-wrap: wrap;
    }
    .pmp-search-wrap {
        min-width: 100%;
        max-width: none;
        margin-left: 0;
    }
    .pmp-icon-button {
        flex: 1;
    }
    .pmp-list-header {
        display: none;
    }
    .pmp-list-row {
        display: block;
        padding: 14px;
    }
    .pmp-list-row > div {
        margin: 8px 0;
    }
    .pmp-file-actions {
        justify-content: flex-start;
    }
    .pmp-name-cell strong {
        white-space: normal;
    }
    .pmp-explorer-head {
        display: block;
    }
    .pmp-sort-note {
        display: block;
        margin-top: 4px;
    }
}

/* v1.4.1 action grouping update */
.pmp-actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
    flex-wrap: wrap;
}
.pmp-primary-actions,
.pmp-move-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.pmp-primary-actions{
	display: flex;
	flex-direction: column;	
}
.pmp-move-actions {
	border-left: none;
	padding-left: 0px;	
}
.pmp-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
	background-color: #e4e4e4;
    font-family: "Lato", Sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: unset;
    color: #888;
    border-radius: 10px;
    padding: 0.5em 1.2em 0.5em 0.7em;
	border: 1px solid #a0a0a0;
}
.pmp-action-button:hover {
    background: #f9fafb;
    color: #1f2937;
}
.pmp-actions-wrapper .pmp-inline-form {
    display: inline-flex;
    margin: 0;
    gap: 6px;
    align-items: center;
}
.pmp-actions-wrapper .pmp-move-select {
    width: auto;
    min-width: 130px;
    max-width: 170px;
    margin: 0;
    padding: 7px 9px;
    font-size: 12px;
	border: 1px solid #a0a0a0;
}
.pmp-primary-actions, .pmp-move-actions{
	align-items: flex-start;
}
@media (max-width: 820px) {
    .pmp-actions-wrapper {
        justify-content: flex-start;
    }
    .pmp-move-actions {
        width: 100%;
        padding-left: 0;
        border-left: 0;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
    }
    .pmp-move-actions .pmp-inline-form {
        width: 100%;
        align-items: stretch;
    }
    .pmp-actions-wrapper .pmp-move-select {
        flex: 1;
        max-width: none;
    }
    .pmp-action-button {
        min-height: 34px;
    }
}

/* v1.5.7 proper SVG file-type icons */
.pmp-filetype-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible;
    padding: 0;
}
.pmp-filetype-icon::before {
    display: none !important;
}
.pmp-filetype-icon svg {
    width: 38px;
    height: 38px;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.14));
}

/* v1.5.9 multi-upload, safer move, and bulk-delete controls */
.pmp-field-help {
    display: block;
    margin: -8px 0 16px;
    color: #64748b;
    font-size: 12px;
}
.pmp-error-list {
    margin: -6px 0 12px 22px;
    padding: 0;
    color: #b91c1c;
}
.pmp-explorer-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.pmp-bulk-delete-form {
    display: none;
}
.pmp-bulk-delete-button {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}
.pmp-bulk-delete-button:not(:disabled):hover {
    background: #fee2e2;
    color: #7f1d1d;
}
.pmp-bulk-delete-button [data-pmp-selected-count] {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(153, 27, 27, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.pmp-action-button:disabled,
.pmp-action-button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.2);
}
.pmp-action-button:disabled:hover,
.pmp-action-button[aria-disabled="true"]:hover {
    background-color: #e4e4e4;
    color: #888;
}
.pmp-bulk-check {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #2563eb;
    cursor: pointer;
    margin: 0 2px 0 0;
}
.pmp-name-cell:has(.pmp-bulk-check:checked) strong {
    color: #1d4ed8;
}
@media (max-width: 820px) {
    .pmp-explorer-tools {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
    .pmp-bulk-delete-button {
        width: 100%;
    }
}


/* v1.5.11 requested UI refinements */
.pmp-logout-button,
.pmp-logout-button:hover,
.pmp-logout-button:focus {
    background: #e4e4e4;
    color: #1f2937;
    border-color: #a0a0a0;
    text-decoration: none;
}
.pmp-button-icon,
.pmp-delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
    flex: 0 0 auto;
}
.pmp-button-icon svg,
.pmp-delete-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.pmp-icon-button .pmp-button-icon {
    width: 20px;
    height: 20px;
    color: currentColor;
}
.pmp-icon-button .pmp-button-icon svg {
    width: 20px;
    height: 20px;
}
.pmp-button .pmp-button-icon {
    width: 16px;
    height: 16px;
}
.pmp-delete-button,
.pmp-move-button,
.pmp-logout-button {
    gap: 7px;
}
.pmp-modal-close:hover,
.pmp-modal-close:focus {
    color: #1f2937;
    background: #e4e4e4;
}

/* v1.5.12 button icons and email sender refinements */
.pmp-action-button .pmp-button-icon,
.pmp-button .pmp-button-icon,
.pmp-icon-button .pmp-button-icon {
    color: currentColor;
}
.pmp-action-button:disabled .pmp-button-icon,
.pmp-action-button[aria-disabled="true"] .pmp-button-icon {
    opacity: 0.9;
}

.pmp-crumb .pmp-button-icon-home {
    width: 16px;
    height: 16px;
    color: currentColor;
}
.pmp-crumb .pmp-button-icon-home svg {
    width: 16px;
    height: 16px;
}
