/* ===== Built for efficiency: card 1 (folders, tags, URLs) ===== */
.ai-highlights__media--folders {
   position: relative;
}

.ai-highlights__media--folders .ai-highlights__image {
   transform-origin: 60% 60%;
}

.folders-demo {
   position: absolute;
   left: 0;
   top: 0;
   width: 960px;
   height: 600px;
   transform: scale(var(--folders-scale, 1));
   transform-origin: 0 0;
   font-family: Nohemi, 'Plus Jakarta Sans', sans-serif;
   color: #151515;
   pointer-events: none;
}

/* Folders panel (matches the LeemaMEDIA folders UI) */
.folders-demo__panel {
   position: absolute;
   left: 42px;
   top: 112px;
   width: 400px;
   border-radius: 16px;
   background: #fff;
   box-shadow: 0 30px 60px -24px rgba(12, 42, 29, .45);
}

.folders-demo__head {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin: 0 12px;
   padding: 14px 6px 12px 10px;
   border-bottom: 1px solid #E4E2DA;
}

.folders-demo__title {
   font-size: 16px;
   color: #353433;
}

.folders-demo__add {
   display: grid;
   place-items: center;
   width: 30px;
   height: 30px;
   border-radius: 50%;
   background: #F5F3EA;
   color: #151515;
}

.folders-demo__add svg {
   width: 15px;
   height: 15px;
   display: block;
}

.folders-demo__list {
   padding: 10px 12px 14px;
}

.folders-demo__row {
   position: relative;
   display: flex;
   align-items: center;
   gap: 12px;
   height: 38px;
   margin-bottom: 2px;
   padding: 0 10px;
   border: 2px solid transparent;
   border-radius: 10px;
   transition: background .25s, border-color .25s;
}

.folders-demo__row svg {
   flex: 0 0 22px;
   width: 22px;
   height: 18px;
   display: block;
}

.folders-demo__name {
   flex: 1;
   font-size: 14.5px;
   color: #353433;
}

.folders-demo__count {
   display: inline-block;
   font-size: 13.5px;
   color: #6B6B67;
}

.folders-demo__row--child {
   margin-left: 28px;
}

.folders-demo__row--child::before {
   content: "";
   position: absolute;
   left: -14px;
   top: -21px;
   width: 12px;
   height: 40px;
   border-left: 1.5px solid #C2C1BA;
   border-bottom: 1.5px solid #C2C1BA;
}

.folders-demo__row:not(.folders-demo__row--child)+.folders-demo__row--child::before {
   top: -4px;
   height: 23px;
}

.folders-demo__row--target,
.folders-demo__row--done {
   background: #E6FFBF;
   border-color: #C9F566;
}

/* The file: tagged, then dragged into a folder */
.folders-demo__file {
   position: absolute;
   left: 590px;
   top: 96px;
   width: 300px;
   padding: 8px;
   border-radius: 16px;
   background: #FAFAF6;
   box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .5);
}

.folders-demo__thumb {
   height: 150px;
   border-radius: 10px;
   background-size: cover;
   background-position: 62% 62%;
}

.folders-demo__fname {
   padding: 10px 6px 6px;
   font-size: 13.5px;
   font-weight: 500;
}

.folders-demo__chips {
   display: flex;
   flex-wrap: wrap;
   gap: 5px;
   padding: 0 6px 6px;
}

.folders-demo__chip {
   padding: 4px 10px;
   border-radius: 100px;
   background: #EDEDE6;
   font-size: 11px;
}

.folders-demo__chip--add {
   background: #BFFF00;
}

.folders-demo__cursor {
   position: absolute;
   right: -10px;
   bottom: -12px;
   width: 22px;
   height: 22px;
   filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

/* Note card (same style as card 2, overlapping the panel edge) */
.folders-demo__note {
   position: absolute;
   left: 432px;
   top: 414px;
   width: 320px;
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 16px 20px 16px 16px;
   border-radius: 14px;
   background: #FAFAF6;
   box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
}

.folders-demo__icon {
   display: grid;
   place-items: center;
   flex: 0 0 40px;
   height: 40px;
   border-radius: 50%;
   background: #0C2A1D;
   color: #BFFF00;
}

.folders-demo__icon svg {
   width: 18px;
   height: 18px;
   display: block;
}

.folders-demo__note-title {
   font-size: 14px;
   font-weight: 500;
}

.folders-demo__note-text {
   margin-top: 3px;
   font-size: 12px;
   line-height: 1.35;
   color: #6B6B67;
}