.dad-style-1 {
  /* Map variables to plugin settings */
  --accent: var(--dad-accent-color);
  --accent-dark: var(--dad-button-color);
  /* Colors */
  --bg-base: #ffffff;
  --bg-white: #ffffff;
  --bg-slate-50: #f8fafc;
  --bg-slate-100: #f1f5f9;
  --bg-slate-200: #e2e8f0;
  --bg-slate-800: #1e293b;
  --bg-slate-900: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --text-muted: #64748b;
  --border-default: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: rgba(var(--dad-accent-rgb), 0.6);
  --accent-light: rgba(var(--dad-accent-rgb), 0.12);
  --accent-glow: rgba(var(--dad-accent-rgb), 0.25);
  /* Solid Clean Flat Design */
  --glass-bg: #ffffff;
  --glass-border: #e2e8f0;
  --glass-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  --blur-md: none;
  --blur-lg: none;
  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.08);
  /* Typography */
  --font-body: var(--dad-font-family);
  --font-heading: var(--dad-font-family);
  /* Transitions */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Keyframes */
  /* Mesh Gradient Background */
  /* Sticky Glass Filter Bar */
  /* Indentation Depth Styles */
  /* ──── Document Cards ──── */
  /* ──── Standard Date ──── */
  /* ──── Emphatic Date Status Group ──── */
  /* ──── Action Buttons ──── */
  /* ──── Pagination ──── */
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(120%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
@keyframes blobBounce {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}
.dad-style-1 .dad-s1-animate-in {
  animation: fadeInUp 0.8s var(--ease-out) forwards;
  opacity: 0;
}
.dad-style-1 .dad-s1-delay-1 {
  animation-delay: 0.1s;
}
.dad-style-1 .bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(to bottom right, var(--bg-slate-50), var(--bg-slate-100));
}
.dad-style-1 .bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: blobBounce 15s infinite alternate ease-in-out;
}
.dad-style-1 .bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--dad-accent-rgb), 0.15), transparent 70%);
  top: -100px;
  right: -100px;
}
.dad-style-1 .bg-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
  bottom: -150px;
  left: -200px;
  animation-delay: -5s;
}
.dad-style-1 .bg-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}
.dad-style-1 .dad-s1-main-container {
  max-width: 100%;
  margin: 0 auto;
}

.dad-style-1 .dad-s1-filter-bar {
  position: sticky;
  top: 1rem;
  z-index: 40;
  margin-bottom: 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 16px 24px;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s var(--ease-out);
}
.dad-style-1 .dad-s1-filter-bar:focus-within {
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--accent-glow);
  background: rgba(255, 255, 255, 0.85);
}
.dad-style-1 .dad-s1-filter-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .dad-style-1 .dad-s1-filter-row {
    flex-direction: row;
    align-items: center;
  }
}
.dad-style-1 .dad-s1-search-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
}
.dad-style-1 .dad-s1-search-input {
  width: 100%;
  height: 52px;
  padding: 0 120px 0 48px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-body);
}
@media (min-width: 768px) {
  .dad-style-1 .dad-s1-search-input {
    font-size: 0.9rem;
    height: 48px;
  }
}
.dad-style-1 .dad-s1-search-input::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}
.dad-style-1 .dad-s1-search-input:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.9);
}
.dad-style-1 .dad-s1-search-input:focus {
  background: var(--bg-base);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(var(--dad-accent-rgb), 0.1);
}
.dad-style-1 .dad-s1-search-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.dad-style-1 .dad-s1-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: color 0.3s;
}
.dad-style-1 .dad-s1-search-input:focus ~ .dad-s1-search-icon {
  color: var(--accent);
}
.dad-style-1 .dad-s1-search-actions {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 700px) {
  .dad-style-1 .dad-s1-search-actions {
    display: none;
  }
}
.dad-style-1 .dad-s1-search-divider {
  width: 1px;
  height: 20px;
  background: var(--border-default);
}
.dad-style-1 .kbd-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.4;
  font-family: var(--font-body);
  pointer-events: none;
}
.dad-style-1 .dad-s1-clear-search {
  padding: 6px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.dad-style-1 .dad-s1-clear-search:hover {
  background: rgba(241, 245, 249, 0.8);
  color: var(--text-primary);
}
.dad-style-1 .dad-s1-clear-search svg {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.dad-style-1 .dad-s1-clear-search:hover svg {
  color: var(--text-primary);
}
.dad-style-1 .dad-s1-view-toggle {
  display: flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.6);
  border-radius: var(--radius-md);
  padding: 4px;
  border: 1px solid var(--border-default);
}
.dad-style-1 .dad-s1-view-btn {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-tertiary);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dad-style-1 .dad-s1-view-btn svg {
  width: 16px;
  height: 16px;
}
.dad-style-1 .dad-s1-view-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.5);
}
.dad-style-1 .dad-s1-view-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dad-style-1 .dad-s1-view-btn.active {
  background: var(--bg-white);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}
.dad-style-1 .dad-s1-custom-dropdown {
  position: relative;
  min-width: 280px;
  display: none;
}
@media (min-width: 768px) {
  .dad-style-1 .dad-s1-custom-dropdown {
    display: block;
  }
}
.dad-style-1 .dad-s1-dropdown-trigger {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.dad-style-1 .dad-s1-dropdown-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dad-style-1 .dad-s1-dropdown-trigger:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.9);
}
.dad-style-1 .dad-s1-dropdown-trigger.open {
  border-color: var(--accent);
  background: var(--bg-base);
  box-shadow: 0 4px 12px rgba(var(--dad-accent-rgb), 0.1);
}
.dad-style-1 .dad-s1-dropdown-trigger .dad-s1-dd-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  transition: transform 0.4s var(--ease-bounce);
  pointer-events: none;
  flex-shrink: 0;
}
.dad-style-1 .dad-s1-dropdown-trigger.open .dad-s1-dd-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: var(--accent);
}
.dad-style-1 .dad-s1-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  max-width: 420px;
  width: max-content;
  box-sizing: border-box;
  z-index: 50;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
  animation: slideDown 0.3s var(--ease-bounce) forwards;
  transform-origin: top;
}
.dad-style-1 .dad-s1-dd-search-box {
  margin: -10px -10px 8px -10px;
  padding: 10px;
  border-bottom: 1px solid var(--border-default);
  position: sticky;
  top: -10px;
  background: var(--bg-white);
  z-index: 10;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.dad-style-1 .dad-s1-dd-search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.dad-style-1 .dad-s1-dd-search-box input:focus {
  border-color: var(--accent);
}
.dad-style-1 .dad-s1-dd-search-box input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.dad-style-1 .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  font-size: 0.875rem;
  color: var(--text-primary);
  position: relative;
  margin-bottom: 2px;
}
.dad-style-1 .dropdown-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.dad-style-1 .dropdown-item:hover {
  background: var(--bg-slate-50);
  padding-left: 18px;
}
.dad-style-1 .dropdown-item.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}
.dad-style-1 .dropdown-item.active:hover {
  padding-left: 14px;
}
.dad-style-1 .dropdown-item.depth-1 {
  padding-left: 32px;
}
.dad-style-1 .dropdown-item.depth-2 {
  padding-left: 48px;
}
.dad-style-1 .dropdown-item.depth-3 {
  padding-left: 64px;
}
.dad-style-1 .dropdown-item.depth-1:hover {
  padding-left: 38px;
}
.dad-style-1 .dropdown-item.depth-2:hover {
  padding-left: 54px;
}
.dad-style-1 .dropdown-item.depth-3:hover {
  padding-left: 70px;
}
.dad-style-1 .item-text {
  flex: 1;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
  pointer-events: none;
}
.dad-style-1 .item-count-badge {
  font-size: 11px;
  background: rgba(226, 232, 240, 0.8);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
  pointer-events: none;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
.dad-style-1 .dropdown-item.active .item-count-badge {
  background: rgba(var(--dad-accent-rgb), 0.2);
  color: var(--accent-dark);
}
.dad-style-1 .tree-connector {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.5;
}
.dad-style-1 .dropdown-item.active .tree-connector {
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 8px var(--accent-glow);
}
.dad-style-1 .dad-s1-desktop-filters {
  display: none;
  gap: 12px;
}
@media (min-width: 768px) {
  .dad-style-1 .dad-s1-desktop-filters {
    display: flex;
    align-items: center;
  }
}
.dad-style-1 .dad-s1-filter-select-wrapper {
  position: relative;
  min-width: 180px;
}
.dad-style-1 .dad-s1-filter-select {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 40px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-body);
}
.dad-style-1 .dad-s1-filter-select:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.9);
}
.dad-style-1 .dad-s1-filter-select:focus {
  border-color: var(--accent);
  background: var(--bg-base);
  box-shadow: 0 4px 12px rgba(var(--dad-accent-rgb), 0.1);
}
.dad-style-1 .dad-s1-filter-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.dad-style-1 .dad-s1-filter-select-wrapper .dad-s1-icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.dad-style-1 .dad-s1-filter-select-wrapper .dad-s1-icon-right {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.dad-style-1 .dad-s1-mobile-controls {
  display: flex;
  gap: 10px;
}
@media (min-width: 768px) {
  .dad-style-1 .dad-s1-mobile-controls {
    display: none;
  }
}
.dad-style-1 .dad-s1-mobile-control-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  font-family: var(--font-body);
  height: 52px;
}
.dad-style-1 .dad-s1-mobile-control-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: color 0.3s;
}
.dad-style-1 .dad-s1-mobile-control-btn:active {
  transform: scale(0.95);
  background: rgba(241, 245, 249, 0.9);
}
.dad-style-1 .dad-s1-mobile-control-btn.active-view {
  background: var(--accent-dark);
  color: var(--bg-white);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}
.dad-style-1 .dad-s1-mobile-control-btn.active-view svg {
  color: var(--bg-white);
}
.dad-style-1 .dad-s1-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
  animation: fadeIn 0.4s var(--ease-out);
}
.dad-style-1 .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}
.dad-style-1 .filter-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dad-style-1 .filter-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(0.95);
}
.dad-style-1 .filter-pill.active-path {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(var(--dad-accent-rgb), 0.2);
}
.dad-style-1 .filter-pill:not(.active-path) {
  background: var(--bg-base);
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.dad-style-1 .filter-pill .pill-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 6px;
  display: flex;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.dad-style-1 .filter-pill .pill-close:hover {
  opacity: 1;
  transform: scale(1.1);
}
.dad-style-1 .filter-pill .pill-close svg {
  width: 14px;
  height: 14px;
}
.dad-style-1 .path-separator {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  user-select: none;
}
.dad-style-1 .dad-s1-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 8px;
}
.dad-style-1 .dad-s1-results-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
}
.dad-style-1 .dad-s1-results-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-default);
}
.dad-style-1 .dad-s1-doc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dad-style-1 .dad-s1-doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .dad-style-1 .dad-s1-doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .dad-style-1 .dad-s1-doc-grid {
    grid-template-columns: repeat(var(--dad-grid-columns, 3), 1fr);
  }
}
.dad-style-1 .dad-s1-doc-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-radius: var(--radius-2xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-spring);
  animation: fadeInUp 0.6s var(--ease-out) forwards;
  opacity: 0;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.dad-style-1 .dad-s1-doc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-bounce);
  border-radius: 0 4px 4px 0;
}
.dad-style-1 .dad-s1-doc-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-xl), 0 10px 40px -10px var(--accent-light);
  transform: translateY(-4px) scale(1.01);
  border-color: var(--bg-white);
}
.dad-style-1 .dad-s1-doc-card:hover::before {
  transform: scaleY(1);
}
.dad-style-1 .dad-s1-doc-card-inner-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 640px) {
  .dad-style-1 .dad-s1-doc-card-inner-list {
    flex-direction: row;
    align-items: flex-start;
  }
}
.dad-style-1 .dad-s1-doc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.5));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-bounce);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), var(--shadow-sm);
}
.dad-style-1 .dad-s1-doc-card:hover .dad-s1-doc-icon {
  background: var(--accent-light);
  transform: scale(1.05) rotate(-3deg);
  border-color: rgba(var(--dad-accent-rgb), 0.3);
}
.dad-style-1 .dad-s1-doc-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-tertiary);
  transition: color 0.3s;
}
.dad-style-1 .dad-s1-doc-card:hover .dad-s1-doc-icon svg {
  color: var(--accent-dark);
}
.dad-style-1 .dad-s1-doc-content {
  flex: 1;
  min-width: 0;
}
.dad-style-1 .doc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dad-style-1 .doc-title {
  font-family: var(--dad-font-family) !important;
  font-size: var(--dad-title-font-size, 1.1rem);
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.dad-style-1 .doc-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.dad-style-1 .doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-bounce);
  cursor: pointer;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-xs);
}
.dad-style-1 .doc-tag:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(0.95);
  box-shadow: var(--shadow-sm);
}
.dad-style-1 .doc-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dad-style-1 .doc-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.85rem;
  align-items: center;
  color: var(--text-tertiary);
}
.dad-style-1 .date-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.dad-style-1 .date-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}
.dad-style-1 .date-status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}
.dad-style-1 .date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid var(--border-default);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.dad-style-1 .badge-open .live-dot {
    display: none;
}
.dad-style-1 .badge-close svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #EF4444;
}
.dad-style-1 .doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .dad-style-1 .dad-s1-doc-list .doc-actions {
    width: 100%;
    padding-top: 20px;
    border-top: 1px dashed var(--border-default);
    margin-top: 8px;
  }
  .dad-style-1 .dad-s1-doc-list .action-btn {
    flex: 1;
    justify-content: center;
    padding: 12px;
  }
}
.dad-style-1 .action-btn {
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  font-family: var(--font-body);
  box-shadow: var(--shadow-xs);
}
.dad-style-1 .action-btn:hover {
  background: var(--accent-dark);
  color: var(--bg-white);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
  transform: translateY(-2px);
}
.dad-style-1 .action-btn:active {
  transform: translateY(0) scale(0.96);
}
.dad-style-1 .action-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dad-style-1 .action-btn svg {
  width: 16px;
  height: 16px;
}
.dad-style-1 .dad-s1-doc-grid .dad-s1-doc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.dad-style-1 .dad-s1-doc-grid .doc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dad-style-1 .dad-s1-doc-grid .dad-s1-doc-icon {
  margin: 24px 24px 0 24px;
}
.dad-style-1 .dad-s1-doc-grid .dad-s1-doc-content {
  flex: 1;
  margin-bottom: 20px;
}
.dad-style-1 .dad-s1-doc-grid .doc-actions {
  border-top: 1px dashed var(--border-default);
  padding-top: 20px;
  width: 100%;
}
.dad-style-1 .dad-s1-doc-grid .action-btn {
  flex: 1;
  justify-content: center;
  padding: 12px;
}
.dad-style-1 .dad-s1-pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.dad-style-1 .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: all 0.2s var(--ease-bounce);
  font-family: var(--font-body);
}
.dad-style-1 .page-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.dad-style-1 .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dad-style-1 .page-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dad-style-1 .page-btn.active {
  background: var(--accent-dark);
  color: var(--bg-white);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}
.dad-style-1 .page-btn svg {
  width: 16px;
  height: 16px;
}
.dad-style-1 .dad-s1-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.dad-style-1 .dad-s1-empty-state {
  text-align: center;
  padding: 6rem 1rem;
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}
.dad-style-1 .dad-s1-empty-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
}
.dad-style-1 .dad-s1-empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(241, 245, 249, 0.6));
  backdrop-filter: var(--blur-md);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.dad-style-1 .dad-s1-empty-icon svg {
  width: 44px;
  height: 44px;
  color: var(--text-tertiary);
}
.dad-style-1 .dad-s1-empty-icon-ring {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 2px dashed rgba(100, 116, 139, 0.4);
  animation: pulse-ring 3s ease-out infinite;
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3) rotate(45deg);
    opacity: 0;
  }
}
.dad-style-1 .dad-s1-empty-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.dad-style-1 .dad-s1-empty-text {
  color: var(--text-tertiary);
  font-size: 1rem;
  max-width: 26rem;
  margin: 0 auto;
  line-height: 1.6;
}
.dad-style-1 .dad-s1-empty-btn {
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--accent-dark);
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  font-family: var(--font-body);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
}
.dad-style-1 .dad-s1-empty-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.5);
}
.dad-style-1 .dad-s1-empty-btn:active {
  transform: translateY(0) scale(0.96);
}
.dad-style-1 .dad-s1-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 60;
  transition: opacity 0.4s var(--ease-out);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dad-style-1 .dad-s1-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.dad-style-1 .dad-s1-filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--bg-white);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  padding: 0 24px calc(64px + env(safe-area-inset-bottom));
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-spring);
}
.dad-style-1 .dad-s1-filter-sheet.open {
  transform: translateY(0);
}
.dad-style-1 .dad-s1-sheet-handle {
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: var(--bg-slate-200);
  margin: 12px auto 0;
}
.dad-style-1 .dad-s1-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 28px;
  flex-shrink: 0;
}
.dad-style-1 .dad-s1-sheet-title {
  font-family: var(--dad-font-family) !important;
  font-size: 1.3rem;
  font-weight: 700;
}
.dad-style-1 .dad-s1-sheet-close {
  padding: 10px;
  border-radius: var(--radius-md);
  border: none;
  background: rgba(241, 245, 249, 0.8);
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
}
.dad-style-1 .dad-s1-sheet-close:hover {
  background: var(--bg-slate-200);
  transform: scale(1.05);
}
.dad-style-1 .dad-s1-sheet-close svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}
.dad-style-1 .dad-s1-sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}
.dad-style-1 .dad-s1-sheet-group {
  margin-bottom: 32px;
}
.dad-style-1 .dad-s1-sheet-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.dad-style-1 .dad-s1-mobile-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dad-style-1 .mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.2s;
  font-weight: 500;
  min-height: 52px;
  background: var(--bg-slate-50);
}
.dad-style-1 .mobile-cat-item:active {
  transform: scale(0.98);
}
.dad-style-1 .mobile-cat-item.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}
.dad-style-1 .mobile-cat-item.depth-1 {
  padding-left: 32px;
}
.dad-style-1 .mobile-cat-item.depth-2 {
  padding-left: 48px;
}
.dad-style-1 .mobile-cat-item.depth-3 {
  padding-left: 64px;
}
.dad-style-1 .dad-s1-sheet-apply {
  width: 100%;
  padding: 18px;
  background: var(--accent-dark);
  color: var(--bg-white);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  font-family: var(--font-body);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
}
.dad-style-1 .dad-s1-sheet-apply:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.dad-style-1 .dad-s1-sheet-apply:active {
  transform: scale(0.98) translateY(0);
}
.dad-style-1 #toastContainer {
  position: fixed;
  bottom: 24px;
  right: 16px;
  left: 16px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  align-items: center;
}
@media (min-width: 768px) {
  .dad-style-1 #toastContainer {
    top: 24px;
    right: 24px;
    left: auto;
    bottom: auto;
    align-items: flex-end;
  }
}
.dad-style-1 .toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--blur-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
  animation: slideInRight 0.5s var(--ease-spring) forwards, slideOutRight 0.4s var(--ease-out) 3.5s forwards;
  pointer-events: auto;
  width: fit-content;
  max-width: 100%;
}
.dad-style-1 .toast-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}
.dad-style-1 .toast-icon svg {
  width: 16px;
  height: 16px;
  color: #059669;
}
.dad-style-1 .toast-action {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.dad-style-1 .hidden {
  display: none !important;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .dad-style-1 *,
  .dad-style-1 *::before,
  .dad-style-1 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ──── Featured Image ──── */
.dad-style-1 .dad-s1-doc-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-slate-100);
}
.dad-style-1 .dad-s1-doc-list .dad-s1-doc-image-wrapper {
  width: 100%;
  height: 180px;
}
@media (min-width: 640px) {
  .dad-style-1 .dad-s1-doc-list .dad-s1-doc-image-wrapper {
    width: 220px;
    height: 150px;
  }
}
.dad-style-1 .dad-s1-doc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.dad-style-1 .dad-s1-doc-card:hover .dad-s1-doc-image {
  transform: scale(1.05);
}
.dad-style-1 .dad-s1-doc-grid .dad-s1-doc-image-wrapper {
  margin-bottom: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border-default);
}

/* ──── Skeleton Loading ──── */
@keyframes dadS1Shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}
.dad-style-1 .dad-skeleton-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--border-default);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dad-style-1 .dad-s1-doc-list .dad-skeleton-card {
    flex-direction: row;
    align-items: flex-start;
}
.dad-style-1 .dad-skeleton-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}
.dad-style-1 .dad-skeleton-content {
    flex: 1;
}
.dad-style-1 .dad-skeleton-line {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.dad-style-1 .dad-skeleton-line.title { width: 70%; height: 24px; }
.dad-style-1 .dad-skeleton-line.tags { width: 50%; }
.dad-style-1 .dad-skeleton-line.date { width: 40%; margin-bottom: 0; }
.dad-style-1 .dad-skeleton-anim {
    background: var(--bg-slate-100);
    background-image: linear-gradient(to right, var(--bg-slate-100) 0%, var(--bg-slate-200) 20%, var(--bg-slate-100) 40%, var(--bg-slate-100) 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: dadS1Shimmer;
    animation-timing-function: linear;
}
