#pdmFolderGrid, #pdmRecentList, #pdmPanelFileList { overflow: visible !important; }
#pdmBody { overflow-y: auto !important; overflow-x: visible !important; }
.pdm-folder-item, .pdm-recent-item, .pdm-file-icon { overflow: visible !important; }

#view-podium .bs-header .pdm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
#view-podium .bs-header .pdm-btn-folder,
#view-podium .bs-header .pdm-btn-upload {
  display: inline-flex !important;
}

.pdm-folder-menu-btn,
.pdm-recent-menu-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.64);
  color: rgba(26,26,46,.62);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .84;
  z-index: 25;
  transition: background .15s, opacity .15s, box-shadow .15s;
}
.pdm-folder-menu-btn:hover,
.pdm-recent-menu-btn:hover {
  opacity: 1;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.pdm-folder-menu-btn svg,
.pdm-recent-menu-btn svg { width: 15px; height: 15px; stroke: currentColor; }

.pdm-folder-dropdown {
  display: none;
  position: absolute;
  top: 28px;
  right: 4px;
  width: 218px;
  padding: 12px;
  background: white;
  border: 1px solid rgba(26,26,46,.08);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(20,20,40,.18);
  z-index: 10000;
  cursor: default;
  text-align: left;
}
.pdm-folder-dropdown.open { display: block; }
.pdm-folder-dropdown.open-right { left: 4px; right: auto; }
.pdm-recent-dropdown { width: 132px; padding: 6px; top: 28px; right: 4px; }
.pdm-recent-dropdown.open-right { left: 4px; right: auto; }
.pdm-menu-small-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(26,26,46,.42);
  letter-spacing: .45px;
  text-transform: uppercase;
  margin: 2px 0 7px;
}
.pdm-folder-rename-row { display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 6px; margin-bottom: 10px; }
.pdm-folder-rename-input {
  min-width: 0;
  height: 32px;
  border: 1px solid rgba(26,26,46,.13);
  border-radius: 8px;
  padding: 0 9px;
  font-size: 12px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
}
.pdm-folder-rename-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(28,107,90,.08); }
.pdm-folder-rename-save {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.pdm-inline-color-grid { display: grid !important; grid-template-columns: repeat(5,22px) !important; grid-auto-rows: 22px !important; gap: 7px !important; margin: 2px 0 12px !important; }
.pdm-inline-color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 0 1px 4px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .12s, border-color .12s;
}
.pdm-inline-color-dot:hover,
.pdm-inline-color-dot.selected { transform: scale(1.13); border-color: rgba(26,26,46,.7); }
.pdm-folder-dropdown-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.pdm-folder-dropdown-item:hover { background: rgba(26,26,46,.05); }
.pdm-folder-dropdown-item.danger {
  color: #C04040;
  justify-content: center;
  margin-top: 2px;
}

.pdm-panel-folder-item {
  min-height: 104px;
}
.pdm-panel-folder-add-card,
.pdm-subfolder-add {
  min-height: 104px;
  border: 1.5px dashed rgba(26,26,46,.18);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(26,26,46,.42);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.pdm-panel-folder-add-card:hover,
.pdm-subfolder-add:hover {
  background: rgba(26,26,46,.04);
  border-color: rgba(28,107,90,.35);
  color: var(--primary);
}
.pdm-panel-path {
  font-size: 10.5px;
  color: rgba(26,26,46,.42);
  margin-top: 2px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdm-panel-btn-wrap { display:flex; align-items:center; gap:8px; }
.pdm-panel-back-btn,
.pdm-panel-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26,26,46,0.07);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdm-panel-back-btn:hover,
.pdm-panel-close-btn:hover { background: rgba(26,26,46,0.13); }
.pdm-folder-empty-note {
  text-align:center;
  padding:30px 10px;
  font-size:12px;
  line-height:1.7;
  color:rgba(26,26,46,.32);
}

.pdm-podium-section-divider {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pdm-trash-head {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pdm-trash-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--tx3);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.pdm-trash-empty-all {
  border: 1px solid rgba(192,64,64,.22);
  background: rgba(255,100,100,.10);
  color: #B84040;
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.pdm-trash-empty-all:hover:not(:disabled) {
  background: rgba(255,100,100,.18);
  border-color: rgba(192,64,64,.36);
}
.pdm-trash-empty-all:disabled {
  opacity: .38;
  cursor: default;
}

.pdm-trash-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.pdm-trash-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  padding: 8px 4px 6px;
  border-radius: 12px;
  transition: background .15s;
  user-select: none;
}
.pdm-trash-item:hover { background: rgba(26,26,46,0.04); }
.pdm-trash-name {
  margin-top: 6px;
  width: 100%;
  text-align: center;
  line-height: 1.2;
  color: var(--ink2);
  padding: 0 2px;
  min-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pdm-trash-actions { display: flex; justify-content: center; gap: 6px; margin-top: 7px; width: 100%; }
.pdm-trash-actions button {
  border: 1px solid rgba(26,26,46,.10);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  font-family: var(--sans);
}
.pdm-trash-actions button.restore { background: rgba(76,132,255,.13); color: #3864A8; border-color: rgba(76,132,255,.22); }
.pdm-trash-actions button.delete { background: rgba(255,100,100,.12); color: #B84040; border-color: rgba(192,64,64,.22); }
.pdm-trash-empty { padding: 20px; text-align: center; font-size: 12px; color: rgba(26,26,46,.32); grid-column: 1/-1; }

#pdmCreateFolderModal {
  display:none;
  position:fixed;
  inset:0;
  z-index:2147483650;
  align-items:center;
  justify-content:center;
  background:rgba(26,26,46,.35);
  backdrop-filter:blur(4px);
}
#pdmCreateFolderModal.open { display:flex; }
#pdmCreateFolderModal .pdm-create-box {
  width:min(380px, 90vw);
  background:white;
  border:1px solid rgba(26,26,46,.08);
  border-radius:20px;
  box-shadow:0 18px 54px rgba(0,0,0,.18);
  padding:22px 22px 18px;
}
.pdm-create-title { font-family:var(--serif); font-size:22px; font-weight:700; color:var(--ink); margin-bottom:4px; }
.pdm-create-sub { font-size:12px; color:rgba(26,26,46,.5); line-height:1.6; margin-bottom:14px; }
#pdmCreateFolderName {
  width:100%;
  height:42px;
  border:1.5px solid var(--border);
  border-radius:12px;
  padding:0 13px;
  font-size:14px;
  color:var(--ink);
  font-family:var(--sans);
  outline:none;
}
#pdmCreateFolderName:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(28,107,90,.08); }
.pdm-create-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:16px; }
.pdm-create-actions button {
  border:0;
  border-radius:10px;
  height:36px;
  padding:0 15px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  font-family:var(--sans);
}
.pdm-create-cancel { background:var(--surface2); color:var(--tx2); }
.pdm-create-confirm { background:var(--ink); color:white; }

/* Step18: keep Podium folder creation and edit menus accessible */
#pdmFolderGrid .pdm-root-folder-add-card {
  min-height: 104px;
}
.pdm-folder-dropdown.open {
  overflow: visible !important;
}
#pdmFolderPanel > div {
  overflow: visible !important;
}

/* Step19: folder creation modal color selector and Gothic typography */
#pdmCreateFolderModal,
#pdmCreateFolderModal .pdm-create-box,
#pdmCreateFolderModal input,
#pdmCreateFolderModal button,
.pdm-folder-label,
.pdm-folder-count,
.pdm-panel-path,
.pdm-folder-dropdown,
.pdm-folder-rename-input,
.pdm-folder-rename-save {
  font-family: var(--sans) !important;
}
#pdmCreateFolderModal .pdm-create-box {
  width: min(400px, 90vw);
}
.pdm-create-title {
  font-family: var(--sans) !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.pdm-create-field-label,
.pdm-create-color-label {
  display: block;
  margin: 12px 0 7px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(26,26,46,.48);
  letter-spacing: .45px;
}
.pdm-create-color-grid {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  grid-auto-rows: 28px;
  gap: 9px;
  margin: 2px 0 4px;
}
.pdm-create-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.1);
  cursor: pointer;
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.pdm-create-color-dot:hover,
.pdm-create-color-dot.selected {
  transform: scale(1.12);
  border-color: rgba(26,26,46,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38), 0 3px 9px rgba(0,0,0,.16);
}

/* Step20: folder panel title Gothic typography */
#pdmPanelFolderName,
#pdmPanelFileCount {
  font-family: var(--sans) !important;
  letter-spacing: -0.2px;
}
#pdmPanelFolderName {
  font-size: 18px;
  font-weight: 800;
}

/* Step44: compact Google Drive shell with real BibleLab folder create/select support. */
.pdm-drive-section {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(26,26,46,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.56));
  box-shadow: 0 10px 24px rgba(26,26,46,.038);
}
.pdm-drive-head.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}
.pdm-drive-mainline {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.pdm-drive-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(26,26,46,.08);
  box-shadow: 0 8px 18px rgba(26,26,46,.09);
  overflow: hidden;
}
.pdm-drive-icon-img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  display: block;
}
.pdm-drive-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.pdm-drive-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -.2px;
}
.pdm-drive-sub {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(26,26,46,.50);
  line-height: 1.45;
}
.pdm-drive-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  border: 1px solid rgba(26,26,46,.10);
}
.pdm-drive-status.pending {
  color: #7A5A20;
  background: rgba(255,216,120,.22);
  border-color: rgba(210,160,60,.24);
}
.pdm-drive-status.ready {
  color: #17614F;
  background: rgba(28,107,90,.12);
  border-color: rgba(28,107,90,.22);
}
.pdm-drive-status.connecting {
  color: #245B88;
  background: rgba(80,150,210,.13);
  border-color: rgba(80,150,210,.22);
}
.pdm-drive-status.connected {
  color: #155E42;
  background: rgba(33,140,88,.14);
  border-color: rgba(33,140,88,.25);
}
.pdm-drive-status.error {
  color: #8A2C2C;
  background: rgba(210,70,70,.12);
  border-color: rgba(210,70,70,.22);
}
.pdm-drive-top-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.pdm-drive-btn {
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 12px;
  transition: transform .12s, opacity .12s, background .12s;
  white-space: nowrap;
}
.pdm-drive-btn:hover { opacity: .88; transform: translateY(-1px); }
.pdm-drive-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.pdm-drive-btn.ghost {
  background: rgba(26,26,46,.06);
  color: var(--ink2);
  border: 1px solid rgba(26,26,46,.10);
}
.pdm-drive-btn.small {
  height: 30px;
  border-radius: 9px;
  font-size: 11px;
}
.pdm-drive-settings-panel {
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(26,26,46,.075);
}
.pdm-drive-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.pdm-drive-card-title {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 850;
  color: var(--ink);
}
.pdm-drive-card-desc {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(26,26,46,.50);
}
.pdm-drive-form-shell.compact {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr);
  gap: 7px 9px;
  align-items: center;
}
.pdm-drive-form-shell label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  color: rgba(26,26,46,.44);
}
.pdm-drive-form-shell input {
  height: 30px;
  border: 1px solid rgba(26,26,46,.11);
  border-radius: 9px;
  padding: 0 9px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  outline: none;
}
.pdm-drive-form-shell input:focus {
  border-color: rgba(28,107,90,.30);
  box-shadow: 0 0 0 3px rgba(28,107,90,.08);
}
.pdm-drive-settings-actions {
  grid-column: 2 / 3;
  display: flex;
  gap: 7px;
  margin-top: 2px;
}
.pdm-drive-settings-hint {
  grid-column: 2 / 3;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  color: rgba(26,26,46,.48);
}
.pdm-drive-quick-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pdm-drive-chip {
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(26,26,46,.09);
  background: rgba(255,255,255,.62);
  color: rgba(26,26,46,.66);
  font-family: var(--sans);
  font-size: 10.8px;
  font-weight: 750;
  padding: 0 10px;
  cursor: pointer;
}
.pdm-drive-chip:hover { background: rgba(26,26,46,.055); }
.pdm-drive-list-shell {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(26,26,46,.12);
  background: rgba(255,255,255,.50);
  padding: 12px;
}
.pdm-drive-list-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  color: var(--ink2);
  margin-bottom: 6px;
}
.pdm-drive-empty {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(26,26,46,.40);
  line-height: 1.55;
}
.pdm-drive-folder-summary {
  margin-top: 11px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(26,26,46,.07);
  background: rgba(255,255,255,.56);
}
.pdm-drive-folder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pdm-drive-folder-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  color: var(--ink2);
}
.pdm-drive-folder-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  border: 1px solid rgba(26,26,46,.10);
  background: rgba(26,26,46,.05);
  color: var(--ink2);
}
.pdm-drive-folder-badge.empty {
  color: #7A5A20;
  background: rgba(255,216,120,.18);
  border-color: rgba(210,160,60,.20);
}
.pdm-drive-folder-badge.selected {
  color: #155E42;
  background: rgba(33,140,88,.12);
  border-color: rgba(33,140,88,.22);
}
.pdm-drive-folder-desc {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(26,26,46,.50);
}
.pdm-drive-chip.primary {
  background: rgba(28,107,90,.12);
  border-color: rgba(28,107,90,.18);
  color: #17614F;
}
.pdm-drive-chip.primary:hover {
  background: rgba(28,107,90,.17);
}
.pdm-drive-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pdm-drive-inline-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}
.pdm-drive-folder-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdm-drive-folder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26,26,46,.08);
  background: rgba(255,255,255,.74);
}
.pdm-drive-folder-item.active {
  border-color: rgba(28,107,90,.24);
  background: rgba(28,107,90,.08);
}
.pdm-drive-folder-meta {
  min-width: 0;
}
.pdm-drive-folder-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  color: var(--ink);
}
.pdm-drive-folder-id,
.pdm-drive-folder-date {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  color: rgba(26,26,46,.45);
  word-break: break-all;
}
.pdm-drive-folder-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdm-drive-folder-pick-btn {
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(26,26,46,.10);
  background: #fff;
  color: var(--ink2);
  font-family: var(--sans);
  font-size: 10.8px;
  font-weight: 800;
  padding: 0 10px;
  cursor: pointer;
}
.pdm-drive-folder-pick-btn:hover {
  background: rgba(26,26,46,.05);
}
.pdm-drive-delete-btn {
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(205,75,75,.18);
  background: rgba(255,235,235,.86);
  color: #B24A4A;
  font-family: var(--sans);
  font-size: 10.8px;
  font-weight: 800;
  padding: 0 10px;
  cursor: pointer;
}
.pdm-drive-delete-btn:hover {
  background: rgba(255,218,218,.96);
  border-color: rgba(205,75,75,.26);
}
.pdm-drive-delete-btn:disabled {
  opacity: .56;
  cursor: wait;
}
.pdm-drive-folder-pick-btn.active {
  background: rgba(28,107,90,.13);
  border-color: rgba(28,107,90,.24);
  color: #17614F;
}

.pdm-drive-upload-list,
.pdm-drive-html-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.pdm-drive-folder-list {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.pdm-drive-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26,26,46,.08);
  background: rgba(255,255,255,.74);
}
.pdm-drive-folder-pick-btn:disabled {
  opacity: .56;
  cursor: wait;
}

@media (max-width: 760px) {
  .pdm-drive-head.compact {
    align-items: stretch;
    flex-direction: column;
  }
  .pdm-drive-top-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .pdm-drive-form-shell.compact {
    grid-template-columns: 1fr;
  }
  .pdm-drive-settings-actions,
  .pdm-drive-settings-hint {
    grid-column: 1 / 2;
  }
}

.pdm-drive-html-item .pdm-drive-folder-name::before {
  content: "HTML";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 34px;
  padding: 0 6px;
  margin-right: 7px;
  border-radius: 999px;
  background: rgba(28,107,90,.10);
  color: #17614F;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  vertical-align: 1px;
}

/* Step50: compact Google Drive folder browser 6-column icon layout */
.pdm-drive-browser-shell .pdm-drive-folder-desc {
  margin-top: 4px;
  margin-bottom: 10px;
}
.pdm-drive-browser-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pdm-drive-browser-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 2px 2px;
}
.pdm-drive-browser-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px 7px;
  border-radius: 12px;
  border: 1px solid rgba(26,26,46,.08);
  background: rgba(255,255,255,.72);
  text-align: center;
  transition: background .15s, border-color .15s, transform .15s;
}
.pdm-drive-browser-item:hover {
  background: rgba(26,26,46,.04);
  transform: translateY(-1px);
}
.pdm-drive-browser-item.folder {
  background: rgba(255,250,238,.88);
  border-color: rgba(204,150,44,.16);
}
.pdm-drive-browser-item.file {
  background: rgba(247,252,250,.9);
  border-color: rgba(28,107,90,.12);
}
.pdm-drive-browser-visual {
  width: 54px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-bottom: 4px;
}
.pdm-drive-browser-visual .pdm-folder-icon {
  width: 52px;
  height: 40px;
}
.pdm-drive-browser-visual .pdm-folder-body {
  height: 32px;
}
.pdm-drive-browser-visual .pdm-folder-tab {
  width: 24px;
  height: 10px;
}
.pdm-drive-browser-file-icon {
  transform: scale(.68);
  transform-origin: center;
}
.pdm-drive-browser-meta {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pdm-drive-browser-name {
  width: 100%;
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 14px;
}
.pdm-drive-browser-sub {
  margin-top: 2px;
  width: 100%;
  font-family: var(--sans);
  font-size: 9.5px;
  line-height: 1.3;
  color: rgba(26,26,46,.42);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdm-drive-browser-actions {
  margin-top: auto;
  padding-top: 6px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pdm-drive-icon-action {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(26,26,46,.10);
  background: rgba(255,255,255,.78);
  color: var(--ink2);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26,26,46,.04);
}
.pdm-drive-icon-action:hover:not(:disabled) {
  background: rgba(26,26,46,.05);
  transform: translateY(-1px);
}
.pdm-drive-icon-action:disabled {
  opacity: .34;
  cursor: not-allowed;
  transform: none;
}
.pdm-drive-browser-create-card {
  border: 1.5px dashed rgba(26,26,46,.22);
  background: rgba(255,255,255,.48);
  cursor: pointer;
}
.pdm-drive-browser-create-card:hover {
  border-color: rgba(28,107,90,.38);
  background: rgba(28,107,90,.06);
}
.pdm-drive-browser-create-visual {
  width: 48px;
  height: 38px;
  border-radius: 11px;
  border: 1.5px dashed rgba(26,26,46,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: rgba(26,26,46,.46);
  background: rgba(255,255,255,.52);
}
.pdm-drive-browser-create-card:hover .pdm-drive-browser-create-visual {
  border-color: rgba(28,107,90,.40);
  color: #17614F;
}

.pdm-drive-browser-create-card.is-loading {
  pointer-events: none;
  opacity: .72;
  cursor: wait;
}
.pdm-drive-browser-create-card.is-loading .pdm-drive-browser-create-visual {
  animation: pdmDriveCreatePulse 1s ease-in-out infinite;
}
@keyframes pdmDriveCreatePulse {
  0%, 100% { transform: scale(1); opacity: .68; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 1100px) {
  .pdm-drive-browser-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .pdm-drive-browser-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 360px;
  }
  .pdm-drive-browser-item {
    min-height: 112px;
  }
}

/* Step59: DOCX to Podium HTML converter */
.pdm-docx-convert-shell {
  border-color: rgba(82, 116, 255, .12);
}
.pdm-docx-convert-body {
  font-family: var(--sans);
}
.pdm-docx-result {
  padding: 12px;
  border-radius: 14px;
  background: rgba(247,252,250,.92);
  border: 1px solid rgba(28,107,90,.10);
}
.pdm-docx-result-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink2);
  line-height: 1.4;
}
.pdm-docx-result-desc {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(26,26,46,.55);
}
.pdm-docx-result-meta {
  margin-top: 6px;
  font-size: 10.5px;
  color: rgba(26,26,46,.42);
}
.pdm-docx-result-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* Step60: Podium manuscript editor for DOCX/HWPX conversion */
.pdm-docx-editor-shell {
  border-color: rgba(28,107,90,.12);
}
.pdm-docx-editor-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--sans);
}
.pdm-docx-editor-meta {
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(247,252,250,.9);
  border: 1px solid rgba(28,107,90,.10);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(26,26,46,.55);
}
.pdm-docx-editor-label {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: rgba(26,26,46,.58);
  letter-spacing: -.01em;
}
.pdm-docx-editor-title-input,
.pdm-docx-editor-textarea {
  width: 100%;
  border: 1px solid rgba(26,26,46,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: var(--ink2);
  font-family: var(--sans);
  outline: none;
}
.pdm-docx-editor-title-input {
  height: 36px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 700;
}
.pdm-docx-editor-textarea {
  min-height: 260px;
  max-height: 46vh;
  resize: vertical;
  padding: 12px;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
}
.pdm-docx-editor-title-input:focus,
.pdm-docx-editor-textarea:focus {
  border-color: rgba(28,107,90,.28);
  box-shadow: 0 0 0 3px rgba(28,107,90,.07);
}
.pdm-docx-editor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pdm-docx-editor-help {
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(26,26,46,.42);
}
@media (max-width: 760px) {
  .pdm-docx-editor-textarea {
    min-height: 220px;
    max-height: 42vh;
  }
}


/* Step61: simplified DOCX editor, Lab manuscript-like page, and direct Drive folder picker */
.pdm-docx-page-wrap{
  max-height: 52vh;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(26,26,46,.08);
  border-radius: 14px;
  background: rgba(246,242,235,.64);
}
.pdm-docx-manuscript-page{
  width: min(100%, 620px);
  min-height: 560px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26,26,46,.10);
  border-radius: 4px;
  padding: 42px 46px;
}
.pdm-docx-manuscript-editor{
  min-height: 460px;
  outline: none;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink2);
}
.pdm-docx-manuscript-editor:empty::before{
  content:'DOCX 원고가 여기에 표시됩니다.';
  color: rgba(26,26,46,.36);
  font-style: italic;
}
.pdm-docx-editor-actions .primary{
  background: var(--accent2);
  color: #fff;
  border-color: rgba(28,107,90,.24);
}
.pdm-docx-drive-picker-shell{
  margin-top: 10px;
  border: 1px solid rgba(26,26,46,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  padding: 10px;
}
.pdm-docx-drive-picker-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.pdm-docx-drive-picker-title{
  font-family:var(--sans);
  font-size:12px;
  font-weight:800;
  color:var(--ink2);
}
.pdm-docx-drive-picker-path{
  margin-top:3px;
  font-family:var(--sans);
  font-size:10.5px;
  color:rgba(26,26,46,.48);
  line-height:1.45;
}
.pdm-docx-drive-picker-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
}
.pdm-docx-drive-picker-body{
  max-height:260px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.pdm-docx-drive-folder-row{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(26,26,46,.08);
  border-radius:12px;
  background:rgba(255,250,238,.86);
  color:var(--ink2);
  font-family:var(--sans);
  font-size:12px;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}
.pdm-docx-drive-folder-row:hover{
  background:rgba(255,250,238,1);
  border-color:rgba(204,150,44,.22);
}
.pdm-docx-drive-folder-icon{font-size:16px;}
@media(max-width:760px){
  .pdm-docx-page-wrap{max-height:50vh;padding:8px;}
  .pdm-docx-manuscript-page{min-height:480px;padding:30px 24px;}
  .pdm-docx-manuscript-editor{min-height:380px;font-size:15.5px;}
}


/* Step62: cleaner DOCX manuscript header, settings, verse hanging indent */
.pdm-docx-title-panel{display:flex;flex-direction:column;align-items:center;gap:6px;margin:8px 0 12px;}
.pdm-docx-title-only{max-width:560px;text-align:center;border:none !important;background:transparent !important;box-shadow:none !important;font-family:var(--serif);font-size:24px !important;font-weight:800;color:var(--ink2);padding:4px 6px !important;}
.pdm-docx-editor-meta-input{width:min(360px,100%);text-align:center;border:none;background:transparent;font-family:var(--sans);font-size:12px;font-weight:700;color:rgba(26,26,46,.54);outline:none;padding:2px 6px;}
.pdm-docx-editor-settings{width:min(560px,100%);display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:4px;padding:8px 10px;border:1px solid rgba(26,26,46,.08);border-radius:14px;background:rgba(255,250,238,.78);}
.pdm-docx-editor-settings label,.pdm-docx-size-stepper{display:flex;align-items:center;gap:6px;font-family:var(--sans);font-size:11px;font-weight:800;color:rgba(26,26,46,.58);}
.pdm-docx-setting-label{white-space:nowrap;}
.pdm-docx-size-btn{width:28px;height:28px;border:1px solid rgba(26,26,46,.12);border-radius:10px;background:#fffaf2;color:var(--ink2);font-size:15px;font-weight:900;line-height:1;cursor:pointer;}
.pdm-docx-size-btn:hover{background:#fff3dd;}
.pdm-docx-size-label{min-width:38px;text-align:center;font-size:11px;font-weight:900;color:rgba(26,26,46,.64);}
.pdm-docx-editor-settings select{height:28px;border:1px solid rgba(26,26,46,.12);border-radius:10px;background:#fff;color:var(--ink2);font-family:var(--sans);font-size:11px;font-weight:800;padding:0 8px;}
.pdm-docx-page-custom{width:min(100%,620px);}.pdm-docx-page-a4p{width:min(100%,620px);min-height:877px;}.pdm-docx-page-a4l{width:min(100%,820px);min-height:580px;}.pdm-docx-page-ipad13p{width:min(100%,700px);min-height:940px;}.pdm-docx-page-ipad11p{width:min(100%,610px);min-height:860px;}
.pdm-docx-manuscript-editor .sermon-title,.pdm-docx-manuscript-editor .sermon-meta{display:none !important;}
.pdm-docx-manuscript-editor .sermon-verse-line{display:grid;grid-template-columns:3.4em minmax(0,1fr);column-gap:.45em;align-items:start;font-weight:700;line-height:1.78;margin:6px 0;}
.pdm-docx-manuscript-editor .sermon-verse-no{white-space:nowrap;}.pdm-docx-manuscript-editor .sermon-verse-text{min-width:0;}
.pdm-recent-drive-picker-backdrop{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:rgba(26,26,46,.28);padding:18px;}
.pdm-recent-drive-picker-modal{width:min(480px,100%);max-height:min(76vh,620px);display:flex;flex-direction:column;border-radius:22px;border:1px solid rgba(26,26,46,.10);background:#fffaf2;box-shadow:0 30px 90px rgba(26,26,46,.22);overflow:hidden;}
.pdm-recent-drive-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 16px 10px;border-bottom:1px solid rgba(26,26,46,.08);}.pdm-recent-drive-picker-title{font-family:var(--sans);font-size:13px;font-weight:900;color:var(--ink2);}.pdm-recent-drive-picker-path{margin-top:4px;font-family:var(--sans);font-size:11px;font-weight:700;color:rgba(26,26,46,.52);line-height:1.45;}
.pdm-recent-drive-picker-actions{display:flex;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid rgba(26,26,46,.06);}.pdm-recent-drive-picker-body{overflow:auto;padding:10px 16px 16px;display:flex;flex-direction:column;gap:7px;}.pdm-folder-dropdown-item svg{flex:0 0 auto;}

/* Step63: DOCX editor should mirror Lab manuscript page and keep recent list visible */
.pdm-docx-editor-meta{display:none;}
.pdm-docx-manuscript-page{background:#fffefb;border:1px solid rgba(26,26,46,.08);box-shadow:0 16px 46px rgba(26,26,46,.08);}
.pdm-docx-manuscript-editor h2{font-family:var(--serif);font-size:1.18em;font-weight:800;margin:1.2em 0 .45em;color:var(--ink2);}
.pdm-docx-manuscript-editor p{font-family:var(--serif);line-height:1.82;margin:0 0 .72em;color:var(--ink2);}
.pdm-docx-manuscript-editor hr.sermon-divider{border:none;border-top:1px solid rgba(26,26,46,.18);margin:1.35em 0;}
.pdm-recent-list{border-top:1px solid rgba(26,26,46,.08);padding-top:12px;}
.pdm-recent-item{display:flex;}


/* Step64: recent file rendering recovery and DOCX editor readability tweaks */
#pdmRecentList.pdm-recent-list{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:12px !important;
  border-top:1px solid rgba(26,26,46,.10) !important;
  padding-top:12px !important;
  min-height:92px;
}
#pdmRecentList .pdm-recent-item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-height:116px !important;
  overflow:visible !important;
}
.pdm-docx-size-stepper{
  justify-content:center;
  align-items:center;
  gap:10px !important;
  min-width:132px;
}
.pdm-docx-size-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  vertical-align:middle;
  line-height:1 !important;
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif !important;
  font-size:16px !important;
}
.pdm-docx-size-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px !important;
  height:28px;
  font-variant-numeric:tabular-nums;
}
.pdm-docx-editor-meta-input{
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif !important;
  font-variant-numeric:tabular-nums;
  letter-spacing:.035em;
  font-weight:800 !important;
  color:rgba(26,26,46,.62) !important;
}
.pdm-docx-manuscript-editor .sermon-verse-no{
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif !important;
  font-variant-numeric:tabular-nums;
  font-weight:900;
}

/* Step65: recent-file Google Drive menu mini icon */
.pdm-drive-mini-svg{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;margin-right:6px}
.pdm-drive-mini-svg img{width:16px;height:16px;object-fit:contain;display:block}

/* Step66: ensure the recent HTML Google Drive picker really closes even though the backdrop uses flex display. */
.pdm-recent-drive-picker-backdrop[hidden]{display:none!important;}

/* Step68: preserve document structure when importing DOCX/HWPX into the Podium manuscript editor. */
.pdm-docx-manuscript-editor strong,
.pdm-docx-manuscript-editor b{
  font-weight:800;
}
.pdm-docx-manuscript-editor em,
.pdm-docx-manuscript-editor i{
  font-style:italic;
}
.pdm-docx-manuscript-editor .sermon-blank{
  min-height:1.05em;
  margin:0 0 .95em;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-weight:800;
  margin:.62em 0;
  line-height:1.78;
}
.pdm-docx-manuscript-editor .sermon-verse-line{
  display:grid !important;
  grid-template-columns:3.35em minmax(0,1fr) !important;
  column-gap:.55em !important;
  align-items:start !important;
  margin:.3em 0 !important;
  line-height:1.78 !important;
}
.pdm-docx-manuscript-editor .sermon-verse-text{
  min-width:0;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.pdm-docx-size-stepper{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
}
.pdm-docx-size-btn{
  transform:translateY(0);
}

/* Step69 DOCX/HWPX structured manuscript readability fixes */
.pdm-docx-manuscript-editor .sermon-blank{height:1.05em;margin:0 0 .95em !important;}
.pdm-docx-manuscript-editor .sermon-verse-line{display:grid !important;grid-template-columns:3.8em minmax(0,1fr) !important;column-gap:.7em !important;align-items:start !important;}
.pdm-docx-manuscript-editor .sermon-verse-no{font-family:"Noto Sans KR","Apple SD Gothic Neo",system-ui,sans-serif !important;font-weight:800 !important;color:rgba(26,26,46,.72) !important;}
.pdm-docx-manuscript-editor .sermon-verse-text{font-family:var(--serif) !important;font-weight:700 !important;line-height:1.82 !important;}
.pdm-docx-manuscript-editor strong{font-weight:800 !important;}
.pdm-docx-size-stepper{align-items:center !important;}
.pdm-docx-size-btn{display:inline-flex !important;align-items:center !important;justify-content:center !important;vertical-align:middle !important;}

/* Step71: DOCX/HWPX structured manuscript import rendering */
.pdm-docx-manuscript-editor{
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
.pdm-docx-manuscript-editor p{
  max-width:100%;
}
.pdm-docx-manuscript-editor .sermon-verse-line{
  display:grid !important;
  grid-template-columns:4.1em minmax(0,1fr) !important;
  column-gap:.75em !important;
  align-items:start !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
}
.pdm-docx-manuscript-editor .sermon-verse-no{
  white-space:nowrap !important;
  text-align:left;
  line-height:1.82 !important;
}
.pdm-docx-manuscript-editor .sermon-verse-text{
  min-width:0 !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
.pdm-docx-manuscript-editor .sermon-verse-text br,
.pdm-docx-manuscript-editor p br{
  display:block;
  content:"";
  margin-top:.35em;
}


/* Step73: keep imported DOCX/HWPX text close to source alignment; do not auto-bold scripture quotes or verse bodies. */
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-weight:inherit !important;
}
.pdm-docx-manuscript-editor .sermon-verse-line{
  font-weight:inherit !important;
}
.pdm-docx-manuscript-editor .sermon-verse-text{
  font-weight:inherit !important;
}
.pdm-docx-manuscript-editor [data-bl-align="center"]{text-align:center !important;}
.pdm-docx-manuscript-editor [data-bl-align="right"]{text-align:right !important;}
.pdm-docx-manuscript-editor [data-bl-align="justify"]{text-align:justify !important;}
.pdm-docx-manuscript-editor [data-bl-align="left"]{text-align:left !important;}

/* Step74: HWPX import should resemble the original Hangul/PDF page layout instead of being reflowed as Lab sermon blocks. */
.pdm-docx-manuscript-editor .hwpx-source-document{
  font-family:"Noto Sans KR","Apple SD Gothic Neo",system-ui,-apple-system,BlinkMacSystemFont,sans-serif !important;
  line-height:1.62 !important;
  color:var(--ink2);
}
.pdm-docx-manuscript-editor .hwpx-source-p{
  font-family:"Noto Sans KR","Apple SD Gothic Neo",system-ui,-apple-system,BlinkMacSystemFont,sans-serif !important;
  line-height:1.62 !important;
  margin:0 0 .18em !important;
  white-space:pre-wrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
}
.pdm-docx-manuscript-editor .hwpx-source-titleline{
  text-align:center;
  font-weight:700;
  font-size:1.18em;
  margin:.2em 0 .55em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-heading{
  font-weight:700;
  margin:1.05em 0 .3em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-blank{
  height:1em;
  margin:0 0 .35em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-p br{
  display:block;
  content:"";
  margin:0 !important;
}


/* Step75: repaired HWPX/PDF-like layout when HWPX XML arrives as flattened paragraphs. */
.pdm-docx-manuscript-editor .hwpx-source-document-repaired{
  max-width:760px;
  margin:0 auto;
  color:#30334f;
  font-size:18px;
  line-height:1.72 !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-p{
  margin:0 0 .38em !important;
  line-height:1.72 !important;
  white-space:pre-wrap !important;
  word-break:keep-all !important;
  overflow-wrap:break-word !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-meta-top{
  font-weight:700;
  margin-bottom:.05em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-meta-ref{
  font-weight:600;
  margin-bottom:.55em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-titleline{
  text-align:left !important;
  font-weight:700;
  font-size:1.08em;
  margin:.15em 0 .72em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-heading{
  font-weight:700;
  margin:1.08em 0 .25em !important;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-verse-plain{
  padding-left:0;
  margin:.12em 0 !important;
  font-weight:600;
}
.pdm-docx-manuscript-editor .hwpx-source-document-repaired .hwpx-source-blank{
  height:.9em;
  margin:0 !important;
}


/* Step78: DOCX/HWPX completed-sermon format button */
.pdm-docx-sermon-format-btn{
  border:1px solid rgba(28,107,90,.22);
  background:#f4fbf8;
  color:#1c6b5a;
  border-radius:12px;
  padding:8px 12px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.pdm-docx-sermon-format-btn:hover{ background:#e9f7f1; }
.pdm-docx-manuscript-editor h2{
  font-size:1.16em;
  line-height:1.55;
  margin:1.4em 0 .55em;
  font-weight:800;
}

/* Step79: completed-sermon format cleanup
   - keep Bible quotations bold but remove stray HWPX run numbers in JS
   - use Korean manuscript-style justification
   - increase paragraph spacing for readability */
.pdm-docx-manuscript-editor .sermon-body-p,
.pdm-docx-manuscript-editor p:not(.sermon-blank):not(.sermon-verse-line),
.pdm-docx-manuscript-editor .sermon-scripture-quote,
.pdm-docx-manuscript-editor .sermon-verse-text{
  text-align:justify !important;
  text-justify:inter-word;
}
.pdm-docx-manuscript-editor p:not(.sermon-blank),
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  margin-bottom:1.08em !important;
}
.pdm-docx-manuscript-editor .sermon-blank{
  height:1.55em !important;
  margin:0 0 1.45em !important;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-weight:800 !important;
}
.pdm-docx-manuscript-editor .sermon-verse-line{
  margin-top:.58em !important;
  margin-bottom:.58em !important;
}


/* Step80: sermon format cleanup and editor size control
   - remove visual crowding inside lines while increasing paragraph gaps
   - make text-size stepper affect imported/formatted manuscript text
   - center plus/minus controls away from button edges */
.pdm-docx-manuscript-page,
.pdm-docx-manuscript-editor{
  --pdm-docx-font-size:16px;
}
.pdm-docx-manuscript-editor,
.pdm-docx-manuscript-editor p,
.pdm-docx-manuscript-editor .sermon-body-p,
.pdm-docx-manuscript-editor .sermon-scripture-quote,
.pdm-docx-manuscript-editor .sermon-verse-line,
.pdm-docx-manuscript-editor .sermon-verse-text{
  font-size:var(--pdm-docx-font-size,16px) !important;
}
.pdm-docx-manuscript-editor h2{
  font-size:calc(var(--pdm-docx-font-size,16px) * 1.08) !important;
  line-height:1.48 !important;
  margin:1.85em 0 .72em !important;
}
.pdm-docx-manuscript-editor .sermon-body-p,
.pdm-docx-manuscript-editor p:not(.sermon-blank):not(.sermon-verse-line),
.pdm-docx-manuscript-editor .sermon-scripture-quote,
.pdm-docx-manuscript-editor .sermon-verse-line{
  line-height:1.64 !important;
  margin-top:0 !important;
  margin-bottom:1.72em !important;
  text-align:justify !important;
  text-justify:inter-word;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-weight:800 !important;
}
.pdm-docx-manuscript-editor .sermon-blank{
  height:1.9em !important;
  margin:0 0 1.8em !important;
}
.pdm-docx-size-stepper{
  gap:9px !important;
  min-height:34px !important;
}
.pdm-docx-size-btn{
  width:30px !important;
  height:30px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:30px !important;
  font-size:17px !important;
  font-weight:900 !important;
  transform:none !important;
  vertical-align:middle !important;
}
.pdm-docx-size-label{
  height:30px !important;
  line-height:30px !important;
}


/* Step82: final sermon-format spacing and title/meta cleanup style */
.pdm-docx-manuscript-editor .sermon-body-p,
.pdm-docx-manuscript-editor p:not(.sermon-blank):not(.sermon-verse-line),
.pdm-docx-manuscript-editor .sermon-scripture-quote,
.pdm-docx-manuscript-editor .sermon-verse-line{
  line-height:1.56 !important;
  margin-bottom:2.05em !important;
  text-align:justify !important;
  text-justify:inter-word;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-weight:800 !important;
}
.pdm-docx-manuscript-editor h2{
  margin-top:2.15em !important;
  margin-bottom:1.05em !important;
}
.pdm-docx-manuscript-editor .sermon-blank{
  height:2.15em !important;
  margin:0 0 2.05em !important;
}

/* Step86: completed-sermon scripture spacing cleanup
   - Bible quotation text has same font size as body text and bold only
   - verse-to-verse spacing is tight
   - gap after the final verse is a normal paragraph gap, not a large blank */
.pdm-docx-manuscript-editor .sermon-scripture-quote{
  font-size:var(--pdm-docx-font-size,16px) !important;
  font-weight:800 !important;
  line-height:1.38 !important;
  margin-top:0 !important;
  margin-bottom:.32em !important;
  text-align:justify !important;
  text-justify:inter-word;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote + .sermon-scripture-quote{
  margin-top:0 !important;
}
.pdm-docx-manuscript-editor .sermon-scripture-quote + .sermon-body-p,
.pdm-docx-manuscript-editor .sermon-scripture-quote + p:not(.sermon-blank):not(.sermon-scripture-quote){
  margin-top:1.65em !important;
}

/* Step88: Google Drive 중심 포디움 정렬 */
#pdmLocalFolderArea { display: none !important; }
#pdmDriveSection { order: 1; margin-top: 0 !important; margin-bottom: 24px; }
#pdmRecentSection { order: 2; margin-top: 0; }
#pdmTrashSection { order: 3; }
.pdm-drive-main-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 14px; }
.pdm-drive-settings-tools-title { margin:14px 0 8px; font-size:12px; font-weight:700; color:var(--tx2); }
.pdm-drive-browser-shell { display:block; }
.pdm-drive-browser-file-icon { display:flex; align-items:center; justify-content:center; }
.pdm-drive-section.compact .pdm-drive-head.compact { align-items:center; }
.pdm-drive-section .pdm-drive-folder-summary { margin-top:10px; }
.pdm-drive-browser-item.file .pdm-drive-browser-actions { gap:6px; }

/* Step89: keep BibleLab folder details inside Drive settings only. */
.pdm-drive-folder-summary-in-settings{
  margin:12px 0 14px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(26,26,46,.08);
}

/* Step95: Drive refresh button moved beside the Drive browser title. */
.pdm-drive-browser-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.pdm-drive-chip.small,
.pdm-drive-browser-refresh {
  height: 24px;
  padding: 0 9px;
  font-size: 10.2px;
}
.pdm-drive-chip:disabled,
.pdm-drive-browser-refresh:disabled {
  opacity: .46;
  cursor: not-allowed;
}

/* Step96: keep BibleLab folder list inside Drive settings panel. */
.pdm-drive-folder-list-in-settings{ margin-top:12px; }



/* Step98: Drive browser path and compact count summary. */
.pdm-drive-browser-title-stack{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:0;
}
.pdm-drive-browser-path{
  max-width:420px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:var(--sans);
  font-size:10.5px;
  font-weight:600;
  color:rgba(26,26,46,.46);
}
.pdm-drive-browser-summary{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  max-width:100%;
  min-height:24px;
  margin:2px 0 10px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(28,107,90,.08);
  color:#17614F;
  font-family:var(--sans);
  font-size:10.5px;
  font-weight:800;
}
.pdm-drive-browser-empty-card{
  grid-column:span 5;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:116px;
}

/* Step97: compact Drive settings accordions. */
.pdm-drive-settings-toggle { display:inline-flex; align-items:center; gap:5px; }
.pdm-gear-icon { font-size:12px; line-height:1; }
.pdm-drive-settings-tabs { margin-top:0; }
.pdm-drive-accordion-tab.active,
.pdm-drive-settings-toggle.active {
  background: rgba(28,107,90,.92) !important;
  border-color: rgba(28,107,90,.92) !important;
  color: #fff !important;
}
.pdm-drive-accordion-panel {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(28,107,90,.12);
  background: rgba(255,255,255,.72);
}
.pdm-drive-accordion-panel .pdm-drive-folder-summary-in-settings {
  margin-top: 0;
}


/* Step99: use the current Drive directory path as the main browser heading. */
.pdm-drive-browser-shell .pdm-drive-list-head {
  align-items: center;
  margin-bottom: 5px;
}
.pdm-drive-browser-title-row {
  flex: 1 1 auto;
}
.pdm-drive-browser-title-stack {
  width: 100%;
}
#pdmDriveBrowserTitle.pdm-drive-list-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  margin-bottom: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(28,107,90,.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
}
#pdmDriveBrowserPath {
  display: none !important;
}
.pdm-drive-browser-head-actions {
  margin-left: auto;
}


/* Step101: compact Drive path pill and remove folder/file count summary. */
#pdmDriveBrowserSummary { display: none !important; }
.pdm-drive-browser-shell { padding-top: 10px; }
.pdm-drive-browser-shell .pdm-drive-browser-list { padding-top: 2px; }


/* Step103: 기존 포디움 자체 폴더 UI 완전 비활성화. 최근 파일과 휴지통은 유지합니다. */
#pdmLocalFolderArea,
#pdmFolderGrid,
#pdmFolderPanel,
#pdmColorPicker {
  display:none !important;
}
#pdmRecentSection {
  margin-top: 0 !important;
}
#pdmRecentTitle::before {
  content: "";
}
.pdm-drive-browser-title-stack {
  min-width: 0;
}

/* Step152: align Podium recent-file 3-dot menu icons and labels */
.pdm-recent-dropdown .pdm-folder-dropdown-item {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  justify-items: start !important;
  gap: 8px !important;
  text-align: left !important;
}
.pdm-recent-dropdown .pdm-folder-dropdown-item svg,
.pdm-recent-dropdown .pdm-folder-dropdown-item > span:first-child {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex: 0 0 18px !important;
}
.pdm-recent-dropdown .pdm-folder-dropdown-item > span:last-child {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}

/* alpha_v02: Drive 탐색 경로(breadcrumb) 클릭 이동 */
#pdmDriveBrowserTitle .pdm-drive-crumb {
  cursor: pointer;
  border-radius: 5px;
  padding: 1px 4px;
  transition: background .15s, color .15s;
}
#pdmDriveBrowserTitle .pdm-drive-crumb:not(.pdm-drive-crumb-current):hover {
  background: rgba(28,107,90,.1);
  color: var(--primary, #1C6B5A);
}
#pdmDriveBrowserTitle .pdm-drive-crumb-current {
  cursor: default;
}
#pdmDriveBrowserTitle .pdm-drive-crumb-sep {
  margin: 0 3px;
  opacity: .4;
  cursor: default;
}
